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.6.2.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.6.2'
274 PACKAGE_STRING
='wxWidgets 2.6.2'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP RESCOMP ac_ct_RESCOMP DLLTOOL ac_ct_DLLTOOL 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 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 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 dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN 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_GUI_1_USE_QA_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_GUI_1_USE_QA_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_SOVERCYGWIN_0_USE_SOVERSION_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_MSDOS_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_USE_XRC_1 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_SHARED_1_USE_XRC_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_SOVERCYGWIN_1_USE_SOVERSION_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_WINDOWS_IMPLIB_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 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.6.2 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.6.2:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets
2.2 compatibility
893 --disable-compat24 disable wxWidgets
2.4 compatibility
894 --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-std_string use standard C
++ string classes
930 --enable-stdpaths use wxStandardPaths class
931 --enable-stopwatch use wxStopWatch class
932 --enable-streams use wxStream etc classes
933 --enable-sysoptions use wxSystemOptions
934 --enable-textbuf use wxTextBuffer class
935 --enable-textfile use wxTextFile class
936 --enable-timer use wxTimer class
937 --enable-unicode compile wxString with Unicode support
938 --enable-sound use wxSound class
939 --enable-mediactrl use wxMediaCtrl class
940 --enable-wxprintfv use wxWidgets implementation of vprintf
()
941 --enable-zipstream use wxZip streams
942 --enable-url use wxURL class
943 --enable-protocol use wxProtocol class
944 --enable-protocol-http HTTP support
in wxProtocol
945 --enable-protocol-ftp FTP support
in wxProtocol
946 --enable-protocol-file FILE support
in wxProtocol
947 --enable-threads use threads
948 --enable-docview use document view architecture
949 --enable-help use
help subsystem
950 --enable-mshtmlhelp use MS HTML Help
(win32
)
951 --enable-html use wxHTML sub
-library
952 --enable-htmlhelp use wxHTML
-based help
953 --enable-xrc use XRC resources sub
-library
954 --enable-constraints use layout
-constraints system
955 --enable-printarch use printing architecture
956 --enable-mdi use multiple document interface architecture
957 --enable-mdidoc use docview architecture with MDI
958 --enable-loggui use standard GUI logger
959 --enable-logwin use wxLogWindow
960 --enable-logdialog use wxLogDialog
961 --enable-webkit use wxWebKitCtrl
(Mac
)
962 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
963 --enable-prologio not available
; see contrib
964 --enable-resources not available
; see contrib
965 --enable-clipboard use wxClipboard class
966 --enable-dnd use Drag
'n'Drop classes
967 --enable-metafile use win32 metafiles
968 --enable-controls use all usual controls
969 --enable-accel use accelerators
970 --enable-button use wxButton class
971 --enable-bmpbutton use wxBitmapButton class
972 --enable-calendar use wxCalendarCtrl class
973 --enable-caret use wxCaret class
974 --enable-checkbox use wxCheckBox class
975 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
976 --enable-choice use wxChoice class
977 --enable-choicebook use wxChoicebook class
978 --enable-combobox use wxComboBox class
979 --enable-datepick use wxDatePickerCtrl class
980 --enable-display use wxDisplay class
981 --enable-gauge use wxGauge class
982 --enable-grid use wxGrid class
983 --enable-imaglist use wxImageList class
984 --enable-listbook use wxListbook class
985 --enable-listbox use wxListBox class
986 --enable-listctrl use wxListCtrl class
987 --enable-notebook use wxNotebook class
988 --enable-radiobox use wxRadioBox class
989 --enable-radiobtn use wxRadioButton class
990 --enable-sash use wxSashWindow class
991 --enable-scrollbar use wxScrollBar class and scrollable windows
992 --enable-slider use wxSlider class
993 --enable-spinbtn use wxSpinButton class
994 --enable-spinctrl use wxSpinCtrl class
995 --enable-splitter use wxSplitterWindow class
996 --enable-statbmp use wxStaticBitmap class
997 --enable-statbox use wxStaticBox class
998 --enable-statline use wxStaticLine class
999 --enable-stattext use wxStaticText class
1000 --enable-statusbar use wxStatusBar class
1001 --enable-tabdialog use wxTabControl class
1002 --enable-textctrl use wxTextCtrl class
1003 --enable-togglebtn use wxToggleButton class
1004 --enable-toolbar use wxToolBar class
1005 --enable-tbarnative use native wxToolBar class
1006 --enable-tbarsmpl use wxToolBarSimple class
1007 --enable-treectrl use wxTreeCtrl class
1008 --enable-tipwindow use wxTipWindow class
1009 --enable-popupwin use wxPopUpWindow class
1010 --enable-commondlg use all common dialogs
1011 --enable-choicedlg use wxChoiceDialog
1012 --enable-coldlg use wxColourDialog
1013 --enable-filedlg use wxFileDialog
1014 --enable-finddlg use wxFindReplaceDialog
1015 --enable-fontdlg use wxFontDialog
1016 --enable-dirdlg use wxDirDialog
1017 --enable-msgdlg use wxMessageDialog
1018 --enable-numberdlg use wxNumberEntryDialog
1019 --enable-splash use wxSplashScreen
1020 --enable-textdlg use wxTextDialog
1021 --enable-tipdlg use startup tips
1022 --enable-progressdlg use wxProgressDialog
1023 --enable-wizarddlg use wxWizard
1024 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1025 --enable-miniframe use wxMiniFrame class
1026 --enable-tooltips use wxToolTip class
1027 --enable-splines use spline drawing code
1028 --enable-mousewheel use mousewheel
1029 --enable-validators use wxValidator and derived classes
1030 --enable-busyinfo use wxBusyInfo
1031 --enable-joystick use wxJoystick
1032 --enable-metafiles use wxMetaFile
(Win32 only
)
1033 --enable-dragimage use wxDragImage
1034 --enable-accessibility enable accessibility support
1035 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1036 --enable-palette use wxPalette class
1037 --enable-image use wxImage class
1038 --enable-gif use gif images
(GIF
file format
)
1039 --enable-pcx use pcx images
(PCX
file format
)
1040 --enable-iff use iff images
(IFF
file format
)
1041 --enable-pnm use pnm images
(PNM
file format
)
1042 --enable-xpm use xpm images
(XPM
file format
)
1043 --enable-icocur use Windows ICO and CUR formats
1044 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1045 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1046 --disable-largefile omit support
for large files
1047 --disable-gtktest do not try to compile and run a
test GTK
+ program
1048 --disable-gtktest Do not try to compile and run a
test GTK program
1049 --disable-sdltest Do not try to compile and run a
test SDL program
1050 --enable-omf use OMF object format
(OS
/2)
1051 --disable-precomp-headers
1052 don
't use precompiled headers even if compiler can
1055 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1056 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1057 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1058 --with-motif use Motif/Lesstif
1059 --with-mac use Mac OS X
1060 --with-cocoa use Cocoa
1061 --with-wine use Wine
1062 --with-msw use MS-Windows
1063 --with-pm use OS/2 Presentation Manager
1064 --with-mgl use SciTech MGL
1065 --with-microwin use MicroWindows
1067 --with-libpng use libpng (PNG image format)
1068 --with-libjpeg use libjpeg (JPEG file format)
1069 --with-libtiff use libtiff (TIFF file format)
1070 --with-libxpm use libxpm (XPM file format)
1071 --with-libmspack use libmspack (CHM help files loading)
1072 --with-sdl use SDL for audio on Unix
1073 --with-gnomeprint use GNOME print for printing under Unix
1074 --with-opengl use OpenGL (or Mesa)
1075 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1076 --with-regex enable support for wxRegEx class
1077 --with-zlib use zlib for LZW compression
1078 --with-odbc use the IODBC and wxODBC classes
1079 --with-expat enable XML support using expat parser
1080 --with-flavour=NAME specify a name to identify this build
1081 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1082 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1083 --with-x use the X Window System
1084 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1085 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1086 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1087 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1088 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1090 Some influential environment variables:
1091 CC C compiler command
1092 CFLAGS C compiler flags
1093 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1094 nonstandard directory <lib dir>
1095 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1096 headers in a nonstandard directory <include dir>
1098 CXX C++ compiler command
1099 CXXFLAGS C++ compiler flags
1100 CXXCPP C++ preprocessor
1102 Use these variables to override the choices made by `configure' or to
help
1103 it to
find libraries and programs with nonstandard names
/locations.
1105 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1109 if test "$ac_init_help" = "recursive"; then
1110 # If there are subdirs, report their specific --help.
1112 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1113 test -d $ac_dir || continue
1116 if test "$ac_dir" != .
; then
1117 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1118 # A "../" for each directory in $ac_dir_suffix.
1119 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1121 ac_dir_suffix
= ac_top_builddir
=
1125 .
) # No --srcdir option. We are building in place.
1127 if test -z "$ac_top_builddir"; then
1130 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1132 [\\/]* | ?
:[\\/]* ) # Absolute path.
1133 ac_srcdir
=$srcdir$ac_dir_suffix;
1134 ac_top_srcdir
=$srcdir ;;
1136 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1137 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1140 # Do not use `cd foo && pwd` to compute absolute paths, because
1141 # the directories may not exist.
1143 .
) ac_abs_builddir
="$ac_dir";;
1146 .
) ac_abs_builddir
=`pwd`;;
1147 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1148 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1151 case $ac_abs_builddir in
1152 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1154 case ${ac_top_builddir}.
in
1155 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1156 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1157 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1160 case $ac_abs_builddir in
1161 .
) ac_abs_srcdir
=$ac_srcdir;;
1164 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1165 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1166 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1169 case $ac_abs_builddir in
1170 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1172 case $ac_top_srcdir in
1173 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1174 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1175 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1180 # Check for guested configure; otherwise get Cygnus style configure.
1181 if test -f $ac_srcdir/configure.gnu
; then
1183 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1184 elif test -f $ac_srcdir/configure
; then
1186 $SHELL $ac_srcdir/configure
--help=recursive
1187 elif test -f $ac_srcdir/configure.ac
||
1188 test -f $ac_srcdir/configure.
in; then
1190 $ac_configure --help
1192 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1198 test -n "$ac_init_help" && exit 0
1199 if $ac_init_version; then
1201 wxWidgets configure
2.6.2
1202 generated by GNU Autoconf
2.59
1204 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1205 This configure
script is free software
; the Free Software Foundation
1206 gives unlimited permission to copy
, distribute and modify it.
1212 This file contains any messages produced by compilers while
1213 running configure, to aid debugging if configure makes a mistake.
1215 It was created by wxWidgets $as_me 2.6.2, which was
1216 generated by GNU Autoconf 2.59. Invocation command line was
1227 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1228 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1229 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1230 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1231 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1233 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1234 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1236 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1237 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1238 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1239 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1240 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1241 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1242 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1250 test -z "$as_dir" && as_dir
=.
1251 echo "PATH: $as_dir"
1266 # Keep a trace of the command line.
1267 # Strip out --no-create and --no-recursion so they do not pile up.
1268 # Strip out --silent because we don't want to record it for future runs.
1269 # Also quote any args containing shell meta-characters.
1270 # Make two passes to allow for proper duplicate-argument suppression.
1275 ac_must_keep_next
=false
1281 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1282 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1283 | -silent | --silent | --silen | --sile | --sil)
1285 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1286 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1289 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1291 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1292 if test $ac_must_keep_next = true
; then
1293 ac_must_keep_next
=false
# Got value, back to normal.
1296 *=* | --config-cache | -C | -disable-* | --disable-* \
1297 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1298 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1299 | -with-* | --with-* | -without-* | --without-* | --x)
1300 case "$ac_configure_args0 " in
1301 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1304 -* ) ac_must_keep_next
=true
;;
1307 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1308 # Get rid of the leading space.
1314 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1315 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1317 # When interrupted or exit'd, cleanup temporary files, and complete
1318 # config.log. We remove comments because anyway the quotes in there
1319 # would cause problems or look ugly.
1320 # WARNING: Be sure not to use single quotes in there, as some shells,
1321 # such as our DU 5.0 friend, will then `close' the trap.
1322 trap 'exit_status=$?
1323 # Save into config.log some information that might help in debugging.
1328 ## ---------------- ##
1329 ## Cache variables. ##
1330 ## ---------------- ##
1333 # The following way of writing the cache mishandles newlines in values,
1336 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1339 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1340 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1344 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1351 ## ----------------- ##
1352 ## Output variables. ##
1353 ## ----------------- ##
1356 for ac_var in $ac_subst_vars
1358 eval ac_val=$`echo $ac_var`
1359 echo "$ac_var='"'"'$ac_val'"'"'"
1363 if test -n "$ac_subst_files"; then
1370 for ac_var in $ac_subst_files
1372 eval ac_val=$`echo $ac_var`
1373 echo "$ac_var='"'"'$ac_val'"'"'"
1378 if test -s confdefs.h; then
1385 sed "/^$/d" confdefs.h | sort
1388 test "$ac_signal" != 0 &&
1389 echo "$as_me: caught signal $ac_signal"
1390 echo "$as_me: exit $exit_status"
1392 rm -f core *.core &&
1393 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1396 for ac_signal
in 1 2 13 15; do
1397 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1401 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1402 rm -rf conftest
* confdefs.h
1403 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1406 # Predefined preprocessor variables.
1408 cat >>confdefs.h
<<_ACEOF
1409 #define PACKAGE_NAME "$PACKAGE_NAME"
1413 cat >>confdefs.h
<<_ACEOF
1414 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1418 cat >>confdefs.h
<<_ACEOF
1419 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1423 cat >>confdefs.h
<<_ACEOF
1424 #define PACKAGE_STRING "$PACKAGE_STRING"
1428 cat >>confdefs.h
<<_ACEOF
1429 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1433 # Let the site file select an alternate cache file if it wants to.
1434 # Prefer explicitly selected file to automatically selected ones.
1435 if test -z "$CONFIG_SITE"; then
1436 if test "x$prefix" != xNONE
; then
1437 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1439 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1442 for ac_site_file
in $CONFIG_SITE; do
1443 if test -r "$ac_site_file"; then
1444 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1445 echo "$as_me: loading site script $ac_site_file" >&6;}
1446 sed 's/^/| /' "$ac_site_file" >&5
1451 if test -r "$cache_file"; then
1452 # Some versions of bash will fail to source /dev/null (special
1453 # files actually), so we avoid doing that.
1454 if test -f "$cache_file"; then
1455 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1456 echo "$as_me: loading cache $cache_file" >&6;}
1458 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1459 *) . .
/$cache_file;;
1463 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1464 echo "$as_me: creating cache $cache_file" >&6;}
1468 # Check that the precious variables saved in the cache have kept the same
1470 ac_cache_corrupted
=false
1471 for ac_var
in `(set) 2>&1 |
1472 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1473 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1474 eval ac_new_set
=\
$ac_env_${ac_var}_set
1475 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1476 eval ac_new_val
="\$ac_env_${ac_var}_value"
1477 case $ac_old_set,$ac_new_set in
1479 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1480 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1481 ac_cache_corrupted
=: ;;
1483 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1484 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1485 ac_cache_corrupted
=: ;;
1488 if test "x$ac_old_val" != "x$ac_new_val"; then
1489 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1490 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1491 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1492 echo "$as_me: former value: $ac_old_val" >&2;}
1493 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1494 echo "$as_me: current value: $ac_new_val" >&2;}
1495 ac_cache_corrupted
=:
1498 # Pass precious variables to config.status.
1499 if test "$ac_new_set" = set; then
1501 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1502 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1503 *) ac_arg
=$ac_var=$ac_new_val ;;
1505 case " $ac_configure_args " in
1506 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1507 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1511 if $ac_cache_corrupted; then
1512 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1513 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1514 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1515 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1516 { (exit 1); exit 1; }; }
1520 ac_cpp
='$CPP $CPPFLAGS'
1521 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1522 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1523 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1555 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1556 if test -f $ac_dir/install-sh; then
1558 ac_install_sh
="$ac_aux_dir/install-sh -c"
1560 elif test -f $ac_dir/install.sh
; then
1562 ac_install_sh
="$ac_aux_dir/install.sh -c"
1564 elif test -f $ac_dir/shtool
; then
1566 ac_install_sh
="$ac_aux_dir/shtool install -c"
1570 if test -z "$ac_aux_dir"; then
1571 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1572 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1573 { (exit 1); exit 1; }; }
1575 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1576 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1577 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1579 # Make sure we can run config.sub.
1580 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1581 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1582 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1583 { (exit 1); exit 1; }; }
1585 echo "$as_me:$LINENO: checking build system type" >&5
1586 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1587 if test "${ac_cv_build+set}" = set; then
1588 echo $ECHO_N "(cached) $ECHO_C" >&6
1590 ac_cv_build_alias
=$build_alias
1591 test -z "$ac_cv_build_alias" &&
1592 ac_cv_build_alias
=`$ac_config_guess`
1593 test -z "$ac_cv_build_alias" &&
1594 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1595 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1596 { (exit 1); exit 1; }; }
1597 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1598 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1599 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1600 { (exit 1); exit 1; }; }
1603 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1604 echo "${ECHO_T}$ac_cv_build" >&6
1606 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1607 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1608 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1611 echo "$as_me:$LINENO: checking host system type" >&5
1612 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1613 if test "${ac_cv_host+set}" = set; then
1614 echo $ECHO_N "(cached) $ECHO_C" >&6
1616 ac_cv_host_alias
=$host_alias
1617 test -z "$ac_cv_host_alias" &&
1618 ac_cv_host_alias
=$ac_cv_build_alias
1619 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1620 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1621 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1622 { (exit 1); exit 1; }; }
1625 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1626 echo "${ECHO_T}$ac_cv_host" >&6
1628 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1629 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1630 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1633 echo "$as_me:$LINENO: checking target system type" >&5
1634 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1635 if test "${ac_cv_target+set}" = set; then
1636 echo $ECHO_N "(cached) $ECHO_C" >&6
1638 ac_cv_target_alias
=$target_alias
1639 test "x$ac_cv_target_alias" = "x" &&
1640 ac_cv_target_alias
=$ac_cv_host_alias
1641 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1642 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1643 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1644 { (exit 1); exit 1; }; }
1647 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1648 echo "${ECHO_T}$ac_cv_target" >&6
1649 target
=$ac_cv_target
1650 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1651 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1652 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1655 # The aliases save the names the user supplied, while $host etc.
1656 # will get canonicalized.
1657 test -n "$target_alias" &&
1658 test "$program_prefix$program_suffix$program_transform_name" = \
1660 program_prefix
=${target_alias}-
1664 wx_major_version_number
=2
1665 wx_minor_version_number
=6
1667 wx_subrelease_number
=1
1669 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1670 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1671 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1673 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
=
1727 DEFAULT_STD_FLAG
=yes
1732 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1733 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1735 cat >>confdefs.h
<<\_ACEOF
1742 cat >>confdefs.h
<<\_ACEOF
1747 if test "x$TMP" = "xalpha"; then
1749 cat >>confdefs.h
<<\_ACEOF
1754 DEFAULT_DEFAULT_wxUSE_GTK
=1
1756 *-*-gnu* | *-*-k*bsd
*-gnu )
1759 if test "x$TMP" = "xalpha"; then
1761 cat >>confdefs.h
<<\_ACEOF
1766 DEFAULT_DEFAULT_wxUSE_GTK
=1
1768 *-*-irix5* | *-*-irix6* )
1771 cat >>confdefs.h
<<\_ACEOF
1775 cat >>confdefs.h
<<\_ACEOF
1779 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1785 cat >>confdefs.h
<<\_ACEOF
1789 cat >>confdefs.h
<<\_ACEOF
1790 #define __SOLARIS__ 1
1793 cat >>confdefs.h
<<\_ACEOF
1797 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1798 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1804 cat >>confdefs.h
<<\_ACEOF
1808 cat >>confdefs.h
<<\_ACEOF
1812 cat >>confdefs.h
<<\_ACEOF
1816 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1821 cat >>confdefs.h
<<\_ACEOF
1822 #define __FREEBSD__ 1
1825 cat >>confdefs.h
<<\_ACEOF
1829 DEFAULT_DEFAULT_wxUSE_GTK
=1
1834 cat >>confdefs.h
<<\_ACEOF
1835 #define __OPENBSD__ 1
1838 cat >>confdefs.h
<<\_ACEOF
1842 DEFAULT_DEFAULT_wxUSE_GTK
=1
1847 cat >>confdefs.h
<<\_ACEOF
1848 #define __NETBSD__ 1
1851 cat >>confdefs.h
<<\_ACEOF
1855 DEFAULT_DEFAULT_wxUSE_GTK
=1
1860 cat >>confdefs.h
<<\_ACEOF
1864 cat >>confdefs.h
<<\_ACEOF
1868 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1869 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1874 cat >>confdefs.h
<<\_ACEOF
1878 cat >>confdefs.h
<<\_ACEOF
1882 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1887 cat >>confdefs.h
<<\_ACEOF
1891 cat >>confdefs.h
<<\_ACEOF
1895 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1902 cat >>confdefs.h
<<\_ACEOF
1906 cat >>confdefs.h
<<\_ACEOF
1910 cat >>confdefs.h
<<\_ACEOF
1914 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1921 cat >>confdefs.h
<<\_ACEOF
1922 #define __UNIXWARE__ 1
1927 *-*-cygwin* | *-*-mingw32* )
1930 DEFAULT_DEFAULT_wxUSE_MSW
=1
1937 cat >>confdefs.h
<<\_ACEOF
1942 DEFAULT_DEFAULT_wxUSE_MGL
=1
1945 *-pc-os2_emx | *-pc-os2-emx )
1946 cat >>confdefs.h
<<\_ACEOF
1951 cat >>confdefs.h
<<\_ACEOF
1956 DEFAULT_DEFAULT_wxUSE_PM
=1
1958 LDFLAGS
="$LDFLAGS -Zcrtdll"
1959 ac_executable_extensions
=".exe"
1960 export ac_executable_extensions
1964 for ac_dir
in $PATH; do
1966 if test -z "$ac_TEMP_PATH"; then
1967 ac_TEMP_PATH
="$ac_dir"
1969 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1972 export PATH
="$ac_TEMP_PATH"
1981 cat >>confdefs.h
<<\_ACEOF
1985 cat >>confdefs.h
<<\_ACEOF
1986 #define __DARWIN__ 1
1989 cat >>confdefs.h
<<\_ACEOF
1990 #define TARGET_CARBON 1
1993 DEFAULT_DEFAULT_wxUSE_MAC
=1
1996 powerpc
-apple-macos* )
1998 ac_cv_c_bigendian
=yes
2000 DEFAULT_DEFAULT_wxUSE_MAC
=1
2006 cat >>confdefs.h
<<\_ACEOF
2013 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2014 echo "$as_me: error: unknown system type ${host}." >&2;}
2015 { (exit 1); exit 1; }; }
2021 wx_arg_cache_file
="configarg.cache"
2022 echo "loading argument cache $wx_arg_cache_file"
2023 rm -f ${wx_arg_cache_file}.tmp
2024 touch ${wx_arg_cache_file}.tmp
2025 touch ${wx_arg_cache_file}
2029 if test $DEBUG_CONFIGURE = 1; then
2030 DEFAULT_wxUSE_UNIVERSAL
=no
2031 DEFAULT_wxUSE_STL
=no
2033 DEFAULT_wxUSE_NANOX
=no
2035 DEFAULT_wxUSE_THREADS
=yes
2037 DEFAULT_wxUSE_SHARED
=yes
2038 DEFAULT_wxUSE_OPTIMISE
=no
2039 DEFAULT_wxUSE_PROFILE
=no
2040 DEFAULT_wxUSE_NO_DEPS
=no
2041 DEFAULT_wxUSE_NO_RTTI
=no
2042 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2043 DEFAULT_wxUSE_RPATH
=yes
2044 DEFAULT_wxUSE_PERMISSIVE
=no
2045 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2046 DEFAULT_wxUSE_DEBUG_INFO
=yes
2047 DEFAULT_wxUSE_DEBUG_GDB
=yes
2048 DEFAULT_wxUSE_MEM_TRACING
=no
2049 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2050 DEFAULT_wxUSE_DMALLOC
=no
2051 DEFAULT_wxUSE_APPLE_IEEE
=no
2053 DEFAULT_wxUSE_EXCEPTIONS
=no
2054 DEFAULT_wxUSE_LOG
=yes
2055 DEFAULT_wxUSE_LOGWINDOW
=no
2056 DEFAULT_wxUSE_LOGGUI
=no
2057 DEFAULT_wxUSE_LOGDIALOG
=no
2059 DEFAULT_wxUSE_GUI
=yes
2060 DEFAULT_wxUSE_CONTROLS
=no
2062 DEFAULT_wxUSE_REGEX
=no
2063 DEFAULT_wxUSE_XML
=no
2064 DEFAULT_wxUSE_EXPAT
=no
2065 DEFAULT_wxUSE_ZLIB
=no
2066 DEFAULT_wxUSE_LIBPNG
=no
2067 DEFAULT_wxUSE_LIBJPEG
=no
2068 DEFAULT_wxUSE_LIBTIFF
=no
2069 DEFAULT_wxUSE_LIBXPM
=no
2070 DEFAULT_wxUSE_LIBMSPACK
=no
2071 DEFAULT_wxUSE_LIBSDL
=no
2072 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2073 DEFAULT_wxUSE_ODBC
=no
2074 DEFAULT_wxUSE_OPENGL
=no
2076 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2077 DEFAULT_wxUSE_STACKWALKER
=no
2078 DEFAULT_wxUSE_DEBUGREPORT
=no
2079 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2080 DEFAULT_wxUSE_STD_IOSTREAM
=no
2081 DEFAULT_wxUSE_STD_STRING
=no
2082 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2083 DEFAULT_wxUSE_DATETIME
=no
2084 DEFAULT_wxUSE_TIMER
=no
2085 DEFAULT_wxUSE_STOPWATCH
=no
2086 DEFAULT_wxUSE_FILE
=no
2087 DEFAULT_wxUSE_FFILE
=no
2088 DEFAULT_wxUSE_STDPATHS
=no
2089 DEFAULT_wxUSE_TEXTBUFFER
=no
2090 DEFAULT_wxUSE_TEXTFILE
=no
2091 DEFAULT_wxUSE_SOUND
=no
2092 DEFAULT_wxUSE_MEDIACTRL
=no
2093 DEFAULT_wxUSE_INTL
=no
2094 DEFAULT_wxUSE_CONFIG
=no
2095 DEFAULT_wxUSE_FONTMAP
=no
2096 DEFAULT_wxUSE_STREAMS
=no
2097 DEFAULT_wxUSE_SOCKETS
=no
2098 DEFAULT_wxUSE_OLE
=no
2099 DEFAULT_wxUSE_DATAOBJ
=no
2100 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2101 DEFAULT_wxUSE_JOYSTICK
=no
2102 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2103 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2104 DEFAULT_wxUSE_LONGLONG
=no
2105 DEFAULT_wxUSE_GEOMETRY
=no
2107 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2108 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2109 DEFAULT_wxUSE_POSTSCRIPT
=no
2111 DEFAULT_wxUSE_CLIPBOARD
=no
2112 DEFAULT_wxUSE_TOOLTIPS
=no
2113 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2114 DEFAULT_wxUSE_DRAGIMAGE
=no
2115 DEFAULT_wxUSE_SPLINES
=no
2116 DEFAULT_wxUSE_MOUSEWHEEL
=no
2118 DEFAULT_wxUSE_MDI
=no
2119 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2120 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2121 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2123 DEFAULT_wxUSE_RESOURCES
=no
2124 DEFAULT_wxUSE_CONSTRAINTS
=no
2125 DEFAULT_wxUSE_IPC
=no
2126 DEFAULT_wxUSE_HELP
=no
2127 DEFAULT_wxUSE_MS_HTML_HELP
=no
2128 DEFAULT_wxUSE_WXHTML_HELP
=no
2129 DEFAULT_wxUSE_TREELAYOUT
=no
2130 DEFAULT_wxUSE_METAFILE
=no
2131 DEFAULT_wxUSE_MIMETYPE
=no
2132 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2133 DEFAULT_wxUSE_PROTOCOL
=no
2134 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2135 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2136 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2137 DEFAULT_wxUSE_URL
=no
2139 DEFAULT_wxUSE_COMMONDLGS
=no
2140 DEFAULT_wxUSE_CHOICEDLG
=no
2141 DEFAULT_wxUSE_COLOURDLG
=no
2142 DEFAULT_wxUSE_DIRDLG
=no
2143 DEFAULT_wxUSE_FILEDLG
=no
2144 DEFAULT_wxUSE_FINDREPLDLG
=no
2145 DEFAULT_wxUSE_FONTDLG
=no
2146 DEFAULT_wxUSE_MSGDLG
=no
2147 DEFAULT_wxUSE_NUMBERDLG
=no
2148 DEFAULT_wxUSE_TEXTDLG
=no
2149 DEFAULT_wxUSE_SPLASH
=no
2150 DEFAULT_wxUSE_STARTUP_TIPS
=no
2151 DEFAULT_wxUSE_PROGRESSDLG
=no
2152 DEFAULT_wxUSE_WIZARDDLG
=no
2154 DEFAULT_wxUSE_MENUS
=no
2155 DEFAULT_wxUSE_MINIFRAME
=no
2156 DEFAULT_wxUSE_HTML
=no
2157 DEFAULT_wxUSE_XRC
=no
2158 DEFAULT_wxUSE_WEBKIT
=no
2159 DEFAULT_wxUSE_FILESYSTEM
=no
2160 DEFAULT_wxUSE_FS_INET
=no
2161 DEFAULT_wxUSE_FS_ZIP
=no
2162 DEFAULT_wxUSE_BUSYINFO
=no
2163 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2164 DEFAULT_wxUSE_ZIPSTREAM
=no
2165 DEFAULT_wxUSE_VALIDATORS
=no
2167 DEFAULT_wxUSE_ACCEL
=no
2168 DEFAULT_wxUSE_BUTTON
=no
2169 DEFAULT_wxUSE_BMPBUTTON
=no
2170 DEFAULT_wxUSE_CALCTRL
=no
2171 DEFAULT_wxUSE_CARET
=no
2172 DEFAULT_wxUSE_CHECKBOX
=no
2173 DEFAULT_wxUSE_CHECKLST
=no
2174 DEFAULT_wxUSE_CHOICE
=no
2175 DEFAULT_wxUSE_CHOICEBOOK
=no
2176 DEFAULT_wxUSE_COMBOBOX
=no
2177 DEFAULT_wxUSE_DATEPICKCTRL
=no
2178 DEFAULT_wxUSE_DISPLAY
=no
2179 DEFAULT_wxUSE_GAUGE
=no
2180 DEFAULT_wxUSE_GRID
=no
2181 DEFAULT_wxUSE_IMAGLIST
=no
2182 DEFAULT_wxUSE_LISTBOOK
=no
2183 DEFAULT_wxUSE_LISTBOX
=no
2184 DEFAULT_wxUSE_LISTCTRL
=no
2185 DEFAULT_wxUSE_NOTEBOOK
=no
2186 DEFAULT_wxUSE_RADIOBOX
=no
2187 DEFAULT_wxUSE_RADIOBTN
=no
2188 DEFAULT_wxUSE_SASH
=no
2189 DEFAULT_wxUSE_SCROLLBAR
=no
2190 DEFAULT_wxUSE_SLIDER
=no
2191 DEFAULT_wxUSE_SPINBTN
=no
2192 DEFAULT_wxUSE_SPINCTRL
=no
2193 DEFAULT_wxUSE_SPLITTER
=no
2194 DEFAULT_wxUSE_STATBMP
=no
2195 DEFAULT_wxUSE_STATBOX
=no
2196 DEFAULT_wxUSE_STATLINE
=no
2197 DEFAULT_wxUSE_STATTEXT
=no
2198 DEFAULT_wxUSE_STATUSBAR
=yes
2199 DEFAULT_wxUSE_TABDIALOG
=no
2200 DEFAULT_wxUSE_TEXTCTRL
=no
2201 DEFAULT_wxUSE_TOGGLEBTN
=no
2202 DEFAULT_wxUSE_TOOLBAR
=no
2203 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2204 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2205 DEFAULT_wxUSE_TREECTRL
=no
2206 DEFAULT_wxUSE_POPUPWIN
=no
2207 DEFAULT_wxUSE_TIPWINDOW
=no
2209 DEFAULT_wxUSE_UNICODE
=no
2210 DEFAULT_wxUSE_UNICODE_MSLU
=no
2211 DEFAULT_wxUSE_WCSRTOMBS
=no
2213 DEFAULT_wxUSE_PALETTE
=no
2214 DEFAULT_wxUSE_IMAGE
=no
2215 DEFAULT_wxUSE_GIF
=no
2216 DEFAULT_wxUSE_PCX
=no
2217 DEFAULT_wxUSE_PNM
=no
2218 DEFAULT_wxUSE_IFF
=no
2219 DEFAULT_wxUSE_XPM
=no
2220 DEFAULT_wxUSE_ICO_CUR
=no
2221 DEFAULT_wxUSE_ACCESSIBILITY
=no
2223 DEFAULT_wxUSE_MONOLITHIC
=no
2224 DEFAULT_wxUSE_PLUGINS
=no
2225 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2227 DEFAULT_wxUSE_UNIVERSAL
=no
2228 DEFAULT_wxUSE_STL
=no
2230 DEFAULT_wxUSE_NANOX
=no
2232 DEFAULT_wxUSE_THREADS
=yes
2234 DEFAULT_wxUSE_SHARED
=yes
2235 DEFAULT_wxUSE_OPTIMISE
=yes
2236 DEFAULT_wxUSE_PROFILE
=no
2237 DEFAULT_wxUSE_NO_DEPS
=no
2238 DEFAULT_wxUSE_NO_RTTI
=no
2239 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2240 DEFAULT_wxUSE_RPATH
=yes
2241 DEFAULT_wxUSE_PERMISSIVE
=no
2242 DEFAULT_wxUSE_DEBUG_FLAG
=no
2243 DEFAULT_wxUSE_DEBUG_INFO
=no
2244 DEFAULT_wxUSE_DEBUG_GDB
=no
2245 DEFAULT_wxUSE_MEM_TRACING
=no
2246 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2247 DEFAULT_wxUSE_DMALLOC
=no
2248 DEFAULT_wxUSE_APPLE_IEEE
=yes
2250 DEFAULT_wxUSE_EXCEPTIONS
=yes
2251 DEFAULT_wxUSE_LOG
=yes
2252 DEFAULT_wxUSE_LOGWINDOW
=yes
2253 DEFAULT_wxUSE_LOGGUI
=yes
2254 DEFAULT_wxUSE_LOGDIALOG
=yes
2256 DEFAULT_wxUSE_GUI
=yes
2258 DEFAULT_wxUSE_REGEX
=yes
2259 DEFAULT_wxUSE_XML
=yes
2260 DEFAULT_wxUSE_EXPAT
=yes
2261 DEFAULT_wxUSE_ZLIB
=yes
2262 DEFAULT_wxUSE_LIBPNG
=yes
2263 DEFAULT_wxUSE_LIBJPEG
=yes
2264 DEFAULT_wxUSE_LIBTIFF
=yes
2265 DEFAULT_wxUSE_LIBXPM
=yes
2266 DEFAULT_wxUSE_LIBMSPACK
=yes
2267 DEFAULT_wxUSE_LIBSDL
=no
2268 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2269 DEFAULT_wxUSE_ODBC
=no
2270 DEFAULT_wxUSE_OPENGL
=no
2272 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2273 DEFAULT_wxUSE_STACKWALKER
=yes
2274 DEFAULT_wxUSE_DEBUGREPORT
=yes
2275 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2276 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2277 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2278 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2279 DEFAULT_wxUSE_DATETIME
=yes
2280 DEFAULT_wxUSE_TIMER
=yes
2281 DEFAULT_wxUSE_STOPWATCH
=yes
2282 DEFAULT_wxUSE_FILE
=yes
2283 DEFAULT_wxUSE_FFILE
=yes
2284 DEFAULT_wxUSE_STDPATHS
=yes
2285 DEFAULT_wxUSE_TEXTBUFFER
=yes
2286 DEFAULT_wxUSE_TEXTFILE
=yes
2287 DEFAULT_wxUSE_SOUND
=yes
2288 DEFAULT_wxUSE_MEDIACTRL
=no
2289 DEFAULT_wxUSE_INTL
=yes
2290 DEFAULT_wxUSE_CONFIG
=yes
2291 DEFAULT_wxUSE_FONTMAP
=yes
2292 DEFAULT_wxUSE_STREAMS
=yes
2293 DEFAULT_wxUSE_SOCKETS
=yes
2294 DEFAULT_wxUSE_OLE
=yes
2295 DEFAULT_wxUSE_DATAOBJ
=yes
2296 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2297 DEFAULT_wxUSE_JOYSTICK
=yes
2298 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2299 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2300 DEFAULT_wxUSE_LONGLONG
=yes
2301 DEFAULT_wxUSE_GEOMETRY
=yes
2303 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2304 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2305 DEFAULT_wxUSE_POSTSCRIPT
=yes
2307 DEFAULT_wxUSE_CLIPBOARD
=yes
2308 DEFAULT_wxUSE_TOOLTIPS
=yes
2309 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2310 DEFAULT_wxUSE_DRAGIMAGE
=yes
2311 DEFAULT_wxUSE_SPLINES
=yes
2312 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2314 DEFAULT_wxUSE_MDI
=yes
2315 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2316 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2317 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2319 DEFAULT_wxUSE_RESOURCES
=no
2320 DEFAULT_wxUSE_CONSTRAINTS
=yes
2321 DEFAULT_wxUSE_IPC
=yes
2322 DEFAULT_wxUSE_HELP
=yes
2323 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2324 DEFAULT_wxUSE_WXHTML_HELP
=yes
2325 DEFAULT_wxUSE_TREELAYOUT
=yes
2326 DEFAULT_wxUSE_METAFILE
=yes
2327 DEFAULT_wxUSE_MIMETYPE
=yes
2328 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2329 DEFAULT_wxUSE_PROTOCOL
=yes
2330 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2331 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2332 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2333 DEFAULT_wxUSE_URL
=yes
2335 DEFAULT_wxUSE_COMMONDLGS
=yes
2336 DEFAULT_wxUSE_CHOICEDLG
=yes
2337 DEFAULT_wxUSE_COLOURDLG
=yes
2338 DEFAULT_wxUSE_DIRDLG
=yes
2339 DEFAULT_wxUSE_FILEDLG
=yes
2340 DEFAULT_wxUSE_FINDREPLDLG
=yes
2341 DEFAULT_wxUSE_FONTDLG
=yes
2342 DEFAULT_wxUSE_MSGDLG
=yes
2343 DEFAULT_wxUSE_NUMBERDLG
=yes
2344 DEFAULT_wxUSE_TEXTDLG
=yes
2345 DEFAULT_wxUSE_SPLASH
=yes
2346 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2347 DEFAULT_wxUSE_PROGRESSDLG
=yes
2348 DEFAULT_wxUSE_WIZARDDLG
=yes
2350 DEFAULT_wxUSE_MENUS
=yes
2351 DEFAULT_wxUSE_MINIFRAME
=yes
2352 DEFAULT_wxUSE_HTML
=yes
2353 DEFAULT_wxUSE_XRC
=yes
2354 DEFAULT_wxUSE_WEBKIT
=yes
2355 DEFAULT_wxUSE_FILESYSTEM
=yes
2356 DEFAULT_wxUSE_FS_INET
=yes
2357 DEFAULT_wxUSE_FS_ZIP
=yes
2358 DEFAULT_wxUSE_BUSYINFO
=yes
2359 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2360 DEFAULT_wxUSE_ZIPSTREAM
=yes
2361 DEFAULT_wxUSE_VALIDATORS
=yes
2363 DEFAULT_wxUSE_ACCEL
=yes
2364 DEFAULT_wxUSE_BUTTON
=yes
2365 DEFAULT_wxUSE_BMPBUTTON
=yes
2366 DEFAULT_wxUSE_CALCTRL
=yes
2367 DEFAULT_wxUSE_CARET
=yes
2368 DEFAULT_wxUSE_CHECKBOX
=yes
2369 DEFAULT_wxUSE_CHECKLST
=yes
2370 DEFAULT_wxUSE_CHOICE
=yes
2371 DEFAULT_wxUSE_CHOICEBOOK
=yes
2372 DEFAULT_wxUSE_COMBOBOX
=yes
2373 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2374 DEFAULT_wxUSE_DISPLAY
=yes
2375 DEFAULT_wxUSE_GAUGE
=yes
2376 DEFAULT_wxUSE_GRID
=yes
2377 DEFAULT_wxUSE_IMAGLIST
=yes
2378 DEFAULT_wxUSE_LISTBOOK
=yes
2379 DEFAULT_wxUSE_LISTBOX
=yes
2380 DEFAULT_wxUSE_LISTCTRL
=yes
2381 DEFAULT_wxUSE_NOTEBOOK
=yes
2382 DEFAULT_wxUSE_RADIOBOX
=yes
2383 DEFAULT_wxUSE_RADIOBTN
=yes
2384 DEFAULT_wxUSE_SASH
=yes
2385 DEFAULT_wxUSE_SCROLLBAR
=yes
2386 DEFAULT_wxUSE_SLIDER
=yes
2387 DEFAULT_wxUSE_SPINBTN
=yes
2388 DEFAULT_wxUSE_SPINCTRL
=yes
2389 DEFAULT_wxUSE_SPLITTER
=yes
2390 DEFAULT_wxUSE_STATBMP
=yes
2391 DEFAULT_wxUSE_STATBOX
=yes
2392 DEFAULT_wxUSE_STATLINE
=yes
2393 DEFAULT_wxUSE_STATTEXT
=yes
2394 DEFAULT_wxUSE_STATUSBAR
=yes
2395 DEFAULT_wxUSE_TABDIALOG
=no
2396 DEFAULT_wxUSE_TEXTCTRL
=yes
2397 DEFAULT_wxUSE_TOGGLEBTN
=yes
2398 DEFAULT_wxUSE_TOOLBAR
=yes
2399 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2400 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2401 DEFAULT_wxUSE_TREECTRL
=yes
2402 DEFAULT_wxUSE_POPUPWIN
=yes
2403 DEFAULT_wxUSE_TIPWINDOW
=yes
2405 DEFAULT_wxUSE_UNICODE
=no
2406 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2407 DEFAULT_wxUSE_WCSRTOMBS
=no
2409 DEFAULT_wxUSE_PALETTE
=yes
2410 DEFAULT_wxUSE_IMAGE
=yes
2411 DEFAULT_wxUSE_GIF
=yes
2412 DEFAULT_wxUSE_PCX
=yes
2413 DEFAULT_wxUSE_IFF
=no
2414 DEFAULT_wxUSE_PNM
=yes
2415 DEFAULT_wxUSE_XPM
=yes
2416 DEFAULT_wxUSE_ICO_CUR
=yes
2417 DEFAULT_wxUSE_ACCESSIBILITY
=no
2419 DEFAULT_wxUSE_MONOLITHIC
=no
2420 DEFAULT_wxUSE_PLUGINS
=no
2421 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2423 DEFAULT_wxUSE_GTK2
=yes
2429 for toolkit
in `echo $ALL_TOOLKITS`; do
2430 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2431 if test "x$LINE" != "x" ; then
2432 has_toolkit_in_cache
=1
2433 eval "DEFAULT_$LINE"
2434 eval "CACHE_$toolkit=1"
2436 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2437 if test "x$LINE" != "x" ; then
2438 eval "DEFAULT_$LINE"
2446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2447 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2449 # Check whether --enable-gui or --disable-gui was given.
2450 if test "${enable_gui+set}" = set; then
2451 enableval
="$enable_gui"
2453 if test "$enableval" = yes; then
2454 ac_cv_use_gui
='wxUSE_GUI=yes'
2456 ac_cv_use_gui
='wxUSE_GUI=no'
2461 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2462 if test "x$LINE" != x
; then
2463 eval "DEFAULT_$LINE"
2468 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2472 eval "$ac_cv_use_gui"
2473 if test "$no_cache" != 1; then
2474 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2477 if test "$wxUSE_GUI" = yes; then
2478 echo "$as_me:$LINENO: result: yes" >&5
2479 echo "${ECHO_T}yes" >&6
2481 echo "$as_me:$LINENO: result: no" >&5
2482 echo "${ECHO_T}no" >&6
2487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2488 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2490 # Check whether --enable-monolithic or --disable-monolithic was given.
2491 if test "${enable_monolithic+set}" = set; then
2492 enableval
="$enable_monolithic"
2494 if test "$enableval" = yes; then
2495 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2497 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2502 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2503 if test "x$LINE" != x
; then
2504 eval "DEFAULT_$LINE"
2509 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2513 eval "$ac_cv_use_monolithic"
2514 if test "$no_cache" != 1; then
2515 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2518 if test "$wxUSE_MONOLITHIC" = yes; then
2519 echo "$as_me:$LINENO: result: yes" >&5
2520 echo "${ECHO_T}yes" >&6
2522 echo "$as_me:$LINENO: result: no" >&5
2523 echo "${ECHO_T}no" >&6
2528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2529 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2531 # Check whether --enable-plugins or --disable-plugins was given.
2532 if test "${enable_plugins+set}" = set; then
2533 enableval
="$enable_plugins"
2535 if test "$enableval" = yes; then
2536 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2538 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2543 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2544 if test "x$LINE" != x
; then
2545 eval "DEFAULT_$LINE"
2550 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2554 eval "$ac_cv_use_plugins"
2555 if test "$no_cache" != 1; then
2556 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2559 if test "$wxUSE_PLUGINS" = yes; then
2560 echo "$as_me:$LINENO: result: yes" >&5
2561 echo "${ECHO_T}yes" >&6
2563 echo "$as_me:$LINENO: result: no" >&5
2564 echo "${ECHO_T}no" >&6
2568 if test "$wxUSE_GUI" = "yes"; then
2572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2573 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2575 # Check whether --enable-universal or --disable-universal was given.
2576 if test "${enable_universal+set}" = set; then
2577 enableval
="$enable_universal"
2579 if test "$enableval" = yes; then
2580 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2582 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2587 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2588 if test "x$LINE" != x
; then
2589 eval "DEFAULT_$LINE"
2594 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2598 eval "$ac_cv_use_universal"
2599 if test "$no_cache" != 1; then
2600 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2603 if test "$wxUSE_UNIVERSAL" = yes; then
2604 echo "$as_me:$LINENO: result: yes" >&5
2605 echo "${ECHO_T}yes" >&6
2607 echo "$as_me:$LINENO: result: no" >&5
2608 echo "${ECHO_T}no" >&6
2612 # Check whether --with-gtk or --without-gtk was given.
2613 if test "${with_gtk+set}" = set; then
2615 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2618 # Check whether --with-motif or --without-motif was given.
2619 if test "${with_motif+set}" = set; then
2620 withval
="$with_motif"
2621 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2624 # Check whether --with-mac or --without-mac was given.
2625 if test "${with_mac+set}" = set; then
2627 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2630 # Check whether --with-cocoa or --without-cocoa was given.
2631 if test "${with_cocoa+set}" = set; then
2632 withval
="$with_cocoa"
2633 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2636 # Check whether --with-wine or --without-wine was given.
2637 if test "${with_wine+set}" = set; then
2638 withval
="$with_wine"
2639 wxUSE_WINE
="$withval" CACHE_WINE
=1
2642 # Check whether --with-msw or --without-msw was given.
2643 if test "${with_msw+set}" = set; then
2645 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2648 # Check whether --with-pm or --without-pm was given.
2649 if test "${with_pm+set}" = set; then
2651 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2654 # Check whether --with-mgl or --without-mgl was given.
2655 if test "${with_mgl+set}" = set; then
2657 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2660 # Check whether --with-microwin or --without-microwin was given.
2661 if test "${with_microwin+set}" = set; then
2662 withval
="$with_microwin"
2663 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2666 # Check whether --with-x11 or --without-x11 was given.
2667 if test "${with_x11+set}" = set; then
2669 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2674 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2676 # Check whether --enable-nanox or --disable-nanox was given.
2677 if test "${enable_nanox+set}" = set; then
2678 enableval
="$enable_nanox"
2680 if test "$enableval" = yes; then
2681 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2683 ac_cv_use_nanox
='wxUSE_NANOX=no'
2688 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2689 if test "x$LINE" != x
; then
2690 eval "DEFAULT_$LINE"
2695 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2699 eval "$ac_cv_use_nanox"
2700 if test "$no_cache" != 1; then
2701 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2704 if test "$wxUSE_NANOX" = yes; then
2705 echo "$as_me:$LINENO: result: yes" >&5
2706 echo "${ECHO_T}yes" >&6
2708 echo "$as_me:$LINENO: result: no" >&5
2709 echo "${ECHO_T}no" >&6
2713 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2714 if test "${enable_gtk2+set}" = set; then
2715 enableval
="$enable_gtk2"
2716 wxUSE_GTK2
="$enableval"
2720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2721 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2723 # Check whether --enable-gpe or --disable-gpe was given.
2724 if test "${enable_gpe+set}" = set; then
2725 enableval
="$enable_gpe"
2727 if test "$enableval" = yes; then
2728 ac_cv_use_gpe
='wxUSE_GPE=yes'
2730 ac_cv_use_gpe
='wxUSE_GPE=no'
2735 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2736 if test "x$LINE" != x
; then
2737 eval "DEFAULT_$LINE"
2742 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2746 eval "$ac_cv_use_gpe"
2747 if test "$no_cache" != 1; then
2748 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2751 if test "$wxUSE_GPE" = yes; then
2752 echo "$as_me:$LINENO: result: yes" >&5
2753 echo "${ECHO_T}yes" >&6
2755 echo "$as_me:$LINENO: result: no" >&5
2756 echo "${ECHO_T}no" >&6
2761 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2762 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2765 # Check whether --with-libpng or --without-libpng was given.
2766 if test "${with_libpng+set}" = set; then
2767 withval
="$with_libpng"
2769 if test "$withval" = yes; then
2770 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2771 elif test "$withval" = no
; then
2772 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2773 elif test "$withval" = sys
; then
2774 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2775 elif test "$withval" = builtin; then
2776 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2778 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2779 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2780 { (exit 1); exit 1; }; }
2785 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2786 if test "x$LINE" != x
; then
2787 eval "DEFAULT_$LINE"
2792 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2796 eval "$ac_cv_use_libpng"
2797 if test "$no_cache" != 1; then
2798 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2801 if test "$wxUSE_LIBPNG" = yes; then
2802 echo "$as_me:$LINENO: result: yes" >&5
2803 echo "${ECHO_T}yes" >&6
2804 elif test "$wxUSE_LIBPNG" = no
; then
2805 echo "$as_me:$LINENO: result: no" >&5
2806 echo "${ECHO_T}no" >&6
2807 elif test "$wxUSE_LIBPNG" = sys
; then
2808 echo "$as_me:$LINENO: result: system version" >&5
2809 echo "${ECHO_T}system version" >&6
2810 elif test "$wxUSE_LIBPNG" = builtin; then
2811 echo "$as_me:$LINENO: result: builtin version" >&5
2812 echo "${ECHO_T}builtin version" >&6
2814 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2815 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2816 { (exit 1); exit 1; }; }
2820 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2821 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2824 # Check whether --with-libjpeg or --without-libjpeg was given.
2825 if test "${with_libjpeg+set}" = set; then
2826 withval
="$with_libjpeg"
2828 if test "$withval" = yes; then
2829 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2830 elif test "$withval" = no
; then
2831 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2832 elif test "$withval" = sys
; then
2833 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2834 elif test "$withval" = builtin; then
2835 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2837 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2838 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2839 { (exit 1); exit 1; }; }
2844 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2845 if test "x$LINE" != x
; then
2846 eval "DEFAULT_$LINE"
2851 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2855 eval "$ac_cv_use_libjpeg"
2856 if test "$no_cache" != 1; then
2857 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2860 if test "$wxUSE_LIBJPEG" = yes; then
2861 echo "$as_me:$LINENO: result: yes" >&5
2862 echo "${ECHO_T}yes" >&6
2863 elif test "$wxUSE_LIBJPEG" = no
; then
2864 echo "$as_me:$LINENO: result: no" >&5
2865 echo "${ECHO_T}no" >&6
2866 elif test "$wxUSE_LIBJPEG" = sys
; then
2867 echo "$as_me:$LINENO: result: system version" >&5
2868 echo "${ECHO_T}system version" >&6
2869 elif test "$wxUSE_LIBJPEG" = builtin; then
2870 echo "$as_me:$LINENO: result: builtin version" >&5
2871 echo "${ECHO_T}builtin version" >&6
2873 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2874 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2875 { (exit 1); exit 1; }; }
2879 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2880 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2883 # Check whether --with-libtiff or --without-libtiff was given.
2884 if test "${with_libtiff+set}" = set; then
2885 withval
="$with_libtiff"
2887 if test "$withval" = yes; then
2888 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2889 elif test "$withval" = no
; then
2890 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2891 elif test "$withval" = sys
; then
2892 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2893 elif test "$withval" = builtin; then
2894 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2896 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2897 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2898 { (exit 1); exit 1; }; }
2903 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2904 if test "x$LINE" != x
; then
2905 eval "DEFAULT_$LINE"
2910 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2914 eval "$ac_cv_use_libtiff"
2915 if test "$no_cache" != 1; then
2916 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2919 if test "$wxUSE_LIBTIFF" = yes; then
2920 echo "$as_me:$LINENO: result: yes" >&5
2921 echo "${ECHO_T}yes" >&6
2922 elif test "$wxUSE_LIBTIFF" = no
; then
2923 echo "$as_me:$LINENO: result: no" >&5
2924 echo "${ECHO_T}no" >&6
2925 elif test "$wxUSE_LIBTIFF" = sys
; then
2926 echo "$as_me:$LINENO: result: system version" >&5
2927 echo "${ECHO_T}system version" >&6
2928 elif test "$wxUSE_LIBTIFF" = builtin; then
2929 echo "$as_me:$LINENO: result: builtin version" >&5
2930 echo "${ECHO_T}builtin version" >&6
2932 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2933 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2934 { (exit 1); exit 1; }; }
2938 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2939 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2942 # Check whether --with-libxpm or --without-libxpm was given.
2943 if test "${with_libxpm+set}" = set; then
2944 withval
="$with_libxpm"
2946 if test "$withval" = yes; then
2947 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2948 elif test "$withval" = no
; then
2949 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2950 elif test "$withval" = sys
; then
2951 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2952 elif test "$withval" = builtin; then
2953 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2955 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2956 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2957 { (exit 1); exit 1; }; }
2962 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2963 if test "x$LINE" != x
; then
2964 eval "DEFAULT_$LINE"
2969 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2973 eval "$ac_cv_use_libxpm"
2974 if test "$no_cache" != 1; then
2975 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2978 if test "$wxUSE_LIBXPM" = yes; then
2979 echo "$as_me:$LINENO: result: yes" >&5
2980 echo "${ECHO_T}yes" >&6
2981 elif test "$wxUSE_LIBXPM" = no
; then
2982 echo "$as_me:$LINENO: result: no" >&5
2983 echo "${ECHO_T}no" >&6
2984 elif test "$wxUSE_LIBXPM" = sys
; then
2985 echo "$as_me:$LINENO: result: system version" >&5
2986 echo "${ECHO_T}system version" >&6
2987 elif test "$wxUSE_LIBXPM" = builtin; then
2988 echo "$as_me:$LINENO: result: builtin version" >&5
2989 echo "${ECHO_T}builtin version" >&6
2991 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2992 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2993 { (exit 1); exit 1; }; }
2997 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2998 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3001 # Check whether --with-libmspack or --without-libmspack was given.
3002 if test "${with_libmspack+set}" = set; then
3003 withval
="$with_libmspack"
3005 if test "$withval" = yes; then
3006 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3008 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3013 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3014 if test "x$LINE" != x
; then
3015 eval "DEFAULT_$LINE"
3020 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3024 eval "$ac_cv_use_libmspack"
3025 if test "$no_cache" != 1; then
3026 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3029 if test "$wxUSE_LIBMSPACK" = yes; then
3030 echo "$as_me:$LINENO: result: yes" >&5
3031 echo "${ECHO_T}yes" >&6
3033 echo "$as_me:$LINENO: result: no" >&5
3034 echo "${ECHO_T}no" >&6
3038 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3039 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3042 # Check whether --with-sdl or --without-sdl was given.
3043 if test "${with_sdl+set}" = set; then
3046 if test "$withval" = yes; then
3047 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3049 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3054 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3055 if test "x$LINE" != x
; then
3056 eval "DEFAULT_$LINE"
3061 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3065 eval "$ac_cv_use_sdl"
3066 if test "$no_cache" != 1; then
3067 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3070 if test "$wxUSE_LIBSDL" = yes; then
3071 echo "$as_me:$LINENO: result: yes" >&5
3072 echo "${ECHO_T}yes" >&6
3074 echo "$as_me:$LINENO: result: no" >&5
3075 echo "${ECHO_T}no" >&6
3079 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3080 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3083 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3084 if test "${with_gnomeprint+set}" = set; then
3085 withval
="$with_gnomeprint"
3087 if test "$withval" = yes; then
3088 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3090 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3095 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3096 if test "x$LINE" != x
; then
3097 eval "DEFAULT_$LINE"
3102 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3106 eval "$ac_cv_use_gnomeprint"
3107 if test "$no_cache" != 1; then
3108 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3111 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3112 echo "$as_me:$LINENO: result: yes" >&5
3113 echo "${ECHO_T}yes" >&6
3115 echo "$as_me:$LINENO: result: no" >&5
3116 echo "${ECHO_T}no" >&6
3120 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3121 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3124 # Check whether --with-opengl or --without-opengl was given.
3125 if test "${with_opengl+set}" = set; then
3126 withval
="$with_opengl"
3128 if test "$withval" = yes; then
3129 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3131 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3136 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3137 if test "x$LINE" != x
; then
3138 eval "DEFAULT_$LINE"
3143 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3147 eval "$ac_cv_use_opengl"
3148 if test "$no_cache" != 1; then
3149 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3152 if test "$wxUSE_OPENGL" = yes; then
3153 echo "$as_me:$LINENO: result: yes" >&5
3154 echo "${ECHO_T}yes" >&6
3156 echo "$as_me:$LINENO: result: no" >&5
3157 echo "${ECHO_T}no" >&6
3164 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3165 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3168 # Check whether --with-dmalloc or --without-dmalloc was given.
3169 if test "${with_dmalloc+set}" = set; then
3170 withval
="$with_dmalloc"
3172 if test "$withval" = yes; then
3173 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3175 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3180 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3181 if test "x$LINE" != x
; then
3182 eval "DEFAULT_$LINE"
3187 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3191 eval "$ac_cv_use_dmalloc"
3192 if test "$no_cache" != 1; then
3193 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3196 if test "$wxUSE_DMALLOC" = yes; then
3197 echo "$as_me:$LINENO: result: yes" >&5
3198 echo "${ECHO_T}yes" >&6
3200 echo "$as_me:$LINENO: result: no" >&5
3201 echo "${ECHO_T}no" >&6
3205 echo "$as_me:$LINENO: checking for --with-regex" >&5
3206 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3209 # Check whether --with-regex or --without-regex was given.
3210 if test "${with_regex+set}" = set; then
3211 withval
="$with_regex"
3213 if test "$withval" = yes; then
3214 ac_cv_use_regex
='wxUSE_REGEX=yes'
3215 elif test "$withval" = no
; then
3216 ac_cv_use_regex
='wxUSE_REGEX=no'
3217 elif test "$withval" = sys
; then
3218 ac_cv_use_regex
='wxUSE_REGEX=sys'
3219 elif test "$withval" = builtin; then
3220 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3222 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3223 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3224 { (exit 1); exit 1; }; }
3229 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3230 if test "x$LINE" != x
; then
3231 eval "DEFAULT_$LINE"
3236 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3240 eval "$ac_cv_use_regex"
3241 if test "$no_cache" != 1; then
3242 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3245 if test "$wxUSE_REGEX" = yes; then
3246 echo "$as_me:$LINENO: result: yes" >&5
3247 echo "${ECHO_T}yes" >&6
3248 elif test "$wxUSE_REGEX" = no
; then
3249 echo "$as_me:$LINENO: result: no" >&5
3250 echo "${ECHO_T}no" >&6
3251 elif test "$wxUSE_REGEX" = sys
; then
3252 echo "$as_me:$LINENO: result: system version" >&5
3253 echo "${ECHO_T}system version" >&6
3254 elif test "$wxUSE_REGEX" = builtin; then
3255 echo "$as_me:$LINENO: result: builtin version" >&5
3256 echo "${ECHO_T}builtin version" >&6
3258 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3259 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3260 { (exit 1); exit 1; }; }
3264 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3265 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3268 # Check whether --with-zlib or --without-zlib was given.
3269 if test "${with_zlib+set}" = set; then
3270 withval
="$with_zlib"
3272 if test "$withval" = yes; then
3273 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3274 elif test "$withval" = no
; then
3275 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3276 elif test "$withval" = sys
; then
3277 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3278 elif test "$withval" = builtin; then
3279 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3281 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3282 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3283 { (exit 1); exit 1; }; }
3288 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3289 if test "x$LINE" != x
; then
3290 eval "DEFAULT_$LINE"
3295 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3299 eval "$ac_cv_use_zlib"
3300 if test "$no_cache" != 1; then
3301 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3304 if test "$wxUSE_ZLIB" = yes; then
3305 echo "$as_me:$LINENO: result: yes" >&5
3306 echo "${ECHO_T}yes" >&6
3307 elif test "$wxUSE_ZLIB" = no
; then
3308 echo "$as_me:$LINENO: result: no" >&5
3309 echo "${ECHO_T}no" >&6
3310 elif test "$wxUSE_ZLIB" = sys
; then
3311 echo "$as_me:$LINENO: result: system version" >&5
3312 echo "${ECHO_T}system version" >&6
3313 elif test "$wxUSE_ZLIB" = builtin; then
3314 echo "$as_me:$LINENO: result: builtin version" >&5
3315 echo "${ECHO_T}builtin version" >&6
3317 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3318 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3319 { (exit 1); exit 1; }; }
3323 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3324 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3327 # Check whether --with-odbc or --without-odbc was given.
3328 if test "${with_odbc+set}" = set; then
3329 withval
="$with_odbc"
3331 if test "$withval" = yes; then
3332 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3333 elif test "$withval" = no
; then
3334 ac_cv_use_odbc
='wxUSE_ODBC=no'
3335 elif test "$withval" = sys
; then
3336 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3337 elif test "$withval" = builtin; then
3338 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3340 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3341 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3342 { (exit 1); exit 1; }; }
3347 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3348 if test "x$LINE" != x
; then
3349 eval "DEFAULT_$LINE"
3354 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3358 eval "$ac_cv_use_odbc"
3359 if test "$no_cache" != 1; then
3360 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3363 if test "$wxUSE_ODBC" = yes; then
3364 echo "$as_me:$LINENO: result: yes" >&5
3365 echo "${ECHO_T}yes" >&6
3366 elif test "$wxUSE_ODBC" = no
; then
3367 echo "$as_me:$LINENO: result: no" >&5
3368 echo "${ECHO_T}no" >&6
3369 elif test "$wxUSE_ODBC" = sys
; then
3370 echo "$as_me:$LINENO: result: system version" >&5
3371 echo "${ECHO_T}system version" >&6
3372 elif test "$wxUSE_ODBC" = builtin; then
3373 echo "$as_me:$LINENO: result: builtin version" >&5
3374 echo "${ECHO_T}builtin version" >&6
3376 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3377 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3378 { (exit 1); exit 1; }; }
3382 echo "$as_me:$LINENO: checking for --with-expat" >&5
3383 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3386 # Check whether --with-expat or --without-expat was given.
3387 if test "${with_expat+set}" = set; then
3388 withval
="$with_expat"
3390 if test "$withval" = yes; then
3391 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3392 elif test "$withval" = no
; then
3393 ac_cv_use_expat
='wxUSE_EXPAT=no'
3394 elif test "$withval" = sys
; then
3395 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3396 elif test "$withval" = builtin; then
3397 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3399 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3400 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3401 { (exit 1); exit 1; }; }
3406 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3407 if test "x$LINE" != x
; then
3408 eval "DEFAULT_$LINE"
3413 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3417 eval "$ac_cv_use_expat"
3418 if test "$no_cache" != 1; then
3419 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3422 if test "$wxUSE_EXPAT" = yes; then
3423 echo "$as_me:$LINENO: result: yes" >&5
3424 echo "${ECHO_T}yes" >&6
3425 elif test "$wxUSE_EXPAT" = no
; then
3426 echo "$as_me:$LINENO: result: no" >&5
3427 echo "${ECHO_T}no" >&6
3428 elif test "$wxUSE_EXPAT" = sys
; then
3429 echo "$as_me:$LINENO: result: system version" >&5
3430 echo "${ECHO_T}system version" >&6
3431 elif test "$wxUSE_EXPAT" = builtin; then
3432 echo "$as_me:$LINENO: result: builtin version" >&5
3433 echo "${ECHO_T}builtin version" >&6
3435 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3436 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3437 { (exit 1); exit 1; }; }
3444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3445 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3447 # Check whether --enable-shared or --disable-shared was given.
3448 if test "${enable_shared+set}" = set; then
3449 enableval
="$enable_shared"
3451 if test "$enableval" = yes; then
3452 ac_cv_use_shared
='wxUSE_SHARED=yes'
3454 ac_cv_use_shared
='wxUSE_SHARED=no'
3459 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3460 if test "x$LINE" != x
; then
3461 eval "DEFAULT_$LINE"
3466 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3470 eval "$ac_cv_use_shared"
3471 if test "$no_cache" != 1; then
3472 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3475 if test "$wxUSE_SHARED" = yes; then
3476 echo "$as_me:$LINENO: result: yes" >&5
3477 echo "${ECHO_T}yes" >&6
3479 echo "$as_me:$LINENO: result: no" >&5
3480 echo "${ECHO_T}no" >&6
3485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3486 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3488 # Check whether --enable-optimise or --disable-optimise was given.
3489 if test "${enable_optimise+set}" = set; then
3490 enableval
="$enable_optimise"
3492 if test "$enableval" = yes; then
3493 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3495 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3500 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3501 if test "x$LINE" != x
; then
3502 eval "DEFAULT_$LINE"
3507 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3511 eval "$ac_cv_use_optimise"
3512 if test "$no_cache" != 1; then
3513 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3516 if test "$wxUSE_OPTIMISE" = yes; then
3517 echo "$as_me:$LINENO: result: yes" >&5
3518 echo "${ECHO_T}yes" >&6
3520 echo "$as_me:$LINENO: result: no" >&5
3521 echo "${ECHO_T}no" >&6
3526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3527 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3529 # Check whether --enable-debug or --disable-debug was given.
3530 if test "${enable_debug+set}" = set; then
3531 enableval
="$enable_debug"
3533 if test "$enableval" = yes; then
3534 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3536 ac_cv_use_debug
='wxUSE_DEBUG=no'
3541 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3542 if test "x$LINE" != x
; then
3543 eval "DEFAULT_$LINE"
3548 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3552 eval "$ac_cv_use_debug"
3553 if test "$no_cache" != 1; then
3554 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3557 if test "$wxUSE_DEBUG" = yes; then
3558 echo "$as_me:$LINENO: result: yes" >&5
3559 echo "${ECHO_T}yes" >&6
3561 echo "$as_me:$LINENO: result: no" >&5
3562 echo "${ECHO_T}no" >&6
3567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3568 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3570 # Check whether --enable-stl or --disable-stl was given.
3571 if test "${enable_stl+set}" = set; then
3572 enableval
="$enable_stl"
3574 if test "$enableval" = yes; then
3575 ac_cv_use_stl
='wxUSE_STL=yes'
3577 ac_cv_use_stl
='wxUSE_STL=no'
3582 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3583 if test "x$LINE" != x
; then
3584 eval "DEFAULT_$LINE"
3589 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3593 eval "$ac_cv_use_stl"
3594 if test "$no_cache" != 1; then
3595 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3598 if test "$wxUSE_STL" = yes; then
3599 echo "$as_me:$LINENO: result: yes" >&5
3600 echo "${ECHO_T}yes" >&6
3602 echo "$as_me:$LINENO: result: no" >&5
3603 echo "${ECHO_T}no" >&6
3606 if test "$USE_OS2" = "1"; then
3607 DEFAULT_wxUSE_OMF
=no
3610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3611 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3613 # Check whether --enable-omf or --disable-omf was given.
3614 if test "${enable_omf+set}" = set; then
3615 enableval
="$enable_omf"
3617 if test "$enableval" = yes; then
3618 ac_cv_use_omf
='wxUSE_OMF=yes'
3620 ac_cv_use_omf
='wxUSE_OMF=no'
3625 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3626 if test "x$LINE" != x
; then
3627 eval "DEFAULT_$LINE"
3632 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3636 eval "$ac_cv_use_omf"
3637 if test "$no_cache" != 1; then
3638 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3641 if test "$wxUSE_OMF" = yes; then
3642 echo "$as_me:$LINENO: result: yes" >&5
3643 echo "${ECHO_T}yes" >&6
3645 echo "$as_me:$LINENO: result: no" >&5
3646 echo "${ECHO_T}no" >&6
3651 if test "$wxUSE_DEBUG" = "yes"; then
3652 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3653 DEFAULT_wxUSE_DEBUG_INFO
=yes
3655 elif test "$wxUSE_DEBUG" = "no"; then
3656 DEFAULT_wxUSE_DEBUG_FLAG
=no
3657 DEFAULT_wxUSE_DEBUG_INFO
=no
3663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3664 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3666 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3667 if test "${enable_debug_flag+set}" = set; then
3668 enableval
="$enable_debug_flag"
3670 if test "$enableval" = yes; then
3671 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3673 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3678 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3679 if test "x$LINE" != x
; then
3680 eval "DEFAULT_$LINE"
3685 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3689 eval "$ac_cv_use_debug_flag"
3690 if test "$no_cache" != 1; then
3691 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3694 if test "$wxUSE_DEBUG_FLAG" = yes; then
3695 echo "$as_me:$LINENO: result: yes" >&5
3696 echo "${ECHO_T}yes" >&6
3698 echo "$as_me:$LINENO: result: no" >&5
3699 echo "${ECHO_T}no" >&6
3704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3705 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3707 # Check whether --enable-debug_info or --disable-debug_info was given.
3708 if test "${enable_debug_info+set}" = set; then
3709 enableval
="$enable_debug_info"
3711 if test "$enableval" = yes; then
3712 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3714 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3719 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3720 if test "x$LINE" != x
; then
3721 eval "DEFAULT_$LINE"
3726 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3730 eval "$ac_cv_use_debug_info"
3731 if test "$no_cache" != 1; then
3732 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3735 if test "$wxUSE_DEBUG_INFO" = yes; then
3736 echo "$as_me:$LINENO: result: yes" >&5
3737 echo "${ECHO_T}yes" >&6
3739 echo "$as_me:$LINENO: result: no" >&5
3740 echo "${ECHO_T}no" >&6
3745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3746 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3748 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3749 if test "${enable_debug_gdb+set}" = set; then
3750 enableval
="$enable_debug_gdb"
3752 if test "$enableval" = yes; then
3753 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3755 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3760 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3761 if test "x$LINE" != x
; then
3762 eval "DEFAULT_$LINE"
3767 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3771 eval "$ac_cv_use_debug_gdb"
3772 if test "$no_cache" != 1; then
3773 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3776 if test "$wxUSE_DEBUG_GDB" = yes; then
3777 echo "$as_me:$LINENO: result: yes" >&5
3778 echo "${ECHO_T}yes" >&6
3780 echo "$as_me:$LINENO: result: no" >&5
3781 echo "${ECHO_T}no" >&6
3786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3787 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3789 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3790 if test "${enable_debug_cntxt+set}" = set; then
3791 enableval
="$enable_debug_cntxt"
3793 if test "$enableval" = yes; then
3794 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3796 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3801 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3802 if test "x$LINE" != x
; then
3803 eval "DEFAULT_$LINE"
3808 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3812 eval "$ac_cv_use_debug_cntxt"
3813 if test "$no_cache" != 1; then
3814 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3817 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3818 echo "$as_me:$LINENO: result: yes" >&5
3819 echo "${ECHO_T}yes" >&6
3821 echo "$as_me:$LINENO: result: no" >&5
3822 echo "${ECHO_T}no" >&6
3827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3828 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3830 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3831 if test "${enable_mem_tracing+set}" = set; then
3832 enableval
="$enable_mem_tracing"
3834 if test "$enableval" = yes; then
3835 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3837 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3842 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3843 if test "x$LINE" != x
; then
3844 eval "DEFAULT_$LINE"
3849 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3853 eval "$ac_cv_use_mem_tracing"
3854 if test "$no_cache" != 1; then
3855 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3858 if test "$wxUSE_MEM_TRACING" = yes; then
3859 echo "$as_me:$LINENO: result: yes" >&5
3860 echo "${ECHO_T}yes" >&6
3862 echo "$as_me:$LINENO: result: no" >&5
3863 echo "${ECHO_T}no" >&6
3868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3869 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3871 # Check whether --enable-profile or --disable-profile was given.
3872 if test "${enable_profile+set}" = set; then
3873 enableval
="$enable_profile"
3875 if test "$enableval" = yes; then
3876 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3878 ac_cv_use_profile
='wxUSE_PROFILE=no'
3883 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3884 if test "x$LINE" != x
; then
3885 eval "DEFAULT_$LINE"
3890 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3894 eval "$ac_cv_use_profile"
3895 if test "$no_cache" != 1; then
3896 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3899 if test "$wxUSE_PROFILE" = yes; then
3900 echo "$as_me:$LINENO: result: yes" >&5
3901 echo "${ECHO_T}yes" >&6
3903 echo "$as_me:$LINENO: result: no" >&5
3904 echo "${ECHO_T}no" >&6
3909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3910 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3912 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3913 if test "${enable_no_rtti+set}" = set; then
3914 enableval
="$enable_no_rtti"
3916 if test "$enableval" = yes; then
3917 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3919 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3924 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3925 if test "x$LINE" != x
; then
3926 eval "DEFAULT_$LINE"
3931 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3935 eval "$ac_cv_use_no_rtti"
3936 if test "$no_cache" != 1; then
3937 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3940 if test "$wxUSE_NO_RTTI" = yes; then
3941 echo "$as_me:$LINENO: result: yes" >&5
3942 echo "${ECHO_T}yes" >&6
3944 echo "$as_me:$LINENO: result: no" >&5
3945 echo "${ECHO_T}no" >&6
3950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3951 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3953 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3954 if test "${enable_no_exceptions+set}" = set; then
3955 enableval
="$enable_no_exceptions"
3957 if test "$enableval" = yes; then
3958 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3960 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3965 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3966 if test "x$LINE" != x
; then
3967 eval "DEFAULT_$LINE"
3972 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3976 eval "$ac_cv_use_no_exceptions"
3977 if test "$no_cache" != 1; then
3978 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3981 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3982 echo "$as_me:$LINENO: result: yes" >&5
3983 echo "${ECHO_T}yes" >&6
3985 echo "$as_me:$LINENO: result: no" >&5
3986 echo "${ECHO_T}no" >&6
3991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3992 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3994 # Check whether --enable-permissive or --disable-permissive was given.
3995 if test "${enable_permissive+set}" = set; then
3996 enableval
="$enable_permissive"
3998 if test "$enableval" = yes; then
3999 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4001 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4006 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4007 if test "x$LINE" != x
; then
4008 eval "DEFAULT_$LINE"
4013 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4017 eval "$ac_cv_use_permissive"
4018 if test "$no_cache" != 1; then
4019 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4022 if test "$wxUSE_PERMISSIVE" = yes; then
4023 echo "$as_me:$LINENO: result: yes" >&5
4024 echo "${ECHO_T}yes" >&6
4026 echo "$as_me:$LINENO: result: no" >&5
4027 echo "${ECHO_T}no" >&6
4032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4033 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4035 # Check whether --enable-no_deps or --disable-no_deps was given.
4036 if test "${enable_no_deps+set}" = set; then
4037 enableval
="$enable_no_deps"
4039 if test "$enableval" = yes; then
4040 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4042 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4047 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4048 if test "x$LINE" != x
; then
4049 eval "DEFAULT_$LINE"
4054 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4058 eval "$ac_cv_use_no_deps"
4059 if test "$no_cache" != 1; then
4060 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4063 if test "$wxUSE_NO_DEPS" = yes; then
4064 echo "$as_me:$LINENO: result: yes" >&5
4065 echo "${ECHO_T}yes" >&6
4067 echo "$as_me:$LINENO: result: no" >&5
4068 echo "${ECHO_T}no" >&6
4074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4075 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4077 # Check whether --enable-compat22 or --disable-compat22 was given.
4078 if test "${enable_compat22+set}" = set; then
4079 enableval
="$enable_compat22"
4081 if test "$enableval" = yes; then
4082 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4084 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4089 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4090 if test "x$LINE" != x
; then
4091 eval "DEFAULT_$LINE"
4096 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4100 eval "$ac_cv_use_compat22"
4101 if test "$no_cache" != 1; then
4102 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4105 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4106 echo "$as_me:$LINENO: result: yes" >&5
4107 echo "${ECHO_T}yes" >&6
4109 echo "$as_me:$LINENO: result: no" >&5
4110 echo "${ECHO_T}no" >&6
4114 enablestring
=disable
4115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4116 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4118 # Check whether --enable-compat24 or --disable-compat24 was given.
4119 if test "${enable_compat24+set}" = set; then
4120 enableval
="$enable_compat24"
4122 if test "$enableval" = yes; then
4123 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4125 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4130 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4131 if test "x$LINE" != x
; then
4132 eval "DEFAULT_$LINE"
4137 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4141 eval "$ac_cv_use_compat24"
4142 if test "$no_cache" != 1; then
4143 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4146 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4147 echo "$as_me:$LINENO: result: yes" >&5
4148 echo "${ECHO_T}yes" >&6
4150 echo "$as_me:$LINENO: result: no" >&5
4151 echo "${ECHO_T}no" >&6
4157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4158 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4160 # Check whether --enable-rpath or --disable-rpath was given.
4161 if test "${enable_rpath+set}" = set; then
4162 enableval
="$enable_rpath"
4164 if test "$enableval" = yes; then
4165 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4167 ac_cv_use_rpath
='wxUSE_RPATH=no'
4172 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4173 if test "x$LINE" != x
; then
4174 eval "DEFAULT_$LINE"
4179 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4183 eval "$ac_cv_use_rpath"
4184 if test "$no_cache" != 1; then
4185 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4188 if test "$wxUSE_RPATH" = yes; then
4189 echo "$as_me:$LINENO: result: yes" >&5
4190 echo "${ECHO_T}yes" >&6
4192 echo "$as_me:$LINENO: result: no" >&5
4193 echo "${ECHO_T}no" >&6
4201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4202 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4204 # Check whether --enable-intl or --disable-intl was given.
4205 if test "${enable_intl+set}" = set; then
4206 enableval
="$enable_intl"
4208 if test "$enableval" = yes; then
4209 ac_cv_use_intl
='wxUSE_INTL=yes'
4211 ac_cv_use_intl
='wxUSE_INTL=no'
4216 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4217 if test "x$LINE" != x
; then
4218 eval "DEFAULT_$LINE"
4223 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4227 eval "$ac_cv_use_intl"
4228 if test "$no_cache" != 1; then
4229 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4232 if test "$wxUSE_INTL" = yes; then
4233 echo "$as_me:$LINENO: result: yes" >&5
4234 echo "${ECHO_T}yes" >&6
4236 echo "$as_me:$LINENO: result: no" >&5
4237 echo "${ECHO_T}no" >&6
4242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4243 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4245 # Check whether --enable-config or --disable-config was given.
4246 if test "${enable_config+set}" = set; then
4247 enableval
="$enable_config"
4249 if test "$enableval" = yes; then
4250 ac_cv_use_config
='wxUSE_CONFIG=yes'
4252 ac_cv_use_config
='wxUSE_CONFIG=no'
4257 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4258 if test "x$LINE" != x
; then
4259 eval "DEFAULT_$LINE"
4264 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4268 eval "$ac_cv_use_config"
4269 if test "$no_cache" != 1; then
4270 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4273 if test "$wxUSE_CONFIG" = yes; then
4274 echo "$as_me:$LINENO: result: yes" >&5
4275 echo "${ECHO_T}yes" >&6
4277 echo "$as_me:$LINENO: result: no" >&5
4278 echo "${ECHO_T}no" >&6
4284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4285 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4287 # Check whether --enable-protocols or --disable-protocols was given.
4288 if test "${enable_protocols+set}" = set; then
4289 enableval
="$enable_protocols"
4291 if test "$enableval" = yes; then
4292 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4294 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4299 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4300 if test "x$LINE" != x
; then
4301 eval "DEFAULT_$LINE"
4306 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4310 eval "$ac_cv_use_protocols"
4311 if test "$no_cache" != 1; then
4312 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4315 if test "$wxUSE_PROTOCOL" = yes; then
4316 echo "$as_me:$LINENO: result: yes" >&5
4317 echo "${ECHO_T}yes" >&6
4319 echo "$as_me:$LINENO: result: no" >&5
4320 echo "${ECHO_T}no" >&6
4325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4326 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4328 # Check whether --enable-ftp or --disable-ftp was given.
4329 if test "${enable_ftp+set}" = set; then
4330 enableval
="$enable_ftp"
4332 if test "$enableval" = yes; then
4333 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4335 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4340 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4341 if test "x$LINE" != x
; then
4342 eval "DEFAULT_$LINE"
4347 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4351 eval "$ac_cv_use_ftp"
4352 if test "$no_cache" != 1; then
4353 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4356 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4357 echo "$as_me:$LINENO: result: yes" >&5
4358 echo "${ECHO_T}yes" >&6
4360 echo "$as_me:$LINENO: result: no" >&5
4361 echo "${ECHO_T}no" >&6
4366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4367 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4369 # Check whether --enable-http or --disable-http was given.
4370 if test "${enable_http+set}" = set; then
4371 enableval
="$enable_http"
4373 if test "$enableval" = yes; then
4374 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4376 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4381 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4382 if test "x$LINE" != x
; then
4383 eval "DEFAULT_$LINE"
4388 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4392 eval "$ac_cv_use_http"
4393 if test "$no_cache" != 1; then
4394 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4397 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4398 echo "$as_me:$LINENO: result: yes" >&5
4399 echo "${ECHO_T}yes" >&6
4401 echo "$as_me:$LINENO: result: no" >&5
4402 echo "${ECHO_T}no" >&6
4407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4408 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4410 # Check whether --enable-fileproto or --disable-fileproto was given.
4411 if test "${enable_fileproto+set}" = set; then
4412 enableval
="$enable_fileproto"
4414 if test "$enableval" = yes; then
4415 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4417 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4422 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4423 if test "x$LINE" != x
; then
4424 eval "DEFAULT_$LINE"
4429 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4433 eval "$ac_cv_use_fileproto"
4434 if test "$no_cache" != 1; then
4435 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4438 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4439 echo "$as_me:$LINENO: result: yes" >&5
4440 echo "${ECHO_T}yes" >&6
4442 echo "$as_me:$LINENO: result: no" >&5
4443 echo "${ECHO_T}no" >&6
4448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4449 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4451 # Check whether --enable-sockets or --disable-sockets was given.
4452 if test "${enable_sockets+set}" = set; then
4453 enableval
="$enable_sockets"
4455 if test "$enableval" = yes; then
4456 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4458 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4463 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4464 if test "x$LINE" != x
; then
4465 eval "DEFAULT_$LINE"
4470 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4474 eval "$ac_cv_use_sockets"
4475 if test "$no_cache" != 1; then
4476 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4479 if test "$wxUSE_SOCKETS" = yes; then
4480 echo "$as_me:$LINENO: result: yes" >&5
4481 echo "${ECHO_T}yes" >&6
4483 echo "$as_me:$LINENO: result: no" >&5
4484 echo "${ECHO_T}no" >&6
4489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4490 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4492 # Check whether --enable-ole or --disable-ole was given.
4493 if test "${enable_ole+set}" = set; then
4494 enableval
="$enable_ole"
4496 if test "$enableval" = yes; then
4497 ac_cv_use_ole
='wxUSE_OLE=yes'
4499 ac_cv_use_ole
='wxUSE_OLE=no'
4504 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4505 if test "x$LINE" != x
; then
4506 eval "DEFAULT_$LINE"
4511 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4515 eval "$ac_cv_use_ole"
4516 if test "$no_cache" != 1; then
4517 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4520 if test "$wxUSE_OLE" = yes; then
4521 echo "$as_me:$LINENO: result: yes" >&5
4522 echo "${ECHO_T}yes" >&6
4524 echo "$as_me:$LINENO: result: no" >&5
4525 echo "${ECHO_T}no" >&6
4530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4531 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4533 # Check whether --enable-dataobj or --disable-dataobj was given.
4534 if test "${enable_dataobj+set}" = set; then
4535 enableval
="$enable_dataobj"
4537 if test "$enableval" = yes; then
4538 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4540 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4545 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4546 if test "x$LINE" != x
; then
4547 eval "DEFAULT_$LINE"
4552 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4556 eval "$ac_cv_use_dataobj"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4561 if test "$wxUSE_DATAOBJ" = yes; then
4562 echo "$as_me:$LINENO: result: yes" >&5
4563 echo "${ECHO_T}yes" >&6
4565 echo "$as_me:$LINENO: result: no" >&5
4566 echo "${ECHO_T}no" >&6
4572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4573 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4575 # Check whether --enable-ipc or --disable-ipc was given.
4576 if test "${enable_ipc+set}" = set; then
4577 enableval
="$enable_ipc"
4579 if test "$enableval" = yes; then
4580 ac_cv_use_ipc
='wxUSE_IPC=yes'
4582 ac_cv_use_ipc
='wxUSE_IPC=no'
4587 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4588 if test "x$LINE" != x
; then
4589 eval "DEFAULT_$LINE"
4594 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4598 eval "$ac_cv_use_ipc"
4599 if test "$no_cache" != 1; then
4600 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4603 if test "$wxUSE_IPC" = yes; then
4604 echo "$as_me:$LINENO: result: yes" >&5
4605 echo "${ECHO_T}yes" >&6
4607 echo "$as_me:$LINENO: result: no" >&5
4608 echo "${ECHO_T}no" >&6
4614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4615 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4617 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4618 if test "${enable_apple_ieee+set}" = set; then
4619 enableval
="$enable_apple_ieee"
4621 if test "$enableval" = yes; then
4622 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4624 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4629 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4630 if test "x$LINE" != x
; then
4631 eval "DEFAULT_$LINE"
4636 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4640 eval "$ac_cv_use_apple_ieee"
4641 if test "$no_cache" != 1; then
4642 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4645 if test "$wxUSE_APPLE_IEEE" = yes; then
4646 echo "$as_me:$LINENO: result: yes" >&5
4647 echo "${ECHO_T}yes" >&6
4649 echo "$as_me:$LINENO: result: no" >&5
4650 echo "${ECHO_T}no" >&6
4655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4656 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4658 # Check whether --enable-arcstream or --disable-arcstream was given.
4659 if test "${enable_arcstream+set}" = set; then
4660 enableval
="$enable_arcstream"
4662 if test "$enableval" = yes; then
4663 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4665 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4670 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4671 if test "x$LINE" != x
; then
4672 eval "DEFAULT_$LINE"
4677 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4681 eval "$ac_cv_use_arcstream"
4682 if test "$no_cache" != 1; then
4683 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4686 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4687 echo "$as_me:$LINENO: result: yes" >&5
4688 echo "${ECHO_T}yes" >&6
4690 echo "$as_me:$LINENO: result: no" >&5
4691 echo "${ECHO_T}no" >&6
4696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4697 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4699 # Check whether --enable-backtrace or --disable-backtrace was given.
4700 if test "${enable_backtrace+set}" = set; then
4701 enableval
="$enable_backtrace"
4703 if test "$enableval" = yes; then
4704 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4706 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4711 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4712 if test "x$LINE" != x
; then
4713 eval "DEFAULT_$LINE"
4718 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4722 eval "$ac_cv_use_backtrace"
4723 if test "$no_cache" != 1; then
4724 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4727 if test "$wxUSE_STACKWALKER" = yes; then
4728 echo "$as_me:$LINENO: result: yes" >&5
4729 echo "${ECHO_T}yes" >&6
4731 echo "$as_me:$LINENO: result: no" >&5
4732 echo "${ECHO_T}no" >&6
4737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4738 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4740 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4741 if test "${enable_catch_segvs+set}" = set; then
4742 enableval
="$enable_catch_segvs"
4744 if test "$enableval" = yes; then
4745 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4747 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4752 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4753 if test "x$LINE" != x
; then
4754 eval "DEFAULT_$LINE"
4759 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4763 eval "$ac_cv_use_catch_segvs"
4764 if test "$no_cache" != 1; then
4765 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4768 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4769 echo "$as_me:$LINENO: result: yes" >&5
4770 echo "${ECHO_T}yes" >&6
4772 echo "$as_me:$LINENO: result: no" >&5
4773 echo "${ECHO_T}no" >&6
4778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4779 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4781 # Check whether --enable-cmdline or --disable-cmdline was given.
4782 if test "${enable_cmdline+set}" = set; then
4783 enableval
="$enable_cmdline"
4785 if test "$enableval" = yes; then
4786 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4788 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4793 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4794 if test "x$LINE" != x
; then
4795 eval "DEFAULT_$LINE"
4800 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4804 eval "$ac_cv_use_cmdline"
4805 if test "$no_cache" != 1; then
4806 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4809 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4810 echo "$as_me:$LINENO: result: yes" >&5
4811 echo "${ECHO_T}yes" >&6
4813 echo "$as_me:$LINENO: result: no" >&5
4814 echo "${ECHO_T}no" >&6
4819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4820 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4822 # Check whether --enable-datetime or --disable-datetime was given.
4823 if test "${enable_datetime+set}" = set; then
4824 enableval
="$enable_datetime"
4826 if test "$enableval" = yes; then
4827 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4829 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4834 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4835 if test "x$LINE" != x
; then
4836 eval "DEFAULT_$LINE"
4841 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4845 eval "$ac_cv_use_datetime"
4846 if test "$no_cache" != 1; then
4847 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4850 if test "$wxUSE_DATETIME" = yes; then
4851 echo "$as_me:$LINENO: result: yes" >&5
4852 echo "${ECHO_T}yes" >&6
4854 echo "$as_me:$LINENO: result: no" >&5
4855 echo "${ECHO_T}no" >&6
4860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4861 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4863 # Check whether --enable-debugreport or --disable-debugreport was given.
4864 if test "${enable_debugreport+set}" = set; then
4865 enableval
="$enable_debugreport"
4867 if test "$enableval" = yes; then
4868 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
4870 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
4875 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4876 if test "x$LINE" != x
; then
4877 eval "DEFAULT_$LINE"
4882 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4886 eval "$ac_cv_use_debugreport"
4887 if test "$no_cache" != 1; then
4888 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4891 if test "$wxUSE_DEBUGREPORT" = yes; then
4892 echo "$as_me:$LINENO: result: yes" >&5
4893 echo "${ECHO_T}yes" >&6
4895 echo "$as_me:$LINENO: result: no" >&5
4896 echo "${ECHO_T}no" >&6
4901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4902 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4904 # Check whether --enable-dialupman or --disable-dialupman was given.
4905 if test "${enable_dialupman+set}" = set; then
4906 enableval
="$enable_dialupman"
4908 if test "$enableval" = yes; then
4909 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4911 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4916 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4917 if test "x$LINE" != x
; then
4918 eval "DEFAULT_$LINE"
4923 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4927 eval "$ac_cv_use_dialupman"
4928 if test "$no_cache" != 1; then
4929 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4932 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4933 echo "$as_me:$LINENO: result: yes" >&5
4934 echo "${ECHO_T}yes" >&6
4936 echo "$as_me:$LINENO: result: no" >&5
4937 echo "${ECHO_T}no" >&6
4942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4943 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4945 # Check whether --enable-dynlib or --disable-dynlib was given.
4946 if test "${enable_dynlib+set}" = set; then
4947 enableval
="$enable_dynlib"
4949 if test "$enableval" = yes; then
4950 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4952 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4957 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4958 if test "x$LINE" != x
; then
4959 eval "DEFAULT_$LINE"
4964 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4968 eval "$ac_cv_use_dynlib"
4969 if test "$no_cache" != 1; then
4970 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4973 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4974 echo "$as_me:$LINENO: result: yes" >&5
4975 echo "${ECHO_T}yes" >&6
4977 echo "$as_me:$LINENO: result: no" >&5
4978 echo "${ECHO_T}no" >&6
4983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4984 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4986 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4987 if test "${enable_dynamicloader+set}" = set; then
4988 enableval
="$enable_dynamicloader"
4990 if test "$enableval" = yes; then
4991 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4993 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4998 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4999 if test "x$LINE" != x
; then
5000 eval "DEFAULT_$LINE"
5005 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5009 eval "$ac_cv_use_dynamicloader"
5010 if test "$no_cache" != 1; then
5011 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5014 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5015 echo "$as_me:$LINENO: result: yes" >&5
5016 echo "${ECHO_T}yes" >&6
5018 echo "$as_me:$LINENO: result: no" >&5
5019 echo "${ECHO_T}no" >&6
5024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5025 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5027 # Check whether --enable-exceptions or --disable-exceptions was given.
5028 if test "${enable_exceptions+set}" = set; then
5029 enableval
="$enable_exceptions"
5031 if test "$enableval" = yes; then
5032 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5034 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5039 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5040 if test "x$LINE" != x
; then
5041 eval "DEFAULT_$LINE"
5046 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5050 eval "$ac_cv_use_exceptions"
5051 if test "$no_cache" != 1; then
5052 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5055 if test "$wxUSE_EXCEPTIONS" = yes; then
5056 echo "$as_me:$LINENO: result: yes" >&5
5057 echo "${ECHO_T}yes" >&6
5059 echo "$as_me:$LINENO: result: no" >&5
5060 echo "${ECHO_T}no" >&6
5065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5066 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5068 # Check whether --enable-ffile or --disable-ffile was given.
5069 if test "${enable_ffile+set}" = set; then
5070 enableval
="$enable_ffile"
5072 if test "$enableval" = yes; then
5073 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5075 ac_cv_use_ffile
='wxUSE_FFILE=no'
5080 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5081 if test "x$LINE" != x
; then
5082 eval "DEFAULT_$LINE"
5087 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5091 eval "$ac_cv_use_ffile"
5092 if test "$no_cache" != 1; then
5093 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5096 if test "$wxUSE_FFILE" = yes; then
5097 echo "$as_me:$LINENO: result: yes" >&5
5098 echo "${ECHO_T}yes" >&6
5100 echo "$as_me:$LINENO: result: no" >&5
5101 echo "${ECHO_T}no" >&6
5106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5107 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5109 # Check whether --enable-file or --disable-file was given.
5110 if test "${enable_file+set}" = set; then
5111 enableval
="$enable_file"
5113 if test "$enableval" = yes; then
5114 ac_cv_use_file
='wxUSE_FILE=yes'
5116 ac_cv_use_file
='wxUSE_FILE=no'
5121 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5122 if test "x$LINE" != x
; then
5123 eval "DEFAULT_$LINE"
5128 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5132 eval "$ac_cv_use_file"
5133 if test "$no_cache" != 1; then
5134 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5137 if test "$wxUSE_FILE" = yes; then
5138 echo "$as_me:$LINENO: result: yes" >&5
5139 echo "${ECHO_T}yes" >&6
5141 echo "$as_me:$LINENO: result: no" >&5
5142 echo "${ECHO_T}no" >&6
5147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5148 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5150 # Check whether --enable-filesystem or --disable-filesystem was given.
5151 if test "${enable_filesystem+set}" = set; then
5152 enableval
="$enable_filesystem"
5154 if test "$enableval" = yes; then
5155 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5157 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5162 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5163 if test "x$LINE" != x
; then
5164 eval "DEFAULT_$LINE"
5169 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5173 eval "$ac_cv_use_filesystem"
5174 if test "$no_cache" != 1; then
5175 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5178 if test "$wxUSE_FILESYSTEM" = yes; then
5179 echo "$as_me:$LINENO: result: yes" >&5
5180 echo "${ECHO_T}yes" >&6
5182 echo "$as_me:$LINENO: result: no" >&5
5183 echo "${ECHO_T}no" >&6
5188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5189 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5191 # Check whether --enable-fontmap or --disable-fontmap was given.
5192 if test "${enable_fontmap+set}" = set; then
5193 enableval
="$enable_fontmap"
5195 if test "$enableval" = yes; then
5196 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5198 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5203 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5204 if test "x$LINE" != x
; then
5205 eval "DEFAULT_$LINE"
5210 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5214 eval "$ac_cv_use_fontmap"
5215 if test "$no_cache" != 1; then
5216 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5219 if test "$wxUSE_FONTMAP" = yes; then
5220 echo "$as_me:$LINENO: result: yes" >&5
5221 echo "${ECHO_T}yes" >&6
5223 echo "$as_me:$LINENO: result: no" >&5
5224 echo "${ECHO_T}no" >&6
5229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5230 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5232 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5233 if test "${enable_fs_inet+set}" = set; then
5234 enableval
="$enable_fs_inet"
5236 if test "$enableval" = yes; then
5237 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5239 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5244 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5245 if test "x$LINE" != x
; then
5246 eval "DEFAULT_$LINE"
5251 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5255 eval "$ac_cv_use_fs_inet"
5256 if test "$no_cache" != 1; then
5257 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5260 if test "$wxUSE_FS_INET" = yes; then
5261 echo "$as_me:$LINENO: result: yes" >&5
5262 echo "${ECHO_T}yes" >&6
5264 echo "$as_me:$LINENO: result: no" >&5
5265 echo "${ECHO_T}no" >&6
5270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5271 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5273 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5274 if test "${enable_fs_zip+set}" = set; then
5275 enableval
="$enable_fs_zip"
5277 if test "$enableval" = yes; then
5278 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5280 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5285 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5286 if test "x$LINE" != x
; then
5287 eval "DEFAULT_$LINE"
5292 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5296 eval "$ac_cv_use_fs_zip"
5297 if test "$no_cache" != 1; then
5298 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5301 if test "$wxUSE_FS_ZIP" = yes; then
5302 echo "$as_me:$LINENO: result: yes" >&5
5303 echo "${ECHO_T}yes" >&6
5305 echo "$as_me:$LINENO: result: no" >&5
5306 echo "${ECHO_T}no" >&6
5311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5312 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5314 # Check whether --enable-geometry or --disable-geometry was given.
5315 if test "${enable_geometry+set}" = set; then
5316 enableval
="$enable_geometry"
5318 if test "$enableval" = yes; then
5319 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5321 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5326 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5327 if test "x$LINE" != x
; then
5328 eval "DEFAULT_$LINE"
5333 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5337 eval "$ac_cv_use_geometry"
5338 if test "$no_cache" != 1; then
5339 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5342 if test "$wxUSE_GEOMETRY" = yes; then
5343 echo "$as_me:$LINENO: result: yes" >&5
5344 echo "${ECHO_T}yes" >&6
5346 echo "$as_me:$LINENO: result: no" >&5
5347 echo "${ECHO_T}no" >&6
5352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5353 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5355 # Check whether --enable-log or --disable-log was given.
5356 if test "${enable_log+set}" = set; then
5357 enableval
="$enable_log"
5359 if test "$enableval" = yes; then
5360 ac_cv_use_log
='wxUSE_LOG=yes'
5362 ac_cv_use_log
='wxUSE_LOG=no'
5367 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5368 if test "x$LINE" != x
; then
5369 eval "DEFAULT_$LINE"
5374 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5378 eval "$ac_cv_use_log"
5379 if test "$no_cache" != 1; then
5380 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5383 if test "$wxUSE_LOG" = yes; then
5384 echo "$as_me:$LINENO: result: yes" >&5
5385 echo "${ECHO_T}yes" >&6
5387 echo "$as_me:$LINENO: result: no" >&5
5388 echo "${ECHO_T}no" >&6
5393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5394 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5396 # Check whether --enable-longlong or --disable-longlong was given.
5397 if test "${enable_longlong+set}" = set; then
5398 enableval
="$enable_longlong"
5400 if test "$enableval" = yes; then
5401 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5403 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5408 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5409 if test "x$LINE" != x
; then
5410 eval "DEFAULT_$LINE"
5415 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5419 eval "$ac_cv_use_longlong"
5420 if test "$no_cache" != 1; then
5421 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5424 if test "$wxUSE_LONGLONG" = yes; then
5425 echo "$as_me:$LINENO: result: yes" >&5
5426 echo "${ECHO_T}yes" >&6
5428 echo "$as_me:$LINENO: result: no" >&5
5429 echo "${ECHO_T}no" >&6
5434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5435 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5437 # Check whether --enable-mimetype or --disable-mimetype was given.
5438 if test "${enable_mimetype+set}" = set; then
5439 enableval
="$enable_mimetype"
5441 if test "$enableval" = yes; then
5442 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5444 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5449 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5450 if test "x$LINE" != x
; then
5451 eval "DEFAULT_$LINE"
5456 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5460 eval "$ac_cv_use_mimetype"
5461 if test "$no_cache" != 1; then
5462 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5465 if test "$wxUSE_MIMETYPE" = yes; then
5466 echo "$as_me:$LINENO: result: yes" >&5
5467 echo "${ECHO_T}yes" >&6
5469 echo "$as_me:$LINENO: result: no" >&5
5470 echo "${ECHO_T}no" >&6
5475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5476 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5478 # Check whether --enable-mslu or --disable-mslu was given.
5479 if test "${enable_mslu+set}" = set; then
5480 enableval
="$enable_mslu"
5482 if test "$enableval" = yes; then
5483 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5485 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5490 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5491 if test "x$LINE" != x
; then
5492 eval "DEFAULT_$LINE"
5497 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5501 eval "$ac_cv_use_mslu"
5502 if test "$no_cache" != 1; then
5503 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5506 if test "$wxUSE_UNICODE_MSLU" = yes; then
5507 echo "$as_me:$LINENO: result: yes" >&5
5508 echo "${ECHO_T}yes" >&6
5510 echo "$as_me:$LINENO: result: no" >&5
5511 echo "${ECHO_T}no" >&6
5516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5517 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5519 # Check whether --enable-snglinst or --disable-snglinst was given.
5520 if test "${enable_snglinst+set}" = set; then
5521 enableval
="$enable_snglinst"
5523 if test "$enableval" = yes; then
5524 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5526 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5531 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5532 if test "x$LINE" != x
; then
5533 eval "DEFAULT_$LINE"
5538 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5542 eval "$ac_cv_use_snglinst"
5543 if test "$no_cache" != 1; then
5544 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5547 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5548 echo "$as_me:$LINENO: result: yes" >&5
5549 echo "${ECHO_T}yes" >&6
5551 echo "$as_me:$LINENO: result: no" >&5
5552 echo "${ECHO_T}no" >&6
5557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5558 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5560 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5561 if test "${enable_std_iostreams+set}" = set; then
5562 enableval
="$enable_std_iostreams"
5564 if test "$enableval" = yes; then
5565 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5567 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5572 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5573 if test "x$LINE" != x
; then
5574 eval "DEFAULT_$LINE"
5579 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5583 eval "$ac_cv_use_std_iostreams"
5584 if test "$no_cache" != 1; then
5585 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5588 if test "$wxUSE_STD_IOSTREAM" = yes; then
5589 echo "$as_me:$LINENO: result: yes" >&5
5590 echo "${ECHO_T}yes" >&6
5592 echo "$as_me:$LINENO: result: no" >&5
5593 echo "${ECHO_T}no" >&6
5598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5599 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5601 # Check whether --enable-std_string or --disable-std_string was given.
5602 if test "${enable_std_string+set}" = set; then
5603 enableval
="$enable_std_string"
5605 if test "$enableval" = yes; then
5606 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5608 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5613 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5614 if test "x$LINE" != x
; then
5615 eval "DEFAULT_$LINE"
5620 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5624 eval "$ac_cv_use_std_string"
5625 if test "$no_cache" != 1; then
5626 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5629 if test "$wxUSE_STD_STRING" = yes; then
5630 echo "$as_me:$LINENO: result: yes" >&5
5631 echo "${ECHO_T}yes" >&6
5633 echo "$as_me:$LINENO: result: no" >&5
5634 echo "${ECHO_T}no" >&6
5639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5640 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5642 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5643 if test "${enable_stdpaths+set}" = set; then
5644 enableval
="$enable_stdpaths"
5646 if test "$enableval" = yes; then
5647 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5649 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5654 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5655 if test "x$LINE" != x
; then
5656 eval "DEFAULT_$LINE"
5661 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5665 eval "$ac_cv_use_stdpaths"
5666 if test "$no_cache" != 1; then
5667 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5670 if test "$wxUSE_STDPATHS" = yes; then
5671 echo "$as_me:$LINENO: result: yes" >&5
5672 echo "${ECHO_T}yes" >&6
5674 echo "$as_me:$LINENO: result: no" >&5
5675 echo "${ECHO_T}no" >&6
5680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5681 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5683 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5684 if test "${enable_stopwatch+set}" = set; then
5685 enableval
="$enable_stopwatch"
5687 if test "$enableval" = yes; then
5688 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5690 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5695 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5696 if test "x$LINE" != x
; then
5697 eval "DEFAULT_$LINE"
5702 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5706 eval "$ac_cv_use_stopwatch"
5707 if test "$no_cache" != 1; then
5708 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5711 if test "$wxUSE_STOPWATCH" = yes; then
5712 echo "$as_me:$LINENO: result: yes" >&5
5713 echo "${ECHO_T}yes" >&6
5715 echo "$as_me:$LINENO: result: no" >&5
5716 echo "${ECHO_T}no" >&6
5721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5722 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5724 # Check whether --enable-streams or --disable-streams was given.
5725 if test "${enable_streams+set}" = set; then
5726 enableval
="$enable_streams"
5728 if test "$enableval" = yes; then
5729 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5731 ac_cv_use_streams
='wxUSE_STREAMS=no'
5736 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5737 if test "x$LINE" != x
; then
5738 eval "DEFAULT_$LINE"
5743 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5747 eval "$ac_cv_use_streams"
5748 if test "$no_cache" != 1; then
5749 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5752 if test "$wxUSE_STREAMS" = yes; then
5753 echo "$as_me:$LINENO: result: yes" >&5
5754 echo "${ECHO_T}yes" >&6
5756 echo "$as_me:$LINENO: result: no" >&5
5757 echo "${ECHO_T}no" >&6
5762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5763 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5765 # Check whether --enable-system_options or --disable-system_options was given.
5766 if test "${enable_system_options+set}" = set; then
5767 enableval
="$enable_system_options"
5769 if test "$enableval" = yes; then
5770 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5772 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5777 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5778 if test "x$LINE" != x
; then
5779 eval "DEFAULT_$LINE"
5784 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5788 eval "$ac_cv_use_system_options"
5789 if test "$no_cache" != 1; then
5790 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5793 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5794 echo "$as_me:$LINENO: result: yes" >&5
5795 echo "${ECHO_T}yes" >&6
5797 echo "$as_me:$LINENO: result: no" >&5
5798 echo "${ECHO_T}no" >&6
5803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5804 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5806 # Check whether --enable-textbuf or --disable-textbuf was given.
5807 if test "${enable_textbuf+set}" = set; then
5808 enableval
="$enable_textbuf"
5810 if test "$enableval" = yes; then
5811 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5813 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5818 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5819 if test "x$LINE" != x
; then
5820 eval "DEFAULT_$LINE"
5825 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5829 eval "$ac_cv_use_textbuf"
5830 if test "$no_cache" != 1; then
5831 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5834 if test "$wxUSE_TEXTBUFFER" = yes; then
5835 echo "$as_me:$LINENO: result: yes" >&5
5836 echo "${ECHO_T}yes" >&6
5838 echo "$as_me:$LINENO: result: no" >&5
5839 echo "${ECHO_T}no" >&6
5844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5845 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5847 # Check whether --enable-textfile or --disable-textfile was given.
5848 if test "${enable_textfile+set}" = set; then
5849 enableval
="$enable_textfile"
5851 if test "$enableval" = yes; then
5852 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5854 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5859 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5860 if test "x$LINE" != x
; then
5861 eval "DEFAULT_$LINE"
5866 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5870 eval "$ac_cv_use_textfile"
5871 if test "$no_cache" != 1; then
5872 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5875 if test "$wxUSE_TEXTFILE" = yes; then
5876 echo "$as_me:$LINENO: result: yes" >&5
5877 echo "${ECHO_T}yes" >&6
5879 echo "$as_me:$LINENO: result: no" >&5
5880 echo "${ECHO_T}no" >&6
5885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5886 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5888 # Check whether --enable-timer or --disable-timer was given.
5889 if test "${enable_timer+set}" = set; then
5890 enableval
="$enable_timer"
5892 if test "$enableval" = yes; then
5893 ac_cv_use_timer
='wxUSE_TIMER=yes'
5895 ac_cv_use_timer
='wxUSE_TIMER=no'
5900 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5901 if test "x$LINE" != x
; then
5902 eval "DEFAULT_$LINE"
5907 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5911 eval "$ac_cv_use_timer"
5912 if test "$no_cache" != 1; then
5913 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5916 if test "$wxUSE_TIMER" = yes; then
5917 echo "$as_me:$LINENO: result: yes" >&5
5918 echo "${ECHO_T}yes" >&6
5920 echo "$as_me:$LINENO: result: no" >&5
5921 echo "${ECHO_T}no" >&6
5926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5927 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5929 # Check whether --enable-unicode or --disable-unicode was given.
5930 if test "${enable_unicode+set}" = set; then
5931 enableval
="$enable_unicode"
5933 if test "$enableval" = yes; then
5934 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5936 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5941 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5942 if test "x$LINE" != x
; then
5943 eval "DEFAULT_$LINE"
5948 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5952 eval "$ac_cv_use_unicode"
5953 if test "$no_cache" != 1; then
5954 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5957 if test "$wxUSE_UNICODE" = yes; then
5958 echo "$as_me:$LINENO: result: yes" >&5
5959 echo "${ECHO_T}yes" >&6
5961 echo "$as_me:$LINENO: result: no" >&5
5962 echo "${ECHO_T}no" >&6
5967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5968 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5970 # Check whether --enable-sound or --disable-sound was given.
5971 if test "${enable_sound+set}" = set; then
5972 enableval
="$enable_sound"
5974 if test "$enableval" = yes; then
5975 ac_cv_use_sound
='wxUSE_SOUND=yes'
5977 ac_cv_use_sound
='wxUSE_SOUND=no'
5982 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5983 if test "x$LINE" != x
; then
5984 eval "DEFAULT_$LINE"
5989 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5993 eval "$ac_cv_use_sound"
5994 if test "$no_cache" != 1; then
5995 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5998 if test "$wxUSE_SOUND" = yes; then
5999 echo "$as_me:$LINENO: result: yes" >&5
6000 echo "${ECHO_T}yes" >&6
6002 echo "$as_me:$LINENO: result: no" >&5
6003 echo "${ECHO_T}no" >&6
6008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6009 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6011 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6012 if test "${enable_mediactrl+set}" = set; then
6013 enableval
="$enable_mediactrl"
6015 if test "$enableval" = yes; then
6016 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6018 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6023 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6024 if test "x$LINE" != x
; then
6025 eval "DEFAULT_$LINE"
6030 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6034 eval "$ac_cv_use_mediactrl"
6035 if test "$no_cache" != 1; then
6036 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6039 if test "$wxUSE_MEDIACTRL" = yes; then
6040 echo "$as_me:$LINENO: result: yes" >&5
6041 echo "${ECHO_T}yes" >&6
6043 echo "$as_me:$LINENO: result: no" >&5
6044 echo "${ECHO_T}no" >&6
6049 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6050 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6052 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6053 if test "${enable_wxprintfv+set}" = set; then
6054 enableval
="$enable_wxprintfv"
6056 if test "$enableval" = yes; then
6057 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6059 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6064 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6065 if test "x$LINE" != x
; then
6066 eval "DEFAULT_$LINE"
6071 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6075 eval "$ac_cv_use_wxprintfv"
6076 if test "$no_cache" != 1; then
6077 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6080 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6081 echo "$as_me:$LINENO: result: yes" >&5
6082 echo "${ECHO_T}yes" >&6
6084 echo "$as_me:$LINENO: result: no" >&5
6085 echo "${ECHO_T}no" >&6
6090 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6091 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6093 # Check whether --enable-zipstream or --disable-zipstream was given.
6094 if test "${enable_zipstream+set}" = set; then
6095 enableval
="$enable_zipstream"
6097 if test "$enableval" = yes; then
6098 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6100 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6105 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6106 if test "x$LINE" != x
; then
6107 eval "DEFAULT_$LINE"
6112 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6116 eval "$ac_cv_use_zipstream"
6117 if test "$no_cache" != 1; then
6118 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6121 if test "$wxUSE_ZIPSTREAM" = yes; then
6122 echo "$as_me:$LINENO: result: yes" >&5
6123 echo "${ECHO_T}yes" >&6
6125 echo "$as_me:$LINENO: result: no" >&5
6126 echo "${ECHO_T}no" >&6
6132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6133 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6135 # Check whether --enable-url or --disable-url was given.
6136 if test "${enable_url+set}" = set; then
6137 enableval
="$enable_url"
6139 if test "$enableval" = yes; then
6140 ac_cv_use_url
='wxUSE_URL=yes'
6142 ac_cv_use_url
='wxUSE_URL=no'
6147 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6148 if test "x$LINE" != x
; then
6149 eval "DEFAULT_$LINE"
6154 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6158 eval "$ac_cv_use_url"
6159 if test "$no_cache" != 1; then
6160 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6163 if test "$wxUSE_URL" = yes; then
6164 echo "$as_me:$LINENO: result: yes" >&5
6165 echo "${ECHO_T}yes" >&6
6167 echo "$as_me:$LINENO: result: no" >&5
6168 echo "${ECHO_T}no" >&6
6173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6174 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6176 # Check whether --enable-protocol or --disable-protocol was given.
6177 if test "${enable_protocol+set}" = set; then
6178 enableval
="$enable_protocol"
6180 if test "$enableval" = yes; then
6181 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6183 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6188 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6189 if test "x$LINE" != x
; then
6190 eval "DEFAULT_$LINE"
6195 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6199 eval "$ac_cv_use_protocol"
6200 if test "$no_cache" != 1; then
6201 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6204 if test "$wxUSE_PROTOCOL" = yes; then
6205 echo "$as_me:$LINENO: result: yes" >&5
6206 echo "${ECHO_T}yes" >&6
6208 echo "$as_me:$LINENO: result: no" >&5
6209 echo "${ECHO_T}no" >&6
6214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6215 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6217 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6218 if test "${enable_protocol_http+set}" = set; then
6219 enableval
="$enable_protocol_http"
6221 if test "$enableval" = yes; then
6222 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6224 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6229 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6230 if test "x$LINE" != x
; then
6231 eval "DEFAULT_$LINE"
6236 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6240 eval "$ac_cv_use_protocol_http"
6241 if test "$no_cache" != 1; then
6242 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6245 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6246 echo "$as_me:$LINENO: result: yes" >&5
6247 echo "${ECHO_T}yes" >&6
6249 echo "$as_me:$LINENO: result: no" >&5
6250 echo "${ECHO_T}no" >&6
6255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6256 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6258 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6259 if test "${enable_protocol_ftp+set}" = set; then
6260 enableval
="$enable_protocol_ftp"
6262 if test "$enableval" = yes; then
6263 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6265 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6270 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6271 if test "x$LINE" != x
; then
6272 eval "DEFAULT_$LINE"
6277 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6281 eval "$ac_cv_use_protocol_ftp"
6282 if test "$no_cache" != 1; then
6283 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6286 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6287 echo "$as_me:$LINENO: result: yes" >&5
6288 echo "${ECHO_T}yes" >&6
6290 echo "$as_me:$LINENO: result: no" >&5
6291 echo "${ECHO_T}no" >&6
6296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6297 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6299 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6300 if test "${enable_protocol_file+set}" = set; then
6301 enableval
="$enable_protocol_file"
6303 if test "$enableval" = yes; then
6304 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6306 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6311 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6312 if test "x$LINE" != x
; then
6313 eval "DEFAULT_$LINE"
6318 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6322 eval "$ac_cv_use_protocol_file"
6323 if test "$no_cache" != 1; then
6324 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6327 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6328 echo "$as_me:$LINENO: result: yes" >&5
6329 echo "${ECHO_T}yes" >&6
6331 echo "$as_me:$LINENO: result: no" >&5
6332 echo "${ECHO_T}no" >&6
6340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6341 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6343 # Check whether --enable-threads or --disable-threads was given.
6344 if test "${enable_threads+set}" = set; then
6345 enableval
="$enable_threads"
6347 if test "$enableval" = yes; then
6348 ac_cv_use_threads
='wxUSE_THREADS=yes'
6350 ac_cv_use_threads
='wxUSE_THREADS=no'
6355 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6356 if test "x$LINE" != x
; then
6357 eval "DEFAULT_$LINE"
6362 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6366 eval "$ac_cv_use_threads"
6367 if test "$no_cache" != 1; then
6368 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6371 if test "$wxUSE_THREADS" = yes; then
6372 echo "$as_me:$LINENO: result: yes" >&5
6373 echo "${ECHO_T}yes" >&6
6375 echo "$as_me:$LINENO: result: no" >&5
6376 echo "${ECHO_T}no" >&6
6380 if test "$wxUSE_GUI" = "yes"; then
6385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6386 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6388 # Check whether --enable-docview or --disable-docview was given.
6389 if test "${enable_docview+set}" = set; then
6390 enableval
="$enable_docview"
6392 if test "$enableval" = yes; then
6393 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6395 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6400 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6401 if test "x$LINE" != x
; then
6402 eval "DEFAULT_$LINE"
6407 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6411 eval "$ac_cv_use_docview"
6412 if test "$no_cache" != 1; then
6413 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6416 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6417 echo "$as_me:$LINENO: result: yes" >&5
6418 echo "${ECHO_T}yes" >&6
6420 echo "$as_me:$LINENO: result: no" >&5
6421 echo "${ECHO_T}no" >&6
6426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6427 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6429 # Check whether --enable-help or --disable-help was given.
6430 if test "${enable_help+set}" = set; then
6431 enableval
="$enable_help"
6433 if test "$enableval" = yes; then
6434 ac_cv_use_help
='wxUSE_HELP=yes'
6436 ac_cv_use_help
='wxUSE_HELP=no'
6441 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6442 if test "x$LINE" != x
; then
6443 eval "DEFAULT_$LINE"
6448 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6452 eval "$ac_cv_use_help"
6453 if test "$no_cache" != 1; then
6454 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6457 if test "$wxUSE_HELP" = yes; then
6458 echo "$as_me:$LINENO: result: yes" >&5
6459 echo "${ECHO_T}yes" >&6
6461 echo "$as_me:$LINENO: result: no" >&5
6462 echo "${ECHO_T}no" >&6
6467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6468 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6470 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6471 if test "${enable_mshtmlhelp+set}" = set; then
6472 enableval
="$enable_mshtmlhelp"
6474 if test "$enableval" = yes; then
6475 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6477 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6482 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6483 if test "x$LINE" != x
; then
6484 eval "DEFAULT_$LINE"
6489 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6493 eval "$ac_cv_use_mshtmlhelp"
6494 if test "$no_cache" != 1; then
6495 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6498 if test "$wxUSE_MS_HTML_HELP" = yes; then
6499 echo "$as_me:$LINENO: result: yes" >&5
6500 echo "${ECHO_T}yes" >&6
6502 echo "$as_me:$LINENO: result: no" >&5
6503 echo "${ECHO_T}no" >&6
6508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6509 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6511 # Check whether --enable-html or --disable-html was given.
6512 if test "${enable_html+set}" = set; then
6513 enableval
="$enable_html"
6515 if test "$enableval" = yes; then
6516 ac_cv_use_html
='wxUSE_HTML=yes'
6518 ac_cv_use_html
='wxUSE_HTML=no'
6523 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6524 if test "x$LINE" != x
; then
6525 eval "DEFAULT_$LINE"
6530 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6534 eval "$ac_cv_use_html"
6535 if test "$no_cache" != 1; then
6536 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6539 if test "$wxUSE_HTML" = yes; then
6540 echo "$as_me:$LINENO: result: yes" >&5
6541 echo "${ECHO_T}yes" >&6
6543 echo "$as_me:$LINENO: result: no" >&5
6544 echo "${ECHO_T}no" >&6
6549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6550 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6552 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6553 if test "${enable_htmlhelp+set}" = set; then
6554 enableval
="$enable_htmlhelp"
6556 if test "$enableval" = yes; then
6557 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6559 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6564 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6565 if test "x$LINE" != x
; then
6566 eval "DEFAULT_$LINE"
6571 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6575 eval "$ac_cv_use_htmlhelp"
6576 if test "$no_cache" != 1; then
6577 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6580 if test "$wxUSE_WXHTML_HELP" = yes; then
6581 echo "$as_me:$LINENO: result: yes" >&5
6582 echo "${ECHO_T}yes" >&6
6584 echo "$as_me:$LINENO: result: no" >&5
6585 echo "${ECHO_T}no" >&6
6590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6591 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6593 # Check whether --enable-xrc or --disable-xrc was given.
6594 if test "${enable_xrc+set}" = set; then
6595 enableval
="$enable_xrc"
6597 if test "$enableval" = yes; then
6598 ac_cv_use_xrc
='wxUSE_XRC=yes'
6600 ac_cv_use_xrc
='wxUSE_XRC=no'
6605 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6606 if test "x$LINE" != x
; then
6607 eval "DEFAULT_$LINE"
6612 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6616 eval "$ac_cv_use_xrc"
6617 if test "$no_cache" != 1; then
6618 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6621 if test "$wxUSE_XRC" = yes; then
6622 echo "$as_me:$LINENO: result: yes" >&5
6623 echo "${ECHO_T}yes" >&6
6625 echo "$as_me:$LINENO: result: no" >&5
6626 echo "${ECHO_T}no" >&6
6631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6632 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6634 # Check whether --enable-constraints or --disable-constraints was given.
6635 if test "${enable_constraints+set}" = set; then
6636 enableval
="$enable_constraints"
6638 if test "$enableval" = yes; then
6639 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6641 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6646 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6647 if test "x$LINE" != x
; then
6648 eval "DEFAULT_$LINE"
6653 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6657 eval "$ac_cv_use_constraints"
6658 if test "$no_cache" != 1; then
6659 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6662 if test "$wxUSE_CONSTRAINTS" = yes; then
6663 echo "$as_me:$LINENO: result: yes" >&5
6664 echo "${ECHO_T}yes" >&6
6666 echo "$as_me:$LINENO: result: no" >&5
6667 echo "${ECHO_T}no" >&6
6672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6673 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6675 # Check whether --enable-printarch or --disable-printarch was given.
6676 if test "${enable_printarch+set}" = set; then
6677 enableval
="$enable_printarch"
6679 if test "$enableval" = yes; then
6680 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6682 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6687 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6688 if test "x$LINE" != x
; then
6689 eval "DEFAULT_$LINE"
6694 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6698 eval "$ac_cv_use_printarch"
6699 if test "$no_cache" != 1; then
6700 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6703 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6704 echo "$as_me:$LINENO: result: yes" >&5
6705 echo "${ECHO_T}yes" >&6
6707 echo "$as_me:$LINENO: result: no" >&5
6708 echo "${ECHO_T}no" >&6
6713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6714 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6716 # Check whether --enable-mdi or --disable-mdi was given.
6717 if test "${enable_mdi+set}" = set; then
6718 enableval
="$enable_mdi"
6720 if test "$enableval" = yes; then
6721 ac_cv_use_mdi
='wxUSE_MDI=yes'
6723 ac_cv_use_mdi
='wxUSE_MDI=no'
6728 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6729 if test "x$LINE" != x
; then
6730 eval "DEFAULT_$LINE"
6735 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6739 eval "$ac_cv_use_mdi"
6740 if test "$no_cache" != 1; then
6741 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6744 if test "$wxUSE_MDI" = yes; then
6745 echo "$as_me:$LINENO: result: yes" >&5
6746 echo "${ECHO_T}yes" >&6
6748 echo "$as_me:$LINENO: result: no" >&5
6749 echo "${ECHO_T}no" >&6
6754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6755 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6757 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6758 if test "${enable_mdidoc+set}" = set; then
6759 enableval
="$enable_mdidoc"
6761 if test "$enableval" = yes; then
6762 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6764 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6769 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6770 if test "x$LINE" != x
; then
6771 eval "DEFAULT_$LINE"
6776 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6780 eval "$ac_cv_use_mdidoc"
6781 if test "$no_cache" != 1; then
6782 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6785 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6786 echo "$as_me:$LINENO: result: yes" >&5
6787 echo "${ECHO_T}yes" >&6
6789 echo "$as_me:$LINENO: result: no" >&5
6790 echo "${ECHO_T}no" >&6
6795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6796 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6798 # Check whether --enable-loggui or --disable-loggui was given.
6799 if test "${enable_loggui+set}" = set; then
6800 enableval
="$enable_loggui"
6802 if test "$enableval" = yes; then
6803 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6805 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6810 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6811 if test "x$LINE" != x
; then
6812 eval "DEFAULT_$LINE"
6817 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6821 eval "$ac_cv_use_loggui"
6822 if test "$no_cache" != 1; then
6823 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6826 if test "$wxUSE_LOGGUI" = yes; then
6827 echo "$as_me:$LINENO: result: yes" >&5
6828 echo "${ECHO_T}yes" >&6
6830 echo "$as_me:$LINENO: result: no" >&5
6831 echo "${ECHO_T}no" >&6
6836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6837 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6839 # Check whether --enable-logwin or --disable-logwin was given.
6840 if test "${enable_logwin+set}" = set; then
6841 enableval
="$enable_logwin"
6843 if test "$enableval" = yes; then
6844 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6846 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6851 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6852 if test "x$LINE" != x
; then
6853 eval "DEFAULT_$LINE"
6858 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6862 eval "$ac_cv_use_logwin"
6863 if test "$no_cache" != 1; then
6864 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6867 if test "$wxUSE_LOGWINDOW" = yes; then
6868 echo "$as_me:$LINENO: result: yes" >&5
6869 echo "${ECHO_T}yes" >&6
6871 echo "$as_me:$LINENO: result: no" >&5
6872 echo "${ECHO_T}no" >&6
6877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6878 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6880 # Check whether --enable-logdialog or --disable-logdialog was given.
6881 if test "${enable_logdialog+set}" = set; then
6882 enableval
="$enable_logdialog"
6884 if test "$enableval" = yes; then
6885 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6887 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6892 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6893 if test "x$LINE" != x
; then
6894 eval "DEFAULT_$LINE"
6899 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6903 eval "$ac_cv_use_logdialog"
6904 if test "$no_cache" != 1; then
6905 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6908 if test "$wxUSE_LOGDIALOG" = yes; then
6909 echo "$as_me:$LINENO: result: yes" >&5
6910 echo "${ECHO_T}yes" >&6
6912 echo "$as_me:$LINENO: result: no" >&5
6913 echo "${ECHO_T}no" >&6
6918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6919 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6921 # Check whether --enable-webkit or --disable-webkit was given.
6922 if test "${enable_webkit+set}" = set; then
6923 enableval
="$enable_webkit"
6925 if test "$enableval" = yes; then
6926 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6928 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6933 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6934 if test "x$LINE" != x
; then
6935 eval "DEFAULT_$LINE"
6940 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6944 eval "$ac_cv_use_webkit"
6945 if test "$no_cache" != 1; then
6946 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6949 if test "$wxUSE_WEBKIT" = yes; then
6950 echo "$as_me:$LINENO: result: yes" >&5
6951 echo "${ECHO_T}yes" >&6
6953 echo "$as_me:$LINENO: result: no" >&5
6954 echo "${ECHO_T}no" >&6
6960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6961 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6963 # Check whether --enable-postscript or --disable-postscript was given.
6964 if test "${enable_postscript+set}" = set; then
6965 enableval
="$enable_postscript"
6967 if test "$enableval" = yes; then
6968 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6970 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6975 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6976 if test "x$LINE" != x
; then
6977 eval "DEFAULT_$LINE"
6982 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6986 eval "$ac_cv_use_postscript"
6987 if test "$no_cache" != 1; then
6988 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6991 if test "$wxUSE_POSTSCRIPT" = yes; then
6992 echo "$as_me:$LINENO: result: yes" >&5
6993 echo "${ECHO_T}yes" >&6
6995 echo "$as_me:$LINENO: result: no" >&5
6996 echo "${ECHO_T}no" >&6
7004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7005 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7007 # Check whether --enable-prologio or --disable-prologio was given.
7008 if test "${enable_prologio+set}" = set; then
7009 enableval
="$enable_prologio"
7011 if test "$enableval" = yes; then
7012 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7014 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7019 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7020 if test "x$LINE" != x
; then
7021 eval "DEFAULT_$LINE"
7026 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7030 eval "$ac_cv_use_prologio"
7031 if test "$no_cache" != 1; then
7032 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7035 if test "$wxUSE_PROLOGIO" = yes; then
7036 echo "$as_me:$LINENO: result: yes" >&5
7037 echo "${ECHO_T}yes" >&6
7039 echo "$as_me:$LINENO: result: no" >&5
7040 echo "${ECHO_T}no" >&6
7045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7046 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7048 # Check whether --enable-resources or --disable-resources was given.
7049 if test "${enable_resources+set}" = set; then
7050 enableval
="$enable_resources"
7052 if test "$enableval" = yes; then
7053 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7055 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7060 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7061 if test "x$LINE" != x
; then
7062 eval "DEFAULT_$LINE"
7067 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7071 eval "$ac_cv_use_resources"
7072 if test "$no_cache" != 1; then
7073 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7076 if test "$wxUSE_RESOURCES" = yes; then
7077 echo "$as_me:$LINENO: result: yes" >&5
7078 echo "${ECHO_T}yes" >&6
7080 echo "$as_me:$LINENO: result: no" >&5
7081 echo "${ECHO_T}no" >&6
7088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7089 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7091 # Check whether --enable-clipboard or --disable-clipboard was given.
7092 if test "${enable_clipboard+set}" = set; then
7093 enableval
="$enable_clipboard"
7095 if test "$enableval" = yes; then
7096 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7098 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7103 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7104 if test "x$LINE" != x
; then
7105 eval "DEFAULT_$LINE"
7110 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7114 eval "$ac_cv_use_clipboard"
7115 if test "$no_cache" != 1; then
7116 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7119 if test "$wxUSE_CLIPBOARD" = yes; then
7120 echo "$as_me:$LINENO: result: yes" >&5
7121 echo "${ECHO_T}yes" >&6
7123 echo "$as_me:$LINENO: result: no" >&5
7124 echo "${ECHO_T}no" >&6
7129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7130 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7132 # Check whether --enable-dnd or --disable-dnd was given.
7133 if test "${enable_dnd+set}" = set; then
7134 enableval
="$enable_dnd"
7136 if test "$enableval" = yes; then
7137 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7139 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7144 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7145 if test "x$LINE" != x
; then
7146 eval "DEFAULT_$LINE"
7151 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7155 eval "$ac_cv_use_dnd"
7156 if test "$no_cache" != 1; then
7157 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7160 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7161 echo "$as_me:$LINENO: result: yes" >&5
7162 echo "${ECHO_T}yes" >&6
7164 echo "$as_me:$LINENO: result: no" >&5
7165 echo "${ECHO_T}no" >&6
7170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7171 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7173 # Check whether --enable-metafile or --disable-metafile was given.
7174 if test "${enable_metafile+set}" = set; then
7175 enableval
="$enable_metafile"
7177 if test "$enableval" = yes; then
7178 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7180 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7185 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7186 if test "x$LINE" != x
; then
7187 eval "DEFAULT_$LINE"
7192 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7196 eval "$ac_cv_use_metafile"
7197 if test "$no_cache" != 1; then
7198 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7201 if test "$wxUSE_METAFILE" = yes; then
7202 echo "$as_me:$LINENO: result: yes" >&5
7203 echo "${ECHO_T}yes" >&6
7205 echo "$as_me:$LINENO: result: no" >&5
7206 echo "${ECHO_T}no" >&6
7214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7215 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7217 # Check whether --enable-controls or --disable-controls was given.
7218 if test "${enable_controls+set}" = set; then
7219 enableval
="$enable_controls"
7221 if test "$enableval" = yes; then
7222 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7224 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7229 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x
; then
7231 eval "DEFAULT_$LINE"
7236 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7240 eval "$ac_cv_use_controls"
7241 if test "$no_cache" != 1; then
7242 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7245 if test "$wxUSE_CONTROLS" = yes; then
7246 echo "$as_me:$LINENO: result: yes" >&5
7247 echo "${ECHO_T}yes" >&6
7249 echo "$as_me:$LINENO: result: no" >&5
7250 echo "${ECHO_T}no" >&6
7254 if test "$wxUSE_CONTROLS" = "yes"; then
7255 DEFAULT_wxUSE_ACCEL
=yes
7256 DEFAULT_wxUSE_BMPBUTTON
=yes
7257 DEFAULT_wxUSE_BUTTON
=yes
7258 DEFAULT_wxUSE_CALCTRL
=yes
7259 DEFAULT_wxUSE_CARET
=yes
7260 DEFAULT_wxUSE_COMBOBOX
=yes
7261 DEFAULT_wxUSE_CHECKBOX
=yes
7262 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7263 DEFAULT_wxUSE_CHOICE
=yes
7264 DEFAULT_wxUSE_CHOICEBOOK
=yes
7265 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7266 DEFAULT_wxUSE_GAUGE
=yes
7267 DEFAULT_wxUSE_GRID
=yes
7268 DEFAULT_wxUSE_IMAGLIST
=yes
7269 DEFAULT_wxUSE_LISTBOOK
=yes
7270 DEFAULT_wxUSE_LISTBOX
=yes
7271 DEFAULT_wxUSE_LISTCTRL
=yes
7272 DEFAULT_wxUSE_NOTEBOOK
=yes
7273 DEFAULT_wxUSE_RADIOBOX
=yes
7274 DEFAULT_wxUSE_RADIOBTN
=yes
7275 DEFAULT_wxUSE_SASH
=yes
7276 DEFAULT_wxUSE_SCROLLBAR
=yes
7277 DEFAULT_wxUSE_SLIDER
=yes
7278 DEFAULT_wxUSE_SPINBTN
=yes
7279 DEFAULT_wxUSE_SPINCTRL
=yes
7280 DEFAULT_wxUSE_SPLITTER
=yes
7281 DEFAULT_wxUSE_STATBMP
=yes
7282 DEFAULT_wxUSE_STATBOX
=yes
7283 DEFAULT_wxUSE_STATLINE
=yes
7284 DEFAULT_wxUSE_STATUSBAR
=yes
7285 DEFAULT_wxUSE_TAB_DIALOG
=yes
7286 DEFAULT_wxUSE_TOGGLEBTN
=yes
7287 DEFAULT_wxUSE_TOOLBAR
=yes
7288 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7289 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7290 DEFAULT_wxUSE_TOOLTIPS
=yes
7291 DEFAULT_wxUSE_TREECTRL
=yes
7292 DEFAULT_wxUSE_POPUPWIN
=yes
7293 DEFAULT_wxUSE_TIPWINDOW
=yes
7294 elif test "$wxUSE_CONTROLS" = "no"; then
7295 DEFAULT_wxUSE_ACCEL
=no
7296 DEFAULT_wxUSE_BMPBUTTON
=no
7297 DEFAULT_wxUSE_BUTTON
=no
7298 DEFAULT_wxUSE_CALCTRL
=no
7299 DEFAULT_wxUSE_CARET
=no
7300 DEFAULT_wxUSE_COMBOBOX
=no
7301 DEFAULT_wxUSE_CHECKBOX
=no
7302 DEFAULT_wxUSE_CHECKLISTBOX
=no
7303 DEFAULT_wxUSE_CHOICE
=no
7304 DEFAULT_wxUSE_CHOICEBOOK
=no
7305 DEFAULT_wxUSE_DATEPICKCTRL
=no
7306 DEFAULT_wxUSE_GAUGE
=no
7307 DEFAULT_wxUSE_GRID
=no
7308 DEFAULT_wxUSE_IMAGLIST
=no
7309 DEFAULT_wxUSE_LISTBOOK
=no
7310 DEFAULT_wxUSE_LISTBOX
=no
7311 DEFAULT_wxUSE_LISTCTRL
=no
7312 DEFAULT_wxUSE_NOTEBOOK
=no
7313 DEFAULT_wxUSE_RADIOBOX
=no
7314 DEFAULT_wxUSE_RADIOBTN
=no
7315 DEFAULT_wxUSE_SASH
=no
7316 DEFAULT_wxUSE_SCROLLBAR
=no
7317 DEFAULT_wxUSE_SLIDER
=no
7318 DEFAULT_wxUSE_SPINBTN
=no
7319 DEFAULT_wxUSE_SPINCTRL
=no
7320 DEFAULT_wxUSE_SPLITTER
=no
7321 DEFAULT_wxUSE_STATBMP
=no
7322 DEFAULT_wxUSE_STATBOX
=no
7323 DEFAULT_wxUSE_STATLINE
=no
7324 DEFAULT_wxUSE_STATUSBAR
=no
7325 DEFAULT_wxUSE_TAB_DIALOG
=no
7326 DEFAULT_wxUSE_TOGGLEBTN
=no
7327 DEFAULT_wxUSE_TOOLBAR
=no
7328 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7329 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7330 DEFAULT_wxUSE_TOOLTIPS
=no
7331 DEFAULT_wxUSE_TREECTRL
=no
7332 DEFAULT_wxUSE_POPUPWIN
=no
7333 DEFAULT_wxUSE_TIPWINDOW
=no
7338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7339 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7341 # Check whether --enable-accel or --disable-accel was given.
7342 if test "${enable_accel+set}" = set; then
7343 enableval
="$enable_accel"
7345 if test "$enableval" = yes; then
7346 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7348 ac_cv_use_accel
='wxUSE_ACCEL=no'
7353 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7354 if test "x$LINE" != x
; then
7355 eval "DEFAULT_$LINE"
7360 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7364 eval "$ac_cv_use_accel"
7365 if test "$no_cache" != 1; then
7366 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7369 if test "$wxUSE_ACCEL" = yes; then
7370 echo "$as_me:$LINENO: result: yes" >&5
7371 echo "${ECHO_T}yes" >&6
7373 echo "$as_me:$LINENO: result: no" >&5
7374 echo "${ECHO_T}no" >&6
7379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7380 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7382 # Check whether --enable-button or --disable-button was given.
7383 if test "${enable_button+set}" = set; then
7384 enableval
="$enable_button"
7386 if test "$enableval" = yes; then
7387 ac_cv_use_button
='wxUSE_BUTTON=yes'
7389 ac_cv_use_button
='wxUSE_BUTTON=no'
7394 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7395 if test "x$LINE" != x
; then
7396 eval "DEFAULT_$LINE"
7401 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7405 eval "$ac_cv_use_button"
7406 if test "$no_cache" != 1; then
7407 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7410 if test "$wxUSE_BUTTON" = yes; then
7411 echo "$as_me:$LINENO: result: yes" >&5
7412 echo "${ECHO_T}yes" >&6
7414 echo "$as_me:$LINENO: result: no" >&5
7415 echo "${ECHO_T}no" >&6
7420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7421 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7423 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7424 if test "${enable_bmpbutton+set}" = set; then
7425 enableval
="$enable_bmpbutton"
7427 if test "$enableval" = yes; then
7428 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7430 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7435 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7436 if test "x$LINE" != x
; then
7437 eval "DEFAULT_$LINE"
7442 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7446 eval "$ac_cv_use_bmpbutton"
7447 if test "$no_cache" != 1; then
7448 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7451 if test "$wxUSE_BMPBUTTON" = yes; then
7452 echo "$as_me:$LINENO: result: yes" >&5
7453 echo "${ECHO_T}yes" >&6
7455 echo "$as_me:$LINENO: result: no" >&5
7456 echo "${ECHO_T}no" >&6
7461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7462 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7464 # Check whether --enable-calendar or --disable-calendar was given.
7465 if test "${enable_calendar+set}" = set; then
7466 enableval
="$enable_calendar"
7468 if test "$enableval" = yes; then
7469 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7471 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7476 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7477 if test "x$LINE" != x
; then
7478 eval "DEFAULT_$LINE"
7483 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7487 eval "$ac_cv_use_calendar"
7488 if test "$no_cache" != 1; then
7489 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7492 if test "$wxUSE_CALCTRL" = yes; then
7493 echo "$as_me:$LINENO: result: yes" >&5
7494 echo "${ECHO_T}yes" >&6
7496 echo "$as_me:$LINENO: result: no" >&5
7497 echo "${ECHO_T}no" >&6
7502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7503 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7505 # Check whether --enable-caret or --disable-caret was given.
7506 if test "${enable_caret+set}" = set; then
7507 enableval
="$enable_caret"
7509 if test "$enableval" = yes; then
7510 ac_cv_use_caret
='wxUSE_CARET=yes'
7512 ac_cv_use_caret
='wxUSE_CARET=no'
7517 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7518 if test "x$LINE" != x
; then
7519 eval "DEFAULT_$LINE"
7524 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7528 eval "$ac_cv_use_caret"
7529 if test "$no_cache" != 1; then
7530 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7533 if test "$wxUSE_CARET" = yes; then
7534 echo "$as_me:$LINENO: result: yes" >&5
7535 echo "${ECHO_T}yes" >&6
7537 echo "$as_me:$LINENO: result: no" >&5
7538 echo "${ECHO_T}no" >&6
7543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7544 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7546 # Check whether --enable-checkbox or --disable-checkbox was given.
7547 if test "${enable_checkbox+set}" = set; then
7548 enableval
="$enable_checkbox"
7550 if test "$enableval" = yes; then
7551 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7553 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7558 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7559 if test "x$LINE" != x
; then
7560 eval "DEFAULT_$LINE"
7565 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7569 eval "$ac_cv_use_checkbox"
7570 if test "$no_cache" != 1; then
7571 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7574 if test "$wxUSE_CHECKBOX" = yes; then
7575 echo "$as_me:$LINENO: result: yes" >&5
7576 echo "${ECHO_T}yes" >&6
7578 echo "$as_me:$LINENO: result: no" >&5
7579 echo "${ECHO_T}no" >&6
7584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7585 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7587 # Check whether --enable-checklst or --disable-checklst was given.
7588 if test "${enable_checklst+set}" = set; then
7589 enableval
="$enable_checklst"
7591 if test "$enableval" = yes; then
7592 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7594 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7599 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7600 if test "x$LINE" != x
; then
7601 eval "DEFAULT_$LINE"
7606 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7610 eval "$ac_cv_use_checklst"
7611 if test "$no_cache" != 1; then
7612 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7615 if test "$wxUSE_CHECKLST" = yes; then
7616 echo "$as_me:$LINENO: result: yes" >&5
7617 echo "${ECHO_T}yes" >&6
7619 echo "$as_me:$LINENO: result: no" >&5
7620 echo "${ECHO_T}no" >&6
7625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7626 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7628 # Check whether --enable-choice or --disable-choice was given.
7629 if test "${enable_choice+set}" = set; then
7630 enableval
="$enable_choice"
7632 if test "$enableval" = yes; then
7633 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7635 ac_cv_use_choice
='wxUSE_CHOICE=no'
7640 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7641 if test "x$LINE" != x
; then
7642 eval "DEFAULT_$LINE"
7647 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7651 eval "$ac_cv_use_choice"
7652 if test "$no_cache" != 1; then
7653 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7656 if test "$wxUSE_CHOICE" = yes; then
7657 echo "$as_me:$LINENO: result: yes" >&5
7658 echo "${ECHO_T}yes" >&6
7660 echo "$as_me:$LINENO: result: no" >&5
7661 echo "${ECHO_T}no" >&6
7666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7667 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7669 # Check whether --enable-choicebook or --disable-choicebook was given.
7670 if test "${enable_choicebook+set}" = set; then
7671 enableval
="$enable_choicebook"
7673 if test "$enableval" = yes; then
7674 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7676 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7681 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7682 if test "x$LINE" != x
; then
7683 eval "DEFAULT_$LINE"
7688 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7692 eval "$ac_cv_use_choicebook"
7693 if test "$no_cache" != 1; then
7694 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7697 if test "$wxUSE_CHOICEBOOK" = yes; then
7698 echo "$as_me:$LINENO: result: yes" >&5
7699 echo "${ECHO_T}yes" >&6
7701 echo "$as_me:$LINENO: result: no" >&5
7702 echo "${ECHO_T}no" >&6
7707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7708 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7710 # Check whether --enable-combobox or --disable-combobox was given.
7711 if test "${enable_combobox+set}" = set; then
7712 enableval
="$enable_combobox"
7714 if test "$enableval" = yes; then
7715 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7717 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7722 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7723 if test "x$LINE" != x
; then
7724 eval "DEFAULT_$LINE"
7729 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7733 eval "$ac_cv_use_combobox"
7734 if test "$no_cache" != 1; then
7735 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7738 if test "$wxUSE_COMBOBOX" = yes; then
7739 echo "$as_me:$LINENO: result: yes" >&5
7740 echo "${ECHO_T}yes" >&6
7742 echo "$as_me:$LINENO: result: no" >&5
7743 echo "${ECHO_T}no" >&6
7748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7749 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7751 # Check whether --enable-datepick or --disable-datepick was given.
7752 if test "${enable_datepick+set}" = set; then
7753 enableval
="$enable_datepick"
7755 if test "$enableval" = yes; then
7756 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
7758 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
7763 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7764 if test "x$LINE" != x
; then
7765 eval "DEFAULT_$LINE"
7770 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7774 eval "$ac_cv_use_datepick"
7775 if test "$no_cache" != 1; then
7776 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7779 if test "$wxUSE_DATEPICKCTRL" = yes; then
7780 echo "$as_me:$LINENO: result: yes" >&5
7781 echo "${ECHO_T}yes" >&6
7783 echo "$as_me:$LINENO: result: no" >&5
7784 echo "${ECHO_T}no" >&6
7789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7790 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7792 # Check whether --enable-display or --disable-display was given.
7793 if test "${enable_display+set}" = set; then
7794 enableval
="$enable_display"
7796 if test "$enableval" = yes; then
7797 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7799 ac_cv_use_display
='wxUSE_DISPLAY=no'
7804 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7805 if test "x$LINE" != x
; then
7806 eval "DEFAULT_$LINE"
7811 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7815 eval "$ac_cv_use_display"
7816 if test "$no_cache" != 1; then
7817 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7820 if test "$wxUSE_DISPLAY" = yes; then
7821 echo "$as_me:$LINENO: result: yes" >&5
7822 echo "${ECHO_T}yes" >&6
7824 echo "$as_me:$LINENO: result: no" >&5
7825 echo "${ECHO_T}no" >&6
7830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7831 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7833 # Check whether --enable-gauge or --disable-gauge was given.
7834 if test "${enable_gauge+set}" = set; then
7835 enableval
="$enable_gauge"
7837 if test "$enableval" = yes; then
7838 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7840 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7845 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7846 if test "x$LINE" != x
; then
7847 eval "DEFAULT_$LINE"
7852 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7856 eval "$ac_cv_use_gauge"
7857 if test "$no_cache" != 1; then
7858 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7861 if test "$wxUSE_GAUGE" = yes; then
7862 echo "$as_me:$LINENO: result: yes" >&5
7863 echo "${ECHO_T}yes" >&6
7865 echo "$as_me:$LINENO: result: no" >&5
7866 echo "${ECHO_T}no" >&6
7871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7872 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7874 # Check whether --enable-grid or --disable-grid was given.
7875 if test "${enable_grid+set}" = set; then
7876 enableval
="$enable_grid"
7878 if test "$enableval" = yes; then
7879 ac_cv_use_grid
='wxUSE_GRID=yes'
7881 ac_cv_use_grid
='wxUSE_GRID=no'
7886 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7887 if test "x$LINE" != x
; then
7888 eval "DEFAULT_$LINE"
7893 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7897 eval "$ac_cv_use_grid"
7898 if test "$no_cache" != 1; then
7899 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7902 if test "$wxUSE_GRID" = yes; then
7903 echo "$as_me:$LINENO: result: yes" >&5
7904 echo "${ECHO_T}yes" >&6
7906 echo "$as_me:$LINENO: result: no" >&5
7907 echo "${ECHO_T}no" >&6
7912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7913 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7915 # Check whether --enable-imaglist or --disable-imaglist was given.
7916 if test "${enable_imaglist+set}" = set; then
7917 enableval
="$enable_imaglist"
7919 if test "$enableval" = yes; then
7920 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7922 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7927 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7928 if test "x$LINE" != x
; then
7929 eval "DEFAULT_$LINE"
7934 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7938 eval "$ac_cv_use_imaglist"
7939 if test "$no_cache" != 1; then
7940 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7943 if test "$wxUSE_IMAGLIST" = yes; then
7944 echo "$as_me:$LINENO: result: yes" >&5
7945 echo "${ECHO_T}yes" >&6
7947 echo "$as_me:$LINENO: result: no" >&5
7948 echo "${ECHO_T}no" >&6
7953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7954 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7956 # Check whether --enable-listbook or --disable-listbook was given.
7957 if test "${enable_listbook+set}" = set; then
7958 enableval
="$enable_listbook"
7960 if test "$enableval" = yes; then
7961 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7963 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7968 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7969 if test "x$LINE" != x
; then
7970 eval "DEFAULT_$LINE"
7975 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7979 eval "$ac_cv_use_listbook"
7980 if test "$no_cache" != 1; then
7981 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7984 if test "$wxUSE_LISTBOOK" = yes; then
7985 echo "$as_me:$LINENO: result: yes" >&5
7986 echo "${ECHO_T}yes" >&6
7988 echo "$as_me:$LINENO: result: no" >&5
7989 echo "${ECHO_T}no" >&6
7994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7995 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7997 # Check whether --enable-listbox or --disable-listbox was given.
7998 if test "${enable_listbox+set}" = set; then
7999 enableval
="$enable_listbox"
8001 if test "$enableval" = yes; then
8002 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8004 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8009 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8010 if test "x$LINE" != x
; then
8011 eval "DEFAULT_$LINE"
8016 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8020 eval "$ac_cv_use_listbox"
8021 if test "$no_cache" != 1; then
8022 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8025 if test "$wxUSE_LISTBOX" = yes; then
8026 echo "$as_me:$LINENO: result: yes" >&5
8027 echo "${ECHO_T}yes" >&6
8029 echo "$as_me:$LINENO: result: no" >&5
8030 echo "${ECHO_T}no" >&6
8035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8036 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8038 # Check whether --enable-listctrl or --disable-listctrl was given.
8039 if test "${enable_listctrl+set}" = set; then
8040 enableval
="$enable_listctrl"
8042 if test "$enableval" = yes; then
8043 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8045 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8050 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8051 if test "x$LINE" != x
; then
8052 eval "DEFAULT_$LINE"
8057 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8061 eval "$ac_cv_use_listctrl"
8062 if test "$no_cache" != 1; then
8063 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8066 if test "$wxUSE_LISTCTRL" = yes; then
8067 echo "$as_me:$LINENO: result: yes" >&5
8068 echo "${ECHO_T}yes" >&6
8070 echo "$as_me:$LINENO: result: no" >&5
8071 echo "${ECHO_T}no" >&6
8076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8077 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8079 # Check whether --enable-notebook or --disable-notebook was given.
8080 if test "${enable_notebook+set}" = set; then
8081 enableval
="$enable_notebook"
8083 if test "$enableval" = yes; then
8084 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8086 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8091 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8092 if test "x$LINE" != x
; then
8093 eval "DEFAULT_$LINE"
8098 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8102 eval "$ac_cv_use_notebook"
8103 if test "$no_cache" != 1; then
8104 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8107 if test "$wxUSE_NOTEBOOK" = yes; then
8108 echo "$as_me:$LINENO: result: yes" >&5
8109 echo "${ECHO_T}yes" >&6
8111 echo "$as_me:$LINENO: result: no" >&5
8112 echo "${ECHO_T}no" >&6
8117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8118 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8120 # Check whether --enable-radiobox or --disable-radiobox was given.
8121 if test "${enable_radiobox+set}" = set; then
8122 enableval
="$enable_radiobox"
8124 if test "$enableval" = yes; then
8125 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8127 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8132 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8133 if test "x$LINE" != x
; then
8134 eval "DEFAULT_$LINE"
8139 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8143 eval "$ac_cv_use_radiobox"
8144 if test "$no_cache" != 1; then
8145 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8148 if test "$wxUSE_RADIOBOX" = yes; then
8149 echo "$as_me:$LINENO: result: yes" >&5
8150 echo "${ECHO_T}yes" >&6
8152 echo "$as_me:$LINENO: result: no" >&5
8153 echo "${ECHO_T}no" >&6
8158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8159 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8161 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8162 if test "${enable_radiobtn+set}" = set; then
8163 enableval
="$enable_radiobtn"
8165 if test "$enableval" = yes; then
8166 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8168 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8173 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8174 if test "x$LINE" != x
; then
8175 eval "DEFAULT_$LINE"
8180 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8184 eval "$ac_cv_use_radiobtn"
8185 if test "$no_cache" != 1; then
8186 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8189 if test "$wxUSE_RADIOBTN" = yes; then
8190 echo "$as_me:$LINENO: result: yes" >&5
8191 echo "${ECHO_T}yes" >&6
8193 echo "$as_me:$LINENO: result: no" >&5
8194 echo "${ECHO_T}no" >&6
8199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8200 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8202 # Check whether --enable-sash or --disable-sash was given.
8203 if test "${enable_sash+set}" = set; then
8204 enableval
="$enable_sash"
8206 if test "$enableval" = yes; then
8207 ac_cv_use_sash
='wxUSE_SASH=yes'
8209 ac_cv_use_sash
='wxUSE_SASH=no'
8214 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8215 if test "x$LINE" != x
; then
8216 eval "DEFAULT_$LINE"
8221 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8225 eval "$ac_cv_use_sash"
8226 if test "$no_cache" != 1; then
8227 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8230 if test "$wxUSE_SASH" = yes; then
8231 echo "$as_me:$LINENO: result: yes" >&5
8232 echo "${ECHO_T}yes" >&6
8234 echo "$as_me:$LINENO: result: no" >&5
8235 echo "${ECHO_T}no" >&6
8240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8241 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8243 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8244 if test "${enable_scrollbar+set}" = set; then
8245 enableval
="$enable_scrollbar"
8247 if test "$enableval" = yes; then
8248 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8250 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8255 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8256 if test "x$LINE" != x
; then
8257 eval "DEFAULT_$LINE"
8262 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8266 eval "$ac_cv_use_scrollbar"
8267 if test "$no_cache" != 1; then
8268 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8271 if test "$wxUSE_SCROLLBAR" = yes; then
8272 echo "$as_me:$LINENO: result: yes" >&5
8273 echo "${ECHO_T}yes" >&6
8275 echo "$as_me:$LINENO: result: no" >&5
8276 echo "${ECHO_T}no" >&6
8281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8282 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8284 # Check whether --enable-slider or --disable-slider was given.
8285 if test "${enable_slider+set}" = set; then
8286 enableval
="$enable_slider"
8288 if test "$enableval" = yes; then
8289 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8291 ac_cv_use_slider
='wxUSE_SLIDER=no'
8296 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8297 if test "x$LINE" != x
; then
8298 eval "DEFAULT_$LINE"
8303 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8307 eval "$ac_cv_use_slider"
8308 if test "$no_cache" != 1; then
8309 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8312 if test "$wxUSE_SLIDER" = yes; then
8313 echo "$as_me:$LINENO: result: yes" >&5
8314 echo "${ECHO_T}yes" >&6
8316 echo "$as_me:$LINENO: result: no" >&5
8317 echo "${ECHO_T}no" >&6
8322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8323 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8325 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8326 if test "${enable_spinbtn+set}" = set; then
8327 enableval
="$enable_spinbtn"
8329 if test "$enableval" = yes; then
8330 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8332 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8337 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8338 if test "x$LINE" != x
; then
8339 eval "DEFAULT_$LINE"
8344 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8348 eval "$ac_cv_use_spinbtn"
8349 if test "$no_cache" != 1; then
8350 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8353 if test "$wxUSE_SPINBTN" = yes; then
8354 echo "$as_me:$LINENO: result: yes" >&5
8355 echo "${ECHO_T}yes" >&6
8357 echo "$as_me:$LINENO: result: no" >&5
8358 echo "${ECHO_T}no" >&6
8363 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8364 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8366 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8367 if test "${enable_spinctrl+set}" = set; then
8368 enableval
="$enable_spinctrl"
8370 if test "$enableval" = yes; then
8371 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8373 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8378 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8379 if test "x$LINE" != x
; then
8380 eval "DEFAULT_$LINE"
8385 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8389 eval "$ac_cv_use_spinctrl"
8390 if test "$no_cache" != 1; then
8391 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8394 if test "$wxUSE_SPINCTRL" = yes; then
8395 echo "$as_me:$LINENO: result: yes" >&5
8396 echo "${ECHO_T}yes" >&6
8398 echo "$as_me:$LINENO: result: no" >&5
8399 echo "${ECHO_T}no" >&6
8404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8405 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8407 # Check whether --enable-splitter or --disable-splitter was given.
8408 if test "${enable_splitter+set}" = set; then
8409 enableval
="$enable_splitter"
8411 if test "$enableval" = yes; then
8412 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8414 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8419 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8420 if test "x$LINE" != x
; then
8421 eval "DEFAULT_$LINE"
8426 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8430 eval "$ac_cv_use_splitter"
8431 if test "$no_cache" != 1; then
8432 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8435 if test "$wxUSE_SPLITTER" = yes; then
8436 echo "$as_me:$LINENO: result: yes" >&5
8437 echo "${ECHO_T}yes" >&6
8439 echo "$as_me:$LINENO: result: no" >&5
8440 echo "${ECHO_T}no" >&6
8445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8446 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8448 # Check whether --enable-statbmp or --disable-statbmp was given.
8449 if test "${enable_statbmp+set}" = set; then
8450 enableval
="$enable_statbmp"
8452 if test "$enableval" = yes; then
8453 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8455 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8460 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8461 if test "x$LINE" != x
; then
8462 eval "DEFAULT_$LINE"
8467 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8471 eval "$ac_cv_use_statbmp"
8472 if test "$no_cache" != 1; then
8473 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8476 if test "$wxUSE_STATBMP" = yes; then
8477 echo "$as_me:$LINENO: result: yes" >&5
8478 echo "${ECHO_T}yes" >&6
8480 echo "$as_me:$LINENO: result: no" >&5
8481 echo "${ECHO_T}no" >&6
8486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8487 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8489 # Check whether --enable-statbox or --disable-statbox was given.
8490 if test "${enable_statbox+set}" = set; then
8491 enableval
="$enable_statbox"
8493 if test "$enableval" = yes; then
8494 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8496 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8501 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8502 if test "x$LINE" != x
; then
8503 eval "DEFAULT_$LINE"
8508 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8512 eval "$ac_cv_use_statbox"
8513 if test "$no_cache" != 1; then
8514 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8517 if test "$wxUSE_STATBOX" = yes; then
8518 echo "$as_me:$LINENO: result: yes" >&5
8519 echo "${ECHO_T}yes" >&6
8521 echo "$as_me:$LINENO: result: no" >&5
8522 echo "${ECHO_T}no" >&6
8527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8528 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8530 # Check whether --enable-statline or --disable-statline was given.
8531 if test "${enable_statline+set}" = set; then
8532 enableval
="$enable_statline"
8534 if test "$enableval" = yes; then
8535 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8537 ac_cv_use_statline
='wxUSE_STATLINE=no'
8542 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8543 if test "x$LINE" != x
; then
8544 eval "DEFAULT_$LINE"
8549 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8553 eval "$ac_cv_use_statline"
8554 if test "$no_cache" != 1; then
8555 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8558 if test "$wxUSE_STATLINE" = yes; then
8559 echo "$as_me:$LINENO: result: yes" >&5
8560 echo "${ECHO_T}yes" >&6
8562 echo "$as_me:$LINENO: result: no" >&5
8563 echo "${ECHO_T}no" >&6
8568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8569 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8571 # Check whether --enable-stattext or --disable-stattext was given.
8572 if test "${enable_stattext+set}" = set; then
8573 enableval
="$enable_stattext"
8575 if test "$enableval" = yes; then
8576 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8578 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8583 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8584 if test "x$LINE" != x
; then
8585 eval "DEFAULT_$LINE"
8590 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8594 eval "$ac_cv_use_stattext"
8595 if test "$no_cache" != 1; then
8596 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8599 if test "$wxUSE_STATTEXT" = yes; then
8600 echo "$as_me:$LINENO: result: yes" >&5
8601 echo "${ECHO_T}yes" >&6
8603 echo "$as_me:$LINENO: result: no" >&5
8604 echo "${ECHO_T}no" >&6
8609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8610 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8612 # Check whether --enable-statusbar or --disable-statusbar was given.
8613 if test "${enable_statusbar+set}" = set; then
8614 enableval
="$enable_statusbar"
8616 if test "$enableval" = yes; then
8617 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8619 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8624 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8625 if test "x$LINE" != x
; then
8626 eval "DEFAULT_$LINE"
8631 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8635 eval "$ac_cv_use_statusbar"
8636 if test "$no_cache" != 1; then
8637 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8640 if test "$wxUSE_STATUSBAR" = yes; then
8641 echo "$as_me:$LINENO: result: yes" >&5
8642 echo "${ECHO_T}yes" >&6
8644 echo "$as_me:$LINENO: result: no" >&5
8645 echo "${ECHO_T}no" >&6
8650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8651 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8653 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8654 if test "${enable_tabdialog+set}" = set; then
8655 enableval
="$enable_tabdialog"
8657 if test "$enableval" = yes; then
8658 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8660 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8665 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8666 if test "x$LINE" != x
; then
8667 eval "DEFAULT_$LINE"
8672 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8676 eval "$ac_cv_use_tabdialog"
8677 if test "$no_cache" != 1; then
8678 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8681 if test "$wxUSE_TABDIALOG" = yes; then
8682 echo "$as_me:$LINENO: result: yes" >&5
8683 echo "${ECHO_T}yes" >&6
8685 echo "$as_me:$LINENO: result: no" >&5
8686 echo "${ECHO_T}no" >&6
8691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8692 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8694 # Check whether --enable-textctrl or --disable-textctrl was given.
8695 if test "${enable_textctrl+set}" = set; then
8696 enableval
="$enable_textctrl"
8698 if test "$enableval" = yes; then
8699 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8701 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8706 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8707 if test "x$LINE" != x
; then
8708 eval "DEFAULT_$LINE"
8713 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8717 eval "$ac_cv_use_textctrl"
8718 if test "$no_cache" != 1; then
8719 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8722 if test "$wxUSE_TEXTCTRL" = yes; then
8723 echo "$as_me:$LINENO: result: yes" >&5
8724 echo "${ECHO_T}yes" >&6
8726 echo "$as_me:$LINENO: result: no" >&5
8727 echo "${ECHO_T}no" >&6
8732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8733 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8735 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8736 if test "${enable_togglebtn+set}" = set; then
8737 enableval
="$enable_togglebtn"
8739 if test "$enableval" = yes; then
8740 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8742 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8747 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8748 if test "x$LINE" != x
; then
8749 eval "DEFAULT_$LINE"
8754 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8758 eval "$ac_cv_use_togglebtn"
8759 if test "$no_cache" != 1; then
8760 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8763 if test "$wxUSE_TOGGLEBTN" = yes; then
8764 echo "$as_me:$LINENO: result: yes" >&5
8765 echo "${ECHO_T}yes" >&6
8767 echo "$as_me:$LINENO: result: no" >&5
8768 echo "${ECHO_T}no" >&6
8773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8774 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8776 # Check whether --enable-toolbar or --disable-toolbar was given.
8777 if test "${enable_toolbar+set}" = set; then
8778 enableval
="$enable_toolbar"
8780 if test "$enableval" = yes; then
8781 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8783 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8788 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8789 if test "x$LINE" != x
; then
8790 eval "DEFAULT_$LINE"
8795 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8799 eval "$ac_cv_use_toolbar"
8800 if test "$no_cache" != 1; then
8801 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8804 if test "$wxUSE_TOOLBAR" = yes; then
8805 echo "$as_me:$LINENO: result: yes" >&5
8806 echo "${ECHO_T}yes" >&6
8808 echo "$as_me:$LINENO: result: no" >&5
8809 echo "${ECHO_T}no" >&6
8814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8815 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8817 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8818 if test "${enable_tbarnative+set}" = set; then
8819 enableval
="$enable_tbarnative"
8821 if test "$enableval" = yes; then
8822 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8824 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8829 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8830 if test "x$LINE" != x
; then
8831 eval "DEFAULT_$LINE"
8836 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8840 eval "$ac_cv_use_tbarnative"
8841 if test "$no_cache" != 1; then
8842 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8845 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8846 echo "$as_me:$LINENO: result: yes" >&5
8847 echo "${ECHO_T}yes" >&6
8849 echo "$as_me:$LINENO: result: no" >&5
8850 echo "${ECHO_T}no" >&6
8855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8856 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8858 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8859 if test "${enable_tbarsmpl+set}" = set; then
8860 enableval
="$enable_tbarsmpl"
8862 if test "$enableval" = yes; then
8863 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8865 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8870 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8871 if test "x$LINE" != x
; then
8872 eval "DEFAULT_$LINE"
8877 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8881 eval "$ac_cv_use_tbarsmpl"
8882 if test "$no_cache" != 1; then
8883 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8886 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8887 echo "$as_me:$LINENO: result: yes" >&5
8888 echo "${ECHO_T}yes" >&6
8890 echo "$as_me:$LINENO: result: no" >&5
8891 echo "${ECHO_T}no" >&6
8896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8897 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8899 # Check whether --enable-treectrl or --disable-treectrl was given.
8900 if test "${enable_treectrl+set}" = set; then
8901 enableval
="$enable_treectrl"
8903 if test "$enableval" = yes; then
8904 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8906 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8911 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8912 if test "x$LINE" != x
; then
8913 eval "DEFAULT_$LINE"
8918 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8922 eval "$ac_cv_use_treectrl"
8923 if test "$no_cache" != 1; then
8924 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8927 if test "$wxUSE_TREECTRL" = yes; then
8928 echo "$as_me:$LINENO: result: yes" >&5
8929 echo "${ECHO_T}yes" >&6
8931 echo "$as_me:$LINENO: result: no" >&5
8932 echo "${ECHO_T}no" >&6
8937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8938 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8940 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8941 if test "${enable_tipwindow+set}" = set; then
8942 enableval
="$enable_tipwindow"
8944 if test "$enableval" = yes; then
8945 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8947 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8952 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8953 if test "x$LINE" != x
; then
8954 eval "DEFAULT_$LINE"
8959 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8963 eval "$ac_cv_use_tipwindow"
8964 if test "$no_cache" != 1; then
8965 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8968 if test "$wxUSE_TIPWINDOW" = yes; then
8969 echo "$as_me:$LINENO: result: yes" >&5
8970 echo "${ECHO_T}yes" >&6
8972 echo "$as_me:$LINENO: result: no" >&5
8973 echo "${ECHO_T}no" >&6
8978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8979 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8981 # Check whether --enable-popupwin or --disable-popupwin was given.
8982 if test "${enable_popupwin+set}" = set; then
8983 enableval
="$enable_popupwin"
8985 if test "$enableval" = yes; then
8986 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8988 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8993 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8994 if test "x$LINE" != x
; then
8995 eval "DEFAULT_$LINE"
9000 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9004 eval "$ac_cv_use_popupwin"
9005 if test "$no_cache" != 1; then
9006 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9009 if test "$wxUSE_POPUPWIN" = yes; then
9010 echo "$as_me:$LINENO: result: yes" >&5
9011 echo "${ECHO_T}yes" >&6
9013 echo "$as_me:$LINENO: result: no" >&5
9014 echo "${ECHO_T}no" >&6
9021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9022 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9024 # Check whether --enable-commondlg or --disable-commondlg was given.
9025 if test "${enable_commondlg+set}" = set; then
9026 enableval
="$enable_commondlg"
9028 if test "$enableval" = yes; then
9029 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9031 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9036 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9037 if test "x$LINE" != x
; then
9038 eval "DEFAULT_$LINE"
9043 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9047 eval "$ac_cv_use_commondlg"
9048 if test "$no_cache" != 1; then
9049 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9052 if test "$wxUSE_COMMONDLGS" = yes; then
9053 echo "$as_me:$LINENO: result: yes" >&5
9054 echo "${ECHO_T}yes" >&6
9056 echo "$as_me:$LINENO: result: no" >&5
9057 echo "${ECHO_T}no" >&6
9062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9063 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9065 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9066 if test "${enable_choicedlg+set}" = set; then
9067 enableval
="$enable_choicedlg"
9069 if test "$enableval" = yes; then
9070 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9072 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9077 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9078 if test "x$LINE" != x
; then
9079 eval "DEFAULT_$LINE"
9084 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9088 eval "$ac_cv_use_choicedlg"
9089 if test "$no_cache" != 1; then
9090 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9093 if test "$wxUSE_CHOICEDLG" = yes; then
9094 echo "$as_me:$LINENO: result: yes" >&5
9095 echo "${ECHO_T}yes" >&6
9097 echo "$as_me:$LINENO: result: no" >&5
9098 echo "${ECHO_T}no" >&6
9103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9104 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9106 # Check whether --enable-coldlg or --disable-coldlg was given.
9107 if test "${enable_coldlg+set}" = set; then
9108 enableval
="$enable_coldlg"
9110 if test "$enableval" = yes; then
9111 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9113 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9118 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9119 if test "x$LINE" != x
; then
9120 eval "DEFAULT_$LINE"
9125 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9129 eval "$ac_cv_use_coldlg"
9130 if test "$no_cache" != 1; then
9131 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9134 if test "$wxUSE_COLOURDLG" = yes; then
9135 echo "$as_me:$LINENO: result: yes" >&5
9136 echo "${ECHO_T}yes" >&6
9138 echo "$as_me:$LINENO: result: no" >&5
9139 echo "${ECHO_T}no" >&6
9144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9145 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9147 # Check whether --enable-filedlg or --disable-filedlg was given.
9148 if test "${enable_filedlg+set}" = set; then
9149 enableval
="$enable_filedlg"
9151 if test "$enableval" = yes; then
9152 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9154 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9159 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9160 if test "x$LINE" != x
; then
9161 eval "DEFAULT_$LINE"
9166 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9170 eval "$ac_cv_use_filedlg"
9171 if test "$no_cache" != 1; then
9172 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9175 if test "$wxUSE_FILEDLG" = yes; then
9176 echo "$as_me:$LINENO: result: yes" >&5
9177 echo "${ECHO_T}yes" >&6
9179 echo "$as_me:$LINENO: result: no" >&5
9180 echo "${ECHO_T}no" >&6
9185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9186 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9188 # Check whether --enable-finddlg or --disable-finddlg was given.
9189 if test "${enable_finddlg+set}" = set; then
9190 enableval
="$enable_finddlg"
9192 if test "$enableval" = yes; then
9193 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9195 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9200 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9201 if test "x$LINE" != x
; then
9202 eval "DEFAULT_$LINE"
9207 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9211 eval "$ac_cv_use_finddlg"
9212 if test "$no_cache" != 1; then
9213 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9216 if test "$wxUSE_FINDREPLDLG" = yes; then
9217 echo "$as_me:$LINENO: result: yes" >&5
9218 echo "${ECHO_T}yes" >&6
9220 echo "$as_me:$LINENO: result: no" >&5
9221 echo "${ECHO_T}no" >&6
9226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9227 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9229 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9230 if test "${enable_fontdlg+set}" = set; then
9231 enableval
="$enable_fontdlg"
9233 if test "$enableval" = yes; then
9234 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9236 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9241 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9242 if test "x$LINE" != x
; then
9243 eval "DEFAULT_$LINE"
9248 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9252 eval "$ac_cv_use_fontdlg"
9253 if test "$no_cache" != 1; then
9254 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9257 if test "$wxUSE_FONTDLG" = yes; then
9258 echo "$as_me:$LINENO: result: yes" >&5
9259 echo "${ECHO_T}yes" >&6
9261 echo "$as_me:$LINENO: result: no" >&5
9262 echo "${ECHO_T}no" >&6
9267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9268 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9270 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9271 if test "${enable_dirdlg+set}" = set; then
9272 enableval
="$enable_dirdlg"
9274 if test "$enableval" = yes; then
9275 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9277 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9282 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9283 if test "x$LINE" != x
; then
9284 eval "DEFAULT_$LINE"
9289 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9293 eval "$ac_cv_use_dirdlg"
9294 if test "$no_cache" != 1; then
9295 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9298 if test "$wxUSE_DIRDLG" = yes; then
9299 echo "$as_me:$LINENO: result: yes" >&5
9300 echo "${ECHO_T}yes" >&6
9302 echo "$as_me:$LINENO: result: no" >&5
9303 echo "${ECHO_T}no" >&6
9308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9309 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9311 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9312 if test "${enable_msgdlg+set}" = set; then
9313 enableval
="$enable_msgdlg"
9315 if test "$enableval" = yes; then
9316 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9318 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9323 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9324 if test "x$LINE" != x
; then
9325 eval "DEFAULT_$LINE"
9330 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9334 eval "$ac_cv_use_msgdlg"
9335 if test "$no_cache" != 1; then
9336 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9339 if test "$wxUSE_MSGDLG" = yes; then
9340 echo "$as_me:$LINENO: result: yes" >&5
9341 echo "${ECHO_T}yes" >&6
9343 echo "$as_me:$LINENO: result: no" >&5
9344 echo "${ECHO_T}no" >&6
9349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9350 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9352 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9353 if test "${enable_numberdlg+set}" = set; then
9354 enableval
="$enable_numberdlg"
9356 if test "$enableval" = yes; then
9357 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9359 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9364 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9365 if test "x$LINE" != x
; then
9366 eval "DEFAULT_$LINE"
9371 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9375 eval "$ac_cv_use_numberdlg"
9376 if test "$no_cache" != 1; then
9377 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9380 if test "$wxUSE_NUMBERDLG" = yes; then
9381 echo "$as_me:$LINENO: result: yes" >&5
9382 echo "${ECHO_T}yes" >&6
9384 echo "$as_me:$LINENO: result: no" >&5
9385 echo "${ECHO_T}no" >&6
9390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9391 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9393 # Check whether --enable-splash or --disable-splash was given.
9394 if test "${enable_splash+set}" = set; then
9395 enableval
="$enable_splash"
9397 if test "$enableval" = yes; then
9398 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9400 ac_cv_use_splash
='wxUSE_SPLASH=no'
9405 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9406 if test "x$LINE" != x
; then
9407 eval "DEFAULT_$LINE"
9412 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9416 eval "$ac_cv_use_splash"
9417 if test "$no_cache" != 1; then
9418 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9421 if test "$wxUSE_SPLASH" = yes; then
9422 echo "$as_me:$LINENO: result: yes" >&5
9423 echo "${ECHO_T}yes" >&6
9425 echo "$as_me:$LINENO: result: no" >&5
9426 echo "${ECHO_T}no" >&6
9431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9432 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9434 # Check whether --enable-textdlg or --disable-textdlg was given.
9435 if test "${enable_textdlg+set}" = set; then
9436 enableval
="$enable_textdlg"
9438 if test "$enableval" = yes; then
9439 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9441 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9446 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9447 if test "x$LINE" != x
; then
9448 eval "DEFAULT_$LINE"
9453 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9457 eval "$ac_cv_use_textdlg"
9458 if test "$no_cache" != 1; then
9459 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9462 if test "$wxUSE_TEXTDLG" = yes; then
9463 echo "$as_me:$LINENO: result: yes" >&5
9464 echo "${ECHO_T}yes" >&6
9466 echo "$as_me:$LINENO: result: no" >&5
9467 echo "${ECHO_T}no" >&6
9472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9473 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9475 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9476 if test "${enable_tipdlg+set}" = set; then
9477 enableval
="$enable_tipdlg"
9479 if test "$enableval" = yes; then
9480 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9482 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9487 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9488 if test "x$LINE" != x
; then
9489 eval "DEFAULT_$LINE"
9494 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9498 eval "$ac_cv_use_tipdlg"
9499 if test "$no_cache" != 1; then
9500 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9503 if test "$wxUSE_STARTUP_TIPS" = yes; then
9504 echo "$as_me:$LINENO: result: yes" >&5
9505 echo "${ECHO_T}yes" >&6
9507 echo "$as_me:$LINENO: result: no" >&5
9508 echo "${ECHO_T}no" >&6
9513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9514 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9516 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9517 if test "${enable_progressdlg+set}" = set; then
9518 enableval
="$enable_progressdlg"
9520 if test "$enableval" = yes; then
9521 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9523 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9528 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9529 if test "x$LINE" != x
; then
9530 eval "DEFAULT_$LINE"
9535 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9539 eval "$ac_cv_use_progressdlg"
9540 if test "$no_cache" != 1; then
9541 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9544 if test "$wxUSE_PROGRESSDLG" = yes; then
9545 echo "$as_me:$LINENO: result: yes" >&5
9546 echo "${ECHO_T}yes" >&6
9548 echo "$as_me:$LINENO: result: no" >&5
9549 echo "${ECHO_T}no" >&6
9554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9555 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9557 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9558 if test "${enable_wizarddlg+set}" = set; then
9559 enableval
="$enable_wizarddlg"
9561 if test "$enableval" = yes; then
9562 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9564 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9569 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9570 if test "x$LINE" != x
; then
9571 eval "DEFAULT_$LINE"
9576 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9580 eval "$ac_cv_use_wizarddlg"
9581 if test "$no_cache" != 1; then
9582 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9585 if test "$wxUSE_WIZARDDLG" = yes; then
9586 echo "$as_me:$LINENO: result: yes" >&5
9587 echo "${ECHO_T}yes" >&6
9589 echo "$as_me:$LINENO: result: no" >&5
9590 echo "${ECHO_T}no" >&6
9597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9598 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9600 # Check whether --enable-menus or --disable-menus was given.
9601 if test "${enable_menus+set}" = set; then
9602 enableval
="$enable_menus"
9604 if test "$enableval" = yes; then
9605 ac_cv_use_menus
='wxUSE_MENUS=yes'
9607 ac_cv_use_menus
='wxUSE_MENUS=no'
9612 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9613 if test "x$LINE" != x
; then
9614 eval "DEFAULT_$LINE"
9619 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9623 eval "$ac_cv_use_menus"
9624 if test "$no_cache" != 1; then
9625 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9628 if test "$wxUSE_MENUS" = yes; then
9629 echo "$as_me:$LINENO: result: yes" >&5
9630 echo "${ECHO_T}yes" >&6
9632 echo "$as_me:$LINENO: result: no" >&5
9633 echo "${ECHO_T}no" >&6
9638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9639 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9641 # Check whether --enable-miniframe or --disable-miniframe was given.
9642 if test "${enable_miniframe+set}" = set; then
9643 enableval
="$enable_miniframe"
9645 if test "$enableval" = yes; then
9646 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9648 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9653 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9654 if test "x$LINE" != x
; then
9655 eval "DEFAULT_$LINE"
9660 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9664 eval "$ac_cv_use_miniframe"
9665 if test "$no_cache" != 1; then
9666 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9669 if test "$wxUSE_MINIFRAME" = yes; then
9670 echo "$as_me:$LINENO: result: yes" >&5
9671 echo "${ECHO_T}yes" >&6
9673 echo "$as_me:$LINENO: result: no" >&5
9674 echo "${ECHO_T}no" >&6
9679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9680 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9682 # Check whether --enable-tooltips or --disable-tooltips was given.
9683 if test "${enable_tooltips+set}" = set; then
9684 enableval
="$enable_tooltips"
9686 if test "$enableval" = yes; then
9687 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9689 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9694 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9695 if test "x$LINE" != x
; then
9696 eval "DEFAULT_$LINE"
9701 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9705 eval "$ac_cv_use_tooltips"
9706 if test "$no_cache" != 1; then
9707 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9710 if test "$wxUSE_TOOLTIPS" = yes; then
9711 echo "$as_me:$LINENO: result: yes" >&5
9712 echo "${ECHO_T}yes" >&6
9714 echo "$as_me:$LINENO: result: no" >&5
9715 echo "${ECHO_T}no" >&6
9720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9721 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9723 # Check whether --enable-splines or --disable-splines was given.
9724 if test "${enable_splines+set}" = set; then
9725 enableval
="$enable_splines"
9727 if test "$enableval" = yes; then
9728 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9730 ac_cv_use_splines
='wxUSE_SPLINES=no'
9735 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9736 if test "x$LINE" != x
; then
9737 eval "DEFAULT_$LINE"
9742 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9746 eval "$ac_cv_use_splines"
9747 if test "$no_cache" != 1; then
9748 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9751 if test "$wxUSE_SPLINES" = yes; then
9752 echo "$as_me:$LINENO: result: yes" >&5
9753 echo "${ECHO_T}yes" >&6
9755 echo "$as_me:$LINENO: result: no" >&5
9756 echo "${ECHO_T}no" >&6
9761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9762 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9764 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9765 if test "${enable_mousewheel+set}" = set; then
9766 enableval
="$enable_mousewheel"
9768 if test "$enableval" = yes; then
9769 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
9771 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
9776 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9777 if test "x$LINE" != x
; then
9778 eval "DEFAULT_$LINE"
9783 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9787 eval "$ac_cv_use_mousewheel"
9788 if test "$no_cache" != 1; then
9789 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9792 if test "$wxUSE_MOUSEWHEEL" = yes; then
9793 echo "$as_me:$LINENO: result: yes" >&5
9794 echo "${ECHO_T}yes" >&6
9796 echo "$as_me:$LINENO: result: no" >&5
9797 echo "${ECHO_T}no" >&6
9802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9803 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9805 # Check whether --enable-validators or --disable-validators was given.
9806 if test "${enable_validators+set}" = set; then
9807 enableval
="$enable_validators"
9809 if test "$enableval" = yes; then
9810 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9812 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9817 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9818 if test "x$LINE" != x
; then
9819 eval "DEFAULT_$LINE"
9824 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9828 eval "$ac_cv_use_validators"
9829 if test "$no_cache" != 1; then
9830 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9833 if test "$wxUSE_VALIDATORS" = yes; then
9834 echo "$as_me:$LINENO: result: yes" >&5
9835 echo "${ECHO_T}yes" >&6
9837 echo "$as_me:$LINENO: result: no" >&5
9838 echo "${ECHO_T}no" >&6
9843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9844 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9846 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9847 if test "${enable_busyinfo+set}" = set; then
9848 enableval
="$enable_busyinfo"
9850 if test "$enableval" = yes; then
9851 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9853 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9858 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9859 if test "x$LINE" != x
; then
9860 eval "DEFAULT_$LINE"
9865 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9869 eval "$ac_cv_use_busyinfo"
9870 if test "$no_cache" != 1; then
9871 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9874 if test "$wxUSE_BUSYINFO" = yes; then
9875 echo "$as_me:$LINENO: result: yes" >&5
9876 echo "${ECHO_T}yes" >&6
9878 echo "$as_me:$LINENO: result: no" >&5
9879 echo "${ECHO_T}no" >&6
9884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9885 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9887 # Check whether --enable-joystick or --disable-joystick was given.
9888 if test "${enable_joystick+set}" = set; then
9889 enableval
="$enable_joystick"
9891 if test "$enableval" = yes; then
9892 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9894 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9899 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9900 if test "x$LINE" != x
; then
9901 eval "DEFAULT_$LINE"
9906 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9910 eval "$ac_cv_use_joystick"
9911 if test "$no_cache" != 1; then
9912 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9915 if test "$wxUSE_JOYSTICK" = yes; then
9916 echo "$as_me:$LINENO: result: yes" >&5
9917 echo "${ECHO_T}yes" >&6
9919 echo "$as_me:$LINENO: result: no" >&5
9920 echo "${ECHO_T}no" >&6
9925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9926 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9928 # Check whether --enable-metafile or --disable-metafile was given.
9929 if test "${enable_metafile+set}" = set; then
9930 enableval
="$enable_metafile"
9932 if test "$enableval" = yes; then
9933 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9935 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9940 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9941 if test "x$LINE" != x
; then
9942 eval "DEFAULT_$LINE"
9947 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9951 eval "$ac_cv_use_metafile"
9952 if test "$no_cache" != 1; then
9953 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9956 if test "$wxUSE_METAFILE" = yes; then
9957 echo "$as_me:$LINENO: result: yes" >&5
9958 echo "${ECHO_T}yes" >&6
9960 echo "$as_me:$LINENO: result: no" >&5
9961 echo "${ECHO_T}no" >&6
9966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9967 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9969 # Check whether --enable-dragimage or --disable-dragimage was given.
9970 if test "${enable_dragimage+set}" = set; then
9971 enableval
="$enable_dragimage"
9973 if test "$enableval" = yes; then
9974 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9976 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9981 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9982 if test "x$LINE" != x
; then
9983 eval "DEFAULT_$LINE"
9988 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9992 eval "$ac_cv_use_dragimage"
9993 if test "$no_cache" != 1; then
9994 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9997 if test "$wxUSE_DRAGIMAGE" = yes; then
9998 echo "$as_me:$LINENO: result: yes" >&5
9999 echo "${ECHO_T}yes" >&6
10001 echo "$as_me:$LINENO: result: no" >&5
10002 echo "${ECHO_T}no" >&6
10007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10008 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10010 # Check whether --enable-accessibility or --disable-accessibility was given.
10011 if test "${enable_accessibility+set}" = set; then
10012 enableval
="$enable_accessibility"
10014 if test "$enableval" = yes; then
10015 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10017 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10022 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10023 if test "x$LINE" != x
; then
10024 eval "DEFAULT_$LINE"
10029 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10033 eval "$ac_cv_use_accessibility"
10034 if test "$no_cache" != 1; then
10035 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10038 if test "$wxUSE_ACCESSIBILITY" = yes; then
10039 echo "$as_me:$LINENO: result: yes" >&5
10040 echo "${ECHO_T}yes" >&6
10042 echo "$as_me:$LINENO: result: no" >&5
10043 echo "${ECHO_T}no" >&6
10047 if test "$wxUSE_MSW" = "1"; then
10050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10051 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10053 # Check whether --enable-dccache or --disable-dccache was given.
10054 if test "${enable_dccache+set}" = set; then
10055 enableval
="$enable_dccache"
10057 if test "$enableval" = yes; then
10058 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
10060 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
10065 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10066 if test "x$LINE" != x
; then
10067 eval "DEFAULT_$LINE"
10072 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10076 eval "$ac_cv_use_dccache"
10077 if test "$no_cache" != 1; then
10078 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10081 if test "$wxUSE_DC_CACHEING" = yes; then
10082 echo "$as_me:$LINENO: result: yes" >&5
10083 echo "${ECHO_T}yes" >&6
10085 echo "$as_me:$LINENO: result: no" >&5
10086 echo "${ECHO_T}no" >&6
10094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10095 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10097 # Check whether --enable-palette or --disable-palette was given.
10098 if test "${enable_palette+set}" = set; then
10099 enableval
="$enable_palette"
10101 if test "$enableval" = yes; then
10102 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10104 ac_cv_use_palette
='wxUSE_PALETTE=no'
10109 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10110 if test "x$LINE" != x
; then
10111 eval "DEFAULT_$LINE"
10116 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10120 eval "$ac_cv_use_palette"
10121 if test "$no_cache" != 1; then
10122 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10125 if test "$wxUSE_PALETTE" = yes; then
10126 echo "$as_me:$LINENO: result: yes" >&5
10127 echo "${ECHO_T}yes" >&6
10129 echo "$as_me:$LINENO: result: no" >&5
10130 echo "${ECHO_T}no" >&6
10135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10136 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10138 # Check whether --enable-image or --disable-image was given.
10139 if test "${enable_image+set}" = set; then
10140 enableval
="$enable_image"
10142 if test "$enableval" = yes; then
10143 ac_cv_use_image
='wxUSE_IMAGE=yes'
10145 ac_cv_use_image
='wxUSE_IMAGE=no'
10150 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10151 if test "x$LINE" != x
; then
10152 eval "DEFAULT_$LINE"
10157 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10161 eval "$ac_cv_use_image"
10162 if test "$no_cache" != 1; then
10163 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10166 if test "$wxUSE_IMAGE" = yes; then
10167 echo "$as_me:$LINENO: result: yes" >&5
10168 echo "${ECHO_T}yes" >&6
10170 echo "$as_me:$LINENO: result: no" >&5
10171 echo "${ECHO_T}no" >&6
10176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10177 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10179 # Check whether --enable-gif or --disable-gif was given.
10180 if test "${enable_gif+set}" = set; then
10181 enableval
="$enable_gif"
10183 if test "$enableval" = yes; then
10184 ac_cv_use_gif
='wxUSE_GIF=yes'
10186 ac_cv_use_gif
='wxUSE_GIF=no'
10191 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10192 if test "x$LINE" != x
; then
10193 eval "DEFAULT_$LINE"
10198 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10202 eval "$ac_cv_use_gif"
10203 if test "$no_cache" != 1; then
10204 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10207 if test "$wxUSE_GIF" = yes; then
10208 echo "$as_me:$LINENO: result: yes" >&5
10209 echo "${ECHO_T}yes" >&6
10211 echo "$as_me:$LINENO: result: no" >&5
10212 echo "${ECHO_T}no" >&6
10217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10218 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10220 # Check whether --enable-pcx or --disable-pcx was given.
10221 if test "${enable_pcx+set}" = set; then
10222 enableval
="$enable_pcx"
10224 if test "$enableval" = yes; then
10225 ac_cv_use_pcx
='wxUSE_PCX=yes'
10227 ac_cv_use_pcx
='wxUSE_PCX=no'
10232 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10233 if test "x$LINE" != x
; then
10234 eval "DEFAULT_$LINE"
10239 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10243 eval "$ac_cv_use_pcx"
10244 if test "$no_cache" != 1; then
10245 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10248 if test "$wxUSE_PCX" = yes; then
10249 echo "$as_me:$LINENO: result: yes" >&5
10250 echo "${ECHO_T}yes" >&6
10252 echo "$as_me:$LINENO: result: no" >&5
10253 echo "${ECHO_T}no" >&6
10258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10259 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10261 # Check whether --enable-iff or --disable-iff was given.
10262 if test "${enable_iff+set}" = set; then
10263 enableval
="$enable_iff"
10265 if test "$enableval" = yes; then
10266 ac_cv_use_iff
='wxUSE_IFF=yes'
10268 ac_cv_use_iff
='wxUSE_IFF=no'
10273 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10274 if test "x$LINE" != x
; then
10275 eval "DEFAULT_$LINE"
10280 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10284 eval "$ac_cv_use_iff"
10285 if test "$no_cache" != 1; then
10286 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10289 if test "$wxUSE_IFF" = yes; then
10290 echo "$as_me:$LINENO: result: yes" >&5
10291 echo "${ECHO_T}yes" >&6
10293 echo "$as_me:$LINENO: result: no" >&5
10294 echo "${ECHO_T}no" >&6
10299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10300 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10302 # Check whether --enable-pnm or --disable-pnm was given.
10303 if test "${enable_pnm+set}" = set; then
10304 enableval
="$enable_pnm"
10306 if test "$enableval" = yes; then
10307 ac_cv_use_pnm
='wxUSE_PNM=yes'
10309 ac_cv_use_pnm
='wxUSE_PNM=no'
10314 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10315 if test "x$LINE" != x
; then
10316 eval "DEFAULT_$LINE"
10321 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10325 eval "$ac_cv_use_pnm"
10326 if test "$no_cache" != 1; then
10327 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10330 if test "$wxUSE_PNM" = yes; then
10331 echo "$as_me:$LINENO: result: yes" >&5
10332 echo "${ECHO_T}yes" >&6
10334 echo "$as_me:$LINENO: result: no" >&5
10335 echo "${ECHO_T}no" >&6
10340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10341 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10343 # Check whether --enable-xpm or --disable-xpm was given.
10344 if test "${enable_xpm+set}" = set; then
10345 enableval
="$enable_xpm"
10347 if test "$enableval" = yes; then
10348 ac_cv_use_xpm
='wxUSE_XPM=yes'
10350 ac_cv_use_xpm
='wxUSE_XPM=no'
10355 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10356 if test "x$LINE" != x
; then
10357 eval "DEFAULT_$LINE"
10362 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10366 eval "$ac_cv_use_xpm"
10367 if test "$no_cache" != 1; then
10368 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10371 if test "$wxUSE_XPM" = yes; then
10372 echo "$as_me:$LINENO: result: yes" >&5
10373 echo "${ECHO_T}yes" >&6
10375 echo "$as_me:$LINENO: result: no" >&5
10376 echo "${ECHO_T}no" >&6
10381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10382 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10384 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10385 if test "${enable_ico_cur+set}" = set; then
10386 enableval
="$enable_ico_cur"
10388 if test "$enableval" = yes; then
10389 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10391 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10396 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10397 if test "x$LINE" != x
; then
10398 eval "DEFAULT_$LINE"
10403 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10407 eval "$ac_cv_use_ico_cur"
10408 if test "$no_cache" != 1; then
10409 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10412 if test "$wxUSE_ICO_CUR" = yes; then
10413 echo "$as_me:$LINENO: result: yes" >&5
10414 echo "${ECHO_T}yes" >&6
10416 echo "$as_me:$LINENO: result: no" >&5
10417 echo "${ECHO_T}no" >&6
10425 # Check whether --with-flavour or --without-flavour was given.
10426 if test "${with_flavour+set}" = set; then
10427 withval
="$with_flavour"
10428 WX_FLAVOUR
="$withval"
10434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10435 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10437 # Check whether --enable-official_build or --disable-official_build was given.
10438 if test "${enable_official_build+set}" = set; then
10439 enableval
="$enable_official_build"
10441 if test "$enableval" = yes; then
10442 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10444 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10449 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10450 if test "x$LINE" != x
; then
10451 eval "DEFAULT_$LINE"
10456 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10460 eval "$ac_cv_use_official_build"
10461 if test "$no_cache" != 1; then
10462 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10465 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10466 echo "$as_me:$LINENO: result: yes" >&5
10467 echo "${ECHO_T}yes" >&6
10469 echo "$as_me:$LINENO: result: no" >&5
10470 echo "${ECHO_T}no" >&6
10473 # Check whether --enable-vendor or --disable-vendor was given.
10474 if test "${enable_vendor+set}" = set; then
10475 enableval
="$enable_vendor"
10476 VENDOR
="$enableval"
10478 if test "x$VENDOR" = "x"; then
10485 echo "saving argument cache $wx_arg_cache_file"
10486 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10490 echo "$as_me:$LINENO: checking for toolkit" >&5
10491 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10493 # In Wine, we need to default to MSW, not GTK or MOTIF
10494 if test "$wxUSE_WINE" = "yes"; then
10495 DEFAULT_DEFAULT_wxUSE_GTK
=0
10496 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10497 DEFAULT_DEFAULT_wxUSE_MSW
=1
10502 if test "$wxUSE_GUI" = "yes"; then
10504 if test "$USE_BEOS" = 1; then
10505 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10506 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10507 { (exit 1); exit 1; }; }
10510 if test "$TOOLKIT_GIVEN" = 1; then
10511 for toolkit
in `echo $ALL_TOOLKITS`; do
10513 eval "value=\$${var}"
10514 if test "x$value" = "xno"; then
10516 elif test "x$value" != "x"; then
10520 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10521 eval "wx${toolkit}_VERSION=$value"
10525 for toolkit
in `echo $ALL_TOOLKITS`; do
10526 if test "$has_toolkit_in_cache" != 1; then
10527 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10529 var
=DEFAULT_wxUSE_
$toolkit
10531 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10532 if test "x$version" != "x"; then
10533 eval "wx${toolkit}_VERSION=$version"
10536 eval "wxUSE_$toolkit=\$${var}"
10540 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10541 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10542 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10545 *-pc-os2_emx | *-pc-os2-emx )
10546 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10549 case "$NUM_TOOLKITS" in
10553 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10554 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10555 { (exit 1); exit 1; }; }
10558 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10559 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10560 { (exit 1); exit 1; }; }
10563 # to be removed when --disable-gtk2 isn't needed
10564 if test "x$wxUSE_GTK2" = "xyes"; then
10566 elif test "x$wxUSE_GTK2" = "xno"; then
10570 for toolkit
in `echo $ALL_TOOLKITS`; do
10572 eval "value=\$${var}"
10573 if test "x$value" != x
; then
10574 cache_var
=CACHE_
$toolkit
10575 eval "cache=\$${cache_var}"
10576 if test "$cache" = 1; then
10577 echo "$var=$value" >> ${wx_arg_cache_file}
10578 eval "version=\$wx${toolkit}_VERSION"
10579 if test "x$version" != "x"; then
10580 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10583 if test "$value" = 1; then
10584 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10585 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10586 echo "${ECHO_T}$toolkit_echo" >&6
10591 if test "x$host_alias" != "x"; then
10592 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10593 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10595 echo "$as_me:$LINENO: result: base only" >&5
10596 echo "${ECHO_T}base only" >&6
10601 doesnt_want_win32
=0
10604 if test "$wxUSE_MSW" = 1 ; then
10606 BAKEFILE_FORCE_PLATFORM
=win32
10608 doesnt_want_win32
=1
10616 if test "$wxUSE_WINE" = "yes"; then
10620 LDFLAGS_GUI
="-mwindows"
10623 if test "$wants_win32" = 1 ; then
10626 cat >>confdefs.h
<<\_ACEOF
10627 #define __WIN32__ 1
10630 cat >>confdefs.h
<<\_ACEOF
10631 #define __WIN95__ 1
10634 cat >>confdefs.h
<<\_ACEOF
10635 #define __WINDOWS__ 1
10638 cat >>confdefs.h
<<\_ACEOF
10639 #define __GNUWIN32__ 1
10642 cat >>confdefs.h
<<\_ACEOF
10646 cat >>confdefs.h
<<\_ACEOF
10647 #define WINVER 0x0400
10651 if test "$doesnt_want_win32" = 1 ; then
10656 if test "$USE_UNIX" = 1 ; then
10658 cat >>confdefs.h
<<\_ACEOF
10665 cat >confcache
<<\_ACEOF
10666 # This file is a shell script that caches the results of configure
10667 # tests run on this system so they can be shared between configure
10668 # scripts and configure runs, see configure's option --config-cache.
10669 # It is not useful on other systems. If it contains results you don't
10670 # want to keep, you may remove or edit it.
10672 # config.status only pays attention to the cache file if you give it
10673 # the --recheck option to rerun configure.
10675 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10676 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10677 # following values.
10681 # The following way of writing the cache mishandles newlines in values,
10682 # but we know of no workaround that is simple, portable, and efficient.
10683 # So, don't put newlines in cache variables' values.
10684 # Ultrix sh set writes to stderr and can't be redirected directly,
10685 # and sets the high bit in the cache file unless we assign to the vars.
10688 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10690 # `set' does not quote correctly, so add quotes (double-quote
10691 # substitution turns \\\\ into \\, and sed turns \\ into \).
10694 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10697 # `set' quotes correctly as required by POSIX, so do not add quotes.
10699 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10706 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10708 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10710 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10711 if test -w $cache_file; then
10712 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10713 cat confcache
>$cache_file
10715 echo "not updating unwritable cache $cache_file"
10724 ac_cpp
='$CPP $CPPFLAGS'
10725 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10726 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10727 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10728 if test -n "$ac_tool_prefix"; then
10729 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10730 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10731 echo "$as_me:$LINENO: checking for $ac_word" >&5
10732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10733 if test "${ac_cv_prog_CC+set}" = set; then
10734 echo $ECHO_N "(cached) $ECHO_C" >&6
10736 if test -n "$CC"; then
10737 ac_cv_prog_CC
="$CC" # Let the user override the test.
10739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10740 for as_dir
in $PATH
10743 test -z "$as_dir" && as_dir
=.
10744 for ac_exec_ext
in '' $ac_executable_extensions; do
10745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10746 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10756 if test -n "$CC"; then
10757 echo "$as_me:$LINENO: result: $CC" >&5
10758 echo "${ECHO_T}$CC" >&6
10760 echo "$as_me:$LINENO: result: no" >&5
10761 echo "${ECHO_T}no" >&6
10765 if test -z "$ac_cv_prog_CC"; then
10767 # Extract the first word of "gcc", so it can be a program name with args.
10768 set dummy gcc
; ac_word
=$2
10769 echo "$as_me:$LINENO: checking for $ac_word" >&5
10770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10771 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10772 echo $ECHO_N "(cached) $ECHO_C" >&6
10774 if test -n "$ac_ct_CC"; then
10775 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10778 for as_dir
in $PATH
10781 test -z "$as_dir" && as_dir
=.
10782 for ac_exec_ext
in '' $ac_executable_extensions; do
10783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10784 ac_cv_prog_ac_ct_CC
="gcc"
10785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10793 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10794 if test -n "$ac_ct_CC"; then
10795 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10796 echo "${ECHO_T}$ac_ct_CC" >&6
10798 echo "$as_me:$LINENO: result: no" >&5
10799 echo "${ECHO_T}no" >&6
10804 CC
="$ac_cv_prog_CC"
10807 if test -z "$CC"; then
10808 if test -n "$ac_tool_prefix"; then
10809 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10810 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10811 echo "$as_me:$LINENO: checking for $ac_word" >&5
10812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10813 if test "${ac_cv_prog_CC+set}" = set; then
10814 echo $ECHO_N "(cached) $ECHO_C" >&6
10816 if test -n "$CC"; then
10817 ac_cv_prog_CC
="$CC" # Let the user override the test.
10819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10820 for as_dir
in $PATH
10823 test -z "$as_dir" && as_dir
=.
10824 for ac_exec_ext
in '' $ac_executable_extensions; do
10825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10826 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10836 if test -n "$CC"; then
10837 echo "$as_me:$LINENO: result: $CC" >&5
10838 echo "${ECHO_T}$CC" >&6
10840 echo "$as_me:$LINENO: result: no" >&5
10841 echo "${ECHO_T}no" >&6
10845 if test -z "$ac_cv_prog_CC"; then
10847 # Extract the first word of "cc", so it can be a program name with args.
10848 set dummy cc
; ac_word
=$2
10849 echo "$as_me:$LINENO: checking for $ac_word" >&5
10850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10851 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10852 echo $ECHO_N "(cached) $ECHO_C" >&6
10854 if test -n "$ac_ct_CC"; then
10855 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10858 for as_dir
in $PATH
10861 test -z "$as_dir" && as_dir
=.
10862 for ac_exec_ext
in '' $ac_executable_extensions; do
10863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10864 ac_cv_prog_ac_ct_CC
="cc"
10865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10873 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10874 if test -n "$ac_ct_CC"; then
10875 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10876 echo "${ECHO_T}$ac_ct_CC" >&6
10878 echo "$as_me:$LINENO: result: no" >&5
10879 echo "${ECHO_T}no" >&6
10884 CC
="$ac_cv_prog_CC"
10888 if test -z "$CC"; then
10889 # Extract the first word of "cc", so it can be a program name with args.
10890 set dummy cc
; ac_word
=$2
10891 echo "$as_me:$LINENO: checking for $ac_word" >&5
10892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10893 if test "${ac_cv_prog_CC+set}" = set; then
10894 echo $ECHO_N "(cached) $ECHO_C" >&6
10896 if test -n "$CC"; then
10897 ac_cv_prog_CC
="$CC" # Let the user override the test.
10899 ac_prog_rejected
=no
10900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10901 for as_dir
in $PATH
10904 test -z "$as_dir" && as_dir
=.
10905 for ac_exec_ext
in '' $ac_executable_extensions; do
10906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10907 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10908 ac_prog_rejected
=yes
10912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10918 if test $ac_prog_rejected = yes; then
10919 # We found a bogon in the path, so make sure we never use it.
10920 set dummy
$ac_cv_prog_CC
10922 if test $# != 0; then
10923 # We chose a different compiler from the bogus one.
10924 # However, it has the same basename, so the bogon will be chosen
10925 # first if we set CC to just the basename; use the full file name.
10927 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10933 if test -n "$CC"; then
10934 echo "$as_me:$LINENO: result: $CC" >&5
10935 echo "${ECHO_T}$CC" >&6
10937 echo "$as_me:$LINENO: result: no" >&5
10938 echo "${ECHO_T}no" >&6
10942 if test -z "$CC"; then
10943 if test -n "$ac_tool_prefix"; then
10946 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10947 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10948 echo "$as_me:$LINENO: checking for $ac_word" >&5
10949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10950 if test "${ac_cv_prog_CC+set}" = set; then
10951 echo $ECHO_N "(cached) $ECHO_C" >&6
10953 if test -n "$CC"; then
10954 ac_cv_prog_CC
="$CC" # Let the user override the test.
10956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10957 for as_dir
in $PATH
10960 test -z "$as_dir" && as_dir
=.
10961 for ac_exec_ext
in '' $ac_executable_extensions; do
10962 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10963 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10973 if test -n "$CC"; then
10974 echo "$as_me:$LINENO: result: $CC" >&5
10975 echo "${ECHO_T}$CC" >&6
10977 echo "$as_me:$LINENO: result: no" >&5
10978 echo "${ECHO_T}no" >&6
10981 test -n "$CC" && break
10984 if test -z "$CC"; then
10988 # Extract the first word of "$ac_prog", so it can be a program name with args.
10989 set dummy
$ac_prog; ac_word
=$2
10990 echo "$as_me:$LINENO: checking for $ac_word" >&5
10991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10992 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10993 echo $ECHO_N "(cached) $ECHO_C" >&6
10995 if test -n "$ac_ct_CC"; then
10996 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10999 for as_dir
in $PATH
11002 test -z "$as_dir" && as_dir
=.
11003 for ac_exec_ext
in '' $ac_executable_extensions; do
11004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11005 ac_cv_prog_ac_ct_CC
="$ac_prog"
11006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11014 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11015 if test -n "$ac_ct_CC"; then
11016 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11017 echo "${ECHO_T}$ac_ct_CC" >&6
11019 echo "$as_me:$LINENO: result: no" >&5
11020 echo "${ECHO_T}no" >&6
11023 test -n "$ac_ct_CC" && break
11032 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11033 See \`config.log' for more details." >&5
11034 echo "$as_me: error: no acceptable C compiler found in \$PATH
11035 See \`config.log' for more details." >&2;}
11036 { (exit 1); exit 1; }; }
11038 # Provide some information about the compiler.
11039 echo "$as_me:$LINENO:" \
11040 "checking for C compiler version" >&5
11041 ac_compiler
=`set X $ac_compile; echo $2`
11042 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11043 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11046 (exit $ac_status); }
11047 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11048 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); }
11052 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11053 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11056 (exit $ac_status); }
11058 cat >conftest.
$ac_ext <<_ACEOF
11061 cat confdefs.h
>>conftest.
$ac_ext
11062 cat >>conftest.
$ac_ext <<_ACEOF
11063 /* end confdefs.h. */
11073 ac_clean_files_save
=$ac_clean_files
11074 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11075 # Try to create an executable without -o first, disregard a.out.
11076 # It will help us diagnose broken compilers, and finding out an intuition
11078 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11079 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11080 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11081 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11082 (eval $ac_link_default) 2>&5
11084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11085 (exit $ac_status); }; then
11086 # Find the output, starting from the most likely. This scheme is
11087 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11090 # Be careful to initialize this variable, since it used to be cached.
11091 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11093 # b.out is created by i960 compilers.
11094 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11096 test -f "$ac_file" || continue
11098 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11101 # This is the source file.
11104 # We found the default executable, but exeext='' is most
11108 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11109 # FIXME: I believe we export ac_cv_exeext for Libtool,
11110 # but it would be cool to find out if it's true. Does anybody
11111 # maintain Libtool? --akim.
11112 export ac_cv_exeext
11119 echo "$as_me: failed program was:" >&5
11120 sed 's/^/| /' conftest.
$ac_ext >&5
11122 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11123 See \`config.log' for more details." >&5
11124 echo "$as_me: error: C compiler cannot create executables
11125 See \`config.log' for more details." >&2;}
11126 { (exit 77); exit 77; }; }
11129 ac_exeext
=$ac_cv_exeext
11130 echo "$as_me:$LINENO: result: $ac_file" >&5
11131 echo "${ECHO_T}$ac_file" >&6
11133 # Check the compiler produces executables we can run. If not, either
11134 # the compiler is broken, or we cross compile.
11135 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11136 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11137 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11138 # If not cross compiling, check that we can run a simple program.
11139 if test "$cross_compiling" != yes; then
11140 if { ac_try
='./$ac_file'
11141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11142 (eval $ac_try) 2>&5
11144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11145 (exit $ac_status); }; }; then
11148 if test "$cross_compiling" = maybe
; then
11149 cross_compiling
=yes
11151 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11152 If you meant to cross compile, use \`--host'.
11153 See \`config.log' for more details." >&5
11154 echo "$as_me: error: cannot run C compiled programs.
11155 If you meant to cross compile, use \`--host'.
11156 See \`config.log' for more details." >&2;}
11157 { (exit 1); exit 1; }; }
11161 echo "$as_me:$LINENO: result: yes" >&5
11162 echo "${ECHO_T}yes" >&6
11164 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11165 ac_clean_files
=$ac_clean_files_save
11166 # Check the compiler produces executables we can run. If not, either
11167 # the compiler is broken, or we cross compile.
11168 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11169 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11170 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11171 echo "${ECHO_T}$cross_compiling" >&6
11173 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11174 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11176 (eval $ac_link) 2>&5
11178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11179 (exit $ac_status); }; then
11180 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11181 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11182 # work properly (i.e., refer to `conftest.exe'), while it won't with
11184 for ac_file
in conftest.exe conftest conftest.
*; do
11185 test -f "$ac_file" || continue
11187 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11188 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11189 export ac_cv_exeext
11195 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11196 See \`config.log' for more details." >&5
11197 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11198 See \`config.log' for more details." >&2;}
11199 { (exit 1); exit 1; }; }
11202 rm -f conftest
$ac_cv_exeext
11203 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11204 echo "${ECHO_T}$ac_cv_exeext" >&6
11206 rm -f conftest.
$ac_ext
11207 EXEEXT
=$ac_cv_exeext
11209 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11210 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11211 if test "${ac_cv_objext+set}" = set; then
11212 echo $ECHO_N "(cached) $ECHO_C" >&6
11214 cat >conftest.
$ac_ext <<_ACEOF
11217 cat confdefs.h
>>conftest.
$ac_ext
11218 cat >>conftest.
$ac_ext <<_ACEOF
11219 /* end confdefs.h. */
11229 rm -f conftest.o conftest.obj
11230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11231 (eval $ac_compile) 2>&5
11233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11234 (exit $ac_status); }; then
11235 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11237 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11238 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11243 echo "$as_me: failed program was:" >&5
11244 sed 's/^/| /' conftest.
$ac_ext >&5
11246 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11247 See \`config.log' for more details." >&5
11248 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11249 See \`config.log' for more details." >&2;}
11250 { (exit 1); exit 1; }; }
11253 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11255 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11256 echo "${ECHO_T}$ac_cv_objext" >&6
11257 OBJEXT
=$ac_cv_objext
11259 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11260 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11261 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11262 echo $ECHO_N "(cached) $ECHO_C" >&6
11264 cat >conftest.
$ac_ext <<_ACEOF
11267 cat confdefs.h
>>conftest.
$ac_ext
11268 cat >>conftest.
$ac_ext <<_ACEOF
11269 /* end confdefs.h. */
11282 rm -f conftest.
$ac_objext
11283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11284 (eval $ac_compile) 2>conftest.er1
11286 grep -v '^ *+' conftest.er1
>conftest.err
11288 cat conftest.err
>&5
11289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11290 (exit $ac_status); } &&
11291 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11293 (eval $ac_try) 2>&5
11295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11296 (exit $ac_status); }; } &&
11297 { ac_try
='test -s conftest.$ac_objext'
11298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11299 (eval $ac_try) 2>&5
11301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302 (exit $ac_status); }; }; then
11303 ac_compiler_gnu
=yes
11305 echo "$as_me: failed program was:" >&5
11306 sed 's/^/| /' conftest.
$ac_ext >&5
11310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11311 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11314 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11315 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11316 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11317 ac_test_CFLAGS
=${CFLAGS+set}
11318 ac_save_CFLAGS
=$CFLAGS
11320 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11321 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11322 if test "${ac_cv_prog_cc_g+set}" = set; then
11323 echo $ECHO_N "(cached) $ECHO_C" >&6
11325 cat >conftest.
$ac_ext <<_ACEOF
11328 cat confdefs.h
>>conftest.
$ac_ext
11329 cat >>conftest.
$ac_ext <<_ACEOF
11330 /* end confdefs.h. */
11340 rm -f conftest.
$ac_objext
11341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11342 (eval $ac_compile) 2>conftest.er1
11344 grep -v '^ *+' conftest.er1
>conftest.err
11346 cat conftest.err
>&5
11347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11348 (exit $ac_status); } &&
11349 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11351 (eval $ac_try) 2>&5
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); }; } &&
11355 { ac_try
='test -s conftest.$ac_objext'
11356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11357 (eval $ac_try) 2>&5
11359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360 (exit $ac_status); }; }; then
11361 ac_cv_prog_cc_g
=yes
11363 echo "$as_me: failed program was:" >&5
11364 sed 's/^/| /' conftest.
$ac_ext >&5
11368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11370 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11371 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11372 if test "$ac_test_CFLAGS" = set; then
11373 CFLAGS
=$ac_save_CFLAGS
11374 elif test $ac_cv_prog_cc_g = yes; then
11375 if test "$GCC" = yes; then
11381 if test "$GCC" = yes; then
11387 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11388 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11389 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11390 echo $ECHO_N "(cached) $ECHO_C" >&6
11392 ac_cv_prog_cc_stdc
=no
11394 cat >conftest.
$ac_ext <<_ACEOF
11397 cat confdefs.h
>>conftest.
$ac_ext
11398 cat >>conftest.
$ac_ext <<_ACEOF
11399 /* end confdefs.h. */
11400 #include <stdarg.h>
11402 #include <sys/types.h>
11403 #include <sys/stat.h>
11404 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11405 struct buf { int x; };
11406 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11407 static char *e (p, i)
11413 static char *f (char * (*g) (char **, int), char **p, ...)
11418 s = g (p, va_arg (v,int));
11423 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11424 function prototypes and stuff, but not '\xHH' hex character constants.
11425 These don't provoke an error unfortunately, instead are silently treated
11426 as 'x'. The following induces an error, until -std1 is added to get
11427 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11428 array size at least. It's necessary to write '\x00'==0 to get something
11429 that's true only with -std1. */
11430 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11432 int test (int i, double x);
11433 struct s1 {int (*f) (int a);};
11434 struct s2 {int (*f) (double a);};
11435 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11441 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11446 # Don't try gcc -ansi; that turns off useful extensions and
11447 # breaks some systems' header files.
11448 # AIX -qlanglvl=ansi
11449 # Ultrix and OSF/1 -std1
11450 # HP-UX 10.20 and later -Ae
11451 # HP-UX older versions -Aa -D_HPUX_SOURCE
11452 # SVR4 -Xc -D__EXTENSIONS__
11453 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11455 CC
="$ac_save_CC $ac_arg"
11456 rm -f conftest.
$ac_objext
11457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11458 (eval $ac_compile) 2>conftest.er1
11460 grep -v '^ *+' conftest.er1
>conftest.err
11462 cat conftest.err
>&5
11463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464 (exit $ac_status); } &&
11465 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11467 (eval $ac_try) 2>&5
11469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11470 (exit $ac_status); }; } &&
11471 { ac_try
='test -s conftest.$ac_objext'
11472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11473 (eval $ac_try) 2>&5
11475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11476 (exit $ac_status); }; }; then
11477 ac_cv_prog_cc_stdc
=$ac_arg
11480 echo "$as_me: failed program was:" >&5
11481 sed 's/^/| /' conftest.
$ac_ext >&5
11484 rm -f conftest.err conftest.
$ac_objext
11486 rm -f conftest.
$ac_ext conftest.
$ac_objext
11491 case "x$ac_cv_prog_cc_stdc" in
11493 echo "$as_me:$LINENO: result: none needed" >&5
11494 echo "${ECHO_T}none needed" >&6 ;;
11496 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11497 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11498 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11501 # Some people use a C++ compiler to compile C. Since we use `exit',
11502 # in C++ we need to declare it. In case someone uses the same compiler
11503 # for both compiling C and C++ we need to have the C++ compiler decide
11504 # the declaration of exit, since it's the most demanding environment.
11505 cat >conftest.
$ac_ext <<_ACEOF
11506 #ifndef __cplusplus
11510 rm -f conftest.
$ac_objext
11511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11512 (eval $ac_compile) 2>conftest.er1
11514 grep -v '^ *+' conftest.er1
>conftest.err
11516 cat conftest.err
>&5
11517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11518 (exit $ac_status); } &&
11519 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521 (eval $ac_try) 2>&5
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); }; } &&
11525 { ac_try
='test -s conftest.$ac_objext'
11526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11527 (eval $ac_try) 2>&5
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); }; }; then
11531 for ac_declaration
in \
11533 'extern "C" void std::exit (int) throw (); using std::exit;' \
11534 'extern "C" void std::exit (int); using std::exit;' \
11535 'extern "C" void exit (int) throw ();' \
11536 'extern "C" void exit (int);' \
11539 cat >conftest.
$ac_ext <<_ACEOF
11542 cat confdefs.h
>>conftest.
$ac_ext
11543 cat >>conftest.
$ac_ext <<_ACEOF
11544 /* end confdefs.h. */
11546 #include <stdlib.h>
11555 rm -f conftest.
$ac_objext
11556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11557 (eval $ac_compile) 2>conftest.er1
11559 grep -v '^ *+' conftest.er1
>conftest.err
11561 cat conftest.err
>&5
11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11563 (exit $ac_status); } &&
11564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11566 (eval $ac_try) 2>&5
11568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11569 (exit $ac_status); }; } &&
11570 { ac_try
='test -s conftest.$ac_objext'
11571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11572 (eval $ac_try) 2>&5
11574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11575 (exit $ac_status); }; }; then
11578 echo "$as_me: failed program was:" >&5
11579 sed 's/^/| /' conftest.
$ac_ext >&5
11583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11584 cat >conftest.
$ac_ext <<_ACEOF
11587 cat confdefs.h
>>conftest.
$ac_ext
11588 cat >>conftest.
$ac_ext <<_ACEOF
11589 /* end confdefs.h. */
11599 rm -f conftest.
$ac_objext
11600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11601 (eval $ac_compile) 2>conftest.er1
11603 grep -v '^ *+' conftest.er1
>conftest.err
11605 cat conftest.err
>&5
11606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11607 (exit $ac_status); } &&
11608 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11610 (eval $ac_try) 2>&5
11612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11613 (exit $ac_status); }; } &&
11614 { ac_try
='test -s conftest.$ac_objext'
11615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11616 (eval $ac_try) 2>&5
11618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11619 (exit $ac_status); }; }; then
11622 echo "$as_me: failed program was:" >&5
11623 sed 's/^/| /' conftest.
$ac_ext >&5
11626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11629 if test -n "$ac_declaration"; then
11630 echo '#ifdef __cplusplus' >>confdefs.h
11631 echo $ac_declaration >>confdefs.h
11632 echo '#endif' >>confdefs.h
11636 echo "$as_me: failed program was:" >&5
11637 sed 's/^/| /' conftest.
$ac_ext >&5
11640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11642 ac_cpp
='$CPP $CPPFLAGS'
11643 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11644 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11645 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11647 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11648 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11649 if test "${wx_cv_c_exto+set}" = set; then
11650 echo $ECHO_N "(cached) $ECHO_C" >&6
11652 cat >conftest.
$ac_ext <<_ACEOF
11655 cat confdefs.h
>>conftest.
$ac_ext
11656 cat >>conftest.
$ac_ext <<_ACEOF
11657 /* end confdefs.h. */
11667 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11669 (eval $ac_compile) 2>&5
11671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11672 (exit $ac_status); }; then
11673 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11675 conftest.
$ac_ext.o
)
11676 wx_cv_c_exto
="-ext o"
11683 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11684 See \`config.log' for more details." >&5
11685 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11686 See \`config.log' for more details." >&2;}
11687 { (exit 1); exit 1; }; }
11691 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11694 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11695 echo "${ECHO_T}$wx_cv_c_exto" >&6
11696 if test "x$wx_cv_c_exto" '!=' "x"; then
11697 if test "c" = "c"; then
11698 CFLAGS
="$wx_cv_c_exto $CFLAGS"
11700 if test "c" = "cxx"; then
11701 CXXFLAGS
="$wx_cv_c_exto $CXXFLAGS"
11705 if test "x$wx_cv_c_exto" '!=' "x"; then
11706 unset ac_cv_prog_cc_g
11707 ac_test_CFLAGS
=${CFLAGS+set}
11708 ac_save_CFLAGS
=$CFLAGS
11710 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11711 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11712 if test "${ac_cv_prog_cc_g+set}" = set; then
11713 echo $ECHO_N "(cached) $ECHO_C" >&6
11715 cat >conftest.
$ac_ext <<_ACEOF
11718 cat confdefs.h
>>conftest.
$ac_ext
11719 cat >>conftest.
$ac_ext <<_ACEOF
11720 /* end confdefs.h. */
11730 rm -f conftest.
$ac_objext
11731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11732 (eval $ac_compile) 2>conftest.er1
11734 grep -v '^ *+' conftest.er1
>conftest.err
11736 cat conftest.err
>&5
11737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11738 (exit $ac_status); } &&
11739 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11741 (eval $ac_try) 2>&5
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); }; } &&
11745 { ac_try
='test -s conftest.$ac_objext'
11746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11747 (eval $ac_try) 2>&5
11749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11750 (exit $ac_status); }; }; then
11751 ac_cv_prog_cc_g
=yes
11753 echo "$as_me: failed program was:" >&5
11754 sed 's/^/| /' conftest.
$ac_ext >&5
11758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11760 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11761 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11762 if test "$ac_test_CFLAGS" = set; then
11763 CFLAGS
=$ac_save_CFLAGS
11764 elif test $ac_cv_prog_cc_g = yes; then
11765 if test "$GCC" = yes; then
11771 if test "$GCC" = yes; then
11779 ac_cpp
='$CPP $CPPFLAGS'
11780 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11781 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11782 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11784 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11785 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11786 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11787 echo $ECHO_N "(cached) $ECHO_C" >&6
11789 cat >conftest.
$ac_ext <<_ACEOF
11792 cat confdefs.h
>>conftest.
$ac_ext
11793 cat >>conftest.
$ac_ext <<_ACEOF
11794 /* end confdefs.h. */
11807 rm -f conftest.
$ac_objext
11808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11809 (eval $ac_compile) 2>conftest.er1
11811 grep -v '^ *+' conftest.er1
>conftest.err
11813 cat conftest.err
>&5
11814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11815 (exit $ac_status); } &&
11816 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11818 (eval $ac_try) 2>&5
11820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11821 (exit $ac_status); }; } &&
11822 { ac_try
='test -s conftest.$ac_objext'
11823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11824 (eval $ac_try) 2>&5
11826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11827 (exit $ac_status); }; }; then
11828 bakefile_compiler_mwerks
=yes
11830 echo "$as_me: failed program was:" >&5
11831 sed 's/^/| /' conftest.
$ac_ext >&5
11833 bakefile_compiler_mwerks
=no
11835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11836 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11839 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11840 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11842 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11844 ac_cpp
='$CPP $CPPFLAGS'
11845 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11846 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11847 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11851 ac_cpp
='$CPP $CPPFLAGS'
11852 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11853 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11854 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11856 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11857 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11858 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11859 echo $ECHO_N "(cached) $ECHO_C" >&6
11861 cat >conftest.
$ac_ext <<_ACEOF
11864 cat confdefs.h
>>conftest.
$ac_ext
11865 cat >>conftest.
$ac_ext <<_ACEOF
11866 /* end confdefs.h. */
11879 rm -f conftest.
$ac_objext
11880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11881 (eval $ac_compile) 2>conftest.er1
11883 grep -v '^ *+' conftest.er1
>conftest.err
11885 cat conftest.err
>&5
11886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887 (exit $ac_status); } &&
11888 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11890 (eval $ac_try) 2>&5
11892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893 (exit $ac_status); }; } &&
11894 { ac_try
='test -s conftest.$ac_objext'
11895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11896 (eval $ac_try) 2>&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); }; }; then
11900 wx_compiler_xlc
=yes
11902 echo "$as_me: failed program was:" >&5
11903 sed 's/^/| /' conftest.
$ac_ext >&5
11907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11908 wx_cv_c_compiler_xlc
=$wx_compiler_xlc
11911 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11912 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11914 XLCC
=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11916 ac_cpp
='$CPP $CPPFLAGS'
11917 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11918 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11919 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11925 ac_cpp
='$CPP $CPPFLAGS'
11926 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11927 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11928 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11930 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
11931 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
11932 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
11933 echo $ECHO_N "(cached) $ECHO_C" >&6
11935 cat >conftest.
$ac_ext <<_ACEOF
11938 cat confdefs.h
>>conftest.
$ac_ext
11939 cat >>conftest.
$ac_ext <<_ACEOF
11940 /* end confdefs.h. */
11954 rm -f conftest.
$ac_objext
11955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11956 (eval $ac_compile) 2>conftest.er1
11958 grep -v '^ *+' conftest.er1
>conftest.err
11960 cat conftest.err
>&5
11961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11962 (exit $ac_status); } &&
11963 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11965 (eval $ac_try) 2>&5
11967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11968 (exit $ac_status); }; } &&
11969 { ac_try
='test -s conftest.$ac_objext'
11970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11971 (eval $ac_try) 2>&5
11973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11974 (exit $ac_status); }; }; then
11975 bakefile_cv_c_compiler___SUNPRO_C
=yes
11977 echo "$as_me: failed program was:" >&5
11978 sed 's/^/| /' conftest.
$ac_ext >&5
11980 bakefile_cv_c_compiler___SUNPRO_C
=no
11983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11987 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
11988 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
11990 ac_cpp
='$CPP $CPPFLAGS'
11991 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11992 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11993 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11995 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12005 ac_cpp
='$CPP $CPPFLAGS'
12006 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12007 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12008 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12009 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12010 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12011 # On Suns, sometimes $CPP names a directory.
12012 if test -n "$CPP" && test -d "$CPP"; then
12015 if test -z "$CPP"; then
12016 if test "${ac_cv_prog_CPP+set}" = set; then
12017 echo $ECHO_N "(cached) $ECHO_C" >&6
12019 # Double quotes because CPP needs to be expanded
12020 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12022 ac_preproc_ok
=false
12023 for ac_c_preproc_warn_flag
in '' yes
12025 # Use a header file that comes with gcc, so configuring glibc
12026 # with a fresh cross-compiler works.
12027 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12028 # <limits.h> exists even on freestanding compilers.
12029 # On the NeXT, cc -E runs the code through the compiler's parser,
12030 # not just through cpp. "Syntax error" is here to catch this case.
12031 cat >conftest.
$ac_ext <<_ACEOF
12034 cat confdefs.h
>>conftest.
$ac_ext
12035 cat >>conftest.
$ac_ext <<_ACEOF
12036 /* end confdefs.h. */
12038 # include <limits.h>
12040 # include <assert.h>
12044 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12045 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12047 grep -v '^ *+' conftest.er1
>conftest.err
12049 cat conftest.err
>&5
12050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12051 (exit $ac_status); } >/dev
/null
; then
12052 if test -s conftest.err
; then
12053 ac_cpp_err
=$ac_c_preproc_warn_flag
12054 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12061 if test -z "$ac_cpp_err"; then
12064 echo "$as_me: failed program was:" >&5
12065 sed 's/^/| /' conftest.
$ac_ext >&5
12067 # Broken: fails on valid input.
12070 rm -f conftest.err conftest.
$ac_ext
12072 # OK, works on sane cases. Now check whether non-existent headers
12073 # can be detected and how.
12074 cat >conftest.
$ac_ext <<_ACEOF
12077 cat confdefs.h
>>conftest.
$ac_ext
12078 cat >>conftest.
$ac_ext <<_ACEOF
12079 /* end confdefs.h. */
12080 #include <ac_nonexistent.h>
12082 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12083 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12085 grep -v '^ *+' conftest.er1
>conftest.err
12087 cat conftest.err
>&5
12088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12089 (exit $ac_status); } >/dev
/null
; then
12090 if test -s conftest.err
; then
12091 ac_cpp_err
=$ac_c_preproc_warn_flag
12092 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12099 if test -z "$ac_cpp_err"; then
12100 # Broken: success on invalid input.
12103 echo "$as_me: failed program was:" >&5
12104 sed 's/^/| /' conftest.
$ac_ext >&5
12106 # Passes both tests.
12110 rm -f conftest.err conftest.
$ac_ext
12113 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12114 rm -f conftest.err conftest.
$ac_ext
12115 if $ac_preproc_ok; then
12120 ac_cv_prog_CPP
=$CPP
12123 CPP
=$ac_cv_prog_CPP
12125 ac_cv_prog_CPP
=$CPP
12127 echo "$as_me:$LINENO: result: $CPP" >&5
12128 echo "${ECHO_T}$CPP" >&6
12129 ac_preproc_ok
=false
12130 for ac_c_preproc_warn_flag
in '' yes
12132 # Use a header file that comes with gcc, so configuring glibc
12133 # with a fresh cross-compiler works.
12134 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12135 # <limits.h> exists even on freestanding compilers.
12136 # On the NeXT, cc -E runs the code through the compiler's parser,
12137 # not just through cpp. "Syntax error" is here to catch this case.
12138 cat >conftest.
$ac_ext <<_ACEOF
12141 cat confdefs.h
>>conftest.
$ac_ext
12142 cat >>conftest.
$ac_ext <<_ACEOF
12143 /* end confdefs.h. */
12145 # include <limits.h>
12147 # include <assert.h>
12151 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12152 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12154 grep -v '^ *+' conftest.er1
>conftest.err
12156 cat conftest.err
>&5
12157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12158 (exit $ac_status); } >/dev
/null
; then
12159 if test -s conftest.err
; then
12160 ac_cpp_err
=$ac_c_preproc_warn_flag
12161 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12168 if test -z "$ac_cpp_err"; then
12171 echo "$as_me: failed program was:" >&5
12172 sed 's/^/| /' conftest.
$ac_ext >&5
12174 # Broken: fails on valid input.
12177 rm -f conftest.err conftest.
$ac_ext
12179 # OK, works on sane cases. Now check whether non-existent headers
12180 # can be detected and how.
12181 cat >conftest.
$ac_ext <<_ACEOF
12184 cat confdefs.h
>>conftest.
$ac_ext
12185 cat >>conftest.
$ac_ext <<_ACEOF
12186 /* end confdefs.h. */
12187 #include <ac_nonexistent.h>
12189 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12190 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12192 grep -v '^ *+' conftest.er1
>conftest.err
12194 cat conftest.err
>&5
12195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12196 (exit $ac_status); } >/dev
/null
; then
12197 if test -s conftest.err
; then
12198 ac_cpp_err
=$ac_c_preproc_warn_flag
12199 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12206 if test -z "$ac_cpp_err"; then
12207 # Broken: success on invalid input.
12210 echo "$as_me: failed program was:" >&5
12211 sed 's/^/| /' conftest.
$ac_ext >&5
12213 # Passes both tests.
12217 rm -f conftest.err conftest.
$ac_ext
12220 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12221 rm -f conftest.err conftest.
$ac_ext
12222 if $ac_preproc_ok; then
12225 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12226 See \`config.log' for more details." >&5
12227 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12228 See \`config.log' for more details." >&2;}
12229 { (exit 1); exit 1; }; }
12233 ac_cpp
='$CPP $CPPFLAGS'
12234 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12235 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12236 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12239 echo "$as_me:$LINENO: checking for egrep" >&5
12240 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12241 if test "${ac_cv_prog_egrep+set}" = set; then
12242 echo $ECHO_N "(cached) $ECHO_C" >&6
12244 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12245 then ac_cv_prog_egrep
='grep -E'
12246 else ac_cv_prog_egrep
='egrep'
12249 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12250 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12251 EGREP
=$ac_cv_prog_egrep
12254 if test $ac_cv_c_compiler_gnu = yes; then
12255 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12256 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12257 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12258 echo $ECHO_N "(cached) $ECHO_C" >&6
12260 ac_pattern
="Autoconf.*'x'"
12261 cat >conftest.
$ac_ext <<_ACEOF
12264 cat confdefs.h
>>conftest.
$ac_ext
12265 cat >>conftest.
$ac_ext <<_ACEOF
12266 /* end confdefs.h. */
12270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12271 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12272 ac_cv_prog_gcc_traditional
=yes
12274 ac_cv_prog_gcc_traditional
=no
12279 if test $ac_cv_prog_gcc_traditional = no
; then
12280 cat >conftest.
$ac_ext <<_ACEOF
12283 cat confdefs.h
>>conftest.
$ac_ext
12284 cat >>conftest.
$ac_ext <<_ACEOF
12285 /* end confdefs.h. */
12286 #include <termio.h>
12289 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12290 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12291 ac_cv_prog_gcc_traditional
=yes
12297 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12298 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12299 if test $ac_cv_prog_gcc_traditional = yes; then
12300 CC
="$CC -traditional"
12308 ac_cpp
='$CXXCPP $CPPFLAGS'
12309 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12310 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12311 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12314 CXXFLAGS
=${CXXFLAGS:=}
12318 ac_cpp
='$CXXCPP $CPPFLAGS'
12319 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12320 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12321 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12322 if test -n "$ac_tool_prefix"; then
12323 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12325 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12326 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12327 echo "$as_me:$LINENO: checking for $ac_word" >&5
12328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12329 if test "${ac_cv_prog_CXX+set}" = set; then
12330 echo $ECHO_N "(cached) $ECHO_C" >&6
12332 if test -n "$CXX"; then
12333 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12336 for as_dir
in $PATH
12339 test -z "$as_dir" && as_dir
=.
12340 for ac_exec_ext
in '' $ac_executable_extensions; do
12341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12342 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12351 CXX
=$ac_cv_prog_CXX
12352 if test -n "$CXX"; then
12353 echo "$as_me:$LINENO: result: $CXX" >&5
12354 echo "${ECHO_T}$CXX" >&6
12356 echo "$as_me:$LINENO: result: no" >&5
12357 echo "${ECHO_T}no" >&6
12360 test -n "$CXX" && break
12363 if test -z "$CXX"; then
12365 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12367 # Extract the first word of "$ac_prog", so it can be a program name with args.
12368 set dummy
$ac_prog; ac_word
=$2
12369 echo "$as_me:$LINENO: checking for $ac_word" >&5
12370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12371 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12372 echo $ECHO_N "(cached) $ECHO_C" >&6
12374 if test -n "$ac_ct_CXX"; then
12375 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12378 for as_dir
in $PATH
12381 test -z "$as_dir" && as_dir
=.
12382 for ac_exec_ext
in '' $ac_executable_extensions; do
12383 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12384 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12393 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12394 if test -n "$ac_ct_CXX"; then
12395 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12396 echo "${ECHO_T}$ac_ct_CXX" >&6
12398 echo "$as_me:$LINENO: result: no" >&5
12399 echo "${ECHO_T}no" >&6
12402 test -n "$ac_ct_CXX" && break
12404 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12410 # Provide some information about the compiler.
12411 echo "$as_me:$LINENO:" \
12412 "checking for C++ compiler version" >&5
12413 ac_compiler
=`set X $ac_compile; echo $2`
12414 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12415 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12418 (exit $ac_status); }
12419 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12420 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12423 (exit $ac_status); }
12424 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12425 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428 (exit $ac_status); }
12430 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12431 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12432 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12433 echo $ECHO_N "(cached) $ECHO_C" >&6
12435 cat >conftest.
$ac_ext <<_ACEOF
12438 cat confdefs.h
>>conftest.
$ac_ext
12439 cat >>conftest.
$ac_ext <<_ACEOF
12440 /* end confdefs.h. */
12453 rm -f conftest.
$ac_objext
12454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12455 (eval $ac_compile) 2>conftest.er1
12457 grep -v '^ *+' conftest.er1
>conftest.err
12459 cat conftest.err
>&5
12460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12461 (exit $ac_status); } &&
12462 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12464 (eval $ac_try) 2>&5
12466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12467 (exit $ac_status); }; } &&
12468 { ac_try
='test -s conftest.$ac_objext'
12469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12470 (eval $ac_try) 2>&5
12472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12473 (exit $ac_status); }; }; then
12474 ac_compiler_gnu
=yes
12476 echo "$as_me: failed program was:" >&5
12477 sed 's/^/| /' conftest.
$ac_ext >&5
12481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12482 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12485 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12486 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12487 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12488 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12489 ac_save_CXXFLAGS
=$CXXFLAGS
12491 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12492 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12493 if test "${ac_cv_prog_cxx_g+set}" = set; then
12494 echo $ECHO_N "(cached) $ECHO_C" >&6
12496 cat >conftest.
$ac_ext <<_ACEOF
12499 cat confdefs.h
>>conftest.
$ac_ext
12500 cat >>conftest.
$ac_ext <<_ACEOF
12501 /* end confdefs.h. */
12511 rm -f conftest.
$ac_objext
12512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12513 (eval $ac_compile) 2>conftest.er1
12515 grep -v '^ *+' conftest.er1
>conftest.err
12517 cat conftest.err
>&5
12518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12519 (exit $ac_status); } &&
12520 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12522 (eval $ac_try) 2>&5
12524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12525 (exit $ac_status); }; } &&
12526 { ac_try
='test -s conftest.$ac_objext'
12527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12528 (eval $ac_try) 2>&5
12530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12531 (exit $ac_status); }; }; then
12532 ac_cv_prog_cxx_g
=yes
12534 echo "$as_me: failed program was:" >&5
12535 sed 's/^/| /' conftest.
$ac_ext >&5
12537 ac_cv_prog_cxx_g
=no
12539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12541 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12542 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12543 if test "$ac_test_CXXFLAGS" = set; then
12544 CXXFLAGS
=$ac_save_CXXFLAGS
12545 elif test $ac_cv_prog_cxx_g = yes; then
12546 if test "$GXX" = yes; then
12552 if test "$GXX" = yes; then
12558 for ac_declaration
in \
12560 'extern "C" void std::exit (int) throw (); using std::exit;' \
12561 'extern "C" void std::exit (int); using std::exit;' \
12562 'extern "C" void exit (int) throw ();' \
12563 'extern "C" void exit (int);' \
12566 cat >conftest.
$ac_ext <<_ACEOF
12569 cat confdefs.h
>>conftest.
$ac_ext
12570 cat >>conftest.
$ac_ext <<_ACEOF
12571 /* end confdefs.h. */
12573 #include <stdlib.h>
12582 rm -f conftest.
$ac_objext
12583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12584 (eval $ac_compile) 2>conftest.er1
12586 grep -v '^ *+' conftest.er1
>conftest.err
12588 cat conftest.err
>&5
12589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12590 (exit $ac_status); } &&
12591 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12593 (eval $ac_try) 2>&5
12595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12596 (exit $ac_status); }; } &&
12597 { ac_try
='test -s conftest.$ac_objext'
12598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12599 (eval $ac_try) 2>&5
12601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12602 (exit $ac_status); }; }; then
12605 echo "$as_me: failed program was:" >&5
12606 sed 's/^/| /' conftest.
$ac_ext >&5
12610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12611 cat >conftest.
$ac_ext <<_ACEOF
12614 cat confdefs.h
>>conftest.
$ac_ext
12615 cat >>conftest.
$ac_ext <<_ACEOF
12616 /* end confdefs.h. */
12626 rm -f conftest.
$ac_objext
12627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12628 (eval $ac_compile) 2>conftest.er1
12630 grep -v '^ *+' conftest.er1
>conftest.err
12632 cat conftest.err
>&5
12633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12634 (exit $ac_status); } &&
12635 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12637 (eval $ac_try) 2>&5
12639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12640 (exit $ac_status); }; } &&
12641 { ac_try
='test -s conftest.$ac_objext'
12642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12643 (eval $ac_try) 2>&5
12645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 (exit $ac_status); }; }; then
12649 echo "$as_me: failed program was:" >&5
12650 sed 's/^/| /' conftest.
$ac_ext >&5
12653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12656 if test -n "$ac_declaration"; then
12657 echo '#ifdef __cplusplus' >>confdefs.h
12658 echo $ac_declaration >>confdefs.h
12659 echo '#endif' >>confdefs.h
12663 ac_cpp
='$CXXCPP $CPPFLAGS'
12664 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12665 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12666 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12668 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12669 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12670 if test "${wx_cv_cxx_exto+set}" = set; then
12671 echo $ECHO_N "(cached) $ECHO_C" >&6
12673 cat >conftest.
$ac_ext <<_ACEOF
12676 cat confdefs.h
>>conftest.
$ac_ext
12677 cat >>conftest.
$ac_ext <<_ACEOF
12678 /* end confdefs.h. */
12688 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12690 (eval $ac_compile) 2>&5
12692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12693 (exit $ac_status); }; then
12694 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12696 conftest.
$ac_ext.o
)
12697 wx_cv_cxx_exto
="-ext o"
12704 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12705 See \`config.log' for more details." >&5
12706 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12707 See \`config.log' for more details." >&2;}
12708 { (exit 1); exit 1; }; }
12712 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12715 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12716 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12717 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12718 if test "cxx" = "c"; then
12719 CFLAGS
="$wx_cv_cxx_exto $CFLAGS"
12721 if test "cxx" = "cxx"; then
12722 CXXFLAGS
="$wx_cv_cxx_exto $CXXFLAGS"
12726 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12727 unset ac_cv_prog_cxx_g
12728 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12729 ac_save_CXXFLAGS
=$CXXFLAGS
12731 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12732 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12733 if test "${ac_cv_prog_cxx_g+set}" = set; then
12734 echo $ECHO_N "(cached) $ECHO_C" >&6
12736 cat >conftest.
$ac_ext <<_ACEOF
12739 cat confdefs.h
>>conftest.
$ac_ext
12740 cat >>conftest.
$ac_ext <<_ACEOF
12741 /* end confdefs.h. */
12751 rm -f conftest.
$ac_objext
12752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12753 (eval $ac_compile) 2>conftest.er1
12755 grep -v '^ *+' conftest.er1
>conftest.err
12757 cat conftest.err
>&5
12758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759 (exit $ac_status); } &&
12760 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12762 (eval $ac_try) 2>&5
12764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765 (exit $ac_status); }; } &&
12766 { ac_try
='test -s conftest.$ac_objext'
12767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12768 (eval $ac_try) 2>&5
12770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12771 (exit $ac_status); }; }; then
12772 ac_cv_prog_cxx_g
=yes
12774 echo "$as_me: failed program was:" >&5
12775 sed 's/^/| /' conftest.
$ac_ext >&5
12777 ac_cv_prog_cxx_g
=no
12779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12781 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12782 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12783 if test "$ac_test_CXXFLAGS" = set; then
12784 CXXFLAGS
=$ac_save_CXXFLAGS
12785 elif test $ac_cv_prog_cxx_g = yes; then
12786 if test "$GXX" = yes; then
12792 if test "$GXX" = yes; then
12800 ac_cpp
='$CXXCPP $CPPFLAGS'
12801 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12802 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12803 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12805 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12806 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12807 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12808 echo $ECHO_N "(cached) $ECHO_C" >&6
12810 cat >conftest.
$ac_ext <<_ACEOF
12813 cat confdefs.h
>>conftest.
$ac_ext
12814 cat >>conftest.
$ac_ext <<_ACEOF
12815 /* end confdefs.h. */
12828 rm -f conftest.
$ac_objext
12829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12830 (eval $ac_compile) 2>conftest.er1
12832 grep -v '^ *+' conftest.er1
>conftest.err
12834 cat conftest.err
>&5
12835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12836 (exit $ac_status); } &&
12837 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12839 (eval $ac_try) 2>&5
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); }; } &&
12843 { ac_try
='test -s conftest.$ac_objext'
12844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12845 (eval $ac_try) 2>&5
12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848 (exit $ac_status); }; }; then
12849 bakefile_compiler_mwerks
=yes
12851 echo "$as_me: failed program was:" >&5
12852 sed 's/^/| /' conftest.
$ac_ext >&5
12854 bakefile_compiler_mwerks
=no
12856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12857 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
12860 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12861 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12863 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12865 ac_cpp
='$CXXCPP $CPPFLAGS'
12866 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12867 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12868 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12872 ac_cpp
='$CXXCPP $CPPFLAGS'
12873 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12874 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12875 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12877 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12878 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12879 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12880 echo $ECHO_N "(cached) $ECHO_C" >&6
12882 cat >conftest.
$ac_ext <<_ACEOF
12885 cat confdefs.h
>>conftest.
$ac_ext
12886 cat >>conftest.
$ac_ext <<_ACEOF
12887 /* end confdefs.h. */
12900 rm -f conftest.
$ac_objext
12901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12902 (eval $ac_compile) 2>conftest.er1
12904 grep -v '^ *+' conftest.er1
>conftest.err
12906 cat conftest.err
>&5
12907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12908 (exit $ac_status); } &&
12909 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12911 (eval $ac_try) 2>&5
12913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 (exit $ac_status); }; } &&
12915 { ac_try
='test -s conftest.$ac_objext'
12916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12917 (eval $ac_try) 2>&5
12919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); }; }; then
12921 wx_compiler_xlc
=yes
12923 echo "$as_me: failed program was:" >&5
12924 sed 's/^/| /' conftest.
$ac_ext >&5
12928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12929 wx_cv_cxx_compiler_xlc
=$wx_compiler_xlc
12932 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12933 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12935 XLCXX
=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12937 ac_cpp
='$CXXCPP $CPPFLAGS'
12938 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12939 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12940 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12946 ac_cpp
='$CXXCPP $CPPFLAGS'
12947 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12948 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12949 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12951 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
12952 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
12953 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
12954 echo $ECHO_N "(cached) $ECHO_C" >&6
12956 cat >conftest.
$ac_ext <<_ACEOF
12959 cat confdefs.h
>>conftest.
$ac_ext
12960 cat >>conftest.
$ac_ext <<_ACEOF
12961 /* end confdefs.h. */
12967 #ifndef __SUNPRO_CC
12975 rm -f conftest.
$ac_objext
12976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12977 (eval $ac_compile) 2>conftest.er1
12979 grep -v '^ *+' conftest.er1
>conftest.err
12981 cat conftest.err
>&5
12982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12983 (exit $ac_status); } &&
12984 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12986 (eval $ac_try) 2>&5
12988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12989 (exit $ac_status); }; } &&
12990 { ac_try
='test -s conftest.$ac_objext'
12991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12992 (eval $ac_try) 2>&5
12994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 (exit $ac_status); }; }; then
12996 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
12998 echo "$as_me: failed program was:" >&5
12999 sed 's/^/| /' conftest.
$ac_ext >&5
13001 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
13004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13008 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
13009 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
13011 ac_cpp
='$CXXCPP $CPPFLAGS'
13012 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13013 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13014 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13016 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
13026 ac_cpp
='$CPP $CPPFLAGS'
13027 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13028 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13029 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13032 if test -n "$ac_tool_prefix"; then
13033 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13034 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
13035 echo "$as_me:$LINENO: checking for $ac_word" >&5
13036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13037 if test "${ac_cv_prog_RANLIB+set}" = set; then
13038 echo $ECHO_N "(cached) $ECHO_C" >&6
13040 if test -n "$RANLIB"; then
13041 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
13043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13044 for as_dir
in $PATH
13047 test -z "$as_dir" && as_dir
=.
13048 for ac_exec_ext
in '' $ac_executable_extensions; do
13049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13050 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
13051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13059 RANLIB
=$ac_cv_prog_RANLIB
13060 if test -n "$RANLIB"; then
13061 echo "$as_me:$LINENO: result: $RANLIB" >&5
13062 echo "${ECHO_T}$RANLIB" >&6
13064 echo "$as_me:$LINENO: result: no" >&5
13065 echo "${ECHO_T}no" >&6
13069 if test -z "$ac_cv_prog_RANLIB"; then
13070 ac_ct_RANLIB
=$RANLIB
13071 # Extract the first word of "ranlib", so it can be a program name with args.
13072 set dummy ranlib
; ac_word
=$2
13073 echo "$as_me:$LINENO: checking for $ac_word" >&5
13074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13075 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13076 echo $ECHO_N "(cached) $ECHO_C" >&6
13078 if test -n "$ac_ct_RANLIB"; then
13079 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
13081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13082 for as_dir
in $PATH
13085 test -z "$as_dir" && as_dir
=.
13086 for ac_exec_ext
in '' $ac_executable_extensions; do
13087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13088 ac_cv_prog_ac_ct_RANLIB
="ranlib"
13089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13095 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
13098 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
13099 if test -n "$ac_ct_RANLIB"; then
13100 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13101 echo "${ECHO_T}$ac_ct_RANLIB" >&6
13103 echo "$as_me:$LINENO: result: no" >&5
13104 echo "${ECHO_T}no" >&6
13107 RANLIB
=$ac_ct_RANLIB
13109 RANLIB
="$ac_cv_prog_RANLIB"
13113 if test -n "$ac_tool_prefix"; then
13114 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13115 set dummy
${ac_tool_prefix}ar; ac_word
=$2
13116 echo "$as_me:$LINENO: checking for $ac_word" >&5
13117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13118 if test "${ac_cv_prog_AR+set}" = set; then
13119 echo $ECHO_N "(cached) $ECHO_C" >&6
13121 if test -n "$AR"; then
13122 ac_cv_prog_AR
="$AR" # Let the user override the test.
13124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13125 for as_dir
in $PATH
13128 test -z "$as_dir" && as_dir
=.
13129 for ac_exec_ext
in '' $ac_executable_extensions; do
13130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13131 ac_cv_prog_AR
="${ac_tool_prefix}ar"
13132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13141 if test -n "$AR"; then
13142 echo "$as_me:$LINENO: result: $AR" >&5
13143 echo "${ECHO_T}$AR" >&6
13145 echo "$as_me:$LINENO: result: no" >&5
13146 echo "${ECHO_T}no" >&6
13150 if test -z "$ac_cv_prog_AR"; then
13152 # Extract the first word of "ar", so it can be a program name with args.
13153 set dummy
ar; ac_word
=$2
13154 echo "$as_me:$LINENO: checking for $ac_word" >&5
13155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13156 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
13157 echo $ECHO_N "(cached) $ECHO_C" >&6
13159 if test -n "$ac_ct_AR"; then
13160 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
13162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13163 for as_dir
in $PATH
13166 test -z "$as_dir" && as_dir
=.
13167 for ac_exec_ext
in '' $ac_executable_extensions; do
13168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13169 ac_cv_prog_ac_ct_AR
="ar"
13170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13178 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
13179 if test -n "$ac_ct_AR"; then
13180 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
13181 echo "${ECHO_T}$ac_ct_AR" >&6
13183 echo "$as_me:$LINENO: result: no" >&5
13184 echo "${ECHO_T}no" >&6
13189 AR
="$ac_cv_prog_AR"
13192 if test "x$AR" = "x" ; then
13193 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
13194 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
13195 { (exit 1); exit 1; }; }
13198 # Find a good install program. We prefer a C program (faster),
13199 # so one script is as good as another. But avoid the broken or
13200 # incompatible versions:
13201 # SysV /etc/install, /usr/sbin/install
13202 # SunOS /usr/etc/install
13203 # IRIX /sbin/install
13205 # AmigaOS /C/install, which installs bootblocks on floppy discs
13206 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
13207 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
13208 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13209 # OS/2's system install, which has a completely different semantic
13210 # ./install, which can be erroneously created by make from ./install.sh.
13211 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13212 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13213 if test -z "$INSTALL"; then
13214 if test "${ac_cv_path_install+set}" = set; then
13215 echo $ECHO_N "(cached) $ECHO_C" >&6
13217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13218 for as_dir
in $PATH
13221 test -z "$as_dir" && as_dir
=.
13222 # Account for people who put trailing slashes in PATH elements.
13224 .
/ | .
// | /cC
/* | \
13225 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
13226 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
13229 # OSF1 and SCO ODT 3.0 have their own names for install.
13230 # Don't use installbsd from OSF since it installs stuff as root
13232 for ac_prog
in ginstall scoinst
install; do
13233 for ac_exec_ext
in '' $ac_executable_extensions; do
13234 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13235 if test $ac_prog = install &&
13236 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13237 # AIX install. It has an incompatible calling convention.
13239 elif test $ac_prog = install &&
13240 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13241 # program-specific install script used by HP pwplus--don't use.
13244 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
13256 if test "${ac_cv_path_install+set}" = set; then
13257 INSTALL
=$ac_cv_path_install
13259 # As a last resort, use the slow shell script. We don't cache a
13260 # path for INSTALL within a source directory, because that will
13261 # break other packages using the cache if that directory is
13262 # removed, or if the path is relative.
13263 INSTALL
=$ac_install_sh
13266 echo "$as_me:$LINENO: result: $INSTALL" >&5
13267 echo "${ECHO_T}$INSTALL" >&6
13269 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13270 # It thinks the first close brace ends the variable substitution.
13271 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
13273 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
13275 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
13281 ?
:* ) # Drive letter, considered as absolute.
13284 INSTALL
=`pwd`/${INSTALL} ;;
13291 INSTALL_PROGRAM
="cp -fp"
13292 INSTALL_DATA
="cp -fp"
13298 if test -n "$ac_tool_prefix"; then
13299 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
13300 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
13301 echo "$as_me:$LINENO: checking for $ac_word" >&5
13302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13303 if test "${ac_cv_prog_STRIP+set}" = set; then
13304 echo $ECHO_N "(cached) $ECHO_C" >&6
13306 if test -n "$STRIP"; then
13307 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
13309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13310 for as_dir
in $PATH
13313 test -z "$as_dir" && as_dir
=.
13314 for ac_exec_ext
in '' $ac_executable_extensions; do
13315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13316 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
13317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13325 STRIP
=$ac_cv_prog_STRIP
13326 if test -n "$STRIP"; then
13327 echo "$as_me:$LINENO: result: $STRIP" >&5
13328 echo "${ECHO_T}$STRIP" >&6
13330 echo "$as_me:$LINENO: result: no" >&5
13331 echo "${ECHO_T}no" >&6
13335 if test -z "$ac_cv_prog_STRIP"; then
13337 # Extract the first word of "strip", so it can be a program name with args.
13338 set dummy strip
; ac_word
=$2
13339 echo "$as_me:$LINENO: checking for $ac_word" >&5
13340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13341 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
13342 echo $ECHO_N "(cached) $ECHO_C" >&6
13344 if test -n "$ac_ct_STRIP"; then
13345 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
13347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13348 for as_dir
in $PATH
13351 test -z "$as_dir" && as_dir
=.
13352 for ac_exec_ext
in '' $ac_executable_extensions; do
13353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13354 ac_cv_prog_ac_ct_STRIP
="strip"
13355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13361 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
13364 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
13365 if test -n "$ac_ct_STRIP"; then
13366 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
13367 echo "${ECHO_T}$ac_ct_STRIP" >&6
13369 echo "$as_me:$LINENO: result: no" >&5
13370 echo "${ECHO_T}no" >&6
13375 STRIP
="$ac_cv_prog_STRIP"
13379 if test "$wxUSE_WINE" = "yes"; then
13380 if test -n "$ac_tool_prefix"; then
13381 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
13382 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
13383 echo "$as_me:$LINENO: checking for $ac_word" >&5
13384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13385 if test "${ac_cv_prog_RESCOMP+set}" = set; then
13386 echo $ECHO_N "(cached) $ECHO_C" >&6
13388 if test -n "$RESCOMP"; then
13389 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
13391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13392 for as_dir
in $PATH
13395 test -z "$as_dir" && as_dir
=.
13396 for ac_exec_ext
in '' $ac_executable_extensions; do
13397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13398 ac_cv_prog_RESCOMP
="${ac_tool_prefix}wrc"
13399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13407 RESCOMP
=$ac_cv_prog_RESCOMP
13408 if test -n "$RESCOMP"; then
13409 echo "$as_me:$LINENO: result: $RESCOMP" >&5
13410 echo "${ECHO_T}$RESCOMP" >&6
13412 echo "$as_me:$LINENO: result: no" >&5
13413 echo "${ECHO_T}no" >&6
13417 if test -z "$ac_cv_prog_RESCOMP"; then
13418 ac_ct_RESCOMP
=$RESCOMP
13419 # Extract the first word of "wrc", so it can be a program name with args.
13420 set dummy wrc
; ac_word
=$2
13421 echo "$as_me:$LINENO: checking for $ac_word" >&5
13422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13423 if test "${ac_cv_prog_ac_ct_RESCOMP+set}" = set; then
13424 echo $ECHO_N "(cached) $ECHO_C" >&6
13426 if test -n "$ac_ct_RESCOMP"; then
13427 ac_cv_prog_ac_ct_RESCOMP
="$ac_ct_RESCOMP" # Let the user override the test.
13429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13430 for as_dir
in $PATH
13433 test -z "$as_dir" && as_dir
=.
13434 for ac_exec_ext
in '' $ac_executable_extensions; do
13435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13436 ac_cv_prog_ac_ct_RESCOMP
="wrc"
13437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13445 ac_ct_RESCOMP
=$ac_cv_prog_ac_ct_RESCOMP
13446 if test -n "$ac_ct_RESCOMP"; then
13447 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
13448 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
13450 echo "$as_me:$LINENO: result: no" >&5
13451 echo "${ECHO_T}no" >&6
13454 RESCOMP
=$ac_ct_RESCOMP
13456 RESCOMP
="$ac_cv_prog_RESCOMP"
13461 *-*-cygwin* | *-*-mingw32* )
13462 if test -n "$ac_tool_prefix"; then
13463 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
13464 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
13465 echo "$as_me:$LINENO: checking for $ac_word" >&5
13466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13467 if test "${ac_cv_prog_RESCOMP+set}" = set; then
13468 echo $ECHO_N "(cached) $ECHO_C" >&6
13470 if test -n "$RESCOMP"; then
13471 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
13473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13474 for as_dir
in $PATH
13477 test -z "$as_dir" && as_dir
=.
13478 for ac_exec_ext
in '' $ac_executable_extensions; do
13479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13480 ac_cv_prog_RESCOMP
="${ac_tool_prefix}windres"
13481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13489 RESCOMP
=$ac_cv_prog_RESCOMP
13490 if test -n "$RESCOMP"; then
13491 echo "$as_me:$LINENO: result: $RESCOMP" >&5
13492 echo "${ECHO_T}$RESCOMP" >&6
13494 echo "$as_me:$LINENO: result: no" >&5
13495 echo "${ECHO_T}no" >&6
13499 if test -z "$ac_cv_prog_RESCOMP"; then
13500 ac_ct_RESCOMP
=$RESCOMP
13501 # Extract the first word of "windres", so it can be a program name with args.
13502 set dummy windres
; ac_word
=$2
13503 echo "$as_me:$LINENO: checking for $ac_word" >&5
13504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13505 if test "${ac_cv_prog_ac_ct_RESCOMP+set}" = set; then
13506 echo $ECHO_N "(cached) $ECHO_C" >&6
13508 if test -n "$ac_ct_RESCOMP"; then
13509 ac_cv_prog_ac_ct_RESCOMP
="$ac_ct_RESCOMP" # Let the user override the test.
13511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13512 for as_dir
in $PATH
13515 test -z "$as_dir" && as_dir
=.
13516 for ac_exec_ext
in '' $ac_executable_extensions; do
13517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13518 ac_cv_prog_ac_ct_RESCOMP
="windres"
13519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13527 ac_ct_RESCOMP
=$ac_cv_prog_ac_ct_RESCOMP
13528 if test -n "$ac_ct_RESCOMP"; then
13529 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
13530 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
13532 echo "$as_me:$LINENO: result: no" >&5
13533 echo "${ECHO_T}no" >&6
13536 RESCOMP
=$ac_ct_RESCOMP
13538 RESCOMP
="$ac_cv_prog_RESCOMP"
13541 if test -n "$ac_tool_prefix"; then
13542 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13543 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
13544 echo "$as_me:$LINENO: checking for $ac_word" >&5
13545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13546 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13547 echo $ECHO_N "(cached) $ECHO_C" >&6
13549 if test -n "$DLLTOOL"; then
13550 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
13552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13553 for as_dir
in $PATH
13556 test -z "$as_dir" && as_dir
=.
13557 for ac_exec_ext
in '' $ac_executable_extensions; do
13558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13559 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
13560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13568 DLLTOOL
=$ac_cv_prog_DLLTOOL
13569 if test -n "$DLLTOOL"; then
13570 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13571 echo "${ECHO_T}$DLLTOOL" >&6
13573 echo "$as_me:$LINENO: result: no" >&5
13574 echo "${ECHO_T}no" >&6
13578 if test -z "$ac_cv_prog_DLLTOOL"; then
13579 ac_ct_DLLTOOL
=$DLLTOOL
13580 # Extract the first word of "dlltool", so it can be a program name with args.
13581 set dummy dlltool
; ac_word
=$2
13582 echo "$as_me:$LINENO: checking for $ac_word" >&5
13583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13584 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13585 echo $ECHO_N "(cached) $ECHO_C" >&6
13587 if test -n "$ac_ct_DLLTOOL"; then
13588 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
13590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13591 for as_dir
in $PATH
13594 test -z "$as_dir" && as_dir
=.
13595 for ac_exec_ext
in '' $ac_executable_extensions; do
13596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13597 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
13598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13606 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
13607 if test -n "$ac_ct_DLLTOOL"; then
13608 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13609 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13611 echo "$as_me:$LINENO: result: no" >&5
13612 echo "${ECHO_T}no" >&6
13615 DLLTOOL
=$ac_ct_DLLTOOL
13617 DLLTOOL
="$ac_cv_prog_DLLTOOL"
13624 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13625 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13626 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13627 echo $ECHO_N "(cached) $ECHO_C" >&6
13630 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
13631 egrep -s GNU
> /dev
/null
); then
13632 wx_cv_prog_makeisgnu
="yes"
13634 wx_cv_prog_makeisgnu
="no"
13638 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13639 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13641 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13649 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13650 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13651 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13652 if test "${wx_cv_prog_makevpath+set}" = set; then
13653 echo $ECHO_N "(cached) $ECHO_C" >&6
13656 cat - << EOF > confMake
13662 if test ! -d sub
; then
13665 echo dummy
> sub
/file
13666 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
13668 rm -f sub
/file check final_file confMake
13670 if test "$RESULT" = 0; then
13671 wx_cv_prog_makevpath
="yes"
13673 wx_cv_prog_makevpath
="no"
13677 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13678 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13680 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13681 { { echo "$as_me:$LINENO: error:
13682 You need a make-utility that is able to use the variable
13684 If your version of make does not support VPATH correctly,
13685 please install GNU-make (possibly as gmake), and start
13686 configure with the following command:
13687 export MAKE=gmake; ./configure for sh-type shells
13688 setenv MAKE gmake; ./configure for csh-type shells
13689 Also please do remember to use gmake in this case every time
13690 you are trying to compile.
13692 echo "$as_me: error:
13693 You need a make-utility that is able to use the variable
13695 If your version of make does not support VPATH correctly,
13696 please install GNU-make (possibly as gmake), and start
13697 configure with the following command:
13698 export MAKE=gmake; ./configure for sh-type shells
13699 setenv MAKE gmake; ./configure for csh-type shells
13700 Also please do remember to use gmake in this case every time
13701 you are trying to compile.
13703 { (exit 1); exit 1; }; }
13705 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13706 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13708 if test "$LN_S" = "ln -s"; then
13709 echo "$as_me:$LINENO: result: yes" >&5
13710 echo "${ECHO_T}yes" >&6
13712 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13713 echo "${ECHO_T}no, using $LN_S" >&6
13718 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
13719 CXXFLAGS
="$CXXFLAGS -qunique"
13724 powerpc
-*-darwin* )
13725 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13726 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13727 cat >conftest.
$ac_ext <<_ACEOF
13730 cat confdefs.h
>>conftest.
$ac_ext
13731 cat >>conftest.
$ac_ext <<_ACEOF
13732 /* end confdefs.h. */
13737 #ifndef __POWERPC__
13738 choke me for lack of PowerPC
13745 rm -f conftest.
$ac_objext
13746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13747 (eval $ac_compile) 2>conftest.er1
13749 grep -v '^ *+' conftest.er1
>conftest.err
13751 cat conftest.err
>&5
13752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13753 (exit $ac_status); } &&
13754 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13756 (eval $ac_try) 2>&5
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); }; } &&
13760 { ac_try
='test -s conftest.$ac_objext'
13761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13762 (eval $ac_try) 2>&5
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 (exit $ac_status); }; }; then
13766 echo "$as_me:$LINENO: result: yes" >&5
13767 echo "${ECHO_T}yes" >&6
13769 echo "$as_me: failed program was:" >&5
13770 sed 's/^/| /' conftest.
$ac_ext >&5
13772 echo "$as_me:$LINENO: result: no" >&5
13773 echo "${ECHO_T}no" >&6
13774 cat >>confdefs.h
<<\_ACEOF
13775 #define __POWERPC__ 1
13780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13786 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13787 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13788 cat >conftest.
$ac_ext <<_ACEOF
13791 cat confdefs.h
>>conftest.
$ac_ext
13792 cat >>conftest.
$ac_ext <<_ACEOF
13793 /* end confdefs.h. */
13794 #include <CoreFoundation/CFBase.h>
13804 rm -f conftest.
$ac_objext
13805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13806 (eval $ac_compile) 2>conftest.er1
13808 grep -v '^ *+' conftest.er1
>conftest.err
13810 cat conftest.err
>&5
13811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13812 (exit $ac_status); } &&
13813 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13815 (eval $ac_try) 2>&5
13817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13818 (exit $ac_status); }; } &&
13819 { ac_try
='test -s conftest.$ac_objext'
13820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13821 (eval $ac_try) 2>&5
13823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13824 (exit $ac_status); }; }; then
13825 echo "$as_me:$LINENO: result: yes" >&5
13826 echo "${ECHO_T}yes" >&6
13828 echo "$as_me: failed program was:" >&5
13829 sed 's/^/| /' conftest.
$ac_ext >&5
13831 echo "$as_me:$LINENO: result: no" >&5
13832 echo "${ECHO_T}no" >&6
13833 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13834 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13835 cat >conftest.
$ac_ext <<_ACEOF
13838 cat confdefs.h
>>conftest.
$ac_ext
13839 cat >>conftest.
$ac_ext <<_ACEOF
13840 /* end confdefs.h. */
13841 #define __CF_USE_FRAMEWORK_INCLUDES__
13842 #include <CoreFoundation/CFBase.h>
13852 rm -f conftest.
$ac_objext
13853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13854 (eval $ac_compile) 2>conftest.er1
13856 grep -v '^ *+' conftest.er1
>conftest.err
13858 cat conftest.err
>&5
13859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 (exit $ac_status); } &&
13861 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13863 (eval $ac_try) 2>&5
13865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13866 (exit $ac_status); }; } &&
13867 { ac_try
='test -s conftest.$ac_objext'
13868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13869 (eval $ac_try) 2>&5
13871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13872 (exit $ac_status); }; }; then
13873 echo "$as_me:$LINENO: result: yes" >&5
13874 echo "${ECHO_T}yes" >&6
13875 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13877 echo "$as_me: failed program was:" >&5
13878 sed 's/^/| /' conftest.
$ac_ext >&5
13880 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13881 See \`config.log' for more details." >&5
13882 echo "$as_me: error: no. CoreFoundation not available.
13883 See \`config.log' for more details." >&2;}
13884 { (exit 1); exit 1; }; }
13887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13896 *-pc-os2_emx | *-pc-os2-emx )
13897 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13898 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13899 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13900 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13901 echo $ECHO_N "(cached) $ECHO_C" >&6
13903 ac_check_lib_save_LIBS
=$LIBS
13904 LIBS
="-lcExt $LIBS"
13905 cat >conftest.
$ac_ext <<_ACEOF
13908 cat confdefs.h
>>conftest.
$ac_ext
13909 cat >>conftest.
$ac_ext <<_ACEOF
13910 /* end confdefs.h. */
13912 /* Override any gcc2 internal prototype to avoid an error. */
13916 /* We use char because int might match the return type of a gcc2
13917 builtin and then its argument prototype would still apply. */
13927 rm -f conftest.
$ac_objext conftest
$ac_exeext
13928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13929 (eval $ac_link) 2>conftest.er1
13931 grep -v '^ *+' conftest.er1
>conftest.err
13933 cat conftest.err
>&5
13934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13935 (exit $ac_status); } &&
13936 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13938 (eval $ac_try) 2>&5
13940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13941 (exit $ac_status); }; } &&
13942 { ac_try
='test -s conftest$ac_exeext'
13943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13944 (eval $ac_try) 2>&5
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 (exit $ac_status); }; }; then
13948 ac_cv_lib_cExt_drand48
=yes
13950 echo "$as_me: failed program was:" >&5
13951 sed 's/^/| /' conftest.
$ac_ext >&5
13953 ac_cv_lib_cExt_drand48
=no
13955 rm -f conftest.err conftest.
$ac_objext \
13956 conftest
$ac_exeext conftest.
$ac_ext
13957 LIBS
=$ac_check_lib_save_LIBS
13959 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13960 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13961 if test $ac_cv_lib_cExt_drand48 = yes; then
13962 LIBS
="$LIBS -lcExt"
13966 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
13968 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
13969 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
13970 if test "${wx_cv_gccversion+set}" = set; then
13971 echo $ECHO_N "(cached) $ECHO_C" >&6
13974 if test "$cross_compiling" = yes; then
13975 wx_cv_gccversion
="EMX2"
13978 cat >conftest.
$ac_ext <<_ACEOF
13981 cat confdefs.h
>>conftest.
$ac_ext
13982 cat >>conftest.
$ac_ext <<_ACEOF
13983 /* end confdefs.h. */
13989 FILE *f=fopen("conftestval", "w");
13994 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13996 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
14006 rm -f conftest
$ac_exeext
14007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14008 (eval $ac_link) 2>&5
14010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14013 (eval $ac_try) 2>&5
14015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14016 (exit $ac_status); }; }; then
14017 wx_cv_gccversion
=`cat conftestval`
14019 echo "$as_me: program exited with status $ac_status" >&5
14020 echo "$as_me: failed program was:" >&5
14021 sed 's/^/| /' conftest.
$ac_ext >&5
14023 ( exit $ac_status )
14024 wx_cv_gccversion
="EMX2"
14026 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14030 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
14031 echo "${ECHO_T}$wx_cv_gccversion" >&6
14032 if test "$wx_cv_gccversion" = "EMX2"; then
14033 LIBS
="$LIBS -lstdcpp"
14034 LDFLAGS
="$LDFLAGS -Zsysv-signals"
14036 if test "$wx_cv_gccversion" = "EMX3"; then
14037 LIBS
="$LIBS -lstdcxx -lgcc"
14038 LDFLAGS
="$LDFLAGS -Zsysv-signals"
14040 LIBS
="$LIBS -lstdc++"
14043 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
14044 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
14045 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
14055 ac_cpp
='$CXXCPP $CPPFLAGS'
14056 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14057 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14058 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14061 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
14062 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
14063 if test "${ac_cv_string_strcasecmp+set}" = set; then
14064 echo $ECHO_N "(cached) $ECHO_C" >&6
14067 cat >conftest.
$ac_ext <<_ACEOF
14070 cat confdefs.h
>>conftest.
$ac_ext
14071 cat >>conftest.
$ac_ext <<_ACEOF
14072 /* end confdefs.h. */
14074 #include <string.h>
14080 strcasecmp("foo", "bar");
14086 rm -f conftest.
$ac_objext conftest
$ac_exeext
14087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14088 (eval $ac_link) 2>conftest.er1
14090 grep -v '^ *+' conftest.er1
>conftest.err
14092 cat conftest.err
>&5
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); } &&
14095 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14097 (eval $ac_try) 2>&5
14099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100 (exit $ac_status); }; } &&
14101 { ac_try
='test -s conftest$ac_exeext'
14102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14103 (eval $ac_try) 2>&5
14105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106 (exit $ac_status); }; }; then
14107 ac_cv_string_strcasecmp
=yes
14109 echo "$as_me: failed program was:" >&5
14110 sed 's/^/| /' conftest.
$ac_ext >&5
14112 ac_cv_string_strcasecmp
=no
14115 rm -f conftest.err conftest.
$ac_objext \
14116 conftest
$ac_exeext conftest.
$ac_ext
14119 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
14120 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
14122 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
14123 cat >>confdefs.h
<<\_ACEOF
14124 #define HAVE_STRCASECMP_IN_STRING_H 1
14128 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
14129 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
14130 if test "${ac_cv_strings_strcasecmp+set}" = set; then
14131 echo $ECHO_N "(cached) $ECHO_C" >&6
14134 cat >conftest.
$ac_ext <<_ACEOF
14137 cat confdefs.h
>>conftest.
$ac_ext
14138 cat >>conftest.
$ac_ext <<_ACEOF
14139 /* end confdefs.h. */
14141 #include <strings.h>
14147 strcasecmp("foo", "bar");
14153 rm -f conftest.
$ac_objext conftest
$ac_exeext
14154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14155 (eval $ac_link) 2>conftest.er1
14157 grep -v '^ *+' conftest.er1
>conftest.err
14159 cat conftest.err
>&5
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); } &&
14162 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14164 (eval $ac_try) 2>&5
14166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14167 (exit $ac_status); }; } &&
14168 { ac_try
='test -s conftest$ac_exeext'
14169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14170 (eval $ac_try) 2>&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); }; }; then
14174 ac_cv_strings_strcasecmp
=yes
14176 echo "$as_me: failed program was:" >&5
14177 sed 's/^/| /' conftest.
$ac_ext >&5
14179 ac_cv_strings_strcasecmp
=no
14182 rm -f conftest.err conftest.
$ac_objext \
14183 conftest
$ac_exeext conftest.
$ac_ext
14186 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
14187 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
14189 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
14190 cat >>confdefs.h
<<\_ACEOF
14191 #define HAVE_STRCASECMP_IN_STRINGS_H 1
14195 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
14196 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
14197 { (exit 1); exit 1; }; }
14202 ac_cpp
='$CPP $CPPFLAGS'
14203 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14204 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14205 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14211 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14212 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
14213 if test "${ac_cv_header_stdc+set}" = set; then
14214 echo $ECHO_N "(cached) $ECHO_C" >&6
14216 cat >conftest.
$ac_ext <<_ACEOF
14219 cat confdefs.h
>>conftest.
$ac_ext
14220 cat >>conftest.
$ac_ext <<_ACEOF
14221 /* end confdefs.h. */
14222 #include <stdlib.h>
14223 #include <stdarg.h>
14224 #include <string.h>
14235 rm -f conftest.
$ac_objext
14236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14237 (eval $ac_compile) 2>conftest.er1
14239 grep -v '^ *+' conftest.er1
>conftest.err
14241 cat conftest.err
>&5
14242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14243 (exit $ac_status); } &&
14244 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14246 (eval $ac_try) 2>&5
14248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14249 (exit $ac_status); }; } &&
14250 { ac_try
='test -s conftest.$ac_objext'
14251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14252 (eval $ac_try) 2>&5
14254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14255 (exit $ac_status); }; }; then
14256 ac_cv_header_stdc
=yes
14258 echo "$as_me: failed program was:" >&5
14259 sed 's/^/| /' conftest.
$ac_ext >&5
14261 ac_cv_header_stdc
=no
14263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14265 if test $ac_cv_header_stdc = yes; then
14266 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14267 cat >conftest.
$ac_ext <<_ACEOF
14270 cat confdefs.h
>>conftest.
$ac_ext
14271 cat >>conftest.
$ac_ext <<_ACEOF
14272 /* end confdefs.h. */
14273 #include <string.h>
14276 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14277 $EGREP "memchr" >/dev
/null
2>&1; then
14280 ac_cv_header_stdc
=no
14286 if test $ac_cv_header_stdc = yes; then
14287 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14288 cat >conftest.
$ac_ext <<_ACEOF
14291 cat confdefs.h
>>conftest.
$ac_ext
14292 cat >>conftest.
$ac_ext <<_ACEOF
14293 /* end confdefs.h. */
14294 #include <stdlib.h>
14297 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14298 $EGREP "free" >/dev
/null
2>&1; then
14301 ac_cv_header_stdc
=no
14307 if test $ac_cv_header_stdc = yes; then
14308 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14309 if test "$cross_compiling" = yes; then
14312 cat >conftest.
$ac_ext <<_ACEOF
14315 cat confdefs.h
>>conftest.
$ac_ext
14316 cat >>conftest.
$ac_ext <<_ACEOF
14317 /* end confdefs.h. */
14319 #if ((' ' & 0x0FF) == 0x020)
14320 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14321 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14323 # define ISLOWER(c) \
14324 (('a' <= (c) && (c) <= 'i') \
14325 || ('j' <= (c) && (c) <= 'r') \
14326 || ('s' <= (c) && (c) <= 'z'))
14327 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14330 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14335 for (i = 0; i < 256; i++)
14336 if (XOR (islower (i), ISLOWER (i))
14337 || toupper (i) != TOUPPER (i))
14342 rm -f conftest
$ac_exeext
14343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14344 (eval $ac_link) 2>&5
14346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14347 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14349 (eval $ac_try) 2>&5
14351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14352 (exit $ac_status); }; }; then
14355 echo "$as_me: program exited with status $ac_status" >&5
14356 echo "$as_me: failed program was:" >&5
14357 sed 's/^/| /' conftest.
$ac_ext >&5
14359 ( exit $ac_status )
14360 ac_cv_header_stdc
=no
14362 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14366 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14367 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14368 if test $ac_cv_header_stdc = yes; then
14370 cat >>confdefs.h
<<\_ACEOF
14371 #define STDC_HEADERS 1
14376 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
14386 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
14387 inttypes.h stdint.h unistd.h
14389 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14390 echo "$as_me:$LINENO: checking for $ac_header" >&5
14391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14392 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14393 echo $ECHO_N "(cached) $ECHO_C" >&6
14395 cat >conftest.
$ac_ext <<_ACEOF
14398 cat confdefs.h
>>conftest.
$ac_ext
14399 cat >>conftest.
$ac_ext <<_ACEOF
14400 /* end confdefs.h. */
14401 $ac_includes_default
14403 #include <$ac_header>
14405 rm -f conftest.
$ac_objext
14406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14407 (eval $ac_compile) 2>conftest.er1
14409 grep -v '^ *+' conftest.er1
>conftest.err
14411 cat conftest.err
>&5
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 (exit $ac_status); } &&
14414 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14416 (eval $ac_try) 2>&5
14418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14419 (exit $ac_status); }; } &&
14420 { ac_try
='test -s conftest.$ac_objext'
14421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14422 (eval $ac_try) 2>&5
14424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14425 (exit $ac_status); }; }; then
14426 eval "$as_ac_Header=yes"
14428 echo "$as_me: failed program was:" >&5
14429 sed 's/^/| /' conftest.
$ac_ext >&5
14431 eval "$as_ac_Header=no"
14433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14436 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14437 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14438 cat >>confdefs.h
<<_ACEOF
14439 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14448 for ac_header
in stdlib.h
14450 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14452 echo "$as_me:$LINENO: checking for $ac_header" >&5
14453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14455 echo $ECHO_N "(cached) $ECHO_C" >&6
14457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14460 # Is the header compilable?
14461 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14462 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14463 cat >conftest.
$ac_ext <<_ACEOF
14466 cat confdefs.h
>>conftest.
$ac_ext
14467 cat >>conftest.
$ac_ext <<_ACEOF
14468 /* end confdefs.h. */
14469 $ac_includes_default
14470 #include <$ac_header>
14472 rm -f conftest.
$ac_objext
14473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14474 (eval $ac_compile) 2>conftest.er1
14476 grep -v '^ *+' conftest.er1
>conftest.err
14478 cat conftest.err
>&5
14479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14480 (exit $ac_status); } &&
14481 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14483 (eval $ac_try) 2>&5
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 (exit $ac_status); }; } &&
14487 { ac_try
='test -s conftest.$ac_objext'
14488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14489 (eval $ac_try) 2>&5
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); }; }; then
14493 ac_header_compiler
=yes
14495 echo "$as_me: failed program was:" >&5
14496 sed 's/^/| /' conftest.
$ac_ext >&5
14498 ac_header_compiler
=no
14500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14501 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14502 echo "${ECHO_T}$ac_header_compiler" >&6
14504 # Is the header present?
14505 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14506 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14507 cat >conftest.
$ac_ext <<_ACEOF
14510 cat confdefs.h
>>conftest.
$ac_ext
14511 cat >>conftest.
$ac_ext <<_ACEOF
14512 /* end confdefs.h. */
14513 #include <$ac_header>
14515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14516 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14518 grep -v '^ *+' conftest.er1
>conftest.err
14520 cat conftest.err
>&5
14521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14522 (exit $ac_status); } >/dev
/null
; then
14523 if test -s conftest.err
; then
14524 ac_cpp_err
=$ac_c_preproc_warn_flag
14525 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14532 if test -z "$ac_cpp_err"; then
14533 ac_header_preproc
=yes
14535 echo "$as_me: failed program was:" >&5
14536 sed 's/^/| /' conftest.
$ac_ext >&5
14538 ac_header_preproc
=no
14540 rm -f conftest.err conftest.
$ac_ext
14541 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14542 echo "${ECHO_T}$ac_header_preproc" >&6
14544 # So? What about this header?
14545 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14547 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14548 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14550 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14551 ac_header_preproc
=yes
14554 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14555 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14556 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14557 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14558 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14559 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14560 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14561 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14562 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14563 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14564 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14565 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14568 ## ----------------------------------------- ##
14569 ## Report this to wx-dev@lists.wxwidgets.org ##
14570 ## ----------------------------------------- ##
14573 sed "s/^/$as_me: WARNING: /" >&2
14576 echo "$as_me:$LINENO: checking for $ac_header" >&5
14577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14579 echo $ECHO_N "(cached) $ECHO_C" >&6
14581 eval "$as_ac_Header=\$ac_header_preproc"
14583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14587 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14588 cat >>confdefs.h
<<_ACEOF
14589 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14597 for ac_header
in malloc.h
14599 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14601 echo "$as_me:$LINENO: checking for $ac_header" >&5
14602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14604 echo $ECHO_N "(cached) $ECHO_C" >&6
14606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14607 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14609 # Is the header compilable?
14610 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14611 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14612 cat >conftest.
$ac_ext <<_ACEOF
14615 cat confdefs.h
>>conftest.
$ac_ext
14616 cat >>conftest.
$ac_ext <<_ACEOF
14617 /* end confdefs.h. */
14618 $ac_includes_default
14619 #include <$ac_header>
14621 rm -f conftest.
$ac_objext
14622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14623 (eval $ac_compile) 2>conftest.er1
14625 grep -v '^ *+' conftest.er1
>conftest.err
14627 cat conftest.err
>&5
14628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14629 (exit $ac_status); } &&
14630 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14632 (eval $ac_try) 2>&5
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); }; } &&
14636 { ac_try
='test -s conftest.$ac_objext'
14637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14638 (eval $ac_try) 2>&5
14640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14641 (exit $ac_status); }; }; then
14642 ac_header_compiler
=yes
14644 echo "$as_me: failed program was:" >&5
14645 sed 's/^/| /' conftest.
$ac_ext >&5
14647 ac_header_compiler
=no
14649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14650 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14651 echo "${ECHO_T}$ac_header_compiler" >&6
14653 # Is the header present?
14654 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14655 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14656 cat >conftest.
$ac_ext <<_ACEOF
14659 cat confdefs.h
>>conftest.
$ac_ext
14660 cat >>conftest.
$ac_ext <<_ACEOF
14661 /* end confdefs.h. */
14662 #include <$ac_header>
14664 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14665 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14667 grep -v '^ *+' conftest.er1
>conftest.err
14669 cat conftest.err
>&5
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); } >/dev
/null
; then
14672 if test -s conftest.err
; then
14673 ac_cpp_err
=$ac_c_preproc_warn_flag
14674 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14681 if test -z "$ac_cpp_err"; then
14682 ac_header_preproc
=yes
14684 echo "$as_me: failed program was:" >&5
14685 sed 's/^/| /' conftest.
$ac_ext >&5
14687 ac_header_preproc
=no
14689 rm -f conftest.err conftest.
$ac_ext
14690 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14691 echo "${ECHO_T}$ac_header_preproc" >&6
14693 # So? What about this header?
14694 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14696 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14697 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14698 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14699 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14700 ac_header_preproc
=yes
14703 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14704 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14705 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14706 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14707 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14708 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14709 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14710 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14711 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14712 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14713 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14714 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14717 ## ----------------------------------------- ##
14718 ## Report this to wx-dev@lists.wxwidgets.org ##
14719 ## ----------------------------------------- ##
14722 sed "s/^/$as_me: WARNING: /" >&2
14725 echo "$as_me:$LINENO: checking for $ac_header" >&5
14726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14728 echo $ECHO_N "(cached) $ECHO_C" >&6
14730 eval "$as_ac_Header=\$ac_header_preproc"
14732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14736 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14737 cat >>confdefs.h
<<_ACEOF
14738 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14746 for ac_header
in unistd.h
14748 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14750 echo "$as_me:$LINENO: checking for $ac_header" >&5
14751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14753 echo $ECHO_N "(cached) $ECHO_C" >&6
14755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14758 # Is the header compilable?
14759 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14760 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14761 cat >conftest.
$ac_ext <<_ACEOF
14764 cat confdefs.h
>>conftest.
$ac_ext
14765 cat >>conftest.
$ac_ext <<_ACEOF
14766 /* end confdefs.h. */
14767 $ac_includes_default
14768 #include <$ac_header>
14770 rm -f conftest.
$ac_objext
14771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14772 (eval $ac_compile) 2>conftest.er1
14774 grep -v '^ *+' conftest.er1
>conftest.err
14776 cat conftest.err
>&5
14777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14778 (exit $ac_status); } &&
14779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14781 (eval $ac_try) 2>&5
14783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14784 (exit $ac_status); }; } &&
14785 { ac_try
='test -s conftest.$ac_objext'
14786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14787 (eval $ac_try) 2>&5
14789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 (exit $ac_status); }; }; then
14791 ac_header_compiler
=yes
14793 echo "$as_me: failed program was:" >&5
14794 sed 's/^/| /' conftest.
$ac_ext >&5
14796 ac_header_compiler
=no
14798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14799 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14800 echo "${ECHO_T}$ac_header_compiler" >&6
14802 # Is the header present?
14803 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14804 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14805 cat >conftest.
$ac_ext <<_ACEOF
14808 cat confdefs.h
>>conftest.
$ac_ext
14809 cat >>conftest.
$ac_ext <<_ACEOF
14810 /* end confdefs.h. */
14811 #include <$ac_header>
14813 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14814 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14816 grep -v '^ *+' conftest.er1
>conftest.err
14818 cat conftest.err
>&5
14819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14820 (exit $ac_status); } >/dev
/null
; then
14821 if test -s conftest.err
; then
14822 ac_cpp_err
=$ac_c_preproc_warn_flag
14823 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14830 if test -z "$ac_cpp_err"; then
14831 ac_header_preproc
=yes
14833 echo "$as_me: failed program was:" >&5
14834 sed 's/^/| /' conftest.
$ac_ext >&5
14836 ac_header_preproc
=no
14838 rm -f conftest.err conftest.
$ac_ext
14839 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14840 echo "${ECHO_T}$ac_header_preproc" >&6
14842 # So? What about this header?
14843 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14845 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14846 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14847 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14848 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14849 ac_header_preproc
=yes
14852 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14853 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14854 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14855 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14856 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14857 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14858 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14859 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14860 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14861 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14862 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14863 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14866 ## ----------------------------------------- ##
14867 ## Report this to wx-dev@lists.wxwidgets.org ##
14868 ## ----------------------------------------- ##
14871 sed "s/^/$as_me: WARNING: /" >&2
14874 echo "$as_me:$LINENO: checking for $ac_header" >&5
14875 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14877 echo $ECHO_N "(cached) $ECHO_C" >&6
14879 eval "$as_ac_Header=\$ac_header_preproc"
14881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14882 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14885 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14886 cat >>confdefs.h
<<_ACEOF
14887 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14895 for ac_header
in wchar.h
14897 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14899 echo "$as_me:$LINENO: checking for $ac_header" >&5
14900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14902 echo $ECHO_N "(cached) $ECHO_C" >&6
14904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14905 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14907 # Is the header compilable?
14908 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14909 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14910 cat >conftest.
$ac_ext <<_ACEOF
14913 cat confdefs.h
>>conftest.
$ac_ext
14914 cat >>conftest.
$ac_ext <<_ACEOF
14915 /* end confdefs.h. */
14916 $ac_includes_default
14917 #include <$ac_header>
14919 rm -f conftest.
$ac_objext
14920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14921 (eval $ac_compile) 2>conftest.er1
14923 grep -v '^ *+' conftest.er1
>conftest.err
14925 cat conftest.err
>&5
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); } &&
14928 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14930 (eval $ac_try) 2>&5
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); }; } &&
14934 { ac_try
='test -s conftest.$ac_objext'
14935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14936 (eval $ac_try) 2>&5
14938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14939 (exit $ac_status); }; }; then
14940 ac_header_compiler
=yes
14942 echo "$as_me: failed program was:" >&5
14943 sed 's/^/| /' conftest.
$ac_ext >&5
14945 ac_header_compiler
=no
14947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14948 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14949 echo "${ECHO_T}$ac_header_compiler" >&6
14951 # Is the header present?
14952 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14953 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14954 cat >conftest.
$ac_ext <<_ACEOF
14957 cat confdefs.h
>>conftest.
$ac_ext
14958 cat >>conftest.
$ac_ext <<_ACEOF
14959 /* end confdefs.h. */
14960 #include <$ac_header>
14962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14963 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14965 grep -v '^ *+' conftest.er1
>conftest.err
14967 cat conftest.err
>&5
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); } >/dev
/null
; then
14970 if test -s conftest.err
; then
14971 ac_cpp_err
=$ac_c_preproc_warn_flag
14972 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14979 if test -z "$ac_cpp_err"; then
14980 ac_header_preproc
=yes
14982 echo "$as_me: failed program was:" >&5
14983 sed 's/^/| /' conftest.
$ac_ext >&5
14985 ac_header_preproc
=no
14987 rm -f conftest.err conftest.
$ac_ext
14988 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14989 echo "${ECHO_T}$ac_header_preproc" >&6
14991 # So? What about this header?
14992 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14994 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14995 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14996 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14997 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14998 ac_header_preproc
=yes
15001 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15002 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15003 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15004 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15005 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15006 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15007 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15008 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15009 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15010 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15011 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15012 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15015 ## ----------------------------------------- ##
15016 ## Report this to wx-dev@lists.wxwidgets.org ##
15017 ## ----------------------------------------- ##
15020 sed "s/^/$as_me: WARNING: /" >&2
15023 echo "$as_me:$LINENO: checking for $ac_header" >&5
15024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15026 echo $ECHO_N "(cached) $ECHO_C" >&6
15028 eval "$as_ac_Header=\$ac_header_preproc"
15030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15034 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15035 cat >>confdefs.h
<<_ACEOF
15036 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15044 if test "$ac_cv_header_wchar_h" != "yes"; then
15046 for ac_header
in wcstr.h
15048 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15050 echo "$as_me:$LINENO: checking for $ac_header" >&5
15051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15053 echo $ECHO_N "(cached) $ECHO_C" >&6
15055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15056 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15058 # Is the header compilable?
15059 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15060 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15061 cat >conftest.
$ac_ext <<_ACEOF
15064 cat confdefs.h
>>conftest.
$ac_ext
15065 cat >>conftest.
$ac_ext <<_ACEOF
15066 /* end confdefs.h. */
15067 $ac_includes_default
15068 #include <$ac_header>
15070 rm -f conftest.
$ac_objext
15071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15072 (eval $ac_compile) 2>conftest.er1
15074 grep -v '^ *+' conftest.er1
>conftest.err
15076 cat conftest.err
>&5
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); } &&
15079 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15081 (eval $ac_try) 2>&5
15083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084 (exit $ac_status); }; } &&
15085 { ac_try
='test -s conftest.$ac_objext'
15086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15087 (eval $ac_try) 2>&5
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); }; }; then
15091 ac_header_compiler
=yes
15093 echo "$as_me: failed program was:" >&5
15094 sed 's/^/| /' conftest.
$ac_ext >&5
15096 ac_header_compiler
=no
15098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15099 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15100 echo "${ECHO_T}$ac_header_compiler" >&6
15102 # Is the header present?
15103 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15104 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15105 cat >conftest.
$ac_ext <<_ACEOF
15108 cat confdefs.h
>>conftest.
$ac_ext
15109 cat >>conftest.
$ac_ext <<_ACEOF
15110 /* end confdefs.h. */
15111 #include <$ac_header>
15113 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15114 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15116 grep -v '^ *+' conftest.er1
>conftest.err
15118 cat conftest.err
>&5
15119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15120 (exit $ac_status); } >/dev
/null
; then
15121 if test -s conftest.err
; then
15122 ac_cpp_err
=$ac_c_preproc_warn_flag
15123 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15130 if test -z "$ac_cpp_err"; then
15131 ac_header_preproc
=yes
15133 echo "$as_me: failed program was:" >&5
15134 sed 's/^/| /' conftest.
$ac_ext >&5
15136 ac_header_preproc
=no
15138 rm -f conftest.err conftest.
$ac_ext
15139 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15140 echo "${ECHO_T}$ac_header_preproc" >&6
15142 # So? What about this header?
15143 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15145 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15146 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15147 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15148 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15149 ac_header_preproc
=yes
15152 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15153 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15154 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15155 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15156 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15157 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15158 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15159 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15160 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15161 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15162 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15163 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15166 ## ----------------------------------------- ##
15167 ## Report this to wx-dev@lists.wxwidgets.org ##
15168 ## ----------------------------------------- ##
15171 sed "s/^/$as_me: WARNING: /" >&2
15174 echo "$as_me:$LINENO: checking for $ac_header" >&5
15175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15177 echo $ECHO_N "(cached) $ECHO_C" >&6
15179 eval "$as_ac_Header=\$ac_header_preproc"
15181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15182 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15185 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15186 cat >>confdefs.h
<<_ACEOF
15187 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15197 for ac_header
in fnmatch.h
15199 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15201 echo "$as_me:$LINENO: checking for $ac_header" >&5
15202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15204 echo $ECHO_N "(cached) $ECHO_C" >&6
15206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15209 # Is the header compilable?
15210 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15211 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15212 cat >conftest.
$ac_ext <<_ACEOF
15215 cat confdefs.h
>>conftest.
$ac_ext
15216 cat >>conftest.
$ac_ext <<_ACEOF
15217 /* end confdefs.h. */
15218 $ac_includes_default
15219 #include <$ac_header>
15221 rm -f conftest.
$ac_objext
15222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15223 (eval $ac_compile) 2>conftest.er1
15225 grep -v '^ *+' conftest.er1
>conftest.err
15227 cat conftest.err
>&5
15228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15229 (exit $ac_status); } &&
15230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15232 (eval $ac_try) 2>&5
15234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15235 (exit $ac_status); }; } &&
15236 { ac_try
='test -s conftest.$ac_objext'
15237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15238 (eval $ac_try) 2>&5
15240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); }; }; then
15242 ac_header_compiler
=yes
15244 echo "$as_me: failed program was:" >&5
15245 sed 's/^/| /' conftest.
$ac_ext >&5
15247 ac_header_compiler
=no
15249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15250 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15251 echo "${ECHO_T}$ac_header_compiler" >&6
15253 # Is the header present?
15254 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15255 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15256 cat >conftest.
$ac_ext <<_ACEOF
15259 cat confdefs.h
>>conftest.
$ac_ext
15260 cat >>conftest.
$ac_ext <<_ACEOF
15261 /* end confdefs.h. */
15262 #include <$ac_header>
15264 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15265 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15267 grep -v '^ *+' conftest.er1
>conftest.err
15269 cat conftest.err
>&5
15270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15271 (exit $ac_status); } >/dev
/null
; then
15272 if test -s conftest.err
; then
15273 ac_cpp_err
=$ac_c_preproc_warn_flag
15274 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15281 if test -z "$ac_cpp_err"; then
15282 ac_header_preproc
=yes
15284 echo "$as_me: failed program was:" >&5
15285 sed 's/^/| /' conftest.
$ac_ext >&5
15287 ac_header_preproc
=no
15289 rm -f conftest.err conftest.
$ac_ext
15290 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15291 echo "${ECHO_T}$ac_header_preproc" >&6
15293 # So? What about this header?
15294 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15296 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15297 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15298 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15299 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15300 ac_header_preproc
=yes
15303 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15304 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15305 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15306 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15307 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15308 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15309 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15310 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15311 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15312 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15313 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15314 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15317 ## ----------------------------------------- ##
15318 ## Report this to wx-dev@lists.wxwidgets.org ##
15319 ## ----------------------------------------- ##
15322 sed "s/^/$as_me: WARNING: /" >&2
15325 echo "$as_me:$LINENO: checking for $ac_header" >&5
15326 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15328 echo $ECHO_N "(cached) $ECHO_C" >&6
15330 eval "$as_ac_Header=\$ac_header_preproc"
15332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15333 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15336 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15337 cat >>confdefs.h
<<_ACEOF
15338 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15347 for ac_header
in langinfo.h
15349 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15351 echo "$as_me:$LINENO: checking for $ac_header" >&5
15352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15354 echo $ECHO_N "(cached) $ECHO_C" >&6
15356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15357 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15359 # Is the header compilable?
15360 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15361 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15362 cat >conftest.
$ac_ext <<_ACEOF
15365 cat confdefs.h
>>conftest.
$ac_ext
15366 cat >>conftest.
$ac_ext <<_ACEOF
15367 /* end confdefs.h. */
15368 $ac_includes_default
15369 #include <$ac_header>
15371 rm -f conftest.
$ac_objext
15372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15373 (eval $ac_compile) 2>conftest.er1
15375 grep -v '^ *+' conftest.er1
>conftest.err
15377 cat conftest.err
>&5
15378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); } &&
15380 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15382 (eval $ac_try) 2>&5
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); }; } &&
15386 { ac_try
='test -s conftest.$ac_objext'
15387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15388 (eval $ac_try) 2>&5
15390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15391 (exit $ac_status); }; }; then
15392 ac_header_compiler
=yes
15394 echo "$as_me: failed program was:" >&5
15395 sed 's/^/| /' conftest.
$ac_ext >&5
15397 ac_header_compiler
=no
15399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15400 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15401 echo "${ECHO_T}$ac_header_compiler" >&6
15403 # Is the header present?
15404 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15405 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15406 cat >conftest.
$ac_ext <<_ACEOF
15409 cat confdefs.h
>>conftest.
$ac_ext
15410 cat >>conftest.
$ac_ext <<_ACEOF
15411 /* end confdefs.h. */
15412 #include <$ac_header>
15414 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15415 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15417 grep -v '^ *+' conftest.er1
>conftest.err
15419 cat conftest.err
>&5
15420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15421 (exit $ac_status); } >/dev
/null
; then
15422 if test -s conftest.err
; then
15423 ac_cpp_err
=$ac_c_preproc_warn_flag
15424 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15431 if test -z "$ac_cpp_err"; then
15432 ac_header_preproc
=yes
15434 echo "$as_me: failed program was:" >&5
15435 sed 's/^/| /' conftest.
$ac_ext >&5
15437 ac_header_preproc
=no
15439 rm -f conftest.err conftest.
$ac_ext
15440 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15441 echo "${ECHO_T}$ac_header_preproc" >&6
15443 # So? What about this header?
15444 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15446 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15447 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15449 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15450 ac_header_preproc
=yes
15453 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15454 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15455 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15456 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15457 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15458 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15459 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15460 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15461 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15462 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15463 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15464 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15467 ## ----------------------------------------- ##
15468 ## Report this to wx-dev@lists.wxwidgets.org ##
15469 ## ----------------------------------------- ##
15472 sed "s/^/$as_me: WARNING: /" >&2
15475 echo "$as_me:$LINENO: checking for $ac_header" >&5
15476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15478 echo $ECHO_N "(cached) $ECHO_C" >&6
15480 eval "$as_ac_Header=\$ac_header_preproc"
15482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15487 cat >>confdefs.h
<<_ACEOF
15488 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15497 *-pc-os2_emx | *-pc-os2-emx )
15498 if test $ac_cv_header_langinfo_h = "yes" \
15499 -a \
( "$wx_cv_gccversion" = "EMX2" \
15500 -o "$wx_cv_gccversion" = "EMX3" \
15501 -o "$wx_cv_gccversion" = "Innotek5" \
); then
15502 LIBS
="$LIBS -lintl"
15508 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15509 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15510 if test "${ac_cv_c_const+set}" = set; then
15511 echo $ECHO_N "(cached) $ECHO_C" >&6
15513 cat >conftest.
$ac_ext <<_ACEOF
15516 cat confdefs.h
>>conftest.
$ac_ext
15517 cat >>conftest.
$ac_ext <<_ACEOF
15518 /* end confdefs.h. */
15523 /* FIXME: Include the comments suggested by Paul. */
15524 #ifndef __cplusplus
15525 /* Ultrix mips cc rejects this. */
15526 typedef int charset[2];
15528 /* SunOS 4.1.1 cc rejects this. */
15529 char const *const *ccp;
15531 /* NEC SVR4.0.2 mips cc rejects this. */
15532 struct point {int x, y;};
15533 static struct point const zero = {0,0};
15534 /* AIX XL C 1.02.0.0 rejects this.
15535 It does not let you subtract one const X* pointer from another in
15536 an arm of an if-expression whose if-part is not a constant
15538 const char *g = "string";
15539 ccp = &g + (g ? g-g : 0);
15540 /* HPUX 7.0 cc rejects these. */
15543 ccp = (char const *const *) p;
15544 { /* SCO 3.2v4 cc rejects this. */
15546 char const *s = 0 ? (char *) 0 : (char const *) 0;
15550 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15551 int x[] = {25, 17};
15552 const int *foo = &x[0];
15555 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15556 typedef const int *iptr;
15560 { /* AIX XL C 1.02.0.0 rejects this saying
15561 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15562 struct s { int j; const int *ap[3]; };
15563 struct s *b; b->j = 5;
15565 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15566 const int foo = 10;
15574 rm -f conftest.
$ac_objext
15575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15576 (eval $ac_compile) 2>conftest.er1
15578 grep -v '^ *+' conftest.er1
>conftest.err
15580 cat conftest.err
>&5
15581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15582 (exit $ac_status); } &&
15583 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15585 (eval $ac_try) 2>&5
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); }; } &&
15589 { ac_try
='test -s conftest.$ac_objext'
15590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15591 (eval $ac_try) 2>&5
15593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15594 (exit $ac_status); }; }; then
15597 echo "$as_me: failed program was:" >&5
15598 sed 's/^/| /' conftest.
$ac_ext >&5
15602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15604 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15605 echo "${ECHO_T}$ac_cv_c_const" >&6
15606 if test $ac_cv_c_const = no
; then
15608 cat >>confdefs.h
<<\_ACEOF
15614 echo "$as_me:$LINENO: checking for inline" >&5
15615 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15616 if test "${ac_cv_c_inline+set}" = set; then
15617 echo $ECHO_N "(cached) $ECHO_C" >&6
15620 for ac_kw
in inline __inline__ __inline
; do
15621 cat >conftest.
$ac_ext <<_ACEOF
15624 cat confdefs.h
>>conftest.
$ac_ext
15625 cat >>conftest.
$ac_ext <<_ACEOF
15626 /* end confdefs.h. */
15627 #ifndef __cplusplus
15629 static $ac_kw foo_t static_foo () {return 0; }
15630 $ac_kw foo_t foo () {return 0; }
15634 rm -f conftest.
$ac_objext
15635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15636 (eval $ac_compile) 2>conftest.er1
15638 grep -v '^ *+' conftest.er1
>conftest.err
15640 cat conftest.err
>&5
15641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15642 (exit $ac_status); } &&
15643 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15645 (eval $ac_try) 2>&5
15647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15648 (exit $ac_status); }; } &&
15649 { ac_try
='test -s conftest.$ac_objext'
15650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15651 (eval $ac_try) 2>&5
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15654 (exit $ac_status); }; }; then
15655 ac_cv_c_inline
=$ac_kw; break
15657 echo "$as_me: failed program was:" >&5
15658 sed 's/^/| /' conftest.
$ac_ext >&5
15661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15665 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15666 echo "${ECHO_T}$ac_cv_c_inline" >&6
15669 case $ac_cv_c_inline in
15672 case $ac_cv_c_inline in
15674 *) ac_val
=$ac_cv_c_inline;;
15676 cat >>confdefs.h
<<_ACEOF
15677 #ifndef __cplusplus
15678 #define inline $ac_val
15685 echo "$as_me:$LINENO: checking for char" >&5
15686 echo $ECHO_N "checking for char... $ECHO_C" >&6
15687 if test "${ac_cv_type_char+set}" = set; then
15688 echo $ECHO_N "(cached) $ECHO_C" >&6
15690 cat >conftest.
$ac_ext <<_ACEOF
15693 cat confdefs.h
>>conftest.
$ac_ext
15694 cat >>conftest.
$ac_ext <<_ACEOF
15695 /* end confdefs.h. */
15696 $ac_includes_default
15708 rm -f conftest.
$ac_objext
15709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15710 (eval $ac_compile) 2>conftest.er1
15712 grep -v '^ *+' conftest.er1
>conftest.err
15714 cat conftest.err
>&5
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); } &&
15717 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15719 (eval $ac_try) 2>&5
15721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15722 (exit $ac_status); }; } &&
15723 { ac_try
='test -s conftest.$ac_objext'
15724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15725 (eval $ac_try) 2>&5
15727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15728 (exit $ac_status); }; }; then
15729 ac_cv_type_char
=yes
15731 echo "$as_me: failed program was:" >&5
15732 sed 's/^/| /' conftest.
$ac_ext >&5
15736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15738 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15739 echo "${ECHO_T}$ac_cv_type_char" >&6
15741 echo "$as_me:$LINENO: checking size of char" >&5
15742 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15743 if test "${ac_cv_sizeof_char+set}" = set; then
15744 echo $ECHO_N "(cached) $ECHO_C" >&6
15746 if test "$ac_cv_type_char" = yes; then
15747 # The cast to unsigned long works around a bug in the HP C Compiler
15748 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15749 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15750 # This bug is HP SR number 8606223364.
15751 if test "$cross_compiling" = yes; then
15752 # Depending upon the size, compute the lo and hi bounds.
15753 cat >conftest.
$ac_ext <<_ACEOF
15756 cat confdefs.h
>>conftest.
$ac_ext
15757 cat >>conftest.
$ac_ext <<_ACEOF
15758 /* end confdefs.h. */
15759 $ac_includes_default
15763 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15770 rm -f conftest.
$ac_objext
15771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15772 (eval $ac_compile) 2>conftest.er1
15774 grep -v '^ *+' conftest.er1
>conftest.err
15776 cat conftest.err
>&5
15777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); } &&
15779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15781 (eval $ac_try) 2>&5
15783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15784 (exit $ac_status); }; } &&
15785 { ac_try
='test -s conftest.$ac_objext'
15786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15787 (eval $ac_try) 2>&5
15789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15790 (exit $ac_status); }; }; then
15793 cat >conftest.
$ac_ext <<_ACEOF
15796 cat confdefs.h
>>conftest.
$ac_ext
15797 cat >>conftest.
$ac_ext <<_ACEOF
15798 /* end confdefs.h. */
15799 $ac_includes_default
15803 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15810 rm -f conftest.
$ac_objext
15811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15812 (eval $ac_compile) 2>conftest.er1
15814 grep -v '^ *+' conftest.er1
>conftest.err
15816 cat conftest.err
>&5
15817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15818 (exit $ac_status); } &&
15819 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15821 (eval $ac_try) 2>&5
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); }; } &&
15825 { ac_try
='test -s conftest.$ac_objext'
15826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15827 (eval $ac_try) 2>&5
15829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15830 (exit $ac_status); }; }; then
15831 ac_hi
=$ac_mid; break
15833 echo "$as_me: failed program was:" >&5
15834 sed 's/^/| /' conftest.
$ac_ext >&5
15836 ac_lo
=`expr $ac_mid + 1`
15837 if test $ac_lo -le $ac_mid; then
15841 ac_mid
=`expr 2 '*' $ac_mid + 1`
15843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15846 echo "$as_me: failed program was:" >&5
15847 sed 's/^/| /' conftest.
$ac_ext >&5
15849 cat >conftest.
$ac_ext <<_ACEOF
15852 cat confdefs.h
>>conftest.
$ac_ext
15853 cat >>conftest.
$ac_ext <<_ACEOF
15854 /* end confdefs.h. */
15855 $ac_includes_default
15859 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15866 rm -f conftest.
$ac_objext
15867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15868 (eval $ac_compile) 2>conftest.er1
15870 grep -v '^ *+' conftest.er1
>conftest.err
15872 cat conftest.err
>&5
15873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15874 (exit $ac_status); } &&
15875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15877 (eval $ac_try) 2>&5
15879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15880 (exit $ac_status); }; } &&
15881 { ac_try
='test -s conftest.$ac_objext'
15882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15883 (eval $ac_try) 2>&5
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); }; }; then
15889 cat >conftest.
$ac_ext <<_ACEOF
15892 cat confdefs.h
>>conftest.
$ac_ext
15893 cat >>conftest.
$ac_ext <<_ACEOF
15894 /* end confdefs.h. */
15895 $ac_includes_default
15899 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15906 rm -f conftest.
$ac_objext
15907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15908 (eval $ac_compile) 2>conftest.er1
15910 grep -v '^ *+' conftest.er1
>conftest.err
15912 cat conftest.err
>&5
15913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15914 (exit $ac_status); } &&
15915 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15917 (eval $ac_try) 2>&5
15919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15920 (exit $ac_status); }; } &&
15921 { ac_try
='test -s conftest.$ac_objext'
15922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15923 (eval $ac_try) 2>&5
15925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15926 (exit $ac_status); }; }; then
15927 ac_lo
=$ac_mid; break
15929 echo "$as_me: failed program was:" >&5
15930 sed 's/^/| /' conftest.
$ac_ext >&5
15932 ac_hi
=`expr '(' $ac_mid ')' - 1`
15933 if test $ac_mid -le $ac_hi; then
15937 ac_mid
=`expr 2 '*' $ac_mid`
15939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15942 echo "$as_me: failed program was:" >&5
15943 sed 's/^/| /' conftest.
$ac_ext >&5
15947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15950 # Binary search between lo and hi bounds.
15951 while test "x$ac_lo" != "x$ac_hi"; do
15952 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15953 cat >conftest.
$ac_ext <<_ACEOF
15956 cat confdefs.h
>>conftest.
$ac_ext
15957 cat >>conftest.
$ac_ext <<_ACEOF
15958 /* end confdefs.h. */
15959 $ac_includes_default
15963 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15970 rm -f conftest.
$ac_objext
15971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15972 (eval $ac_compile) 2>conftest.er1
15974 grep -v '^ *+' conftest.er1
>conftest.err
15976 cat conftest.err
>&5
15977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978 (exit $ac_status); } &&
15979 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15981 (eval $ac_try) 2>&5
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); }; } &&
15985 { ac_try
='test -s conftest.$ac_objext'
15986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15987 (eval $ac_try) 2>&5
15989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15990 (exit $ac_status); }; }; then
15993 echo "$as_me: failed program was:" >&5
15994 sed 's/^/| /' conftest.
$ac_ext >&5
15996 ac_lo
=`expr '(' $ac_mid ')' + 1`
15998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16001 ?
*) ac_cv_sizeof_char
=$ac_lo;;
16002 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16003 See \`config.log' for more details." >&5
16004 echo "$as_me: error: cannot compute sizeof (char), 77
16005 See \`config.log' for more details." >&2;}
16006 { (exit 1); exit 1; }; } ;;
16009 if test "$cross_compiling" = yes; then
16010 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16011 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16012 { (exit 1); exit 1; }; }
16014 cat >conftest.
$ac_ext <<_ACEOF
16017 cat confdefs.h
>>conftest.
$ac_ext
16018 cat >>conftest.
$ac_ext <<_ACEOF
16019 /* end confdefs.h. */
16020 $ac_includes_default
16021 long longval () { return (long) (sizeof (char)); }
16022 unsigned long ulongval () { return (long) (sizeof (char)); }
16024 #include <stdlib.h>
16029 FILE *f = fopen ("conftest.val", "w");
16032 if (((long) (sizeof (char))) < 0)
16034 long i = longval ();
16035 if (i != ((long) (sizeof (char))))
16037 fprintf (f, "%ld\n", i);
16041 unsigned long i = ulongval ();
16042 if (i != ((long) (sizeof (char))))
16044 fprintf (f, "%lu\n", i);
16046 exit (ferror (f) || fclose (f) != 0);
16052 rm -f conftest
$ac_exeext
16053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16054 (eval $ac_link) 2>&5
16056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16057 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16059 (eval $ac_try) 2>&5
16061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16062 (exit $ac_status); }; }; then
16063 ac_cv_sizeof_char
=`cat conftest.val`
16065 echo "$as_me: program exited with status $ac_status" >&5
16066 echo "$as_me: failed program was:" >&5
16067 sed 's/^/| /' conftest.
$ac_ext >&5
16069 ( exit $ac_status )
16070 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16071 See \`config.log' for more details." >&5
16072 echo "$as_me: error: cannot compute sizeof (char), 77
16073 See \`config.log' for more details." >&2;}
16074 { (exit 1); exit 1; }; }
16076 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16081 ac_cv_sizeof_char
=0
16084 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
16085 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
16086 cat >>confdefs.h
<<_ACEOF
16087 #define SIZEOF_CHAR $ac_cv_sizeof_char
16091 echo "$as_me:$LINENO: checking for short" >&5
16092 echo $ECHO_N "checking for short... $ECHO_C" >&6
16093 if test "${ac_cv_type_short+set}" = set; then
16094 echo $ECHO_N "(cached) $ECHO_C" >&6
16096 cat >conftest.
$ac_ext <<_ACEOF
16099 cat confdefs.h
>>conftest.
$ac_ext
16100 cat >>conftest.
$ac_ext <<_ACEOF
16101 /* end confdefs.h. */
16102 $ac_includes_default
16108 if (sizeof (short))
16114 rm -f conftest.
$ac_objext
16115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16116 (eval $ac_compile) 2>conftest.er1
16118 grep -v '^ *+' conftest.er1
>conftest.err
16120 cat conftest.err
>&5
16121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16122 (exit $ac_status); } &&
16123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16125 (eval $ac_try) 2>&5
16127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16128 (exit $ac_status); }; } &&
16129 { ac_try
='test -s conftest.$ac_objext'
16130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16131 (eval $ac_try) 2>&5
16133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134 (exit $ac_status); }; }; then
16135 ac_cv_type_short
=yes
16137 echo "$as_me: failed program was:" >&5
16138 sed 's/^/| /' conftest.
$ac_ext >&5
16140 ac_cv_type_short
=no
16142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16144 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16145 echo "${ECHO_T}$ac_cv_type_short" >&6
16147 echo "$as_me:$LINENO: checking size of short" >&5
16148 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16149 if test "${ac_cv_sizeof_short+set}" = set; then
16150 echo $ECHO_N "(cached) $ECHO_C" >&6
16152 if test "$ac_cv_type_short" = yes; then
16153 # The cast to unsigned long works around a bug in the HP C Compiler
16154 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16155 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16156 # This bug is HP SR number 8606223364.
16157 if test "$cross_compiling" = yes; then
16158 # Depending upon the size, compute the lo and hi bounds.
16159 cat >conftest.
$ac_ext <<_ACEOF
16162 cat confdefs.h
>>conftest.
$ac_ext
16163 cat >>conftest.
$ac_ext <<_ACEOF
16164 /* end confdefs.h. */
16165 $ac_includes_default
16169 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16176 rm -f conftest.
$ac_objext
16177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16178 (eval $ac_compile) 2>conftest.er1
16180 grep -v '^ *+' conftest.er1
>conftest.err
16182 cat conftest.err
>&5
16183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16184 (exit $ac_status); } &&
16185 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16187 (eval $ac_try) 2>&5
16189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16190 (exit $ac_status); }; } &&
16191 { ac_try
='test -s conftest.$ac_objext'
16192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16193 (eval $ac_try) 2>&5
16195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16196 (exit $ac_status); }; }; then
16199 cat >conftest.
$ac_ext <<_ACEOF
16202 cat confdefs.h
>>conftest.
$ac_ext
16203 cat >>conftest.
$ac_ext <<_ACEOF
16204 /* end confdefs.h. */
16205 $ac_includes_default
16209 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16216 rm -f conftest.
$ac_objext
16217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16218 (eval $ac_compile) 2>conftest.er1
16220 grep -v '^ *+' conftest.er1
>conftest.err
16222 cat conftest.err
>&5
16223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16224 (exit $ac_status); } &&
16225 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16227 (eval $ac_try) 2>&5
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); }; } &&
16231 { ac_try
='test -s conftest.$ac_objext'
16232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16233 (eval $ac_try) 2>&5
16235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236 (exit $ac_status); }; }; then
16237 ac_hi
=$ac_mid; break
16239 echo "$as_me: failed program was:" >&5
16240 sed 's/^/| /' conftest.
$ac_ext >&5
16242 ac_lo
=`expr $ac_mid + 1`
16243 if test $ac_lo -le $ac_mid; then
16247 ac_mid
=`expr 2 '*' $ac_mid + 1`
16249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16252 echo "$as_me: failed program was:" >&5
16253 sed 's/^/| /' conftest.
$ac_ext >&5
16255 cat >conftest.
$ac_ext <<_ACEOF
16258 cat confdefs.h
>>conftest.
$ac_ext
16259 cat >>conftest.
$ac_ext <<_ACEOF
16260 /* end confdefs.h. */
16261 $ac_includes_default
16265 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16272 rm -f conftest.
$ac_objext
16273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16274 (eval $ac_compile) 2>conftest.er1
16276 grep -v '^ *+' conftest.er1
>conftest.err
16278 cat conftest.err
>&5
16279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16280 (exit $ac_status); } &&
16281 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16283 (eval $ac_try) 2>&5
16285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16286 (exit $ac_status); }; } &&
16287 { ac_try
='test -s conftest.$ac_objext'
16288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16289 (eval $ac_try) 2>&5
16291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16292 (exit $ac_status); }; }; then
16295 cat >conftest.
$ac_ext <<_ACEOF
16298 cat confdefs.h
>>conftest.
$ac_ext
16299 cat >>conftest.
$ac_ext <<_ACEOF
16300 /* end confdefs.h. */
16301 $ac_includes_default
16305 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16312 rm -f conftest.
$ac_objext
16313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16314 (eval $ac_compile) 2>conftest.er1
16316 grep -v '^ *+' conftest.er1
>conftest.err
16318 cat conftest.err
>&5
16319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16320 (exit $ac_status); } &&
16321 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16323 (eval $ac_try) 2>&5
16325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16326 (exit $ac_status); }; } &&
16327 { ac_try
='test -s conftest.$ac_objext'
16328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16329 (eval $ac_try) 2>&5
16331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16332 (exit $ac_status); }; }; then
16333 ac_lo
=$ac_mid; break
16335 echo "$as_me: failed program was:" >&5
16336 sed 's/^/| /' conftest.
$ac_ext >&5
16338 ac_hi
=`expr '(' $ac_mid ')' - 1`
16339 if test $ac_mid -le $ac_hi; then
16343 ac_mid
=`expr 2 '*' $ac_mid`
16345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16348 echo "$as_me: failed program was:" >&5
16349 sed 's/^/| /' conftest.
$ac_ext >&5
16353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16356 # Binary search between lo and hi bounds.
16357 while test "x$ac_lo" != "x$ac_hi"; do
16358 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16359 cat >conftest.
$ac_ext <<_ACEOF
16362 cat confdefs.h
>>conftest.
$ac_ext
16363 cat >>conftest.
$ac_ext <<_ACEOF
16364 /* end confdefs.h. */
16365 $ac_includes_default
16369 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16376 rm -f conftest.
$ac_objext
16377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16378 (eval $ac_compile) 2>conftest.er1
16380 grep -v '^ *+' conftest.er1
>conftest.err
16382 cat conftest.err
>&5
16383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16384 (exit $ac_status); } &&
16385 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16387 (eval $ac_try) 2>&5
16389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16390 (exit $ac_status); }; } &&
16391 { ac_try
='test -s conftest.$ac_objext'
16392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16393 (eval $ac_try) 2>&5
16395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16396 (exit $ac_status); }; }; then
16399 echo "$as_me: failed program was:" >&5
16400 sed 's/^/| /' conftest.
$ac_ext >&5
16402 ac_lo
=`expr '(' $ac_mid ')' + 1`
16404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16407 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16408 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16409 See \`config.log' for more details." >&5
16410 echo "$as_me: error: cannot compute sizeof (short), 77
16411 See \`config.log' for more details." >&2;}
16412 { (exit 1); exit 1; }; } ;;
16415 if test "$cross_compiling" = yes; then
16416 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16417 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16418 { (exit 1); exit 1; }; }
16420 cat >conftest.
$ac_ext <<_ACEOF
16423 cat confdefs.h
>>conftest.
$ac_ext
16424 cat >>conftest.
$ac_ext <<_ACEOF
16425 /* end confdefs.h. */
16426 $ac_includes_default
16427 long longval () { return (long) (sizeof (short)); }
16428 unsigned long ulongval () { return (long) (sizeof (short)); }
16430 #include <stdlib.h>
16435 FILE *f = fopen ("conftest.val", "w");
16438 if (((long) (sizeof (short))) < 0)
16440 long i = longval ();
16441 if (i != ((long) (sizeof (short))))
16443 fprintf (f, "%ld\n", i);
16447 unsigned long i = ulongval ();
16448 if (i != ((long) (sizeof (short))))
16450 fprintf (f, "%lu\n", i);
16452 exit (ferror (f) || fclose (f) != 0);
16458 rm -f conftest
$ac_exeext
16459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16460 (eval $ac_link) 2>&5
16462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16465 (eval $ac_try) 2>&5
16467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468 (exit $ac_status); }; }; then
16469 ac_cv_sizeof_short
=`cat conftest.val`
16471 echo "$as_me: program exited with status $ac_status" >&5
16472 echo "$as_me: failed program was:" >&5
16473 sed 's/^/| /' conftest.
$ac_ext >&5
16475 ( exit $ac_status )
16476 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16477 See \`config.log' for more details." >&5
16478 echo "$as_me: error: cannot compute sizeof (short), 77
16479 See \`config.log' for more details." >&2;}
16480 { (exit 1); exit 1; }; }
16482 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16487 ac_cv_sizeof_short
=0
16490 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16491 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16492 cat >>confdefs.h
<<_ACEOF
16493 #define SIZEOF_SHORT $ac_cv_sizeof_short
16497 echo "$as_me:$LINENO: checking for void *" >&5
16498 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16499 if test "${ac_cv_type_void_p+set}" = set; then
16500 echo $ECHO_N "(cached) $ECHO_C" >&6
16502 cat >conftest.
$ac_ext <<_ACEOF
16505 cat confdefs.h
>>conftest.
$ac_ext
16506 cat >>conftest.
$ac_ext <<_ACEOF
16507 /* end confdefs.h. */
16508 $ac_includes_default
16514 if (sizeof (void *))
16520 rm -f conftest.
$ac_objext
16521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16522 (eval $ac_compile) 2>conftest.er1
16524 grep -v '^ *+' conftest.er1
>conftest.err
16526 cat conftest.err
>&5
16527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16528 (exit $ac_status); } &&
16529 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16531 (eval $ac_try) 2>&5
16533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16534 (exit $ac_status); }; } &&
16535 { ac_try
='test -s conftest.$ac_objext'
16536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16537 (eval $ac_try) 2>&5
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); }; }; then
16541 ac_cv_type_void_p
=yes
16543 echo "$as_me: failed program was:" >&5
16544 sed 's/^/| /' conftest.
$ac_ext >&5
16546 ac_cv_type_void_p
=no
16548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16550 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16551 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16553 echo "$as_me:$LINENO: checking size of void *" >&5
16554 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16555 if test "${ac_cv_sizeof_void_p+set}" = set; then
16556 echo $ECHO_N "(cached) $ECHO_C" >&6
16558 if test "$ac_cv_type_void_p" = yes; then
16559 # The cast to unsigned long works around a bug in the HP C Compiler
16560 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16561 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16562 # This bug is HP SR number 8606223364.
16563 if test "$cross_compiling" = yes; then
16564 # Depending upon the size, compute the lo and hi bounds.
16565 cat >conftest.
$ac_ext <<_ACEOF
16568 cat confdefs.h
>>conftest.
$ac_ext
16569 cat >>conftest.
$ac_ext <<_ACEOF
16570 /* end confdefs.h. */
16571 $ac_includes_default
16575 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16582 rm -f conftest.
$ac_objext
16583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16584 (eval $ac_compile) 2>conftest.er1
16586 grep -v '^ *+' conftest.er1
>conftest.err
16588 cat conftest.err
>&5
16589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 (exit $ac_status); } &&
16591 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16593 (eval $ac_try) 2>&5
16595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16596 (exit $ac_status); }; } &&
16597 { ac_try
='test -s conftest.$ac_objext'
16598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16599 (eval $ac_try) 2>&5
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); }; }; then
16605 cat >conftest.
$ac_ext <<_ACEOF
16608 cat confdefs.h
>>conftest.
$ac_ext
16609 cat >>conftest.
$ac_ext <<_ACEOF
16610 /* end confdefs.h. */
16611 $ac_includes_default
16615 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16622 rm -f conftest.
$ac_objext
16623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16624 (eval $ac_compile) 2>conftest.er1
16626 grep -v '^ *+' conftest.er1
>conftest.err
16628 cat conftest.err
>&5
16629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16630 (exit $ac_status); } &&
16631 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16633 (eval $ac_try) 2>&5
16635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16636 (exit $ac_status); }; } &&
16637 { ac_try
='test -s conftest.$ac_objext'
16638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16639 (eval $ac_try) 2>&5
16641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642 (exit $ac_status); }; }; then
16643 ac_hi
=$ac_mid; break
16645 echo "$as_me: failed program was:" >&5
16646 sed 's/^/| /' conftest.
$ac_ext >&5
16648 ac_lo
=`expr $ac_mid + 1`
16649 if test $ac_lo -le $ac_mid; then
16653 ac_mid
=`expr 2 '*' $ac_mid + 1`
16655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16658 echo "$as_me: failed program was:" >&5
16659 sed 's/^/| /' conftest.
$ac_ext >&5
16661 cat >conftest.
$ac_ext <<_ACEOF
16664 cat confdefs.h
>>conftest.
$ac_ext
16665 cat >>conftest.
$ac_ext <<_ACEOF
16666 /* end confdefs.h. */
16667 $ac_includes_default
16671 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16678 rm -f conftest.
$ac_objext
16679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16680 (eval $ac_compile) 2>conftest.er1
16682 grep -v '^ *+' conftest.er1
>conftest.err
16684 cat conftest.err
>&5
16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 (exit $ac_status); } &&
16687 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16689 (eval $ac_try) 2>&5
16691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16692 (exit $ac_status); }; } &&
16693 { ac_try
='test -s conftest.$ac_objext'
16694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16695 (eval $ac_try) 2>&5
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); }; }; then
16701 cat >conftest.
$ac_ext <<_ACEOF
16704 cat confdefs.h
>>conftest.
$ac_ext
16705 cat >>conftest.
$ac_ext <<_ACEOF
16706 /* end confdefs.h. */
16707 $ac_includes_default
16711 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16718 rm -f conftest.
$ac_objext
16719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16720 (eval $ac_compile) 2>conftest.er1
16722 grep -v '^ *+' conftest.er1
>conftest.err
16724 cat conftest.err
>&5
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726 (exit $ac_status); } &&
16727 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16729 (eval $ac_try) 2>&5
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); }; } &&
16733 { ac_try
='test -s conftest.$ac_objext'
16734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16735 (eval $ac_try) 2>&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); }; }; then
16739 ac_lo
=$ac_mid; break
16741 echo "$as_me: failed program was:" >&5
16742 sed 's/^/| /' conftest.
$ac_ext >&5
16744 ac_hi
=`expr '(' $ac_mid ')' - 1`
16745 if test $ac_mid -le $ac_hi; then
16749 ac_mid
=`expr 2 '*' $ac_mid`
16751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16754 echo "$as_me: failed program was:" >&5
16755 sed 's/^/| /' conftest.
$ac_ext >&5
16759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16762 # Binary search between lo and hi bounds.
16763 while test "x$ac_lo" != "x$ac_hi"; do
16764 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16765 cat >conftest.
$ac_ext <<_ACEOF
16768 cat confdefs.h
>>conftest.
$ac_ext
16769 cat >>conftest.
$ac_ext <<_ACEOF
16770 /* end confdefs.h. */
16771 $ac_includes_default
16775 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16782 rm -f conftest.
$ac_objext
16783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16784 (eval $ac_compile) 2>conftest.er1
16786 grep -v '^ *+' conftest.er1
>conftest.err
16788 cat conftest.err
>&5
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790 (exit $ac_status); } &&
16791 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16793 (eval $ac_try) 2>&5
16795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); }; } &&
16797 { ac_try
='test -s conftest.$ac_objext'
16798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16799 (eval $ac_try) 2>&5
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); }; }; then
16805 echo "$as_me: failed program was:" >&5
16806 sed 's/^/| /' conftest.
$ac_ext >&5
16808 ac_lo
=`expr '(' $ac_mid ')' + 1`
16810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16813 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
16814 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16815 See \`config.log' for more details." >&5
16816 echo "$as_me: error: cannot compute sizeof (void *), 77
16817 See \`config.log' for more details." >&2;}
16818 { (exit 1); exit 1; }; } ;;
16821 if test "$cross_compiling" = yes; then
16822 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16823 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16824 { (exit 1); exit 1; }; }
16826 cat >conftest.
$ac_ext <<_ACEOF
16829 cat confdefs.h
>>conftest.
$ac_ext
16830 cat >>conftest.
$ac_ext <<_ACEOF
16831 /* end confdefs.h. */
16832 $ac_includes_default
16833 long longval () { return (long) (sizeof (void *)); }
16834 unsigned long ulongval () { return (long) (sizeof (void *)); }
16836 #include <stdlib.h>
16841 FILE *f = fopen ("conftest.val", "w");
16844 if (((long) (sizeof (void *))) < 0)
16846 long i = longval ();
16847 if (i != ((long) (sizeof (void *))))
16849 fprintf (f, "%ld\n", i);
16853 unsigned long i = ulongval ();
16854 if (i != ((long) (sizeof (void *))))
16856 fprintf (f, "%lu\n", i);
16858 exit (ferror (f) || fclose (f) != 0);
16864 rm -f conftest
$ac_exeext
16865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16866 (eval $ac_link) 2>&5
16868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16871 (eval $ac_try) 2>&5
16873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16874 (exit $ac_status); }; }; then
16875 ac_cv_sizeof_void_p
=`cat conftest.val`
16877 echo "$as_me: program exited with status $ac_status" >&5
16878 echo "$as_me: failed program was:" >&5
16879 sed 's/^/| /' conftest.
$ac_ext >&5
16881 ( exit $ac_status )
16882 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16883 See \`config.log' for more details." >&5
16884 echo "$as_me: error: cannot compute sizeof (void *), 77
16885 See \`config.log' for more details." >&2;}
16886 { (exit 1); exit 1; }; }
16888 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16893 ac_cv_sizeof_void_p
=0
16896 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16897 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16898 cat >>confdefs.h
<<_ACEOF
16899 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16903 echo "$as_me:$LINENO: checking for int" >&5
16904 echo $ECHO_N "checking for int... $ECHO_C" >&6
16905 if test "${ac_cv_type_int+set}" = set; then
16906 echo $ECHO_N "(cached) $ECHO_C" >&6
16908 cat >conftest.
$ac_ext <<_ACEOF
16911 cat confdefs.h
>>conftest.
$ac_ext
16912 cat >>conftest.
$ac_ext <<_ACEOF
16913 /* end confdefs.h. */
16914 $ac_includes_default
16926 rm -f conftest.
$ac_objext
16927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16928 (eval $ac_compile) 2>conftest.er1
16930 grep -v '^ *+' conftest.er1
>conftest.err
16932 cat conftest.err
>&5
16933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934 (exit $ac_status); } &&
16935 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16937 (eval $ac_try) 2>&5
16939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 (exit $ac_status); }; } &&
16941 { ac_try
='test -s conftest.$ac_objext'
16942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16943 (eval $ac_try) 2>&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); }; }; then
16949 echo "$as_me: failed program was:" >&5
16950 sed 's/^/| /' conftest.
$ac_ext >&5
16954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16956 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16957 echo "${ECHO_T}$ac_cv_type_int" >&6
16959 echo "$as_me:$LINENO: checking size of int" >&5
16960 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16961 if test "${ac_cv_sizeof_int+set}" = set; then
16962 echo $ECHO_N "(cached) $ECHO_C" >&6
16964 if test "$ac_cv_type_int" = yes; then
16965 # The cast to unsigned long works around a bug in the HP C Compiler
16966 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16967 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16968 # This bug is HP SR number 8606223364.
16969 if test "$cross_compiling" = yes; then
16970 # Depending upon the size, compute the lo and hi bounds.
16971 cat >conftest.
$ac_ext <<_ACEOF
16974 cat confdefs.h
>>conftest.
$ac_ext
16975 cat >>conftest.
$ac_ext <<_ACEOF
16976 /* end confdefs.h. */
16977 $ac_includes_default
16981 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16988 rm -f conftest.
$ac_objext
16989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16990 (eval $ac_compile) 2>conftest.er1
16992 grep -v '^ *+' conftest.er1
>conftest.err
16994 cat conftest.err
>&5
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); } &&
16997 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16999 (eval $ac_try) 2>&5
17001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); }; } &&
17003 { ac_try
='test -s conftest.$ac_objext'
17004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17005 (eval $ac_try) 2>&5
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); }; }; then
17011 cat >conftest.
$ac_ext <<_ACEOF
17014 cat confdefs.h
>>conftest.
$ac_ext
17015 cat >>conftest.
$ac_ext <<_ACEOF
17016 /* end confdefs.h. */
17017 $ac_includes_default
17021 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17028 rm -f conftest.
$ac_objext
17029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17030 (eval $ac_compile) 2>conftest.er1
17032 grep -v '^ *+' conftest.er1
>conftest.err
17034 cat conftest.err
>&5
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); } &&
17037 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17039 (eval $ac_try) 2>&5
17041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17042 (exit $ac_status); }; } &&
17043 { ac_try
='test -s conftest.$ac_objext'
17044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17045 (eval $ac_try) 2>&5
17047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17048 (exit $ac_status); }; }; then
17049 ac_hi
=$ac_mid; break
17051 echo "$as_me: failed program was:" >&5
17052 sed 's/^/| /' conftest.
$ac_ext >&5
17054 ac_lo
=`expr $ac_mid + 1`
17055 if test $ac_lo -le $ac_mid; then
17059 ac_mid
=`expr 2 '*' $ac_mid + 1`
17061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17064 echo "$as_me: failed program was:" >&5
17065 sed 's/^/| /' conftest.
$ac_ext >&5
17067 cat >conftest.
$ac_ext <<_ACEOF
17070 cat confdefs.h
>>conftest.
$ac_ext
17071 cat >>conftest.
$ac_ext <<_ACEOF
17072 /* end confdefs.h. */
17073 $ac_includes_default
17077 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17084 rm -f conftest.
$ac_objext
17085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17086 (eval $ac_compile) 2>conftest.er1
17088 grep -v '^ *+' conftest.er1
>conftest.err
17090 cat conftest.err
>&5
17091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17092 (exit $ac_status); } &&
17093 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17095 (eval $ac_try) 2>&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); }; } &&
17099 { ac_try
='test -s conftest.$ac_objext'
17100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17101 (eval $ac_try) 2>&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); }; }; then
17107 cat >conftest.
$ac_ext <<_ACEOF
17110 cat confdefs.h
>>conftest.
$ac_ext
17111 cat >>conftest.
$ac_ext <<_ACEOF
17112 /* end confdefs.h. */
17113 $ac_includes_default
17117 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17124 rm -f conftest.
$ac_objext
17125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17126 (eval $ac_compile) 2>conftest.er1
17128 grep -v '^ *+' conftest.er1
>conftest.err
17130 cat conftest.err
>&5
17131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17132 (exit $ac_status); } &&
17133 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17135 (eval $ac_try) 2>&5
17137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17138 (exit $ac_status); }; } &&
17139 { ac_try
='test -s conftest.$ac_objext'
17140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17141 (eval $ac_try) 2>&5
17143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17144 (exit $ac_status); }; }; then
17145 ac_lo
=$ac_mid; break
17147 echo "$as_me: failed program was:" >&5
17148 sed 's/^/| /' conftest.
$ac_ext >&5
17150 ac_hi
=`expr '(' $ac_mid ')' - 1`
17151 if test $ac_mid -le $ac_hi; then
17155 ac_mid
=`expr 2 '*' $ac_mid`
17157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17160 echo "$as_me: failed program was:" >&5
17161 sed 's/^/| /' conftest.
$ac_ext >&5
17165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17168 # Binary search between lo and hi bounds.
17169 while test "x$ac_lo" != "x$ac_hi"; do
17170 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17171 cat >conftest.
$ac_ext <<_ACEOF
17174 cat confdefs.h
>>conftest.
$ac_ext
17175 cat >>conftest.
$ac_ext <<_ACEOF
17176 /* end confdefs.h. */
17177 $ac_includes_default
17181 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17188 rm -f conftest.
$ac_objext
17189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17190 (eval $ac_compile) 2>conftest.er1
17192 grep -v '^ *+' conftest.er1
>conftest.err
17194 cat conftest.err
>&5
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); } &&
17197 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17199 (eval $ac_try) 2>&5
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); }; } &&
17203 { ac_try
='test -s conftest.$ac_objext'
17204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17205 (eval $ac_try) 2>&5
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); }; }; then
17211 echo "$as_me: failed program was:" >&5
17212 sed 's/^/| /' conftest.
$ac_ext >&5
17214 ac_lo
=`expr '(' $ac_mid ')' + 1`
17216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17219 ?
*) ac_cv_sizeof_int
=$ac_lo;;
17220 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17221 See \`config.log' for more details." >&5
17222 echo "$as_me: error: cannot compute sizeof (int), 77
17223 See \`config.log' for more details." >&2;}
17224 { (exit 1); exit 1; }; } ;;
17227 if test "$cross_compiling" = yes; then
17228 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17229 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17230 { (exit 1); exit 1; }; }
17232 cat >conftest.
$ac_ext <<_ACEOF
17235 cat confdefs.h
>>conftest.
$ac_ext
17236 cat >>conftest.
$ac_ext <<_ACEOF
17237 /* end confdefs.h. */
17238 $ac_includes_default
17239 long longval () { return (long) (sizeof (int)); }
17240 unsigned long ulongval () { return (long) (sizeof (int)); }
17242 #include <stdlib.h>
17247 FILE *f = fopen ("conftest.val", "w");
17250 if (((long) (sizeof (int))) < 0)
17252 long i = longval ();
17253 if (i != ((long) (sizeof (int))))
17255 fprintf (f, "%ld\n", i);
17259 unsigned long i = ulongval ();
17260 if (i != ((long) (sizeof (int))))
17262 fprintf (f, "%lu\n", i);
17264 exit (ferror (f) || fclose (f) != 0);
17270 rm -f conftest
$ac_exeext
17271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17272 (eval $ac_link) 2>&5
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17277 (eval $ac_try) 2>&5
17279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 (exit $ac_status); }; }; then
17281 ac_cv_sizeof_int
=`cat conftest.val`
17283 echo "$as_me: program exited with status $ac_status" >&5
17284 echo "$as_me: failed program was:" >&5
17285 sed 's/^/| /' conftest.
$ac_ext >&5
17287 ( exit $ac_status )
17288 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17289 See \`config.log' for more details." >&5
17290 echo "$as_me: error: cannot compute sizeof (int), 77
17291 See \`config.log' for more details." >&2;}
17292 { (exit 1); exit 1; }; }
17294 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17302 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17303 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17304 cat >>confdefs.h
<<_ACEOF
17305 #define SIZEOF_INT $ac_cv_sizeof_int
17309 echo "$as_me:$LINENO: checking for long" >&5
17310 echo $ECHO_N "checking for long... $ECHO_C" >&6
17311 if test "${ac_cv_type_long+set}" = set; then
17312 echo $ECHO_N "(cached) $ECHO_C" >&6
17314 cat >conftest.
$ac_ext <<_ACEOF
17317 cat confdefs.h
>>conftest.
$ac_ext
17318 cat >>conftest.
$ac_ext <<_ACEOF
17319 /* end confdefs.h. */
17320 $ac_includes_default
17332 rm -f conftest.
$ac_objext
17333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17334 (eval $ac_compile) 2>conftest.er1
17336 grep -v '^ *+' conftest.er1
>conftest.err
17338 cat conftest.err
>&5
17339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17340 (exit $ac_status); } &&
17341 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17343 (eval $ac_try) 2>&5
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); }; } &&
17347 { ac_try
='test -s conftest.$ac_objext'
17348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17349 (eval $ac_try) 2>&5
17351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17352 (exit $ac_status); }; }; then
17353 ac_cv_type_long
=yes
17355 echo "$as_me: failed program was:" >&5
17356 sed 's/^/| /' conftest.
$ac_ext >&5
17360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17362 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17363 echo "${ECHO_T}$ac_cv_type_long" >&6
17365 echo "$as_me:$LINENO: checking size of long" >&5
17366 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17367 if test "${ac_cv_sizeof_long+set}" = set; then
17368 echo $ECHO_N "(cached) $ECHO_C" >&6
17370 if test "$ac_cv_type_long" = yes; then
17371 # The cast to unsigned long works around a bug in the HP C Compiler
17372 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17373 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17374 # This bug is HP SR number 8606223364.
17375 if test "$cross_compiling" = yes; then
17376 # Depending upon the size, compute the lo and hi bounds.
17377 cat >conftest.
$ac_ext <<_ACEOF
17380 cat confdefs.h
>>conftest.
$ac_ext
17381 cat >>conftest.
$ac_ext <<_ACEOF
17382 /* end confdefs.h. */
17383 $ac_includes_default
17387 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17394 rm -f conftest.
$ac_objext
17395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17396 (eval $ac_compile) 2>conftest.er1
17398 grep -v '^ *+' conftest.er1
>conftest.err
17400 cat conftest.err
>&5
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); } &&
17403 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17405 (eval $ac_try) 2>&5
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); }; } &&
17409 { ac_try
='test -s conftest.$ac_objext'
17410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17411 (eval $ac_try) 2>&5
17413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17414 (exit $ac_status); }; }; then
17417 cat >conftest.
$ac_ext <<_ACEOF
17420 cat confdefs.h
>>conftest.
$ac_ext
17421 cat >>conftest.
$ac_ext <<_ACEOF
17422 /* end confdefs.h. */
17423 $ac_includes_default
17427 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17434 rm -f conftest.
$ac_objext
17435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17436 (eval $ac_compile) 2>conftest.er1
17438 grep -v '^ *+' conftest.er1
>conftest.err
17440 cat conftest.err
>&5
17441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17442 (exit $ac_status); } &&
17443 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17445 (eval $ac_try) 2>&5
17447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17448 (exit $ac_status); }; } &&
17449 { ac_try
='test -s conftest.$ac_objext'
17450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17451 (eval $ac_try) 2>&5
17453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17454 (exit $ac_status); }; }; then
17455 ac_hi
=$ac_mid; break
17457 echo "$as_me: failed program was:" >&5
17458 sed 's/^/| /' conftest.
$ac_ext >&5
17460 ac_lo
=`expr $ac_mid + 1`
17461 if test $ac_lo -le $ac_mid; then
17465 ac_mid
=`expr 2 '*' $ac_mid + 1`
17467 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17470 echo "$as_me: failed program was:" >&5
17471 sed 's/^/| /' conftest.
$ac_ext >&5
17473 cat >conftest.
$ac_ext <<_ACEOF
17476 cat confdefs.h
>>conftest.
$ac_ext
17477 cat >>conftest.
$ac_ext <<_ACEOF
17478 /* end confdefs.h. */
17479 $ac_includes_default
17483 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17490 rm -f conftest.
$ac_objext
17491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17492 (eval $ac_compile) 2>conftest.er1
17494 grep -v '^ *+' conftest.er1
>conftest.err
17496 cat conftest.err
>&5
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); } &&
17499 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17501 (eval $ac_try) 2>&5
17503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17504 (exit $ac_status); }; } &&
17505 { ac_try
='test -s conftest.$ac_objext'
17506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17507 (eval $ac_try) 2>&5
17509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510 (exit $ac_status); }; }; then
17513 cat >conftest.
$ac_ext <<_ACEOF
17516 cat confdefs.h
>>conftest.
$ac_ext
17517 cat >>conftest.
$ac_ext <<_ACEOF
17518 /* end confdefs.h. */
17519 $ac_includes_default
17523 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17530 rm -f conftest.
$ac_objext
17531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17532 (eval $ac_compile) 2>conftest.er1
17534 grep -v '^ *+' conftest.er1
>conftest.err
17536 cat conftest.err
>&5
17537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17538 (exit $ac_status); } &&
17539 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17541 (eval $ac_try) 2>&5
17543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17544 (exit $ac_status); }; } &&
17545 { ac_try
='test -s conftest.$ac_objext'
17546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17547 (eval $ac_try) 2>&5
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); }; }; then
17551 ac_lo
=$ac_mid; break
17553 echo "$as_me: failed program was:" >&5
17554 sed 's/^/| /' conftest.
$ac_ext >&5
17556 ac_hi
=`expr '(' $ac_mid ')' - 1`
17557 if test $ac_mid -le $ac_hi; then
17561 ac_mid
=`expr 2 '*' $ac_mid`
17563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17566 echo "$as_me: failed program was:" >&5
17567 sed 's/^/| /' conftest.
$ac_ext >&5
17571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17574 # Binary search between lo and hi bounds.
17575 while test "x$ac_lo" != "x$ac_hi"; do
17576 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17577 cat >conftest.
$ac_ext <<_ACEOF
17580 cat confdefs.h
>>conftest.
$ac_ext
17581 cat >>conftest.
$ac_ext <<_ACEOF
17582 /* end confdefs.h. */
17583 $ac_includes_default
17587 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17594 rm -f conftest.
$ac_objext
17595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17596 (eval $ac_compile) 2>conftest.er1
17598 grep -v '^ *+' conftest.er1
>conftest.err
17600 cat conftest.err
>&5
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); } &&
17603 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17605 (eval $ac_try) 2>&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); }; } &&
17609 { ac_try
='test -s conftest.$ac_objext'
17610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17611 (eval $ac_try) 2>&5
17613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17614 (exit $ac_status); }; }; then
17617 echo "$as_me: failed program was:" >&5
17618 sed 's/^/| /' conftest.
$ac_ext >&5
17620 ac_lo
=`expr '(' $ac_mid ')' + 1`
17622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17625 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17626 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17627 See \`config.log' for more details." >&5
17628 echo "$as_me: error: cannot compute sizeof (long), 77
17629 See \`config.log' for more details." >&2;}
17630 { (exit 1); exit 1; }; } ;;
17633 if test "$cross_compiling" = yes; then
17634 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17635 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17636 { (exit 1); exit 1; }; }
17638 cat >conftest.
$ac_ext <<_ACEOF
17641 cat confdefs.h
>>conftest.
$ac_ext
17642 cat >>conftest.
$ac_ext <<_ACEOF
17643 /* end confdefs.h. */
17644 $ac_includes_default
17645 long longval () { return (long) (sizeof (long)); }
17646 unsigned long ulongval () { return (long) (sizeof (long)); }
17648 #include <stdlib.h>
17653 FILE *f = fopen ("conftest.val", "w");
17656 if (((long) (sizeof (long))) < 0)
17658 long i = longval ();
17659 if (i != ((long) (sizeof (long))))
17661 fprintf (f, "%ld\n", i);
17665 unsigned long i = ulongval ();
17666 if (i != ((long) (sizeof (long))))
17668 fprintf (f, "%lu\n", i);
17670 exit (ferror (f) || fclose (f) != 0);
17676 rm -f conftest
$ac_exeext
17677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17678 (eval $ac_link) 2>&5
17680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17681 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17683 (eval $ac_try) 2>&5
17685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 (exit $ac_status); }; }; then
17687 ac_cv_sizeof_long
=`cat conftest.val`
17689 echo "$as_me: program exited with status $ac_status" >&5
17690 echo "$as_me: failed program was:" >&5
17691 sed 's/^/| /' conftest.
$ac_ext >&5
17693 ( exit $ac_status )
17694 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17695 See \`config.log' for more details." >&5
17696 echo "$as_me: error: cannot compute sizeof (long), 77
17697 See \`config.log' for more details." >&2;}
17698 { (exit 1); exit 1; }; }
17700 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17705 ac_cv_sizeof_long
=0
17708 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17709 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17710 cat >>confdefs.h
<<_ACEOF
17711 #define SIZEOF_LONG $ac_cv_sizeof_long
17715 echo "$as_me:$LINENO: checking for size_t" >&5
17716 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17717 if test "${ac_cv_type_size_t+set}" = set; then
17718 echo $ECHO_N "(cached) $ECHO_C" >&6
17720 cat >conftest.
$ac_ext <<_ACEOF
17723 cat confdefs.h
>>conftest.
$ac_ext
17724 cat >>conftest.
$ac_ext <<_ACEOF
17725 /* end confdefs.h. */
17726 $ac_includes_default
17732 if (sizeof (size_t))
17738 rm -f conftest.
$ac_objext
17739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17740 (eval $ac_compile) 2>conftest.er1
17742 grep -v '^ *+' conftest.er1
>conftest.err
17744 cat conftest.err
>&5
17745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17746 (exit $ac_status); } &&
17747 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17749 (eval $ac_try) 2>&5
17751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17752 (exit $ac_status); }; } &&
17753 { ac_try
='test -s conftest.$ac_objext'
17754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17755 (eval $ac_try) 2>&5
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); }; }; then
17759 ac_cv_type_size_t
=yes
17761 echo "$as_me: failed program was:" >&5
17762 sed 's/^/| /' conftest.
$ac_ext >&5
17764 ac_cv_type_size_t
=no
17766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17768 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17769 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17771 echo "$as_me:$LINENO: checking size of size_t" >&5
17772 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17773 if test "${ac_cv_sizeof_size_t+set}" = set; then
17774 echo $ECHO_N "(cached) $ECHO_C" >&6
17776 if test "$ac_cv_type_size_t" = yes; then
17777 # The cast to unsigned long works around a bug in the HP C Compiler
17778 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17779 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17780 # This bug is HP SR number 8606223364.
17781 if test "$cross_compiling" = yes; then
17782 # Depending upon the size, compute the lo and hi bounds.
17783 cat >conftest.
$ac_ext <<_ACEOF
17786 cat confdefs.h
>>conftest.
$ac_ext
17787 cat >>conftest.
$ac_ext <<_ACEOF
17788 /* end confdefs.h. */
17789 $ac_includes_default
17793 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17800 rm -f conftest.
$ac_objext
17801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17802 (eval $ac_compile) 2>conftest.er1
17804 grep -v '^ *+' conftest.er1
>conftest.err
17806 cat conftest.err
>&5
17807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17808 (exit $ac_status); } &&
17809 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17811 (eval $ac_try) 2>&5
17813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17814 (exit $ac_status); }; } &&
17815 { ac_try
='test -s conftest.$ac_objext'
17816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17817 (eval $ac_try) 2>&5
17819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17820 (exit $ac_status); }; }; then
17823 cat >conftest.
$ac_ext <<_ACEOF
17826 cat confdefs.h
>>conftest.
$ac_ext
17827 cat >>conftest.
$ac_ext <<_ACEOF
17828 /* end confdefs.h. */
17829 $ac_includes_default
17833 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17840 rm -f conftest.
$ac_objext
17841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17842 (eval $ac_compile) 2>conftest.er1
17844 grep -v '^ *+' conftest.er1
>conftest.err
17846 cat conftest.err
>&5
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); } &&
17849 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17851 (eval $ac_try) 2>&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); }; } &&
17855 { ac_try
='test -s conftest.$ac_objext'
17856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17857 (eval $ac_try) 2>&5
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); }; }; then
17861 ac_hi
=$ac_mid; break
17863 echo "$as_me: failed program was:" >&5
17864 sed 's/^/| /' conftest.
$ac_ext >&5
17866 ac_lo
=`expr $ac_mid + 1`
17867 if test $ac_lo -le $ac_mid; then
17871 ac_mid
=`expr 2 '*' $ac_mid + 1`
17873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17876 echo "$as_me: failed program was:" >&5
17877 sed 's/^/| /' conftest.
$ac_ext >&5
17879 cat >conftest.
$ac_ext <<_ACEOF
17882 cat confdefs.h
>>conftest.
$ac_ext
17883 cat >>conftest.
$ac_ext <<_ACEOF
17884 /* end confdefs.h. */
17885 $ac_includes_default
17889 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17896 rm -f conftest.
$ac_objext
17897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17898 (eval $ac_compile) 2>conftest.er1
17900 grep -v '^ *+' conftest.er1
>conftest.err
17902 cat conftest.err
>&5
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); } &&
17905 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17907 (eval $ac_try) 2>&5
17909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910 (exit $ac_status); }; } &&
17911 { ac_try
='test -s conftest.$ac_objext'
17912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17913 (eval $ac_try) 2>&5
17915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17916 (exit $ac_status); }; }; then
17919 cat >conftest.
$ac_ext <<_ACEOF
17922 cat confdefs.h
>>conftest.
$ac_ext
17923 cat >>conftest.
$ac_ext <<_ACEOF
17924 /* end confdefs.h. */
17925 $ac_includes_default
17929 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17936 rm -f conftest.
$ac_objext
17937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17938 (eval $ac_compile) 2>conftest.er1
17940 grep -v '^ *+' conftest.er1
>conftest.err
17942 cat conftest.err
>&5
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); } &&
17945 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17947 (eval $ac_try) 2>&5
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); }; } &&
17951 { ac_try
='test -s conftest.$ac_objext'
17952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17953 (eval $ac_try) 2>&5
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); }; }; then
17957 ac_lo
=$ac_mid; break
17959 echo "$as_me: failed program was:" >&5
17960 sed 's/^/| /' conftest.
$ac_ext >&5
17962 ac_hi
=`expr '(' $ac_mid ')' - 1`
17963 if test $ac_mid -le $ac_hi; then
17967 ac_mid
=`expr 2 '*' $ac_mid`
17969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17972 echo "$as_me: failed program was:" >&5
17973 sed 's/^/| /' conftest.
$ac_ext >&5
17977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17980 # Binary search between lo and hi bounds.
17981 while test "x$ac_lo" != "x$ac_hi"; do
17982 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17983 cat >conftest.
$ac_ext <<_ACEOF
17986 cat confdefs.h
>>conftest.
$ac_ext
17987 cat >>conftest.
$ac_ext <<_ACEOF
17988 /* end confdefs.h. */
17989 $ac_includes_default
17993 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18000 rm -f conftest.
$ac_objext
18001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18002 (eval $ac_compile) 2>conftest.er1
18004 grep -v '^ *+' conftest.er1
>conftest.err
18006 cat conftest.err
>&5
18007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18008 (exit $ac_status); } &&
18009 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18011 (eval $ac_try) 2>&5
18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); }; } &&
18015 { ac_try
='test -s conftest.$ac_objext'
18016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18017 (eval $ac_try) 2>&5
18019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18020 (exit $ac_status); }; }; then
18023 echo "$as_me: failed program was:" >&5
18024 sed 's/^/| /' conftest.
$ac_ext >&5
18026 ac_lo
=`expr '(' $ac_mid ')' + 1`
18028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18031 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
18032 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18033 See \`config.log' for more details." >&5
18034 echo "$as_me: error: cannot compute sizeof (size_t), 77
18035 See \`config.log' for more details." >&2;}
18036 { (exit 1); exit 1; }; } ;;
18039 if test "$cross_compiling" = yes; then
18040 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18041 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18042 { (exit 1); exit 1; }; }
18044 cat >conftest.
$ac_ext <<_ACEOF
18047 cat confdefs.h
>>conftest.
$ac_ext
18048 cat >>conftest.
$ac_ext <<_ACEOF
18049 /* end confdefs.h. */
18050 $ac_includes_default
18051 long longval () { return (long) (sizeof (size_t)); }
18052 unsigned long ulongval () { return (long) (sizeof (size_t)); }
18054 #include <stdlib.h>
18059 FILE *f = fopen ("conftest.val", "w");
18062 if (((long) (sizeof (size_t))) < 0)
18064 long i = longval ();
18065 if (i != ((long) (sizeof (size_t))))
18067 fprintf (f, "%ld\n", i);
18071 unsigned long i = ulongval ();
18072 if (i != ((long) (sizeof (size_t))))
18074 fprintf (f, "%lu\n", i);
18076 exit (ferror (f) || fclose (f) != 0);
18082 rm -f conftest
$ac_exeext
18083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18084 (eval $ac_link) 2>&5
18086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18087 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18089 (eval $ac_try) 2>&5
18091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18092 (exit $ac_status); }; }; then
18093 ac_cv_sizeof_size_t
=`cat conftest.val`
18095 echo "$as_me: program exited with status $ac_status" >&5
18096 echo "$as_me: failed program was:" >&5
18097 sed 's/^/| /' conftest.
$ac_ext >&5
18099 ( exit $ac_status )
18100 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18101 See \`config.log' for more details." >&5
18102 echo "$as_me: error: cannot compute sizeof (size_t), 77
18103 See \`config.log' for more details." >&2;}
18104 { (exit 1); exit 1; }; }
18106 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18111 ac_cv_sizeof_size_t
=0
18114 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
18115 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
18116 cat >>confdefs.h
<<_ACEOF
18117 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
18124 echo "$as_me:$LINENO: checking for long long" >&5
18125 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18126 if test "${ac_cv_type_long_long+set}" = set; then
18127 echo $ECHO_N "(cached) $ECHO_C" >&6
18129 cat >conftest.
$ac_ext <<_ACEOF
18132 cat confdefs.h
>>conftest.
$ac_ext
18133 cat >>conftest.
$ac_ext <<_ACEOF
18134 /* end confdefs.h. */
18135 $ac_includes_default
18139 if ((long long *) 0)
18141 if (sizeof (long long))
18147 rm -f conftest.
$ac_objext
18148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18149 (eval $ac_compile) 2>conftest.er1
18151 grep -v '^ *+' conftest.er1
>conftest.err
18153 cat conftest.err
>&5
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); } &&
18156 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18158 (eval $ac_try) 2>&5
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); }; } &&
18162 { ac_try
='test -s conftest.$ac_objext'
18163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18164 (eval $ac_try) 2>&5
18166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167 (exit $ac_status); }; }; then
18168 ac_cv_type_long_long
=yes
18170 echo "$as_me: failed program was:" >&5
18171 sed 's/^/| /' conftest.
$ac_ext >&5
18173 ac_cv_type_long_long
=no
18175 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18177 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18178 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18180 echo "$as_me:$LINENO: checking size of long long" >&5
18181 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18182 if test "${ac_cv_sizeof_long_long+set}" = set; then
18183 echo $ECHO_N "(cached) $ECHO_C" >&6
18185 if test "$ac_cv_type_long_long" = yes; then
18186 # The cast to unsigned long works around a bug in the HP C Compiler
18187 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18188 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18189 # This bug is HP SR number 8606223364.
18190 if test "$cross_compiling" = yes; then
18191 # Depending upon the size, compute the lo and hi bounds.
18192 cat >conftest.
$ac_ext <<_ACEOF
18195 cat confdefs.h
>>conftest.
$ac_ext
18196 cat >>conftest.
$ac_ext <<_ACEOF
18197 /* end confdefs.h. */
18198 $ac_includes_default
18202 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18209 rm -f conftest.
$ac_objext
18210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18211 (eval $ac_compile) 2>conftest.er1
18213 grep -v '^ *+' conftest.er1
>conftest.err
18215 cat conftest.err
>&5
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); } &&
18218 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220 (eval $ac_try) 2>&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); }; } &&
18224 { ac_try
='test -s conftest.$ac_objext'
18225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18226 (eval $ac_try) 2>&5
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); }; }; then
18232 cat >conftest.
$ac_ext <<_ACEOF
18235 cat confdefs.h
>>conftest.
$ac_ext
18236 cat >>conftest.
$ac_ext <<_ACEOF
18237 /* end confdefs.h. */
18238 $ac_includes_default
18242 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18249 rm -f conftest.
$ac_objext
18250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18251 (eval $ac_compile) 2>conftest.er1
18253 grep -v '^ *+' conftest.er1
>conftest.err
18255 cat conftest.err
>&5
18256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18257 (exit $ac_status); } &&
18258 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18260 (eval $ac_try) 2>&5
18262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18263 (exit $ac_status); }; } &&
18264 { ac_try
='test -s conftest.$ac_objext'
18265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18266 (eval $ac_try) 2>&5
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); }; }; then
18270 ac_hi
=$ac_mid; break
18272 echo "$as_me: failed program was:" >&5
18273 sed 's/^/| /' conftest.
$ac_ext >&5
18275 ac_lo
=`expr $ac_mid + 1`
18276 if test $ac_lo -le $ac_mid; then
18280 ac_mid
=`expr 2 '*' $ac_mid + 1`
18282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18285 echo "$as_me: failed program was:" >&5
18286 sed 's/^/| /' conftest.
$ac_ext >&5
18288 cat >conftest.
$ac_ext <<_ACEOF
18291 cat confdefs.h
>>conftest.
$ac_ext
18292 cat >>conftest.
$ac_ext <<_ACEOF
18293 /* end confdefs.h. */
18294 $ac_includes_default
18298 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18305 rm -f conftest.
$ac_objext
18306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18307 (eval $ac_compile) 2>conftest.er1
18309 grep -v '^ *+' conftest.er1
>conftest.err
18311 cat conftest.err
>&5
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); } &&
18314 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18316 (eval $ac_try) 2>&5
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); }; } &&
18320 { ac_try
='test -s conftest.$ac_objext'
18321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18322 (eval $ac_try) 2>&5
18324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18325 (exit $ac_status); }; }; then
18328 cat >conftest.
$ac_ext <<_ACEOF
18331 cat confdefs.h
>>conftest.
$ac_ext
18332 cat >>conftest.
$ac_ext <<_ACEOF
18333 /* end confdefs.h. */
18334 $ac_includes_default
18338 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18345 rm -f conftest.
$ac_objext
18346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18347 (eval $ac_compile) 2>conftest.er1
18349 grep -v '^ *+' conftest.er1
>conftest.err
18351 cat conftest.err
>&5
18352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18353 (exit $ac_status); } &&
18354 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18356 (eval $ac_try) 2>&5
18358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18359 (exit $ac_status); }; } &&
18360 { ac_try
='test -s conftest.$ac_objext'
18361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18362 (eval $ac_try) 2>&5
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); }; }; then
18366 ac_lo
=$ac_mid; break
18368 echo "$as_me: failed program was:" >&5
18369 sed 's/^/| /' conftest.
$ac_ext >&5
18371 ac_hi
=`expr '(' $ac_mid ')' - 1`
18372 if test $ac_mid -le $ac_hi; then
18376 ac_mid
=`expr 2 '*' $ac_mid`
18378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18381 echo "$as_me: failed program was:" >&5
18382 sed 's/^/| /' conftest.
$ac_ext >&5
18386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18389 # Binary search between lo and hi bounds.
18390 while test "x$ac_lo" != "x$ac_hi"; do
18391 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18392 cat >conftest.
$ac_ext <<_ACEOF
18395 cat confdefs.h
>>conftest.
$ac_ext
18396 cat >>conftest.
$ac_ext <<_ACEOF
18397 /* end confdefs.h. */
18398 $ac_includes_default
18402 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18409 rm -f conftest.
$ac_objext
18410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18411 (eval $ac_compile) 2>conftest.er1
18413 grep -v '^ *+' conftest.er1
>conftest.err
18415 cat conftest.err
>&5
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); } &&
18418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18420 (eval $ac_try) 2>&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); }; } &&
18424 { ac_try
='test -s conftest.$ac_objext'
18425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18426 (eval $ac_try) 2>&5
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); }; }; then
18432 echo "$as_me: failed program was:" >&5
18433 sed 's/^/| /' conftest.
$ac_ext >&5
18435 ac_lo
=`expr '(' $ac_mid ')' + 1`
18437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18440 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18441 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18442 See \`config.log' for more details." >&5
18443 echo "$as_me: error: cannot compute sizeof (long long), 77
18444 See \`config.log' for more details." >&2;}
18445 { (exit 1); exit 1; }; } ;;
18448 if test "$cross_compiling" = yes; then
18449 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18450 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18451 { (exit 1); exit 1; }; }
18453 cat >conftest.
$ac_ext <<_ACEOF
18456 cat confdefs.h
>>conftest.
$ac_ext
18457 cat >>conftest.
$ac_ext <<_ACEOF
18458 /* end confdefs.h. */
18459 $ac_includes_default
18460 long longval () { return (long) (sizeof (long long)); }
18461 unsigned long ulongval () { return (long) (sizeof (long long)); }
18463 #include <stdlib.h>
18468 FILE *f = fopen ("conftest.val", "w");
18471 if (((long) (sizeof (long long))) < 0)
18473 long i = longval ();
18474 if (i != ((long) (sizeof (long long))))
18476 fprintf (f, "%ld\n", i);
18480 unsigned long i = ulongval ();
18481 if (i != ((long) (sizeof (long long))))
18483 fprintf (f, "%lu\n", i);
18485 exit (ferror (f) || fclose (f) != 0);
18491 rm -f conftest
$ac_exeext
18492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18493 (eval $ac_link) 2>&5
18495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18496 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18498 (eval $ac_try) 2>&5
18500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18501 (exit $ac_status); }; }; then
18502 ac_cv_sizeof_long_long
=`cat conftest.val`
18504 echo "$as_me: program exited with status $ac_status" >&5
18505 echo "$as_me: failed program was:" >&5
18506 sed 's/^/| /' conftest.
$ac_ext >&5
18508 ( exit $ac_status )
18509 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18510 See \`config.log' for more details." >&5
18511 echo "$as_me: error: cannot compute sizeof (long long), 77
18512 See \`config.log' for more details." >&2;}
18513 { (exit 1); exit 1; }; }
18515 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18520 ac_cv_sizeof_long_long
=0
18523 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18524 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18525 cat >>confdefs.h
<<_ACEOF
18526 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18532 echo "$as_me:$LINENO: checking for long long" >&5
18533 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18534 if test "${ac_cv_type_long_long+set}" = set; then
18535 echo $ECHO_N "(cached) $ECHO_C" >&6
18537 cat >conftest.
$ac_ext <<_ACEOF
18540 cat confdefs.h
>>conftest.
$ac_ext
18541 cat >>conftest.
$ac_ext <<_ACEOF
18542 /* end confdefs.h. */
18543 $ac_includes_default
18547 if ((long long *) 0)
18549 if (sizeof (long long))
18555 rm -f conftest.
$ac_objext
18556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18557 (eval $ac_compile) 2>conftest.er1
18559 grep -v '^ *+' conftest.er1
>conftest.err
18561 cat conftest.err
>&5
18562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563 (exit $ac_status); } &&
18564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18566 (eval $ac_try) 2>&5
18568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); }; } &&
18570 { ac_try
='test -s conftest.$ac_objext'
18571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18572 (eval $ac_try) 2>&5
18574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); }; }; then
18576 ac_cv_type_long_long
=yes
18578 echo "$as_me: failed program was:" >&5
18579 sed 's/^/| /' conftest.
$ac_ext >&5
18581 ac_cv_type_long_long
=no
18583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18585 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18586 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18588 echo "$as_me:$LINENO: checking size of long long" >&5
18589 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18590 if test "${ac_cv_sizeof_long_long+set}" = set; then
18591 echo $ECHO_N "(cached) $ECHO_C" >&6
18593 if test "$ac_cv_type_long_long" = yes; then
18594 # The cast to unsigned long works around a bug in the HP C Compiler
18595 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18596 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18597 # This bug is HP SR number 8606223364.
18598 if test "$cross_compiling" = yes; then
18599 # Depending upon the size, compute the lo and hi bounds.
18600 cat >conftest.
$ac_ext <<_ACEOF
18603 cat confdefs.h
>>conftest.
$ac_ext
18604 cat >>conftest.
$ac_ext <<_ACEOF
18605 /* end confdefs.h. */
18606 $ac_includes_default
18610 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18617 rm -f conftest.
$ac_objext
18618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18619 (eval $ac_compile) 2>conftest.er1
18621 grep -v '^ *+' conftest.er1
>conftest.err
18623 cat conftest.err
>&5
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); } &&
18626 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18628 (eval $ac_try) 2>&5
18630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18631 (exit $ac_status); }; } &&
18632 { ac_try
='test -s conftest.$ac_objext'
18633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18634 (eval $ac_try) 2>&5
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); }; }; then
18640 cat >conftest.
$ac_ext <<_ACEOF
18643 cat confdefs.h
>>conftest.
$ac_ext
18644 cat >>conftest.
$ac_ext <<_ACEOF
18645 /* end confdefs.h. */
18646 $ac_includes_default
18650 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18657 rm -f conftest.
$ac_objext
18658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18659 (eval $ac_compile) 2>conftest.er1
18661 grep -v '^ *+' conftest.er1
>conftest.err
18663 cat conftest.err
>&5
18664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18665 (exit $ac_status); } &&
18666 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18668 (eval $ac_try) 2>&5
18670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18671 (exit $ac_status); }; } &&
18672 { ac_try
='test -s conftest.$ac_objext'
18673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18674 (eval $ac_try) 2>&5
18676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18677 (exit $ac_status); }; }; then
18678 ac_hi
=$ac_mid; break
18680 echo "$as_me: failed program was:" >&5
18681 sed 's/^/| /' conftest.
$ac_ext >&5
18683 ac_lo
=`expr $ac_mid + 1`
18684 if test $ac_lo -le $ac_mid; then
18688 ac_mid
=`expr 2 '*' $ac_mid + 1`
18690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18693 echo "$as_me: failed program was:" >&5
18694 sed 's/^/| /' conftest.
$ac_ext >&5
18696 cat >conftest.
$ac_ext <<_ACEOF
18699 cat confdefs.h
>>conftest.
$ac_ext
18700 cat >>conftest.
$ac_ext <<_ACEOF
18701 /* end confdefs.h. */
18702 $ac_includes_default
18706 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18713 rm -f conftest.
$ac_objext
18714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18715 (eval $ac_compile) 2>conftest.er1
18717 grep -v '^ *+' conftest.er1
>conftest.err
18719 cat conftest.err
>&5
18720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721 (exit $ac_status); } &&
18722 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18724 (eval $ac_try) 2>&5
18726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18727 (exit $ac_status); }; } &&
18728 { ac_try
='test -s conftest.$ac_objext'
18729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18730 (eval $ac_try) 2>&5
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); }; }; then
18736 cat >conftest.
$ac_ext <<_ACEOF
18739 cat confdefs.h
>>conftest.
$ac_ext
18740 cat >>conftest.
$ac_ext <<_ACEOF
18741 /* end confdefs.h. */
18742 $ac_includes_default
18746 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18753 rm -f conftest.
$ac_objext
18754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18755 (eval $ac_compile) 2>conftest.er1
18757 grep -v '^ *+' conftest.er1
>conftest.err
18759 cat conftest.err
>&5
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); } &&
18762 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18764 (eval $ac_try) 2>&5
18766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18767 (exit $ac_status); }; } &&
18768 { ac_try
='test -s conftest.$ac_objext'
18769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18770 (eval $ac_try) 2>&5
18772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18773 (exit $ac_status); }; }; then
18774 ac_lo
=$ac_mid; break
18776 echo "$as_me: failed program was:" >&5
18777 sed 's/^/| /' conftest.
$ac_ext >&5
18779 ac_hi
=`expr '(' $ac_mid ')' - 1`
18780 if test $ac_mid -le $ac_hi; then
18784 ac_mid
=`expr 2 '*' $ac_mid`
18786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18789 echo "$as_me: failed program was:" >&5
18790 sed 's/^/| /' conftest.
$ac_ext >&5
18794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18797 # Binary search between lo and hi bounds.
18798 while test "x$ac_lo" != "x$ac_hi"; do
18799 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18800 cat >conftest.
$ac_ext <<_ACEOF
18803 cat confdefs.h
>>conftest.
$ac_ext
18804 cat >>conftest.
$ac_ext <<_ACEOF
18805 /* end confdefs.h. */
18806 $ac_includes_default
18810 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18817 rm -f conftest.
$ac_objext
18818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18819 (eval $ac_compile) 2>conftest.er1
18821 grep -v '^ *+' conftest.er1
>conftest.err
18823 cat conftest.err
>&5
18824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18825 (exit $ac_status); } &&
18826 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18828 (eval $ac_try) 2>&5
18830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18831 (exit $ac_status); }; } &&
18832 { ac_try
='test -s conftest.$ac_objext'
18833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18834 (eval $ac_try) 2>&5
18836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18837 (exit $ac_status); }; }; then
18840 echo "$as_me: failed program was:" >&5
18841 sed 's/^/| /' conftest.
$ac_ext >&5
18843 ac_lo
=`expr '(' $ac_mid ')' + 1`
18845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18848 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18849 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18850 See \`config.log' for more details." >&5
18851 echo "$as_me: error: cannot compute sizeof (long long), 77
18852 See \`config.log' for more details." >&2;}
18853 { (exit 1); exit 1; }; } ;;
18856 if test "$cross_compiling" = yes; then
18857 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18858 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18859 { (exit 1); exit 1; }; }
18861 cat >conftest.
$ac_ext <<_ACEOF
18864 cat confdefs.h
>>conftest.
$ac_ext
18865 cat >>conftest.
$ac_ext <<_ACEOF
18866 /* end confdefs.h. */
18867 $ac_includes_default
18868 long longval () { return (long) (sizeof (long long)); }
18869 unsigned long ulongval () { return (long) (sizeof (long long)); }
18871 #include <stdlib.h>
18876 FILE *f = fopen ("conftest.val", "w");
18879 if (((long) (sizeof (long long))) < 0)
18881 long i = longval ();
18882 if (i != ((long) (sizeof (long long))))
18884 fprintf (f, "%ld\n", i);
18888 unsigned long i = ulongval ();
18889 if (i != ((long) (sizeof (long long))))
18891 fprintf (f, "%lu\n", i);
18893 exit (ferror (f) || fclose (f) != 0);
18899 rm -f conftest
$ac_exeext
18900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18901 (eval $ac_link) 2>&5
18903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18904 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18906 (eval $ac_try) 2>&5
18908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909 (exit $ac_status); }; }; then
18910 ac_cv_sizeof_long_long
=`cat conftest.val`
18912 echo "$as_me: program exited with status $ac_status" >&5
18913 echo "$as_me: failed program was:" >&5
18914 sed 's/^/| /' conftest.
$ac_ext >&5
18916 ( exit $ac_status )
18917 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18918 See \`config.log' for more details." >&5
18919 echo "$as_me: error: cannot compute sizeof (long long), 77
18920 See \`config.log' for more details." >&2;}
18921 { (exit 1); exit 1; }; }
18923 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18928 ac_cv_sizeof_long_long
=0
18931 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18932 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18933 cat >>confdefs.h
<<_ACEOF
18934 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18938 if test "$ac_cv_sizeof_long_long" != "0"; then
18939 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
18943 echo "$as_me:$LINENO: checking for long long" >&5
18944 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18945 if test "${ac_cv_type_long_long+set}" = set; then
18946 echo $ECHO_N "(cached) $ECHO_C" >&6
18948 cat >conftest.
$ac_ext <<_ACEOF
18951 cat confdefs.h
>>conftest.
$ac_ext
18952 cat >>conftest.
$ac_ext <<_ACEOF
18953 /* end confdefs.h. */
18954 $ac_includes_default
18958 if ((long long *) 0)
18960 if (sizeof (long long))
18966 rm -f conftest.
$ac_objext
18967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18968 (eval $ac_compile) 2>conftest.er1
18970 grep -v '^ *+' conftest.er1
>conftest.err
18972 cat conftest.err
>&5
18973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18974 (exit $ac_status); } &&
18975 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18977 (eval $ac_try) 2>&5
18979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18980 (exit $ac_status); }; } &&
18981 { ac_try
='test -s conftest.$ac_objext'
18982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18983 (eval $ac_try) 2>&5
18985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986 (exit $ac_status); }; }; then
18987 ac_cv_type_long_long
=yes
18989 echo "$as_me: failed program was:" >&5
18990 sed 's/^/| /' conftest.
$ac_ext >&5
18992 ac_cv_type_long_long
=no
18994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18996 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18997 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18999 echo "$as_me:$LINENO: checking size of long long" >&5
19000 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19001 if test "${ac_cv_sizeof_long_long+set}" = set; then
19002 echo $ECHO_N "(cached) $ECHO_C" >&6
19004 if test "$ac_cv_type_long_long" = yes; then
19005 # The cast to unsigned long works around a bug in the HP C Compiler
19006 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19007 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19008 # This bug is HP SR number 8606223364.
19009 if test "$cross_compiling" = yes; then
19010 # Depending upon the size, compute the lo and hi bounds.
19011 cat >conftest.
$ac_ext <<_ACEOF
19014 cat confdefs.h
>>conftest.
$ac_ext
19015 cat >>conftest.
$ac_ext <<_ACEOF
19016 /* end confdefs.h. */
19017 $ac_includes_default
19021 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19028 rm -f conftest.
$ac_objext
19029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19030 (eval $ac_compile) 2>conftest.er1
19032 grep -v '^ *+' conftest.er1
>conftest.err
19034 cat conftest.err
>&5
19035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036 (exit $ac_status); } &&
19037 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19039 (eval $ac_try) 2>&5
19041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042 (exit $ac_status); }; } &&
19043 { ac_try
='test -s conftest.$ac_objext'
19044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19045 (eval $ac_try) 2>&5
19047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048 (exit $ac_status); }; }; then
19051 cat >conftest.
$ac_ext <<_ACEOF
19054 cat confdefs.h
>>conftest.
$ac_ext
19055 cat >>conftest.
$ac_ext <<_ACEOF
19056 /* end confdefs.h. */
19057 $ac_includes_default
19061 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19068 rm -f conftest.
$ac_objext
19069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19070 (eval $ac_compile) 2>conftest.er1
19072 grep -v '^ *+' conftest.er1
>conftest.err
19074 cat conftest.err
>&5
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); } &&
19077 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19079 (eval $ac_try) 2>&5
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); }; } &&
19083 { ac_try
='test -s conftest.$ac_objext'
19084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19085 (eval $ac_try) 2>&5
19087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19088 (exit $ac_status); }; }; then
19089 ac_hi
=$ac_mid; break
19091 echo "$as_me: failed program was:" >&5
19092 sed 's/^/| /' conftest.
$ac_ext >&5
19094 ac_lo
=`expr $ac_mid + 1`
19095 if test $ac_lo -le $ac_mid; then
19099 ac_mid
=`expr 2 '*' $ac_mid + 1`
19101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19104 echo "$as_me: failed program was:" >&5
19105 sed 's/^/| /' conftest.
$ac_ext >&5
19107 cat >conftest.
$ac_ext <<_ACEOF
19110 cat confdefs.h
>>conftest.
$ac_ext
19111 cat >>conftest.
$ac_ext <<_ACEOF
19112 /* end confdefs.h. */
19113 $ac_includes_default
19117 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19124 rm -f conftest.
$ac_objext
19125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19126 (eval $ac_compile) 2>conftest.er1
19128 grep -v '^ *+' conftest.er1
>conftest.err
19130 cat conftest.err
>&5
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); } &&
19133 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19135 (eval $ac_try) 2>&5
19137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19138 (exit $ac_status); }; } &&
19139 { ac_try
='test -s conftest.$ac_objext'
19140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19141 (eval $ac_try) 2>&5
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); }; }; then
19147 cat >conftest.
$ac_ext <<_ACEOF
19150 cat confdefs.h
>>conftest.
$ac_ext
19151 cat >>conftest.
$ac_ext <<_ACEOF
19152 /* end confdefs.h. */
19153 $ac_includes_default
19157 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19164 rm -f conftest.
$ac_objext
19165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19166 (eval $ac_compile) 2>conftest.er1
19168 grep -v '^ *+' conftest.er1
>conftest.err
19170 cat conftest.err
>&5
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); } &&
19173 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19175 (eval $ac_try) 2>&5
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); }; } &&
19179 { ac_try
='test -s conftest.$ac_objext'
19180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19181 (eval $ac_try) 2>&5
19183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184 (exit $ac_status); }; }; then
19185 ac_lo
=$ac_mid; break
19187 echo "$as_me: failed program was:" >&5
19188 sed 's/^/| /' conftest.
$ac_ext >&5
19190 ac_hi
=`expr '(' $ac_mid ')' - 1`
19191 if test $ac_mid -le $ac_hi; then
19195 ac_mid
=`expr 2 '*' $ac_mid`
19197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19200 echo "$as_me: failed program was:" >&5
19201 sed 's/^/| /' conftest.
$ac_ext >&5
19205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19208 # Binary search between lo and hi bounds.
19209 while test "x$ac_lo" != "x$ac_hi"; do
19210 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19211 cat >conftest.
$ac_ext <<_ACEOF
19214 cat confdefs.h
>>conftest.
$ac_ext
19215 cat >>conftest.
$ac_ext <<_ACEOF
19216 /* end confdefs.h. */
19217 $ac_includes_default
19221 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19228 rm -f conftest.
$ac_objext
19229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19230 (eval $ac_compile) 2>conftest.er1
19232 grep -v '^ *+' conftest.er1
>conftest.err
19234 cat conftest.err
>&5
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); } &&
19237 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19239 (eval $ac_try) 2>&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); }; } &&
19243 { ac_try
='test -s conftest.$ac_objext'
19244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19245 (eval $ac_try) 2>&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); }; }; then
19251 echo "$as_me: failed program was:" >&5
19252 sed 's/^/| /' conftest.
$ac_ext >&5
19254 ac_lo
=`expr '(' $ac_mid ')' + 1`
19256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19259 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19260 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19261 See \`config.log' for more details." >&5
19262 echo "$as_me: error: cannot compute sizeof (long long), 77
19263 See \`config.log' for more details." >&2;}
19264 { (exit 1); exit 1; }; } ;;
19267 if test "$cross_compiling" = yes; then
19268 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19269 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19270 { (exit 1); exit 1; }; }
19272 cat >conftest.
$ac_ext <<_ACEOF
19275 cat confdefs.h
>>conftest.
$ac_ext
19276 cat >>conftest.
$ac_ext <<_ACEOF
19277 /* end confdefs.h. */
19278 $ac_includes_default
19279 long longval () { return (long) (sizeof (long long)); }
19280 unsigned long ulongval () { return (long) (sizeof (long long)); }
19282 #include <stdlib.h>
19287 FILE *f = fopen ("conftest.val", "w");
19290 if (((long) (sizeof (long long))) < 0)
19292 long i = longval ();
19293 if (i != ((long) (sizeof (long long))))
19295 fprintf (f, "%ld\n", i);
19299 unsigned long i = ulongval ();
19300 if (i != ((long) (sizeof (long long))))
19302 fprintf (f, "%lu\n", i);
19304 exit (ferror (f) || fclose (f) != 0);
19310 rm -f conftest
$ac_exeext
19311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19312 (eval $ac_link) 2>&5
19314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19315 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19317 (eval $ac_try) 2>&5
19319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19320 (exit $ac_status); }; }; then
19321 ac_cv_sizeof_long_long
=`cat conftest.val`
19323 echo "$as_me: program exited with status $ac_status" >&5
19324 echo "$as_me: failed program was:" >&5
19325 sed 's/^/| /' conftest.
$ac_ext >&5
19327 ( exit $ac_status )
19328 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19329 See \`config.log' for more details." >&5
19330 echo "$as_me: error: cannot compute sizeof (long long), 77
19331 See \`config.log' for more details." >&2;}
19332 { (exit 1); exit 1; }; }
19334 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19339 ac_cv_sizeof_long_long
=0
19342 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19343 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19344 cat >>confdefs.h
<<_ACEOF
19345 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19351 echo "$as_me:$LINENO: checking for wchar_t" >&5
19352 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19353 if test "${ac_cv_type_wchar_t+set}" = set; then
19354 echo $ECHO_N "(cached) $ECHO_C" >&6
19356 cat >conftest.
$ac_ext <<_ACEOF
19359 cat confdefs.h
>>conftest.
$ac_ext
19360 cat >>conftest.
$ac_ext <<_ACEOF
19361 /* end confdefs.h. */
19363 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19364 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19365 # error "fake wchar_t"
19367 #ifdef HAVE_WCHAR_H
19369 # include <stddef.h>
19371 # include <wchar.h>
19373 #ifdef HAVE_STDLIB_H
19374 # include <stdlib.h>
19385 if (sizeof (wchar_t))
19391 rm -f conftest.
$ac_objext
19392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19393 (eval $ac_compile) 2>conftest.er1
19395 grep -v '^ *+' conftest.er1
>conftest.err
19397 cat conftest.err
>&5
19398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399 (exit $ac_status); } &&
19400 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19402 (eval $ac_try) 2>&5
19404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405 (exit $ac_status); }; } &&
19406 { ac_try
='test -s conftest.$ac_objext'
19407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19408 (eval $ac_try) 2>&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); }; }; then
19412 ac_cv_type_wchar_t
=yes
19414 echo "$as_me: failed program was:" >&5
19415 sed 's/^/| /' conftest.
$ac_ext >&5
19417 ac_cv_type_wchar_t
=no
19419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19421 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19422 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19424 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19425 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19426 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19427 echo $ECHO_N "(cached) $ECHO_C" >&6
19429 if test "$ac_cv_type_wchar_t" = yes; then
19430 # The cast to unsigned long works around a bug in the HP C Compiler
19431 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19432 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19433 # This bug is HP SR number 8606223364.
19434 if test "$cross_compiling" = yes; then
19435 # Depending upon the size, compute the lo and hi bounds.
19436 cat >conftest.
$ac_ext <<_ACEOF
19439 cat confdefs.h
>>conftest.
$ac_ext
19440 cat >>conftest.
$ac_ext <<_ACEOF
19441 /* end confdefs.h. */
19443 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19444 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19445 # error "fake wchar_t"
19447 #ifdef HAVE_WCHAR_H
19449 # include <stddef.h>
19451 # include <wchar.h>
19453 #ifdef HAVE_STDLIB_H
19454 # include <stdlib.h>
19463 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19470 rm -f conftest.
$ac_objext
19471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19472 (eval $ac_compile) 2>conftest.er1
19474 grep -v '^ *+' conftest.er1
>conftest.err
19476 cat conftest.err
>&5
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); } &&
19479 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19481 (eval $ac_try) 2>&5
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); }; } &&
19485 { ac_try
='test -s conftest.$ac_objext'
19486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19487 (eval $ac_try) 2>&5
19489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19490 (exit $ac_status); }; }; then
19493 cat >conftest.
$ac_ext <<_ACEOF
19496 cat confdefs.h
>>conftest.
$ac_ext
19497 cat >>conftest.
$ac_ext <<_ACEOF
19498 /* end confdefs.h. */
19500 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19501 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19502 # error "fake wchar_t"
19504 #ifdef HAVE_WCHAR_H
19506 # include <stddef.h>
19508 # include <wchar.h>
19510 #ifdef HAVE_STDLIB_H
19511 # include <stdlib.h>
19520 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19527 rm -f conftest.
$ac_objext
19528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19529 (eval $ac_compile) 2>conftest.er1
19531 grep -v '^ *+' conftest.er1
>conftest.err
19533 cat conftest.err
>&5
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); } &&
19536 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19538 (eval $ac_try) 2>&5
19540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541 (exit $ac_status); }; } &&
19542 { ac_try
='test -s conftest.$ac_objext'
19543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19544 (eval $ac_try) 2>&5
19546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19547 (exit $ac_status); }; }; then
19548 ac_hi
=$ac_mid; break
19550 echo "$as_me: failed program was:" >&5
19551 sed 's/^/| /' conftest.
$ac_ext >&5
19553 ac_lo
=`expr $ac_mid + 1`
19554 if test $ac_lo -le $ac_mid; then
19558 ac_mid
=`expr 2 '*' $ac_mid + 1`
19560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19563 echo "$as_me: failed program was:" >&5
19564 sed 's/^/| /' conftest.
$ac_ext >&5
19566 cat >conftest.
$ac_ext <<_ACEOF
19569 cat confdefs.h
>>conftest.
$ac_ext
19570 cat >>conftest.
$ac_ext <<_ACEOF
19571 /* end confdefs.h. */
19573 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19574 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19575 # error "fake wchar_t"
19577 #ifdef HAVE_WCHAR_H
19579 # include <stddef.h>
19581 # include <wchar.h>
19583 #ifdef HAVE_STDLIB_H
19584 # include <stdlib.h>
19593 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19600 rm -f conftest.
$ac_objext
19601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19602 (eval $ac_compile) 2>conftest.er1
19604 grep -v '^ *+' conftest.er1
>conftest.err
19606 cat conftest.err
>&5
19607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19608 (exit $ac_status); } &&
19609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19611 (eval $ac_try) 2>&5
19613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19614 (exit $ac_status); }; } &&
19615 { ac_try
='test -s conftest.$ac_objext'
19616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19617 (eval $ac_try) 2>&5
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); }; }; then
19623 cat >conftest.
$ac_ext <<_ACEOF
19626 cat confdefs.h
>>conftest.
$ac_ext
19627 cat >>conftest.
$ac_ext <<_ACEOF
19628 /* end confdefs.h. */
19630 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19631 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19632 # error "fake wchar_t"
19634 #ifdef HAVE_WCHAR_H
19636 # include <stddef.h>
19638 # include <wchar.h>
19640 #ifdef HAVE_STDLIB_H
19641 # include <stdlib.h>
19650 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19657 rm -f conftest.
$ac_objext
19658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19659 (eval $ac_compile) 2>conftest.er1
19661 grep -v '^ *+' conftest.er1
>conftest.err
19663 cat conftest.err
>&5
19664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 (exit $ac_status); } &&
19666 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19668 (eval $ac_try) 2>&5
19670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671 (exit $ac_status); }; } &&
19672 { ac_try
='test -s conftest.$ac_objext'
19673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19674 (eval $ac_try) 2>&5
19676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19677 (exit $ac_status); }; }; then
19678 ac_lo
=$ac_mid; break
19680 echo "$as_me: failed program was:" >&5
19681 sed 's/^/| /' conftest.
$ac_ext >&5
19683 ac_hi
=`expr '(' $ac_mid ')' - 1`
19684 if test $ac_mid -le $ac_hi; then
19688 ac_mid
=`expr 2 '*' $ac_mid`
19690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19693 echo "$as_me: failed program was:" >&5
19694 sed 's/^/| /' conftest.
$ac_ext >&5
19698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19701 # Binary search between lo and hi bounds.
19702 while test "x$ac_lo" != "x$ac_hi"; do
19703 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19704 cat >conftest.
$ac_ext <<_ACEOF
19707 cat confdefs.h
>>conftest.
$ac_ext
19708 cat >>conftest.
$ac_ext <<_ACEOF
19709 /* end confdefs.h. */
19711 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19712 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19713 # error "fake wchar_t"
19715 #ifdef HAVE_WCHAR_H
19717 # include <stddef.h>
19719 # include <wchar.h>
19721 #ifdef HAVE_STDLIB_H
19722 # include <stdlib.h>
19731 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19738 rm -f conftest.
$ac_objext
19739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19740 (eval $ac_compile) 2>conftest.er1
19742 grep -v '^ *+' conftest.er1
>conftest.err
19744 cat conftest.err
>&5
19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746 (exit $ac_status); } &&
19747 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19749 (eval $ac_try) 2>&5
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); }; } &&
19753 { ac_try
='test -s conftest.$ac_objext'
19754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19755 (eval $ac_try) 2>&5
19757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19758 (exit $ac_status); }; }; then
19761 echo "$as_me: failed program was:" >&5
19762 sed 's/^/| /' conftest.
$ac_ext >&5
19764 ac_lo
=`expr '(' $ac_mid ')' + 1`
19766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19769 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
19770 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19771 See \`config.log' for more details." >&5
19772 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19773 See \`config.log' for more details." >&2;}
19774 { (exit 1); exit 1; }; } ;;
19777 if test "$cross_compiling" = yes; then
19778 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19779 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19780 { (exit 1); exit 1; }; }
19782 cat >conftest.
$ac_ext <<_ACEOF
19785 cat confdefs.h
>>conftest.
$ac_ext
19786 cat >>conftest.
$ac_ext <<_ACEOF
19787 /* end confdefs.h. */
19789 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19790 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19791 # error "fake wchar_t"
19793 #ifdef HAVE_WCHAR_H
19795 # include <stddef.h>
19797 # include <wchar.h>
19799 #ifdef HAVE_STDLIB_H
19800 # include <stdlib.h>
19806 long longval () { return (long) (sizeof (wchar_t)); }
19807 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19809 #include <stdlib.h>
19814 FILE *f = fopen ("conftest.val", "w");
19817 if (((long) (sizeof (wchar_t))) < 0)
19819 long i = longval ();
19820 if (i != ((long) (sizeof (wchar_t))))
19822 fprintf (f, "%ld\n", i);
19826 unsigned long i = ulongval ();
19827 if (i != ((long) (sizeof (wchar_t))))
19829 fprintf (f, "%lu\n", i);
19831 exit (ferror (f) || fclose (f) != 0);
19837 rm -f conftest
$ac_exeext
19838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19839 (eval $ac_link) 2>&5
19841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19842 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19844 (eval $ac_try) 2>&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); }; }; then
19848 ac_cv_sizeof_wchar_t
=`cat conftest.val`
19850 echo "$as_me: program exited with status $ac_status" >&5
19851 echo "$as_me: failed program was:" >&5
19852 sed 's/^/| /' conftest.
$ac_ext >&5
19854 ( exit $ac_status )
19855 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19856 See \`config.log' for more details." >&5
19857 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19858 See \`config.log' for more details." >&2;}
19859 { (exit 1); exit 1; }; }
19861 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19866 ac_cv_sizeof_wchar_t
=0
19869 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19870 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19871 cat >>confdefs.h
<<_ACEOF
19872 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19876 if test "$ac_cv_sizeof_wchar_t" != "0"; then
19882 echo "$as_me:$LINENO: checking for va_copy" >&5
19883 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19884 if test "${wx_cv_func_va_copy+set}" = set; then
19885 echo $ECHO_N "(cached) $ECHO_C" >&6
19888 cat >conftest.
$ac_ext <<_ACEOF
19890 #include <stdarg.h>
19891 void foo(char *f, ...)
19905 rm -f conftest.
$ac_objext conftest
$ac_exeext
19906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19907 (eval $ac_link) 2>conftest.er1
19909 grep -v '^ *+' conftest.er1
>conftest.err
19911 cat conftest.err
>&5
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); } &&
19914 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19916 (eval $ac_try) 2>&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); }; } &&
19920 { ac_try
='test -s conftest$ac_exeext'
19921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19922 (eval $ac_try) 2>&5
19924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925 (exit $ac_status); }; }; then
19926 wx_cv_func_va_copy
=yes
19928 echo "$as_me: failed program was:" >&5
19929 sed 's/^/| /' conftest.
$ac_ext >&5
19931 wx_cv_func_va_copy
=no
19934 rm -f conftest.err conftest.
$ac_objext \
19935 conftest
$ac_exeext conftest.
$ac_ext
19939 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19940 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19942 if test $wx_cv_func_va_copy = "yes"; then
19943 cat >>confdefs.h
<<\_ACEOF
19944 #define HAVE_VA_COPY 1
19948 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19949 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19950 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19951 echo $ECHO_N "(cached) $ECHO_C" >&6
19954 if test "$cross_compiling" = yes; then
19955 wx_cv_type_va_list_lvalue
=yes
19958 cat >conftest.
$ac_ext <<_ACEOF
19960 #include <stdarg.h>
19961 int foo(char *f, ...)
19966 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19974 return foo("hi", 17);
19977 rm -f conftest
$ac_exeext
19978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19979 (eval $ac_link) 2>&5
19981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19982 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19984 (eval $ac_try) 2>&5
19986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987 (exit $ac_status); }; }; then
19988 wx_cv_type_va_list_lvalue
=yes
19990 echo "$as_me: program exited with status $ac_status" >&5
19991 echo "$as_me: failed program was:" >&5
19992 sed 's/^/| /' conftest.
$ac_ext >&5
19994 ( exit $ac_status )
19995 wx_cv_type_va_list_lvalue
=no
19997 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20002 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
20003 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
20005 if test $wx_cv_type_va_list_lvalue != "yes"; then
20006 cat >>confdefs.h
<<\_ACEOF
20007 #define VA_LIST_IS_ARRAY 1
20013 # Check whether --enable-largefile or --disable-largefile was given.
20014 if test "${enable_largefile+set}" = set; then
20015 enableval
="$enable_largefile"
20018 if test "$enable_largefile" != no
; then
20021 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20022 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
20023 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
20024 echo $ECHO_N "(cached) $ECHO_C" >&6
20027 cat >conftest.
$ac_ext <<_ACEOF
20030 cat confdefs.h
>>conftest.
$ac_ext
20031 cat >>conftest.
$ac_ext <<_ACEOF
20032 /* end confdefs.h. */
20033 #define _FILE_OFFSET_BITS 64
20034 #include <sys/types.h>
20039 unsigned int field: sizeof(off_t) == 8;
20046 rm -f conftest.
$ac_objext
20047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20048 (eval $ac_compile) 2>conftest.er1
20050 grep -v '^ *+' conftest.er1
>conftest.err
20052 cat conftest.err
>&5
20053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054 (exit $ac_status); } &&
20055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20057 (eval $ac_try) 2>&5
20059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060 (exit $ac_status); }; } &&
20061 { ac_try
='test -s conftest.$ac_objext'
20062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20063 (eval $ac_try) 2>&5
20065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066 (exit $ac_status); }; }; then
20067 ac_cv_sys_file_offset_bits
=64
20069 echo "$as_me: failed program was:" >&5
20070 sed 's/^/| /' conftest.
$ac_ext >&5
20072 ac_cv_sys_file_offset_bits
=no
20074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20078 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
20079 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
20081 if test "$ac_cv_sys_file_offset_bits" != no
; then
20083 cat >>confdefs.h
<<_ACEOF
20084 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20089 if test "x$wx_largefile" != "xyes"; then
20091 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
20092 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
20093 if test "${ac_cv_sys_large_files+set}" = set; then
20094 echo $ECHO_N "(cached) $ECHO_C" >&6
20097 cat >conftest.
$ac_ext <<_ACEOF
20100 cat confdefs.h
>>conftest.
$ac_ext
20101 cat >>conftest.
$ac_ext <<_ACEOF
20102 /* end confdefs.h. */
20103 #define _LARGE_FILES 1
20104 #include <sys/types.h>
20109 unsigned int field: sizeof(off_t) == 8;
20116 rm -f conftest.
$ac_objext
20117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20118 (eval $ac_compile) 2>conftest.er1
20120 grep -v '^ *+' conftest.er1
>conftest.err
20122 cat conftest.err
>&5
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); } &&
20125 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20127 (eval $ac_try) 2>&5
20129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20130 (exit $ac_status); }; } &&
20131 { ac_try
='test -s conftest.$ac_objext'
20132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20133 (eval $ac_try) 2>&5
20135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); }; }; then
20137 ac_cv_sys_large_files
=1
20139 echo "$as_me: failed program was:" >&5
20140 sed 's/^/| /' conftest.
$ac_ext >&5
20142 ac_cv_sys_large_files
=no
20144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20148 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
20149 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
20151 if test "$ac_cv_sys_large_files" != no
; then
20153 cat >>confdefs.h
<<_ACEOF
20154 #define _LARGE_FILES $ac_cv_sys_large_files
20161 echo "$as_me:$LINENO: checking if large file support is available" >&5
20162 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
20163 if test "x$wx_largefile" = "xyes"; then
20164 cat >>confdefs.h
<<\_ACEOF
20165 #define HAVE_LARGEFILE_SUPPORT 1
20169 echo "$as_me:$LINENO: result: $wx_largefile" >&5
20170 echo "${ECHO_T}$wx_largefile" >&6
20174 if test "x$wx_largefile" = "xyes"; then
20175 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
20176 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
20178 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20179 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
20180 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
20181 if test "${wx_cv_STDC_EXT_required+set}" = set; then
20182 echo $ECHO_N "(cached) $ECHO_C" >&6
20188 ac_cpp
='$CXXCPP $CPPFLAGS'
20189 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20190 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20191 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20193 cat >conftest.
$ac_ext <<_ACEOF
20196 cat confdefs.h
>>conftest.
$ac_ext
20197 cat >>conftest.
$ac_ext <<_ACEOF
20198 /* end confdefs.h. */
20204 #ifndef __STDC_EXT__
20212 rm -f conftest.
$ac_objext
20213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20214 (eval $ac_compile) 2>conftest.er1
20216 grep -v '^ *+' conftest.er1
>conftest.err
20218 cat conftest.err
>&5
20219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20220 (exit $ac_status); } &&
20221 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20223 (eval $ac_try) 2>&5
20225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20226 (exit $ac_status); }; } &&
20227 { ac_try
='test -s conftest.$ac_objext'
20228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20229 (eval $ac_try) 2>&5
20231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20232 (exit $ac_status); }; }; then
20233 wx_cv_STDC_EXT_required
=no
20235 echo "$as_me: failed program was:" >&5
20236 sed 's/^/| /' conftest.
$ac_ext >&5
20238 wx_cv_STDC_EXT_required
=yes
20241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20243 ac_cpp
='$CPP $CPPFLAGS'
20244 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20245 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20246 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20251 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
20252 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
20253 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20254 CXXFLAGS
="$CXXFLAGS -D__STDC_EXT__"
20258 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
20260 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20261 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
20262 if test "${ac_cv_sys_largefile_source+set}" = set; then
20263 echo $ECHO_N "(cached) $ECHO_C" >&6
20266 ac_cv_sys_largefile_source
=no
20267 cat >conftest.
$ac_ext <<_ACEOF
20270 cat confdefs.h
>>conftest.
$ac_ext
20271 cat >>conftest.
$ac_ext <<_ACEOF
20272 /* end confdefs.h. */
20282 rm -f conftest.
$ac_objext
20283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20284 (eval $ac_compile) 2>conftest.er1
20286 grep -v '^ *+' conftest.er1
>conftest.err
20288 cat conftest.err
>&5
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); } &&
20291 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20293 (eval $ac_try) 2>&5
20295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20296 (exit $ac_status); }; } &&
20297 { ac_try
='test -s conftest.$ac_objext'
20298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20299 (eval $ac_try) 2>&5
20301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302 (exit $ac_status); }; }; then
20305 echo "$as_me: failed program was:" >&5
20306 sed 's/^/| /' conftest.
$ac_ext >&5
20309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20310 cat >conftest.
$ac_ext <<_ACEOF
20313 cat confdefs.h
>>conftest.
$ac_ext
20314 cat >>conftest.
$ac_ext <<_ACEOF
20315 /* end confdefs.h. */
20316 #define _LARGEFILE_SOURCE 1
20326 rm -f conftest.
$ac_objext
20327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20328 (eval $ac_compile) 2>conftest.er1
20330 grep -v '^ *+' conftest.er1
>conftest.err
20332 cat conftest.err
>&5
20333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20334 (exit $ac_status); } &&
20335 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20337 (eval $ac_try) 2>&5
20339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20340 (exit $ac_status); }; } &&
20341 { ac_try
='test -s conftest.$ac_objext'
20342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20343 (eval $ac_try) 2>&5
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); }; }; then
20347 ac_cv_sys_largefile_source
=1; break
20349 echo "$as_me: failed program was:" >&5
20350 sed 's/^/| /' conftest.
$ac_ext >&5
20353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20357 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20358 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20359 if test "$ac_cv_sys_largefile_source" != no
; then
20361 cat >>confdefs.h
<<_ACEOF
20362 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20368 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20369 # in glibc 2.1.3, but that breaks too many other things.
20370 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20371 echo "$as_me:$LINENO: checking for fseeko" >&5
20372 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20373 if test "${ac_cv_func_fseeko+set}" = set; then
20374 echo $ECHO_N "(cached) $ECHO_C" >&6
20376 cat >conftest.
$ac_ext <<_ACEOF
20379 cat confdefs.h
>>conftest.
$ac_ext
20380 cat >>conftest.
$ac_ext <<_ACEOF
20381 /* end confdefs.h. */
20386 return fseeko && fseeko (stdin, 0, 0);
20391 rm -f conftest.
$ac_objext conftest
$ac_exeext
20392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20393 (eval $ac_link) 2>conftest.er1
20395 grep -v '^ *+' conftest.er1
>conftest.err
20397 cat conftest.err
>&5
20398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20399 (exit $ac_status); } &&
20400 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20402 (eval $ac_try) 2>&5
20404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20405 (exit $ac_status); }; } &&
20406 { ac_try
='test -s conftest$ac_exeext'
20407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20408 (eval $ac_try) 2>&5
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); }; }; then
20412 ac_cv_func_fseeko
=yes
20414 echo "$as_me: failed program was:" >&5
20415 sed 's/^/| /' conftest.
$ac_ext >&5
20417 ac_cv_func_fseeko
=no
20419 rm -f conftest.err conftest.
$ac_objext \
20420 conftest
$ac_exeext conftest.
$ac_ext
20422 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20423 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20424 if test $ac_cv_func_fseeko = yes; then
20426 cat >>confdefs.h
<<\_ACEOF
20427 #define HAVE_FSEEKO 1
20432 if test "$ac_cv_sys_largefile_source" != no
; then
20433 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20435 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20438 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20439 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20440 if test "${ac_cv_c_bigendian+set}" = set; then
20441 echo $ECHO_N "(cached) $ECHO_C" >&6
20443 ac_cv_c_bigendian
=unknown
20444 # See if sys/param.h defines the BYTE_ORDER macro.
20445 cat >conftest.
$ac_ext <<_ACEOF
20448 cat confdefs.h
>>conftest.
$ac_ext
20449 cat >>conftest.
$ac_ext <<_ACEOF
20450 /* end confdefs.h. */
20451 #include <sys/types.h>
20452 #include <sys/param.h>
20457 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20458 bogus endian macros
20464 rm -f conftest.
$ac_objext
20465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20466 (eval $ac_compile) 2>conftest.er1
20468 grep -v '^ *+' conftest.er1
>conftest.err
20470 cat conftest.err
>&5
20471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20472 (exit $ac_status); } &&
20473 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20475 (eval $ac_try) 2>&5
20477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20478 (exit $ac_status); }; } &&
20479 { ac_try
='test -s conftest.$ac_objext'
20480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20481 (eval $ac_try) 2>&5
20483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20484 (exit $ac_status); }; }; then
20485 # It does; now see whether it defined to BIG_ENDIAN or not.
20486 cat >conftest.
$ac_ext <<_ACEOF
20489 cat confdefs.h
>>conftest.
$ac_ext
20490 cat >>conftest.
$ac_ext <<_ACEOF
20491 /* end confdefs.h. */
20492 #include <sys/types.h>
20493 #include <sys/param.h>
20498 #if BYTE_ORDER != BIG_ENDIAN
20505 rm -f conftest.
$ac_objext
20506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20507 (eval $ac_compile) 2>conftest.er1
20509 grep -v '^ *+' conftest.er1
>conftest.err
20511 cat conftest.err
>&5
20512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); } &&
20514 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20516 (eval $ac_try) 2>&5
20518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20519 (exit $ac_status); }; } &&
20520 { ac_try
='test -s conftest.$ac_objext'
20521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20522 (eval $ac_try) 2>&5
20524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20525 (exit $ac_status); }; }; then
20526 ac_cv_c_bigendian
=yes
20528 echo "$as_me: failed program was:" >&5
20529 sed 's/^/| /' conftest.
$ac_ext >&5
20531 ac_cv_c_bigendian
=no
20533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20535 echo "$as_me: failed program was:" >&5
20536 sed 's/^/| /' conftest.
$ac_ext >&5
20539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20540 if test $ac_cv_c_bigendian = unknown
; then
20541 if test "$cross_compiling" = yes; then
20542 ac_cv_c_bigendian
=unknown
20544 cat >conftest.
$ac_ext <<_ACEOF
20547 cat confdefs.h
>>conftest.
$ac_ext
20548 cat >>conftest.
$ac_ext <<_ACEOF
20549 /* end confdefs.h. */
20551 /* Are we little or big endian? From Harbison&Steele. */
20555 char c[sizeof (long)];
20558 exit (u.c[sizeof (long) - 1] == 1);
20561 rm -f conftest
$ac_exeext
20562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20563 (eval $ac_link) 2>&5
20565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20568 (eval $ac_try) 2>&5
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); }; }; then
20572 ac_cv_c_bigendian
=no
20574 echo "$as_me: program exited with status $ac_status" >&5
20575 echo "$as_me: failed program was:" >&5
20576 sed 's/^/| /' conftest.
$ac_ext >&5
20578 ( exit $ac_status )
20579 ac_cv_c_bigendian
=yes
20581 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20585 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20586 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20587 if test $ac_cv_c_bigendian = unknown
; then
20588 { 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
20589 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;}
20591 if test $ac_cv_c_bigendian = yes; then
20592 cat >>confdefs.h
<<\_ACEOF
20593 #define WORDS_BIGENDIAN 1
20600 ac_cpp
='$CXXCPP $CPPFLAGS'
20601 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20602 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20603 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20604 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20605 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20606 if test -z "$CXXCPP"; then
20607 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20608 echo $ECHO_N "(cached) $ECHO_C" >&6
20610 # Double quotes because CXXCPP needs to be expanded
20611 for CXXCPP
in "$CXX -E" "/lib/cpp"
20613 ac_preproc_ok
=false
20614 for ac_cxx_preproc_warn_flag
in '' yes
20616 # Use a header file that comes with gcc, so configuring glibc
20617 # with a fresh cross-compiler works.
20618 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20619 # <limits.h> exists even on freestanding compilers.
20620 # On the NeXT, cc -E runs the code through the compiler's parser,
20621 # not just through cpp. "Syntax error" is here to catch this case.
20622 cat >conftest.
$ac_ext <<_ACEOF
20625 cat confdefs.h
>>conftest.
$ac_ext
20626 cat >>conftest.
$ac_ext <<_ACEOF
20627 /* end confdefs.h. */
20629 # include <limits.h>
20631 # include <assert.h>
20635 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20636 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20638 grep -v '^ *+' conftest.er1
>conftest.err
20640 cat conftest.err
>&5
20641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20642 (exit $ac_status); } >/dev
/null
; then
20643 if test -s conftest.err
; then
20644 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20645 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20652 if test -z "$ac_cpp_err"; then
20655 echo "$as_me: failed program was:" >&5
20656 sed 's/^/| /' conftest.
$ac_ext >&5
20658 # Broken: fails on valid input.
20661 rm -f conftest.err conftest.
$ac_ext
20663 # OK, works on sane cases. Now check whether non-existent headers
20664 # can be detected and how.
20665 cat >conftest.
$ac_ext <<_ACEOF
20668 cat confdefs.h
>>conftest.
$ac_ext
20669 cat >>conftest.
$ac_ext <<_ACEOF
20670 /* end confdefs.h. */
20671 #include <ac_nonexistent.h>
20673 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20674 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20676 grep -v '^ *+' conftest.er1
>conftest.err
20678 cat conftest.err
>&5
20679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20680 (exit $ac_status); } >/dev
/null
; then
20681 if test -s conftest.err
; then
20682 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20683 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20690 if test -z "$ac_cpp_err"; then
20691 # Broken: success on invalid input.
20694 echo "$as_me: failed program was:" >&5
20695 sed 's/^/| /' conftest.
$ac_ext >&5
20697 # Passes both tests.
20701 rm -f conftest.err conftest.
$ac_ext
20704 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20705 rm -f conftest.err conftest.
$ac_ext
20706 if $ac_preproc_ok; then
20711 ac_cv_prog_CXXCPP
=$CXXCPP
20714 CXXCPP
=$ac_cv_prog_CXXCPP
20716 ac_cv_prog_CXXCPP
=$CXXCPP
20718 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20719 echo "${ECHO_T}$CXXCPP" >&6
20720 ac_preproc_ok
=false
20721 for ac_cxx_preproc_warn_flag
in '' yes
20723 # Use a header file that comes with gcc, so configuring glibc
20724 # with a fresh cross-compiler works.
20725 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20726 # <limits.h> exists even on freestanding compilers.
20727 # On the NeXT, cc -E runs the code through the compiler's parser,
20728 # not just through cpp. "Syntax error" is here to catch this case.
20729 cat >conftest.
$ac_ext <<_ACEOF
20732 cat confdefs.h
>>conftest.
$ac_ext
20733 cat >>conftest.
$ac_ext <<_ACEOF
20734 /* end confdefs.h. */
20736 # include <limits.h>
20738 # include <assert.h>
20742 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20743 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20745 grep -v '^ *+' conftest.er1
>conftest.err
20747 cat conftest.err
>&5
20748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749 (exit $ac_status); } >/dev
/null
; then
20750 if test -s conftest.err
; then
20751 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20752 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20759 if test -z "$ac_cpp_err"; then
20762 echo "$as_me: failed program was:" >&5
20763 sed 's/^/| /' conftest.
$ac_ext >&5
20765 # Broken: fails on valid input.
20768 rm -f conftest.err conftest.
$ac_ext
20770 # OK, works on sane cases. Now check whether non-existent headers
20771 # can be detected and how.
20772 cat >conftest.
$ac_ext <<_ACEOF
20775 cat confdefs.h
>>conftest.
$ac_ext
20776 cat >>conftest.
$ac_ext <<_ACEOF
20777 /* end confdefs.h. */
20778 #include <ac_nonexistent.h>
20780 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20781 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20783 grep -v '^ *+' conftest.er1
>conftest.err
20785 cat conftest.err
>&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); } >/dev
/null
; then
20788 if test -s conftest.err
; then
20789 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20790 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20797 if test -z "$ac_cpp_err"; then
20798 # Broken: success on invalid input.
20801 echo "$as_me: failed program was:" >&5
20802 sed 's/^/| /' conftest.
$ac_ext >&5
20804 # Passes both tests.
20808 rm -f conftest.err conftest.
$ac_ext
20811 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20812 rm -f conftest.err conftest.
$ac_ext
20813 if $ac_preproc_ok; then
20816 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20817 See \`config.log' for more details." >&5
20818 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20819 See \`config.log' for more details." >&2;}
20820 { (exit 1); exit 1; }; }
20824 ac_cpp
='$CXXCPP $CPPFLAGS'
20825 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20826 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20827 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20834 ac_cpp
='$CXXCPP $CPPFLAGS'
20835 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20836 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20837 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20841 for ac_header
in iostream
20843 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20845 echo "$as_me:$LINENO: checking for $ac_header" >&5
20846 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20848 echo $ECHO_N "(cached) $ECHO_C" >&6
20850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20851 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20853 # Is the header compilable?
20854 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20855 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20856 cat >conftest.
$ac_ext <<_ACEOF
20859 cat confdefs.h
>>conftest.
$ac_ext
20860 cat >>conftest.
$ac_ext <<_ACEOF
20861 /* end confdefs.h. */
20862 $ac_includes_default
20863 #include <$ac_header>
20865 rm -f conftest.
$ac_objext
20866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20867 (eval $ac_compile) 2>conftest.er1
20869 grep -v '^ *+' conftest.er1
>conftest.err
20871 cat conftest.err
>&5
20872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20873 (exit $ac_status); } &&
20874 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20876 (eval $ac_try) 2>&5
20878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20879 (exit $ac_status); }; } &&
20880 { ac_try
='test -s conftest.$ac_objext'
20881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20882 (eval $ac_try) 2>&5
20884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885 (exit $ac_status); }; }; then
20886 ac_header_compiler
=yes
20888 echo "$as_me: failed program was:" >&5
20889 sed 's/^/| /' conftest.
$ac_ext >&5
20891 ac_header_compiler
=no
20893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20894 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20895 echo "${ECHO_T}$ac_header_compiler" >&6
20897 # Is the header present?
20898 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20899 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20900 cat >conftest.
$ac_ext <<_ACEOF
20903 cat confdefs.h
>>conftest.
$ac_ext
20904 cat >>conftest.
$ac_ext <<_ACEOF
20905 /* end confdefs.h. */
20906 #include <$ac_header>
20908 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20909 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20911 grep -v '^ *+' conftest.er1
>conftest.err
20913 cat conftest.err
>&5
20914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20915 (exit $ac_status); } >/dev
/null
; then
20916 if test -s conftest.err
; then
20917 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20918 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20925 if test -z "$ac_cpp_err"; then
20926 ac_header_preproc
=yes
20928 echo "$as_me: failed program was:" >&5
20929 sed 's/^/| /' conftest.
$ac_ext >&5
20931 ac_header_preproc
=no
20933 rm -f conftest.err conftest.
$ac_ext
20934 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20935 echo "${ECHO_T}$ac_header_preproc" >&6
20937 # So? What about this header?
20938 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20940 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20941 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20942 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20943 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20944 ac_header_preproc
=yes
20947 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20948 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20949 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20950 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20951 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20952 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20953 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20954 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20955 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20956 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20957 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20958 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20961 ## ----------------------------------------- ##
20962 ## Report this to wx-dev@lists.wxwidgets.org ##
20963 ## ----------------------------------------- ##
20966 sed "s/^/$as_me: WARNING: /" >&2
20969 echo "$as_me:$LINENO: checking for $ac_header" >&5
20970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20972 echo $ECHO_N "(cached) $ECHO_C" >&6
20974 eval "$as_ac_Header=\$ac_header_preproc"
20976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20977 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20980 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20981 cat >>confdefs.h
<<_ACEOF
20982 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20990 if test "$ac_cv_header_iostream" = "yes" ; then
20993 cat >>confdefs.h
<<\_ACEOF
20994 #define wxUSE_IOSTREAMH 1
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
21008 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
21009 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
21010 if test "${wx_cv_cpp_bool+set}" = set; then
21011 echo $ECHO_N "(cached) $ECHO_C" >&6
21017 ac_cpp
='$CXXCPP $CPPFLAGS'
21018 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21019 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21020 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21023 cat >conftest.
$ac_ext <<_ACEOF
21026 cat confdefs.h
>>conftest.
$ac_ext
21027 cat >>conftest.
$ac_ext <<_ACEOF
21028 /* end confdefs.h. */
21043 rm -f conftest.
$ac_objext
21044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21045 (eval $ac_compile) 2>conftest.er1
21047 grep -v '^ *+' conftest.er1
>conftest.err
21049 cat conftest.err
>&5
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); } &&
21052 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21054 (eval $ac_try) 2>&5
21056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21057 (exit $ac_status); }; } &&
21058 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
21068 echo "$as_me: failed program was:" >&5
21069 sed 's/^/| /' conftest.
$ac_ext >&5
21076 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: $wx_cv_cpp_bool" >&5
21087 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
21089 if test "$wx_cv_cpp_bool" = "yes"; then
21090 cat >>confdefs.h
<<\_ACEOF
21091 #define HAVE_BOOL 1
21098 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
21099 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
21100 if test "${wx_cv_explicit+set}" = set; then
21101 echo $ECHO_N "(cached) $ECHO_C" >&6
21107 ac_cpp
='$CXXCPP $CPPFLAGS'
21108 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21109 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21110 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21113 cat >conftest.
$ac_ext <<_ACEOF
21116 cat confdefs.h
>>conftest.
$ac_ext
21117 cat >>conftest.
$ac_ext <<_ACEOF
21118 /* end confdefs.h. */
21120 class Foo { public: explicit Foo(int) {} };
21132 rm -f conftest.
$ac_objext
21133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21134 (eval $ac_compile) 2>conftest.er1
21136 grep -v '^ *+' conftest.er1
>conftest.err
21138 cat conftest.err
>&5
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); } &&
21141 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21143 (eval $ac_try) 2>&5
21145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21146 (exit $ac_status); }; } &&
21147 { ac_try
='test -s conftest.$ac_objext'
21148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21149 (eval $ac_try) 2>&5
21151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21152 (exit $ac_status); }; }; then
21154 cat >conftest.
$ac_ext <<_ACEOF
21157 cat confdefs.h
>>conftest.
$ac_ext
21158 cat >>conftest.
$ac_ext <<_ACEOF
21159 /* end confdefs.h. */
21161 class Foo { public: explicit Foo(int) {} };
21162 static void TakeFoo(const Foo& foo) { }
21175 rm -f conftest.
$ac_objext
21176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21177 (eval $ac_compile) 2>conftest.er1
21179 grep -v '^ *+' conftest.er1
>conftest.err
21181 cat conftest.err
>&5
21182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21183 (exit $ac_status); } &&
21184 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21186 (eval $ac_try) 2>&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); }; } &&
21190 { ac_try
='test -s conftest.$ac_objext'
21191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21192 (eval $ac_try) 2>&5
21194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21195 (exit $ac_status); }; }; then
21198 echo "$as_me: failed program was:" >&5
21199 sed 's/^/| /' conftest.
$ac_ext >&5
21204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21207 echo "$as_me: failed program was:" >&5
21208 sed 's/^/| /' conftest.
$ac_ext >&5
21213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21216 ac_cpp
='$CPP $CPPFLAGS'
21217 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21218 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21219 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21223 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
21224 echo "${ECHO_T}$wx_cv_explicit" >&6
21226 if test "$wx_cv_explicit" = "yes"; then
21227 cat >>confdefs.h
<<\_ACEOF
21228 #define HAVE_EXPLICIT 1
21234 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
21235 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
21236 if test "${ac_cv_cxx_const_cast+set}" = set; then
21237 echo $ECHO_N "(cached) $ECHO_C" >&6
21242 ac_cpp
='$CXXCPP $CPPFLAGS'
21243 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21244 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21245 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21247 cat >conftest.
$ac_ext <<_ACEOF
21250 cat confdefs.h
>>conftest.
$ac_ext
21251 cat >>conftest.
$ac_ext <<_ACEOF
21252 /* end confdefs.h. */
21257 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
21262 rm -f conftest.
$ac_objext
21263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21264 (eval $ac_compile) 2>conftest.er1
21266 grep -v '^ *+' conftest.er1
>conftest.err
21268 cat conftest.err
>&5
21269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21270 (exit $ac_status); } &&
21271 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21273 (eval $ac_try) 2>&5
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276 (exit $ac_status); }; } &&
21277 { ac_try
='test -s conftest.$ac_objext'
21278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21279 (eval $ac_try) 2>&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); }; }; then
21283 ac_cv_cxx_const_cast
=yes
21285 echo "$as_me: failed program was:" >&5
21286 sed 's/^/| /' conftest.
$ac_ext >&5
21288 ac_cv_cxx_const_cast
=no
21290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21292 ac_cpp
='$CPP $CPPFLAGS'
21293 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21294 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21295 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21299 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
21300 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
21301 if test "$ac_cv_cxx_const_cast" = yes; then
21303 cat >>confdefs.h
<<\_ACEOF
21304 #define HAVE_CONST_CAST
21309 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
21310 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
21311 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
21312 echo $ECHO_N "(cached) $ECHO_C" >&6
21317 ac_cpp
='$CXXCPP $CPPFLAGS'
21318 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21319 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21320 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21322 cat >conftest.
$ac_ext <<_ACEOF
21325 cat confdefs.h
>>conftest.
$ac_ext
21326 cat >>conftest.
$ac_ext <<_ACEOF
21327 /* end confdefs.h. */
21328 #include <typeinfo>
21329 class Base { public : Base () {} virtual void f () = 0;};
21330 class Derived : public Base { public : Derived () {} virtual void f () {} };
21331 class Unrelated { public : Unrelated () {} };
21332 int g (Unrelated&) { return 0; }
21337 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21342 rm -f conftest.
$ac_objext
21343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21344 (eval $ac_compile) 2>conftest.er1
21346 grep -v '^ *+' conftest.er1
>conftest.err
21348 cat conftest.err
>&5
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); } &&
21351 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21353 (eval $ac_try) 2>&5
21355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21356 (exit $ac_status); }; } &&
21357 { ac_try
='test -s conftest.$ac_objext'
21358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21359 (eval $ac_try) 2>&5
21361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21362 (exit $ac_status); }; }; then
21363 ac_cv_cxx_reinterpret_cast
=yes
21365 echo "$as_me: failed program was:" >&5
21366 sed 's/^/| /' conftest.
$ac_ext >&5
21368 ac_cv_cxx_reinterpret_cast
=no
21370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21372 ac_cpp
='$CPP $CPPFLAGS'
21373 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21374 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21375 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21379 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21380 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21381 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21383 cat >>confdefs.h
<<\_ACEOF
21384 #define HAVE_REINTERPRET_CAST
21389 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21390 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21391 if test "${ac_cv_cxx_static_cast+set}" = set; then
21392 echo $ECHO_N "(cached) $ECHO_C" >&6
21397 ac_cpp
='$CXXCPP $CPPFLAGS'
21398 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21399 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21400 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21402 cat >conftest.
$ac_ext <<_ACEOF
21405 cat confdefs.h
>>conftest.
$ac_ext
21406 cat >>conftest.
$ac_ext <<_ACEOF
21407 /* end confdefs.h. */
21408 #include <typeinfo>
21409 class Base { public : Base () {} virtual void f () = 0; };
21410 class Derived : public Base { public : Derived () {} virtual void f () {} };
21411 int g (Derived&) { return 0; }
21416 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21421 rm -f conftest.
$ac_objext
21422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21423 (eval $ac_compile) 2>conftest.er1
21425 grep -v '^ *+' conftest.er1
>conftest.err
21427 cat conftest.err
>&5
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); } &&
21430 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21432 (eval $ac_try) 2>&5
21434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21435 (exit $ac_status); }; } &&
21436 { ac_try
='test -s conftest.$ac_objext'
21437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21438 (eval $ac_try) 2>&5
21440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441 (exit $ac_status); }; }; then
21442 ac_cv_cxx_static_cast
=yes
21444 echo "$as_me: failed program was:" >&5
21445 sed 's/^/| /' conftest.
$ac_ext >&5
21447 ac_cv_cxx_static_cast
=no
21449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21451 ac_cpp
='$CPP $CPPFLAGS'
21452 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21453 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21454 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21458 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21459 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21460 if test "$ac_cv_cxx_static_cast" = yes; then
21462 cat >>confdefs.h
<<\_ACEOF
21463 #define HAVE_STATIC_CAST
21469 if test "x$SUNCXX" = xyes
; then
21470 CXXFLAGS
="$CXXFLAGS -features=tmplife"
21473 if test "x$SUNCC" = xyes
; then
21474 CFLAGS
="$CFLAGS -erroff=E_NO_EXPLICIT_TYPE_GIVEN"
21477 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21479 ac_cpp
='$CXXCPP $CPPFLAGS'
21480 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21481 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21482 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21485 if test "$wxUSE_UNICODE" = "yes"; then
21486 std_string
="std::wstring"
21487 char_type
="wchar_t"
21489 std_string
="std::string"
21493 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
21494 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
21495 cat >conftest.
$ac_ext <<_ACEOF
21498 cat confdefs.h
>>conftest.
$ac_ext
21499 cat >>conftest.
$ac_ext <<_ACEOF
21500 /* end confdefs.h. */
21510 rm -f conftest.
$ac_objext
21511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21512 (eval $ac_compile) 2>conftest.er1
21514 grep -v '^ *+' conftest.er1
>conftest.err
21516 cat conftest.err
>&5
21517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21518 (exit $ac_status); } &&
21519 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21521 (eval $ac_try) 2>&5
21523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21524 (exit $ac_status); }; } &&
21525 { ac_try
='test -s conftest.$ac_objext'
21526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21527 (eval $ac_try) 2>&5
21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530 (exit $ac_status); }; }; then
21531 echo "$as_me:$LINENO: result: yes" >&5
21532 echo "${ECHO_T}yes" >&6
21533 cat >>confdefs.h
<<\_ACEOF
21534 #define HAVE_STD_WSTRING 1
21538 echo "$as_me: failed program was:" >&5
21539 sed 's/^/| /' conftest.
$ac_ext >&5
21541 echo "$as_me:$LINENO: result: no" >&5
21542 echo "${ECHO_T}no" >&6
21543 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
21544 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
21545 cat >conftest.
$ac_ext <<_ACEOF
21548 cat confdefs.h
>>conftest.
$ac_ext
21549 cat >>conftest.
$ac_ext <<_ACEOF
21550 /* end confdefs.h. */
21552 #ifdef HAVE_WCHAR_H
21554 # include <stddef.h>
21556 # include <wchar.h>
21558 #ifdef HAVE_STDLIB_H
21559 # include <stdlib.h>
21567 std::basic_string<$char_type> foo;
21568 const $char_type* dummy = foo.c_str();
21573 rm -f conftest.
$ac_objext
21574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21575 (eval $ac_compile) 2>conftest.er1
21577 grep -v '^ *+' conftest.er1
>conftest.err
21579 cat conftest.err
>&5
21580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581 (exit $ac_status); } &&
21582 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21584 (eval $ac_try) 2>&5
21586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587 (exit $ac_status); }; } &&
21588 { ac_try
='test -s conftest.$ac_objext'
21589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21590 (eval $ac_try) 2>&5
21592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21593 (exit $ac_status); }; }; then
21594 echo "$as_me:$LINENO: result: yes" >&5
21595 echo "${ECHO_T}yes" >&6
21597 echo "$as_me: failed program was:" >&5
21598 sed 's/^/| /' conftest.
$ac_ext >&5
21600 echo "$as_me:$LINENO: result: no" >&5
21601 echo "${ECHO_T}no" >&6
21602 if test "$wxUSE_STL" = "yes"; then
21603 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
21604 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
21605 { (exit 1); exit 1; }; }
21606 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
21607 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
21608 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
21609 { (exit 1); exit 1; }; }
21611 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21612 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21613 wxUSE_STD_STRING
=no
21618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21624 ac_cpp
='$CPP $CPPFLAGS'
21625 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21626 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21627 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21631 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21633 ac_cpp
='$CXXCPP $CPPFLAGS'
21634 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21635 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21636 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21639 echo "$as_me:$LINENO: checking for std::istream" >&5
21640 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
21641 if test "${ac_cv_type_std__istream+set}" = set; then
21642 echo $ECHO_N "(cached) $ECHO_C" >&6
21644 cat >conftest.
$ac_ext <<_ACEOF
21647 cat confdefs.h
>>conftest.
$ac_ext
21648 cat >>conftest.
$ac_ext <<_ACEOF
21649 /* end confdefs.h. */
21650 #include <iostream>
21655 if ((std::istream *) 0)
21657 if (sizeof (std::istream))
21663 rm -f conftest.
$ac_objext
21664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21665 (eval $ac_compile) 2>conftest.er1
21667 grep -v '^ *+' conftest.er1
>conftest.err
21669 cat conftest.err
>&5
21670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21671 (exit $ac_status); } &&
21672 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21674 (eval $ac_try) 2>&5
21676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677 (exit $ac_status); }; } &&
21678 { ac_try
='test -s conftest.$ac_objext'
21679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21680 (eval $ac_try) 2>&5
21682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21683 (exit $ac_status); }; }; then
21684 ac_cv_type_std__istream
=yes
21686 echo "$as_me: failed program was:" >&5
21687 sed 's/^/| /' conftest.
$ac_ext >&5
21689 ac_cv_type_std__istream
=no
21691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21693 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
21694 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
21695 if test $ac_cv_type_std__istream = yes; then
21697 cat >>confdefs.h
<<_ACEOF
21698 #define HAVE_STD__ISTREAM 1
21703 wxUSE_STD_IOSTREAM
=no
21705 echo "$as_me:$LINENO: checking for std::ostream" >&5
21706 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
21707 if test "${ac_cv_type_std__ostream+set}" = set; then
21708 echo $ECHO_N "(cached) $ECHO_C" >&6
21710 cat >conftest.
$ac_ext <<_ACEOF
21713 cat confdefs.h
>>conftest.
$ac_ext
21714 cat >>conftest.
$ac_ext <<_ACEOF
21715 /* end confdefs.h. */
21716 #include <iostream>
21721 if ((std::ostream *) 0)
21723 if (sizeof (std::ostream))
21729 rm -f conftest.
$ac_objext
21730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21731 (eval $ac_compile) 2>conftest.er1
21733 grep -v '^ *+' conftest.er1
>conftest.err
21735 cat conftest.err
>&5
21736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737 (exit $ac_status); } &&
21738 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21740 (eval $ac_try) 2>&5
21742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21743 (exit $ac_status); }; } &&
21744 { ac_try
='test -s conftest.$ac_objext'
21745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21746 (eval $ac_try) 2>&5
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); }; }; then
21750 ac_cv_type_std__ostream
=yes
21752 echo "$as_me: failed program was:" >&5
21753 sed 's/^/| /' conftest.
$ac_ext >&5
21755 ac_cv_type_std__ostream
=no
21757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21759 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
21760 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
21761 if test $ac_cv_type_std__ostream = yes; then
21763 cat >>confdefs.h
<<_ACEOF
21764 #define HAVE_STD__OSTREAM 1
21769 wxUSE_STD_IOSTREAM
=no
21773 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21774 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
21775 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
21776 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
21777 { (exit 1); exit 1; }; }
21779 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21780 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21785 ac_cpp
='$CPP $CPPFLAGS'
21786 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21787 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21788 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21792 if test "$wxUSE_STL" = "yes"; then
21794 ac_cpp
='$CXXCPP $CPPFLAGS'
21795 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21796 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21797 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21800 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21801 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21802 cat >conftest.
$ac_ext <<_ACEOF
21805 cat confdefs.h
>>conftest.
$ac_ext
21806 cat >>conftest.
$ac_ext <<_ACEOF
21807 /* end confdefs.h. */
21809 #include <functional>
21810 #include <algorithm>
21816 std::vector<int> moo;
21817 std::list<int> foo;
21818 std::vector<int>::iterator it =
21819 std::find_if(moo.begin(), moo.end(),
21820 std::bind2nd(std::less<int>(), 3));
21825 rm -f conftest.
$ac_objext
21826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21827 (eval $ac_compile) 2>conftest.er1
21829 grep -v '^ *+' conftest.er1
>conftest.err
21831 cat conftest.err
>&5
21832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21833 (exit $ac_status); } &&
21834 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21836 (eval $ac_try) 2>&5
21838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21839 (exit $ac_status); }; } &&
21840 { ac_try
='test -s conftest.$ac_objext'
21841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21842 (eval $ac_try) 2>&5
21844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21845 (exit $ac_status); }; }; then
21846 echo "$as_me:$LINENO: result: yes" >&5
21847 echo "${ECHO_T}yes" >&6
21849 echo "$as_me: failed program was:" >&5
21850 sed 's/^/| /' conftest.
$ac_ext >&5
21852 echo "$as_me:$LINENO: result: no" >&5
21853 echo "${ECHO_T}no" >&6
21854 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21855 echo "$as_me: error: Basic STL functionality missing" >&2;}
21856 { (exit 1); exit 1; }; }
21858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21860 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21861 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21862 cat >conftest.
$ac_ext <<_ACEOF
21865 cat confdefs.h
>>conftest.
$ac_ext
21866 cat >>conftest.
$ac_ext <<_ACEOF
21867 /* end confdefs.h. */
21872 std::string foo, bar;
21874 foo.compare(1, 1, bar);
21875 foo.compare(1, 1, bar, 1, 1);
21877 foo.compare(1, 1, "");
21878 foo.compare(1, 1, "", 2);
21883 rm -f conftest.
$ac_objext
21884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21885 (eval $ac_compile) 2>conftest.er1
21887 grep -v '^ *+' conftest.er1
>conftest.err
21889 cat conftest.err
>&5
21890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21891 (exit $ac_status); } &&
21892 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21894 (eval $ac_try) 2>&5
21896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21897 (exit $ac_status); }; } &&
21898 { ac_try
='test -s conftest.$ac_objext'
21899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21900 (eval $ac_try) 2>&5
21902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21903 (exit $ac_status); }; }; then
21904 echo "$as_me:$LINENO: result: yes" >&5
21905 echo "${ECHO_T}yes" >&6
21906 cat >>confdefs.h
<<\_ACEOF
21907 #define HAVE_STD_STRING_COMPARE 1
21911 echo "$as_me: failed program was:" >&5
21912 sed 's/^/| /' conftest.
$ac_ext >&5
21914 echo "$as_me:$LINENO: result: no" >&5
21915 echo "${ECHO_T}no" >&6
21917 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21919 if test "${ac_cv_header_hash_map+set}" = set; then
21920 echo "$as_me:$LINENO: checking for hash_map" >&5
21921 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21922 if test "${ac_cv_header_hash_map+set}" = set; then
21923 echo $ECHO_N "(cached) $ECHO_C" >&6
21925 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21926 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21928 # Is the header compilable?
21929 echo "$as_me:$LINENO: checking hash_map usability" >&5
21930 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21931 cat >conftest.
$ac_ext <<_ACEOF
21934 cat confdefs.h
>>conftest.
$ac_ext
21935 cat >>conftest.
$ac_ext <<_ACEOF
21936 /* end confdefs.h. */
21937 $ac_includes_default
21938 #include <hash_map>
21940 rm -f conftest.
$ac_objext
21941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21942 (eval $ac_compile) 2>conftest.er1
21944 grep -v '^ *+' conftest.er1
>conftest.err
21946 cat conftest.err
>&5
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); } &&
21949 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21951 (eval $ac_try) 2>&5
21953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21954 (exit $ac_status); }; } &&
21955 { ac_try
='test -s conftest.$ac_objext'
21956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21957 (eval $ac_try) 2>&5
21959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960 (exit $ac_status); }; }; then
21961 ac_header_compiler
=yes
21963 echo "$as_me: failed program was:" >&5
21964 sed 's/^/| /' conftest.
$ac_ext >&5
21966 ac_header_compiler
=no
21968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21969 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21970 echo "${ECHO_T}$ac_header_compiler" >&6
21972 # Is the header present?
21973 echo "$as_me:$LINENO: checking hash_map presence" >&5
21974 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21975 cat >conftest.
$ac_ext <<_ACEOF
21978 cat confdefs.h
>>conftest.
$ac_ext
21979 cat >>conftest.
$ac_ext <<_ACEOF
21980 /* end confdefs.h. */
21981 #include <hash_map>
21983 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21984 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21986 grep -v '^ *+' conftest.er1
>conftest.err
21988 cat conftest.err
>&5
21989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21990 (exit $ac_status); } >/dev
/null
; then
21991 if test -s conftest.err
; then
21992 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21993 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22000 if test -z "$ac_cpp_err"; then
22001 ac_header_preproc
=yes
22003 echo "$as_me: failed program was:" >&5
22004 sed 's/^/| /' conftest.
$ac_ext >&5
22006 ac_header_preproc
=no
22008 rm -f conftest.err conftest.
$ac_ext
22009 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22010 echo "${ECHO_T}$ac_header_preproc" >&6
22012 # So? What about this header?
22013 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22015 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22016 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22017 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
22018 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
22019 ac_header_preproc
=yes
22022 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
22023 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
22024 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
22025 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
22026 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
22027 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
22028 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
22029 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22030 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
22031 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
22032 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
22033 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
22036 ## ----------------------------------------- ##
22037 ## Report this to wx-dev@lists.wxwidgets.org ##
22038 ## ----------------------------------------- ##
22041 sed "s/^/$as_me: WARNING: /" >&2
22044 echo "$as_me:$LINENO: checking for hash_map" >&5
22045 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22046 if test "${ac_cv_header_hash_map+set}" = set; then
22047 echo $ECHO_N "(cached) $ECHO_C" >&6
22049 ac_cv_header_hash_map
=$ac_header_preproc
22051 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22052 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22055 if test $ac_cv_header_hash_map = yes; then
22056 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22057 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22058 cat >conftest.
$ac_ext <<_ACEOF
22061 cat confdefs.h
>>conftest.
$ac_ext
22062 cat >>conftest.
$ac_ext <<_ACEOF
22063 /* end confdefs.h. */
22064 #include <hash_map>
22065 #include <hash_set>
22069 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
22070 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
22075 rm -f conftest.
$ac_objext
22076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22077 (eval $ac_compile) 2>conftest.er1
22079 grep -v '^ *+' conftest.er1
>conftest.err
22081 cat conftest.err
>&5
22082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083 (exit $ac_status); } &&
22084 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22086 (eval $ac_try) 2>&5
22088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22089 (exit $ac_status); }; } &&
22090 { ac_try
='test -s conftest.$ac_objext'
22091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22092 (eval $ac_try) 2>&5
22094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22095 (exit $ac_status); }; }; then
22096 echo "$as_me:$LINENO: result: yes" >&5
22097 echo "${ECHO_T}yes" >&6
22098 cat >>confdefs.h
<<\_ACEOF
22099 #define HAVE_HASH_MAP 1
22102 cat >>confdefs.h
<<\_ACEOF
22103 #define HAVE_STD_HASH_MAP 1
22107 echo "$as_me: failed program was:" >&5
22108 sed 's/^/| /' conftest.
$ac_ext >&5
22110 echo "$as_me:$LINENO: result: no" >&5
22111 echo "${ECHO_T}no" >&6
22113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22119 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22120 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22121 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22122 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22123 echo $ECHO_N "(cached) $ECHO_C" >&6
22125 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22126 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22128 # Is the header compilable?
22129 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
22130 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
22131 cat >conftest.
$ac_ext <<_ACEOF
22134 cat confdefs.h
>>conftest.
$ac_ext
22135 cat >>conftest.
$ac_ext <<_ACEOF
22136 /* end confdefs.h. */
22137 $ac_includes_default
22138 #include <ext/hash_map>
22140 rm -f conftest.
$ac_objext
22141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22142 (eval $ac_compile) 2>conftest.er1
22144 grep -v '^ *+' conftest.er1
>conftest.err
22146 cat conftest.err
>&5
22147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22148 (exit $ac_status); } &&
22149 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22151 (eval $ac_try) 2>&5
22153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22154 (exit $ac_status); }; } &&
22155 { ac_try
='test -s conftest.$ac_objext'
22156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22157 (eval $ac_try) 2>&5
22159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22160 (exit $ac_status); }; }; then
22161 ac_header_compiler
=yes
22163 echo "$as_me: failed program was:" >&5
22164 sed 's/^/| /' conftest.
$ac_ext >&5
22166 ac_header_compiler
=no
22168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22169 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22170 echo "${ECHO_T}$ac_header_compiler" >&6
22172 # Is the header present?
22173 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
22174 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
22175 cat >conftest.
$ac_ext <<_ACEOF
22178 cat confdefs.h
>>conftest.
$ac_ext
22179 cat >>conftest.
$ac_ext <<_ACEOF
22180 /* end confdefs.h. */
22181 #include <ext/hash_map>
22183 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22184 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22186 grep -v '^ *+' conftest.er1
>conftest.err
22188 cat conftest.err
>&5
22189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190 (exit $ac_status); } >/dev
/null
; then
22191 if test -s conftest.err
; then
22192 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22193 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22200 if test -z "$ac_cpp_err"; then
22201 ac_header_preproc
=yes
22203 echo "$as_me: failed program was:" >&5
22204 sed 's/^/| /' conftest.
$ac_ext >&5
22206 ac_header_preproc
=no
22208 rm -f conftest.err conftest.
$ac_ext
22209 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22210 echo "${ECHO_T}$ac_header_preproc" >&6
22212 # So? What about this header?
22213 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22215 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22216 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22217 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
22218 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
22219 ac_header_preproc
=yes
22222 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
22223 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
22224 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
22225 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
22226 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
22227 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
22228 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
22229 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22230 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
22231 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
22232 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
22233 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
22236 ## ----------------------------------------- ##
22237 ## Report this to wx-dev@lists.wxwidgets.org ##
22238 ## ----------------------------------------- ##
22241 sed "s/^/$as_me: WARNING: /" >&2
22244 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22245 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22246 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22247 echo $ECHO_N "(cached) $ECHO_C" >&6
22249 ac_cv_header_ext_hash_map
=$ac_header_preproc
22251 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22252 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22255 if test $ac_cv_header_ext_hash_map = yes; then
22256 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22257 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22258 cat >conftest.
$ac_ext <<_ACEOF
22261 cat confdefs.h
>>conftest.
$ac_ext
22262 cat >>conftest.
$ac_ext <<_ACEOF
22263 /* end confdefs.h. */
22264 #include <ext/hash_map>
22265 #include <ext/hash_set>
22269 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
22270 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
22275 rm -f conftest.
$ac_objext
22276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22277 (eval $ac_compile) 2>conftest.er1
22279 grep -v '^ *+' conftest.er1
>conftest.err
22281 cat conftest.err
>&5
22282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22283 (exit $ac_status); } &&
22284 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22286 (eval $ac_try) 2>&5
22288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22289 (exit $ac_status); }; } &&
22290 { ac_try
='test -s conftest.$ac_objext'
22291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22292 (eval $ac_try) 2>&5
22294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22295 (exit $ac_status); }; }; then
22296 echo "$as_me:$LINENO: result: yes" >&5
22297 echo "${ECHO_T}yes" >&6
22298 cat >>confdefs.h
<<\_ACEOF
22299 #define HAVE_EXT_HASH_MAP 1
22302 cat >>confdefs.h
<<\_ACEOF
22303 #define HAVE_GNU_CXX_HASH_MAP 1
22307 echo "$as_me: failed program was:" >&5
22308 sed 's/^/| /' conftest.
$ac_ext >&5
22310 echo "$as_me:$LINENO: result: no" >&5
22311 echo "${ECHO_T}no" >&6
22313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22320 ac_cpp
='$CPP $CPPFLAGS'
22321 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22322 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22323 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22329 /usr/local/include \
22331 /usr/Motif-2.1/include \
22332 /usr/Motif-1.2/include \
22333 /usr/include/Motif1.2 \
22334 /opt/xpm/include/X11 \
22335 /opt/GBxpm/include/ \
22336 /opt/GBxpm/X11/include/ \
22339 /usr/openwin/include \
22343 /usr/X11R6/include \
22344 /usr/X11R6.4/include \
22345 /usr/X11R5/include \
22346 /usr/X11R4/include \
22348 /usr/include/X11R6 \
22349 /usr/include/X11R5 \
22350 /usr/include/X11R4 \
22352 /usr/local/X11R6/include \
22353 /usr/local/X11R5/include \
22354 /usr/local/X11R4/include \
22356 /usr/local/include/X11R6 \
22357 /usr/local/include/X11R5 \
22358 /usr/local/include/X11R4 \
22362 /usr/local/X11/include \
22363 /usr/local/include/X11 \
22365 /usr/X386/include \
22366 /usr/x386/include \
22367 /usr/XFree86/include/X11 \
22371 X:/XFree86/include \
22372 X:/XFree86/include/X11 \
22375 /usr/local/include/gtk \
22376 /usr/include/glib \
22377 /usr/local/include/glib \
22380 /usr/local/include/qt \
22382 /usr/local/arm/3.3.2/include \
22384 /usr/include/windows \
22385 /usr/include/wine \
22386 /usr/local/include/wine \
22388 /usr/unsupported/include \
22389 /usr/athena/include \
22390 /usr/local/x11r5/include \
22391 /usr/lpp/Xamples/include \
22393 /usr/openwin/share/include"
22395 SEARCH_LIB
="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
22397 if test "$build" != "$host" -a "$GCC" = yes; then
22398 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
22399 cross_root
=`dirname $cross_root`
22400 cross_root
=`dirname $cross_root`
22402 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22403 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22405 if test -z "$PKG_CONFIG_PATH"; then
22406 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22407 export PKG_CONFIG_PATH
22410 if test -z "$x_includes" -o "$x_includes" = NONE
; then
22413 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
22415 if test -f "$ac_dir/X11/Intrinsic.h"; then
22416 ac_find_includes
=$ac_dir
22421 x_includes
=$ac_find_includes
22423 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
22426 for ac_dir
in $SEARCH_LIB /usr
/lib
;
22428 for ac_extension
in a so sl dylib dll.a
; do
22429 if test -f "$ac_dir/libXt.$ac_extension"; then
22430 ac_find_libraries
=$ac_dir
22436 x_libraries
=$ac_find_libraries
22442 cat >confcache
<<\_ACEOF
22443 # This file is a shell script that caches the results of configure
22444 # tests run on this system so they can be shared between configure
22445 # scripts and configure runs, see configure's option --config-cache.
22446 # It is not useful on other systems. If it contains results you don't
22447 # want to keep, you may remove or edit it.
22449 # config.status only pays attention to the cache file if you give it
22450 # the --recheck option to rerun configure.
22452 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22453 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22454 # following values.
22458 # The following way of writing the cache mishandles newlines in values,
22459 # but we know of no workaround that is simple, portable, and efficient.
22460 # So, don't put newlines in cache variables' values.
22461 # Ultrix sh set writes to stderr and can't be redirected directly,
22462 # and sets the high bit in the cache file unless we assign to the vars.
22465 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22467 # `set' does not quote correctly, so add quotes (double-quote
22468 # substitution turns \\\\ into \\, and sed turns \\ into \).
22471 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22474 # `set' quotes correctly as required by POSIX, so do not add quotes.
22476 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22483 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22485 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22487 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22488 if test -w $cache_file; then
22489 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22490 cat confcache
>$cache_file
22492 echo "not updating unwritable cache $cache_file"
22497 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
22498 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
22499 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
22500 if test "${wx_cv_lib_glibc21+set}" = set; then
22501 echo $ECHO_N "(cached) $ECHO_C" >&6
22504 cat >conftest.
$ac_ext <<_ACEOF
22507 cat confdefs.h
>>conftest.
$ac_ext
22508 cat >>conftest.
$ac_ext <<_ACEOF
22509 /* end confdefs.h. */
22510 #include <features.h>
22515 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
22523 rm -f conftest.
$ac_objext
22524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22525 (eval $ac_compile) 2>conftest.er1
22527 grep -v '^ *+' conftest.er1
>conftest.err
22529 cat conftest.err
>&5
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); } &&
22532 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22534 (eval $ac_try) 2>&5
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); }; } &&
22538 { ac_try
='test -s conftest.$ac_objext'
22539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22540 (eval $ac_try) 2>&5
22542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22543 (exit $ac_status); }; }; then
22545 wx_cv_lib_glibc21
=yes
22548 echo "$as_me: failed program was:" >&5
22549 sed 's/^/| /' conftest.
$ac_ext >&5
22552 wx_cv_lib_glibc21
=no
22556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22559 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22560 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22561 if test "$wx_cv_lib_glibc21" = "yes"; then
22562 cat >>confdefs.h
<<\_ACEOF
22563 #define wxHAVE_GLIBC2 1
22569 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22570 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
22571 cat >>confdefs.h
<<\_ACEOF
22572 #define _GNU_SOURCE 1
22580 if test "$wxUSE_REGEX" != "no"; then
22581 cat >>confdefs.h
<<\_ACEOF
22582 #define wxUSE_REGEX 1
22586 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22587 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
22588 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
22589 wxUSE_REGEX
=builtin
22592 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22593 if test "${ac_cv_header_regex_h+set}" = set; then
22594 echo "$as_me:$LINENO: checking for regex.h" >&5
22595 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22596 if test "${ac_cv_header_regex_h+set}" = set; then
22597 echo $ECHO_N "(cached) $ECHO_C" >&6
22599 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22600 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22602 # Is the header compilable?
22603 echo "$as_me:$LINENO: checking regex.h usability" >&5
22604 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
22605 cat >conftest.
$ac_ext <<_ACEOF
22608 cat confdefs.h
>>conftest.
$ac_ext
22609 cat >>conftest.
$ac_ext <<_ACEOF
22610 /* end confdefs.h. */
22611 $ac_includes_default
22614 rm -f conftest.
$ac_objext
22615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22616 (eval $ac_compile) 2>conftest.er1
22618 grep -v '^ *+' conftest.er1
>conftest.err
22620 cat conftest.err
>&5
22621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22622 (exit $ac_status); } &&
22623 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22625 (eval $ac_try) 2>&5
22627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22628 (exit $ac_status); }; } &&
22629 { ac_try
='test -s conftest.$ac_objext'
22630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22631 (eval $ac_try) 2>&5
22633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22634 (exit $ac_status); }; }; then
22635 ac_header_compiler
=yes
22637 echo "$as_me: failed program was:" >&5
22638 sed 's/^/| /' conftest.
$ac_ext >&5
22640 ac_header_compiler
=no
22642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22643 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22644 echo "${ECHO_T}$ac_header_compiler" >&6
22646 # Is the header present?
22647 echo "$as_me:$LINENO: checking regex.h presence" >&5
22648 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
22649 cat >conftest.
$ac_ext <<_ACEOF
22652 cat confdefs.h
>>conftest.
$ac_ext
22653 cat >>conftest.
$ac_ext <<_ACEOF
22654 /* end confdefs.h. */
22657 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22658 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22660 grep -v '^ *+' conftest.er1
>conftest.err
22662 cat conftest.err
>&5
22663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22664 (exit $ac_status); } >/dev
/null
; then
22665 if test -s conftest.err
; then
22666 ac_cpp_err
=$ac_c_preproc_warn_flag
22667 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22674 if test -z "$ac_cpp_err"; then
22675 ac_header_preproc
=yes
22677 echo "$as_me: failed program was:" >&5
22678 sed 's/^/| /' conftest.
$ac_ext >&5
22680 ac_header_preproc
=no
22682 rm -f conftest.err conftest.
$ac_ext
22683 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22684 echo "${ECHO_T}$ac_header_preproc" >&6
22686 # So? What about this header?
22687 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22689 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22690 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22691 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22692 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22693 ac_header_preproc
=yes
22696 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22697 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22698 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22699 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22700 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22701 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22702 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22703 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22704 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22705 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22706 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22707 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22710 ## ----------------------------------------- ##
22711 ## Report this to wx-dev@lists.wxwidgets.org ##
22712 ## ----------------------------------------- ##
22715 sed "s/^/$as_me: WARNING: /" >&2
22718 echo "$as_me:$LINENO: checking for regex.h" >&5
22719 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22720 if test "${ac_cv_header_regex_h+set}" = set; then
22721 echo $ECHO_N "(cached) $ECHO_C" >&6
22723 ac_cv_header_regex_h
=$ac_header_preproc
22725 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22726 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22729 if test $ac_cv_header_regex_h = yes; then
22731 for ac_func
in regcomp
22733 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22734 echo "$as_me:$LINENO: checking for $ac_func" >&5
22735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22736 if eval "test \"\${$as_ac_var+set}\" = set"; then
22737 echo $ECHO_N "(cached) $ECHO_C" >&6
22739 cat >conftest.
$ac_ext <<_ACEOF
22742 cat confdefs.h
>>conftest.
$ac_ext
22743 cat >>conftest.
$ac_ext <<_ACEOF
22744 /* end confdefs.h. */
22745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22747 #define $ac_func innocuous_$ac_func
22749 /* System header to define __stub macros and hopefully few prototypes,
22750 which can conflict with char $ac_func (); below.
22751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22752 <limits.h> exists even on freestanding compilers. */
22755 # include <limits.h>
22757 # include <assert.h>
22762 /* Override any gcc2 internal prototype to avoid an error. */
22767 /* We use char because int might match the return type of a gcc2
22768 builtin and then its argument prototype would still apply. */
22770 /* The GNU C library defines this for functions which it implements
22771 to always fail with ENOSYS. Some functions are actually named
22772 something starting with __ and the normal name is an alias. */
22773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22776 char (*f) () = $ac_func;
22785 return f != $ac_func;
22790 rm -f conftest.
$ac_objext conftest
$ac_exeext
22791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22792 (eval $ac_link) 2>conftest.er1
22794 grep -v '^ *+' conftest.er1
>conftest.err
22796 cat conftest.err
>&5
22797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22798 (exit $ac_status); } &&
22799 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22801 (eval $ac_try) 2>&5
22803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22804 (exit $ac_status); }; } &&
22805 { ac_try
='test -s conftest$ac_exeext'
22806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22807 (eval $ac_try) 2>&5
22809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22810 (exit $ac_status); }; }; then
22811 eval "$as_ac_var=yes"
22813 echo "$as_me: failed program was:" >&5
22814 sed 's/^/| /' conftest.
$ac_ext >&5
22816 eval "$as_ac_var=no"
22818 rm -f conftest.err conftest.
$ac_objext \
22819 conftest
$ac_exeext conftest.
$ac_ext
22821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22823 if test `eval echo '${'$as_ac_var'}'` = yes; then
22824 cat >>confdefs.h
<<_ACEOF
22825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22835 if test "x$ac_cv_func_regcomp" != "xyes"; then
22836 if test "$wxUSE_REGEX" = "sys" ; then
22837 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22838 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22839 { (exit 1); exit 1; }; }
22841 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22842 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22843 wxUSE_REGEX
=builtin
22847 cat >>confdefs.h
<<\_ACEOF
22848 #define WX_NO_REGEX_ADVANCED 1
22857 if test "$wxUSE_ZLIB" != "no" ; then
22858 cat >>confdefs.h
<<\_ACEOF
22859 #define wxUSE_ZLIB 1
22863 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22864 if test "$USE_DARWIN" = 1; then
22865 system_zlib_h_ok
="yes"
22867 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22868 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22869 if test "${ac_cv_header_zlib_h+set}" = set; then
22870 echo $ECHO_N "(cached) $ECHO_C" >&6
22872 if test "$cross_compiling" = yes; then
22873 unset ac_cv_header_zlib_h
22876 cat >conftest.
$ac_ext <<_ACEOF
22879 cat confdefs.h
>>conftest.
$ac_ext
22880 cat >>conftest.
$ac_ext <<_ACEOF
22881 /* end confdefs.h. */
22888 FILE *f=fopen("conftestval", "w");
22891 ZLIB_VERSION[0] == '1' &&
22892 (ZLIB_VERSION[2] > '1' ||
22893 (ZLIB_VERSION[2] == '1' &&
22894 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22899 rm -f conftest
$ac_exeext
22900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22901 (eval $ac_link) 2>&5
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22906 (eval $ac_try) 2>&5
22908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22909 (exit $ac_status); }; }; then
22910 ac_cv_header_zlib_h
=`cat conftestval`
22912 echo "$as_me: program exited with status $ac_status" >&5
22913 echo "$as_me: failed program was:" >&5
22914 sed 's/^/| /' conftest.
$ac_ext >&5
22916 ( exit $ac_status )
22917 ac_cv_header_zlib_h
=no
22919 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22923 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22924 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22925 if test "${ac_cv_header_zlib_h+set}" = set; then
22926 echo "$as_me:$LINENO: checking for zlib.h" >&5
22927 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22928 if test "${ac_cv_header_zlib_h+set}" = set; then
22929 echo $ECHO_N "(cached) $ECHO_C" >&6
22931 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22932 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22934 # Is the header compilable?
22935 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22936 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22937 cat >conftest.
$ac_ext <<_ACEOF
22940 cat confdefs.h
>>conftest.
$ac_ext
22941 cat >>conftest.
$ac_ext <<_ACEOF
22942 /* end confdefs.h. */
22943 $ac_includes_default
22946 rm -f conftest.
$ac_objext
22947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22948 (eval $ac_compile) 2>conftest.er1
22950 grep -v '^ *+' conftest.er1
>conftest.err
22952 cat conftest.err
>&5
22953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22954 (exit $ac_status); } &&
22955 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22957 (eval $ac_try) 2>&5
22959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22960 (exit $ac_status); }; } &&
22961 { ac_try
='test -s conftest.$ac_objext'
22962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22963 (eval $ac_try) 2>&5
22965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22966 (exit $ac_status); }; }; then
22967 ac_header_compiler
=yes
22969 echo "$as_me: failed program was:" >&5
22970 sed 's/^/| /' conftest.
$ac_ext >&5
22972 ac_header_compiler
=no
22974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22975 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22976 echo "${ECHO_T}$ac_header_compiler" >&6
22978 # Is the header present?
22979 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22980 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22981 cat >conftest.
$ac_ext <<_ACEOF
22984 cat confdefs.h
>>conftest.
$ac_ext
22985 cat >>conftest.
$ac_ext <<_ACEOF
22986 /* end confdefs.h. */
22989 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22990 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22992 grep -v '^ *+' conftest.er1
>conftest.err
22994 cat conftest.err
>&5
22995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22996 (exit $ac_status); } >/dev
/null
; then
22997 if test -s conftest.err
; then
22998 ac_cpp_err
=$ac_c_preproc_warn_flag
22999 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23006 if test -z "$ac_cpp_err"; then
23007 ac_header_preproc
=yes
23009 echo "$as_me: failed program was:" >&5
23010 sed 's/^/| /' conftest.
$ac_ext >&5
23012 ac_header_preproc
=no
23014 rm -f conftest.err conftest.
$ac_ext
23015 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23016 echo "${ECHO_T}$ac_header_preproc" >&6
23018 # So? What about this header?
23019 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23021 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
23022 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23023 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
23024 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
23025 ac_header_preproc
=yes
23028 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
23029 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
23030 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
23031 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
23032 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
23033 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
23034 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
23035 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
23036 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
23037 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
23038 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
23039 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
23042 ## ----------------------------------------- ##
23043 ## Report this to wx-dev@lists.wxwidgets.org ##
23044 ## ----------------------------------------- ##
23047 sed "s/^/$as_me: WARNING: /" >&2
23050 echo "$as_me:$LINENO: checking for zlib.h" >&5
23051 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
23052 if test "${ac_cv_header_zlib_h+set}" = set; then
23053 echo $ECHO_N "(cached) $ECHO_C" >&6
23055 ac_cv_header_zlib_h
=$ac_header_preproc
23057 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23058 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23064 system_zlib_h_ok
=$ac_cv_header_zlib_h
23067 if test "$system_zlib_h_ok" = "yes"; then
23068 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
23069 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
23070 if test "${ac_cv_lib_z_deflate+set}" = set; then
23071 echo $ECHO_N "(cached) $ECHO_C" >&6
23073 ac_check_lib_save_LIBS
=$LIBS
23075 cat >conftest.
$ac_ext <<_ACEOF
23078 cat confdefs.h
>>conftest.
$ac_ext
23079 cat >>conftest.
$ac_ext <<_ACEOF
23080 /* end confdefs.h. */
23082 /* Override any gcc2 internal prototype to avoid an error. */
23086 /* We use char because int might match the return type of a gcc2
23087 builtin and then its argument prototype would still apply. */
23097 rm -f conftest.
$ac_objext conftest
$ac_exeext
23098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23099 (eval $ac_link) 2>conftest.er1
23101 grep -v '^ *+' conftest.er1
>conftest.err
23103 cat conftest.err
>&5
23104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23105 (exit $ac_status); } &&
23106 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23108 (eval $ac_try) 2>&5
23110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23111 (exit $ac_status); }; } &&
23112 { ac_try
='test -s conftest$ac_exeext'
23113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23114 (eval $ac_try) 2>&5
23116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23117 (exit $ac_status); }; }; then
23118 ac_cv_lib_z_deflate
=yes
23120 echo "$as_me: failed program was:" >&5
23121 sed 's/^/| /' conftest.
$ac_ext >&5
23123 ac_cv_lib_z_deflate
=no
23125 rm -f conftest.err conftest.
$ac_objext \
23126 conftest
$ac_exeext conftest.
$ac_ext
23127 LIBS
=$ac_check_lib_save_LIBS
23129 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
23130 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
23131 if test $ac_cv_lib_z_deflate = yes; then
23137 if test "x$ZLIB_LINK" = "x" ; then
23138 if test "$wxUSE_ZLIB" = "sys" ; then
23139 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
23140 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
23141 { (exit 1); exit 1; }; }
23143 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
23144 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
23155 if test "$wxUSE_LIBPNG" != "no" ; then
23156 cat >>confdefs.h
<<\_ACEOF
23157 #define wxUSE_LIBPNG 1
23161 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
23162 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
23163 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
23167 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
23168 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
23169 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
23170 wxUSE_LIBPNG
=builtin
23173 if test "$wxUSE_MGL" != 1 ; then
23174 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
23175 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
23176 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
23177 if test "${ac_cv_header_png_h+set}" = set; then
23178 echo $ECHO_N "(cached) $ECHO_C" >&6
23180 if test "$cross_compiling" = yes; then
23181 unset ac_cv_header_png_h
23184 cat >conftest.
$ac_ext <<_ACEOF
23187 cat confdefs.h
>>conftest.
$ac_ext
23188 cat >>conftest.
$ac_ext <<_ACEOF
23189 /* end confdefs.h. */
23196 FILE *f=fopen("conftestval", "w");
23199 PNG_LIBPNG_VER > 90 ? "yes" : "no");
23204 rm -f conftest
$ac_exeext
23205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23206 (eval $ac_link) 2>&5
23208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23209 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23211 (eval $ac_try) 2>&5
23213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23214 (exit $ac_status); }; }; then
23215 ac_cv_header_png_h
=`cat conftestval`
23217 echo "$as_me: program exited with status $ac_status" >&5
23218 echo "$as_me: failed program was:" >&5
23219 sed 's/^/| /' conftest.
$ac_ext >&5
23221 ( exit $ac_status )
23222 ac_cv_header_png_h
=no
23224 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23228 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23229 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23230 if test "${ac_cv_header_png_h+set}" = set; then
23231 echo "$as_me:$LINENO: checking for png.h" >&5
23232 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23233 if test "${ac_cv_header_png_h+set}" = set; then
23234 echo $ECHO_N "(cached) $ECHO_C" >&6
23236 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23237 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23239 # Is the header compilable?
23240 echo "$as_me:$LINENO: checking png.h usability" >&5
23241 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
23242 cat >conftest.
$ac_ext <<_ACEOF
23245 cat confdefs.h
>>conftest.
$ac_ext
23246 cat >>conftest.
$ac_ext <<_ACEOF
23247 /* end confdefs.h. */
23248 $ac_includes_default
23251 rm -f conftest.
$ac_objext
23252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23253 (eval $ac_compile) 2>conftest.er1
23255 grep -v '^ *+' conftest.er1
>conftest.err
23257 cat conftest.err
>&5
23258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23259 (exit $ac_status); } &&
23260 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23262 (eval $ac_try) 2>&5
23264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23265 (exit $ac_status); }; } &&
23266 { ac_try
='test -s conftest.$ac_objext'
23267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23268 (eval $ac_try) 2>&5
23270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23271 (exit $ac_status); }; }; then
23272 ac_header_compiler
=yes
23274 echo "$as_me: failed program was:" >&5
23275 sed 's/^/| /' conftest.
$ac_ext >&5
23277 ac_header_compiler
=no
23279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23280 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23281 echo "${ECHO_T}$ac_header_compiler" >&6
23283 # Is the header present?
23284 echo "$as_me:$LINENO: checking png.h presence" >&5
23285 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
23286 cat >conftest.
$ac_ext <<_ACEOF
23289 cat confdefs.h
>>conftest.
$ac_ext
23290 cat >>conftest.
$ac_ext <<_ACEOF
23291 /* end confdefs.h. */
23294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23295 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23297 grep -v '^ *+' conftest.er1
>conftest.err
23299 cat conftest.err
>&5
23300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23301 (exit $ac_status); } >/dev
/null
; then
23302 if test -s conftest.err
; then
23303 ac_cpp_err
=$ac_c_preproc_warn_flag
23304 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23311 if test -z "$ac_cpp_err"; then
23312 ac_header_preproc
=yes
23314 echo "$as_me: failed program was:" >&5
23315 sed 's/^/| /' conftest.
$ac_ext >&5
23317 ac_header_preproc
=no
23319 rm -f conftest.err conftest.
$ac_ext
23320 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23321 echo "${ECHO_T}$ac_header_preproc" >&6
23323 # So? What about this header?
23324 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23326 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
23327 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23328 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
23329 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
23330 ac_header_preproc
=yes
23333 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
23334 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
23335 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
23336 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
23337 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
23338 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
23339 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
23340 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
23341 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
23342 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
23343 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
23344 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
23347 ## ----------------------------------------- ##
23348 ## Report this to wx-dev@lists.wxwidgets.org ##
23349 ## ----------------------------------------- ##
23352 sed "s/^/$as_me: WARNING: /" >&2
23355 echo "$as_me:$LINENO: checking for png.h" >&5
23356 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23357 if test "${ac_cv_header_png_h+set}" = set; then
23358 echo $ECHO_N "(cached) $ECHO_C" >&6
23360 ac_cv_header_png_h
=$ac_header_preproc
23362 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23363 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23369 if test "$ac_cv_header_png_h" = "yes"; then
23370 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
23371 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
23372 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
23373 echo $ECHO_N "(cached) $ECHO_C" >&6
23375 ac_check_lib_save_LIBS
=$LIBS
23376 LIBS
="-lpng -lz -lm $LIBS"
23377 cat >conftest.
$ac_ext <<_ACEOF
23380 cat confdefs.h
>>conftest.
$ac_ext
23381 cat >>conftest.
$ac_ext <<_ACEOF
23382 /* end confdefs.h. */
23384 /* Override any gcc2 internal prototype to avoid an error. */
23388 /* We use char because int might match the return type of a gcc2
23389 builtin and then its argument prototype would still apply. */
23390 char png_check_sig ();
23399 rm -f conftest.
$ac_objext conftest
$ac_exeext
23400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23401 (eval $ac_link) 2>conftest.er1
23403 grep -v '^ *+' conftest.er1
>conftest.err
23405 cat conftest.err
>&5
23406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23407 (exit $ac_status); } &&
23408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23410 (eval $ac_try) 2>&5
23412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23413 (exit $ac_status); }; } &&
23414 { ac_try
='test -s conftest$ac_exeext'
23415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23416 (eval $ac_try) 2>&5
23418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23419 (exit $ac_status); }; }; then
23420 ac_cv_lib_png_png_check_sig
=yes
23422 echo "$as_me: failed program was:" >&5
23423 sed 's/^/| /' conftest.
$ac_ext >&5
23425 ac_cv_lib_png_png_check_sig
=no
23427 rm -f conftest.err conftest.
$ac_objext \
23428 conftest
$ac_exeext conftest.
$ac_ext
23429 LIBS
=$ac_check_lib_save_LIBS
23431 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
23432 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
23433 if test $ac_cv_lib_png_png_check_sig = yes; then
23434 PNG_LINK
=" -lpng -lz"
23439 if test "x$PNG_LINK" = "x" ; then
23440 if test "$wxUSE_LIBPNG" = "sys" ; then
23441 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
23442 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
23443 { (exit 1); exit 1; }; }
23445 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
23446 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
23447 wxUSE_LIBPNG
=builtin
23455 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
23460 if test "$wxUSE_LIBJPEG" != "no" ; then
23461 cat >>confdefs.h
<<\_ACEOF
23462 #define wxUSE_LIBJPEG 1
23466 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
23467 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
23468 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
23472 if test "$wxUSE_MGL" != 1 ; then
23473 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
23474 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
23475 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
23476 if test "${ac_cv_header_jpeglib_h+set}" = set; then
23477 echo $ECHO_N "(cached) $ECHO_C" >&6
23479 cat >conftest.
$ac_ext <<_ACEOF
23482 cat confdefs.h
>>conftest.
$ac_ext
23483 cat >>conftest.
$ac_ext <<_ACEOF
23484 /* end confdefs.h. */
23486 #undef HAVE_STDLIB_H
23488 #include <jpeglib.h>
23499 rm -f conftest.
$ac_objext
23500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23501 (eval $ac_compile) 2>conftest.er1
23503 grep -v '^ *+' conftest.er1
>conftest.err
23505 cat conftest.err
>&5
23506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23507 (exit $ac_status); } &&
23508 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23510 (eval $ac_try) 2>&5
23512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23513 (exit $ac_status); }; } &&
23514 { ac_try
='test -s conftest.$ac_objext'
23515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23516 (eval $ac_try) 2>&5
23518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23519 (exit $ac_status); }; }; then
23520 ac_cv_header_jpeglib_h
=yes
23522 echo "$as_me: failed program was:" >&5
23523 sed 's/^/| /' conftest.
$ac_ext >&5
23525 ac_cv_header_jpeglib_h
=no
23528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23532 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23533 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
23535 if test "$ac_cv_header_jpeglib_h" = "yes"; then
23536 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
23537 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
23538 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
23539 echo $ECHO_N "(cached) $ECHO_C" >&6
23541 ac_check_lib_save_LIBS
=$LIBS
23542 LIBS
="-ljpeg $LIBS"
23543 cat >conftest.
$ac_ext <<_ACEOF
23546 cat confdefs.h
>>conftest.
$ac_ext
23547 cat >>conftest.
$ac_ext <<_ACEOF
23548 /* end confdefs.h. */
23550 /* Override any gcc2 internal prototype to avoid an error. */
23554 /* We use char because int might match the return type of a gcc2
23555 builtin and then its argument prototype would still apply. */
23556 char jpeg_read_header ();
23560 jpeg_read_header ();
23565 rm -f conftest.
$ac_objext conftest
$ac_exeext
23566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23567 (eval $ac_link) 2>conftest.er1
23569 grep -v '^ *+' conftest.er1
>conftest.err
23571 cat conftest.err
>&5
23572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23573 (exit $ac_status); } &&
23574 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23576 (eval $ac_try) 2>&5
23578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23579 (exit $ac_status); }; } &&
23580 { ac_try
='test -s conftest$ac_exeext'
23581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23582 (eval $ac_try) 2>&5
23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585 (exit $ac_status); }; }; then
23586 ac_cv_lib_jpeg_jpeg_read_header
=yes
23588 echo "$as_me: failed program was:" >&5
23589 sed 's/^/| /' conftest.
$ac_ext >&5
23591 ac_cv_lib_jpeg_jpeg_read_header
=no
23593 rm -f conftest.err conftest.
$ac_objext \
23594 conftest
$ac_exeext conftest.
$ac_ext
23595 LIBS
=$ac_check_lib_save_LIBS
23597 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
23598 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
23599 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
23600 JPEG_LINK
=" -ljpeg"
23605 if test "x$JPEG_LINK" = "x" ; then
23606 if test "$wxUSE_LIBJPEG" = "sys" ; then
23607 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
23608 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
23609 { (exit 1); exit 1; }; }
23611 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
23612 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
23613 wxUSE_LIBJPEG
=builtin
23624 TIFF_PREREQ_LINKS
=-lm
23625 if test "$wxUSE_LIBTIFF" != "no" ; then
23626 cat >>confdefs.h
<<\_ACEOF
23627 #define wxUSE_LIBTIFF 1
23631 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
23632 if test "$wxUSE_LIBJPEG" = "sys"; then
23633 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
23635 if test "$wxUSE_ZLIB" = "sys"; then
23636 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
23638 if test "${ac_cv_header_tiffio_h+set}" = set; then
23639 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23640 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23641 if test "${ac_cv_header_tiffio_h+set}" = set; then
23642 echo $ECHO_N "(cached) $ECHO_C" >&6
23644 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23645 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23647 # Is the header compilable?
23648 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
23649 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
23650 cat >conftest.
$ac_ext <<_ACEOF
23653 cat confdefs.h
>>conftest.
$ac_ext
23654 cat >>conftest.
$ac_ext <<_ACEOF
23655 /* end confdefs.h. */
23656 $ac_includes_default
23657 #include <tiffio.h>
23659 rm -f conftest.
$ac_objext
23660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23661 (eval $ac_compile) 2>conftest.er1
23663 grep -v '^ *+' conftest.er1
>conftest.err
23665 cat conftest.err
>&5
23666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23667 (exit $ac_status); } &&
23668 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23670 (eval $ac_try) 2>&5
23672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23673 (exit $ac_status); }; } &&
23674 { ac_try
='test -s conftest.$ac_objext'
23675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23676 (eval $ac_try) 2>&5
23678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23679 (exit $ac_status); }; }; then
23680 ac_header_compiler
=yes
23682 echo "$as_me: failed program was:" >&5
23683 sed 's/^/| /' conftest.
$ac_ext >&5
23685 ac_header_compiler
=no
23687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23688 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23689 echo "${ECHO_T}$ac_header_compiler" >&6
23691 # Is the header present?
23692 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23693 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23694 cat >conftest.
$ac_ext <<_ACEOF
23697 cat confdefs.h
>>conftest.
$ac_ext
23698 cat >>conftest.
$ac_ext <<_ACEOF
23699 /* end confdefs.h. */
23700 #include <tiffio.h>
23702 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23703 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23705 grep -v '^ *+' conftest.er1
>conftest.err
23707 cat conftest.err
>&5
23708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23709 (exit $ac_status); } >/dev
/null
; then
23710 if test -s conftest.err
; then
23711 ac_cpp_err
=$ac_c_preproc_warn_flag
23712 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23719 if test -z "$ac_cpp_err"; then
23720 ac_header_preproc
=yes
23722 echo "$as_me: failed program was:" >&5
23723 sed 's/^/| /' conftest.
$ac_ext >&5
23725 ac_header_preproc
=no
23727 rm -f conftest.err conftest.
$ac_ext
23728 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23729 echo "${ECHO_T}$ac_header_preproc" >&6
23731 # So? What about this header?
23732 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23734 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23735 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23736 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23737 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23738 ac_header_preproc
=yes
23741 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23742 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23743 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23744 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23745 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23746 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23747 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23748 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23749 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23750 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23751 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23752 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23755 ## ----------------------------------------- ##
23756 ## Report this to wx-dev@lists.wxwidgets.org ##
23757 ## ----------------------------------------- ##
23760 sed "s/^/$as_me: WARNING: /" >&2
23763 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23764 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23765 if test "${ac_cv_header_tiffio_h+set}" = set; then
23766 echo $ECHO_N "(cached) $ECHO_C" >&6
23768 ac_cv_header_tiffio_h
=$ac_header_preproc
23770 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23771 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23774 if test $ac_cv_header_tiffio_h = yes; then
23776 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23777 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23778 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23779 echo $ECHO_N "(cached) $ECHO_C" >&6
23781 ac_check_lib_save_LIBS
=$LIBS
23782 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23783 cat >conftest.
$ac_ext <<_ACEOF
23786 cat confdefs.h
>>conftest.
$ac_ext
23787 cat >>conftest.
$ac_ext <<_ACEOF
23788 /* end confdefs.h. */
23790 /* Override any gcc2 internal prototype to avoid an error. */
23794 /* We use char because int might match the return type of a gcc2
23795 builtin and then its argument prototype would still apply. */
23805 rm -f conftest.
$ac_objext conftest
$ac_exeext
23806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23807 (eval $ac_link) 2>conftest.er1
23809 grep -v '^ *+' conftest.er1
>conftest.err
23811 cat conftest.err
>&5
23812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23813 (exit $ac_status); } &&
23814 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23816 (eval $ac_try) 2>&5
23818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23819 (exit $ac_status); }; } &&
23820 { ac_try
='test -s conftest$ac_exeext'
23821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23822 (eval $ac_try) 2>&5
23824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23825 (exit $ac_status); }; }; then
23826 ac_cv_lib_tiff_TIFFError
=yes
23828 echo "$as_me: failed program was:" >&5
23829 sed 's/^/| /' conftest.
$ac_ext >&5
23831 ac_cv_lib_tiff_TIFFError
=no
23833 rm -f conftest.err conftest.
$ac_objext \
23834 conftest
$ac_exeext conftest.
$ac_ext
23835 LIBS
=$ac_check_lib_save_LIBS
23837 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23838 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23839 if test $ac_cv_lib_tiff_TIFFError = yes; then
23840 TIFF_LINK
=" -ltiff"
23849 if test "x$TIFF_LINK" = "x" ; then
23850 if test "$wxUSE_LIBTIFF" = "sys" ; then
23851 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23852 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23853 { (exit 1); exit 1; }; }
23855 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23856 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23857 wxUSE_LIBTIFF
=builtin
23866 if test "$wxUSE_WCHAR_T" != "yes"; then
23867 if test "$wxUSE_EXPAT" != "no"; then
23868 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
23869 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
23872 if test "$wxUSE_XML" != "no"; then
23873 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
23874 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
23879 if test "$wxUSE_EXPAT" != "no"; then
23881 cat >>confdefs.h
<<\_ACEOF
23882 #define wxUSE_EXPAT 1
23885 cat >>confdefs.h
<<\_ACEOF
23886 #define wxUSE_XML 1
23890 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23891 if test "${ac_cv_header_expat_h+set}" = set; then
23892 echo "$as_me:$LINENO: checking for expat.h" >&5
23893 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23894 if test "${ac_cv_header_expat_h+set}" = set; then
23895 echo $ECHO_N "(cached) $ECHO_C" >&6
23897 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23898 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23900 # Is the header compilable?
23901 echo "$as_me:$LINENO: checking expat.h usability" >&5
23902 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23903 cat >conftest.
$ac_ext <<_ACEOF
23906 cat confdefs.h
>>conftest.
$ac_ext
23907 cat >>conftest.
$ac_ext <<_ACEOF
23908 /* end confdefs.h. */
23909 $ac_includes_default
23912 rm -f conftest.
$ac_objext
23913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23914 (eval $ac_compile) 2>conftest.er1
23916 grep -v '^ *+' conftest.er1
>conftest.err
23918 cat conftest.err
>&5
23919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23920 (exit $ac_status); } &&
23921 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23923 (eval $ac_try) 2>&5
23925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23926 (exit $ac_status); }; } &&
23927 { ac_try
='test -s conftest.$ac_objext'
23928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23929 (eval $ac_try) 2>&5
23931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23932 (exit $ac_status); }; }; then
23933 ac_header_compiler
=yes
23935 echo "$as_me: failed program was:" >&5
23936 sed 's/^/| /' conftest.
$ac_ext >&5
23938 ac_header_compiler
=no
23940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23941 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23942 echo "${ECHO_T}$ac_header_compiler" >&6
23944 # Is the header present?
23945 echo "$as_me:$LINENO: checking expat.h presence" >&5
23946 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23947 cat >conftest.
$ac_ext <<_ACEOF
23950 cat confdefs.h
>>conftest.
$ac_ext
23951 cat >>conftest.
$ac_ext <<_ACEOF
23952 /* end confdefs.h. */
23955 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23956 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23958 grep -v '^ *+' conftest.er1
>conftest.err
23960 cat conftest.err
>&5
23961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23962 (exit $ac_status); } >/dev
/null
; then
23963 if test -s conftest.err
; then
23964 ac_cpp_err
=$ac_c_preproc_warn_flag
23965 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23972 if test -z "$ac_cpp_err"; then
23973 ac_header_preproc
=yes
23975 echo "$as_me: failed program was:" >&5
23976 sed 's/^/| /' conftest.
$ac_ext >&5
23978 ac_header_preproc
=no
23980 rm -f conftest.err conftest.
$ac_ext
23981 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23982 echo "${ECHO_T}$ac_header_preproc" >&6
23984 # So? What about this header?
23985 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23987 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23988 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23989 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23990 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23991 ac_header_preproc
=yes
23994 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23995 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23996 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23997 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23998 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23999 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
24000 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
24001 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
24002 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
24003 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
24004 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
24005 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
24008 ## ----------------------------------------- ##
24009 ## Report this to wx-dev@lists.wxwidgets.org ##
24010 ## ----------------------------------------- ##
24013 sed "s/^/$as_me: WARNING: /" >&2
24016 echo "$as_me:$LINENO: checking for expat.h" >&5
24017 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
24018 if test "${ac_cv_header_expat_h+set}" = set; then
24019 echo $ECHO_N "(cached) $ECHO_C" >&6
24021 ac_cv_header_expat_h
=$ac_header_preproc
24023 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
24024 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
24027 if test $ac_cv_header_expat_h = yes; then
24032 if test "x$found_expat_h" = "x1"; then
24033 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
24034 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
24035 if test "${wx_cv_expat_is_not_broken+set}" = set; then
24036 echo $ECHO_N "(cached) $ECHO_C" >&6
24042 ac_cpp
='$CXXCPP $CPPFLAGS'
24043 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24044 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24045 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24047 cat >conftest.
$ac_ext <<_ACEOF
24050 cat confdefs.h
>>conftest.
$ac_ext
24051 cat >>conftest.
$ac_ext <<_ACEOF
24052 /* end confdefs.h. */
24062 rm -f conftest.
$ac_objext
24063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24064 (eval $ac_compile) 2>conftest.er1
24066 grep -v '^ *+' conftest.er1
>conftest.err
24068 cat conftest.err
>&5
24069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24070 (exit $ac_status); } &&
24071 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24073 (eval $ac_try) 2>&5
24075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24076 (exit $ac_status); }; } &&
24077 { ac_try
='test -s conftest.$ac_objext'
24078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24079 (eval $ac_try) 2>&5
24081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24082 (exit $ac_status); }; }; then
24083 wx_cv_expat_is_not_broken
=yes
24085 echo "$as_me: failed program was:" >&5
24086 sed 's/^/| /' conftest.
$ac_ext >&5
24088 wx_cv_expat_is_not_broken
=no
24091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24093 ac_cpp
='$CPP $CPPFLAGS'
24094 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24095 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24096 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24101 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
24102 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
24103 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
24104 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
24105 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
24106 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
24107 echo $ECHO_N "(cached) $ECHO_C" >&6
24109 ac_check_lib_save_LIBS
=$LIBS
24110 LIBS
="-lexpat $LIBS"
24111 cat >conftest.
$ac_ext <<_ACEOF
24114 cat confdefs.h
>>conftest.
$ac_ext
24115 cat >>conftest.
$ac_ext <<_ACEOF
24116 /* end confdefs.h. */
24118 /* Override any gcc2 internal prototype to avoid an error. */
24122 /* We use char because int might match the return type of a gcc2
24123 builtin and then its argument prototype would still apply. */
24124 char XML_ParserCreate ();
24128 XML_ParserCreate ();
24133 rm -f conftest.
$ac_objext conftest
$ac_exeext
24134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24135 (eval $ac_link) 2>conftest.er1
24137 grep -v '^ *+' conftest.er1
>conftest.err
24139 cat conftest.err
>&5
24140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24141 (exit $ac_status); } &&
24142 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24144 (eval $ac_try) 2>&5
24146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24147 (exit $ac_status); }; } &&
24148 { ac_try
='test -s conftest$ac_exeext'
24149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24150 (eval $ac_try) 2>&5
24152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24153 (exit $ac_status); }; }; then
24154 ac_cv_lib_expat_XML_ParserCreate
=yes
24156 echo "$as_me: failed program was:" >&5
24157 sed 's/^/| /' conftest.
$ac_ext >&5
24159 ac_cv_lib_expat_XML_ParserCreate
=no
24161 rm -f conftest.err conftest.
$ac_objext \
24162 conftest
$ac_exeext conftest.
$ac_ext
24163 LIBS
=$ac_check_lib_save_LIBS
24165 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
24166 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
24167 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
24168 EXPAT_LINK
=" -lexpat"
24173 if test "x$EXPAT_LINK" = "x" ; then
24174 if test "$wxUSE_EXPAT" = "sys" ; then
24175 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
24176 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
24177 { (exit 1); exit 1; }; }
24179 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
24180 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
24181 wxUSE_EXPAT
=builtin
24187 if test "$wxUSE_EXPAT" = "builtin" ; then
24190 subdirs
="$subdirs src/expat"
24197 if test "$wxUSE_LIBMSPACK" != "no"; then
24198 if test "${ac_cv_header_mspack_h+set}" = set; then
24199 echo "$as_me:$LINENO: checking for mspack.h" >&5
24200 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24201 if test "${ac_cv_header_mspack_h+set}" = set; then
24202 echo $ECHO_N "(cached) $ECHO_C" >&6
24204 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24205 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24207 # Is the header compilable?
24208 echo "$as_me:$LINENO: checking mspack.h usability" >&5
24209 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
24210 cat >conftest.
$ac_ext <<_ACEOF
24213 cat confdefs.h
>>conftest.
$ac_ext
24214 cat >>conftest.
$ac_ext <<_ACEOF
24215 /* end confdefs.h. */
24216 $ac_includes_default
24217 #include <mspack.h>
24219 rm -f conftest.
$ac_objext
24220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24221 (eval $ac_compile) 2>conftest.er1
24223 grep -v '^ *+' conftest.er1
>conftest.err
24225 cat conftest.err
>&5
24226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24227 (exit $ac_status); } &&
24228 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24230 (eval $ac_try) 2>&5
24232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24233 (exit $ac_status); }; } &&
24234 { ac_try
='test -s conftest.$ac_objext'
24235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24236 (eval $ac_try) 2>&5
24238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24239 (exit $ac_status); }; }; then
24240 ac_header_compiler
=yes
24242 echo "$as_me: failed program was:" >&5
24243 sed 's/^/| /' conftest.
$ac_ext >&5
24245 ac_header_compiler
=no
24247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24248 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24249 echo "${ECHO_T}$ac_header_compiler" >&6
24251 # Is the header present?
24252 echo "$as_me:$LINENO: checking mspack.h presence" >&5
24253 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
24254 cat >conftest.
$ac_ext <<_ACEOF
24257 cat confdefs.h
>>conftest.
$ac_ext
24258 cat >>conftest.
$ac_ext <<_ACEOF
24259 /* end confdefs.h. */
24260 #include <mspack.h>
24262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24263 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24265 grep -v '^ *+' conftest.er1
>conftest.err
24267 cat conftest.err
>&5
24268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24269 (exit $ac_status); } >/dev
/null
; then
24270 if test -s conftest.err
; then
24271 ac_cpp_err
=$ac_c_preproc_warn_flag
24272 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24279 if test -z "$ac_cpp_err"; then
24280 ac_header_preproc
=yes
24282 echo "$as_me: failed program was:" >&5
24283 sed 's/^/| /' conftest.
$ac_ext >&5
24285 ac_header_preproc
=no
24287 rm -f conftest.err conftest.
$ac_ext
24288 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24289 echo "${ECHO_T}$ac_header_preproc" >&6
24291 # So? What about this header?
24292 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24294 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
24295 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24296 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
24297 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
24298 ac_header_preproc
=yes
24301 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
24302 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
24303 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
24304 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
24305 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
24306 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
24307 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
24308 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
24309 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
24310 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
24311 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
24312 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
24315 ## ----------------------------------------- ##
24316 ## Report this to wx-dev@lists.wxwidgets.org ##
24317 ## ----------------------------------------- ##
24320 sed "s/^/$as_me: WARNING: /" >&2
24323 echo "$as_me:$LINENO: checking for mspack.h" >&5
24324 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24325 if test "${ac_cv_header_mspack_h+set}" = set; then
24326 echo $ECHO_N "(cached) $ECHO_C" >&6
24328 ac_cv_header_mspack_h
=$ac_header_preproc
24330 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24331 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24334 if test $ac_cv_header_mspack_h = yes; then
24339 if test "x$found_mspack_h" = "x1"; then
24340 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
24341 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
24342 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
24343 echo $ECHO_N "(cached) $ECHO_C" >&6
24345 ac_check_lib_save_LIBS
=$LIBS
24346 LIBS
="-lmspack $LIBS"
24347 cat >conftest.
$ac_ext <<_ACEOF
24350 cat confdefs.h
>>conftest.
$ac_ext
24351 cat >>conftest.
$ac_ext <<_ACEOF
24352 /* end confdefs.h. */
24354 /* Override any gcc2 internal prototype to avoid an error. */
24358 /* We use char because int might match the return type of a gcc2
24359 builtin and then its argument prototype would still apply. */
24360 char mspack_create_chm_decompressor ();
24364 mspack_create_chm_decompressor ();
24369 rm -f conftest.
$ac_objext conftest
$ac_exeext
24370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24371 (eval $ac_link) 2>conftest.er1
24373 grep -v '^ *+' conftest.er1
>conftest.err
24375 cat conftest.err
>&5
24376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24377 (exit $ac_status); } &&
24378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24380 (eval $ac_try) 2>&5
24382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24383 (exit $ac_status); }; } &&
24384 { ac_try
='test -s conftest$ac_exeext'
24385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24386 (eval $ac_try) 2>&5
24388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24389 (exit $ac_status); }; }; then
24390 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
24392 echo "$as_me: failed program was:" >&5
24393 sed 's/^/| /' conftest.
$ac_ext >&5
24395 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
24397 rm -f conftest.err conftest.
$ac_objext \
24398 conftest
$ac_exeext conftest.
$ac_ext
24399 LIBS
=$ac_check_lib_save_LIBS
24401 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
24402 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
24403 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
24404 MSPACK_LINK
=" -lmspack"
24408 if test "x$MSPACK_LINK" = "x" ; then
24413 if test "$wxUSE_LIBMSPACK" != "no"; then
24414 cat >>confdefs.h
<<\_ACEOF
24415 #define wxUSE_LIBMSPACK 1
24429 if test "$USE_WIN32" = 1 ; then
24431 for ac_header
in w32api.h
24433 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24434 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24435 echo "$as_me:$LINENO: checking for $ac_header" >&5
24436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24438 echo $ECHO_N "(cached) $ECHO_C" >&6
24440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24441 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24443 # Is the header compilable?
24444 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24445 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24446 cat >conftest.
$ac_ext <<_ACEOF
24449 cat confdefs.h
>>conftest.
$ac_ext
24450 cat >>conftest.
$ac_ext <<_ACEOF
24451 /* end confdefs.h. */
24452 $ac_includes_default
24453 #include <$ac_header>
24455 rm -f conftest.
$ac_objext
24456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24457 (eval $ac_compile) 2>conftest.er1
24459 grep -v '^ *+' conftest.er1
>conftest.err
24461 cat conftest.err
>&5
24462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24463 (exit $ac_status); } &&
24464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24466 (eval $ac_try) 2>&5
24468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24469 (exit $ac_status); }; } &&
24470 { ac_try
='test -s conftest.$ac_objext'
24471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24472 (eval $ac_try) 2>&5
24474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24475 (exit $ac_status); }; }; then
24476 ac_header_compiler
=yes
24478 echo "$as_me: failed program was:" >&5
24479 sed 's/^/| /' conftest.
$ac_ext >&5
24481 ac_header_compiler
=no
24483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24484 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24485 echo "${ECHO_T}$ac_header_compiler" >&6
24487 # Is the header present?
24488 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24489 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24490 cat >conftest.
$ac_ext <<_ACEOF
24493 cat confdefs.h
>>conftest.
$ac_ext
24494 cat >>conftest.
$ac_ext <<_ACEOF
24495 /* end confdefs.h. */
24496 #include <$ac_header>
24498 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24499 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24501 grep -v '^ *+' conftest.er1
>conftest.err
24503 cat conftest.err
>&5
24504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24505 (exit $ac_status); } >/dev
/null
; then
24506 if test -s conftest.err
; then
24507 ac_cpp_err
=$ac_c_preproc_warn_flag
24508 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24515 if test -z "$ac_cpp_err"; then
24516 ac_header_preproc
=yes
24518 echo "$as_me: failed program was:" >&5
24519 sed 's/^/| /' conftest.
$ac_ext >&5
24521 ac_header_preproc
=no
24523 rm -f conftest.err conftest.
$ac_ext
24524 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24525 echo "${ECHO_T}$ac_header_preproc" >&6
24527 # So? What about this header?
24528 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24530 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24531 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24533 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24534 ac_header_preproc
=yes
24537 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24538 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24539 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24540 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24541 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24542 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24543 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24544 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24545 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24546 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24547 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24548 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24551 ## ----------------------------------------- ##
24552 ## Report this to wx-dev@lists.wxwidgets.org ##
24553 ## ----------------------------------------- ##
24556 sed "s/^/$as_me: WARNING: /" >&2
24559 echo "$as_me:$LINENO: checking for $ac_header" >&5
24560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24562 echo $ECHO_N "(cached) $ECHO_C" >&6
24564 eval "$as_ac_Header=\$ac_header_preproc"
24566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24567 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24570 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24571 cat >>confdefs.h
<<_ACEOF
24572 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24579 if test "${ac_cv_header_windows_h+set}" = set; then
24580 echo "$as_me:$LINENO: checking for windows.h" >&5
24581 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24582 if test "${ac_cv_header_windows_h+set}" = set; then
24583 echo $ECHO_N "(cached) $ECHO_C" >&6
24585 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24586 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24588 # Is the header compilable?
24589 echo "$as_me:$LINENO: checking windows.h usability" >&5
24590 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
24591 cat >conftest.
$ac_ext <<_ACEOF
24594 cat confdefs.h
>>conftest.
$ac_ext
24595 cat >>conftest.
$ac_ext <<_ACEOF
24596 /* end confdefs.h. */
24597 $ac_includes_default
24598 #include <windows.h>
24600 rm -f conftest.
$ac_objext
24601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24602 (eval $ac_compile) 2>conftest.er1
24604 grep -v '^ *+' conftest.er1
>conftest.err
24606 cat conftest.err
>&5
24607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24608 (exit $ac_status); } &&
24609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24611 (eval $ac_try) 2>&5
24613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24614 (exit $ac_status); }; } &&
24615 { ac_try
='test -s conftest.$ac_objext'
24616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24617 (eval $ac_try) 2>&5
24619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24620 (exit $ac_status); }; }; then
24621 ac_header_compiler
=yes
24623 echo "$as_me: failed program was:" >&5
24624 sed 's/^/| /' conftest.
$ac_ext >&5
24626 ac_header_compiler
=no
24628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24629 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24630 echo "${ECHO_T}$ac_header_compiler" >&6
24632 # Is the header present?
24633 echo "$as_me:$LINENO: checking windows.h presence" >&5
24634 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
24635 cat >conftest.
$ac_ext <<_ACEOF
24638 cat confdefs.h
>>conftest.
$ac_ext
24639 cat >>conftest.
$ac_ext <<_ACEOF
24640 /* end confdefs.h. */
24641 #include <windows.h>
24643 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24644 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24646 grep -v '^ *+' conftest.er1
>conftest.err
24648 cat conftest.err
>&5
24649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24650 (exit $ac_status); } >/dev
/null
; then
24651 if test -s conftest.err
; then
24652 ac_cpp_err
=$ac_c_preproc_warn_flag
24653 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24660 if test -z "$ac_cpp_err"; then
24661 ac_header_preproc
=yes
24663 echo "$as_me: failed program was:" >&5
24664 sed 's/^/| /' conftest.
$ac_ext >&5
24666 ac_header_preproc
=no
24668 rm -f conftest.err conftest.
$ac_ext
24669 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24670 echo "${ECHO_T}$ac_header_preproc" >&6
24672 # So? What about this header?
24673 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24675 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
24676 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24677 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
24678 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
24679 ac_header_preproc
=yes
24682 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
24683 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
24684 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
24685 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
24686 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
24687 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
24688 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
24689 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
24690 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
24691 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
24692 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
24693 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
24696 ## ----------------------------------------- ##
24697 ## Report this to wx-dev@lists.wxwidgets.org ##
24698 ## ----------------------------------------- ##
24701 sed "s/^/$as_me: WARNING: /" >&2
24704 echo "$as_me:$LINENO: checking for windows.h" >&5
24705 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24706 if test "${ac_cv_header_windows_h+set}" = set; then
24707 echo $ECHO_N "(cached) $ECHO_C" >&6
24709 ac_cv_header_windows_h
=$ac_header_preproc
24711 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24712 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24715 if test $ac_cv_header_windows_h = yes; then
24719 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24720 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24721 { (exit 1); exit 1; }; }
24727 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24729 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24730 LIBS
="$LIBS -loleacc"
24735 LIBS
="$LIBS -lkernel32 -luser32"
24736 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
24739 if test "$wxUSE_ODBC" = "sys" ; then
24742 if test "$wxUSE_ODBC" = "yes" ; then
24743 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
24744 cat >>confdefs.h
<<\_ACEOF
24745 #define wxUSE_ODBC 1
24750 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24751 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
24753 WIN32INSTALL
=win32install
24756 if test "$wxUSE_GUI" = "yes"; then
24766 if test "$wxUSE_COCOA" = 1 ; then
24767 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24768 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24769 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24770 wxUSE_PRINTING_ARCHITECTURE
=no
24772 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24773 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24774 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24775 wxUSE_DRAG_AND_DROP
=no
24777 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24778 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24779 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24784 if test "$wxUSE_MSW" = 1 ; then
24790 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24794 if test "$wxUSE_GTK" = 1; then
24795 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24796 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24798 gtk_version_cached
=1
24799 if test "${wx_cv_lib_gtk+set}" = set; then
24800 echo $ECHO_N "(cached) $ECHO_C" >&6
24803 gtk_version_cached
=0
24804 echo "$as_me:$LINENO: result: " >&5
24805 echo "${ECHO_T}" >&6
24808 if test "$wxUSE_THREADS" = "yes"; then
24809 GTK_MODULES
=gthread
24813 if test "x$wxGTK_VERSION" != "x1"; then
24814 # Check whether --enable-gtktest or --disable-gtktest was given.
24815 if test "${enable_gtktest+set}" = set; then
24816 enableval
="$enable_gtktest"
24822 pkg_config_args
=gtk
+-2.0
24823 for module
in .
$GTK_MODULES
24827 pkg_config_args
="$pkg_config_args gthread-2.0"
24834 # Extract the first word of "pkg-config", so it can be a program name with args.
24835 set dummy pkg
-config; ac_word
=$2
24836 echo "$as_me:$LINENO: checking for $ac_word" >&5
24837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24838 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24839 echo $ECHO_N "(cached) $ECHO_C" >&6
24841 case $PKG_CONFIG in
24843 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24847 for as_dir
in $PATH
24850 test -z "$as_dir" && as_dir
=.
24851 for ac_exec_ext
in '' $ac_executable_extensions; do
24852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24853 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24860 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24864 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24866 if test -n "$PKG_CONFIG"; then
24867 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24868 echo "${ECHO_T}$PKG_CONFIG" >&6
24870 echo "$as_me:$LINENO: result: no" >&5
24871 echo "${ECHO_T}no" >&6
24875 if test x
$PKG_CONFIG != xno
; then
24876 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
24879 echo "*** pkg-config too old; version 0.7 or better required."
24887 min_gtk_version
=2.0.0
24888 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24889 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24891 if test x
$PKG_CONFIG != xno
; then
24892 ## don't try to run the test against uninstalled libtool libs
24893 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24894 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24898 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24905 if test x
"$no_gtk" = x
; then
24906 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
24907 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
24908 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24909 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24910 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24911 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24912 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24913 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24914 if test "x$enable_gtktest" = "xyes" ; then
24915 ac_save_CFLAGS
="$CFLAGS"
24916 ac_save_LIBS
="$LIBS"
24917 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24918 LIBS
="$GTK_LIBS $LIBS"
24920 if test "$cross_compiling" = yes; then
24921 echo $ac_n "cross compiling; assumed OK... $ac_c"
24923 cat >conftest.
$ac_ext <<_ACEOF
24926 cat confdefs.h
>>conftest.
$ac_ext
24927 cat >>conftest.
$ac_ext <<_ACEOF
24928 /* end confdefs.h. */
24930 #include <gtk/gtk.h>
24932 #include <stdlib.h>
24937 int major, minor, micro;
24940 system ("touch conf.gtktest");
24942 /* HP/UX 9 (%@#!) writes to sscanf strings */
24943 tmp_version = g_strdup("$min_gtk_version");
24944 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24945 printf("%s, bad version string\n", "$min_gtk_version");
24949 if ((gtk_major_version != $gtk_config_major_version) ||
24950 (gtk_minor_version != $gtk_config_minor_version) ||
24951 (gtk_micro_version != $gtk_config_micro_version))
24953 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24954 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24955 gtk_major_version, gtk_minor_version, gtk_micro_version);
24956 printf ("*** was found! If pkg-config was correct, then it is best\n");
24957 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24958 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24959 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24960 printf("*** required on your system.\n");
24961 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24962 printf("*** to point to the correct configuration files\n");
24964 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24965 (gtk_minor_version != GTK_MINOR_VERSION) ||
24966 (gtk_micro_version != GTK_MICRO_VERSION))
24968 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24969 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24970 printf("*** library (version %d.%d.%d)\n",
24971 gtk_major_version, gtk_minor_version, gtk_micro_version);
24975 if ((gtk_major_version > major) ||
24976 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24977 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24983 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24984 gtk_major_version, gtk_minor_version, gtk_micro_version);
24985 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24986 major, minor, micro);
24987 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24989 printf("*** If you have already installed a sufficiently new version, this error\n");
24990 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24991 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24992 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24993 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24994 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24995 printf("*** so that the correct libraries are found at run-time))\n");
25002 rm -f conftest
$ac_exeext
25003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25004 (eval $ac_link) 2>&5
25006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25007 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25009 (eval $ac_try) 2>&5
25011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25012 (exit $ac_status); }; }; then
25015 echo "$as_me: program exited with status $ac_status" >&5
25016 echo "$as_me: failed program was:" >&5
25017 sed 's/^/| /' conftest.
$ac_ext >&5
25019 ( exit $ac_status )
25022 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25024 CFLAGS
="$ac_save_CFLAGS"
25025 LIBS
="$ac_save_LIBS"
25028 if test "x$no_gtk" = x
; then
25029 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
25030 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
25033 echo "$as_me:$LINENO: result: no" >&5
25034 echo "${ECHO_T}no" >&6
25035 if test "$PKG_CONFIG" = "no" ; then
25036 echo "*** A new enough version of pkg-config was not found."
25037 echo "*** See http://pkgconfig.sourceforge.net"
25039 if test -f conf.gtktest
; then
25042 echo "*** Could not run GTK+ test program, checking why..."
25043 ac_save_CFLAGS
="$CFLAGS"
25044 ac_save_LIBS
="$LIBS"
25045 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25046 LIBS
="$LIBS $GTK_LIBS"
25047 cat >conftest.
$ac_ext <<_ACEOF
25050 cat confdefs.h
>>conftest.
$ac_ext
25051 cat >>conftest.
$ac_ext <<_ACEOF
25052 /* end confdefs.h. */
25054 #include <gtk/gtk.h>
25060 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25065 rm -f conftest.
$ac_objext conftest
$ac_exeext
25066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25067 (eval $ac_link) 2>conftest.er1
25069 grep -v '^ *+' conftest.er1
>conftest.err
25071 cat conftest.err
>&5
25072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25073 (exit $ac_status); } &&
25074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25076 (eval $ac_try) 2>&5
25078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25079 (exit $ac_status); }; } &&
25080 { ac_try
='test -s conftest$ac_exeext'
25081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25082 (eval $ac_try) 2>&5
25084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25085 (exit $ac_status); }; }; then
25086 echo "*** The test program compiled, but did not run. This usually means"
25087 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
25088 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
25089 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25090 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25091 echo "*** is required on your system"
25093 echo "*** If you have an old version installed, it is best to remove it, although"
25094 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25096 echo "$as_me: failed program was:" >&5
25097 sed 's/^/| /' conftest.
$ac_ext >&5
25099 echo "*** The test program failed to compile or link. See the file config.log for the"
25100 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
25102 rm -f conftest.err conftest.
$ac_objext \
25103 conftest
$ac_exeext conftest.
$ac_ext
25104 CFLAGS
="$ac_save_CFLAGS"
25105 LIBS
="$ac_save_LIBS"
25118 if test -z "$wx_cv_lib_gtk"; then
25119 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
25121 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25122 if test "${with_gtk_prefix+set}" = set; then
25123 withval
="$with_gtk_prefix"
25124 gtk_config_prefix
="$withval"
25126 gtk_config_prefix
=""
25129 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25130 if test "${with_gtk_exec_prefix+set}" = set; then
25131 withval
="$with_gtk_exec_prefix"
25132 gtk_config_exec_prefix
="$withval"
25134 gtk_config_exec_prefix
=""
25136 # Check whether --enable-gtktest or --disable-gtktest was given.
25137 if test "${enable_gtktest+set}" = set; then
25138 enableval
="$enable_gtktest"
25144 for module
in .
$GTK_MODULES
25148 gtk_config_args
="$gtk_config_args gthread"
25153 if test x
$gtk_config_exec_prefix != x
; then
25154 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25155 if test x
${GTK_CONFIG+set} != xset
; then
25156 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
25159 if test x
$gtk_config_prefix != x
; then
25160 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
25161 if test x
${GTK_CONFIG+set} != xset
; then
25162 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
25166 # Extract the first word of "gtk-config", so it can be a program name with args.
25167 set dummy gtk
-config; ac_word
=$2
25168 echo "$as_me:$LINENO: checking for $ac_word" >&5
25169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25170 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25171 echo $ECHO_N "(cached) $ECHO_C" >&6
25173 case $GTK_CONFIG in
25175 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
25178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25179 for as_dir
in $PATH
25182 test -z "$as_dir" && as_dir
=.
25183 for ac_exec_ext
in '' $ac_executable_extensions; do
25184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25185 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25192 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
25196 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
25198 if test -n "$GTK_CONFIG"; then
25199 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25200 echo "${ECHO_T}$GTK_CONFIG" >&6
25202 echo "$as_me:$LINENO: result: no" >&5
25203 echo "${ECHO_T}no" >&6
25206 min_gtk_version
=1.2.7
25207 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25208 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25210 if test "$GTK_CONFIG" = "no" ; then
25213 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
25214 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
25215 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
25216 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25217 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
25218 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25219 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
25220 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25221 if test "x$enable_gtktest" = "xyes" ; then
25222 ac_save_CFLAGS
="$CFLAGS"
25223 ac_save_LIBS
="$LIBS"
25224 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25225 LIBS
="$GTK_LIBS $LIBS"
25227 if test "$cross_compiling" = yes; then
25228 echo $ac_n "cross compiling; assumed OK... $ac_c"
25230 cat >conftest.
$ac_ext <<_ACEOF
25233 cat confdefs.h
>>conftest.
$ac_ext
25234 cat >>conftest.
$ac_ext <<_ACEOF
25235 /* end confdefs.h. */
25237 #include <gtk/gtk.h>
25239 #include <stdlib.h>
25244 int major, minor, micro;
25247 system ("touch conf.gtktest");
25249 /* HP/UX 9 (%@#!) writes to sscanf strings */
25250 tmp_version = g_strdup("$min_gtk_version");
25251 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25252 printf("%s, bad version string\n", "$min_gtk_version");
25256 if ((gtk_major_version != $gtk_config_major_version) ||
25257 (gtk_minor_version != $gtk_config_minor_version) ||
25258 (gtk_micro_version != $gtk_config_micro_version))
25260 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25261 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25262 gtk_major_version, gtk_minor_version, gtk_micro_version);
25263 printf ("*** was found! If gtk-config was correct, then it is best\n");
25264 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25265 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25266 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25267 printf("*** required on your system.\n");
25268 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25269 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25270 printf("*** before re-running configure\n");
25272 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25273 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25274 (gtk_minor_version != GTK_MINOR_VERSION) ||
25275 (gtk_micro_version != GTK_MICRO_VERSION))
25277 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25278 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25279 printf("*** library (version %d.%d.%d)\n",
25280 gtk_major_version, gtk_minor_version, gtk_micro_version);
25282 #endif /* defined (GTK_MAJOR_VERSION) ... */
25285 if ((gtk_major_version > major) ||
25286 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25287 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25293 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25294 gtk_major_version, gtk_minor_version, gtk_micro_version);
25295 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25296 major, minor, micro);
25297 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25299 printf("*** If you have already installed a sufficiently new version, this error\n");
25300 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25301 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25302 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25303 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25304 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25305 printf("*** so that the correct libraries are found at run-time))\n");
25312 rm -f conftest
$ac_exeext
25313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25314 (eval $ac_link) 2>&5
25316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25317 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25319 (eval $ac_try) 2>&5
25321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25322 (exit $ac_status); }; }; then
25325 echo "$as_me: program exited with status $ac_status" >&5
25326 echo "$as_me: failed program was:" >&5
25327 sed 's/^/| /' conftest.
$ac_ext >&5
25329 ( exit $ac_status )
25332 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25334 CFLAGS
="$ac_save_CFLAGS"
25335 LIBS
="$ac_save_LIBS"
25338 if test "x$no_gtk" = x
; then
25339 echo "$as_me:$LINENO: result: yes" >&5
25340 echo "${ECHO_T}yes" >&6
25341 wx_cv_lib_gtk
=1.2.7
25343 echo "$as_me:$LINENO: result: no" >&5
25344 echo "${ECHO_T}no" >&6
25345 if test "$GTK_CONFIG" = "no" ; then
25346 echo "*** The gtk-config script installed by GTK could not be found"
25347 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25348 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25349 echo "*** full path to gtk-config."
25351 if test -f conf.gtktest
; then
25354 echo "*** Could not run GTK test program, checking why..."
25355 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25356 LIBS
="$LIBS $GTK_LIBS"
25357 cat >conftest.
$ac_ext <<_ACEOF
25360 cat confdefs.h
>>conftest.
$ac_ext
25361 cat >>conftest.
$ac_ext <<_ACEOF
25362 /* end confdefs.h. */
25364 #include <gtk/gtk.h>
25370 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25375 rm -f conftest.
$ac_objext conftest
$ac_exeext
25376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25377 (eval $ac_link) 2>conftest.er1
25379 grep -v '^ *+' conftest.er1
>conftest.err
25381 cat conftest.err
>&5
25382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25383 (exit $ac_status); } &&
25384 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25386 (eval $ac_try) 2>&5
25388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25389 (exit $ac_status); }; } &&
25390 { ac_try
='test -s conftest$ac_exeext'
25391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25392 (eval $ac_try) 2>&5
25394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25395 (exit $ac_status); }; }; then
25396 echo "*** The test program compiled, but did not run. This usually means"
25397 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25398 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25399 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25400 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25401 echo "*** is required on your system"
25403 echo "*** If you have an old version installed, it is best to remove it, although"
25404 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25406 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25407 echo "*** came with the system with the command"
25409 echo "*** rpm --erase --nodeps gtk gtk-devel"
25411 echo "$as_me: failed program was:" >&5
25412 sed 's/^/| /' conftest.
$ac_ext >&5
25414 echo "*** The test program failed to compile or link. See the file config.log for the"
25415 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25416 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25417 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25419 rm -f conftest.err conftest.
$ac_objext \
25420 conftest
$ac_exeext conftest.
$ac_ext
25421 CFLAGS
="$ac_save_CFLAGS"
25422 LIBS
="$ac_save_LIBS"
25434 if test -z "$wx_cv_lib_gtk"; then
25436 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25437 if test "${with_gtk_prefix+set}" = set; then
25438 withval
="$with_gtk_prefix"
25439 gtk_config_prefix
="$withval"
25441 gtk_config_prefix
=""
25444 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25445 if test "${with_gtk_exec_prefix+set}" = set; then
25446 withval
="$with_gtk_exec_prefix"
25447 gtk_config_exec_prefix
="$withval"
25449 gtk_config_exec_prefix
=""
25451 # Check whether --enable-gtktest or --disable-gtktest was given.
25452 if test "${enable_gtktest+set}" = set; then
25453 enableval
="$enable_gtktest"
25459 for module
in .
$GTK_MODULES
25463 gtk_config_args
="$gtk_config_args gthread"
25468 if test x
$gtk_config_exec_prefix != x
; then
25469 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25470 if test x
${GTK_CONFIG+set} != xset
; then
25471 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
25474 if test x
$gtk_config_prefix != x
; then
25475 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
25476 if test x
${GTK_CONFIG+set} != xset
; then
25477 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
25481 # Extract the first word of "gtk-config", so it can be a program name with args.
25482 set dummy gtk
-config; ac_word
=$2
25483 echo "$as_me:$LINENO: checking for $ac_word" >&5
25484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25485 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25486 echo $ECHO_N "(cached) $ECHO_C" >&6
25488 case $GTK_CONFIG in
25490 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
25493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25494 for as_dir
in $PATH
25497 test -z "$as_dir" && as_dir
=.
25498 for ac_exec_ext
in '' $ac_executable_extensions; do
25499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25500 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25507 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
25511 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
25513 if test -n "$GTK_CONFIG"; then
25514 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25515 echo "${ECHO_T}$GTK_CONFIG" >&6
25517 echo "$as_me:$LINENO: result: no" >&5
25518 echo "${ECHO_T}no" >&6
25521 min_gtk_version
=1.2.3
25522 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25523 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25525 if test "$GTK_CONFIG" = "no" ; then
25528 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
25529 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
25530 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
25531 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25532 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
25533 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25534 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
25535 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25536 if test "x$enable_gtktest" = "xyes" ; then
25537 ac_save_CFLAGS
="$CFLAGS"
25538 ac_save_LIBS
="$LIBS"
25539 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25540 LIBS
="$GTK_LIBS $LIBS"
25542 if test "$cross_compiling" = yes; then
25543 echo $ac_n "cross compiling; assumed OK... $ac_c"
25545 cat >conftest.
$ac_ext <<_ACEOF
25548 cat confdefs.h
>>conftest.
$ac_ext
25549 cat >>conftest.
$ac_ext <<_ACEOF
25550 /* end confdefs.h. */
25552 #include <gtk/gtk.h>
25554 #include <stdlib.h>
25559 int major, minor, micro;
25562 system ("touch conf.gtktest");
25564 /* HP/UX 9 (%@#!) writes to sscanf strings */
25565 tmp_version = g_strdup("$min_gtk_version");
25566 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25567 printf("%s, bad version string\n", "$min_gtk_version");
25571 if ((gtk_major_version != $gtk_config_major_version) ||
25572 (gtk_minor_version != $gtk_config_minor_version) ||
25573 (gtk_micro_version != $gtk_config_micro_version))
25575 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25576 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25577 gtk_major_version, gtk_minor_version, gtk_micro_version);
25578 printf ("*** was found! If gtk-config was correct, then it is best\n");
25579 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25580 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25581 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25582 printf("*** required on your system.\n");
25583 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25584 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25585 printf("*** before re-running configure\n");
25587 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25588 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25589 (gtk_minor_version != GTK_MINOR_VERSION) ||
25590 (gtk_micro_version != GTK_MICRO_VERSION))
25592 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25593 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25594 printf("*** library (version %d.%d.%d)\n",
25595 gtk_major_version, gtk_minor_version, gtk_micro_version);
25597 #endif /* defined (GTK_MAJOR_VERSION) ... */
25600 if ((gtk_major_version > major) ||
25601 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25602 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25608 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25609 gtk_major_version, gtk_minor_version, gtk_micro_version);
25610 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25611 major, minor, micro);
25612 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25614 printf("*** If you have already installed a sufficiently new version, this error\n");
25615 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25616 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25617 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25618 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25619 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25620 printf("*** so that the correct libraries are found at run-time))\n");
25627 rm -f conftest
$ac_exeext
25628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25629 (eval $ac_link) 2>&5
25631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25632 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25634 (eval $ac_try) 2>&5
25636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25637 (exit $ac_status); }; }; then
25640 echo "$as_me: program exited with status $ac_status" >&5
25641 echo "$as_me: failed program was:" >&5
25642 sed 's/^/| /' conftest.
$ac_ext >&5
25644 ( exit $ac_status )
25647 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25649 CFLAGS
="$ac_save_CFLAGS"
25650 LIBS
="$ac_save_LIBS"
25653 if test "x$no_gtk" = x
; then
25654 echo "$as_me:$LINENO: result: yes" >&5
25655 echo "${ECHO_T}yes" >&6
25656 wx_cv_lib_gtk
=1.2.3
25658 echo "$as_me:$LINENO: result: no" >&5
25659 echo "${ECHO_T}no" >&6
25660 if test "$GTK_CONFIG" = "no" ; then
25661 echo "*** The gtk-config script installed by GTK could not be found"
25662 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25663 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25664 echo "*** full path to gtk-config."
25666 if test -f conf.gtktest
; then
25669 echo "*** Could not run GTK test program, checking why..."
25670 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25671 LIBS
="$LIBS $GTK_LIBS"
25672 cat >conftest.
$ac_ext <<_ACEOF
25675 cat confdefs.h
>>conftest.
$ac_ext
25676 cat >>conftest.
$ac_ext <<_ACEOF
25677 /* end confdefs.h. */
25679 #include <gtk/gtk.h>
25685 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25690 rm -f conftest.
$ac_objext conftest
$ac_exeext
25691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25692 (eval $ac_link) 2>conftest.er1
25694 grep -v '^ *+' conftest.er1
>conftest.err
25696 cat conftest.err
>&5
25697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25698 (exit $ac_status); } &&
25699 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25701 (eval $ac_try) 2>&5
25703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25704 (exit $ac_status); }; } &&
25705 { ac_try
='test -s conftest$ac_exeext'
25706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25707 (eval $ac_try) 2>&5
25709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25710 (exit $ac_status); }; }; then
25711 echo "*** The test program compiled, but did not run. This usually means"
25712 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25713 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25714 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25715 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25716 echo "*** is required on your system"
25718 echo "*** If you have an old version installed, it is best to remove it, although"
25719 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25721 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25722 echo "*** came with the system with the command"
25724 echo "*** rpm --erase --nodeps gtk gtk-devel"
25726 echo "$as_me: failed program was:" >&5
25727 sed 's/^/| /' conftest.
$ac_ext >&5
25729 echo "*** The test program failed to compile or link. See the file config.log for the"
25730 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25731 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25732 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25734 rm -f conftest.err conftest.
$ac_objext \
25735 conftest
$ac_exeext conftest.
$ac_ext
25736 CFLAGS
="$ac_save_CFLAGS"
25737 LIBS
="$ac_save_LIBS"
25752 if test -z "$wx_cv_lib_gtk"; then
25755 wx_cv_cflags_gtk
=$GTK_CFLAGS
25756 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
25763 if test "$gtk_version_cached" = 1; then
25764 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25765 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25768 case "$wx_cv_lib_gtk" in
25777 *) { { echo "$as_me:$LINENO: error:
25778 The development files for GTK+ were not found. For GTK+ 2, please
25779 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25780 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25781 and that the version is 1.2.3 or above. Also check that the
25782 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25783 --libs' are in the LD_LIBRARY_PATH or equivalent.
25785 echo "$as_me: error:
25786 The development files for GTK+ were not found. For GTK+ 2, please
25787 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25788 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25789 and that the version is 1.2.3 or above. Also check that the
25790 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25791 --libs' are in the LD_LIBRARY_PATH or equivalent.
25793 { (exit 1); exit 1; }; }
25797 if test "$WXGTK20" = 1; then
25798 save_CFLAGS
="$CFLAGS"
25800 CFLAGS
="$CFLAGS $wx_cv_cflags_gtk"
25801 LIBS
="$LIBS $wx_cv_libs_gtk"
25803 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
25804 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
25805 cat >conftest.
$ac_ext <<_ACEOF
25808 cat confdefs.h
>>conftest.
$ac_ext
25809 cat >>conftest.
$ac_ext <<_ACEOF
25810 /* end confdefs.h. */
25812 #include <gtk/gtk.h>
25818 void *f = gtk_icon_size_lookup;
25824 rm -f conftest.
$ac_objext
25825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25826 (eval $ac_compile) 2>conftest.er1
25828 grep -v '^ *+' conftest.er1
>conftest.err
25830 cat conftest.err
>&5
25831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25832 (exit $ac_status); } &&
25833 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25835 (eval $ac_try) 2>&5
25837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25838 (exit $ac_status); }; } &&
25839 { ac_try
='test -s conftest.$ac_objext'
25840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25841 (eval $ac_try) 2>&5
25843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25844 (exit $ac_status); }; }; then
25846 echo "$as_me:$LINENO: result: no" >&5
25847 echo "${ECHO_T}no" >&6
25850 echo "$as_me: failed program was:" >&5
25851 sed 's/^/| /' conftest.
$ac_ext >&5
25854 cat >>confdefs.h
<<\_ACEOF
25855 #define NEED_GTK_ICON_SIZE_LOOKUP 1
25858 echo "$as_me:$LINENO: result: yes" >&5
25859 echo "${ECHO_T}yes" >&6
25862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25864 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25865 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25866 cat >conftest.
$ac_ext <<_ACEOF
25869 cat confdefs.h
>>conftest.
$ac_ext
25870 cat >>conftest.
$ac_ext <<_ACEOF
25871 /* end confdefs.h. */
25873 #include <gtk/gtk.h>
25879 #if !GTK_CHECK_VERSION(2,4,0)
25887 rm -f conftest.
$ac_objext
25888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25889 (eval $ac_compile) 2>conftest.er1
25891 grep -v '^ *+' conftest.er1
>conftest.err
25893 cat conftest.err
>&5
25894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25895 (exit $ac_status); } &&
25896 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25898 (eval $ac_try) 2>&5
25900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25901 (exit $ac_status); }; } &&
25902 { ac_try
='test -s conftest.$ac_objext'
25903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25904 (eval $ac_try) 2>&5
25906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25907 (exit $ac_status); }; }; then
25909 cat >>confdefs.h
<<\_ACEOF
25910 #define __WXGTK24__ 1
25913 echo "$as_me:$LINENO: result: yes" >&5
25914 echo "${ECHO_T}yes" >&6
25917 echo "$as_me: failed program was:" >&5
25918 sed 's/^/| /' conftest.
$ac_ext >&5
25921 echo "$as_me:$LINENO: result: no" >&5
25922 echo "${ECHO_T}no" >&6
25925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25927 CFLAGS
="$save_CFLAGS"
25930 if test "$wxUSE_UNICODE" = "yes"; then
25931 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25932 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25937 if test "$USE_DARWIN" != 1; then
25939 for ac_func
in poll
25941 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25942 echo "$as_me:$LINENO: checking for $ac_func" >&5
25943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25944 if eval "test \"\${$as_ac_var+set}\" = set"; then
25945 echo $ECHO_N "(cached) $ECHO_C" >&6
25947 cat >conftest.
$ac_ext <<_ACEOF
25950 cat confdefs.h
>>conftest.
$ac_ext
25951 cat >>conftest.
$ac_ext <<_ACEOF
25952 /* end confdefs.h. */
25953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25955 #define $ac_func innocuous_$ac_func
25957 /* System header to define __stub macros and hopefully few prototypes,
25958 which can conflict with char $ac_func (); below.
25959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25960 <limits.h> exists even on freestanding compilers. */
25963 # include <limits.h>
25965 # include <assert.h>
25970 /* Override any gcc2 internal prototype to avoid an error. */
25975 /* We use char because int might match the return type of a gcc2
25976 builtin and then its argument prototype would still apply. */
25978 /* The GNU C library defines this for functions which it implements
25979 to always fail with ENOSYS. Some functions are actually named
25980 something starting with __ and the normal name is an alias. */
25981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25984 char (*f) () = $ac_func;
25993 return f != $ac_func;
25998 rm -f conftest.
$ac_objext conftest
$ac_exeext
25999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26000 (eval $ac_link) 2>conftest.er1
26002 grep -v '^ *+' conftest.er1
>conftest.err
26004 cat conftest.err
>&5
26005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26006 (exit $ac_status); } &&
26007 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26009 (eval $ac_try) 2>&5
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); }; } &&
26013 { ac_try
='test -s conftest$ac_exeext'
26014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26015 (eval $ac_try) 2>&5
26017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26018 (exit $ac_status); }; }; then
26019 eval "$as_ac_var=yes"
26021 echo "$as_me: failed program was:" >&5
26022 sed 's/^/| /' conftest.
$ac_ext >&5
26024 eval "$as_ac_var=no"
26026 rm -f conftest.err conftest.
$ac_objext \
26027 conftest
$ac_exeext conftest.
$ac_ext
26029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26031 if test `eval echo '${'$as_ac_var'}'` = yes; then
26032 cat >>confdefs.h
<<_ACEOF
26033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26041 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
26042 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
26044 AFMINSTALL
=afminstall
26048 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
26049 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
26050 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
26051 echo $ECHO_N "(cached) $ECHO_C" >&6
26053 ac_check_lib_save_LIBS
=$LIBS
26055 cat >conftest.
$ac_ext <<_ACEOF
26058 cat confdefs.h
>>conftest.
$ac_ext
26059 cat >>conftest.
$ac_ext <<_ACEOF
26060 /* end confdefs.h. */
26062 /* Override any gcc2 internal prototype to avoid an error. */
26066 /* We use char because int might match the return type of a gcc2
26067 builtin and then its argument prototype would still apply. */
26068 char gdk_im_open ();
26077 rm -f conftest.
$ac_objext conftest
$ac_exeext
26078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26079 (eval $ac_link) 2>conftest.er1
26081 grep -v '^ *+' conftest.er1
>conftest.err
26083 cat conftest.err
>&5
26084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26085 (exit $ac_status); } &&
26086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26088 (eval $ac_try) 2>&5
26090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26091 (exit $ac_status); }; } &&
26092 { ac_try
='test -s conftest$ac_exeext'
26093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26094 (eval $ac_try) 2>&5
26096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26097 (exit $ac_status); }; }; then
26098 ac_cv_lib_gdk_gdk_im_open
=yes
26100 echo "$as_me: failed program was:" >&5
26101 sed 's/^/| /' conftest.
$ac_ext >&5
26103 ac_cv_lib_gdk_gdk_im_open
=no
26105 rm -f conftest.err conftest.
$ac_objext \
26106 conftest
$ac_exeext conftest.
$ac_ext
26107 LIBS
=$ac_check_lib_save_LIBS
26109 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
26110 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
26111 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
26112 cat >>confdefs.h
<<\_ACEOF
26120 if test "$wxUSE_GPE" = "yes"; then
26121 echo "$as_me:$LINENO: checking for gpewidget library" >&5
26122 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
26125 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26127 for ac_extension
in a so sl dylib dll.a
; do
26128 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
26129 ac_find_libraries
=$ac_dir
26135 if test "$ac_find_libraries" != "" ; then
26137 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26139 if test $result = 0; then
26142 ac_path_to_link
=" -L$ac_find_libraries"
26145 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
26147 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26148 echo "${ECHO_T}found at $ac_find_libraries" >&6
26150 echo "$as_me:$LINENO: result: not found" >&5
26151 echo "${ECHO_T}not found" >&6
26157 if test "$wxUSE_MGL" = 1; then
26158 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
26159 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
26160 if test "x$MGL_ROOT" = x
; then
26161 echo "$as_me:$LINENO: result: not found" >&5
26162 echo "${ECHO_T}not found" >&6
26163 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
26164 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
26165 { (exit 1); exit 1; }; }
26167 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
26168 echo "${ECHO_T}$MGL_ROOT" >&6
26171 echo "$as_me:$LINENO: checking for libmgl location" >&5
26172 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
26175 if test "x$wxUSE_SHARED" = xyes
; then
26176 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
26178 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
26182 mgl_os_candidates
="dos32/dj2"
26185 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
26186 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
26187 { (exit 1); exit 1; }; }
26193 for mgl_os_i
in $mgl_os_candidates ; do
26194 if test "x$mgl_os" = x
; then
26195 if test "$wxUSE_DEBUG_FLAG" = yes ; then
26196 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
26197 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
26202 if test "x$mgl_lib_type" = x
; then
26203 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
26204 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
26205 mgl_lib_type
=release
26212 if test "x$mgl_os" = x
; then
26213 echo "$as_me:$LINENO: result: not found" >&5
26214 echo "${ECHO_T}not found" >&6
26215 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
26216 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
26217 { (exit 1); exit 1; }; }
26219 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
26220 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
26222 wxUSE_UNIVERSAL
="yes"
26224 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
26225 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
26227 AFMINSTALL
=afminstall
26232 if test "$wxUSE_MICROWIN" = 1; then
26233 echo "$as_me:$LINENO: checking for MicroWindows" >&5
26234 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
26235 if test "x$MICROWINDOWS" = x
; then
26236 echo "$as_me:$LINENO: result: not found" >&5
26237 echo "${ECHO_T}not found" >&6
26238 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
26239 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
26240 { (exit 1); exit 1; }; }
26242 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
26243 echo "${ECHO_T}$MICROWINDOWS" >&6
26246 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
26247 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
26248 echo "${ECHO_T}MicroWindows' libraries found." >&6
26250 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
26251 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
26252 { (exit 1); exit 1; }; }
26255 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
26256 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
26258 wxUSE_UNIVERSAL
="yes"
26260 AFMINSTALL
=afminstall
26262 GUIDIST
=MICROWIN_DIST
26264 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
26267 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26269 if test "x$ac_path_x_has_been_run" != xyes
; then
26270 echo "$as_me:$LINENO: checking for X" >&5
26271 echo $ECHO_N "checking for X... $ECHO_C" >&6
26273 ac_path_x_has_been_run
=yes
26275 # Check whether --with-x or --without-x was given.
26276 if test "${with_x+set}" = set; then
26280 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26281 if test "x$with_x" = xno
; then
26282 # The user explicitly disabled X.
26285 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
26286 # Both variables are already set.
26289 if test "${ac_cv_have_x+set}" = set; then
26290 echo $ECHO_N "(cached) $ECHO_C" >&6
26292 # One or both of the vars are not set, and there is no cached value.
26293 ac_x_includes
=no ac_x_libraries
=no
26294 rm -fr conftest.dir
26295 if mkdir conftest.dir
; then
26297 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
26298 cat >Imakefile
<<'_ACEOF'
26300 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
26302 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
26303 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
26304 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
26305 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
26306 for ac_extension
in a so sl
; do
26307 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
26308 test -f $ac_im_libdir/libX11.
$ac_extension; then
26309 ac_im_usrlibdir
=$ac_im_libdir; break
26312 # Screen out bogus values from the imake configuration. They are
26313 # bogus both because they are the default anyway, and because
26314 # using them would break gcc on systems where it needs fixed includes.
26315 case $ac_im_incroot in
26317 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
26319 case $ac_im_usrlibdir in
26320 /usr
/lib
| /lib
) ;;
26321 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
26325 rm -fr conftest.dir
26328 # Standard set of common directories for X headers.
26329 # Check X11 before X11Rn because it is often a symlink to the current release.
26341 /usr/local/X11/include
26342 /usr/local/X11R6/include
26343 /usr/local/X11R5/include
26344 /usr/local/X11R4/include
26346 /usr/local/include/X11
26347 /usr/local/include/X11R6
26348 /usr/local/include/X11R5
26349 /usr/local/include/X11R4
26353 /usr/XFree86/include/X11
26357 /usr/unsupported/include
26358 /usr/athena/include
26359 /usr/local/x11r5/include
26360 /usr/lpp/Xamples/include
26362 /usr/openwin/include
26363 /usr/openwin/share/include'
26365 if test "$ac_x_includes" = no
; then
26366 # Guess where to find include files, by looking for a specified header file.
26367 # First, try using that file with no special directory specified.
26368 cat >conftest.
$ac_ext <<_ACEOF
26371 cat confdefs.h
>>conftest.
$ac_ext
26372 cat >>conftest.
$ac_ext <<_ACEOF
26373 /* end confdefs.h. */
26374 #include <X11/Intrinsic.h>
26376 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26377 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26379 grep -v '^ *+' conftest.er1
>conftest.err
26381 cat conftest.err
>&5
26382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26383 (exit $ac_status); } >/dev
/null
; then
26384 if test -s conftest.err
; then
26385 ac_cpp_err
=$ac_c_preproc_warn_flag
26386 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26393 if test -z "$ac_cpp_err"; then
26394 # We can compile using X headers with no special include directory.
26397 echo "$as_me: failed program was:" >&5
26398 sed 's/^/| /' conftest.
$ac_ext >&5
26400 for ac_dir
in $ac_x_header_dirs; do
26401 if test -r "$ac_dir/X11/Intrinsic.h"; then
26402 ac_x_includes
=$ac_dir
26407 rm -f conftest.err conftest.
$ac_ext
26408 fi # $ac_x_includes = no
26410 if test "$ac_x_libraries" = no
; then
26411 # Check for the libraries.
26412 # See if we find them without any special options.
26413 # Don't add to $LIBS permanently.
26416 cat >conftest.
$ac_ext <<_ACEOF
26419 cat confdefs.h
>>conftest.
$ac_ext
26420 cat >>conftest.
$ac_ext <<_ACEOF
26421 /* end confdefs.h. */
26422 #include <X11/Intrinsic.h>
26431 rm -f conftest.
$ac_objext conftest
$ac_exeext
26432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26433 (eval $ac_link) 2>conftest.er1
26435 grep -v '^ *+' conftest.er1
>conftest.err
26437 cat conftest.err
>&5
26438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26439 (exit $ac_status); } &&
26440 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26442 (eval $ac_try) 2>&5
26444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26445 (exit $ac_status); }; } &&
26446 { ac_try
='test -s conftest$ac_exeext'
26447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26448 (eval $ac_try) 2>&5
26450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26451 (exit $ac_status); }; }; then
26453 # We can link X programs with no special library path.
26456 echo "$as_me: failed program was:" >&5
26457 sed 's/^/| /' conftest.
$ac_ext >&5
26460 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26462 # Don't even attempt the hair of trying to link an X program!
26463 for ac_extension
in a so sl
; do
26464 if test -r $ac_dir/libXt.
$ac_extension; then
26465 ac_x_libraries
=$ac_dir
26471 rm -f conftest.err conftest.
$ac_objext \
26472 conftest
$ac_exeext conftest.
$ac_ext
26473 fi # $ac_x_libraries = no
26475 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
26476 # Didn't find X anywhere. Cache the known absence of X.
26477 ac_cv_have_x
="have_x=no"
26479 # Record where we found X for the cache.
26480 ac_cv_have_x
="have_x=yes \
26481 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
26486 eval "$ac_cv_have_x"
26489 if test "$have_x" != yes; then
26490 echo "$as_me:$LINENO: result: $have_x" >&5
26491 echo "${ECHO_T}$have_x" >&6
26494 # If each of the values was on the command line, it overrides each guess.
26495 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
26496 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
26497 # Update the cache value to reflect the command line values.
26498 ac_cv_have_x
="have_x=yes \
26499 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
26500 # It might be that x_includes is empty (headers are found in the
26501 # standard search path. Then output the corresponding message
26502 ac_out_x_includes
=$x_includes
26503 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
26504 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
26505 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
26509 if test "$no_x" = yes; then
26510 # Not all programs may use this symbol, but it does not hurt to define it.
26512 cat >>confdefs.h
<<\_ACEOF
26513 #define X_DISPLAY_MISSING 1
26516 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
26518 if test -n "$x_includes"; then
26519 X_CFLAGS
="$X_CFLAGS -I$x_includes"
26522 # It would also be nice to do this for all -L options, not just this one.
26523 if test -n "$x_libraries"; then
26524 X_LIBS
="$X_LIBS -L$x_libraries"
26525 # For Solaris; some versions of Sun CC require a space after -R and
26526 # others require no space. Words are not sufficient . . . .
26527 case `(uname -sr) 2>/dev/null` in
26529 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26530 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26531 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
26532 cat >conftest.
$ac_ext <<_ACEOF
26535 cat confdefs.h
>>conftest.
$ac_ext
26536 cat >>conftest.
$ac_ext <<_ACEOF
26537 /* end confdefs.h. */
26547 rm -f conftest.
$ac_objext conftest
$ac_exeext
26548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26549 (eval $ac_link) 2>conftest.er1
26551 grep -v '^ *+' conftest.er1
>conftest.err
26553 cat conftest.err
>&5
26554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555 (exit $ac_status); } &&
26556 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26558 (eval $ac_try) 2>&5
26560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26561 (exit $ac_status); }; } &&
26562 { ac_try
='test -s conftest$ac_exeext'
26563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26564 (eval $ac_try) 2>&5
26566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26567 (exit $ac_status); }; }; then
26570 echo "$as_me: failed program was:" >&5
26571 sed 's/^/| /' conftest.
$ac_ext >&5
26575 rm -f conftest.err conftest.
$ac_objext \
26576 conftest
$ac_exeext conftest.
$ac_ext
26577 if test $ac_R_nospace = yes; then
26578 echo "$as_me:$LINENO: result: no" >&5
26579 echo "${ECHO_T}no" >&6
26580 X_LIBS
="$X_LIBS -R$x_libraries"
26582 LIBS
="$ac_xsave_LIBS -R $x_libraries"
26583 cat >conftest.
$ac_ext <<_ACEOF
26586 cat confdefs.h
>>conftest.
$ac_ext
26587 cat >>conftest.
$ac_ext <<_ACEOF
26588 /* end confdefs.h. */
26598 rm -f conftest.
$ac_objext conftest
$ac_exeext
26599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26600 (eval $ac_link) 2>conftest.er1
26602 grep -v '^ *+' conftest.er1
>conftest.err
26604 cat conftest.err
>&5
26605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26606 (exit $ac_status); } &&
26607 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26609 (eval $ac_try) 2>&5
26611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26612 (exit $ac_status); }; } &&
26613 { ac_try
='test -s conftest$ac_exeext'
26614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26615 (eval $ac_try) 2>&5
26617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26618 (exit $ac_status); }; }; then
26621 echo "$as_me: failed program was:" >&5
26622 sed 's/^/| /' conftest.
$ac_ext >&5
26626 rm -f conftest.err conftest.
$ac_objext \
26627 conftest
$ac_exeext conftest.
$ac_ext
26628 if test $ac_R_space = yes; then
26629 echo "$as_me:$LINENO: result: yes" >&5
26630 echo "${ECHO_T}yes" >&6
26631 X_LIBS
="$X_LIBS -R $x_libraries"
26633 echo "$as_me:$LINENO: result: neither works" >&5
26634 echo "${ECHO_T}neither works" >&6
26637 LIBS
=$ac_xsave_LIBS
26641 # Check for system-dependent libraries X programs must link with.
26642 # Do this before checking for the system-independent R6 libraries
26643 # (-lICE), since we may need -lsocket or whatever for X linking.
26645 if test "$ISC" = yes; then
26646 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
26648 # Martyn Johnson says this is needed for Ultrix, if the X
26649 # libraries were built with DECnet support. And Karl Berry says
26650 # the Alpha needs dnet_stub (dnet does not exist).
26651 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
26652 cat >conftest.
$ac_ext <<_ACEOF
26655 cat confdefs.h
>>conftest.
$ac_ext
26656 cat >>conftest.
$ac_ext <<_ACEOF
26657 /* end confdefs.h. */
26659 /* Override any gcc2 internal prototype to avoid an error. */
26663 /* We use char because int might match the return type of a gcc2
26664 builtin and then its argument prototype would still apply. */
26665 char XOpenDisplay ();
26674 rm -f conftest.
$ac_objext conftest
$ac_exeext
26675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26676 (eval $ac_link) 2>conftest.er1
26678 grep -v '^ *+' conftest.er1
>conftest.err
26680 cat conftest.err
>&5
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); } &&
26683 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26685 (eval $ac_try) 2>&5
26687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26688 (exit $ac_status); }; } &&
26689 { ac_try
='test -s conftest$ac_exeext'
26690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26691 (eval $ac_try) 2>&5
26693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26694 (exit $ac_status); }; }; then
26697 echo "$as_me: failed program was:" >&5
26698 sed 's/^/| /' conftest.
$ac_ext >&5
26700 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26701 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26702 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26703 echo $ECHO_N "(cached) $ECHO_C" >&6
26705 ac_check_lib_save_LIBS
=$LIBS
26706 LIBS
="-ldnet $LIBS"
26707 cat >conftest.
$ac_ext <<_ACEOF
26710 cat confdefs.h
>>conftest.
$ac_ext
26711 cat >>conftest.
$ac_ext <<_ACEOF
26712 /* end confdefs.h. */
26714 /* Override any gcc2 internal prototype to avoid an error. */
26718 /* We use char because int might match the return type of a gcc2
26719 builtin and then its argument prototype would still apply. */
26729 rm -f conftest.
$ac_objext conftest
$ac_exeext
26730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26731 (eval $ac_link) 2>conftest.er1
26733 grep -v '^ *+' conftest.er1
>conftest.err
26735 cat conftest.err
>&5
26736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26737 (exit $ac_status); } &&
26738 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26740 (eval $ac_try) 2>&5
26742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26743 (exit $ac_status); }; } &&
26744 { ac_try
='test -s conftest$ac_exeext'
26745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26746 (eval $ac_try) 2>&5
26748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26749 (exit $ac_status); }; }; then
26750 ac_cv_lib_dnet_dnet_ntoa
=yes
26752 echo "$as_me: failed program was:" >&5
26753 sed 's/^/| /' conftest.
$ac_ext >&5
26755 ac_cv_lib_dnet_dnet_ntoa
=no
26757 rm -f conftest.err conftest.
$ac_objext \
26758 conftest
$ac_exeext conftest.
$ac_ext
26759 LIBS
=$ac_check_lib_save_LIBS
26761 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26762 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26763 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26764 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
26767 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
26768 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26769 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26770 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26771 echo $ECHO_N "(cached) $ECHO_C" >&6
26773 ac_check_lib_save_LIBS
=$LIBS
26774 LIBS
="-ldnet_stub $LIBS"
26775 cat >conftest.
$ac_ext <<_ACEOF
26778 cat confdefs.h
>>conftest.
$ac_ext
26779 cat >>conftest.
$ac_ext <<_ACEOF
26780 /* end confdefs.h. */
26782 /* Override any gcc2 internal prototype to avoid an error. */
26786 /* We use char because int might match the return type of a gcc2
26787 builtin and then its argument prototype would still apply. */
26797 rm -f conftest.
$ac_objext conftest
$ac_exeext
26798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26799 (eval $ac_link) 2>conftest.er1
26801 grep -v '^ *+' conftest.er1
>conftest.err
26803 cat conftest.err
>&5
26804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26805 (exit $ac_status); } &&
26806 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26808 (eval $ac_try) 2>&5
26810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26811 (exit $ac_status); }; } &&
26812 { ac_try
='test -s conftest$ac_exeext'
26813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26814 (eval $ac_try) 2>&5
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); }; }; then
26818 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
26820 echo "$as_me: failed program was:" >&5
26821 sed 's/^/| /' conftest.
$ac_ext >&5
26823 ac_cv_lib_dnet_stub_dnet_ntoa
=no
26825 rm -f conftest.err conftest.
$ac_objext \
26826 conftest
$ac_exeext conftest.
$ac_ext
26827 LIBS
=$ac_check_lib_save_LIBS
26829 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26830 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26831 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26832 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
26837 rm -f conftest.err conftest.
$ac_objext \
26838 conftest
$ac_exeext conftest.
$ac_ext
26839 LIBS
="$ac_xsave_LIBS"
26841 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26842 # to get the SysV transport functions.
26843 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26845 # The nsl library prevents programs from opening the X display
26846 # on Irix 5.2, according to T.E. Dickey.
26847 # The functions gethostbyname, getservbyname, and inet_addr are
26848 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26849 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26850 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26851 if test "${ac_cv_func_gethostbyname+set}" = set; then
26852 echo $ECHO_N "(cached) $ECHO_C" >&6
26854 cat >conftest.
$ac_ext <<_ACEOF
26857 cat confdefs.h
>>conftest.
$ac_ext
26858 cat >>conftest.
$ac_ext <<_ACEOF
26859 /* end confdefs.h. */
26860 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26862 #define gethostbyname innocuous_gethostbyname
26864 /* System header to define __stub macros and hopefully few prototypes,
26865 which can conflict with char gethostbyname (); below.
26866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26867 <limits.h> exists even on freestanding compilers. */
26870 # include <limits.h>
26872 # include <assert.h>
26875 #undef gethostbyname
26877 /* Override any gcc2 internal prototype to avoid an error. */
26882 /* We use char because int might match the return type of a gcc2
26883 builtin and then its argument prototype would still apply. */
26884 char gethostbyname ();
26885 /* The GNU C library defines this for functions which it implements
26886 to always fail with ENOSYS. Some functions are actually named
26887 something starting with __ and the normal name is an alias. */
26888 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26891 char (*f) () = gethostbyname;
26900 return f != gethostbyname;
26905 rm -f conftest.
$ac_objext conftest
$ac_exeext
26906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26907 (eval $ac_link) 2>conftest.er1
26909 grep -v '^ *+' conftest.er1
>conftest.err
26911 cat conftest.err
>&5
26912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26913 (exit $ac_status); } &&
26914 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26916 (eval $ac_try) 2>&5
26918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26919 (exit $ac_status); }; } &&
26920 { ac_try
='test -s conftest$ac_exeext'
26921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26922 (eval $ac_try) 2>&5
26924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26925 (exit $ac_status); }; }; then
26926 ac_cv_func_gethostbyname
=yes
26928 echo "$as_me: failed program was:" >&5
26929 sed 's/^/| /' conftest.
$ac_ext >&5
26931 ac_cv_func_gethostbyname
=no
26933 rm -f conftest.err conftest.
$ac_objext \
26934 conftest
$ac_exeext conftest.
$ac_ext
26936 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26937 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26939 if test $ac_cv_func_gethostbyname = no
; then
26940 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26941 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26942 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26943 echo $ECHO_N "(cached) $ECHO_C" >&6
26945 ac_check_lib_save_LIBS
=$LIBS
26947 cat >conftest.
$ac_ext <<_ACEOF
26950 cat confdefs.h
>>conftest.
$ac_ext
26951 cat >>conftest.
$ac_ext <<_ACEOF
26952 /* end confdefs.h. */
26954 /* Override any gcc2 internal prototype to avoid an error. */
26958 /* We use char because int might match the return type of a gcc2
26959 builtin and then its argument prototype would still apply. */
26960 char gethostbyname ();
26969 rm -f conftest.
$ac_objext conftest
$ac_exeext
26970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26971 (eval $ac_link) 2>conftest.er1
26973 grep -v '^ *+' conftest.er1
>conftest.err
26975 cat conftest.err
>&5
26976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977 (exit $ac_status); } &&
26978 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26980 (eval $ac_try) 2>&5
26982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26983 (exit $ac_status); }; } &&
26984 { ac_try
='test -s conftest$ac_exeext'
26985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26986 (eval $ac_try) 2>&5
26988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26989 (exit $ac_status); }; }; then
26990 ac_cv_lib_nsl_gethostbyname
=yes
26992 echo "$as_me: failed program was:" >&5
26993 sed 's/^/| /' conftest.
$ac_ext >&5
26995 ac_cv_lib_nsl_gethostbyname
=no
26997 rm -f conftest.err conftest.
$ac_objext \
26998 conftest
$ac_exeext conftest.
$ac_ext
26999 LIBS
=$ac_check_lib_save_LIBS
27001 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
27002 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
27003 if test $ac_cv_lib_nsl_gethostbyname = yes; then
27004 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
27007 if test $ac_cv_lib_nsl_gethostbyname = no
; then
27008 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
27009 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
27010 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
27011 echo $ECHO_N "(cached) $ECHO_C" >&6
27013 ac_check_lib_save_LIBS
=$LIBS
27015 cat >conftest.
$ac_ext <<_ACEOF
27018 cat confdefs.h
>>conftest.
$ac_ext
27019 cat >>conftest.
$ac_ext <<_ACEOF
27020 /* end confdefs.h. */
27022 /* Override any gcc2 internal prototype to avoid an error. */
27026 /* We use char because int might match the return type of a gcc2
27027 builtin and then its argument prototype would still apply. */
27028 char gethostbyname ();
27037 rm -f conftest.
$ac_objext conftest
$ac_exeext
27038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27039 (eval $ac_link) 2>conftest.er1
27041 grep -v '^ *+' conftest.er1
>conftest.err
27043 cat conftest.err
>&5
27044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27045 (exit $ac_status); } &&
27046 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27048 (eval $ac_try) 2>&5
27050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27051 (exit $ac_status); }; } &&
27052 { ac_try
='test -s conftest$ac_exeext'
27053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27054 (eval $ac_try) 2>&5
27056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27057 (exit $ac_status); }; }; then
27058 ac_cv_lib_bsd_gethostbyname
=yes
27060 echo "$as_me: failed program was:" >&5
27061 sed 's/^/| /' conftest.
$ac_ext >&5
27063 ac_cv_lib_bsd_gethostbyname
=no
27065 rm -f conftest.err conftest.
$ac_objext \
27066 conftest
$ac_exeext conftest.
$ac_ext
27067 LIBS
=$ac_check_lib_save_LIBS
27069 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
27070 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
27071 if test $ac_cv_lib_bsd_gethostbyname = yes; then
27072 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
27078 # lieder@skyler.mavd.honeywell.com says without -lsocket,
27079 # socket/setsockopt and other routines are undefined under SCO ODT
27080 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
27081 # on later versions), says Simon Leinen: it contains gethostby*
27082 # variants that don't use the name server (or something). -lsocket
27083 # must be given before -lnsl if both are needed. We assume that
27084 # if connect needs -lnsl, so does gethostbyname.
27085 echo "$as_me:$LINENO: checking for connect" >&5
27086 echo $ECHO_N "checking for connect... $ECHO_C" >&6
27087 if test "${ac_cv_func_connect+set}" = set; then
27088 echo $ECHO_N "(cached) $ECHO_C" >&6
27090 cat >conftest.
$ac_ext <<_ACEOF
27093 cat confdefs.h
>>conftest.
$ac_ext
27094 cat >>conftest.
$ac_ext <<_ACEOF
27095 /* end confdefs.h. */
27096 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
27097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27098 #define connect innocuous_connect
27100 /* System header to define __stub macros and hopefully few prototypes,
27101 which can conflict with char connect (); below.
27102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27103 <limits.h> exists even on freestanding compilers. */
27106 # include <limits.h>
27108 # include <assert.h>
27113 /* Override any gcc2 internal prototype to avoid an error. */
27118 /* We use char because int might match the return type of a gcc2
27119 builtin and then its argument prototype would still apply. */
27121 /* The GNU C library defines this for functions which it implements
27122 to always fail with ENOSYS. Some functions are actually named
27123 something starting with __ and the normal name is an alias. */
27124 #if defined (__stub_connect) || defined (__stub___connect)
27127 char (*f) () = connect;
27136 return f != connect;
27141 rm -f conftest.
$ac_objext conftest
$ac_exeext
27142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27143 (eval $ac_link) 2>conftest.er1
27145 grep -v '^ *+' conftest.er1
>conftest.err
27147 cat conftest.err
>&5
27148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27149 (exit $ac_status); } &&
27150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27152 (eval $ac_try) 2>&5
27154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27155 (exit $ac_status); }; } &&
27156 { ac_try
='test -s conftest$ac_exeext'
27157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27158 (eval $ac_try) 2>&5
27160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27161 (exit $ac_status); }; }; then
27162 ac_cv_func_connect
=yes
27164 echo "$as_me: failed program was:" >&5
27165 sed 's/^/| /' conftest.
$ac_ext >&5
27167 ac_cv_func_connect
=no
27169 rm -f conftest.err conftest.
$ac_objext \
27170 conftest
$ac_exeext conftest.
$ac_ext
27172 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
27173 echo "${ECHO_T}$ac_cv_func_connect" >&6
27175 if test $ac_cv_func_connect = no
; then
27176 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
27177 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
27178 if test "${ac_cv_lib_socket_connect+set}" = set; then
27179 echo $ECHO_N "(cached) $ECHO_C" >&6
27181 ac_check_lib_save_LIBS
=$LIBS
27182 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
27183 cat >conftest.
$ac_ext <<_ACEOF
27186 cat confdefs.h
>>conftest.
$ac_ext
27187 cat >>conftest.
$ac_ext <<_ACEOF
27188 /* end confdefs.h. */
27190 /* Override any gcc2 internal prototype to avoid an error. */
27194 /* We use char because int might match the return type of a gcc2
27195 builtin and then its argument prototype would still apply. */
27205 rm -f conftest.
$ac_objext conftest
$ac_exeext
27206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27207 (eval $ac_link) 2>conftest.er1
27209 grep -v '^ *+' conftest.er1
>conftest.err
27211 cat conftest.err
>&5
27212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27213 (exit $ac_status); } &&
27214 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27216 (eval $ac_try) 2>&5
27218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27219 (exit $ac_status); }; } &&
27220 { ac_try
='test -s conftest$ac_exeext'
27221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27222 (eval $ac_try) 2>&5
27224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27225 (exit $ac_status); }; }; then
27226 ac_cv_lib_socket_connect
=yes
27228 echo "$as_me: failed program was:" >&5
27229 sed 's/^/| /' conftest.
$ac_ext >&5
27231 ac_cv_lib_socket_connect
=no
27233 rm -f conftest.err conftest.
$ac_objext \
27234 conftest
$ac_exeext conftest.
$ac_ext
27235 LIBS
=$ac_check_lib_save_LIBS
27237 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
27238 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
27239 if test $ac_cv_lib_socket_connect = yes; then
27240 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
27245 # Guillermo Gomez says -lposix is necessary on A/UX.
27246 echo "$as_me:$LINENO: checking for remove" >&5
27247 echo $ECHO_N "checking for remove... $ECHO_C" >&6
27248 if test "${ac_cv_func_remove+set}" = set; then
27249 echo $ECHO_N "(cached) $ECHO_C" >&6
27251 cat >conftest.
$ac_ext <<_ACEOF
27254 cat confdefs.h
>>conftest.
$ac_ext
27255 cat >>conftest.
$ac_ext <<_ACEOF
27256 /* end confdefs.h. */
27257 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
27258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27259 #define remove innocuous_remove
27261 /* System header to define __stub macros and hopefully few prototypes,
27262 which can conflict with char remove (); below.
27263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27264 <limits.h> exists even on freestanding compilers. */
27267 # include <limits.h>
27269 # include <assert.h>
27274 /* Override any gcc2 internal prototype to avoid an error. */
27279 /* We use char because int might match the return type of a gcc2
27280 builtin and then its argument prototype would still apply. */
27282 /* The GNU C library defines this for functions which it implements
27283 to always fail with ENOSYS. Some functions are actually named
27284 something starting with __ and the normal name is an alias. */
27285 #if defined (__stub_remove) || defined (__stub___remove)
27288 char (*f) () = remove;
27297 return f != remove;
27302 rm -f conftest.
$ac_objext conftest
$ac_exeext
27303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27304 (eval $ac_link) 2>conftest.er1
27306 grep -v '^ *+' conftest.er1
>conftest.err
27308 cat conftest.err
>&5
27309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27310 (exit $ac_status); } &&
27311 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27313 (eval $ac_try) 2>&5
27315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27316 (exit $ac_status); }; } &&
27317 { ac_try
='test -s conftest$ac_exeext'
27318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27319 (eval $ac_try) 2>&5
27321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27322 (exit $ac_status); }; }; then
27323 ac_cv_func_remove
=yes
27325 echo "$as_me: failed program was:" >&5
27326 sed 's/^/| /' conftest.
$ac_ext >&5
27328 ac_cv_func_remove
=no
27330 rm -f conftest.err conftest.
$ac_objext \
27331 conftest
$ac_exeext conftest.
$ac_ext
27333 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
27334 echo "${ECHO_T}$ac_cv_func_remove" >&6
27336 if test $ac_cv_func_remove = no
; then
27337 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
27338 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
27339 if test "${ac_cv_lib_posix_remove+set}" = set; then
27340 echo $ECHO_N "(cached) $ECHO_C" >&6
27342 ac_check_lib_save_LIBS
=$LIBS
27343 LIBS
="-lposix $LIBS"
27344 cat >conftest.
$ac_ext <<_ACEOF
27347 cat confdefs.h
>>conftest.
$ac_ext
27348 cat >>conftest.
$ac_ext <<_ACEOF
27349 /* end confdefs.h. */
27351 /* Override any gcc2 internal prototype to avoid an error. */
27355 /* We use char because int might match the return type of a gcc2
27356 builtin and then its argument prototype would still apply. */
27366 rm -f conftest.
$ac_objext conftest
$ac_exeext
27367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27368 (eval $ac_link) 2>conftest.er1
27370 grep -v '^ *+' conftest.er1
>conftest.err
27372 cat conftest.err
>&5
27373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27374 (exit $ac_status); } &&
27375 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27377 (eval $ac_try) 2>&5
27379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27380 (exit $ac_status); }; } &&
27381 { ac_try
='test -s conftest$ac_exeext'
27382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27383 (eval $ac_try) 2>&5
27385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27386 (exit $ac_status); }; }; then
27387 ac_cv_lib_posix_remove
=yes
27389 echo "$as_me: failed program was:" >&5
27390 sed 's/^/| /' conftest.
$ac_ext >&5
27392 ac_cv_lib_posix_remove
=no
27394 rm -f conftest.err conftest.
$ac_objext \
27395 conftest
$ac_exeext conftest.
$ac_ext
27396 LIBS
=$ac_check_lib_save_LIBS
27398 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
27399 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
27400 if test $ac_cv_lib_posix_remove = yes; then
27401 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
27406 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27407 echo "$as_me:$LINENO: checking for shmat" >&5
27408 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
27409 if test "${ac_cv_func_shmat+set}" = set; then
27410 echo $ECHO_N "(cached) $ECHO_C" >&6
27412 cat >conftest.
$ac_ext <<_ACEOF
27415 cat confdefs.h
>>conftest.
$ac_ext
27416 cat >>conftest.
$ac_ext <<_ACEOF
27417 /* end confdefs.h. */
27418 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
27419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27420 #define shmat innocuous_shmat
27422 /* System header to define __stub macros and hopefully few prototypes,
27423 which can conflict with char shmat (); below.
27424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27425 <limits.h> exists even on freestanding compilers. */
27428 # include <limits.h>
27430 # include <assert.h>
27435 /* Override any gcc2 internal prototype to avoid an error. */
27440 /* We use char because int might match the return type of a gcc2
27441 builtin and then its argument prototype would still apply. */
27443 /* The GNU C library defines this for functions which it implements
27444 to always fail with ENOSYS. Some functions are actually named
27445 something starting with __ and the normal name is an alias. */
27446 #if defined (__stub_shmat) || defined (__stub___shmat)
27449 char (*f) () = shmat;
27463 rm -f conftest.
$ac_objext conftest
$ac_exeext
27464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27465 (eval $ac_link) 2>conftest.er1
27467 grep -v '^ *+' conftest.er1
>conftest.err
27469 cat conftest.err
>&5
27470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27471 (exit $ac_status); } &&
27472 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27474 (eval $ac_try) 2>&5
27476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27477 (exit $ac_status); }; } &&
27478 { ac_try
='test -s conftest$ac_exeext'
27479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27480 (eval $ac_try) 2>&5
27482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27483 (exit $ac_status); }; }; then
27484 ac_cv_func_shmat
=yes
27486 echo "$as_me: failed program was:" >&5
27487 sed 's/^/| /' conftest.
$ac_ext >&5
27489 ac_cv_func_shmat
=no
27491 rm -f conftest.err conftest.
$ac_objext \
27492 conftest
$ac_exeext conftest.
$ac_ext
27494 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
27495 echo "${ECHO_T}$ac_cv_func_shmat" >&6
27497 if test $ac_cv_func_shmat = no
; then
27498 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27499 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27500 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27501 echo $ECHO_N "(cached) $ECHO_C" >&6
27503 ac_check_lib_save_LIBS
=$LIBS
27505 cat >conftest.
$ac_ext <<_ACEOF
27508 cat confdefs.h
>>conftest.
$ac_ext
27509 cat >>conftest.
$ac_ext <<_ACEOF
27510 /* end confdefs.h. */
27512 /* Override any gcc2 internal prototype to avoid an error. */
27516 /* We use char because int might match the return type of a gcc2
27517 builtin and then its argument prototype would still apply. */
27527 rm -f conftest.
$ac_objext conftest
$ac_exeext
27528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27529 (eval $ac_link) 2>conftest.er1
27531 grep -v '^ *+' conftest.er1
>conftest.err
27533 cat conftest.err
>&5
27534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27535 (exit $ac_status); } &&
27536 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27538 (eval $ac_try) 2>&5
27540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27541 (exit $ac_status); }; } &&
27542 { ac_try
='test -s conftest$ac_exeext'
27543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27544 (eval $ac_try) 2>&5
27546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27547 (exit $ac_status); }; }; then
27548 ac_cv_lib_ipc_shmat
=yes
27550 echo "$as_me: failed program was:" >&5
27551 sed 's/^/| /' conftest.
$ac_ext >&5
27553 ac_cv_lib_ipc_shmat
=no
27555 rm -f conftest.err conftest.
$ac_objext \
27556 conftest
$ac_exeext conftest.
$ac_ext
27557 LIBS
=$ac_check_lib_save_LIBS
27559 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27560 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
27561 if test $ac_cv_lib_ipc_shmat = yes; then
27562 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
27568 # Check for libraries that X11R6 Xt/Xaw programs need.
27569 ac_save_LDFLAGS
=$LDFLAGS
27570 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
27571 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27572 # check for ICE first), but we must link in the order -lSM -lICE or
27573 # we get undefined symbols. So assume we have SM if we have ICE.
27574 # These have to be linked with before -lX11, unlike the other
27575 # libraries we check for below, so use a different variable.
27576 # John Interrante, Karl Berry
27577 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27578 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27579 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27580 echo $ECHO_N "(cached) $ECHO_C" >&6
27582 ac_check_lib_save_LIBS
=$LIBS
27583 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
27584 cat >conftest.
$ac_ext <<_ACEOF
27587 cat confdefs.h
>>conftest.
$ac_ext
27588 cat >>conftest.
$ac_ext <<_ACEOF
27589 /* end confdefs.h. */
27591 /* Override any gcc2 internal prototype to avoid an error. */
27595 /* We use char because int might match the return type of a gcc2
27596 builtin and then its argument prototype would still apply. */
27597 char IceConnectionNumber ();
27601 IceConnectionNumber ();
27606 rm -f conftest.
$ac_objext conftest
$ac_exeext
27607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27608 (eval $ac_link) 2>conftest.er1
27610 grep -v '^ *+' conftest.er1
>conftest.err
27612 cat conftest.err
>&5
27613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614 (exit $ac_status); } &&
27615 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27617 (eval $ac_try) 2>&5
27619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27620 (exit $ac_status); }; } &&
27621 { ac_try
='test -s conftest$ac_exeext'
27622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27623 (eval $ac_try) 2>&5
27625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27626 (exit $ac_status); }; }; then
27627 ac_cv_lib_ICE_IceConnectionNumber
=yes
27629 echo "$as_me: failed program was:" >&5
27630 sed 's/^/| /' conftest.
$ac_ext >&5
27632 ac_cv_lib_ICE_IceConnectionNumber
=no
27634 rm -f conftest.err conftest.
$ac_objext \
27635 conftest
$ac_exeext conftest.
$ac_ext
27636 LIBS
=$ac_check_lib_save_LIBS
27638 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27639 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27640 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27641 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
27644 LDFLAGS
=$ac_save_LDFLAGS
27649 if test "$no_x" = "yes"; then
27650 { { echo "$as_me:$LINENO: error: X11 not found" >&5
27651 echo "$as_me: error: X11 not found" >&2;}
27652 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
27655 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
27656 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
27657 AFMINSTALL
=afminstall
27658 COMPILED_X_PROGRAM
=0
27662 if test "$wxUSE_X11" = 1; then
27663 if test "$wxUSE_NANOX" = "yes"; then
27664 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27665 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27666 if test "x$MICROWIN" = x
; then
27667 echo "$as_me:$LINENO: result: not found" >&5
27668 echo "${ECHO_T}not found" >&6
27669 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27670 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27671 { (exit 1); exit 1; }; }
27673 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27674 echo "${ECHO_T}$MICROWIN" >&6
27675 cat >>confdefs.h
<<\_ACEOF
27676 #define wxUSE_NANOX 1
27682 if test "$wxUSE_UNICODE" = "yes"; then
27686 if test -z "$PKG_CONFIG"; then
27687 # Extract the first word of "pkg-config", so it can be a program name with args.
27688 set dummy pkg
-config; ac_word
=$2
27689 echo "$as_me:$LINENO: checking for $ac_word" >&5
27690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27691 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27692 echo $ECHO_N "(cached) $ECHO_C" >&6
27694 case $PKG_CONFIG in
27696 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27700 for as_dir
in $PATH
27703 test -z "$as_dir" && as_dir
=.
27704 for ac_exec_ext
in '' $ac_executable_extensions; do
27705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27706 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27713 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27717 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27719 if test -n "$PKG_CONFIG"; then
27720 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27721 echo "${ECHO_T}$PKG_CONFIG" >&6
27723 echo "$as_me:$LINENO: result: no" >&5
27724 echo "${ECHO_T}no" >&6
27729 if test "$PKG_CONFIG" = "no" ; then
27730 echo "*** The pkg-config script could not be found. Make sure it is"
27731 echo "*** in your path, or set the PKG_CONFIG environment variable"
27732 echo "*** to the full path to pkg-config."
27733 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27735 PKG_CONFIG_MIN_VERSION
=0.9.0
27736 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27737 echo "$as_me:$LINENO: checking for pangox" >&5
27738 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27740 if $PKG_CONFIG --exists "pangox" ; then
27741 echo "$as_me:$LINENO: result: yes" >&5
27742 echo "${ECHO_T}yes" >&6
27745 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27746 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27747 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
27748 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27749 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27751 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27752 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27753 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
27754 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27755 echo "${ECHO_T}$PANGOX_LIBS" >&6
27759 ## If we have a custom action on failure, don't print errors, but
27760 ## do set a variable so people can do so.
27761 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27768 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27769 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27773 if test $succeeded = yes; then
27775 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
27776 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
27780 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27781 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27782 { (exit 1); exit 1; }; }
27790 if test -z "$PKG_CONFIG"; then
27791 # Extract the first word of "pkg-config", so it can be a program name with args.
27792 set dummy pkg
-config; ac_word
=$2
27793 echo "$as_me:$LINENO: checking for $ac_word" >&5
27794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27795 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27796 echo $ECHO_N "(cached) $ECHO_C" >&6
27798 case $PKG_CONFIG in
27800 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27804 for as_dir
in $PATH
27807 test -z "$as_dir" && as_dir
=.
27808 for ac_exec_ext
in '' $ac_executable_extensions; do
27809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27810 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27817 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27821 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27823 if test -n "$PKG_CONFIG"; then
27824 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27825 echo "${ECHO_T}$PKG_CONFIG" >&6
27827 echo "$as_me:$LINENO: result: no" >&5
27828 echo "${ECHO_T}no" >&6
27833 if test "$PKG_CONFIG" = "no" ; then
27834 echo "*** The pkg-config script could not be found. Make sure it is"
27835 echo "*** in your path, or set the PKG_CONFIG environment variable"
27836 echo "*** to the full path to pkg-config."
27837 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27839 PKG_CONFIG_MIN_VERSION
=0.9.0
27840 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27841 echo "$as_me:$LINENO: checking for pangoft2" >&5
27842 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27844 if $PKG_CONFIG --exists "pangoft2" ; then
27845 echo "$as_me:$LINENO: result: yes" >&5
27846 echo "${ECHO_T}yes" >&6
27849 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27850 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27851 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
27852 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27853 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27855 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27856 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27857 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
27858 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27859 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27863 ## If we have a custom action on failure, don't print errors, but
27864 ## do set a variable so people can do so.
27865 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27872 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27873 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27877 if test $succeeded = yes; then
27879 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
27880 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27884 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27885 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27886 wxUSE_PRINTING_ARCHITECTURE
="no"
27894 if test -z "$PKG_CONFIG"; then
27895 # Extract the first word of "pkg-config", so it can be a program name with args.
27896 set dummy pkg
-config; ac_word
=$2
27897 echo "$as_me:$LINENO: checking for $ac_word" >&5
27898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27899 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27900 echo $ECHO_N "(cached) $ECHO_C" >&6
27902 case $PKG_CONFIG in
27904 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27908 for as_dir
in $PATH
27911 test -z "$as_dir" && as_dir
=.
27912 for ac_exec_ext
in '' $ac_executable_extensions; do
27913 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27914 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27921 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27925 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27927 if test -n "$PKG_CONFIG"; then
27928 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27929 echo "${ECHO_T}$PKG_CONFIG" >&6
27931 echo "$as_me:$LINENO: result: no" >&5
27932 echo "${ECHO_T}no" >&6
27937 if test "$PKG_CONFIG" = "no" ; then
27938 echo "*** The pkg-config script could not be found. Make sure it is"
27939 echo "*** in your path, or set the PKG_CONFIG environment variable"
27940 echo "*** to the full path to pkg-config."
27941 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27943 PKG_CONFIG_MIN_VERSION
=0.9.0
27944 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27945 echo "$as_me:$LINENO: checking for pangoxft" >&5
27946 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27948 if $PKG_CONFIG --exists "pangoxft" ; then
27949 echo "$as_me:$LINENO: result: yes" >&5
27950 echo "${ECHO_T}yes" >&6
27953 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27954 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27955 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
27956 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27957 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27959 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27960 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27961 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
27962 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27963 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27967 ## If we have a custom action on failure, don't print errors, but
27968 ## do set a variable so people can do so.
27969 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27976 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27977 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27981 if test $succeeded = yes; then
27983 cat >>confdefs.h
<<\_ACEOF
27984 #define HAVE_PANGO_XFT 1
27987 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
27988 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27992 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27993 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27998 save_CFLAGS
="$CFLAGS"
28000 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
28001 LIBS
="$LIBS $PANGOX_LIBS"
28003 for ac_func
in pango_font_family_is_monospace
28005 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28006 echo "$as_me:$LINENO: checking for $ac_func" >&5
28007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28008 if eval "test \"\${$as_ac_var+set}\" = set"; then
28009 echo $ECHO_N "(cached) $ECHO_C" >&6
28011 cat >conftest.
$ac_ext <<_ACEOF
28014 cat confdefs.h
>>conftest.
$ac_ext
28015 cat >>conftest.
$ac_ext <<_ACEOF
28016 /* end confdefs.h. */
28017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28019 #define $ac_func innocuous_$ac_func
28021 /* System header to define __stub macros and hopefully few prototypes,
28022 which can conflict with char $ac_func (); below.
28023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28024 <limits.h> exists even on freestanding compilers. */
28027 # include <limits.h>
28029 # include <assert.h>
28034 /* Override any gcc2 internal prototype to avoid an error. */
28039 /* We use char because int might match the return type of a gcc2
28040 builtin and then its argument prototype would still apply. */
28042 /* The GNU C library defines this for functions which it implements
28043 to always fail with ENOSYS. Some functions are actually named
28044 something starting with __ and the normal name is an alias. */
28045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28048 char (*f) () = $ac_func;
28057 return f != $ac_func;
28062 rm -f conftest.
$ac_objext conftest
$ac_exeext
28063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28064 (eval $ac_link) 2>conftest.er1
28066 grep -v '^ *+' conftest.er1
>conftest.err
28068 cat conftest.err
>&5
28069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28070 (exit $ac_status); } &&
28071 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28073 (eval $ac_try) 2>&5
28075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28076 (exit $ac_status); }; } &&
28077 { ac_try
='test -s conftest$ac_exeext'
28078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28079 (eval $ac_try) 2>&5
28081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28082 (exit $ac_status); }; }; then
28083 eval "$as_ac_var=yes"
28085 echo "$as_me: failed program was:" >&5
28086 sed 's/^/| /' conftest.
$ac_ext >&5
28088 eval "$as_ac_var=no"
28090 rm -f conftest.err conftest.
$ac_objext \
28091 conftest
$ac_exeext conftest.
$ac_ext
28093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28095 if test `eval echo '${'$as_ac_var'}'` = yes; then
28096 cat >>confdefs.h
<<_ACEOF
28097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28103 CFLAGS
="$save_CFLAGS"
28107 wxUSE_UNIVERSAL
="yes"
28109 if test "$wxUSE_NANOX" = "yes"; then
28110 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
28111 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"
28112 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
28114 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
28121 if test "$wxUSE_MOTIF" = 1; then
28122 if test "$wxUSE_UNICODE" = "yes"; then
28123 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
28124 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
28125 { (exit 1); exit 1; }; }
28128 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
28129 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
28132 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
28134 if test -f "$ac_dir/Xm/Xm.h"; then
28135 ac_find_includes
=$ac_dir
28140 if test "$ac_find_includes" != "" ; then
28141 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28142 echo "${ECHO_T}found in $ac_find_includes" >&6
28144 if test "x$ac_find_includes" = "x/usr/include"; then
28145 ac_path_to_include
=""
28147 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
28149 if test $result = 0; then
28150 ac_path_to_include
=""
28152 ac_path_to_include
=" -I$ac_find_includes"
28156 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
28158 save_CFLAGS
=$CFLAGS
28159 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28161 cat >conftest.
$ac_ext <<_ACEOF
28164 cat confdefs.h
>>conftest.
$ac_ext
28165 cat >>conftest.
$ac_ext <<_ACEOF
28166 /* end confdefs.h. */
28175 version = xmUseVersion;
28181 rm -f conftest.
$ac_objext
28182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28183 (eval $ac_compile) 2>conftest.er1
28185 grep -v '^ *+' conftest.er1
>conftest.err
28187 cat conftest.err
>&5
28188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28189 (exit $ac_status); } &&
28190 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28192 (eval $ac_try) 2>&5
28194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28195 (exit $ac_status); }; } &&
28196 { ac_try
='test -s conftest.$ac_objext'
28197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28198 (eval $ac_try) 2>&5
28200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28201 (exit $ac_status); }; }; then
28203 echo "$as_me:$LINENO: result: found in default search path" >&5
28204 echo "${ECHO_T}found in default search path" >&6
28205 COMPILED_X_PROGRAM
=1
28208 echo "$as_me: failed program was:" >&5
28209 sed 's/^/| /' conftest.
$ac_ext >&5
28212 echo "$as_me:$LINENO: result: no" >&5
28213 echo "${ECHO_T}no" >&6
28214 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
28215 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
28216 { (exit 1); exit 1; }; }
28220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28222 CFLAGS
=$save_CFLAGS
28225 if test "$COMPILED_X_PROGRAM" = 0; then
28226 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
28227 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
28230 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28232 for ac_extension
in a so sl dylib dll.a
; do
28233 if test -f "$ac_dir/libXm.$ac_extension"; then
28234 ac_find_libraries
=$ac_dir
28240 if test "$ac_find_libraries" != "" ; then
28241 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28242 echo "${ECHO_T}found at $ac_find_libraries" >&6
28245 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28247 if test $result = 0; then
28250 ac_path_to_link
=" -L$ac_find_libraries"
28253 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
28255 save_CFLAGS
=$CFLAGS
28256 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28258 cat >conftest.
$ac_ext <<_ACEOF
28261 cat confdefs.h
>>conftest.
$ac_ext
28262 cat >>conftest.
$ac_ext <<_ACEOF
28263 /* end confdefs.h. */
28272 version = xmUseVersion;
28278 rm -f conftest.
$ac_objext
28279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28280 (eval $ac_compile) 2>conftest.er1
28282 grep -v '^ *+' conftest.er1
>conftest.err
28284 cat conftest.err
>&5
28285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28286 (exit $ac_status); } &&
28287 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28289 (eval $ac_try) 2>&5
28291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28292 (exit $ac_status); }; } &&
28293 { ac_try
='test -s conftest.$ac_objext'
28294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28295 (eval $ac_try) 2>&5
28297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28298 (exit $ac_status); }; }; then
28300 echo "$as_me:$LINENO: result: found in default search path" >&5
28301 echo "${ECHO_T}found in default search path" >&6
28302 COMPILED_X_PROGRAM
=1
28305 echo "$as_me: failed program was:" >&5
28306 sed 's/^/| /' conftest.
$ac_ext >&5
28309 echo "$as_me:$LINENO: result: no" >&5
28310 echo "${ECHO_T}no" >&6
28311 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
28312 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
28313 { (exit 1); exit 1; }; }
28317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28319 CFLAGS
=$save_CFLAGS
28323 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
28324 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
28328 for libp
in "" " -lXp"; do
28329 if test "$libs_found" = "0"; then
28330 for libsm_ice
in "" " -lSM -lICE"; do
28331 if test "$libs_found" = "0"; then
28333 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
28334 save_CFLAGS
=$CFLAGS
28335 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28337 cat >conftest.
$ac_ext <<_ACEOF
28340 cat confdefs.h
>>conftest.
$ac_ext
28341 cat >>conftest.
$ac_ext <<_ACEOF
28342 /* end confdefs.h. */
28345 #include <Xm/List.h>
28351 XmString string = NULL;
28354 XmListAddItem(w, string, position);
28360 rm -f conftest.
$ac_objext conftest
$ac_exeext
28361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28362 (eval $ac_link) 2>conftest.er1
28364 grep -v '^ *+' conftest.er1
>conftest.err
28366 cat conftest.err
>&5
28367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28368 (exit $ac_status); } &&
28369 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28371 (eval $ac_try) 2>&5
28373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28374 (exit $ac_status); }; } &&
28375 { ac_try
='test -s conftest$ac_exeext'
28376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28377 (eval $ac_try) 2>&5
28379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28380 (exit $ac_status); }; }; then
28383 libsm_ice_link
="$libsm_ice"
28384 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
28385 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
28389 echo "$as_me: failed program was:" >&5
28390 sed 's/^/| /' conftest.
$ac_ext >&5
28395 rm -f conftest.err conftest.
$ac_objext \
28396 conftest
$ac_exeext conftest.
$ac_ext
28399 CFLAGS
=$save_CFLAGS
28405 if test "$libs_found" = "0"; then
28406 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
28407 echo "${ECHO_T}can't find the right libraries" >&6
28408 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
28409 echo "$as_me: error: can't link a simple motif program" >&2;}
28410 { (exit 1); exit 1; }; }
28413 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
28414 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
28415 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
28416 echo $ECHO_N "(cached) $ECHO_C" >&6
28418 ac_check_lib_save_LIBS
=$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 SgCreateList ();
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_Sgm_SgCreateList
=yes
28465 echo "$as_me: failed program was:" >&5
28466 sed 's/^/| /' conftest.
$ac_ext >&5
28468 ac_cv_lib_Sgm_SgCreateList
=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_Sgm_SgCreateList" >&5
28475 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
28476 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
28477 libsgm_link
=" -lSgm"
28481 save_CFLAGS
=$CFLAGS
28482 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28483 echo "$as_me:$LINENO: checking for Motif 2" >&5
28484 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
28485 cat >conftest.
$ac_ext <<_ACEOF
28488 cat confdefs.h
>>conftest.
$ac_ext
28489 cat >>conftest.
$ac_ext <<_ACEOF
28490 /* end confdefs.h. */
28498 #if XmVersion < 2000
28506 rm -f conftest.
$ac_objext
28507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28508 (eval $ac_compile) 2>conftest.er1
28510 grep -v '^ *+' conftest.er1
>conftest.err
28512 cat conftest.err
>&5
28513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28514 (exit $ac_status); } &&
28515 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28517 (eval $ac_try) 2>&5
28519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28520 (exit $ac_status); }; } &&
28521 { ac_try
='test -s conftest.$ac_objext'
28522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28523 (eval $ac_try) 2>&5
28525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28526 (exit $ac_status); }; }; then
28528 cat >>confdefs.h
<<\_ACEOF
28529 #define __WXMOTIF20__ 1
28532 echo "$as_me:$LINENO: result: found" >&5
28533 echo "${ECHO_T}found" >&6
28536 echo "$as_me: failed program was:" >&5
28537 sed 's/^/| /' conftest.
$ac_ext >&5
28540 cat >>confdefs.h
<<\_ACEOF
28541 #define __WXMOTIF20__ 0
28544 echo "$as_me:$LINENO: result: not found" >&5
28545 echo "${ECHO_T}not found" >&6
28548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28550 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
28551 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
28552 cat >conftest.
$ac_ext <<_ACEOF
28555 cat confdefs.h
>>conftest.
$ac_ext
28556 cat >>conftest.
$ac_ext <<_ACEOF
28557 /* end confdefs.h. */
28565 #if !defined(LesstifVersion) || LesstifVersion <= 0
28573 rm -f conftest.
$ac_objext
28574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28575 (eval $ac_compile) 2>conftest.er1
28577 grep -v '^ *+' conftest.er1
>conftest.err
28579 cat conftest.err
>&5
28580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28581 (exit $ac_status); } &&
28582 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28584 (eval $ac_try) 2>&5
28586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28587 (exit $ac_status); }; } &&
28588 { ac_try
='test -s conftest.$ac_objext'
28589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28590 (eval $ac_try) 2>&5
28592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28593 (exit $ac_status); }; }; then
28595 cat >>confdefs.h
<<\_ACEOF
28596 #define __WXLESSTIF__ 1
28599 echo "$as_me:$LINENO: result: yes" >&5
28600 echo "${ECHO_T}yes" >&6
28603 echo "$as_me: failed program was:" >&5
28604 sed 's/^/| /' conftest.
$ac_ext >&5
28607 cat >>confdefs.h
<<\_ACEOF
28608 #define __WXLESSTIF__ 0
28611 echo "$as_me:$LINENO: result: no" >&5
28612 echo "${ECHO_T}no" >&6
28615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28616 CFLAGS
=$save_CFLAGS
28618 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
28623 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28624 if test "$wxUSE_LIBXPM" = "sys"; then
28625 echo "$as_me:$LINENO: checking for Xpm library" >&5
28626 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
28629 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28631 for ac_extension
in a so sl dylib dll.a
; do
28632 if test -f "$ac_dir/libXpm.$ac_extension"; then
28633 ac_find_libraries
=$ac_dir
28639 if test "$ac_find_libraries" != "" ; then
28641 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28643 if test $result = 0; then
28646 ac_path_to_link
=" -L$ac_find_libraries"
28649 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
28650 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28651 echo "${ECHO_T}found at $ac_find_libraries" >&6
28653 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
28654 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
28655 if test "${wx_cv_x11_xpm_h+set}" = set; then
28656 echo $ECHO_N "(cached) $ECHO_C" >&6
28659 save_CFLAGS
=$CFLAGS
28660 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28662 cat >conftest.
$ac_ext <<_ACEOF
28665 cat confdefs.h
>>conftest.
$ac_ext
28666 cat >>conftest.
$ac_ext <<_ACEOF
28667 /* end confdefs.h. */
28669 #include <X11/xpm.h>
28676 version = XpmLibraryVersion();
28682 rm -f conftest.
$ac_objext
28683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28684 (eval $ac_compile) 2>conftest.er1
28686 grep -v '^ *+' conftest.er1
>conftest.err
28688 cat conftest.err
>&5
28689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28690 (exit $ac_status); } &&
28691 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28693 (eval $ac_try) 2>&5
28695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28696 (exit $ac_status); }; } &&
28697 { ac_try
='test -s conftest.$ac_objext'
28698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28699 (eval $ac_try) 2>&5
28701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28702 (exit $ac_status); }; }; then
28703 wx_cv_x11_xpm_h
=yes
28705 echo "$as_me: failed program was:" >&5
28706 sed 's/^/| /' conftest.
$ac_ext >&5
28711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28713 CFLAGS
=$save_CFLAGS
28717 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
28718 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
28720 if test $wx_cv_x11_xpm_h = "yes"; then
28721 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
28722 cat >>confdefs.h
<<\_ACEOF
28723 #define wxHAVE_LIB_XPM 1
28727 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
28728 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
28734 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
28735 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
28736 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
28737 echo $ECHO_N "(cached) $ECHO_C" >&6
28739 ac_check_lib_save_LIBS
=$LIBS
28740 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
28741 cat >conftest.
$ac_ext <<_ACEOF
28744 cat confdefs.h
>>conftest.
$ac_ext
28745 cat >>conftest.
$ac_ext <<_ACEOF
28746 /* end confdefs.h. */
28748 /* Override any gcc2 internal prototype to avoid an error. */
28752 /* We use char because int might match the return type of a gcc2
28753 builtin and then its argument prototype would still apply. */
28754 char XShapeQueryExtension ();
28758 XShapeQueryExtension ();
28763 rm -f conftest.
$ac_objext conftest
$ac_exeext
28764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28765 (eval $ac_link) 2>conftest.er1
28767 grep -v '^ *+' conftest.er1
>conftest.err
28769 cat conftest.err
>&5
28770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28771 (exit $ac_status); } &&
28772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28774 (eval $ac_try) 2>&5
28776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28777 (exit $ac_status); }; } &&
28778 { ac_try
='test -s conftest$ac_exeext'
28779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28780 (eval $ac_try) 2>&5
28782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28783 (exit $ac_status); }; }; then
28784 ac_cv_lib_Xext_XShapeQueryExtension
=yes
28786 echo "$as_me: failed program was:" >&5
28787 sed 's/^/| /' conftest.
$ac_ext >&5
28789 ac_cv_lib_Xext_XShapeQueryExtension
=no
28791 rm -f conftest.err conftest.
$ac_objext \
28792 conftest
$ac_exeext conftest.
$ac_ext
28793 LIBS
=$ac_check_lib_save_LIBS
28795 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
28796 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
28797 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
28799 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
28805 if test "$wxHAVE_XEXT_LIB" = 1; then
28806 save_CFLAGS
="$CFLAGS"
28807 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28809 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28810 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28811 cat >conftest.
$ac_ext <<_ACEOF
28814 cat confdefs.h
>>conftest.
$ac_ext
28815 cat >>conftest.
$ac_ext <<_ACEOF
28816 /* end confdefs.h. */
28818 #include <X11/Xlib.h>
28819 #include <X11/extensions/shape.h>
28825 int dummy1, dummy2;
28826 XShapeQueryExtension((Display*)NULL,
28827 (int*)NULL, (int*)NULL);
28833 rm -f conftest.
$ac_objext
28834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28835 (eval $ac_compile) 2>conftest.er1
28837 grep -v '^ *+' conftest.er1
>conftest.err
28839 cat conftest.err
>&5
28840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28841 (exit $ac_status); } &&
28842 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28844 (eval $ac_try) 2>&5
28846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28847 (exit $ac_status); }; } &&
28848 { ac_try
='test -s conftest.$ac_objext'
28849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28850 (eval $ac_try) 2>&5
28852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28853 (exit $ac_status); }; }; then
28855 cat >>confdefs.h
<<\_ACEOF
28856 #define HAVE_XSHAPE 1
28859 echo "$as_me:$LINENO: result: found" >&5
28860 echo "${ECHO_T}found" >&6
28863 echo "$as_me: failed program was:" >&5
28864 sed 's/^/| /' conftest.
$ac_ext >&5
28867 echo "$as_me:$LINENO: result: not found" >&5
28868 echo "${ECHO_T}not found" >&6
28871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28872 CFLAGS
="$save_CFLAGS"
28877 if test "$wxUSE_MAC" = 1; then
28878 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28879 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28880 if test "$GCC" = yes; then
28881 echo "$as_me:$LINENO: result: gcc" >&5
28882 echo "${ECHO_T}gcc" >&6
28883 CPPFLAGS_PASCAL
="-fpascal-strings"
28884 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28885 echo "$as_me:$LINENO: result: xlc" >&5
28886 echo "${ECHO_T}xlc" >&6
28887 CPPFLAGS_PASCAL
="-qmacpstr"
28889 echo "$as_me:$LINENO: result: none" >&5
28890 echo "${ECHO_T}none" >&6
28893 if test "x$wxUSE_UNIX" = "xyes"; then
28894 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28896 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28901 WXBASEPORT
="_carbon"
28904 if test "$wxUSE_COCOA" = 1; then
28909 if test "$wxUSE_PM" = 1; then
28912 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28913 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28914 if test "${wx_cv_spbcdata+set}" = set; then
28915 echo $ECHO_N "(cached) $ECHO_C" >&6
28918 cat >conftest.
$ac_ext <<_ACEOF
28921 cat confdefs.h
>>conftest.
$ac_ext
28922 cat >>conftest.
$ac_ext <<_ACEOF
28923 /* end confdefs.h. */
28938 rm -f conftest.
$ac_objext
28939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28940 (eval $ac_compile) 2>conftest.er1
28942 grep -v '^ *+' conftest.er1
>conftest.err
28944 cat conftest.err
>&5
28945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28946 (exit $ac_status); } &&
28947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28949 (eval $ac_try) 2>&5
28951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28952 (exit $ac_status); }; } &&
28953 { ac_try
='test -s conftest.$ac_objext'
28954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28955 (eval $ac_try) 2>&5
28957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28958 (exit $ac_status); }; }; then
28961 echo "$as_me: failed program was:" >&5
28962 sed 's/^/| /' conftest.
$ac_ext >&5
28967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28971 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28972 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28974 if test $wx_cv_spbcdata = "yes"; then
28975 cat >>confdefs.h
<<\_ACEOF
28976 #define HAVE_SPBCDATA 1
28982 if test "$TOOLKIT" = "PM" ; then
28985 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28988 if test "$wxUSE_UNIVERSAL" = "yes"; then
28989 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28993 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28994 DISTDIR
="wx\$(TOOLKIT)"
29000 if test "$USE_WIN32" = 1 ; then
29004 GUIDIST
="BASE_DIST"
29009 if test "$wxUSE_GUI" = "yes"; then
29010 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
29012 for ac_header
in X
11/Xlib.h
29014 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29016 echo "$as_me:$LINENO: checking for $ac_header" >&5
29017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29018 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29019 echo $ECHO_N "(cached) $ECHO_C" >&6
29021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29022 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29024 # Is the header compilable?
29025 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29026 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29027 cat >conftest.
$ac_ext <<_ACEOF
29030 cat confdefs.h
>>conftest.
$ac_ext
29031 cat >>conftest.
$ac_ext <<_ACEOF
29032 /* end confdefs.h. */
29033 $ac_includes_default
29034 #include <$ac_header>
29036 rm -f conftest.
$ac_objext
29037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29038 (eval $ac_compile) 2>conftest.er1
29040 grep -v '^ *+' conftest.er1
>conftest.err
29042 cat conftest.err
>&5
29043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29044 (exit $ac_status); } &&
29045 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29047 (eval $ac_try) 2>&5
29049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29050 (exit $ac_status); }; } &&
29051 { ac_try
='test -s conftest.$ac_objext'
29052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29053 (eval $ac_try) 2>&5
29055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29056 (exit $ac_status); }; }; then
29057 ac_header_compiler
=yes
29059 echo "$as_me: failed program was:" >&5
29060 sed 's/^/| /' conftest.
$ac_ext >&5
29062 ac_header_compiler
=no
29064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29065 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29066 echo "${ECHO_T}$ac_header_compiler" >&6
29068 # Is the header present?
29069 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29070 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29071 cat >conftest.
$ac_ext <<_ACEOF
29074 cat confdefs.h
>>conftest.
$ac_ext
29075 cat >>conftest.
$ac_ext <<_ACEOF
29076 /* end confdefs.h. */
29077 #include <$ac_header>
29079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29080 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29082 grep -v '^ *+' conftest.er1
>conftest.err
29084 cat conftest.err
>&5
29085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29086 (exit $ac_status); } >/dev
/null
; then
29087 if test -s conftest.err
; then
29088 ac_cpp_err
=$ac_c_preproc_warn_flag
29089 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29096 if test -z "$ac_cpp_err"; then
29097 ac_header_preproc
=yes
29099 echo "$as_me: failed program was:" >&5
29100 sed 's/^/| /' conftest.
$ac_ext >&5
29102 ac_header_preproc
=no
29104 rm -f conftest.err conftest.
$ac_ext
29105 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29106 echo "${ECHO_T}$ac_header_preproc" >&6
29108 # So? What about this header?
29109 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29111 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29112 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29113 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29114 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29115 ac_header_preproc
=yes
29118 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29119 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29120 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29121 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29122 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29123 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29124 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29125 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29126 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29127 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29128 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29129 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29132 ## ----------------------------------------- ##
29133 ## Report this to wx-dev@lists.wxwidgets.org ##
29134 ## ----------------------------------------- ##
29137 sed "s/^/$as_me: WARNING: /" >&2
29140 echo "$as_me:$LINENO: checking for $ac_header" >&5
29141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29143 echo $ECHO_N "(cached) $ECHO_C" >&6
29145 eval "$as_ac_Header=\$ac_header_preproc"
29147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29148 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29151 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29152 cat >>confdefs.h
<<_ACEOF
29153 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29161 for ac_header
in X
11/XKBlib.h
29163 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29164 echo "$as_me:$LINENO: checking for $ac_header" >&5
29165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29167 echo $ECHO_N "(cached) $ECHO_C" >&6
29169 cat >conftest.
$ac_ext <<_ACEOF
29172 cat confdefs.h
>>conftest.
$ac_ext
29173 cat >>conftest.
$ac_ext <<_ACEOF
29174 /* end confdefs.h. */
29176 #if HAVE_X11_XLIB_H
29177 #include <X11/Xlib.h>
29181 #include <$ac_header>
29183 rm -f conftest.
$ac_objext
29184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29185 (eval $ac_compile) 2>conftest.er1
29187 grep -v '^ *+' conftest.er1
>conftest.err
29189 cat conftest.err
>&5
29190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29191 (exit $ac_status); } &&
29192 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29194 (eval $ac_try) 2>&5
29196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29197 (exit $ac_status); }; } &&
29198 { ac_try
='test -s conftest.$ac_objext'
29199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29200 (eval $ac_try) 2>&5
29202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29203 (exit $ac_status); }; }; then
29204 eval "$as_ac_Header=yes"
29206 echo "$as_me: failed program was:" >&5
29207 sed 's/^/| /' conftest.
$ac_ext >&5
29209 eval "$as_ac_Header=no"
29211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29214 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29215 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29216 cat >>confdefs.h
<<_ACEOF
29217 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29232 if test "$TOOLKIT" != "MSW" ; then
29234 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
29236 if test "${ac_cv_header_sql_h+set}" = set; then
29237 echo "$as_me:$LINENO: checking for sql.h" >&5
29238 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
29239 if test "${ac_cv_header_sql_h+set}" = set; then
29240 echo $ECHO_N "(cached) $ECHO_C" >&6
29242 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
29243 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
29245 # Is the header compilable?
29246 echo "$as_me:$LINENO: checking sql.h usability" >&5
29247 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
29248 cat >conftest.
$ac_ext <<_ACEOF
29251 cat confdefs.h
>>conftest.
$ac_ext
29252 cat >>conftest.
$ac_ext <<_ACEOF
29253 /* end confdefs.h. */
29254 $ac_includes_default
29257 rm -f conftest.
$ac_objext
29258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29259 (eval $ac_compile) 2>conftest.er1
29261 grep -v '^ *+' conftest.er1
>conftest.err
29263 cat conftest.err
>&5
29264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29265 (exit $ac_status); } &&
29266 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29268 (eval $ac_try) 2>&5
29270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29271 (exit $ac_status); }; } &&
29272 { ac_try
='test -s conftest.$ac_objext'
29273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29274 (eval $ac_try) 2>&5
29276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29277 (exit $ac_status); }; }; then
29278 ac_header_compiler
=yes
29280 echo "$as_me: failed program was:" >&5
29281 sed 's/^/| /' conftest.
$ac_ext >&5
29283 ac_header_compiler
=no
29285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29286 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29287 echo "${ECHO_T}$ac_header_compiler" >&6
29289 # Is the header present?
29290 echo "$as_me:$LINENO: checking sql.h presence" >&5
29291 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
29292 cat >conftest.
$ac_ext <<_ACEOF
29295 cat confdefs.h
>>conftest.
$ac_ext
29296 cat >>conftest.
$ac_ext <<_ACEOF
29297 /* end confdefs.h. */
29300 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29301 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29303 grep -v '^ *+' conftest.er1
>conftest.err
29305 cat conftest.err
>&5
29306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29307 (exit $ac_status); } >/dev
/null
; then
29308 if test -s conftest.err
; then
29309 ac_cpp_err
=$ac_c_preproc_warn_flag
29310 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29317 if test -z "$ac_cpp_err"; then
29318 ac_header_preproc
=yes
29320 echo "$as_me: failed program was:" >&5
29321 sed 's/^/| /' conftest.
$ac_ext >&5
29323 ac_header_preproc
=no
29325 rm -f conftest.err conftest.
$ac_ext
29326 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29327 echo "${ECHO_T}$ac_header_preproc" >&6
29329 # So? What about this header?
29330 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29332 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
29333 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29334 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
29335 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
29336 ac_header_preproc
=yes
29339 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
29340 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
29341 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
29342 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
29343 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
29344 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
29345 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
29346 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
29347 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
29348 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
29349 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
29350 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
29353 ## ----------------------------------------- ##
29354 ## Report this to wx-dev@lists.wxwidgets.org ##
29355 ## ----------------------------------------- ##
29358 sed "s/^/$as_me: WARNING: /" >&2
29361 echo "$as_me:$LINENO: checking for sql.h" >&5
29362 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
29363 if test "${ac_cv_header_sql_h+set}" = set; then
29364 echo $ECHO_N "(cached) $ECHO_C" >&6
29366 ac_cv_header_sql_h
=$ac_header_preproc
29368 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
29369 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
29372 if test $ac_cv_header_sql_h = yes; then
29377 if test "x$found_sql_h" = "x1" ; then
29378 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
29379 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
29380 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
29381 echo $ECHO_N "(cached) $ECHO_C" >&6
29383 ac_check_lib_save_LIBS
=$LIBS
29384 LIBS
="-liodbc $LIBS"
29385 cat >conftest.
$ac_ext <<_ACEOF
29388 cat confdefs.h
>>conftest.
$ac_ext
29389 cat >>conftest.
$ac_ext <<_ACEOF
29390 /* end confdefs.h. */
29392 /* Override any gcc2 internal prototype to avoid an error. */
29396 /* We use char because int might match the return type of a gcc2
29397 builtin and then its argument prototype would still apply. */
29398 char SQLAllocEnv ();
29407 rm -f conftest.
$ac_objext conftest
$ac_exeext
29408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29409 (eval $ac_link) 2>conftest.er1
29411 grep -v '^ *+' conftest.er1
>conftest.err
29413 cat conftest.err
>&5
29414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29415 (exit $ac_status); } &&
29416 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29418 (eval $ac_try) 2>&5
29420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29421 (exit $ac_status); }; } &&
29422 { ac_try
='test -s conftest$ac_exeext'
29423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29424 (eval $ac_try) 2>&5
29426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427 (exit $ac_status); }; }; then
29428 ac_cv_lib_iodbc_SQLAllocEnv
=yes
29430 echo "$as_me: failed program was:" >&5
29431 sed 's/^/| /' conftest.
$ac_ext >&5
29433 ac_cv_lib_iodbc_SQLAllocEnv
=no
29435 rm -f conftest.err conftest.
$ac_objext \
29436 conftest
$ac_exeext conftest.
$ac_ext
29437 LIBS
=$ac_check_lib_save_LIBS
29439 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
29440 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
29441 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
29442 ODBC_LINK
=" -liodbc"
29445 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
29446 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
29447 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
29448 echo $ECHO_N "(cached) $ECHO_C" >&6
29450 ac_check_lib_save_LIBS
=$LIBS
29451 LIBS
="-lunixodbc $LIBS"
29452 cat >conftest.
$ac_ext <<_ACEOF
29455 cat confdefs.h
>>conftest.
$ac_ext
29456 cat >>conftest.
$ac_ext <<_ACEOF
29457 /* end confdefs.h. */
29459 /* Override any gcc2 internal prototype to avoid an error. */
29463 /* We use char because int might match the return type of a gcc2
29464 builtin and then its argument prototype would still apply. */
29465 char SQLAllocEnv ();
29474 rm -f conftest.
$ac_objext conftest
$ac_exeext
29475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29476 (eval $ac_link) 2>conftest.er1
29478 grep -v '^ *+' conftest.er1
>conftest.err
29480 cat conftest.err
>&5
29481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29482 (exit $ac_status); } &&
29483 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29485 (eval $ac_try) 2>&5
29487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29488 (exit $ac_status); }; } &&
29489 { ac_try
='test -s conftest$ac_exeext'
29490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29491 (eval $ac_try) 2>&5
29493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29494 (exit $ac_status); }; }; then
29495 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
29497 echo "$as_me: failed program was:" >&5
29498 sed 's/^/| /' conftest.
$ac_ext >&5
29500 ac_cv_lib_unixodbc_SQLAllocEnv
=no
29502 rm -f conftest.err conftest.
$ac_objext \
29503 conftest
$ac_exeext conftest.
$ac_ext
29504 LIBS
=$ac_check_lib_save_LIBS
29506 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
29507 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
29508 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
29509 ODBC_LINK
=" -lunixodbc"
29512 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
29513 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
29514 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
29515 echo $ECHO_N "(cached) $ECHO_C" >&6
29517 ac_check_lib_save_LIBS
=$LIBS
29518 LIBS
="-lodbc $LIBS"
29519 cat >conftest.
$ac_ext <<_ACEOF
29522 cat confdefs.h
>>conftest.
$ac_ext
29523 cat >>conftest.
$ac_ext <<_ACEOF
29524 /* end confdefs.h. */
29526 /* Override any gcc2 internal prototype to avoid an error. */
29530 /* We use char because int might match the return type of a gcc2
29531 builtin and then its argument prototype would still apply. */
29532 char SQLAllocEnv ();
29541 rm -f conftest.
$ac_objext conftest
$ac_exeext
29542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29543 (eval $ac_link) 2>conftest.er1
29545 grep -v '^ *+' conftest.er1
>conftest.err
29547 cat conftest.err
>&5
29548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29549 (exit $ac_status); } &&
29550 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29552 (eval $ac_try) 2>&5
29554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29555 (exit $ac_status); }; } &&
29556 { ac_try
='test -s conftest$ac_exeext'
29557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29558 (eval $ac_try) 2>&5
29560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29561 (exit $ac_status); }; }; then
29562 ac_cv_lib_odbc_SQLAllocEnv
=yes
29564 echo "$as_me: failed program was:" >&5
29565 sed 's/^/| /' conftest.
$ac_ext >&5
29567 ac_cv_lib_odbc_SQLAllocEnv
=no
29569 rm -f conftest.err conftest.
$ac_objext \
29570 conftest
$ac_exeext conftest.
$ac_ext
29571 LIBS
=$ac_check_lib_save_LIBS
29573 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
29574 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
29575 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
29576 ODBC_LINK
=" -lodbc"
29586 if test "x$ODBC_LINK" = "x" ; then
29587 if test "$wxUSE_ODBC" = "sys" ; then
29588 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
29589 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
29590 { (exit 1); exit 1; }; }
29592 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
29593 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
29601 if test "$wxUSE_ODBC" = "builtin" ; then
29602 cat >>confdefs.h
<<\_ACEOF
29603 #define wxUSE_BUILTIN_IODBC 1
29609 if test "$wxUSE_ODBC" != "no" ; then
29610 cat >>confdefs.h
<<\_ACEOF
29611 #define wxUSE_ODBC 1
29614 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
29616 WXODBCFLAG
="-D_IODBC_"
29620 if test "$wxUSE_DISPLAY" = "yes"; then
29621 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
29622 echo "$as_me:$LINENO: checking for Xinerama" >&5
29623 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
29626 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29628 for ac_extension
in a so sl dylib dll.a
; do
29629 if test -f "$ac_dir/libXinerama.$ac_extension"; then
29630 ac_find_libraries
=$ac_dir
29636 if test "$ac_find_libraries" != "" ; then
29638 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29640 if test $result = 0; then
29643 ac_path_to_link
=" -L$ac_find_libraries"
29646 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29647 LDFLAGS
="$LDFLAGS $ac_path_to_link"
29649 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
29650 echo "$as_me:$LINENO: result: yes" >&5
29651 echo "${ECHO_T}yes" >&6
29653 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
29654 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
29657 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29659 for ac_extension
in a so sl dylib dll.a
; do
29660 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
29661 ac_find_libraries
=$ac_dir
29667 if test "$ac_find_libraries" != "" ; then
29668 echo "$as_me:$LINENO: result: yes" >&5
29669 echo "${ECHO_T}yes" >&6
29671 for ac_header
in X
11/extensions
/xf86vmode.h
29673 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29674 echo "$as_me:$LINENO: checking for $ac_header" >&5
29675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29677 echo $ECHO_N "(cached) $ECHO_C" >&6
29679 cat >conftest.
$ac_ext <<_ACEOF
29682 cat confdefs.h
>>conftest.
$ac_ext
29683 cat >>conftest.
$ac_ext <<_ACEOF
29684 /* end confdefs.h. */
29686 #if HAVE_X11_XLIB_H
29687 #include <X11/Xlib.h>
29691 #include <$ac_header>
29693 rm -f conftest.
$ac_objext
29694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29695 (eval $ac_compile) 2>conftest.er1
29697 grep -v '^ *+' conftest.er1
>conftest.err
29699 cat conftest.err
>&5
29700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29701 (exit $ac_status); } &&
29702 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29704 (eval $ac_try) 2>&5
29706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29707 (exit $ac_status); }; } &&
29708 { ac_try
='test -s conftest.$ac_objext'
29709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29710 (eval $ac_try) 2>&5
29712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29713 (exit $ac_status); }; }; then
29714 eval "$as_ac_Header=yes"
29716 echo "$as_me: failed program was:" >&5
29717 sed 's/^/| /' conftest.
$ac_ext >&5
29719 eval "$as_ac_Header=no"
29721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29726 cat >>confdefs.h
<<_ACEOF
29727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29730 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
29737 echo "$as_me:$LINENO: result: no" >&5
29738 echo "${ECHO_T}no" >&6
29742 echo "$as_me:$LINENO: result: no" >&5
29743 echo "${ECHO_T}no" >&6
29744 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
29745 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
29748 elif test "$wxUSE_MSW" = 1; then
29751 for ac_header
in multimon.h ddraw.h
29753 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29754 echo "$as_me:$LINENO: checking for $ac_header" >&5
29755 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29756 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29757 echo $ECHO_N "(cached) $ECHO_C" >&6
29759 cat >conftest.
$ac_ext <<_ACEOF
29762 cat confdefs.h
>>conftest.
$ac_ext
29763 cat >>conftest.
$ac_ext <<_ACEOF
29764 /* end confdefs.h. */
29765 #include <windows.h>
29767 #include <$ac_header>
29769 rm -f conftest.
$ac_objext
29770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29771 (eval $ac_compile) 2>conftest.er1
29773 grep -v '^ *+' conftest.er1
>conftest.err
29775 cat conftest.err
>&5
29776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29777 (exit $ac_status); } &&
29778 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29780 (eval $ac_try) 2>&5
29782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); }; } &&
29784 { ac_try
='test -s conftest.$ac_objext'
29785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29786 (eval $ac_try) 2>&5
29788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29789 (exit $ac_status); }; }; then
29790 eval "$as_ac_Header=yes"
29792 echo "$as_me: failed program was:" >&5
29793 sed 's/^/| /' conftest.
$ac_ext >&5
29795 eval "$as_ac_Header=no"
29797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29801 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29802 cat >>confdefs.h
<<_ACEOF
29803 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29809 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
29810 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
29821 if test "$wxUSE_OPENGL" = "yes"; then
29822 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
29823 OPENGL_LIBS
="-framework OpenGL -framework AGL"
29824 elif test "$wxUSE_MSW" = 1; then
29825 OPENGL_LIBS
="-lopengl32 -lglu32"
29830 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29832 if test -f "$ac_dir/GL/gl.h"; then
29833 ac_find_includes
=$ac_dir
29838 if test "$ac_find_includes" != "" ; then
29839 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29840 echo "${ECHO_T}found in $ac_find_includes" >&6
29842 if test "x$ac_find_includes" = "x/usr/include"; then
29843 ac_path_to_include
=""
29845 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
29847 if test $result = 0; then
29848 ac_path_to_include
=""
29850 ac_path_to_include
=" -I$ac_find_includes"
29854 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
29857 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29858 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29859 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29860 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29861 echo $ECHO_N "(cached) $ECHO_C" >&6
29863 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29864 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29866 # Is the header compilable?
29867 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
29868 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
29869 cat >conftest.
$ac_ext <<_ACEOF
29872 cat confdefs.h
>>conftest.
$ac_ext
29873 cat >>conftest.
$ac_ext <<_ACEOF
29874 /* end confdefs.h. */
29875 $ac_includes_default
29878 rm -f conftest.
$ac_objext
29879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29880 (eval $ac_compile) 2>conftest.er1
29882 grep -v '^ *+' conftest.er1
>conftest.err
29884 cat conftest.err
>&5
29885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29886 (exit $ac_status); } &&
29887 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29889 (eval $ac_try) 2>&5
29891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29892 (exit $ac_status); }; } &&
29893 { ac_try
='test -s conftest.$ac_objext'
29894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29895 (eval $ac_try) 2>&5
29897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29898 (exit $ac_status); }; }; then
29899 ac_header_compiler
=yes
29901 echo "$as_me: failed program was:" >&5
29902 sed 's/^/| /' conftest.
$ac_ext >&5
29904 ac_header_compiler
=no
29906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29907 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29908 echo "${ECHO_T}$ac_header_compiler" >&6
29910 # Is the header present?
29911 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
29912 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
29913 cat >conftest.
$ac_ext <<_ACEOF
29916 cat confdefs.h
>>conftest.
$ac_ext
29917 cat >>conftest.
$ac_ext <<_ACEOF
29918 /* end confdefs.h. */
29921 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29922 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29924 grep -v '^ *+' conftest.er1
>conftest.err
29926 cat conftest.err
>&5
29927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29928 (exit $ac_status); } >/dev
/null
; then
29929 if test -s conftest.err
; then
29930 ac_cpp_err
=$ac_c_preproc_warn_flag
29931 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29938 if test -z "$ac_cpp_err"; then
29939 ac_header_preproc
=yes
29941 echo "$as_me: failed program was:" >&5
29942 sed 's/^/| /' conftest.
$ac_ext >&5
29944 ac_header_preproc
=no
29946 rm -f conftest.err conftest.
$ac_ext
29947 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29948 echo "${ECHO_T}$ac_header_preproc" >&6
29950 # So? What about this header?
29951 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29953 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
29954 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29955 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
29956 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
29957 ac_header_preproc
=yes
29960 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
29961 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
29962 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
29963 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
29964 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
29965 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
29966 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
29967 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
29968 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
29969 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
29970 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
29971 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
29974 ## ----------------------------------------- ##
29975 ## Report this to wx-dev@lists.wxwidgets.org ##
29976 ## ----------------------------------------- ##
29979 sed "s/^/$as_me: WARNING: /" >&2
29982 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29983 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29984 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29985 echo $ECHO_N "(cached) $ECHO_C" >&6
29987 ac_cv_header_GL_gl_h
=$ac_header_preproc
29989 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29990 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29993 if test $ac_cv_header_GL_gl_h = yes; then
29997 echo "$as_me:$LINENO: checking for -lGL" >&5
29998 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
30001 for ac_dir
in $SEARCH_LIB /usr
/lib
;
30003 for ac_extension
in a so sl dylib dll.a
; do
30004 if test -f "$ac_dir/libGL.$ac_extension"; then
30005 ac_find_libraries
=$ac_dir
30011 if test "$ac_find_libraries" != "" ; then
30012 echo "$as_me:$LINENO: result: yes" >&5
30013 echo "${ECHO_T}yes" >&6
30016 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
30018 if test $result = 0; then
30021 ac_path_to_link
=" -L$ac_find_libraries"
30024 if test "$ac_path_to_link" != " -L/usr/lib" ; then
30025 LDFLAGS_GL
="$ac_path_to_link"
30028 echo "$as_me:$LINENO: checking for -lGLU" >&5
30029 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
30032 for ac_dir
in $SEARCH_LIB /usr
/lib
;
30034 for ac_extension
in a so sl dylib dll.a
; do
30035 if test -f "$ac_dir/libGLU.$ac_extension"; then
30036 ac_find_libraries
=$ac_dir
30042 if test "$ac_find_libraries" != "" ; then
30044 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
30046 if test $result = 0; then
30049 ac_path_to_link
=" -L$ac_find_libraries"
30052 if test "$ac_path_to_link" != " -L/usr/lib" -a \
30053 "$ac_path_to_link" != "$LDFLAGS_GL"; then
30054 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
30058 OPENGL_LIBS
="-lGL -lGLU"
30059 echo "$as_me:$LINENO: result: yes" >&5
30060 echo "${ECHO_T}yes" >&6
30062 echo "$as_me:$LINENO: result: no" >&5
30063 echo "${ECHO_T}no" >&6
30066 echo "$as_me:$LINENO: result: no" >&5
30067 echo "${ECHO_T}no" >&6
30070 if test "$found_gl" != 1; then
30071 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
30072 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
30075 for ac_dir
in $SEARCH_LIB /usr
/lib
;
30077 for ac_extension
in a so sl dylib dll.a
; do
30078 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
30079 ac_find_libraries
=$ac_dir
30085 if test "$ac_find_libraries" != "" ; then
30087 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
30089 if test $result = 0; then
30092 ac_path_to_link
=" -L$ac_find_libraries"
30095 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
30096 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
30097 echo "$as_me:$LINENO: result: yes" >&5
30098 echo "${ECHO_T}yes" >&6
30100 echo "$as_me:$LINENO: result: no" >&5
30101 echo "${ECHO_T}no" >&6
30109 if test "x$OPENGL_LIBS" = "x"; then
30110 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
30111 echo "$as_me: error: OpenGL libraries not available" >&2;}
30112 { (exit 1); exit 1; }; }
30116 if test "$wxUSE_OPENGL" = "yes"; then
30118 cat >>confdefs.h
<<\_ACEOF
30119 #define wxUSE_OPENGL 1
30122 cat >>confdefs.h
<<\_ACEOF
30123 #define wxUSE_GLCANVAS 1
30126 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
30131 if test -n "$TOOLKIT" ; then
30132 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
30137 if test "$wxUSE_SHARED" = "yes"; then
30141 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
30142 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
30147 if test "$wxUSE_SHARED" = "yes"; then
30150 found_versioning
=no
30153 if test $found_versioning = no
; then
30154 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
30155 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
30156 if test "${wx_cv_version_script+set}" = set; then
30157 echo $ECHO_N "(cached) $ECHO_C" >&6
30160 echo "VER_1 { *; };" >conftest.sym
30161 echo "int main() { return 0; }" >conftest.cpp
30164 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
30165 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
30166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30167 (eval $ac_try) 2>&5
30169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30170 (exit $ac_status); }; } ; then
30171 if test -s conftest.stderr
; then
30172 wx_cv_version_script
=no
30174 wx_cv_version_script
=yes
30177 wx_cv_version_script
=no
30180 if test $wx_cv_version_script = yes
30182 echo "struct B { virtual ~B() { } }; \
30183 struct D : public B { }; \
30184 void F() { D d; }" > conftest.cpp
30187 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
30188 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
30189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30190 (eval $ac_try) 2>&5
30192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30193 (exit $ac_status); }; } &&
30195 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
30196 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
30197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30198 (eval $ac_try) 2>&5
30200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30201 (exit $ac_status); }; }
30204 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
30205 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
30206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30207 (eval $ac_try) 2>&5
30209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30210 (exit $ac_status); }; }
30212 wx_cv_version_script
=yes
30214 wx_cv_version_script
=no
30219 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
30220 rm -f conftest1.output conftest2.output conftest3.output
30223 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
30224 echo "${ECHO_T}$wx_cv_version_script" >&6
30225 if test $wx_cv_version_script = yes ; then
30226 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
30232 *-*-linux* | *-*-gnu* )
30233 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
30234 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
30238 if test "$GCC" = yes ; then
30239 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
30241 saveLdflags
="$LDFLAGS"
30242 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
30243 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
30244 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
30245 cat >conftest.
$ac_ext <<_ACEOF
30248 cat confdefs.h
>>conftest.
$ac_ext
30249 cat >>conftest.
$ac_ext <<_ACEOF
30250 /* end confdefs.h. */
30260 rm -f conftest.
$ac_objext conftest
$ac_exeext
30261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30262 (eval $ac_link) 2>conftest.er1
30264 grep -v '^ *+' conftest.er1
>conftest.err
30266 cat conftest.err
>&5
30267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30268 (exit $ac_status); } &&
30269 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30271 (eval $ac_try) 2>&5
30273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30274 (exit $ac_status); }; } &&
30275 { ac_try
='test -s conftest$ac_exeext'
30276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30277 (eval $ac_try) 2>&5
30279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30280 (exit $ac_status); }; }; then
30282 echo "$as_me:$LINENO: result: yes" >&5
30283 echo "${ECHO_T}yes" >&6
30284 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
30285 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
30288 echo "$as_me: failed program was:" >&5
30289 sed 's/^/| /' conftest.
$ac_ext >&5
30292 echo "$as_me:$LINENO: result: no" >&5
30293 echo "${ECHO_T}no" >&6
30294 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
30295 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
30296 LDFLAGS
="$saveLdflags -Wl,-R,/"
30297 cat >conftest.
$ac_ext <<_ACEOF
30300 cat confdefs.h
>>conftest.
$ac_ext
30301 cat >>conftest.
$ac_ext <<_ACEOF
30302 /* end confdefs.h. */
30312 rm -f conftest.
$ac_objext conftest
$ac_exeext
30313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30314 (eval $ac_link) 2>conftest.er1
30316 grep -v '^ *+' conftest.er1
>conftest.err
30318 cat conftest.err
>&5
30319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30320 (exit $ac_status); } &&
30321 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30323 (eval $ac_try) 2>&5
30325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30326 (exit $ac_status); }; } &&
30327 { ac_try
='test -s conftest$ac_exeext'
30328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30329 (eval $ac_try) 2>&5
30331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30332 (exit $ac_status); }; }; then
30334 echo "$as_me:$LINENO: result: yes" >&5
30335 echo "${ECHO_T}yes" >&6
30336 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
30337 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
30340 echo "$as_me: failed program was:" >&5
30341 sed 's/^/| /' conftest.
$ac_ext >&5
30344 echo "$as_me:$LINENO: result: no" >&5
30345 echo "${ECHO_T}no" >&6
30348 rm -f conftest.err conftest.
$ac_objext \
30349 conftest
$ac_exeext conftest.
$ac_ext
30352 rm -f conftest.err conftest.
$ac_objext \
30353 conftest
$ac_exeext conftest.
$ac_ext
30354 LDFLAGS
="$saveLdflags"
30356 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
30357 WXCONFIG_RPATH
="-R\$libdir"
30362 install_name_tool
=`which install_name_tool`
30363 if test "$install_name_tool" -a -x "$install_name_tool"; then
30364 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
30365 cat <<EOF >change-install-names
30367 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
30368 inst_cmd="install_name_tool "
30369 for i in \${libnames} ; do
30370 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
30374 chmod +x change
-install-names
30378 *-*-cygwin* | *-*-mingw32* )
30379 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
30383 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
30384 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
30389 if test $wxUSE_RPATH = "no"; then
30390 SAMPLES_RPATH_FLAG
=''
30391 SAMPLES_RPATH_POSTLINK
=''
30399 config_linkage_component
="-static"
30406 lib_unicode_suffix
=
30408 if test "$wxUSE_UNICODE" = "yes"; then
30409 lib_unicode_suffix
=u
30410 WX_CHARTYPE
="unicode"
30415 WX_DEBUGTYPE
="release"
30417 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
30419 WX_DEBUGTYPE
="debug"
30423 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
30424 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
30427 if test "$wxUSE_DEBUG_INFO" = "yes"; then
30431 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
30433 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
30435 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
30437 if test "$cross_compiling" = "yes"; then
30438 HOST_SUFFIX
="-$host_alias"
30439 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
30440 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
30443 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30444 if test "${TOOLKIT_DIR}" = "os2"; then
30445 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30447 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30452 if test "$wxUSE_COCOA" = 1; then
30456 ac_cpp
='$CPP $CPPFLAGS'
30457 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30458 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30459 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30463 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
30464 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
30465 cat >conftest.
$ac_ext <<_ACEOF
30468 cat confdefs.h
>>conftest.
$ac_ext
30469 cat >>conftest.
$ac_ext <<_ACEOF
30470 /* end confdefs.h. */
30471 #include <AppKit/NSEvent.h>
30472 #include <CoreFoundation/CoreFoundation.h>
30482 rm -f conftest.
$ac_objext
30483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30484 (eval $ac_compile) 2>conftest.er1
30486 grep -v '^ *+' conftest.er1
>conftest.err
30488 cat conftest.err
>&5
30489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30490 (exit $ac_status); } &&
30491 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30493 (eval $ac_try) 2>&5
30495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30496 (exit $ac_status); }; } &&
30497 { ac_try
='test -s conftest.$ac_objext'
30498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30499 (eval $ac_try) 2>&5
30501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30502 (exit $ac_status); }; }; then
30503 echo "$as_me:$LINENO: result: no" >&5
30504 echo "${ECHO_T}no" >&6
30506 echo "$as_me: failed program was:" >&5
30507 sed 's/^/| /' conftest.
$ac_ext >&5
30509 echo "$as_me:$LINENO: result: yes" >&5
30510 echo "${ECHO_T}yes" >&6
30511 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
30512 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
30513 cat >conftest.
$ac_ext <<_ACEOF
30516 cat confdefs.h
>>conftest.
$ac_ext
30517 cat >>conftest.
$ac_ext <<_ACEOF
30518 /* end confdefs.h. */
30519 #define __Point__ 1
30520 #include <AppKit/NSEvent.h>
30521 #include <CoreFoundation/CoreFoundation.h>
30531 rm -f conftest.
$ac_objext
30532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30533 (eval $ac_compile) 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_c_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_objext'
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 echo "$as_me:$LINENO: result: yes" >&5
30553 echo "${ECHO_T}yes" >&6
30554 cat >>confdefs.h
<<\_ACEOF
30555 #define __Point__ 1
30560 echo "$as_me: failed program was:" >&5
30561 sed 's/^/| /' conftest.
$ac_ext >&5
30563 { { echo "$as_me:$LINENO: error: no
30564 See \`config.log' for more details." >&5
30565 echo "$as_me: error: no
30566 See \`config.log' for more details." >&2;}
30567 { (exit 1); exit 1; }; }
30570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30575 ac_cpp
='$CPP $CPPFLAGS'
30576 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30577 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30578 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30582 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
30583 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
30584 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
30586 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
30588 # Extract the first word of "Rez", so it can be a program name with args.
30589 set dummy Rez
; ac_word
=$2
30590 echo "$as_me:$LINENO: checking for $ac_word" >&5
30591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30592 if test "${ac_cv_prog_RESCOMP+set}" = set; then
30593 echo $ECHO_N "(cached) $ECHO_C" >&6
30595 if test -n "$RESCOMP"; then
30596 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
30598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30599 for as_dir
in $PATH
30602 test -z "$as_dir" && as_dir
=.
30603 for ac_exec_ext
in '' $ac_executable_extensions; do
30604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30605 ac_cv_prog_RESCOMP
="Rez"
30606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30612 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
30615 RESCOMP
=$ac_cv_prog_RESCOMP
30616 if test -n "$RESCOMP"; then
30617 echo "$as_me:$LINENO: result: $RESCOMP" >&5
30618 echo "${ECHO_T}$RESCOMP" >&6
30620 echo "$as_me:$LINENO: result: no" >&5
30621 echo "${ECHO_T}no" >&6
30624 # Extract the first word of "DeRez", so it can be a program name with args.
30625 set dummy DeRez
; ac_word
=$2
30626 echo "$as_me:$LINENO: checking for $ac_word" >&5
30627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30628 if test "${ac_cv_prog_DEREZ+set}" = set; then
30629 echo $ECHO_N "(cached) $ECHO_C" >&6
30631 if test -n "$DEREZ"; then
30632 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
30634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30635 for as_dir
in $PATH
30638 test -z "$as_dir" && as_dir
=.
30639 for ac_exec_ext
in '' $ac_executable_extensions; do
30640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30641 ac_cv_prog_DEREZ
="DeRez"
30642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30648 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
30651 DEREZ
=$ac_cv_prog_DEREZ
30652 if test -n "$DEREZ"; then
30653 echo "$as_me:$LINENO: result: $DEREZ" >&5
30654 echo "${ECHO_T}$DEREZ" >&6
30656 echo "$as_me:$LINENO: result: no" >&5
30657 echo "${ECHO_T}no" >&6
30660 # Extract the first word of "SetFile", so it can be a program name with args.
30661 set dummy SetFile
; ac_word
=$2
30662 echo "$as_me:$LINENO: checking for $ac_word" >&5
30663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30664 if test "${ac_cv_prog_SETFILE+set}" = set; then
30665 echo $ECHO_N "(cached) $ECHO_C" >&6
30667 if test -n "$SETFILE"; then
30668 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
30670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30671 for as_dir
in $PATH
30674 test -z "$as_dir" && as_dir
=.
30675 for ac_exec_ext
in '' $ac_executable_extensions; do
30676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30677 ac_cv_prog_SETFILE
="SetFile"
30678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30684 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
30687 SETFILE
=$ac_cv_prog_SETFILE
30688 if test -n "$SETFILE"; then
30689 echo "$as_me:$LINENO: result: $SETFILE" >&5
30690 echo "${ECHO_T}$SETFILE" >&6
30692 echo "$as_me:$LINENO: result: no" >&5
30693 echo "${ECHO_T}no" >&6
30697 MACSETFILE
="\$(SETFILE)"
30699 if test "$wxUSE_MAC" = 1; then
30700 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
30702 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
30704 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
30705 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
30709 MACRESWXCONFIG
="@true"
30711 if test "$wxUSE_PM" = 1; then
30712 MACRESCOMP
="emxbind -ep"
30720 echo "$as_me:$LINENO: checking for mode_t" >&5
30721 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
30722 if test "${ac_cv_type_mode_t+set}" = set; then
30723 echo $ECHO_N "(cached) $ECHO_C" >&6
30725 cat >conftest.
$ac_ext <<_ACEOF
30728 cat confdefs.h
>>conftest.
$ac_ext
30729 cat >>conftest.
$ac_ext <<_ACEOF
30730 /* end confdefs.h. */
30731 $ac_includes_default
30737 if (sizeof (mode_t))
30743 rm -f conftest.
$ac_objext
30744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30745 (eval $ac_compile) 2>conftest.er1
30747 grep -v '^ *+' conftest.er1
>conftest.err
30749 cat conftest.err
>&5
30750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30751 (exit $ac_status); } &&
30752 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30754 (eval $ac_try) 2>&5
30756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30757 (exit $ac_status); }; } &&
30758 { ac_try
='test -s conftest.$ac_objext'
30759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30760 (eval $ac_try) 2>&5
30762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30763 (exit $ac_status); }; }; then
30764 ac_cv_type_mode_t
=yes
30766 echo "$as_me: failed program was:" >&5
30767 sed 's/^/| /' conftest.
$ac_ext >&5
30769 ac_cv_type_mode_t
=no
30771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30773 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
30774 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
30775 if test $ac_cv_type_mode_t = yes; then
30779 cat >>confdefs.h
<<_ACEOF
30785 echo "$as_me:$LINENO: checking for off_t" >&5
30786 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
30787 if test "${ac_cv_type_off_t+set}" = set; then
30788 echo $ECHO_N "(cached) $ECHO_C" >&6
30790 cat >conftest.
$ac_ext <<_ACEOF
30793 cat confdefs.h
>>conftest.
$ac_ext
30794 cat >>conftest.
$ac_ext <<_ACEOF
30795 /* end confdefs.h. */
30796 $ac_includes_default
30802 if (sizeof (off_t))
30808 rm -f conftest.
$ac_objext
30809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30810 (eval $ac_compile) 2>conftest.er1
30812 grep -v '^ *+' conftest.er1
>conftest.err
30814 cat conftest.err
>&5
30815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30816 (exit $ac_status); } &&
30817 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30819 (eval $ac_try) 2>&5
30821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30822 (exit $ac_status); }; } &&
30823 { ac_try
='test -s conftest.$ac_objext'
30824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30825 (eval $ac_try) 2>&5
30827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30828 (exit $ac_status); }; }; then
30829 ac_cv_type_off_t
=yes
30831 echo "$as_me: failed program was:" >&5
30832 sed 's/^/| /' conftest.
$ac_ext >&5
30834 ac_cv_type_off_t
=no
30836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30838 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
30839 echo "${ECHO_T}$ac_cv_type_off_t" >&6
30840 if test $ac_cv_type_off_t = yes; then
30844 cat >>confdefs.h
<<_ACEOF
30850 echo "$as_me:$LINENO: checking for pid_t" >&5
30851 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
30852 if test "${ac_cv_type_pid_t+set}" = set; then
30853 echo $ECHO_N "(cached) $ECHO_C" >&6
30855 cat >conftest.
$ac_ext <<_ACEOF
30858 cat confdefs.h
>>conftest.
$ac_ext
30859 cat >>conftest.
$ac_ext <<_ACEOF
30860 /* end confdefs.h. */
30861 $ac_includes_default
30867 if (sizeof (pid_t))
30873 rm -f conftest.
$ac_objext
30874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30875 (eval $ac_compile) 2>conftest.er1
30877 grep -v '^ *+' conftest.er1
>conftest.err
30879 cat conftest.err
>&5
30880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30881 (exit $ac_status); } &&
30882 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30884 (eval $ac_try) 2>&5
30886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30887 (exit $ac_status); }; } &&
30888 { ac_try
='test -s conftest.$ac_objext'
30889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30890 (eval $ac_try) 2>&5
30892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30893 (exit $ac_status); }; }; then
30894 ac_cv_type_pid_t
=yes
30896 echo "$as_me: failed program was:" >&5
30897 sed 's/^/| /' conftest.
$ac_ext >&5
30899 ac_cv_type_pid_t
=no
30901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30903 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30904 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
30905 if test $ac_cv_type_pid_t = yes; then
30909 cat >>confdefs.h
<<_ACEOF
30915 echo "$as_me:$LINENO: checking for size_t" >&5
30916 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
30917 if test "${ac_cv_type_size_t+set}" = set; then
30918 echo $ECHO_N "(cached) $ECHO_C" >&6
30920 cat >conftest.
$ac_ext <<_ACEOF
30923 cat confdefs.h
>>conftest.
$ac_ext
30924 cat >>conftest.
$ac_ext <<_ACEOF
30925 /* end confdefs.h. */
30926 $ac_includes_default
30932 if (sizeof (size_t))
30938 rm -f conftest.
$ac_objext
30939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30940 (eval $ac_compile) 2>conftest.er1
30942 grep -v '^ *+' conftest.er1
>conftest.err
30944 cat conftest.err
>&5
30945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30946 (exit $ac_status); } &&
30947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30949 (eval $ac_try) 2>&5
30951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30952 (exit $ac_status); }; } &&
30953 { ac_try
='test -s conftest.$ac_objext'
30954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30955 (eval $ac_try) 2>&5
30957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30958 (exit $ac_status); }; }; then
30959 ac_cv_type_size_t
=yes
30961 echo "$as_me: failed program was:" >&5
30962 sed 's/^/| /' conftest.
$ac_ext >&5
30964 ac_cv_type_size_t
=no
30966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30968 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30969 echo "${ECHO_T}$ac_cv_type_size_t" >&6
30970 if test $ac_cv_type_size_t = yes; then
30974 cat >>confdefs.h
<<_ACEOF
30975 #define size_t unsigned
30980 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
30981 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
30982 if test "${ac_cv_type_uid_t+set}" = set; then
30983 echo $ECHO_N "(cached) $ECHO_C" >&6
30985 cat >conftest.
$ac_ext <<_ACEOF
30988 cat confdefs.h
>>conftest.
$ac_ext
30989 cat >>conftest.
$ac_ext <<_ACEOF
30990 /* end confdefs.h. */
30991 #include <sys/types.h>
30994 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30995 $EGREP "uid_t" >/dev
/null
2>&1; then
30996 ac_cv_type_uid_t
=yes
30998 ac_cv_type_uid_t
=no
31003 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
31004 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
31005 if test $ac_cv_type_uid_t = no
; then
31007 cat >>confdefs.h
<<\_ACEOF
31012 cat >>confdefs.h
<<\_ACEOF
31019 echo "$as_me:$LINENO: checking for ssize_t" >&5
31020 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
31021 if test "${ac_cv_type_ssize_t+set}" = set; then
31022 echo $ECHO_N "(cached) $ECHO_C" >&6
31024 cat >conftest.
$ac_ext <<_ACEOF
31027 cat confdefs.h
>>conftest.
$ac_ext
31028 cat >>conftest.
$ac_ext <<_ACEOF
31029 /* end confdefs.h. */
31030 $ac_includes_default
31036 if (sizeof (ssize_t))
31042 rm -f conftest.
$ac_objext
31043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31044 (eval $ac_compile) 2>conftest.er1
31046 grep -v '^ *+' conftest.er1
>conftest.err
31048 cat conftest.err
>&5
31049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31050 (exit $ac_status); } &&
31051 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31053 (eval $ac_try) 2>&5
31055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31056 (exit $ac_status); }; } &&
31057 { ac_try
='test -s conftest.$ac_objext'
31058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31059 (eval $ac_try) 2>&5
31061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31062 (exit $ac_status); }; }; then
31063 ac_cv_type_ssize_t
=yes
31065 echo "$as_me: failed program was:" >&5
31066 sed 's/^/| /' conftest.
$ac_ext >&5
31068 ac_cv_type_ssize_t
=no
31070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31072 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
31073 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
31074 if test $ac_cv_type_ssize_t = yes; then
31076 cat >>confdefs.h
<<_ACEOF
31077 #define HAVE_SSIZE_T 1
31087 ac_cpp
='$CXXCPP $CPPFLAGS'
31088 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31089 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31090 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31092 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
31093 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
31094 if test "${wx_cv_size_t_is_uint+set}" = set; then
31095 echo $ECHO_N "(cached) $ECHO_C" >&6
31098 cat >conftest.
$ac_ext <<_ACEOF
31101 cat confdefs.h
>>conftest.
$ac_ext
31102 cat >>conftest.
$ac_ext <<_ACEOF
31103 /* end confdefs.h. */
31104 #include <stddef.h>
31111 struct Foo { void foo(size_t); void foo(unsigned int); };
31119 rm -f conftest.
$ac_objext
31120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31121 (eval $ac_compile) 2>conftest.er1
31123 grep -v '^ *+' conftest.er1
>conftest.err
31125 cat conftest.err
>&5
31126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31127 (exit $ac_status); } &&
31128 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31130 (eval $ac_try) 2>&5
31132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31133 (exit $ac_status); }; } &&
31134 { ac_try
='test -s conftest.$ac_objext'
31135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31136 (eval $ac_try) 2>&5
31138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31139 (exit $ac_status); }; }; then
31140 wx_cv_size_t_is_uint
=no
31142 echo "$as_me: failed program was:" >&5
31143 sed 's/^/| /' conftest.
$ac_ext >&5
31145 wx_cv_size_t_is_uint
=yes
31148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31152 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
31153 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
31155 if test "$wx_cv_size_t_is_uint" = "yes"; then
31156 cat >>confdefs.h
<<\_ACEOF
31157 #define wxSIZE_T_IS_UINT 1
31161 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
31162 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
31163 if test "${wx_cv_size_t_is_ulong+set}" = set; then
31164 echo $ECHO_N "(cached) $ECHO_C" >&6
31166 cat >conftest.
$ac_ext <<_ACEOF
31169 cat confdefs.h
>>conftest.
$ac_ext
31170 cat >>conftest.
$ac_ext <<_ACEOF
31171 /* end confdefs.h. */
31172 #include <stddef.h>
31179 struct Foo { void foo(size_t); void foo(unsigned long); };
31187 rm -f conftest.
$ac_objext
31188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31189 (eval $ac_compile) 2>conftest.er1
31191 grep -v '^ *+' conftest.er1
>conftest.err
31193 cat conftest.err
>&5
31194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31195 (exit $ac_status); } &&
31196 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31198 (eval $ac_try) 2>&5
31200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31201 (exit $ac_status); }; } &&
31202 { ac_try
='test -s conftest.$ac_objext'
31203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31204 (eval $ac_try) 2>&5
31206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31207 (exit $ac_status); }; }; then
31208 wx_cv_size_t_is_ulong
=no
31210 echo "$as_me: failed program was:" >&5
31211 sed 's/^/| /' conftest.
$ac_ext >&5
31213 wx_cv_size_t_is_ulong
=yes
31216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31219 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
31220 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
31222 if test "$wx_cv_size_t_is_ulong" = "yes"; then
31223 cat >>confdefs.h
<<\_ACEOF
31224 #define wxSIZE_T_IS_ULONG 1
31231 ac_cpp
='$CPP $CPPFLAGS'
31232 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31233 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31234 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31238 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
31239 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
31240 if test "${wx_cv_struct_pw_gecos+set}" = set; then
31241 echo $ECHO_N "(cached) $ECHO_C" >&6
31244 cat >conftest.
$ac_ext <<_ACEOF
31247 cat confdefs.h
>>conftest.
$ac_ext
31248 cat >>conftest.
$ac_ext <<_ACEOF
31249 /* end confdefs.h. */
31263 rm -f conftest.
$ac_objext
31264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31265 (eval $ac_compile) 2>conftest.er1
31267 grep -v '^ *+' conftest.er1
>conftest.err
31269 cat conftest.err
>&5
31270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31271 (exit $ac_status); } &&
31272 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31274 (eval $ac_try) 2>&5
31276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31277 (exit $ac_status); }; } &&
31278 { ac_try
='test -s conftest.$ac_objext'
31279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31280 (eval $ac_try) 2>&5
31282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31283 (exit $ac_status); }; }; then
31285 wx_cv_struct_pw_gecos
=yes
31288 echo "$as_me: failed program was:" >&5
31289 sed 's/^/| /' conftest.
$ac_ext >&5
31292 wx_cv_struct_pw_gecos
=no
31296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31300 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
31301 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
31303 if test "$wx_cv_struct_pw_gecos" = "yes"; then
31304 cat >>confdefs.h
<<\_ACEOF
31305 #define HAVE_PW_GECOS 1
31311 if test "$wxUSE_WCHAR_T" = "yes"; then
31312 cat >>confdefs.h
<<\_ACEOF
31313 #define wxUSE_WCHAR_T 1
31320 for ac_func
in wcslen
31322 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31323 echo "$as_me:$LINENO: checking for $ac_func" >&5
31324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31325 if eval "test \"\${$as_ac_var+set}\" = set"; then
31326 echo $ECHO_N "(cached) $ECHO_C" >&6
31328 cat >conftest.
$ac_ext <<_ACEOF
31331 cat confdefs.h
>>conftest.
$ac_ext
31332 cat >>conftest.
$ac_ext <<_ACEOF
31333 /* end confdefs.h. */
31334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31336 #define $ac_func innocuous_$ac_func
31338 /* System header to define __stub macros and hopefully few prototypes,
31339 which can conflict with char $ac_func (); below.
31340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31341 <limits.h> exists even on freestanding compilers. */
31344 # include <limits.h>
31346 # include <assert.h>
31351 /* Override any gcc2 internal prototype to avoid an error. */
31356 /* We use char because int might match the return type of a gcc2
31357 builtin and then its argument prototype would still apply. */
31359 /* The GNU C library defines this for functions which it implements
31360 to always fail with ENOSYS. Some functions are actually named
31361 something starting with __ and the normal name is an alias. */
31362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31365 char (*f) () = $ac_func;
31374 return f != $ac_func;
31379 rm -f conftest.
$ac_objext conftest
$ac_exeext
31380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31381 (eval $ac_link) 2>conftest.er1
31383 grep -v '^ *+' conftest.er1
>conftest.err
31385 cat conftest.err
>&5
31386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31387 (exit $ac_status); } &&
31388 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31390 (eval $ac_try) 2>&5
31392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31393 (exit $ac_status); }; } &&
31394 { ac_try
='test -s conftest$ac_exeext'
31395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31396 (eval $ac_try) 2>&5
31398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31399 (exit $ac_status); }; }; then
31400 eval "$as_ac_var=yes"
31402 echo "$as_me: failed program was:" >&5
31403 sed 's/^/| /' conftest.
$ac_ext >&5
31405 eval "$as_ac_var=no"
31407 rm -f conftest.err conftest.
$ac_objext \
31408 conftest
$ac_exeext conftest.
$ac_ext
31410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31412 if test `eval echo '${'$as_ac_var'}'` = yes; then
31413 cat >>confdefs.h
<<_ACEOF
31414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31421 if test "$WCSLEN_FOUND" = 0; then
31422 if test "$TOOLKIT" = "MSW"; then
31423 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
31424 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
31425 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
31426 echo $ECHO_N "(cached) $ECHO_C" >&6
31428 ac_check_lib_save_LIBS
=$LIBS
31429 LIBS
="-lmsvcrt $LIBS"
31430 cat >conftest.
$ac_ext <<_ACEOF
31433 cat confdefs.h
>>conftest.
$ac_ext
31434 cat >>conftest.
$ac_ext <<_ACEOF
31435 /* end confdefs.h. */
31437 /* Override any gcc2 internal prototype to avoid an error. */
31441 /* We use char because int might match the return type of a gcc2
31442 builtin and then its argument prototype would still apply. */
31452 rm -f conftest.
$ac_objext conftest
$ac_exeext
31453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31454 (eval $ac_link) 2>conftest.er1
31456 grep -v '^ *+' conftest.er1
>conftest.err
31458 cat conftest.err
>&5
31459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31460 (exit $ac_status); } &&
31461 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31463 (eval $ac_try) 2>&5
31465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31466 (exit $ac_status); }; } &&
31467 { ac_try
='test -s conftest$ac_exeext'
31468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31469 (eval $ac_try) 2>&5
31471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31472 (exit $ac_status); }; }; then
31473 ac_cv_lib_msvcrt_wcslen
=yes
31475 echo "$as_me: failed program was:" >&5
31476 sed 's/^/| /' conftest.
$ac_ext >&5
31478 ac_cv_lib_msvcrt_wcslen
=no
31480 rm -f conftest.err conftest.
$ac_objext \
31481 conftest
$ac_exeext conftest.
$ac_ext
31482 LIBS
=$ac_check_lib_save_LIBS
31484 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
31485 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
31486 if test $ac_cv_lib_msvcrt_wcslen = yes; then
31491 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
31492 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
31493 if test "${ac_cv_lib_w_wcslen+set}" = set; then
31494 echo $ECHO_N "(cached) $ECHO_C" >&6
31496 ac_check_lib_save_LIBS
=$LIBS
31498 cat >conftest.
$ac_ext <<_ACEOF
31501 cat confdefs.h
>>conftest.
$ac_ext
31502 cat >>conftest.
$ac_ext <<_ACEOF
31503 /* end confdefs.h. */
31505 /* Override any gcc2 internal prototype to avoid an error. */
31509 /* We use char because int might match the return type of a gcc2
31510 builtin and then its argument prototype would still apply. */
31520 rm -f conftest.
$ac_objext conftest
$ac_exeext
31521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31522 (eval $ac_link) 2>conftest.er1
31524 grep -v '^ *+' conftest.er1
>conftest.err
31526 cat conftest.err
>&5
31527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31528 (exit $ac_status); } &&
31529 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31531 (eval $ac_try) 2>&5
31533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31534 (exit $ac_status); }; } &&
31535 { ac_try
='test -s conftest$ac_exeext'
31536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31537 (eval $ac_try) 2>&5
31539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31540 (exit $ac_status); }; }; then
31541 ac_cv_lib_w_wcslen
=yes
31543 echo "$as_me: failed program was:" >&5
31544 sed 's/^/| /' conftest.
$ac_ext >&5
31546 ac_cv_lib_w_wcslen
=no
31548 rm -f conftest.err conftest.
$ac_objext \
31549 conftest
$ac_exeext conftest.
$ac_ext
31550 LIBS
=$ac_check_lib_save_LIBS
31552 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
31553 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
31554 if test $ac_cv_lib_w_wcslen = yes; then
31564 if test "$WCSLEN_FOUND" = 1; then
31565 cat >>confdefs.h
<<\_ACEOF
31566 #define HAVE_WCSLEN 1
31571 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
31572 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
31575 echo "$as_me:$LINENO: checking for mbstate_t" >&5
31576 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
31577 if test "${ac_cv_type_mbstate_t+set}" = set; then
31578 echo $ECHO_N "(cached) $ECHO_C" >&6
31580 cat >conftest.
$ac_ext <<_ACEOF
31583 cat confdefs.h
>>conftest.
$ac_ext
31584 cat >>conftest.
$ac_ext <<_ACEOF
31585 /* end confdefs.h. */
31591 if ((mbstate_t *) 0)
31593 if (sizeof (mbstate_t))
31599 rm -f conftest.
$ac_objext
31600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31601 (eval $ac_compile) 2>conftest.er1
31603 grep -v '^ *+' conftest.er1
>conftest.err
31605 cat conftest.err
>&5
31606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31607 (exit $ac_status); } &&
31608 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31610 (eval $ac_try) 2>&5
31612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31613 (exit $ac_status); }; } &&
31614 { ac_try
='test -s conftest.$ac_objext'
31615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31616 (eval $ac_try) 2>&5
31618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31619 (exit $ac_status); }; }; then
31620 ac_cv_type_mbstate_t
=yes
31622 echo "$as_me: failed program was:" >&5
31623 sed 's/^/| /' conftest.
$ac_ext >&5
31625 ac_cv_type_mbstate_t
=no
31627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31629 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
31630 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
31631 if test $ac_cv_type_mbstate_t = yes; then
31633 cat >>confdefs.h
<<_ACEOF
31634 #define HAVE_MBSTATE_T 1
31638 for ac_func
in wcsrtombs
31640 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31641 echo "$as_me:$LINENO: checking for $ac_func" >&5
31642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31643 if eval "test \"\${$as_ac_var+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. */
31652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31654 #define $ac_func innocuous_$ac_func
31656 /* System header to define __stub macros and hopefully few prototypes,
31657 which can conflict with char $ac_func (); below.
31658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31659 <limits.h> exists even on freestanding compilers. */
31662 # include <limits.h>
31664 # include <assert.h>
31669 /* Override any gcc2 internal prototype to avoid an error. */
31674 /* We use char because int might match the return type of a gcc2
31675 builtin and then its argument prototype would still apply. */
31677 /* The GNU C library defines this for functions which it implements
31678 to always fail with ENOSYS. Some functions are actually named
31679 something starting with __ and the normal name is an alias. */
31680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31683 char (*f) () = $ac_func;
31692 return f != $ac_func;
31697 rm -f conftest.
$ac_objext conftest
$ac_exeext
31698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31699 (eval $ac_link) 2>conftest.er1
31701 grep -v '^ *+' conftest.er1
>conftest.err
31703 cat conftest.err
>&5
31704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31705 (exit $ac_status); } &&
31706 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31708 (eval $ac_try) 2>&5
31710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31711 (exit $ac_status); }; } &&
31712 { ac_try
='test -s conftest$ac_exeext'
31713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31714 (eval $ac_try) 2>&5
31716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31717 (exit $ac_status); }; }; then
31718 eval "$as_ac_var=yes"
31720 echo "$as_me: failed program was:" >&5
31721 sed 's/^/| /' conftest.
$ac_ext >&5
31723 eval "$as_ac_var=no"
31725 rm -f conftest.err conftest.
$ac_objext \
31726 conftest
$ac_exeext conftest.
$ac_ext
31728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31730 if test `eval echo '${'$as_ac_var'}'` = yes; then
31731 cat >>confdefs.h
<<_ACEOF
31732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31741 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
31742 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
31748 ac_cpp
='$CXXCPP $CPPFLAGS'
31749 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31750 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31751 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31756 for ac_func
in snprintf vsnprintf
31758 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31759 echo "$as_me:$LINENO: checking for $ac_func" >&5
31760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31761 if eval "test \"\${$as_ac_var+set}\" = set"; then
31762 echo $ECHO_N "(cached) $ECHO_C" >&6
31764 cat >conftest.
$ac_ext <<_ACEOF
31767 cat confdefs.h
>>conftest.
$ac_ext
31768 cat >>conftest.
$ac_ext <<_ACEOF
31769 /* end confdefs.h. */
31770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31772 #define $ac_func innocuous_$ac_func
31774 /* System header to define __stub macros and hopefully few prototypes,
31775 which can conflict with char $ac_func (); below.
31776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31777 <limits.h> exists even on freestanding compilers. */
31780 # include <limits.h>
31782 # include <assert.h>
31787 /* Override any gcc2 internal prototype to avoid an error. */
31792 /* We use char because int might match the return type of a gcc2
31793 builtin and then its argument prototype would still apply. */
31795 /* The GNU C library defines this for functions which it implements
31796 to always fail with ENOSYS. Some functions are actually named
31797 something starting with __ and the normal name is an alias. */
31798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31801 char (*f) () = $ac_func;
31810 return f != $ac_func;
31815 rm -f conftest.
$ac_objext conftest
$ac_exeext
31816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31817 (eval $ac_link) 2>conftest.er1
31819 grep -v '^ *+' conftest.er1
>conftest.err
31821 cat conftest.err
>&5
31822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31823 (exit $ac_status); } &&
31824 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31826 (eval $ac_try) 2>&5
31828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31829 (exit $ac_status); }; } &&
31830 { ac_try
='test -s conftest$ac_exeext'
31831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31832 (eval $ac_try) 2>&5
31834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31835 (exit $ac_status); }; }; then
31836 eval "$as_ac_var=yes"
31838 echo "$as_me: failed program was:" >&5
31839 sed 's/^/| /' conftest.
$ac_ext >&5
31841 eval "$as_ac_var=no"
31843 rm -f conftest.err conftest.
$ac_objext \
31844 conftest
$ac_exeext conftest.
$ac_ext
31846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31848 if test `eval echo '${'$as_ac_var'}'` = yes; then
31849 cat >>confdefs.h
<<_ACEOF
31850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31857 if test "$ac_cv_func_vsnprintf" = "yes"; then
31858 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
31859 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
31860 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
31861 echo $ECHO_N "(cached) $ECHO_C" >&6
31864 cat >conftest.
$ac_ext <<_ACEOF
31867 cat confdefs.h
>>conftest.
$ac_ext
31868 cat >>conftest.
$ac_ext <<_ACEOF
31869 /* end confdefs.h. */
31872 #include <stdarg.h>
31874 #if __MSL__ >= 0x6000
31876 using namespace std;
31886 vsnprintf(buf, 10u, "%s", ap);
31892 rm -f conftest.
$ac_objext
31893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31894 (eval $ac_compile) 2>conftest.er1
31896 grep -v '^ *+' conftest.er1
>conftest.err
31898 cat conftest.err
>&5
31899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31900 (exit $ac_status); } &&
31901 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31903 (eval $ac_try) 2>&5
31905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31906 (exit $ac_status); }; } &&
31907 { ac_try
='test -s conftest.$ac_objext'
31908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31909 (eval $ac_try) 2>&5
31911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31912 (exit $ac_status); }; }; then
31913 wx_cv_func_vsnprintf_decl
=yes
31915 echo "$as_me: failed program was:" >&5
31916 sed 's/^/| /' conftest.
$ac_ext >&5
31918 wx_cv_func_vsnprintf_decl
=no
31921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31925 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
31926 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
31928 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
31929 cat >>confdefs.h
<<\_ACEOF
31930 #define HAVE_VSNPRINTF_DECL 1
31934 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
31935 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
31936 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
31937 echo $ECHO_N "(cached) $ECHO_C" >&6
31940 cat >conftest.
$ac_ext <<_ACEOF
31943 cat confdefs.h
>>conftest.
$ac_ext
31944 cat >>conftest.
$ac_ext <<_ACEOF
31945 /* end confdefs.h. */
31948 #include <stdarg.h>
31950 #if __MSL__ >= 0x6000
31952 using namespace std;
31962 const char *fmt = "%s";
31963 vsnprintf(buf, 10u, fmt, ap);
31969 rm -f conftest.
$ac_objext
31970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31971 (eval $ac_compile) 2>conftest.er1
31973 grep -v '^ *+' conftest.er1
>conftest.err
31975 cat conftest.err
>&5
31976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31977 (exit $ac_status); } &&
31978 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31980 (eval $ac_try) 2>&5
31982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31983 (exit $ac_status); }; } &&
31984 { ac_try
='test -s conftest.$ac_objext'
31985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31986 (eval $ac_try) 2>&5
31988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31989 (exit $ac_status); }; }; then
31990 wx_cv_func_broken_vsnprintf_decl
=no
31992 echo "$as_me: failed program was:" >&5
31993 sed 's/^/| /' conftest.
$ac_ext >&5
31995 wx_cv_func_broken_vsnprintf_decl
=yes
31998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32002 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
32003 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
32005 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
32006 cat >>confdefs.h
<<\_ACEOF
32007 #define HAVE_BROKEN_VSNPRINTF_DECL 1
32014 if test "$ac_cv_func_snprintf" = "yes"; then
32015 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
32016 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
32017 if test "${wx_cv_func_snprintf_decl+set}" = set; then
32018 echo $ECHO_N "(cached) $ECHO_C" >&6
32021 cat >conftest.
$ac_ext <<_ACEOF
32024 cat confdefs.h
>>conftest.
$ac_ext
32025 cat >>conftest.
$ac_ext <<_ACEOF
32026 /* end confdefs.h. */
32029 #include <stdarg.h>
32031 #if __MSL__ >= 0x6000
32033 using namespace std;
32042 snprintf(buf, 10u, "%s", "wx");
32048 rm -f conftest.
$ac_objext
32049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32050 (eval $ac_compile) 2>conftest.er1
32052 grep -v '^ *+' conftest.er1
>conftest.err
32054 cat conftest.err
>&5
32055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32056 (exit $ac_status); } &&
32057 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32059 (eval $ac_try) 2>&5
32061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32062 (exit $ac_status); }; } &&
32063 { ac_try
='test -s conftest.$ac_objext'
32064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32065 (eval $ac_try) 2>&5
32067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32068 (exit $ac_status); }; }; then
32069 wx_cv_func_snprintf_decl
=yes
32071 echo "$as_me: failed program was:" >&5
32072 sed 's/^/| /' conftest.
$ac_ext >&5
32074 wx_cv_func_snprintf_decl
=no
32077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32081 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
32082 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
32084 if test "$wx_cv_func_snprintf_decl" = "yes"; then
32085 cat >>confdefs.h
<<\_ACEOF
32086 #define HAVE_SNPRINTF_DECL 1
32090 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
32091 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
32092 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
32093 echo $ECHO_N "(cached) $ECHO_C" >&6
32096 cat >conftest.
$ac_ext <<_ACEOF
32099 cat confdefs.h
>>conftest.
$ac_ext
32100 cat >>conftest.
$ac_ext <<_ACEOF
32101 /* end confdefs.h. */
32104 #include <stdarg.h>
32106 #if __MSL__ >= 0x6000
32108 using namespace std;
32117 const char *fmt = "%s";
32118 snprintf(buf, 10u, fmt, "wx");
32124 rm -f conftest.
$ac_objext
32125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32126 (eval $ac_compile) 2>conftest.er1
32128 grep -v '^ *+' conftest.er1
>conftest.err
32130 cat conftest.err
>&5
32131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32132 (exit $ac_status); } &&
32133 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32135 (eval $ac_try) 2>&5
32137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32138 (exit $ac_status); }; } &&
32139 { ac_try
='test -s conftest.$ac_objext'
32140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32141 (eval $ac_try) 2>&5
32143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32144 (exit $ac_status); }; }; then
32145 wx_cv_func_broken_snprintf_decl
=no
32147 echo "$as_me: failed program was:" >&5
32148 sed 's/^/| /' conftest.
$ac_ext >&5
32150 wx_cv_func_broken_snprintf_decl
=yes
32153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32157 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
32158 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
32160 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
32161 cat >>confdefs.h
<<\_ACEOF
32162 #define HAVE_BROKEN_SNPRINTF_DECL 1
32169 if test "$wxUSE_UNICODE" = yes; then
32176 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
32178 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32179 echo "$as_me:$LINENO: checking for $ac_func" >&5
32180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32181 if eval "test \"\${$as_ac_var+set}\" = set"; then
32182 echo $ECHO_N "(cached) $ECHO_C" >&6
32184 cat >conftest.
$ac_ext <<_ACEOF
32187 cat confdefs.h
>>conftest.
$ac_ext
32188 cat >>conftest.
$ac_ext <<_ACEOF
32189 /* end confdefs.h. */
32190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32192 #define $ac_func innocuous_$ac_func
32194 /* System header to define __stub macros and hopefully few prototypes,
32195 which can conflict with char $ac_func (); below.
32196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32197 <limits.h> exists even on freestanding compilers. */
32200 # include <limits.h>
32202 # include <assert.h>
32207 /* Override any gcc2 internal prototype to avoid an error. */
32212 /* We use char because int might match the return type of a gcc2
32213 builtin and then its argument prototype would still apply. */
32215 /* The GNU C library defines this for functions which it implements
32216 to always fail with ENOSYS. Some functions are actually named
32217 something starting with __ and the normal name is an alias. */
32218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32221 char (*f) () = $ac_func;
32230 return f != $ac_func;
32235 rm -f conftest.
$ac_objext conftest
$ac_exeext
32236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32237 (eval $ac_link) 2>conftest.er1
32239 grep -v '^ *+' conftest.er1
>conftest.err
32241 cat conftest.err
>&5
32242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32243 (exit $ac_status); } &&
32244 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32246 (eval $ac_try) 2>&5
32248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32249 (exit $ac_status); }; } &&
32250 { ac_try
='test -s conftest$ac_exeext'
32251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32252 (eval $ac_try) 2>&5
32254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32255 (exit $ac_status); }; }; then
32256 eval "$as_ac_var=yes"
32258 echo "$as_me: failed program was:" >&5
32259 sed 's/^/| /' conftest.
$ac_ext >&5
32261 eval "$as_ac_var=no"
32263 rm -f conftest.err conftest.
$ac_objext \
32264 conftest
$ac_exeext conftest.
$ac_ext
32266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32268 if test `eval echo '${'$as_ac_var'}'` = yes; then
32269 cat >>confdefs.h
<<_ACEOF
32270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32277 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
32278 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
32279 cat >conftest.
$ac_ext <<_ACEOF
32282 cat confdefs.h
>>conftest.
$ac_ext
32283 cat >>conftest.
$ac_ext <<_ACEOF
32284 /* end confdefs.h. */
32294 rm -f conftest.
$ac_objext
32295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32296 (eval $ac_compile) 2>conftest.er1
32298 grep -v '^ *+' conftest.er1
>conftest.err
32300 cat conftest.err
>&5
32301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32302 (exit $ac_status); } &&
32303 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32305 (eval $ac_try) 2>&5
32307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32308 (exit $ac_status); }; } &&
32309 { ac_try
='test -s conftest.$ac_objext'
32310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32311 (eval $ac_try) 2>&5
32313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32314 (exit $ac_status); }; }; then
32315 echo "$as_me:$LINENO: result: yes" >&5
32316 echo "${ECHO_T}yes" >&6
32317 cat >>confdefs.h
<<\_ACEOF
32318 #define HAVE__VSNWPRINTF 1
32322 echo "$as_me: failed program was:" >&5
32323 sed 's/^/| /' conftest.
$ac_ext >&5
32325 echo "$as_me:$LINENO: result: no" >&5
32326 echo "${ECHO_T}no" >&6
32328 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
32332 ac_cpp
='$CPP $CPPFLAGS'
32333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32338 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
32340 for ac_func
in fnmatch
32342 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32343 echo "$as_me:$LINENO: checking for $ac_func" >&5
32344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32345 if eval "test \"\${$as_ac_var+set}\" = set"; then
32346 echo $ECHO_N "(cached) $ECHO_C" >&6
32348 cat >conftest.
$ac_ext <<_ACEOF
32351 cat confdefs.h
>>conftest.
$ac_ext
32352 cat >>conftest.
$ac_ext <<_ACEOF
32353 /* end confdefs.h. */
32354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32356 #define $ac_func innocuous_$ac_func
32358 /* System header to define __stub macros and hopefully few prototypes,
32359 which can conflict with char $ac_func (); below.
32360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32361 <limits.h> exists even on freestanding compilers. */
32364 # include <limits.h>
32366 # include <assert.h>
32371 /* Override any gcc2 internal prototype to avoid an error. */
32376 /* We use char because int might match the return type of a gcc2
32377 builtin and then its argument prototype would still apply. */
32379 /* The GNU C library defines this for functions which it implements
32380 to always fail with ENOSYS. Some functions are actually named
32381 something starting with __ and the normal name is an alias. */
32382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32385 char (*f) () = $ac_func;
32394 return f != $ac_func;
32399 rm -f conftest.
$ac_objext conftest
$ac_exeext
32400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32401 (eval $ac_link) 2>conftest.er1
32403 grep -v '^ *+' conftest.er1
>conftest.err
32405 cat conftest.err
>&5
32406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32407 (exit $ac_status); } &&
32408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32410 (eval $ac_try) 2>&5
32412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32413 (exit $ac_status); }; } &&
32414 { ac_try
='test -s conftest$ac_exeext'
32415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32416 (eval $ac_try) 2>&5
32418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32419 (exit $ac_status); }; }; then
32420 eval "$as_ac_var=yes"
32422 echo "$as_me: failed program was:" >&5
32423 sed 's/^/| /' conftest.
$ac_ext >&5
32425 eval "$as_ac_var=no"
32427 rm -f conftest.err conftest.
$ac_objext \
32428 conftest
$ac_exeext conftest.
$ac_ext
32430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32432 if test `eval echo '${'$as_ac_var'}'` = yes; then
32433 cat >>confdefs.h
<<_ACEOF
32434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32442 if test "$wxUSE_FILE" = "yes"; then
32444 for ac_func
in fsync
32446 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32447 echo "$as_me:$LINENO: checking for $ac_func" >&5
32448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32449 if eval "test \"\${$as_ac_var+set}\" = set"; then
32450 echo $ECHO_N "(cached) $ECHO_C" >&6
32452 cat >conftest.
$ac_ext <<_ACEOF
32455 cat confdefs.h
>>conftest.
$ac_ext
32456 cat >>conftest.
$ac_ext <<_ACEOF
32457 /* end confdefs.h. */
32458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32460 #define $ac_func innocuous_$ac_func
32462 /* System header to define __stub macros and hopefully few prototypes,
32463 which can conflict with char $ac_func (); below.
32464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32465 <limits.h> exists even on freestanding compilers. */
32468 # include <limits.h>
32470 # include <assert.h>
32475 /* Override any gcc2 internal prototype to avoid an error. */
32480 /* We use char because int might match the return type of a gcc2
32481 builtin and then its argument prototype would still apply. */
32483 /* The GNU C library defines this for functions which it implements
32484 to always fail with ENOSYS. Some functions are actually named
32485 something starting with __ and the normal name is an alias. */
32486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32489 char (*f) () = $ac_func;
32498 return f != $ac_func;
32503 rm -f conftest.
$ac_objext conftest
$ac_exeext
32504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32505 (eval $ac_link) 2>conftest.er1
32507 grep -v '^ *+' conftest.er1
>conftest.err
32509 cat conftest.err
>&5
32510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32511 (exit $ac_status); } &&
32512 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32514 (eval $ac_try) 2>&5
32516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32517 (exit $ac_status); }; } &&
32518 { ac_try
='test -s conftest$ac_exeext'
32519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32520 (eval $ac_try) 2>&5
32522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32523 (exit $ac_status); }; }; then
32524 eval "$as_ac_var=yes"
32526 echo "$as_me: failed program was:" >&5
32527 sed 's/^/| /' conftest.
$ac_ext >&5
32529 eval "$as_ac_var=no"
32531 rm -f conftest.err conftest.
$ac_objext \
32532 conftest
$ac_exeext conftest.
$ac_ext
32534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32536 if test `eval echo '${'$as_ac_var'}'` = yes; then
32537 cat >>confdefs.h
<<_ACEOF
32538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32547 if test "$TOOLKIT" != "MSW"; then
32553 ac_cpp
='$CXXCPP $CPPFLAGS'
32554 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32555 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32556 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32561 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
32562 if test "${with_libiconv_prefix+set}" = set; then
32563 withval
="$with_libiconv_prefix"
32565 for dir
in `echo "$withval" | tr : ' '`; do
32566 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
32567 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
32572 echo "$as_me:$LINENO: checking for iconv" >&5
32573 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
32574 if test "${am_cv_func_iconv+set}" = set; then
32575 echo $ECHO_N "(cached) $ECHO_C" >&6
32578 am_cv_func_iconv
="no, consider installing GNU libiconv"
32580 cat >conftest.
$ac_ext <<_ACEOF
32583 cat confdefs.h
>>conftest.
$ac_ext
32584 cat >>conftest.
$ac_ext <<_ACEOF
32585 /* end confdefs.h. */
32586 #include <stdlib.h>
32591 iconv_t cd = iconv_open("","");
32592 iconv(cd,NULL,NULL,NULL,NULL);
32598 rm -f conftest.
$ac_objext conftest
$ac_exeext
32599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32600 (eval $ac_link) 2>conftest.er1
32602 grep -v '^ *+' conftest.er1
>conftest.err
32604 cat conftest.err
>&5
32605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32606 (exit $ac_status); } &&
32607 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32609 (eval $ac_try) 2>&5
32611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32612 (exit $ac_status); }; } &&
32613 { ac_try
='test -s conftest$ac_exeext'
32614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32615 (eval $ac_try) 2>&5
32617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32618 (exit $ac_status); }; }; then
32619 am_cv_func_iconv
=yes
32621 echo "$as_me: failed program was:" >&5
32622 sed 's/^/| /' conftest.
$ac_ext >&5
32625 rm -f conftest.err conftest.
$ac_objext \
32626 conftest
$ac_exeext conftest.
$ac_ext
32627 if test "$am_cv_func_iconv" != yes; then
32628 am_save_LIBS
="$LIBS"
32629 LIBS
="$LIBS -liconv"
32630 cat >conftest.
$ac_ext <<_ACEOF
32633 cat confdefs.h
>>conftest.
$ac_ext
32634 cat >>conftest.
$ac_ext <<_ACEOF
32635 /* end confdefs.h. */
32636 #include <stdlib.h>
32641 iconv_t cd = iconv_open("","");
32642 iconv(cd,NULL,NULL,NULL,NULL);
32648 rm -f conftest.
$ac_objext conftest
$ac_exeext
32649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32650 (eval $ac_link) 2>conftest.er1
32652 grep -v '^ *+' conftest.er1
>conftest.err
32654 cat conftest.err
>&5
32655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32656 (exit $ac_status); } &&
32657 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32659 (eval $ac_try) 2>&5
32661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32662 (exit $ac_status); }; } &&
32663 { ac_try
='test -s conftest$ac_exeext'
32664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32665 (eval $ac_try) 2>&5
32667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32668 (exit $ac_status); }; }; then
32669 am_cv_lib_iconv
=yes
32670 am_cv_func_iconv
=yes
32672 echo "$as_me: failed program was:" >&5
32673 sed 's/^/| /' conftest.
$ac_ext >&5
32676 rm -f conftest.err conftest.
$ac_objext \
32677 conftest
$ac_exeext conftest.
$ac_ext
32678 LIBS
="$am_save_LIBS"
32682 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
32683 echo "${ECHO_T}$am_cv_func_iconv" >&6
32684 if test "$am_cv_func_iconv" = yes; then
32686 cat >>confdefs.h
<<\_ACEOF
32687 #define HAVE_ICONV 1
32690 echo "$as_me:$LINENO: checking if iconv needs const" >&5
32691 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
32692 if test "${wx_cv_func_iconv_const+set}" = set; then
32693 echo $ECHO_N "(cached) $ECHO_C" >&6
32695 cat >conftest.
$ac_ext <<_ACEOF
32698 cat confdefs.h
>>conftest.
$ac_ext
32699 cat >>conftest.
$ac_ext <<_ACEOF
32700 /* end confdefs.h. */
32702 #include <stdlib.h>
32708 #if defined(__STDC__) || defined(__cplusplus)
32709 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
32722 rm -f conftest.
$ac_objext
32723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32724 (eval $ac_compile) 2>conftest.er1
32726 grep -v '^ *+' conftest.er1
>conftest.err
32728 cat conftest.err
>&5
32729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32730 (exit $ac_status); } &&
32731 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32733 (eval $ac_try) 2>&5
32735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32736 (exit $ac_status); }; } &&
32737 { ac_try
='test -s conftest.$ac_objext'
32738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32739 (eval $ac_try) 2>&5
32741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742 (exit $ac_status); }; }; then
32743 wx_cv_func_iconv_const
="no"
32745 echo "$as_me: failed program was:" >&5
32746 sed 's/^/| /' conftest.
$ac_ext >&5
32748 wx_cv_func_iconv_const
="yes"
32751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32754 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
32755 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
32758 if test "x$wx_cv_func_iconv_const" = "xyes"; then
32759 iconv_const
="const"
32763 cat >>confdefs.h
<<_ACEOF
32764 #define ICONV_CONST $iconv_const
32769 if test "$am_cv_lib_iconv" = yes; then
32774 LIBS
="$LIBICONV $LIBS"
32776 ac_cpp
='$CPP $CPPFLAGS'
32777 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32778 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32779 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32782 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32784 for ac_func
in sigaction
32786 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32787 echo "$as_me:$LINENO: checking for $ac_func" >&5
32788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32789 if eval "test \"\${$as_ac_var+set}\" = set"; then
32790 echo $ECHO_N "(cached) $ECHO_C" >&6
32792 cat >conftest.
$ac_ext <<_ACEOF
32795 cat confdefs.h
>>conftest.
$ac_ext
32796 cat >>conftest.
$ac_ext <<_ACEOF
32797 /* end confdefs.h. */
32798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32800 #define $ac_func innocuous_$ac_func
32802 /* System header to define __stub macros and hopefully few prototypes,
32803 which can conflict with char $ac_func (); below.
32804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32805 <limits.h> exists even on freestanding compilers. */
32808 # include <limits.h>
32810 # include <assert.h>
32815 /* Override any gcc2 internal prototype to avoid an error. */
32820 /* We use char because int might match the return type of a gcc2
32821 builtin and then its argument prototype would still apply. */
32823 /* The GNU C library defines this for functions which it implements
32824 to always fail with ENOSYS. Some functions are actually named
32825 something starting with __ and the normal name is an alias. */
32826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32829 char (*f) () = $ac_func;
32838 return f != $ac_func;
32843 rm -f conftest.
$ac_objext conftest
$ac_exeext
32844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32845 (eval $ac_link) 2>conftest.er1
32847 grep -v '^ *+' conftest.er1
>conftest.err
32849 cat conftest.err
>&5
32850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32851 (exit $ac_status); } &&
32852 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32854 (eval $ac_try) 2>&5
32856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32857 (exit $ac_status); }; } &&
32858 { ac_try
='test -s conftest$ac_exeext'
32859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32860 (eval $ac_try) 2>&5
32862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32863 (exit $ac_status); }; }; then
32864 eval "$as_ac_var=yes"
32866 echo "$as_me: failed program was:" >&5
32867 sed 's/^/| /' conftest.
$ac_ext >&5
32869 eval "$as_ac_var=no"
32871 rm -f conftest.err conftest.
$ac_objext \
32872 conftest
$ac_exeext conftest.
$ac_ext
32874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32876 if test `eval echo '${'$as_ac_var'}'` = yes; then
32877 cat >>confdefs.h
<<_ACEOF
32878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32885 if test "$ac_cv_func_sigaction" = "no"; then
32886 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
32887 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
32888 wxUSE_ON_FATAL_EXCEPTION
=no
32891 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
32895 ac_cpp
='$CXXCPP $CPPFLAGS'
32896 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32897 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32898 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32901 echo "$as_me:$LINENO: checking for sa_handler type" >&5
32902 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
32903 if test "${wx_cv_type_sa_handler+set}" = set; then
32904 echo $ECHO_N "(cached) $ECHO_C" >&6
32907 cat >conftest.
$ac_ext <<_ACEOF
32910 cat confdefs.h
>>conftest.
$ac_ext
32911 cat >>conftest.
$ac_ext <<_ACEOF
32912 /* end confdefs.h. */
32913 #include <signal.h>
32918 extern void testSigHandler(int);
32920 struct sigaction sa;
32921 sa.sa_handler = testSigHandler;
32927 rm -f conftest.
$ac_objext
32928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32929 (eval $ac_compile) 2>conftest.er1
32931 grep -v '^ *+' conftest.er1
>conftest.err
32933 cat conftest.err
>&5
32934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32935 (exit $ac_status); } &&
32936 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32938 (eval $ac_try) 2>&5
32940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32941 (exit $ac_status); }; } &&
32942 { ac_try
='test -s conftest.$ac_objext'
32943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32944 (eval $ac_try) 2>&5
32946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32947 (exit $ac_status); }; }; then
32949 wx_cv_type_sa_handler
=int
32952 echo "$as_me: failed program was:" >&5
32953 sed 's/^/| /' conftest.
$ac_ext >&5
32956 wx_cv_type_sa_handler
=void
32959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32962 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
32963 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
32966 ac_cpp
='$CPP $CPPFLAGS'
32967 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32968 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32969 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32972 cat >>confdefs.h
<<_ACEOF
32973 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
32979 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32983 ac_cpp
='$CXXCPP $CPPFLAGS'
32984 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32985 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32986 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32989 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
32990 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
32991 if test "${wx_cv_func_backtrace+set}" = set; then
32992 echo $ECHO_N "(cached) $ECHO_C" >&6
32995 cat >conftest.
$ac_ext <<_ACEOF
32998 cat confdefs.h
>>conftest.
$ac_ext
32999 cat >>conftest.
$ac_ext <<_ACEOF
33000 /* end confdefs.h. */
33001 #include <execinfo.h>
33009 backtrace(trace, 1);
33010 messages = backtrace_symbols(trace, 1);
33016 rm -f conftest.
$ac_objext
33017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33018 (eval $ac_compile) 2>conftest.er1
33020 grep -v '^ *+' conftest.er1
>conftest.err
33022 cat conftest.err
>&5
33023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33024 (exit $ac_status); } &&
33025 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33027 (eval $ac_try) 2>&5
33029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33030 (exit $ac_status); }; } &&
33031 { ac_try
='test -s conftest.$ac_objext'
33032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33033 (eval $ac_try) 2>&5
33035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33036 (exit $ac_status); }; }; then
33037 wx_cv_func_backtrace
=yes
33039 echo "$as_me: failed program was:" >&5
33040 sed 's/^/| /' conftest.
$ac_ext >&5
33042 wx_cv_func_backtrace
=no
33045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33049 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
33050 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
33053 if test "$wx_cv_func_backtrace" = "no"; then
33054 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
33055 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
33056 wxUSE_STACKWALKER
=no
33058 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
33059 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
33060 if test "${wx_cv_func_cxa_demangle+set}" = set; then
33061 echo $ECHO_N "(cached) $ECHO_C" >&6
33064 cat >conftest.
$ac_ext <<_ACEOF
33067 cat confdefs.h
>>conftest.
$ac_ext
33068 cat >>conftest.
$ac_ext <<_ACEOF
33069 /* end confdefs.h. */
33070 #include <cxxabi.h>
33076 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
33082 rm -f conftest.
$ac_objext conftest
$ac_exeext
33083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33084 (eval $ac_link) 2>conftest.er1
33086 grep -v '^ *+' conftest.er1
>conftest.err
33088 cat conftest.err
>&5
33089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33090 (exit $ac_status); } &&
33091 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33093 (eval $ac_try) 2>&5
33095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33096 (exit $ac_status); }; } &&
33097 { ac_try
='test -s conftest$ac_exeext'
33098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33099 (eval $ac_try) 2>&5
33101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33102 (exit $ac_status); }; }; then
33103 wx_cv_func_cxa_demangle
=yes
33105 echo "$as_me: failed program was:" >&5
33106 sed 's/^/| /' conftest.
$ac_ext >&5
33108 wx_cv_func_cxa_demangle
=no
33111 rm -f conftest.err conftest.
$ac_objext \
33112 conftest
$ac_exeext conftest.
$ac_ext
33116 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
33117 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
33119 if test "$wx_cv_func_cxa_demangle" = "yes"; then
33120 cat >>confdefs.h
<<\_ACEOF
33121 #define HAVE_CXA_DEMANGLE 1
33128 ac_cpp
='$CPP $CPPFLAGS'
33129 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33130 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33131 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33135 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
33136 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
33137 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
33138 wxUSE_STACKWALKER
=no
33144 for ac_func
in mkstemp mktemp
33146 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33147 echo "$as_me:$LINENO: checking for $ac_func" >&5
33148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33149 if eval "test \"\${$as_ac_var+set}\" = set"; then
33150 echo $ECHO_N "(cached) $ECHO_C" >&6
33152 cat >conftest.
$ac_ext <<_ACEOF
33155 cat confdefs.h
>>conftest.
$ac_ext
33156 cat >>conftest.
$ac_ext <<_ACEOF
33157 /* end confdefs.h. */
33158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33160 #define $ac_func innocuous_$ac_func
33162 /* System header to define __stub macros and hopefully few prototypes,
33163 which can conflict with char $ac_func (); below.
33164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33165 <limits.h> exists even on freestanding compilers. */
33168 # include <limits.h>
33170 # include <assert.h>
33175 /* Override any gcc2 internal prototype to avoid an error. */
33180 /* We use char because int might match the return type of a gcc2
33181 builtin and then its argument prototype would still apply. */
33183 /* The GNU C library defines this for functions which it implements
33184 to always fail with ENOSYS. Some functions are actually named
33185 something starting with __ and the normal name is an alias. */
33186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33189 char (*f) () = $ac_func;
33198 return f != $ac_func;
33203 rm -f conftest.
$ac_objext conftest
$ac_exeext
33204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33205 (eval $ac_link) 2>conftest.er1
33207 grep -v '^ *+' conftest.er1
>conftest.err
33209 cat conftest.err
>&5
33210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33211 (exit $ac_status); } &&
33212 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33214 (eval $ac_try) 2>&5
33216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33217 (exit $ac_status); }; } &&
33218 { ac_try
='test -s conftest$ac_exeext'
33219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33220 (eval $ac_try) 2>&5
33222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33223 (exit $ac_status); }; }; then
33224 eval "$as_ac_var=yes"
33226 echo "$as_me: failed program was:" >&5
33227 sed 's/^/| /' conftest.
$ac_ext >&5
33229 eval "$as_ac_var=no"
33231 rm -f conftest.err conftest.
$ac_objext \
33232 conftest
$ac_exeext conftest.
$ac_ext
33234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33236 if test `eval echo '${'$as_ac_var'}'` = yes; then
33237 cat >>confdefs.h
<<_ACEOF
33238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33245 echo "$as_me:$LINENO: checking for statfs" >&5
33246 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
33247 if test "${wx_cv_func_statfs+set}" = set; then
33248 echo $ECHO_N "(cached) $ECHO_C" >&6
33250 cat >conftest.
$ac_ext <<_ACEOF
33253 cat confdefs.h
>>conftest.
$ac_ext
33254 cat >>conftest.
$ac_ext <<_ACEOF
33255 /* end confdefs.h. */
33257 #if defined(__BSD__)
33258 #include <sys/param.h>
33259 #include <sys/mount.h>
33261 #include <sys/vfs.h>
33279 rm -f conftest.
$ac_objext
33280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33281 (eval $ac_compile) 2>conftest.er1
33283 grep -v '^ *+' conftest.er1
>conftest.err
33285 cat conftest.err
>&5
33286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33287 (exit $ac_status); } &&
33288 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33290 (eval $ac_try) 2>&5
33292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33293 (exit $ac_status); }; } &&
33294 { ac_try
='test -s conftest.$ac_objext'
33295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33296 (eval $ac_try) 2>&5
33298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33299 (exit $ac_status); }; }; then
33300 wx_cv_func_statfs
=yes
33302 echo "$as_me: failed program was:" >&5
33303 sed 's/^/| /' conftest.
$ac_ext >&5
33305 wx_cv_func_statfs
=no
33308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33311 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
33312 echo "${ECHO_T}$wx_cv_func_statfs" >&6
33314 if test "$wx_cv_func_statfs" = "yes"; then
33318 ac_cpp
='$CXXCPP $CPPFLAGS'
33319 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33320 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33321 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33323 echo "$as_me:$LINENO: checking for statfs declaration" >&5
33324 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
33325 if test "${wx_cv_func_statfs_decl+set}" = set; then
33326 echo $ECHO_N "(cached) $ECHO_C" >&6
33328 cat >conftest.
$ac_ext <<_ACEOF
33331 cat confdefs.h
>>conftest.
$ac_ext
33332 cat >>conftest.
$ac_ext <<_ACEOF
33333 /* end confdefs.h. */
33335 #if defined(__BSD__)
33336 #include <sys/param.h>
33337 #include <sys/mount.h>
33339 #include <sys/vfs.h>
33353 rm -f conftest.
$ac_objext
33354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33355 (eval $ac_compile) 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); } &&
33362 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33364 (eval $ac_try) 2>&5
33366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33367 (exit $ac_status); }; } &&
33368 { ac_try
='test -s conftest.$ac_objext'
33369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33370 (eval $ac_try) 2>&5
33372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33373 (exit $ac_status); }; }; then
33374 wx_cv_func_statfs_decl
=yes
33376 echo "$as_me: failed program was:" >&5
33377 sed 's/^/| /' conftest.
$ac_ext >&5
33379 wx_cv_func_statfs_decl
=no
33382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33385 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
33386 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
33388 ac_cpp
='$CPP $CPPFLAGS'
33389 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33390 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33391 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33394 if test "$wx_cv_func_statfs_decl" = "yes"; then
33395 cat >>confdefs.h
<<\_ACEOF
33396 #define HAVE_STATFS_DECL 1
33401 wx_cv_type_statvfs_t
="struct statfs"
33402 cat >>confdefs.h
<<\_ACEOF
33403 #define HAVE_STATFS 1
33407 echo "$as_me:$LINENO: checking for statvfs" >&5
33408 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
33409 if test "${wx_cv_func_statvfs+set}" = set; then
33410 echo $ECHO_N "(cached) $ECHO_C" >&6
33412 cat >conftest.
$ac_ext <<_ACEOF
33415 cat confdefs.h
>>conftest.
$ac_ext
33416 cat >>conftest.
$ac_ext <<_ACEOF
33417 /* end confdefs.h. */
33419 #include <stddef.h>
33420 #include <sys/statvfs.h>
33426 statvfs("/", NULL);
33432 rm -f conftest.
$ac_objext
33433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33434 (eval $ac_compile) 2>conftest.er1
33436 grep -v '^ *+' conftest.er1
>conftest.err
33438 cat conftest.err
>&5
33439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33440 (exit $ac_status); } &&
33441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33443 (eval $ac_try) 2>&5
33445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33446 (exit $ac_status); }; } &&
33447 { ac_try
='test -s conftest.$ac_objext'
33448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33449 (eval $ac_try) 2>&5
33451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33452 (exit $ac_status); }; }; then
33453 wx_cv_func_statvfs
=yes
33455 echo "$as_me: failed program was:" >&5
33456 sed 's/^/| /' conftest.
$ac_ext >&5
33458 wx_cv_func_statvfs
=no
33461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33464 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
33465 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
33467 if test "$wx_cv_func_statvfs" = "yes"; then
33471 ac_cpp
='$CXXCPP $CPPFLAGS'
33472 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33473 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33474 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33477 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
33478 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
33479 if test "${wx_cv_type_statvfs_t+set}" = set; then
33480 echo $ECHO_N "(cached) $ECHO_C" >&6
33482 cat >conftest.
$ac_ext <<_ACEOF
33485 cat confdefs.h
>>conftest.
$ac_ext
33486 cat >>conftest.
$ac_ext <<_ACEOF
33487 /* end confdefs.h. */
33489 #include <sys/statvfs.h>
33506 rm -f conftest.
$ac_objext
33507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33508 (eval $ac_compile) 2>conftest.er1
33510 grep -v '^ *+' conftest.er1
>conftest.err
33512 cat conftest.err
>&5
33513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33514 (exit $ac_status); } &&
33515 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33517 (eval $ac_try) 2>&5
33519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33520 (exit $ac_status); }; } &&
33521 { ac_try
='test -s conftest.$ac_objext'
33522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33523 (eval $ac_try) 2>&5
33525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33526 (exit $ac_status); }; }; then
33527 wx_cv_type_statvfs_t
=statvfs_t
33529 echo "$as_me: failed program was:" >&5
33530 sed 's/^/| /' conftest.
$ac_ext >&5
33533 cat >conftest.
$ac_ext <<_ACEOF
33536 cat confdefs.h
>>conftest.
$ac_ext
33537 cat >>conftest.
$ac_ext <<_ACEOF
33538 /* end confdefs.h. */
33540 #include <sys/statvfs.h>
33557 rm -f conftest.
$ac_objext
33558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33559 (eval $ac_compile) 2>conftest.er1
33561 grep -v '^ *+' conftest.er1
>conftest.err
33563 cat conftest.err
>&5
33564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33565 (exit $ac_status); } &&
33566 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33568 (eval $ac_try) 2>&5
33570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33571 (exit $ac_status); }; } &&
33572 { ac_try
='test -s conftest.$ac_objext'
33573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33574 (eval $ac_try) 2>&5
33576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33577 (exit $ac_status); }; }; then
33578 wx_cv_type_statvfs_t
="struct statvfs"
33580 echo "$as_me: failed program was:" >&5
33581 sed 's/^/| /' conftest.
$ac_ext >&5
33583 wx_cv_type_statvfs_t
="unknown"
33586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33593 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
33594 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
33597 ac_cpp
='$CPP $CPPFLAGS'
33598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33603 if test "$wx_cv_type_statvfs_t" != "unknown"; then
33604 cat >>confdefs.h
<<\_ACEOF
33605 #define HAVE_STATVFS 1
33610 wx_cv_type_statvfs_t
="unknown"
33614 if test "$wx_cv_type_statvfs_t" != "unknown"; then
33615 cat >>confdefs.h
<<_ACEOF
33616 #define WX_STATFS_T $wx_cv_type_statvfs_t
33620 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
33621 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
33624 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
33627 for ac_func
in fcntl flock
33629 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33630 echo "$as_me:$LINENO: checking for $ac_func" >&5
33631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33632 if eval "test \"\${$as_ac_var+set}\" = set"; then
33633 echo $ECHO_N "(cached) $ECHO_C" >&6
33635 cat >conftest.
$ac_ext <<_ACEOF
33638 cat confdefs.h
>>conftest.
$ac_ext
33639 cat >>conftest.
$ac_ext <<_ACEOF
33640 /* end confdefs.h. */
33641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33643 #define $ac_func innocuous_$ac_func
33645 /* System header to define __stub macros and hopefully few prototypes,
33646 which can conflict with char $ac_func (); below.
33647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33648 <limits.h> exists even on freestanding compilers. */
33651 # include <limits.h>
33653 # include <assert.h>
33658 /* Override any gcc2 internal prototype to avoid an error. */
33663 /* We use char because int might match the return type of a gcc2
33664 builtin and then its argument prototype would still apply. */
33666 /* The GNU C library defines this for functions which it implements
33667 to always fail with ENOSYS. Some functions are actually named
33668 something starting with __ and the normal name is an alias. */
33669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33672 char (*f) () = $ac_func;
33681 return f != $ac_func;
33686 rm -f conftest.
$ac_objext conftest
$ac_exeext
33687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33688 (eval $ac_link) 2>conftest.er1
33690 grep -v '^ *+' conftest.er1
>conftest.err
33692 cat conftest.err
>&5
33693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33694 (exit $ac_status); } &&
33695 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33697 (eval $ac_try) 2>&5
33699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33700 (exit $ac_status); }; } &&
33701 { ac_try
='test -s conftest$ac_exeext'
33702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33703 (eval $ac_try) 2>&5
33705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33706 (exit $ac_status); }; }; then
33707 eval "$as_ac_var=yes"
33709 echo "$as_me: failed program was:" >&5
33710 sed 's/^/| /' conftest.
$ac_ext >&5
33712 eval "$as_ac_var=no"
33714 rm -f conftest.err conftest.
$ac_objext \
33715 conftest
$ac_exeext conftest.
$ac_ext
33717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33719 if test `eval echo '${'$as_ac_var'}'` = yes; then
33720 cat >>confdefs.h
<<_ACEOF
33721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33728 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
33729 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
33730 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
33731 wxUSE_SNGLINST_CHECKER
=no
33736 for ac_func
in timegm
33738 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33739 echo "$as_me:$LINENO: checking for $ac_func" >&5
33740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33741 if eval "test \"\${$as_ac_var+set}\" = set"; then
33742 echo $ECHO_N "(cached) $ECHO_C" >&6
33744 cat >conftest.
$ac_ext <<_ACEOF
33747 cat confdefs.h
>>conftest.
$ac_ext
33748 cat >>conftest.
$ac_ext <<_ACEOF
33749 /* end confdefs.h. */
33750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33752 #define $ac_func innocuous_$ac_func
33754 /* System header to define __stub macros and hopefully few prototypes,
33755 which can conflict with char $ac_func (); below.
33756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33757 <limits.h> exists even on freestanding compilers. */
33760 # include <limits.h>
33762 # include <assert.h>
33767 /* Override any gcc2 internal prototype to avoid an error. */
33772 /* We use char because int might match the return type of a gcc2
33773 builtin and then its argument prototype would still apply. */
33775 /* The GNU C library defines this for functions which it implements
33776 to always fail with ENOSYS. Some functions are actually named
33777 something starting with __ and the normal name is an alias. */
33778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33781 char (*f) () = $ac_func;
33790 return f != $ac_func;
33795 rm -f conftest.
$ac_objext conftest
$ac_exeext
33796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33797 (eval $ac_link) 2>conftest.er1
33799 grep -v '^ *+' conftest.er1
>conftest.err
33801 cat conftest.err
>&5
33802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33803 (exit $ac_status); } &&
33804 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33806 (eval $ac_try) 2>&5
33808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33809 (exit $ac_status); }; } &&
33810 { ac_try
='test -s conftest$ac_exeext'
33811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33812 (eval $ac_try) 2>&5
33814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33815 (exit $ac_status); }; }; then
33816 eval "$as_ac_var=yes"
33818 echo "$as_me: failed program was:" >&5
33819 sed 's/^/| /' conftest.
$ac_ext >&5
33821 eval "$as_ac_var=no"
33823 rm -f conftest.err conftest.
$ac_objext \
33824 conftest
$ac_exeext conftest.
$ac_ext
33826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33828 if test `eval echo '${'$as_ac_var'}'` = yes; then
33829 cat >>confdefs.h
<<_ACEOF
33830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33839 for ac_func
in putenv setenv
33841 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33842 echo "$as_me:$LINENO: checking for $ac_func" >&5
33843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33844 if eval "test \"\${$as_ac_var+set}\" = set"; then
33845 echo $ECHO_N "(cached) $ECHO_C" >&6
33847 cat >conftest.
$ac_ext <<_ACEOF
33850 cat confdefs.h
>>conftest.
$ac_ext
33851 cat >>conftest.
$ac_ext <<_ACEOF
33852 /* end confdefs.h. */
33853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33855 #define $ac_func innocuous_$ac_func
33857 /* System header to define __stub macros and hopefully few prototypes,
33858 which can conflict with char $ac_func (); below.
33859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33860 <limits.h> exists even on freestanding compilers. */
33863 # include <limits.h>
33865 # include <assert.h>
33870 /* Override any gcc2 internal prototype to avoid an error. */
33875 /* We use char because int might match the return type of a gcc2
33876 builtin and then its argument prototype would still apply. */
33878 /* The GNU C library defines this for functions which it implements
33879 to always fail with ENOSYS. Some functions are actually named
33880 something starting with __ and the normal name is an alias. */
33881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33884 char (*f) () = $ac_func;
33893 return f != $ac_func;
33898 rm -f conftest.
$ac_objext conftest
$ac_exeext
33899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33900 (eval $ac_link) 2>conftest.er1
33902 grep -v '^ *+' conftest.er1
>conftest.err
33904 cat conftest.err
>&5
33905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33906 (exit $ac_status); } &&
33907 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33909 (eval $ac_try) 2>&5
33911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33912 (exit $ac_status); }; } &&
33913 { ac_try
='test -s conftest$ac_exeext'
33914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33915 (eval $ac_try) 2>&5
33917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33918 (exit $ac_status); }; }; then
33919 eval "$as_ac_var=yes"
33921 echo "$as_me: failed program was:" >&5
33922 sed 's/^/| /' conftest.
$ac_ext >&5
33924 eval "$as_ac_var=no"
33926 rm -f conftest.err conftest.
$ac_objext \
33927 conftest
$ac_exeext conftest.
$ac_ext
33929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33931 if test `eval echo '${'$as_ac_var'}'` = yes; then
33932 cat >>confdefs.h
<<_ACEOF
33933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33940 HAVE_SOME_SLEEP_FUNC
=0
33941 if test "$USE_BEOS" = 1; then
33942 cat >>confdefs.h
<<\_ACEOF
33943 #define HAVE_SLEEP 1
33946 HAVE_SOME_SLEEP_FUNC
=1
33949 if test "$USE_DARWIN" = 1; then
33950 cat >>confdefs.h
<<\_ACEOF
33951 #define HAVE_USLEEP 1
33954 HAVE_SOME_SLEEP_FUNC
=1
33957 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
33960 for ac_func
in nanosleep
33962 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33963 echo "$as_me:$LINENO: checking for $ac_func" >&5
33964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33965 if eval "test \"\${$as_ac_var+set}\" = set"; then
33966 echo $ECHO_N "(cached) $ECHO_C" >&6
33968 cat >conftest.
$ac_ext <<_ACEOF
33971 cat confdefs.h
>>conftest.
$ac_ext
33972 cat >>conftest.
$ac_ext <<_ACEOF
33973 /* end confdefs.h. */
33974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33976 #define $ac_func innocuous_$ac_func
33978 /* System header to define __stub macros and hopefully few prototypes,
33979 which can conflict with char $ac_func (); below.
33980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33981 <limits.h> exists even on freestanding compilers. */
33984 # include <limits.h>
33986 # include <assert.h>
33991 /* Override any gcc2 internal prototype to avoid an error. */
33996 /* We use char because int might match the return type of a gcc2
33997 builtin and then its argument prototype would still apply. */
33999 /* The GNU C library defines this for functions which it implements
34000 to always fail with ENOSYS. Some functions are actually named
34001 something starting with __ and the normal name is an alias. */
34002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34005 char (*f) () = $ac_func;
34014 return f != $ac_func;
34019 rm -f conftest.
$ac_objext conftest
$ac_exeext
34020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34021 (eval $ac_link) 2>conftest.er1
34023 grep -v '^ *+' conftest.er1
>conftest.err
34025 cat conftest.err
>&5
34026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027 (exit $ac_status); } &&
34028 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34030 (eval $ac_try) 2>&5
34032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34033 (exit $ac_status); }; } &&
34034 { ac_try
='test -s conftest$ac_exeext'
34035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34036 (eval $ac_try) 2>&5
34038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34039 (exit $ac_status); }; }; then
34040 eval "$as_ac_var=yes"
34042 echo "$as_me: failed program was:" >&5
34043 sed 's/^/| /' conftest.
$ac_ext >&5
34045 eval "$as_ac_var=no"
34047 rm -f conftest.err conftest.
$ac_objext \
34048 conftest
$ac_exeext conftest.
$ac_ext
34050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34052 if test `eval echo '${'$as_ac_var'}'` = yes; then
34053 cat >>confdefs.h
<<_ACEOF
34054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34056 cat >>confdefs.h
<<\_ACEOF
34057 #define HAVE_NANOSLEEP 1
34062 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
34063 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
34064 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
34065 echo $ECHO_N "(cached) $ECHO_C" >&6
34067 ac_check_lib_save_LIBS
=$LIBS
34068 LIBS
="-lposix4 $LIBS"
34069 cat >conftest.
$ac_ext <<_ACEOF
34072 cat confdefs.h
>>conftest.
$ac_ext
34073 cat >>conftest.
$ac_ext <<_ACEOF
34074 /* end confdefs.h. */
34076 /* Override any gcc2 internal prototype to avoid an error. */
34080 /* We use char because int might match the return type of a gcc2
34081 builtin and then its argument prototype would still apply. */
34091 rm -f conftest.
$ac_objext conftest
$ac_exeext
34092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34093 (eval $ac_link) 2>conftest.er1
34095 grep -v '^ *+' conftest.er1
>conftest.err
34097 cat conftest.err
>&5
34098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34099 (exit $ac_status); } &&
34100 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34102 (eval $ac_try) 2>&5
34104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34105 (exit $ac_status); }; } &&
34106 { ac_try
='test -s conftest$ac_exeext'
34107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34108 (eval $ac_try) 2>&5
34110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34111 (exit $ac_status); }; }; then
34112 ac_cv_lib_posix4_nanosleep
=yes
34114 echo "$as_me: failed program was:" >&5
34115 sed 's/^/| /' conftest.
$ac_ext >&5
34117 ac_cv_lib_posix4_nanosleep
=no
34119 rm -f conftest.err conftest.
$ac_objext \
34120 conftest
$ac_exeext conftest.
$ac_ext
34121 LIBS
=$ac_check_lib_save_LIBS
34123 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
34124 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
34125 if test $ac_cv_lib_posix4_nanosleep = yes; then
34127 cat >>confdefs.h
<<\_ACEOF
34128 #define HAVE_NANOSLEEP 1
34131 POSIX4_LINK
=" -lposix4"
34136 for ac_func
in usleep
34138 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34139 echo "$as_me:$LINENO: checking for $ac_func" >&5
34140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34141 if eval "test \"\${$as_ac_var+set}\" = set"; then
34142 echo $ECHO_N "(cached) $ECHO_C" >&6
34144 cat >conftest.
$ac_ext <<_ACEOF
34147 cat confdefs.h
>>conftest.
$ac_ext
34148 cat >>conftest.
$ac_ext <<_ACEOF
34149 /* end confdefs.h. */
34150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34152 #define $ac_func innocuous_$ac_func
34154 /* System header to define __stub macros and hopefully few prototypes,
34155 which can conflict with char $ac_func (); below.
34156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34157 <limits.h> exists even on freestanding compilers. */
34160 # include <limits.h>
34162 # include <assert.h>
34167 /* Override any gcc2 internal prototype to avoid an error. */
34172 /* We use char because int might match the return type of a gcc2
34173 builtin and then its argument prototype would still apply. */
34175 /* The GNU C library defines this for functions which it implements
34176 to always fail with ENOSYS. Some functions are actually named
34177 something starting with __ and the normal name is an alias. */
34178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34181 char (*f) () = $ac_func;
34190 return f != $ac_func;
34195 rm -f conftest.
$ac_objext conftest
$ac_exeext
34196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34197 (eval $ac_link) 2>conftest.er1
34199 grep -v '^ *+' conftest.er1
>conftest.err
34201 cat conftest.err
>&5
34202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34203 (exit $ac_status); } &&
34204 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34206 (eval $ac_try) 2>&5
34208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34209 (exit $ac_status); }; } &&
34210 { ac_try
='test -s conftest$ac_exeext'
34211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34212 (eval $ac_try) 2>&5
34214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34215 (exit $ac_status); }; }; then
34216 eval "$as_ac_var=yes"
34218 echo "$as_me: failed program was:" >&5
34219 sed 's/^/| /' conftest.
$ac_ext >&5
34221 eval "$as_ac_var=no"
34223 rm -f conftest.err conftest.
$ac_objext \
34224 conftest
$ac_exeext conftest.
$ac_ext
34226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34228 if test `eval echo '${'$as_ac_var'}'` = yes; then
34229 cat >>confdefs.h
<<_ACEOF
34230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34232 cat >>confdefs.h
<<\_ACEOF
34233 #define HAVE_USLEEP 1
34237 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
34238 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
34256 for ac_func
in uname gethostname
34258 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34259 echo "$as_me:$LINENO: checking for $ac_func" >&5
34260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34261 if eval "test \"\${$as_ac_var+set}\" = set"; then
34262 echo $ECHO_N "(cached) $ECHO_C" >&6
34264 cat >conftest.
$ac_ext <<_ACEOF
34267 cat confdefs.h
>>conftest.
$ac_ext
34268 cat >>conftest.
$ac_ext <<_ACEOF
34269 /* end confdefs.h. */
34270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34272 #define $ac_func innocuous_$ac_func
34274 /* System header to define __stub macros and hopefully few prototypes,
34275 which can conflict with char $ac_func (); below.
34276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34277 <limits.h> exists even on freestanding compilers. */
34280 # include <limits.h>
34282 # include <assert.h>
34287 /* Override any gcc2 internal prototype to avoid an error. */
34292 /* We use char because int might match the return type of a gcc2
34293 builtin and then its argument prototype would still apply. */
34295 /* The GNU C library defines this for functions which it implements
34296 to always fail with ENOSYS. Some functions are actually named
34297 something starting with __ and the normal name is an alias. */
34298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34301 char (*f) () = $ac_func;
34310 return f != $ac_func;
34315 rm -f conftest.
$ac_objext conftest
$ac_exeext
34316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34317 (eval $ac_link) 2>conftest.er1
34319 grep -v '^ *+' conftest.er1
>conftest.err
34321 cat conftest.err
>&5
34322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34323 (exit $ac_status); } &&
34324 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34326 (eval $ac_try) 2>&5
34328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34329 (exit $ac_status); }; } &&
34330 { ac_try
='test -s conftest$ac_exeext'
34331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34332 (eval $ac_try) 2>&5
34334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34335 (exit $ac_status); }; }; then
34336 eval "$as_ac_var=yes"
34338 echo "$as_me: failed program was:" >&5
34339 sed 's/^/| /' conftest.
$ac_ext >&5
34341 eval "$as_ac_var=no"
34343 rm -f conftest.err conftest.
$ac_objext \
34344 conftest
$ac_exeext conftest.
$ac_ext
34346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34348 if test `eval echo '${'$as_ac_var'}'` = yes; then
34349 cat >>confdefs.h
<<_ACEOF
34350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34360 ac_cpp
='$CXXCPP $CPPFLAGS'
34361 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34362 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34363 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34367 for ac_func
in strtok_r
34369 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34370 echo "$as_me:$LINENO: checking for $ac_func" >&5
34371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34372 if eval "test \"\${$as_ac_var+set}\" = set"; then
34373 echo $ECHO_N "(cached) $ECHO_C" >&6
34375 cat >conftest.
$ac_ext <<_ACEOF
34378 cat confdefs.h
>>conftest.
$ac_ext
34379 cat >>conftest.
$ac_ext <<_ACEOF
34380 /* end confdefs.h. */
34381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34383 #define $ac_func innocuous_$ac_func
34385 /* System header to define __stub macros and hopefully few prototypes,
34386 which can conflict with char $ac_func (); below.
34387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34388 <limits.h> exists even on freestanding compilers. */
34391 # include <limits.h>
34393 # include <assert.h>
34398 /* Override any gcc2 internal prototype to avoid an error. */
34403 /* We use char because int might match the return type of a gcc2
34404 builtin and then its argument prototype would still apply. */
34406 /* The GNU C library defines this for functions which it implements
34407 to always fail with ENOSYS. Some functions are actually named
34408 something starting with __ and the normal name is an alias. */
34409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34412 char (*f) () = $ac_func;
34421 return f != $ac_func;
34426 rm -f conftest.
$ac_objext conftest
$ac_exeext
34427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34428 (eval $ac_link) 2>conftest.er1
34430 grep -v '^ *+' conftest.er1
>conftest.err
34432 cat conftest.err
>&5
34433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34434 (exit $ac_status); } &&
34435 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34437 (eval $ac_try) 2>&5
34439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34440 (exit $ac_status); }; } &&
34441 { ac_try
='test -s conftest$ac_exeext'
34442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34443 (eval $ac_try) 2>&5
34445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34446 (exit $ac_status); }; }; then
34447 eval "$as_ac_var=yes"
34449 echo "$as_me: failed program was:" >&5
34450 sed 's/^/| /' conftest.
$ac_ext >&5
34452 eval "$as_ac_var=no"
34454 rm -f conftest.err conftest.
$ac_objext \
34455 conftest
$ac_exeext conftest.
$ac_ext
34457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34459 if test `eval echo '${'$as_ac_var'}'` = yes; then
34460 cat >>confdefs.h
<<_ACEOF
34461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34469 ac_cpp
='$CPP $CPPFLAGS'
34470 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34471 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34472 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34477 for ac_func
in inet_addr
34479 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34480 echo "$as_me:$LINENO: checking for $ac_func" >&5
34481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34482 if eval "test \"\${$as_ac_var+set}\" = set"; then
34483 echo $ECHO_N "(cached) $ECHO_C" >&6
34485 cat >conftest.
$ac_ext <<_ACEOF
34488 cat confdefs.h
>>conftest.
$ac_ext
34489 cat >>conftest.
$ac_ext <<_ACEOF
34490 /* end confdefs.h. */
34491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34493 #define $ac_func innocuous_$ac_func
34495 /* System header to define __stub macros and hopefully few prototypes,
34496 which can conflict with char $ac_func (); below.
34497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34498 <limits.h> exists even on freestanding compilers. */
34501 # include <limits.h>
34503 # include <assert.h>
34508 /* Override any gcc2 internal prototype to avoid an error. */
34513 /* We use char because int might match the return type of a gcc2
34514 builtin and then its argument prototype would still apply. */
34516 /* The GNU C library defines this for functions which it implements
34517 to always fail with ENOSYS. Some functions are actually named
34518 something starting with __ and the normal name is an alias. */
34519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34522 char (*f) () = $ac_func;
34531 return f != $ac_func;
34536 rm -f conftest.
$ac_objext conftest
$ac_exeext
34537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34538 (eval $ac_link) 2>conftest.er1
34540 grep -v '^ *+' conftest.er1
>conftest.err
34542 cat conftest.err
>&5
34543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34544 (exit $ac_status); } &&
34545 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34547 (eval $ac_try) 2>&5
34549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34550 (exit $ac_status); }; } &&
34551 { ac_try
='test -s conftest$ac_exeext'
34552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34553 (eval $ac_try) 2>&5
34555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34556 (exit $ac_status); }; }; then
34557 eval "$as_ac_var=yes"
34559 echo "$as_me: failed program was:" >&5
34560 sed 's/^/| /' conftest.
$ac_ext >&5
34562 eval "$as_ac_var=no"
34564 rm -f conftest.err conftest.
$ac_objext \
34565 conftest
$ac_exeext conftest.
$ac_ext
34567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34569 if test `eval echo '${'$as_ac_var'}'` = yes; then
34570 cat >>confdefs.h
<<_ACEOF
34571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34573 cat >>confdefs.h
<<\_ACEOF
34574 #define HAVE_INET_ADDR 1
34579 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
34580 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
34581 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
34582 echo $ECHO_N "(cached) $ECHO_C" >&6
34584 ac_check_lib_save_LIBS
=$LIBS
34586 cat >conftest.
$ac_ext <<_ACEOF
34589 cat confdefs.h
>>conftest.
$ac_ext
34590 cat >>conftest.
$ac_ext <<_ACEOF
34591 /* end confdefs.h. */
34593 /* Override any gcc2 internal prototype to avoid an error. */
34597 /* We use char because int might match the return type of a gcc2
34598 builtin and then its argument prototype would still apply. */
34608 rm -f conftest.
$ac_objext conftest
$ac_exeext
34609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34610 (eval $ac_link) 2>conftest.er1
34612 grep -v '^ *+' conftest.er1
>conftest.err
34614 cat conftest.err
>&5
34615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34616 (exit $ac_status); } &&
34617 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34619 (eval $ac_try) 2>&5
34621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34622 (exit $ac_status); }; } &&
34623 { ac_try
='test -s conftest$ac_exeext'
34624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34625 (eval $ac_try) 2>&5
34627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34628 (exit $ac_status); }; }; then
34629 ac_cv_lib_nsl_inet_addr
=yes
34631 echo "$as_me: failed program was:" >&5
34632 sed 's/^/| /' conftest.
$ac_ext >&5
34634 ac_cv_lib_nsl_inet_addr
=no
34636 rm -f conftest.err conftest.
$ac_objext \
34637 conftest
$ac_exeext conftest.
$ac_ext
34638 LIBS
=$ac_check_lib_save_LIBS
34640 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
34641 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
34642 if test $ac_cv_lib_nsl_inet_addr = yes; then
34646 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
34647 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
34648 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
34649 echo $ECHO_N "(cached) $ECHO_C" >&6
34651 ac_check_lib_save_LIBS
=$LIBS
34652 LIBS
="-lresolv $LIBS"
34653 cat >conftest.
$ac_ext <<_ACEOF
34656 cat confdefs.h
>>conftest.
$ac_ext
34657 cat >>conftest.
$ac_ext <<_ACEOF
34658 /* end confdefs.h. */
34660 /* Override any gcc2 internal prototype to avoid an error. */
34664 /* We use char because int might match the return type of a gcc2
34665 builtin and then its argument prototype would still apply. */
34675 rm -f conftest.
$ac_objext conftest
$ac_exeext
34676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34677 (eval $ac_link) 2>conftest.er1
34679 grep -v '^ *+' conftest.er1
>conftest.err
34681 cat conftest.err
>&5
34682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34683 (exit $ac_status); } &&
34684 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34686 (eval $ac_try) 2>&5
34688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34689 (exit $ac_status); }; } &&
34690 { ac_try
='test -s conftest$ac_exeext'
34691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34692 (eval $ac_try) 2>&5
34694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34695 (exit $ac_status); }; }; then
34696 ac_cv_lib_resolv_inet_addr
=yes
34698 echo "$as_me: failed program was:" >&5
34699 sed 's/^/| /' conftest.
$ac_ext >&5
34701 ac_cv_lib_resolv_inet_addr
=no
34703 rm -f conftest.err conftest.
$ac_objext \
34704 conftest
$ac_exeext conftest.
$ac_ext
34705 LIBS
=$ac_check_lib_save_LIBS
34707 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
34708 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
34709 if test $ac_cv_lib_resolv_inet_addr = yes; then
34713 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
34714 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
34715 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
34716 echo $ECHO_N "(cached) $ECHO_C" >&6
34718 ac_check_lib_save_LIBS
=$LIBS
34719 LIBS
="-lsocket $LIBS"
34720 cat >conftest.
$ac_ext <<_ACEOF
34723 cat confdefs.h
>>conftest.
$ac_ext
34724 cat >>conftest.
$ac_ext <<_ACEOF
34725 /* end confdefs.h. */
34727 /* Override any gcc2 internal prototype to avoid an error. */
34731 /* We use char because int might match the return type of a gcc2
34732 builtin and then its argument prototype would still apply. */
34742 rm -f conftest.
$ac_objext conftest
$ac_exeext
34743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34744 (eval $ac_link) 2>conftest.er1
34746 grep -v '^ *+' conftest.er1
>conftest.err
34748 cat conftest.err
>&5
34749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34750 (exit $ac_status); } &&
34751 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34753 (eval $ac_try) 2>&5
34755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34756 (exit $ac_status); }; } &&
34757 { ac_try
='test -s conftest$ac_exeext'
34758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34759 (eval $ac_try) 2>&5
34761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34762 (exit $ac_status); }; }; then
34763 ac_cv_lib_socket_inet_addr
=yes
34765 echo "$as_me: failed program was:" >&5
34766 sed 's/^/| /' conftest.
$ac_ext >&5
34768 ac_cv_lib_socket_inet_addr
=no
34770 rm -f conftest.err conftest.
$ac_objext \
34771 conftest
$ac_exeext conftest.
$ac_ext
34772 LIBS
=$ac_check_lib_save_LIBS
34774 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
34775 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
34776 if test $ac_cv_lib_socket_inet_addr = yes; then
34796 for ac_func
in inet_aton
34798 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34799 echo "$as_me:$LINENO: checking for $ac_func" >&5
34800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34801 if eval "test \"\${$as_ac_var+set}\" = set"; then
34802 echo $ECHO_N "(cached) $ECHO_C" >&6
34804 cat >conftest.
$ac_ext <<_ACEOF
34807 cat confdefs.h
>>conftest.
$ac_ext
34808 cat >>conftest.
$ac_ext <<_ACEOF
34809 /* end confdefs.h. */
34810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34812 #define $ac_func innocuous_$ac_func
34814 /* System header to define __stub macros and hopefully few prototypes,
34815 which can conflict with char $ac_func (); below.
34816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34817 <limits.h> exists even on freestanding compilers. */
34820 # include <limits.h>
34822 # include <assert.h>
34827 /* Override any gcc2 internal prototype to avoid an error. */
34832 /* We use char because int might match the return type of a gcc2
34833 builtin and then its argument prototype would still apply. */
34835 /* The GNU C library defines this for functions which it implements
34836 to always fail with ENOSYS. Some functions are actually named
34837 something starting with __ and the normal name is an alias. */
34838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34841 char (*f) () = $ac_func;
34850 return f != $ac_func;
34855 rm -f conftest.
$ac_objext conftest
$ac_exeext
34856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34857 (eval $ac_link) 2>conftest.er1
34859 grep -v '^ *+' conftest.er1
>conftest.err
34861 cat conftest.err
>&5
34862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34863 (exit $ac_status); } &&
34864 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34866 (eval $ac_try) 2>&5
34868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34869 (exit $ac_status); }; } &&
34870 { ac_try
='test -s conftest$ac_exeext'
34871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34872 (eval $ac_try) 2>&5
34874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34875 (exit $ac_status); }; }; then
34876 eval "$as_ac_var=yes"
34878 echo "$as_me: failed program was:" >&5
34879 sed 's/^/| /' conftest.
$ac_ext >&5
34881 eval "$as_ac_var=no"
34883 rm -f conftest.err conftest.
$ac_objext \
34884 conftest
$ac_exeext conftest.
$ac_ext
34886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34888 if test `eval echo '${'$as_ac_var'}'` = yes; then
34889 cat >>confdefs.h
<<_ACEOF
34890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34892 cat >>confdefs.h
<<\_ACEOF
34893 #define HAVE_INET_ATON 1
34898 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
34899 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
34900 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
34901 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
34902 echo $ECHO_N "(cached) $ECHO_C" >&6
34904 ac_check_lib_save_LIBS
=$LIBS
34905 LIBS
="-l$INET_LINK $LIBS"
34906 cat >conftest.
$ac_ext <<_ACEOF
34909 cat confdefs.h
>>conftest.
$ac_ext
34910 cat >>conftest.
$ac_ext <<_ACEOF
34911 /* end confdefs.h. */
34913 /* Override any gcc2 internal prototype to avoid an error. */
34917 /* We use char because int might match the return type of a gcc2
34918 builtin and then its argument prototype would still apply. */
34928 rm -f conftest.
$ac_objext conftest
$ac_exeext
34929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34930 (eval $ac_link) 2>conftest.er1
34932 grep -v '^ *+' conftest.er1
>conftest.err
34934 cat conftest.err
>&5
34935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34936 (exit $ac_status); } &&
34937 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34939 (eval $ac_try) 2>&5
34941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34942 (exit $ac_status); }; } &&
34943 { ac_try
='test -s conftest$ac_exeext'
34944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34945 (eval $ac_try) 2>&5
34947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34948 (exit $ac_status); }; }; then
34949 eval "$as_ac_Lib=yes"
34951 echo "$as_me: failed program was:" >&5
34952 sed 's/^/| /' conftest.
$ac_ext >&5
34954 eval "$as_ac_Lib=no"
34956 rm -f conftest.err conftest.
$ac_objext \
34957 conftest
$ac_exeext conftest.
$ac_ext
34958 LIBS
=$ac_check_lib_save_LIBS
34960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
34961 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
34962 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
34963 cat >>confdefs.h
<<\_ACEOF
34964 #define HAVE_INET_ATON 1
34974 if test "x$INET_LINK" != "x"; then
34975 cat >>confdefs.h
<<\_ACEOF
34976 #define HAVE_INET_ADDR 1
34979 INET_LINK
=" -l$INET_LINK"
34987 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
34988 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
34989 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
34990 echo $ECHO_N "(cached) $ECHO_C" >&6
34992 ac_check_lib_save_LIBS
=$LIBS
34994 cat >conftest.
$ac_ext <<_ACEOF
34997 cat confdefs.h
>>conftest.
$ac_ext
34998 cat >>conftest.
$ac_ext <<_ACEOF
34999 /* end confdefs.h. */
35001 /* Override any gcc2 internal prototype to avoid an error. */
35005 /* We use char because int might match the return type of a gcc2
35006 builtin and then its argument prototype would still apply. */
35016 rm -f conftest.
$ac_objext conftest
$ac_exeext
35017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35018 (eval $ac_link) 2>conftest.er1
35020 grep -v '^ *+' conftest.er1
>conftest.err
35022 cat conftest.err
>&5
35023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35024 (exit $ac_status); } &&
35025 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35027 (eval $ac_try) 2>&5
35029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35030 (exit $ac_status); }; } &&
35031 { ac_try
='test -s conftest$ac_exeext'
35032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35033 (eval $ac_try) 2>&5
35035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35036 (exit $ac_status); }; }; then
35037 ac_cv_lib_esd_esd_close
=yes
35039 echo "$as_me: failed program was:" >&5
35040 sed 's/^/| /' conftest.
$ac_ext >&5
35042 ac_cv_lib_esd_esd_close
=no
35044 rm -f conftest.err conftest.
$ac_objext \
35045 conftest
$ac_exeext conftest.
$ac_ext
35046 LIBS
=$ac_check_lib_save_LIBS
35048 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
35049 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
35050 if test $ac_cv_lib_esd_esd_close = yes; then
35053 for ac_header
in esd.h
35055 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35057 echo "$as_me:$LINENO: checking for $ac_header" >&5
35058 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35059 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35060 echo $ECHO_N "(cached) $ECHO_C" >&6
35062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35063 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35065 # Is the header compilable?
35066 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35067 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35068 cat >conftest.
$ac_ext <<_ACEOF
35071 cat confdefs.h
>>conftest.
$ac_ext
35072 cat >>conftest.
$ac_ext <<_ACEOF
35073 /* end confdefs.h. */
35074 $ac_includes_default
35075 #include <$ac_header>
35077 rm -f conftest.
$ac_objext
35078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35079 (eval $ac_compile) 2>conftest.er1
35081 grep -v '^ *+' conftest.er1
>conftest.err
35083 cat conftest.err
>&5
35084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35085 (exit $ac_status); } &&
35086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35088 (eval $ac_try) 2>&5
35090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35091 (exit $ac_status); }; } &&
35092 { ac_try
='test -s conftest.$ac_objext'
35093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35094 (eval $ac_try) 2>&5
35096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35097 (exit $ac_status); }; }; then
35098 ac_header_compiler
=yes
35100 echo "$as_me: failed program was:" >&5
35101 sed 's/^/| /' conftest.
$ac_ext >&5
35103 ac_header_compiler
=no
35105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35106 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35107 echo "${ECHO_T}$ac_header_compiler" >&6
35109 # Is the header present?
35110 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35111 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35112 cat >conftest.
$ac_ext <<_ACEOF
35115 cat confdefs.h
>>conftest.
$ac_ext
35116 cat >>conftest.
$ac_ext <<_ACEOF
35117 /* end confdefs.h. */
35118 #include <$ac_header>
35120 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35121 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35123 grep -v '^ *+' conftest.er1
>conftest.err
35125 cat conftest.err
>&5
35126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35127 (exit $ac_status); } >/dev
/null
; then
35128 if test -s conftest.err
; then
35129 ac_cpp_err
=$ac_c_preproc_warn_flag
35130 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35137 if test -z "$ac_cpp_err"; then
35138 ac_header_preproc
=yes
35140 echo "$as_me: failed program was:" >&5
35141 sed 's/^/| /' conftest.
$ac_ext >&5
35143 ac_header_preproc
=no
35145 rm -f conftest.err conftest.
$ac_ext
35146 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35147 echo "${ECHO_T}$ac_header_preproc" >&6
35149 # So? What about this header?
35150 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35152 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35153 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35155 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35156 ac_header_preproc
=yes
35159 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35160 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35161 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35162 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35163 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35164 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35165 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35166 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35168 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35169 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35170 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35173 ## ----------------------------------------- ##
35174 ## Report this to wx-dev@lists.wxwidgets.org ##
35175 ## ----------------------------------------- ##
35178 sed "s/^/$as_me: WARNING: /" >&2
35181 echo "$as_me:$LINENO: checking for $ac_header" >&5
35182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35184 echo $ECHO_N "(cached) $ECHO_C" >&6
35186 eval "$as_ac_Header=\$ac_header_preproc"
35188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35189 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35192 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35193 cat >>confdefs.h
<<_ACEOF
35194 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35197 EXTRALIBS_ESD
="-lesd"
35208 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
35209 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
35210 cat >conftest.
$ac_ext <<_ACEOF
35213 cat confdefs.h
>>conftest.
$ac_ext
35214 cat >>conftest.
$ac_ext <<_ACEOF
35215 /* end confdefs.h. */
35217 #include <linux/cdrom.h>
35220 #include <sys/cdio.h>
35226 struct cdrom_tocentry entry, old_entry;
35231 rm -f conftest.
$ac_objext
35232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35233 (eval $ac_compile) 2>conftest.er1
35235 grep -v '^ *+' conftest.er1
>conftest.err
35237 cat conftest.err
>&5
35238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35239 (exit $ac_status); } &&
35240 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35242 (eval $ac_try) 2>&5
35244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35245 (exit $ac_status); }; } &&
35246 { ac_try
='test -s conftest.$ac_objext'
35247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35248 (eval $ac_try) 2>&5
35250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35251 (exit $ac_status); }; }; then
35252 echo "$as_me:$LINENO: result: yes" >&5
35253 echo "${ECHO_T}yes" >&6
35254 cat >>confdefs.h
<<\_ACEOF
35255 #define HAVE_KNOWN_CDROM_INTERFACE 1
35259 echo "$as_me: failed program was:" >&5
35260 sed 's/^/| /' conftest.
$ac_ext >&5
35262 echo "$as_me:$LINENO: result: no" >&5
35263 echo "${ECHO_T}no" >&6
35265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35268 cat >confcache
<<\_ACEOF
35269 # This file is a shell script that caches the results of configure
35270 # tests run on this system so they can be shared between configure
35271 # scripts and configure runs, see configure's option --config-cache.
35272 # It is not useful on other systems. If it contains results you don't
35273 # want to keep, you may remove or edit it.
35275 # config.status only pays attention to the cache file if you give it
35276 # the --recheck option to rerun configure.
35278 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35279 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35280 # following values.
35284 # The following way of writing the cache mishandles newlines in values,
35285 # but we know of no workaround that is simple, portable, and efficient.
35286 # So, don't put newlines in cache variables' values.
35287 # Ultrix sh set writes to stderr and can't be redirected directly,
35288 # and sets the high bit in the cache file unless we assign to the vars.
35291 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35293 # `set' does not quote correctly, so add quotes (double-quote
35294 # substitution turns \\\\ into \\, and sed turns \\ into \).
35297 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35300 # `set' quotes correctly as required by POSIX, so do not add quotes.
35302 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35309 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35311 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35313 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
35314 if test -w $cache_file; then
35315 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35316 cat confcache
>$cache_file
35318 echo "not updating unwritable cache $cache_file"
35325 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35331 if test "$wxUSE_THREADS" = "yes" ; then
35332 if test "$USE_BEOS" = 1; then
35333 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
35334 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
35339 if test "$wxUSE_THREADS" = "yes" ; then
35342 THREAD_OPTS
="-pthread"
35344 *-*-solaris2* | *-*-sunos4* )
35345 if test "x$GCC" = "xyes"; then
35346 THREAD_OPTS
="-pthreads $THREAD_OPTS"
35348 THREAD_OPTS
="-mt $THREAD_OPTS"
35352 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
35354 *-*-darwin* | *-*-cygwin* )
35358 THREAD_OPTS
="pthreads"
35361 if test "x$GCC" = "xyes"; then
35362 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
35370 if test "x$GCC" = "xyes"; then
35376 if test "x$GCC" != "xyes"; then
35377 THREAD_OPTS
="-Ethread"
35382 THREAD_OPTS
="$THREAD_OPTS pthread none"
35385 for flag
in $THREAD_OPTS; do
35388 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
35389 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
35393 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
35394 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
35395 THREADS_CFLAGS
="$flag"
35399 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
35400 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
35401 THREADS_LINK
="-l$flag"
35406 save_CFLAGS
="$CFLAGS"
35407 LIBS
="$THREADS_LINK $LIBS"
35408 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
35410 cat >conftest.
$ac_ext <<_ACEOF
35413 cat confdefs.h
>>conftest.
$ac_ext
35414 cat >>conftest.
$ac_ext <<_ACEOF
35415 /* end confdefs.h. */
35416 #include <pthread.h>
35420 pthread_create(0,0,0,0);
35425 rm -f conftest.
$ac_objext conftest
$ac_exeext
35426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35427 (eval $ac_link) 2>conftest.er1
35429 grep -v '^ *+' conftest.er1
>conftest.err
35431 cat conftest.err
>&5
35432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35433 (exit $ac_status); } &&
35434 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35436 (eval $ac_try) 2>&5
35438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35439 (exit $ac_status); }; } &&
35440 { ac_try
='test -s conftest$ac_exeext'
35441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35442 (eval $ac_try) 2>&5
35444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35445 (exit $ac_status); }; }; then
35448 echo "$as_me: failed program was:" >&5
35449 sed 's/^/| /' conftest.
$ac_ext >&5
35452 rm -f conftest.err conftest.
$ac_objext \
35453 conftest
$ac_exeext conftest.
$ac_ext
35456 CFLAGS
="$save_CFLAGS"
35458 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
35459 echo "${ECHO_T}$THREADS_OK" >&6
35460 if test "x$THREADS_OK" = "xyes"; then
35468 if test "x$THREADS_OK" != "xyes"; then
35470 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
35471 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
35473 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
35474 LIBS
="$THREADS_LINK $LIBS"
35476 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
35477 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
35481 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
35482 flag
="-D_THREAD_SAFE"
35485 flag
="-D_THREAD_SAFE"
35488 flag
="-D_REENTRANT"
35489 if test "x$GCC" != "xyes"; then
35490 flag
="$flag -D_RWSTD_MULTI_THREAD"
35493 *solaris
* | alpha
*-osf*)
35494 flag
="-D_REENTRANT"
35497 echo "$as_me:$LINENO: result: ${flag}" >&5
35498 echo "${ECHO_T}${flag}" >&6
35499 if test "x$flag" != xno
; then
35500 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
35503 if test "x$THREADS_CFLAGS" != "x"; then
35504 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
35505 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
35510 if test "$wxUSE_THREADS" = "yes" ; then
35512 for ac_func
in thr_setconcurrency
35514 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35515 echo "$as_me:$LINENO: checking for $ac_func" >&5
35516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35517 if eval "test \"\${$as_ac_var+set}\" = set"; then
35518 echo $ECHO_N "(cached) $ECHO_C" >&6
35520 cat >conftest.
$ac_ext <<_ACEOF
35523 cat confdefs.h
>>conftest.
$ac_ext
35524 cat >>conftest.
$ac_ext <<_ACEOF
35525 /* end confdefs.h. */
35526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35528 #define $ac_func innocuous_$ac_func
35530 /* System header to define __stub macros and hopefully few prototypes,
35531 which can conflict with char $ac_func (); below.
35532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35533 <limits.h> exists even on freestanding compilers. */
35536 # include <limits.h>
35538 # include <assert.h>
35543 /* Override any gcc2 internal prototype to avoid an error. */
35548 /* We use char because int might match the return type of a gcc2
35549 builtin and then its argument prototype would still apply. */
35551 /* The GNU C library defines this for functions which it implements
35552 to always fail with ENOSYS. Some functions are actually named
35553 something starting with __ and the normal name is an alias. */
35554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35557 char (*f) () = $ac_func;
35566 return f != $ac_func;
35571 rm -f conftest.
$ac_objext conftest
$ac_exeext
35572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35573 (eval $ac_link) 2>conftest.er1
35575 grep -v '^ *+' conftest.er1
>conftest.err
35577 cat conftest.err
>&5
35578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35579 (exit $ac_status); } &&
35580 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35582 (eval $ac_try) 2>&5
35584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35585 (exit $ac_status); }; } &&
35586 { ac_try
='test -s conftest$ac_exeext'
35587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35588 (eval $ac_try) 2>&5
35590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35591 (exit $ac_status); }; }; then
35592 eval "$as_ac_var=yes"
35594 echo "$as_me: failed program was:" >&5
35595 sed 's/^/| /' conftest.
$ac_ext >&5
35597 eval "$as_ac_var=no"
35599 rm -f conftest.err conftest.
$ac_objext \
35600 conftest
$ac_exeext conftest.
$ac_ext
35602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35604 if test `eval echo '${'$as_ac_var'}'` = yes; then
35605 cat >>confdefs.h
<<_ACEOF
35606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35613 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
35614 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
35615 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
35616 echo $ECHO_N "(cached) $ECHO_C" >&6
35619 cat >conftest.
$ac_ext <<_ACEOF
35622 cat confdefs.h
>>conftest.
$ac_ext
35623 cat >>conftest.
$ac_ext <<_ACEOF
35624 /* end confdefs.h. */
35625 #include <pthread.h>
35626 void ThreadCleanupFunc(void *p);
35633 pthread_cleanup_push(ThreadCleanupFunc, p);
35634 pthread_cleanup_pop(0);
35640 rm -f conftest.
$ac_objext
35641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35642 (eval $ac_compile) 2>conftest.er1
35644 grep -v '^ *+' conftest.er1
>conftest.err
35646 cat conftest.err
>&5
35647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35648 (exit $ac_status); } &&
35649 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35651 (eval $ac_try) 2>&5
35653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35654 (exit $ac_status); }; } &&
35655 { ac_try
='test -s conftest.$ac_objext'
35656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35657 (eval $ac_try) 2>&5
35659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35660 (exit $ac_status); }; }; then
35662 wx_cv_func_pthread_cleanup
=yes
35665 echo "$as_me: failed program was:" >&5
35666 sed 's/^/| /' conftest.
$ac_ext >&5
35669 wx_cv_func_pthread_cleanup
=no
35673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35676 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
35677 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
35678 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
35679 cat >>confdefs.h
<<\_ACEOF
35680 #define wxHAVE_PTHREAD_CLEANUP 1
35686 for ac_header
in sched.h
35688 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35690 echo "$as_me:$LINENO: checking for $ac_header" >&5
35691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35693 echo $ECHO_N "(cached) $ECHO_C" >&6
35695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35696 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35698 # Is the header compilable?
35699 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35700 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35701 cat >conftest.
$ac_ext <<_ACEOF
35704 cat confdefs.h
>>conftest.
$ac_ext
35705 cat >>conftest.
$ac_ext <<_ACEOF
35706 /* end confdefs.h. */
35707 $ac_includes_default
35708 #include <$ac_header>
35710 rm -f conftest.
$ac_objext
35711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35712 (eval $ac_compile) 2>conftest.er1
35714 grep -v '^ *+' conftest.er1
>conftest.err
35716 cat conftest.err
>&5
35717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35718 (exit $ac_status); } &&
35719 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35721 (eval $ac_try) 2>&5
35723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35724 (exit $ac_status); }; } &&
35725 { ac_try
='test -s conftest.$ac_objext'
35726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35727 (eval $ac_try) 2>&5
35729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35730 (exit $ac_status); }; }; then
35731 ac_header_compiler
=yes
35733 echo "$as_me: failed program was:" >&5
35734 sed 's/^/| /' conftest.
$ac_ext >&5
35736 ac_header_compiler
=no
35738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35739 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35740 echo "${ECHO_T}$ac_header_compiler" >&6
35742 # Is the header present?
35743 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35744 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35745 cat >conftest.
$ac_ext <<_ACEOF
35748 cat confdefs.h
>>conftest.
$ac_ext
35749 cat >>conftest.
$ac_ext <<_ACEOF
35750 /* end confdefs.h. */
35751 #include <$ac_header>
35753 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35754 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35756 grep -v '^ *+' conftest.er1
>conftest.err
35758 cat conftest.err
>&5
35759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35760 (exit $ac_status); } >/dev
/null
; then
35761 if test -s conftest.err
; then
35762 ac_cpp_err
=$ac_c_preproc_warn_flag
35763 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35770 if test -z "$ac_cpp_err"; then
35771 ac_header_preproc
=yes
35773 echo "$as_me: failed program was:" >&5
35774 sed 's/^/| /' conftest.
$ac_ext >&5
35776 ac_header_preproc
=no
35778 rm -f conftest.err conftest.
$ac_ext
35779 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35780 echo "${ECHO_T}$ac_header_preproc" >&6
35782 # So? What about this header?
35783 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35785 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35786 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35787 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35788 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35789 ac_header_preproc
=yes
35792 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35793 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35794 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35795 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35796 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35797 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35798 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35799 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35800 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35801 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35802 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35803 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35806 ## ----------------------------------------- ##
35807 ## Report this to wx-dev@lists.wxwidgets.org ##
35808 ## ----------------------------------------- ##
35811 sed "s/^/$as_me: WARNING: /" >&2
35814 echo "$as_me:$LINENO: checking for $ac_header" >&5
35815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35817 echo $ECHO_N "(cached) $ECHO_C" >&6
35819 eval "$as_ac_Header=\$ac_header_preproc"
35821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35822 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35825 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35826 cat >>confdefs.h
<<_ACEOF
35827 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35834 if test "$ac_cv_header_sched_h" = "yes"; then
35835 echo "$as_me:$LINENO: checking for sched_yield" >&5
35836 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
35837 if test "${ac_cv_func_sched_yield+set}" = set; then
35838 echo $ECHO_N "(cached) $ECHO_C" >&6
35840 cat >conftest.
$ac_ext <<_ACEOF
35843 cat confdefs.h
>>conftest.
$ac_ext
35844 cat >>conftest.
$ac_ext <<_ACEOF
35845 /* end confdefs.h. */
35846 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
35847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35848 #define sched_yield innocuous_sched_yield
35850 /* System header to define __stub macros and hopefully few prototypes,
35851 which can conflict with char sched_yield (); below.
35852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35853 <limits.h> exists even on freestanding compilers. */
35856 # include <limits.h>
35858 # include <assert.h>
35863 /* Override any gcc2 internal prototype to avoid an error. */
35868 /* We use char because int might match the return type of a gcc2
35869 builtin and then its argument prototype would still apply. */
35870 char sched_yield ();
35871 /* The GNU C library defines this for functions which it implements
35872 to always fail with ENOSYS. Some functions are actually named
35873 something starting with __ and the normal name is an alias. */
35874 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
35877 char (*f) () = sched_yield;
35886 return f != sched_yield;
35891 rm -f conftest.
$ac_objext conftest
$ac_exeext
35892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35893 (eval $ac_link) 2>conftest.er1
35895 grep -v '^ *+' conftest.er1
>conftest.err
35897 cat conftest.err
>&5
35898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35899 (exit $ac_status); } &&
35900 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35902 (eval $ac_try) 2>&5
35904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35905 (exit $ac_status); }; } &&
35906 { ac_try
='test -s conftest$ac_exeext'
35907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35908 (eval $ac_try) 2>&5
35910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35911 (exit $ac_status); }; }; then
35912 ac_cv_func_sched_yield
=yes
35914 echo "$as_me: failed program was:" >&5
35915 sed 's/^/| /' conftest.
$ac_ext >&5
35917 ac_cv_func_sched_yield
=no
35919 rm -f conftest.err conftest.
$ac_objext \
35920 conftest
$ac_exeext conftest.
$ac_ext
35922 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
35923 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
35924 if test $ac_cv_func_sched_yield = yes; then
35925 cat >>confdefs.h
<<\_ACEOF
35926 #define HAVE_SCHED_YIELD 1
35931 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
35932 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
35933 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
35934 echo $ECHO_N "(cached) $ECHO_C" >&6
35936 ac_check_lib_save_LIBS
=$LIBS
35937 LIBS
="-lposix4 $LIBS"
35938 cat >conftest.
$ac_ext <<_ACEOF
35941 cat confdefs.h
>>conftest.
$ac_ext
35942 cat >>conftest.
$ac_ext <<_ACEOF
35943 /* end confdefs.h. */
35945 /* Override any gcc2 internal prototype to avoid an error. */
35949 /* We use char because int might match the return type of a gcc2
35950 builtin and then its argument prototype would still apply. */
35951 char sched_yield ();
35960 rm -f conftest.
$ac_objext conftest
$ac_exeext
35961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35962 (eval $ac_link) 2>conftest.er1
35964 grep -v '^ *+' conftest.er1
>conftest.err
35966 cat conftest.err
>&5
35967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35968 (exit $ac_status); } &&
35969 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35971 (eval $ac_try) 2>&5
35973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35974 (exit $ac_status); }; } &&
35975 { ac_try
='test -s conftest$ac_exeext'
35976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35977 (eval $ac_try) 2>&5
35979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35980 (exit $ac_status); }; }; then
35981 ac_cv_lib_posix4_sched_yield
=yes
35983 echo "$as_me: failed program was:" >&5
35984 sed 's/^/| /' conftest.
$ac_ext >&5
35986 ac_cv_lib_posix4_sched_yield
=no
35988 rm -f conftest.err conftest.
$ac_objext \
35989 conftest
$ac_exeext conftest.
$ac_ext
35990 LIBS
=$ac_check_lib_save_LIBS
35992 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
35993 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
35994 if test $ac_cv_lib_posix4_sched_yield = yes; then
35995 cat >>confdefs.h
<<\_ACEOF
35996 #define HAVE_SCHED_YIELD 1
35998 POSIX4_LINK
=" -lposix4"
36000 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
36001 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
36012 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
36013 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
36014 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
36015 echo $ECHO_N "(cached) $ECHO_C" >&6
36017 cat >conftest.
$ac_ext <<_ACEOF
36020 cat confdefs.h
>>conftest.
$ac_ext
36021 cat >>conftest.
$ac_ext <<_ACEOF
36022 /* end confdefs.h. */
36023 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
36024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36025 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
36027 /* System header to define __stub macros and hopefully few prototypes,
36028 which can conflict with char pthread_attr_getschedpolicy (); below.
36029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36030 <limits.h> exists even on freestanding compilers. */
36033 # include <limits.h>
36035 # include <assert.h>
36038 #undef pthread_attr_getschedpolicy
36040 /* Override any gcc2 internal prototype to avoid an error. */
36045 /* We use char because int might match the return type of a gcc2
36046 builtin and then its argument prototype would still apply. */
36047 char pthread_attr_getschedpolicy ();
36048 /* The GNU C library defines this for functions which it implements
36049 to always fail with ENOSYS. Some functions are actually named
36050 something starting with __ and the normal name is an alias. */
36051 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
36054 char (*f) () = pthread_attr_getschedpolicy;
36063 return f != pthread_attr_getschedpolicy;
36068 rm -f conftest.
$ac_objext conftest
$ac_exeext
36069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36070 (eval $ac_link) 2>conftest.er1
36072 grep -v '^ *+' conftest.er1
>conftest.err
36074 cat conftest.err
>&5
36075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36076 (exit $ac_status); } &&
36077 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36079 (eval $ac_try) 2>&5
36081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36082 (exit $ac_status); }; } &&
36083 { ac_try
='test -s conftest$ac_exeext'
36084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36085 (eval $ac_try) 2>&5
36087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36088 (exit $ac_status); }; }; then
36089 ac_cv_func_pthread_attr_getschedpolicy
=yes
36091 echo "$as_me: failed program was:" >&5
36092 sed 's/^/| /' conftest.
$ac_ext >&5
36094 ac_cv_func_pthread_attr_getschedpolicy
=no
36096 rm -f conftest.err conftest.
$ac_objext \
36097 conftest
$ac_exeext conftest.
$ac_ext
36099 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
36100 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
36101 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
36102 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
36103 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
36104 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
36105 echo $ECHO_N "(cached) $ECHO_C" >&6
36107 cat >conftest.
$ac_ext <<_ACEOF
36110 cat confdefs.h
>>conftest.
$ac_ext
36111 cat >>conftest.
$ac_ext <<_ACEOF
36112 /* end confdefs.h. */
36113 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
36114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36115 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
36117 /* System header to define __stub macros and hopefully few prototypes,
36118 which can conflict with char pthread_attr_setschedparam (); below.
36119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36120 <limits.h> exists even on freestanding compilers. */
36123 # include <limits.h>
36125 # include <assert.h>
36128 #undef pthread_attr_setschedparam
36130 /* Override any gcc2 internal prototype to avoid an error. */
36135 /* We use char because int might match the return type of a gcc2
36136 builtin and then its argument prototype would still apply. */
36137 char pthread_attr_setschedparam ();
36138 /* The GNU C library defines this for functions which it implements
36139 to always fail with ENOSYS. Some functions are actually named
36140 something starting with __ and the normal name is an alias. */
36141 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
36144 char (*f) () = pthread_attr_setschedparam;
36153 return f != pthread_attr_setschedparam;
36158 rm -f conftest.
$ac_objext conftest
$ac_exeext
36159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36160 (eval $ac_link) 2>conftest.er1
36162 grep -v '^ *+' conftest.er1
>conftest.err
36164 cat conftest.err
>&5
36165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36166 (exit $ac_status); } &&
36167 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36169 (eval $ac_try) 2>&5
36171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36172 (exit $ac_status); }; } &&
36173 { ac_try
='test -s conftest$ac_exeext'
36174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36175 (eval $ac_try) 2>&5
36177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36178 (exit $ac_status); }; }; then
36179 ac_cv_func_pthread_attr_setschedparam
=yes
36181 echo "$as_me: failed program was:" >&5
36182 sed 's/^/| /' conftest.
$ac_ext >&5
36184 ac_cv_func_pthread_attr_setschedparam
=no
36186 rm -f conftest.err conftest.
$ac_objext \
36187 conftest
$ac_exeext conftest.
$ac_ext
36189 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
36190 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
36191 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
36192 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
36193 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
36194 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
36195 echo $ECHO_N "(cached) $ECHO_C" >&6
36197 cat >conftest.
$ac_ext <<_ACEOF
36200 cat confdefs.h
>>conftest.
$ac_ext
36201 cat >>conftest.
$ac_ext <<_ACEOF
36202 /* end confdefs.h. */
36203 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
36204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36205 #define sched_get_priority_max innocuous_sched_get_priority_max
36207 /* System header to define __stub macros and hopefully few prototypes,
36208 which can conflict with char sched_get_priority_max (); below.
36209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36210 <limits.h> exists even on freestanding compilers. */
36213 # include <limits.h>
36215 # include <assert.h>
36218 #undef sched_get_priority_max
36220 /* Override any gcc2 internal prototype to avoid an error. */
36225 /* We use char because int might match the return type of a gcc2
36226 builtin and then its argument prototype would still apply. */
36227 char sched_get_priority_max ();
36228 /* The GNU C library defines this for functions which it implements
36229 to always fail with ENOSYS. Some functions are actually named
36230 something starting with __ and the normal name is an alias. */
36231 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
36234 char (*f) () = sched_get_priority_max;
36243 return f != sched_get_priority_max;
36248 rm -f conftest.
$ac_objext conftest
$ac_exeext
36249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36250 (eval $ac_link) 2>conftest.er1
36252 grep -v '^ *+' conftest.er1
>conftest.err
36254 cat conftest.err
>&5
36255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36256 (exit $ac_status); } &&
36257 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36259 (eval $ac_try) 2>&5
36261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36262 (exit $ac_status); }; } &&
36263 { ac_try
='test -s conftest$ac_exeext'
36264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36265 (eval $ac_try) 2>&5
36267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36268 (exit $ac_status); }; }; then
36269 ac_cv_func_sched_get_priority_max
=yes
36271 echo "$as_me: failed program was:" >&5
36272 sed 's/^/| /' conftest.
$ac_ext >&5
36274 ac_cv_func_sched_get_priority_max
=no
36276 rm -f conftest.err conftest.
$ac_objext \
36277 conftest
$ac_exeext conftest.
$ac_ext
36279 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
36280 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
36281 if test $ac_cv_func_sched_get_priority_max = yes; then
36284 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
36285 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
36286 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
36287 echo $ECHO_N "(cached) $ECHO_C" >&6
36289 ac_check_lib_save_LIBS
=$LIBS
36290 LIBS
="-lposix4 $LIBS"
36291 cat >conftest.
$ac_ext <<_ACEOF
36294 cat confdefs.h
>>conftest.
$ac_ext
36295 cat >>conftest.
$ac_ext <<_ACEOF
36296 /* end confdefs.h. */
36298 /* Override any gcc2 internal prototype to avoid an error. */
36302 /* We use char because int might match the return type of a gcc2
36303 builtin and then its argument prototype would still apply. */
36304 char sched_get_priority_max ();
36308 sched_get_priority_max ();
36313 rm -f conftest.
$ac_objext conftest
$ac_exeext
36314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36315 (eval $ac_link) 2>conftest.er1
36317 grep -v '^ *+' conftest.er1
>conftest.err
36319 cat conftest.err
>&5
36320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36321 (exit $ac_status); } &&
36322 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36324 (eval $ac_try) 2>&5
36326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36327 (exit $ac_status); }; } &&
36328 { ac_try
='test -s conftest$ac_exeext'
36329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36330 (eval $ac_try) 2>&5
36332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36333 (exit $ac_status); }; }; then
36334 ac_cv_lib_posix4_sched_get_priority_max
=yes
36336 echo "$as_me: failed program was:" >&5
36337 sed 's/^/| /' conftest.
$ac_ext >&5
36339 ac_cv_lib_posix4_sched_get_priority_max
=no
36341 rm -f conftest.err conftest.
$ac_objext \
36342 conftest
$ac_exeext conftest.
$ac_ext
36343 LIBS
=$ac_check_lib_save_LIBS
36345 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
36346 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
36347 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
36350 POSIX4_LINK
=" -lposix4"
36364 if test "$HAVE_PRIOR_FUNCS" = 1; then
36365 cat >>confdefs.h
<<\_ACEOF
36366 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
36370 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
36371 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
36374 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
36375 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
36376 if test "${ac_cv_func_pthread_cancel+set}" = set; then
36377 echo $ECHO_N "(cached) $ECHO_C" >&6
36379 cat >conftest.
$ac_ext <<_ACEOF
36382 cat confdefs.h
>>conftest.
$ac_ext
36383 cat >>conftest.
$ac_ext <<_ACEOF
36384 /* end confdefs.h. */
36385 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
36386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36387 #define pthread_cancel innocuous_pthread_cancel
36389 /* System header to define __stub macros and hopefully few prototypes,
36390 which can conflict with char pthread_cancel (); below.
36391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36392 <limits.h> exists even on freestanding compilers. */
36395 # include <limits.h>
36397 # include <assert.h>
36400 #undef pthread_cancel
36402 /* Override any gcc2 internal prototype to avoid an error. */
36407 /* We use char because int might match the return type of a gcc2
36408 builtin and then its argument prototype would still apply. */
36409 char pthread_cancel ();
36410 /* The GNU C library defines this for functions which it implements
36411 to always fail with ENOSYS. Some functions are actually named
36412 something starting with __ and the normal name is an alias. */
36413 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
36416 char (*f) () = pthread_cancel;
36425 return f != pthread_cancel;
36430 rm -f conftest.
$ac_objext conftest
$ac_exeext
36431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36432 (eval $ac_link) 2>conftest.er1
36434 grep -v '^ *+' conftest.er1
>conftest.err
36436 cat conftest.err
>&5
36437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36438 (exit $ac_status); } &&
36439 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36441 (eval $ac_try) 2>&5
36443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36444 (exit $ac_status); }; } &&
36445 { ac_try
='test -s conftest$ac_exeext'
36446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36447 (eval $ac_try) 2>&5
36449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36450 (exit $ac_status); }; }; then
36451 ac_cv_func_pthread_cancel
=yes
36453 echo "$as_me: failed program was:" >&5
36454 sed 's/^/| /' conftest.
$ac_ext >&5
36456 ac_cv_func_pthread_cancel
=no
36458 rm -f conftest.err conftest.
$ac_objext \
36459 conftest
$ac_exeext conftest.
$ac_ext
36461 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
36462 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
36463 if test $ac_cv_func_pthread_cancel = yes; then
36464 cat >>confdefs.h
<<\_ACEOF
36465 #define HAVE_PTHREAD_CANCEL 1
36469 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
36470 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
36474 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
36475 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
36476 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
36477 echo $ECHO_N "(cached) $ECHO_C" >&6
36479 cat >conftest.
$ac_ext <<_ACEOF
36482 cat confdefs.h
>>conftest.
$ac_ext
36483 cat >>conftest.
$ac_ext <<_ACEOF
36484 /* end confdefs.h. */
36485 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
36486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36487 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
36489 /* System header to define __stub macros and hopefully few prototypes,
36490 which can conflict with char pthread_attr_setstacksize (); below.
36491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36492 <limits.h> exists even on freestanding compilers. */
36495 # include <limits.h>
36497 # include <assert.h>
36500 #undef pthread_attr_setstacksize
36502 /* Override any gcc2 internal prototype to avoid an error. */
36507 /* We use char because int might match the return type of a gcc2
36508 builtin and then its argument prototype would still apply. */
36509 char pthread_attr_setstacksize ();
36510 /* The GNU C library defines this for functions which it implements
36511 to always fail with ENOSYS. Some functions are actually named
36512 something starting with __ and the normal name is an alias. */
36513 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
36516 char (*f) () = pthread_attr_setstacksize;
36525 return f != pthread_attr_setstacksize;
36530 rm -f conftest.
$ac_objext conftest
$ac_exeext
36531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36532 (eval $ac_link) 2>conftest.er1
36534 grep -v '^ *+' conftest.er1
>conftest.err
36536 cat conftest.err
>&5
36537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36538 (exit $ac_status); } &&
36539 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36541 (eval $ac_try) 2>&5
36543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36544 (exit $ac_status); }; } &&
36545 { ac_try
='test -s conftest$ac_exeext'
36546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36547 (eval $ac_try) 2>&5
36549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36550 (exit $ac_status); }; }; then
36551 ac_cv_func_pthread_attr_setstacksize
=yes
36553 echo "$as_me: failed program was:" >&5
36554 sed 's/^/| /' conftest.
$ac_ext >&5
36556 ac_cv_func_pthread_attr_setstacksize
=no
36558 rm -f conftest.err conftest.
$ac_objext \
36559 conftest
$ac_exeext conftest.
$ac_ext
36561 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
36562 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
36563 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
36564 cat >>confdefs.h
<<\_ACEOF
36565 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
36572 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
36573 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
36574 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
36575 echo $ECHO_N "(cached) $ECHO_C" >&6
36578 cat >conftest.
$ac_ext <<_ACEOF
36581 cat confdefs.h
>>conftest.
$ac_ext
36582 cat >>conftest.
$ac_ext <<_ACEOF
36583 /* end confdefs.h. */
36584 #include <pthread.h>
36589 pthread_mutexattr_t attr;
36590 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
36596 rm -f conftest.
$ac_objext
36597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36598 (eval $ac_compile) 2>conftest.er1
36600 grep -v '^ *+' conftest.er1
>conftest.err
36602 cat conftest.err
>&5
36603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36604 (exit $ac_status); } &&
36605 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36607 (eval $ac_try) 2>&5
36609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36610 (exit $ac_status); }; } &&
36611 { ac_try
='test -s conftest.$ac_objext'
36612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36613 (eval $ac_try) 2>&5
36615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36616 (exit $ac_status); }; }; then
36618 wx_cv_type_pthread_mutexattr_t
=yes
36621 echo "$as_me: failed program was:" >&5
36622 sed 's/^/| /' conftest.
$ac_ext >&5
36625 wx_cv_type_pthread_mutexattr_t
=no
36629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36632 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
36633 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
36635 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
36636 cat >>confdefs.h
<<\_ACEOF
36637 #define HAVE_PTHREAD_MUTEXATTR_T 1
36641 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
36642 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
36643 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
36644 echo $ECHO_N "(cached) $ECHO_C" >&6
36647 cat >conftest.
$ac_ext <<_ACEOF
36650 cat confdefs.h
>>conftest.
$ac_ext
36651 cat >>conftest.
$ac_ext <<_ACEOF
36652 /* end confdefs.h. */
36653 #include <pthread.h>
36658 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
36664 rm -f conftest.
$ac_objext
36665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36666 (eval $ac_compile) 2>conftest.er1
36668 grep -v '^ *+' conftest.er1
>conftest.err
36670 cat conftest.err
>&5
36671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36672 (exit $ac_status); } &&
36673 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36675 (eval $ac_try) 2>&5
36677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36678 (exit $ac_status); }; } &&
36679 { ac_try
='test -s conftest.$ac_objext'
36680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36681 (eval $ac_try) 2>&5
36683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36684 (exit $ac_status); }; }; then
36686 wx_cv_type_pthread_rec_mutex_init
=yes
36689 echo "$as_me: failed program was:" >&5
36690 sed 's/^/| /' conftest.
$ac_ext >&5
36693 wx_cv_type_pthread_rec_mutex_init
=no
36697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36700 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
36701 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
36702 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
36703 cat >>confdefs.h
<<\_ACEOF
36704 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
36708 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
36709 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
36715 if test "$wxUSE_THREADS" = "yes" ; then
36718 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
36719 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
36720 if test "${wx_cv_cflags_mthread+set}" = set; then
36721 echo $ECHO_N "(cached) $ECHO_C" >&6
36724 CFLAGS_OLD
="$CFLAGS"
36725 CFLAGS
="$CFLAGS -mthreads"
36726 cat >conftest.
$ac_ext <<_ACEOF
36729 cat confdefs.h
>>conftest.
$ac_ext
36730 cat >>conftest.
$ac_ext <<_ACEOF
36731 /* end confdefs.h. */
36741 rm -f conftest.
$ac_objext
36742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36743 (eval $ac_compile) 2>conftest.er1
36745 grep -v '^ *+' conftest.er1
>conftest.err
36747 cat conftest.err
>&5
36748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36749 (exit $ac_status); } &&
36750 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36752 (eval $ac_try) 2>&5
36754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36755 (exit $ac_status); }; } &&
36756 { ac_try
='test -s conftest.$ac_objext'
36757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36758 (eval $ac_try) 2>&5
36760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36761 (exit $ac_status); }; }; then
36762 wx_cv_cflags_mthread
=yes
36764 echo "$as_me: failed program was:" >&5
36765 sed 's/^/| /' conftest.
$ac_ext >&5
36767 wx_cv_cflags_mthread
=no
36770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36774 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
36775 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
36777 if test "$wx_cv_cflags_mthread" = "yes"; then
36778 CXXFLAGS
="$CXXFLAGS -mthreads"
36779 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
36780 LDFLAGS
="$LDFLAGS -mthreads"
36782 CFLAGS
="$CFLAGS_OLD"
36786 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
36787 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
36788 LDFLAGS
="$LDFLAGS -Zmt"
36794 if test "$wxUSE_THREADS" = "yes"; then
36795 cat >>confdefs.h
<<\_ACEOF
36796 #define wxUSE_THREADS 1
36800 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
36802 if test "$ac_cv_func_strtok_r" = "yes"; then
36803 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
36804 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
36805 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
36806 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
36807 echo "$as_me:$LINENO: result: yes" >&5
36808 echo "${ECHO_T}yes" >&6
36810 echo "$as_me:$LINENO: result: no" >&5
36811 echo "${ECHO_T}no" >&6
36816 if test "$WXGTK20" = 1 ; then
36817 cat >>confdefs.h
<<_ACEOF
36818 #define __WXGTK20__ $WXGTK20
36824 if test "$WXGTK12" = 1 ; then
36825 cat >>confdefs.h
<<_ACEOF
36826 #define __WXGTK12__ $WXGTK12
36831 if test "$WXGTK127" = 1 ; then
36832 cat >>confdefs.h
<<_ACEOF
36833 #define __WXGTK127__ $WXGTK127
36838 if test "$WXGPE" = 1 ; then
36839 cat >>confdefs.h
<<_ACEOF
36840 #define __WXGPE__ $WXGPE
36847 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
36852 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
36853 wxUSE_DEBUG_INFO
=yes
36854 if test "$GCC" = yes; then
36859 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
36860 cat >>confdefs.h
<<\_ACEOF
36864 WXDEBUG_DEFINE
="-D__WXDEBUG__"
36866 if test "$wxUSE_GTK" = 1 ; then
36867 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
36871 if test "$wxUSE_MEM_TRACING" = "yes" ; then
36872 cat >>confdefs.h
<<\_ACEOF
36873 #define wxUSE_MEMORY_TRACING 1
36876 cat >>confdefs.h
<<\_ACEOF
36877 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
36880 cat >>confdefs.h
<<\_ACEOF
36881 #define wxUSE_DEBUG_NEW_ALWAYS 1
36884 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
36887 if test "$wxUSE_DMALLOC" = "yes" ; then
36888 DMALLOC_LIBS
="-ldmallocthcxx"
36892 if test "$wxUSE_PROFILE" = "yes" ; then
36897 CODE_GEN_FLAGS_CXX
=
36898 if test "$GCC" = "yes" ; then
36899 if test "$wxUSE_NO_RTTI" = "yes" ; then
36900 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
36902 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36903 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
36905 if test "$wxUSE_PERMISSIVE" = "yes" ; then
36906 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
36911 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
36914 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
36920 if test "$wxUSE_OPTIMISE" = "no" ; then
36921 if test "$GCC" = yes ; then
36925 if test "$GCC" = yes ; then
36929 i586
-*-*|i686
-*-* )
36930 OPTIMISE
="${OPTIMISE} "
36939 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
36940 cat >>confdefs.h
<<\_ACEOF
36941 #define WXWIN_COMPATIBILITY_2_2 1
36945 WXWIN_COMPATIBILITY_2_4
="yes"
36948 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
36949 cat >>confdefs.h
<<\_ACEOF
36950 #define WXWIN_COMPATIBILITY_2_4 1
36956 if test "$wxUSE_GUI" = "yes"; then
36957 cat >>confdefs.h
<<\_ACEOF
36958 #define wxUSE_GUI 1
36965 if test "$wxUSE_UNIX" = "yes"; then
36966 cat >>confdefs.h
<<\_ACEOF
36967 #define wxUSE_UNIX 1
36973 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36977 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36978 if test "$USE_DARWIN" = 1; then
36980 elif test "$USE_DOS" = 1; then
36984 for ac_func
in dlopen
36986 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36987 echo "$as_me:$LINENO: checking for $ac_func" >&5
36988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36989 if eval "test \"\${$as_ac_var+set}\" = set"; then
36990 echo $ECHO_N "(cached) $ECHO_C" >&6
36992 cat >conftest.
$ac_ext <<_ACEOF
36995 cat confdefs.h
>>conftest.
$ac_ext
36996 cat >>conftest.
$ac_ext <<_ACEOF
36997 /* end confdefs.h. */
36998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37000 #define $ac_func innocuous_$ac_func
37002 /* System header to define __stub macros and hopefully few prototypes,
37003 which can conflict with char $ac_func (); below.
37004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37005 <limits.h> exists even on freestanding compilers. */
37008 # include <limits.h>
37010 # include <assert.h>
37015 /* Override any gcc2 internal prototype to avoid an error. */
37020 /* We use char because int might match the return type of a gcc2
37021 builtin and then its argument prototype would still apply. */
37023 /* The GNU C library defines this for functions which it implements
37024 to always fail with ENOSYS. Some functions are actually named
37025 something starting with __ and the normal name is an alias. */
37026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37029 char (*f) () = $ac_func;
37038 return f != $ac_func;
37043 rm -f conftest.
$ac_objext conftest
$ac_exeext
37044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37045 (eval $ac_link) 2>conftest.er1
37047 grep -v '^ *+' conftest.er1
>conftest.err
37049 cat conftest.err
>&5
37050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37051 (exit $ac_status); } &&
37052 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37054 (eval $ac_try) 2>&5
37056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37057 (exit $ac_status); }; } &&
37058 { ac_try
='test -s conftest$ac_exeext'
37059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37060 (eval $ac_try) 2>&5
37062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37063 (exit $ac_status); }; }; then
37064 eval "$as_ac_var=yes"
37066 echo "$as_me: failed program was:" >&5
37067 sed 's/^/| /' conftest.
$ac_ext >&5
37069 eval "$as_ac_var=no"
37071 rm -f conftest.err conftest.
$ac_objext \
37072 conftest
$ac_exeext conftest.
$ac_ext
37074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37076 if test `eval echo '${'$as_ac_var'}'` = yes; then
37077 cat >>confdefs.h
<<_ACEOF
37078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37081 cat >>confdefs.h
<<\_ACEOF
37082 #define HAVE_DLOPEN 1
37089 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
37090 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
37091 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
37092 echo $ECHO_N "(cached) $ECHO_C" >&6
37094 ac_check_lib_save_LIBS
=$LIBS
37096 cat >conftest.
$ac_ext <<_ACEOF
37099 cat confdefs.h
>>conftest.
$ac_ext
37100 cat >>conftest.
$ac_ext <<_ACEOF
37101 /* end confdefs.h. */
37103 /* Override any gcc2 internal prototype to avoid an error. */
37107 /* We use char because int might match the return type of a gcc2
37108 builtin and then its argument prototype would still apply. */
37118 rm -f conftest.
$ac_objext conftest
$ac_exeext
37119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37120 (eval $ac_link) 2>conftest.er1
37122 grep -v '^ *+' conftest.er1
>conftest.err
37124 cat conftest.err
>&5
37125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37126 (exit $ac_status); } &&
37127 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37129 (eval $ac_try) 2>&5
37131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37132 (exit $ac_status); }; } &&
37133 { ac_try
='test -s conftest$ac_exeext'
37134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37135 (eval $ac_try) 2>&5
37137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37138 (exit $ac_status); }; }; then
37139 ac_cv_lib_dl_dlopen
=yes
37141 echo "$as_me: failed program was:" >&5
37142 sed 's/^/| /' conftest.
$ac_ext >&5
37144 ac_cv_lib_dl_dlopen
=no
37146 rm -f conftest.err conftest.
$ac_objext \
37147 conftest
$ac_exeext conftest.
$ac_ext
37148 LIBS
=$ac_check_lib_save_LIBS
37150 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
37151 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
37152 if test $ac_cv_lib_dl_dlopen = yes; then
37154 cat >>confdefs.h
<<\_ACEOF
37155 #define HAVE_DLOPEN 1
37159 DL_LINK
=" -ldl$DL_LINK"
37164 for ac_func
in shl_load
37166 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37167 echo "$as_me:$LINENO: checking for $ac_func" >&5
37168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37169 if eval "test \"\${$as_ac_var+set}\" = set"; then
37170 echo $ECHO_N "(cached) $ECHO_C" >&6
37172 cat >conftest.
$ac_ext <<_ACEOF
37175 cat confdefs.h
>>conftest.
$ac_ext
37176 cat >>conftest.
$ac_ext <<_ACEOF
37177 /* end confdefs.h. */
37178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37180 #define $ac_func innocuous_$ac_func
37182 /* System header to define __stub macros and hopefully few prototypes,
37183 which can conflict with char $ac_func (); below.
37184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37185 <limits.h> exists even on freestanding compilers. */
37188 # include <limits.h>
37190 # include <assert.h>
37195 /* Override any gcc2 internal prototype to avoid an error. */
37200 /* We use char because int might match the return type of a gcc2
37201 builtin and then its argument prototype would still apply. */
37203 /* The GNU C library defines this for functions which it implements
37204 to always fail with ENOSYS. Some functions are actually named
37205 something starting with __ and the normal name is an alias. */
37206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37209 char (*f) () = $ac_func;
37218 return f != $ac_func;
37223 rm -f conftest.
$ac_objext conftest
$ac_exeext
37224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37225 (eval $ac_link) 2>conftest.er1
37227 grep -v '^ *+' conftest.er1
>conftest.err
37229 cat conftest.err
>&5
37230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37231 (exit $ac_status); } &&
37232 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37234 (eval $ac_try) 2>&5
37236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37237 (exit $ac_status); }; } &&
37238 { ac_try
='test -s conftest$ac_exeext'
37239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37240 (eval $ac_try) 2>&5
37242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37243 (exit $ac_status); }; }; then
37244 eval "$as_ac_var=yes"
37246 echo "$as_me: failed program was:" >&5
37247 sed 's/^/| /' conftest.
$ac_ext >&5
37249 eval "$as_ac_var=no"
37251 rm -f conftest.err conftest.
$ac_objext \
37252 conftest
$ac_exeext conftest.
$ac_ext
37254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37256 if test `eval echo '${'$as_ac_var'}'` = yes; then
37257 cat >>confdefs.h
<<_ACEOF
37258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37261 cat >>confdefs.h
<<\_ACEOF
37262 #define HAVE_SHL_LOAD 1
37269 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
37270 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
37271 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
37272 echo $ECHO_N "(cached) $ECHO_C" >&6
37274 ac_check_lib_save_LIBS
=$LIBS
37275 LIBS
="-lshl_load $LIBS"
37276 cat >conftest.
$ac_ext <<_ACEOF
37279 cat confdefs.h
>>conftest.
$ac_ext
37280 cat >>conftest.
$ac_ext <<_ACEOF
37281 /* end confdefs.h. */
37283 /* Override any gcc2 internal prototype to avoid an error. */
37287 /* We use char because int might match the return type of a gcc2
37288 builtin and then its argument prototype would still apply. */
37298 rm -f conftest.
$ac_objext conftest
$ac_exeext
37299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37300 (eval $ac_link) 2>conftest.er1
37302 grep -v '^ *+' conftest.er1
>conftest.err
37304 cat conftest.err
>&5
37305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37306 (exit $ac_status); } &&
37307 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37309 (eval $ac_try) 2>&5
37311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37312 (exit $ac_status); }; } &&
37313 { ac_try
='test -s conftest$ac_exeext'
37314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37315 (eval $ac_try) 2>&5
37317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37318 (exit $ac_status); }; }; then
37319 ac_cv_lib_shl_load_dld
=yes
37321 echo "$as_me: failed program was:" >&5
37322 sed 's/^/| /' conftest.
$ac_ext >&5
37324 ac_cv_lib_shl_load_dld
=no
37326 rm -f conftest.err conftest.
$ac_objext \
37327 conftest
$ac_exeext conftest.
$ac_ext
37328 LIBS
=$ac_check_lib_save_LIBS
37330 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
37331 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
37332 if test $ac_cv_lib_shl_load_dld = yes; then
37335 DL_LINK
=" -ldld$DL_LINK"
37351 if test "$HAVE_DL_FUNCS" = 1; then
37353 for ac_func
in dlerror
37355 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37356 echo "$as_me:$LINENO: checking for $ac_func" >&5
37357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37358 if eval "test \"\${$as_ac_var+set}\" = set"; then
37359 echo $ECHO_N "(cached) $ECHO_C" >&6
37361 cat >conftest.
$ac_ext <<_ACEOF
37364 cat confdefs.h
>>conftest.
$ac_ext
37365 cat >>conftest.
$ac_ext <<_ACEOF
37366 /* end confdefs.h. */
37367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37369 #define $ac_func innocuous_$ac_func
37371 /* System header to define __stub macros and hopefully few prototypes,
37372 which can conflict with char $ac_func (); below.
37373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37374 <limits.h> exists even on freestanding compilers. */
37377 # include <limits.h>
37379 # include <assert.h>
37384 /* Override any gcc2 internal prototype to avoid an error. */
37389 /* We use char because int might match the return type of a gcc2
37390 builtin and then its argument prototype would still apply. */
37392 /* The GNU C library defines this for functions which it implements
37393 to always fail with ENOSYS. Some functions are actually named
37394 something starting with __ and the normal name is an alias. */
37395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37398 char (*f) () = $ac_func;
37407 return f != $ac_func;
37412 rm -f conftest.
$ac_objext conftest
$ac_exeext
37413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37414 (eval $ac_link) 2>conftest.er1
37416 grep -v '^ *+' conftest.er1
>conftest.err
37418 cat conftest.err
>&5
37419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37420 (exit $ac_status); } &&
37421 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37423 (eval $ac_try) 2>&5
37425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37426 (exit $ac_status); }; } &&
37427 { ac_try
='test -s conftest$ac_exeext'
37428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37429 (eval $ac_try) 2>&5
37431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37432 (exit $ac_status); }; }; then
37433 eval "$as_ac_var=yes"
37435 echo "$as_me: failed program was:" >&5
37436 sed 's/^/| /' conftest.
$ac_ext >&5
37438 eval "$as_ac_var=no"
37440 rm -f conftest.err conftest.
$ac_objext \
37441 conftest
$ac_exeext conftest.
$ac_ext
37443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37445 if test `eval echo '${'$as_ac_var'}'` = yes; then
37446 cat >>confdefs.h
<<_ACEOF
37447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37449 cat >>confdefs.h
<<\_ACEOF
37450 #define HAVE_DLERROR 1
37455 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
37456 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
37457 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
37458 echo $ECHO_N "(cached) $ECHO_C" >&6
37460 ac_check_lib_save_LIBS
=$LIBS
37462 cat >conftest.
$ac_ext <<_ACEOF
37465 cat confdefs.h
>>conftest.
$ac_ext
37466 cat >>conftest.
$ac_ext <<_ACEOF
37467 /* end confdefs.h. */
37469 /* Override any gcc2 internal prototype to avoid an error. */
37473 /* We use char because int might match the return type of a gcc2
37474 builtin and then its argument prototype would still apply. */
37484 rm -f conftest.
$ac_objext conftest
$ac_exeext
37485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37486 (eval $ac_link) 2>conftest.er1
37488 grep -v '^ *+' conftest.er1
>conftest.err
37490 cat conftest.err
>&5
37491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37492 (exit $ac_status); } &&
37493 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37495 (eval $ac_try) 2>&5
37497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37498 (exit $ac_status); }; } &&
37499 { ac_try
='test -s conftest$ac_exeext'
37500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37501 (eval $ac_try) 2>&5
37503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37504 (exit $ac_status); }; }; then
37505 ac_cv_lib_dl_dlerror
=yes
37507 echo "$as_me: failed program was:" >&5
37508 sed 's/^/| /' conftest.
$ac_ext >&5
37510 ac_cv_lib_dl_dlerror
=no
37512 rm -f conftest.err conftest.
$ac_objext \
37513 conftest
$ac_exeext conftest.
$ac_ext
37514 LIBS
=$ac_check_lib_save_LIBS
37516 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
37517 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
37518 if test $ac_cv_lib_dl_dlerror = yes; then
37519 cat >>confdefs.h
<<\_ACEOF
37520 #define HAVE_DLERROR 1
37533 if test "$HAVE_DL_FUNCS" = 0; then
37534 if test "$HAVE_SHL_FUNCS" = 0; then
37535 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
37536 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
37537 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
37538 wxUSE_DYNAMIC_LOADER
=no
37539 wxUSE_DYNLIB_CLASS
=no
37541 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
37542 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
37549 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
37550 cat >>confdefs.h
<<\_ACEOF
37551 #define wxUSE_DYNAMIC_LOADER 1
37555 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
37556 cat >>confdefs.h
<<\_ACEOF
37557 #define wxUSE_DYNLIB_CLASS 1
37564 if test "$wxUSE_PLUGINS" = "yes" ; then
37565 if test "$wxUSE_SHARED" = "no" ; then
37566 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
37567 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
37570 if test "$wxUSE_MONOLITHIC" = "yes" ; then
37571 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
37572 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
37575 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
37576 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
37577 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
37580 if test "$wxUSE_PLUGINS" = "yes" ; then
37581 cat >>confdefs.h
<<\_ACEOF
37582 #define wxUSE_PLUGINS 1
37589 if test "$wxUSE_STL" = "yes"; then
37590 cat >>confdefs.h
<<\_ACEOF
37591 #define wxUSE_STL 1
37596 if test "$wxUSE_APPLE_IEEE" = "yes"; then
37597 cat >>confdefs.h
<<\_ACEOF
37598 #define wxUSE_APPLE_IEEE 1
37603 if test "$wxUSE_TIMER" = "yes"; then
37604 cat >>confdefs.h
<<\_ACEOF
37605 #define wxUSE_TIMER 1
37610 if test "$USE_UNIX" = "1" ; then
37611 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
37612 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
37613 if test "${ac_cv_header_sys_soundcard+set}" = set; then
37614 echo $ECHO_N "(cached) $ECHO_C" >&6
37617 cat >conftest.
$ac_ext <<_ACEOF
37620 cat confdefs.h
>>conftest.
$ac_ext
37621 cat >>conftest.
$ac_ext <<_ACEOF
37622 /* end confdefs.h. */
37624 #include <sys/soundcard.h>
37630 ioctl(0, SNDCTL_DSP_SYNC, 0);
37636 rm -f conftest.
$ac_objext conftest
$ac_exeext
37637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37638 (eval $ac_link) 2>conftest.er1
37640 grep -v '^ *+' conftest.er1
>conftest.err
37642 cat conftest.err
>&5
37643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37644 (exit $ac_status); } &&
37645 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37647 (eval $ac_try) 2>&5
37649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37650 (exit $ac_status); }; } &&
37651 { ac_try
='test -s conftest$ac_exeext'
37652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37653 (eval $ac_try) 2>&5
37655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37656 (exit $ac_status); }; }; then
37657 ac_cv_header_sys_soundcard
=yes
37659 echo "$as_me: failed program was:" >&5
37660 sed 's/^/| /' conftest.
$ac_ext >&5
37664 LIBS
="$saveLibs -lossaudio"
37665 cat >conftest.
$ac_ext <<_ACEOF
37668 cat confdefs.h
>>conftest.
$ac_ext
37669 cat >>conftest.
$ac_ext <<_ACEOF
37670 /* end confdefs.h. */
37672 #include <sys/soundcard.h>
37678 ioctl(0, SNDCTL_DSP_SYNC, 0);
37684 rm -f conftest.
$ac_objext conftest
$ac_exeext
37685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37686 (eval $ac_link) 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_c_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_exeext'
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 ac_cv_header_sys_soundcard
=yes
37707 echo "$as_me: failed program was:" >&5
37708 sed 's/^/| /' conftest.
$ac_ext >&5
37712 ac_cv_header_sys_soundcard
=no
37716 rm -f conftest.err conftest.
$ac_objext \
37717 conftest
$ac_exeext conftest.
$ac_ext
37721 rm -f conftest.err conftest.
$ac_objext \
37722 conftest
$ac_exeext conftest.
$ac_ext
37725 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
37726 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
37728 if test "$ac_cv_header_sys_soundcard" = "yes"; then
37729 cat >>confdefs.h
<<\_ACEOF
37730 #define HAVE_SYS_SOUNDCARD_H 1
37734 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
37738 if test "$wxUSE_SOUND" = "yes"; then
37739 if test "$USE_UNIX" = "1" ; then
37740 if test "$wxUSE_LIBSDL" != "no"; then
37742 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
37743 if test "${with_sdl_prefix+set}" = set; then
37744 withval
="$with_sdl_prefix"
37745 sdl_prefix
="$withval"
37750 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
37751 if test "${with_sdl_exec_prefix+set}" = set; then
37752 withval
="$with_sdl_exec_prefix"
37753 sdl_exec_prefix
="$withval"
37757 # Check whether --enable-sdltest or --disable-sdltest was given.
37758 if test "${enable_sdltest+set}" = set; then
37759 enableval
="$enable_sdltest"
37765 if test x
$sdl_exec_prefix != x
; then
37766 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
37767 if test x
${SDL_CONFIG+set} != xset
; then
37768 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
37771 if test x
$sdl_prefix != x
; then
37772 sdl_args
="$sdl_args --prefix=$sdl_prefix"
37773 if test x
${SDL_CONFIG+set} != xset
; then
37774 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
37779 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
37780 # Extract the first word of "sdl-config", so it can be a program name with args.
37781 set dummy sdl
-config; ac_word
=$2
37782 echo "$as_me:$LINENO: checking for $ac_word" >&5
37783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37784 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
37785 echo $ECHO_N "(cached) $ECHO_C" >&6
37787 case $SDL_CONFIG in
37789 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
37792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37793 for as_dir
in $PATH
37796 test -z "$as_dir" && as_dir
=.
37797 for ac_exec_ext
in '' $ac_executable_extensions; do
37798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37799 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
37800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37806 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
37810 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
37812 if test -n "$SDL_CONFIG"; then
37813 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
37814 echo "${ECHO_T}$SDL_CONFIG" >&6
37816 echo "$as_me:$LINENO: result: no" >&5
37817 echo "${ECHO_T}no" >&6
37820 min_sdl_version
=1.2.0
37821 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
37822 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
37824 if test "$SDL_CONFIG" = "no" ; then
37827 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
37828 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
37830 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
37831 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
37832 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
37833 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
37834 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
37835 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
37836 if test "x$enable_sdltest" = "xyes" ; then
37837 ac_save_CFLAGS
="$CFLAGS"
37838 ac_save_CXXFLAGS
="$CXXFLAGS"
37839 ac_save_LIBS
="$LIBS"
37840 CFLAGS
="$CFLAGS $SDL_CFLAGS"
37841 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
37842 LIBS
="$LIBS $SDL_LIBS"
37844 if test "$cross_compiling" = yes; then
37845 echo $ac_n "cross compiling; assumed OK... $ac_c"
37847 cat >conftest.
$ac_ext <<_ACEOF
37850 cat confdefs.h
>>conftest.
$ac_ext
37851 cat >>conftest.
$ac_ext <<_ACEOF
37852 /* end confdefs.h. */
37855 #include <stdlib.h>
37856 #include <string.h>
37860 my_strdup (char *str)
37866 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
37867 strcpy (new_str, str);
37875 int main (int argc, char *argv[])
37877 int major, minor, micro;
37880 /* This hangs on some systems (?)
37881 system ("touch conf.sdltest");
37883 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
37885 /* HP/UX 9 (%@#!) writes to sscanf strings */
37886 tmp_version = my_strdup("$min_sdl_version");
37887 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
37888 printf("%s, bad version string\n", "$min_sdl_version");
37892 if (($sdl_major_version > major) ||
37893 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
37894 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
37900 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
37901 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
37902 printf("*** best to upgrade to the required version.\n");
37903 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
37904 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
37905 printf("*** config.cache before re-running configure\n");
37912 rm -f conftest
$ac_exeext
37913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37914 (eval $ac_link) 2>&5
37916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37917 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
37918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37919 (eval $ac_try) 2>&5
37921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37922 (exit $ac_status); }; }; then
37925 echo "$as_me: program exited with status $ac_status" >&5
37926 echo "$as_me: failed program was:" >&5
37927 sed 's/^/| /' conftest.
$ac_ext >&5
37929 ( exit $ac_status )
37932 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
37934 CFLAGS
="$ac_save_CFLAGS"
37935 CXXFLAGS
="$ac_save_CXXFLAGS"
37936 LIBS
="$ac_save_LIBS"
37939 if test "x$no_sdl" = x
; then
37940 echo "$as_me:$LINENO: result: yes" >&5
37941 echo "${ECHO_T}yes" >&6
37943 EXTRALIBS_SDL
="$SDL_LIBS"
37944 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
37945 cat >>confdefs.h
<<\_ACEOF
37946 #define wxUSE_LIBSDL 1
37951 echo "$as_me:$LINENO: result: no" >&5
37952 echo "${ECHO_T}no" >&6
37953 if test "$SDL_CONFIG" = "no" ; then
37954 echo "*** The sdl-config script installed by SDL could not be found"
37955 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
37956 echo "*** your path, or set the SDL_CONFIG environment variable to the"
37957 echo "*** full path to sdl-config."
37959 if test -f conf.sdltest
; then
37962 echo "*** Could not run SDL test program, checking why..."
37963 CFLAGS
="$CFLAGS $SDL_CFLAGS"
37964 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
37965 LIBS
="$LIBS $SDL_LIBS"
37966 cat >conftest.
$ac_ext <<_ACEOF
37969 cat confdefs.h
>>conftest.
$ac_ext
37970 cat >>conftest.
$ac_ext <<_ACEOF
37971 /* end confdefs.h. */
37976 int main(int argc, char *argv[])
37979 #define main K_and_R_C_main
37989 rm -f conftest.
$ac_objext conftest
$ac_exeext
37990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37991 (eval $ac_link) 2>conftest.er1
37993 grep -v '^ *+' conftest.er1
>conftest.err
37995 cat conftest.err
>&5
37996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37997 (exit $ac_status); } &&
37998 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38000 (eval $ac_try) 2>&5
38002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38003 (exit $ac_status); }; } &&
38004 { ac_try
='test -s conftest$ac_exeext'
38005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38006 (eval $ac_try) 2>&5
38008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38009 (exit $ac_status); }; }; then
38010 echo "*** The test program compiled, but did not run. This usually means"
38011 echo "*** that the run-time linker is not finding SDL or finding the wrong"
38012 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
38013 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
38014 echo "*** to the installed location Also, make sure you have run ldconfig if that"
38015 echo "*** is required on your system"
38017 echo "*** If you have an old version installed, it is best to remove it, although"
38018 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
38020 echo "$as_me: failed program was:" >&5
38021 sed 's/^/| /' conftest.
$ac_ext >&5
38023 echo "*** The test program failed to compile or link. See the file config.log for the"
38024 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
38025 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
38026 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
38028 rm -f conftest.err conftest.
$ac_objext \
38029 conftest
$ac_exeext conftest.
$ac_ext
38030 CFLAGS
="$ac_save_CFLAGS"
38031 CXXFLAGS
="$ac_save_CXXFLAGS"
38032 LIBS
="$ac_save_LIBS"
38043 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
38049 cat >>confdefs.h
<<\_ACEOF
38050 #define wxUSE_SOUND 1
38053 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
38056 if test "$WXGTK20" = 1; then
38057 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
38058 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
38063 if test -z "$PKG_CONFIG"; then
38064 # Extract the first word of "pkg-config", so it can be a program name with args.
38065 set dummy pkg
-config; ac_word
=$2
38066 echo "$as_me:$LINENO: checking for $ac_word" >&5
38067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38068 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
38069 echo $ECHO_N "(cached) $ECHO_C" >&6
38071 case $PKG_CONFIG in
38073 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
38076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38077 for as_dir
in $PATH
38080 test -z "$as_dir" && as_dir
=.
38081 for ac_exec_ext
in '' $ac_executable_extensions; do
38082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38083 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
38084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38090 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
38094 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
38096 if test -n "$PKG_CONFIG"; then
38097 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
38098 echo "${ECHO_T}$PKG_CONFIG" >&6
38100 echo "$as_me:$LINENO: result: no" >&5
38101 echo "${ECHO_T}no" >&6
38106 if test "$PKG_CONFIG" = "no" ; then
38107 echo "*** The pkg-config script could not be found. Make sure it is"
38108 echo "*** in your path, or set the PKG_CONFIG environment variable"
38109 echo "*** to the full path to pkg-config."
38110 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
38112 PKG_CONFIG_MIN_VERSION
=0.9.0
38113 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
38114 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
38115 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
38117 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
38118 echo "$as_me:$LINENO: result: yes" >&5
38119 echo "${ECHO_T}yes" >&6
38122 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
38123 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
38124 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
38125 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
38126 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
38128 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
38129 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
38130 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
38131 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
38132 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
38134 LIBGNOMEPRINTUI_CFLAGS
=""
38135 LIBGNOMEPRINTUI_LIBS
=""
38136 ## If we have a custom action on failure, don't print errors, but
38137 ## do set a variable so people can do so.
38138 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
38145 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
38146 echo "*** See http://www.freedesktop.org/software/pkgconfig"
38150 if test $succeeded = yes; then
38152 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
38153 cat >>confdefs.h
<<\_ACEOF
38154 #define wxUSE_LIBGNOMEPRINT 1
38160 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
38161 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
38162 wxUSE_LIBGNOMEPRINT
="no"
38172 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
38173 cat >>confdefs.h
<<\_ACEOF
38174 #define wxUSE_CMDLINE_PARSER 1
38179 if test "$wxUSE_STOPWATCH" = "yes"; then
38180 cat >>confdefs.h
<<\_ACEOF
38181 #define wxUSE_STOPWATCH 1
38186 if test "$wxUSE_DATETIME" = "yes"; then
38187 cat >>confdefs.h
<<\_ACEOF
38188 #define wxUSE_DATETIME 1
38193 if test "$wxUSE_FILE" = "yes"; then
38194 cat >>confdefs.h
<<\_ACEOF
38195 #define wxUSE_FILE 1
38200 if test "$wxUSE_FFILE" = "yes"; then
38201 cat >>confdefs.h
<<\_ACEOF
38202 #define wxUSE_FFILE 1
38207 if test "$wxUSE_FILESYSTEM" = "yes"; then
38208 cat >>confdefs.h
<<\_ACEOF
38209 #define wxUSE_FILESYSTEM 1
38214 if test "$wxUSE_FS_ZIP" = "yes"; then
38215 cat >>confdefs.h
<<\_ACEOF
38216 #define wxUSE_FS_ZIP 1
38221 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
38222 cat >>confdefs.h
<<\_ACEOF
38223 #define wxUSE_ARCHIVE_STREAMS 1
38228 if test "$wxUSE_ZIPSTREAM" = "yes"; then
38229 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
38230 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
38231 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
38232 elif test "$wxUSE_ZLIB" = "no"; then
38233 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
38234 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
38236 cat >>confdefs.h
<<\_ACEOF
38237 #define wxUSE_ZIPSTREAM 1
38243 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38244 if test "$USE_UNIX" != 1; then
38245 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
38246 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
38247 wxUSE_ON_FATAL_EXCEPTION
=no
38249 cat >>confdefs.h
<<\_ACEOF
38250 #define wxUSE_ON_FATAL_EXCEPTION 1
38256 if test "$wxUSE_STACKWALKER" = "yes"; then
38257 cat >>confdefs.h
<<\_ACEOF
38258 #define wxUSE_STACKWALKER 1
38263 if test "$wxUSE_DEBUGREPORT" = "yes"; then
38264 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
38265 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
38266 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
38267 wxUSE_DEBUGREPORT
=no
38269 cat >>confdefs.h
<<\_ACEOF
38270 #define wxUSE_DEBUGREPORT 1
38273 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38274 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
38279 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38280 cat >>confdefs.h
<<\_ACEOF
38281 #define wxUSE_SNGLINST_CHECKER 1
38286 if test "$wxUSE_BUSYINFO" = "yes"; then
38287 cat >>confdefs.h
<<\_ACEOF
38288 #define wxUSE_BUSYINFO 1
38293 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
38294 cat >>confdefs.h
<<\_ACEOF
38295 #define wxUSE_STD_IOSTREAM 1
38300 if test "$wxUSE_STD_STRING" = "yes"; then
38301 cat >>confdefs.h
<<\_ACEOF
38302 #define wxUSE_STD_STRING 1
38307 if test "$wxUSE_STDPATHS" = "yes"; then
38308 cat >>confdefs.h
<<\_ACEOF
38309 #define wxUSE_STDPATHS 1
38314 if test "$wxUSE_TEXTBUFFER" = "yes"; then
38315 cat >>confdefs.h
<<\_ACEOF
38316 #define wxUSE_TEXTBUFFER 1
38321 if test "$wxUSE_TEXTFILE" = "yes"; then
38322 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
38323 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
38324 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
38326 cat >>confdefs.h
<<\_ACEOF
38327 #define wxUSE_TEXTFILE 1
38333 if test "$wxUSE_CONFIG" = "yes" ; then
38334 if test "$wxUSE_TEXTFILE" != "yes"; then
38335 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
38336 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
38338 cat >>confdefs.h
<<\_ACEOF
38339 #define wxUSE_CONFIG 1
38342 cat >>confdefs.h
<<\_ACEOF
38343 #define wxUSE_CONFIG_NATIVE 1
38346 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
38350 if test "$wxUSE_INTL" = "yes" ; then
38351 if test "$wxUSE_FILE" != "yes"; then
38352 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
38353 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
38355 cat >>confdefs.h
<<\_ACEOF
38356 #define wxUSE_INTL 1
38359 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
38360 GUIDIST
="$GUIDIST INTL_DIST"
38364 if test "$wxUSE_LOG" = "yes"; then
38365 cat >>confdefs.h
<<\_ACEOF
38366 #define wxUSE_LOG 1
38370 if test "$wxUSE_LOGGUI" = "yes"; then
38371 cat >>confdefs.h
<<\_ACEOF
38372 #define wxUSE_LOGGUI 1
38377 if test "$wxUSE_LOGWINDOW" = "yes"; then
38378 cat >>confdefs.h
<<\_ACEOF
38379 #define wxUSE_LOGWINDOW 1
38384 if test "$wxUSE_LOGDIALOG" = "yes"; then
38385 cat >>confdefs.h
<<\_ACEOF
38386 #define wxUSE_LOG_DIALOG 1
38391 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
38394 if test "$wxUSE_LONGLONG" = "yes"; then
38395 cat >>confdefs.h
<<\_ACEOF
38396 #define wxUSE_LONGLONG 1
38401 if test "$wxUSE_GEOMETRY" = "yes"; then
38402 cat >>confdefs.h
<<\_ACEOF
38403 #define wxUSE_GEOMETRY 1
38408 if test "$wxUSE_STREAMS" = "yes" ; then
38409 cat >>confdefs.h
<<\_ACEOF
38410 #define wxUSE_STREAMS 1
38416 if test "$wxUSE_DATETIME" = "yes"; then
38418 for ac_func
in strptime
38420 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38421 echo "$as_me:$LINENO: checking for $ac_func" >&5
38422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38423 if eval "test \"\${$as_ac_var+set}\" = set"; then
38424 echo $ECHO_N "(cached) $ECHO_C" >&6
38426 cat >conftest.
$ac_ext <<_ACEOF
38429 cat confdefs.h
>>conftest.
$ac_ext
38430 cat >>conftest.
$ac_ext <<_ACEOF
38431 /* end confdefs.h. */
38432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38434 #define $ac_func innocuous_$ac_func
38436 /* System header to define __stub macros and hopefully few prototypes,
38437 which can conflict with char $ac_func (); below.
38438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38439 <limits.h> exists even on freestanding compilers. */
38442 # include <limits.h>
38444 # include <assert.h>
38449 /* Override any gcc2 internal prototype to avoid an error. */
38454 /* We use char because int might match the return type of a gcc2
38455 builtin and then its argument prototype would still apply. */
38457 /* The GNU C library defines this for functions which it implements
38458 to always fail with ENOSYS. Some functions are actually named
38459 something starting with __ and the normal name is an alias. */
38460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38463 char (*f) () = $ac_func;
38472 return f != $ac_func;
38477 rm -f conftest.
$ac_objext conftest
$ac_exeext
38478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38479 (eval $ac_link) 2>conftest.er1
38481 grep -v '^ *+' conftest.er1
>conftest.err
38483 cat conftest.err
>&5
38484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38485 (exit $ac_status); } &&
38486 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38488 (eval $ac_try) 2>&5
38490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38491 (exit $ac_status); }; } &&
38492 { ac_try
='test -s conftest$ac_exeext'
38493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38494 (eval $ac_try) 2>&5
38496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38497 (exit $ac_status); }; }; then
38498 eval "$as_ac_var=yes"
38500 echo "$as_me: failed program was:" >&5
38501 sed 's/^/| /' conftest.
$ac_ext >&5
38503 eval "$as_ac_var=no"
38505 rm -f conftest.err conftest.
$ac_objext \
38506 conftest
$ac_exeext conftest.
$ac_ext
38508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38510 if test `eval echo '${'$as_ac_var'}'` = yes; then
38511 cat >>confdefs.h
<<_ACEOF
38512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38519 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
38520 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
38521 if test "${wx_cv_var_timezone+set}" = set; then
38522 echo $ECHO_N "(cached) $ECHO_C" >&6
38525 cat >conftest.
$ac_ext <<_ACEOF
38528 cat confdefs.h
>>conftest.
$ac_ext
38529 cat >>conftest.
$ac_ext <<_ACEOF
38530 /* end confdefs.h. */
38545 rm -f conftest.
$ac_objext
38546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38547 (eval $ac_compile) 2>conftest.er1
38549 grep -v '^ *+' conftest.er1
>conftest.err
38551 cat conftest.err
>&5
38552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38553 (exit $ac_status); } &&
38554 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38556 (eval $ac_try) 2>&5
38558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38559 (exit $ac_status); }; } &&
38560 { ac_try
='test -s conftest.$ac_objext'
38561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38562 (eval $ac_try) 2>&5
38564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38565 (exit $ac_status); }; }; then
38567 wx_cv_var_timezone
=timezone
38570 echo "$as_me: failed program was:" >&5
38571 sed 's/^/| /' conftest.
$ac_ext >&5
38574 cat >conftest.
$ac_ext <<_ACEOF
38577 cat confdefs.h
>>conftest.
$ac_ext
38578 cat >>conftest.
$ac_ext <<_ACEOF
38579 /* end confdefs.h. */
38594 rm -f conftest.
$ac_objext
38595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38596 (eval $ac_compile) 2>conftest.er1
38598 grep -v '^ *+' conftest.er1
>conftest.err
38600 cat conftest.err
>&5
38601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38602 (exit $ac_status); } &&
38603 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38605 (eval $ac_try) 2>&5
38607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38608 (exit $ac_status); }; } &&
38609 { ac_try
='test -s conftest.$ac_objext'
38610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38611 (eval $ac_try) 2>&5
38613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38614 (exit $ac_status); }; }; then
38616 wx_cv_var_timezone
=_timezone
38619 echo "$as_me: failed program was:" >&5
38620 sed 's/^/| /' conftest.
$ac_ext >&5
38623 cat >conftest.
$ac_ext <<_ACEOF
38626 cat confdefs.h
>>conftest.
$ac_ext
38627 cat >>conftest.
$ac_ext <<_ACEOF
38628 /* end confdefs.h. */
38643 rm -f conftest.
$ac_objext
38644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38645 (eval $ac_compile) 2>conftest.er1
38647 grep -v '^ *+' conftest.er1
>conftest.err
38649 cat conftest.err
>&5
38650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38651 (exit $ac_status); } &&
38652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38654 (eval $ac_try) 2>&5
38656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38657 (exit $ac_status); }; } &&
38658 { ac_try
='test -s conftest.$ac_objext'
38659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38660 (eval $ac_try) 2>&5
38662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38663 (exit $ac_status); }; }; then
38665 wx_cv_var_timezone
=__timezone
38668 echo "$as_me: failed program was:" >&5
38669 sed 's/^/| /' conftest.
$ac_ext >&5
38672 if test "$USE_DOS" = 0 ; then
38673 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
38674 echo "$as_me: WARNING: no timezone variable" >&2;}
38679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38691 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
38692 echo "${ECHO_T}$wx_cv_var_timezone" >&6
38694 if test "x$wx_cv_var_timezone" != x
; then
38695 cat >>confdefs.h
<<_ACEOF
38696 #define WX_TIMEZONE $wx_cv_var_timezone
38702 for ac_func
in localtime
38704 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38705 echo "$as_me:$LINENO: checking for $ac_func" >&5
38706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38707 if eval "test \"\${$as_ac_var+set}\" = set"; then
38708 echo $ECHO_N "(cached) $ECHO_C" >&6
38710 cat >conftest.
$ac_ext <<_ACEOF
38713 cat confdefs.h
>>conftest.
$ac_ext
38714 cat >>conftest.
$ac_ext <<_ACEOF
38715 /* end confdefs.h. */
38716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38718 #define $ac_func innocuous_$ac_func
38720 /* System header to define __stub macros and hopefully few prototypes,
38721 which can conflict with char $ac_func (); below.
38722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38723 <limits.h> exists even on freestanding compilers. */
38726 # include <limits.h>
38728 # include <assert.h>
38733 /* Override any gcc2 internal prototype to avoid an error. */
38738 /* We use char because int might match the return type of a gcc2
38739 builtin and then its argument prototype would still apply. */
38741 /* The GNU C library defines this for functions which it implements
38742 to always fail with ENOSYS. Some functions are actually named
38743 something starting with __ and the normal name is an alias. */
38744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38747 char (*f) () = $ac_func;
38756 return f != $ac_func;
38761 rm -f conftest.
$ac_objext conftest
$ac_exeext
38762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38763 (eval $ac_link) 2>conftest.er1
38765 grep -v '^ *+' conftest.er1
>conftest.err
38767 cat conftest.err
>&5
38768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38769 (exit $ac_status); } &&
38770 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38772 (eval $ac_try) 2>&5
38774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38775 (exit $ac_status); }; } &&
38776 { ac_try
='test -s conftest$ac_exeext'
38777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38778 (eval $ac_try) 2>&5
38780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38781 (exit $ac_status); }; }; then
38782 eval "$as_ac_var=yes"
38784 echo "$as_me: failed program was:" >&5
38785 sed 's/^/| /' conftest.
$ac_ext >&5
38787 eval "$as_ac_var=no"
38789 rm -f conftest.err conftest.
$ac_objext \
38790 conftest
$ac_exeext conftest.
$ac_ext
38792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38794 if test `eval echo '${'$as_ac_var'}'` = yes; then
38795 cat >>confdefs.h
<<_ACEOF
38796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38803 if test "$ac_cv_func_localtime" = "yes"; then
38804 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
38805 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
38806 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
38807 echo $ECHO_N "(cached) $ECHO_C" >&6
38810 cat >conftest.
$ac_ext <<_ACEOF
38813 cat confdefs.h
>>conftest.
$ac_ext
38814 cat >>conftest.
$ac_ext <<_ACEOF
38815 /* end confdefs.h. */
38830 rm -f conftest.
$ac_objext
38831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38832 (eval $ac_compile) 2>conftest.er1
38834 grep -v '^ *+' conftest.er1
>conftest.err
38836 cat conftest.err
>&5
38837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38838 (exit $ac_status); } &&
38839 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38841 (eval $ac_try) 2>&5
38843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38844 (exit $ac_status); }; } &&
38845 { ac_try
='test -s conftest.$ac_objext'
38846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38847 (eval $ac_try) 2>&5
38849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38850 (exit $ac_status); }; }; then
38852 wx_cv_struct_tm_has_gmtoff
=yes
38855 echo "$as_me: failed program was:" >&5
38856 sed 's/^/| /' conftest.
$ac_ext >&5
38858 wx_cv_struct_tm_has_gmtoff
=no
38861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38864 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
38865 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
38868 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
38869 cat >>confdefs.h
<<\_ACEOF
38870 #define WX_GMTOFF_IN_TM 1
38877 for ac_func
in gettimeofday ftime
38879 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38880 echo "$as_me:$LINENO: checking for $ac_func" >&5
38881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38882 if eval "test \"\${$as_ac_var+set}\" = set"; then
38883 echo $ECHO_N "(cached) $ECHO_C" >&6
38885 cat >conftest.
$ac_ext <<_ACEOF
38888 cat confdefs.h
>>conftest.
$ac_ext
38889 cat >>conftest.
$ac_ext <<_ACEOF
38890 /* end confdefs.h. */
38891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38893 #define $ac_func innocuous_$ac_func
38895 /* System header to define __stub macros and hopefully few prototypes,
38896 which can conflict with char $ac_func (); below.
38897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38898 <limits.h> exists even on freestanding compilers. */
38901 # include <limits.h>
38903 # include <assert.h>
38908 /* Override any gcc2 internal prototype to avoid an error. */
38913 /* We use char because int might match the return type of a gcc2
38914 builtin and then its argument prototype would still apply. */
38916 /* The GNU C library defines this for functions which it implements
38917 to always fail with ENOSYS. Some functions are actually named
38918 something starting with __ and the normal name is an alias. */
38919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38922 char (*f) () = $ac_func;
38931 return f != $ac_func;
38936 rm -f conftest.
$ac_objext conftest
$ac_exeext
38937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38938 (eval $ac_link) 2>conftest.er1
38940 grep -v '^ *+' conftest.er1
>conftest.err
38942 cat conftest.err
>&5
38943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38944 (exit $ac_status); } &&
38945 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38947 (eval $ac_try) 2>&5
38949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38950 (exit $ac_status); }; } &&
38951 { ac_try
='test -s conftest$ac_exeext'
38952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38953 (eval $ac_try) 2>&5
38955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38956 (exit $ac_status); }; }; then
38957 eval "$as_ac_var=yes"
38959 echo "$as_me: failed program was:" >&5
38960 sed 's/^/| /' conftest.
$ac_ext >&5
38962 eval "$as_ac_var=no"
38964 rm -f conftest.err conftest.
$ac_objext \
38965 conftest
$ac_exeext conftest.
$ac_ext
38967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38969 if test `eval echo '${'$as_ac_var'}'` = yes; then
38970 cat >>confdefs.h
<<_ACEOF
38971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38978 if test "$ac_cv_func_gettimeofday" = "yes"; then
38979 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
38980 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
38981 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
38982 echo $ECHO_N "(cached) $ECHO_C" >&6
38988 ac_cpp
='$CXXCPP $CPPFLAGS'
38989 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38990 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38991 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38994 cat >conftest.
$ac_ext <<_ACEOF
38997 cat confdefs.h
>>conftest.
$ac_ext
38998 cat >>conftest.
$ac_ext <<_ACEOF
38999 /* end confdefs.h. */
39001 #include <sys/time.h>
39002 #include <unistd.h>
39009 gettimeofday(&tv, NULL);
39015 rm -f conftest.
$ac_objext
39016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39017 (eval $ac_compile) 2>conftest.er1
39019 grep -v '^ *+' conftest.er1
>conftest.err
39021 cat conftest.err
>&5
39022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39023 (exit $ac_status); } &&
39024 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39026 (eval $ac_try) 2>&5
39028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39029 (exit $ac_status); }; } &&
39030 { ac_try
='test -s conftest.$ac_objext'
39031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39032 (eval $ac_try) 2>&5
39034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39035 (exit $ac_status); }; }; then
39036 wx_cv_func_gettimeofday_has_2_args
=yes
39038 echo "$as_me: failed program was:" >&5
39039 sed 's/^/| /' conftest.
$ac_ext >&5
39041 cat >conftest.
$ac_ext <<_ACEOF
39044 cat confdefs.h
>>conftest.
$ac_ext
39045 cat >>conftest.
$ac_ext <<_ACEOF
39046 /* end confdefs.h. */
39048 #include <sys/time.h>
39049 #include <unistd.h>
39062 rm -f conftest.
$ac_objext
39063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39064 (eval $ac_compile) 2>conftest.er1
39066 grep -v '^ *+' conftest.er1
>conftest.err
39068 cat conftest.err
>&5
39069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39070 (exit $ac_status); } &&
39071 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39073 (eval $ac_try) 2>&5
39075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39076 (exit $ac_status); }; } &&
39077 { ac_try
='test -s conftest.$ac_objext'
39078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39079 (eval $ac_try) 2>&5
39081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39082 (exit $ac_status); }; }; then
39083 wx_cv_func_gettimeofday_has_2_args
=no
39085 echo "$as_me: failed program was:" >&5
39086 sed 's/^/| /' conftest.
$ac_ext >&5
39089 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
39090 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
39091 wx_cv_func_gettimeofday_has_2_args
=unknown
39095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39100 ac_cpp
='$CPP $CPPFLAGS'
39101 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39102 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39103 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39107 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
39108 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
39110 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
39111 cat >>confdefs.h
<<\_ACEOF
39112 #define WX_GETTIMEOFDAY_NO_TZ 1
39118 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
39122 if test "$wxUSE_SOCKETS" = "yes"; then
39123 if test "$wxUSE_MGL" = "1"; then
39124 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
39125 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
39130 if test "$wxUSE_SOCKETS" = "yes"; then
39131 if test "$TOOLKIT" != "MSW"; then
39132 echo "$as_me:$LINENO: checking for socket" >&5
39133 echo $ECHO_N "checking for socket... $ECHO_C" >&6
39134 if test "${ac_cv_func_socket+set}" = set; then
39135 echo $ECHO_N "(cached) $ECHO_C" >&6
39137 cat >conftest.
$ac_ext <<_ACEOF
39140 cat confdefs.h
>>conftest.
$ac_ext
39141 cat >>conftest.
$ac_ext <<_ACEOF
39142 /* end confdefs.h. */
39143 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
39144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39145 #define socket innocuous_socket
39147 /* System header to define __stub macros and hopefully few prototypes,
39148 which can conflict with char socket (); below.
39149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39150 <limits.h> exists even on freestanding compilers. */
39153 # include <limits.h>
39155 # include <assert.h>
39160 /* Override any gcc2 internal prototype to avoid an error. */
39165 /* We use char because int might match the return type of a gcc2
39166 builtin and then its argument prototype would still apply. */
39168 /* The GNU C library defines this for functions which it implements
39169 to always fail with ENOSYS. Some functions are actually named
39170 something starting with __ and the normal name is an alias. */
39171 #if defined (__stub_socket) || defined (__stub___socket)
39174 char (*f) () = socket;
39183 return f != socket;
39188 rm -f conftest.
$ac_objext conftest
$ac_exeext
39189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39190 (eval $ac_link) 2>conftest.er1
39192 grep -v '^ *+' conftest.er1
>conftest.err
39194 cat conftest.err
>&5
39195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39196 (exit $ac_status); } &&
39197 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39199 (eval $ac_try) 2>&5
39201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39202 (exit $ac_status); }; } &&
39203 { ac_try
='test -s conftest$ac_exeext'
39204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39205 (eval $ac_try) 2>&5
39207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39208 (exit $ac_status); }; }; then
39209 ac_cv_func_socket
=yes
39211 echo "$as_me: failed program was:" >&5
39212 sed 's/^/| /' conftest.
$ac_ext >&5
39214 ac_cv_func_socket
=no
39216 rm -f conftest.err conftest.
$ac_objext \
39217 conftest
$ac_exeext conftest.
$ac_ext
39219 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
39220 echo "${ECHO_T}$ac_cv_func_socket" >&6
39221 if test $ac_cv_func_socket = yes; then
39225 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
39226 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
39227 if test "${ac_cv_lib_socket_socket+set}" = set; then
39228 echo $ECHO_N "(cached) $ECHO_C" >&6
39230 ac_check_lib_save_LIBS
=$LIBS
39231 LIBS
="-lsocket $LIBS"
39232 cat >conftest.
$ac_ext <<_ACEOF
39235 cat confdefs.h
>>conftest.
$ac_ext
39236 cat >>conftest.
$ac_ext <<_ACEOF
39237 /* end confdefs.h. */
39239 /* Override any gcc2 internal prototype to avoid an error. */
39243 /* We use char because int might match the return type of a gcc2
39244 builtin and then its argument prototype would still apply. */
39254 rm -f conftest.
$ac_objext conftest
$ac_exeext
39255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39256 (eval $ac_link) 2>conftest.er1
39258 grep -v '^ *+' conftest.er1
>conftest.err
39260 cat conftest.err
>&5
39261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39262 (exit $ac_status); } &&
39263 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39265 (eval $ac_try) 2>&5
39267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39268 (exit $ac_status); }; } &&
39269 { ac_try
='test -s conftest$ac_exeext'
39270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39271 (eval $ac_try) 2>&5
39273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39274 (exit $ac_status); }; }; then
39275 ac_cv_lib_socket_socket
=yes
39277 echo "$as_me: failed program was:" >&5
39278 sed 's/^/| /' conftest.
$ac_ext >&5
39280 ac_cv_lib_socket_socket
=no
39282 rm -f conftest.err conftest.
$ac_objext \
39283 conftest
$ac_exeext conftest.
$ac_ext
39284 LIBS
=$ac_check_lib_save_LIBS
39286 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
39287 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
39288 if test $ac_cv_lib_socket_socket = yes; then
39289 if test "$INET_LINK" != " -lsocket"; then
39290 INET_LINK
="$INET_LINK -lsocket"
39294 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
39295 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
39308 if test "$wxUSE_SOCKETS" = "yes" ; then
39309 if test "$TOOLKIT" != "MSW"; then
39311 ac_cpp
='$CXXCPP $CPPFLAGS'
39312 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39313 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39314 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39316 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
39317 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
39318 if test "${wx_cv_type_getsockname3+set}" = set; then
39319 echo $ECHO_N "(cached) $ECHO_C" >&6
39322 cat >conftest.
$ac_ext <<_ACEOF
39325 cat confdefs.h
>>conftest.
$ac_ext
39326 cat >>conftest.
$ac_ext <<_ACEOF
39327 /* end confdefs.h. */
39329 #include <sys/types.h>
39330 #include <sys/socket.h>
39337 getsockname(0, 0, &len);
39343 rm -f conftest.
$ac_objext
39344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39345 (eval $ac_compile) 2>conftest.er1
39347 grep -v '^ *+' conftest.er1
>conftest.err
39349 cat conftest.err
>&5
39350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39351 (exit $ac_status); } &&
39352 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39354 (eval $ac_try) 2>&5
39356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39357 (exit $ac_status); }; } &&
39358 { ac_try
='test -s conftest.$ac_objext'
39359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39360 (eval $ac_try) 2>&5
39362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39363 (exit $ac_status); }; }; then
39364 wx_cv_type_getsockname3
=socklen_t
39366 echo "$as_me: failed program was:" >&5
39367 sed 's/^/| /' conftest.
$ac_ext >&5
39370 CFLAGS_OLD
="$CFLAGS"
39371 if test "$GCC" = yes ; then
39372 CFLAGS
="$CFLAGS -Werror"
39375 cat >conftest.
$ac_ext <<_ACEOF
39378 cat confdefs.h
>>conftest.
$ac_ext
39379 cat >>conftest.
$ac_ext <<_ACEOF
39380 /* end confdefs.h. */
39382 #include <sys/types.h>
39383 #include <sys/socket.h>
39390 getsockname(0, 0, &len);
39396 rm -f conftest.
$ac_objext
39397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39398 (eval $ac_compile) 2>conftest.er1
39400 grep -v '^ *+' conftest.er1
>conftest.err
39402 cat conftest.err
>&5
39403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39404 (exit $ac_status); } &&
39405 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39407 (eval $ac_try) 2>&5
39409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39410 (exit $ac_status); }; } &&
39411 { ac_try
='test -s conftest.$ac_objext'
39412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39413 (eval $ac_try) 2>&5
39415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39416 (exit $ac_status); }; }; then
39417 wx_cv_type_getsockname3
=size_t
39419 echo "$as_me: failed program was:" >&5
39420 sed 's/^/| /' conftest.
$ac_ext >&5
39422 cat >conftest.
$ac_ext <<_ACEOF
39425 cat confdefs.h
>>conftest.
$ac_ext
39426 cat >>conftest.
$ac_ext <<_ACEOF
39427 /* end confdefs.h. */
39429 #include <sys/types.h>
39430 #include <sys/socket.h>
39437 getsockname(0, 0, &len);
39443 rm -f conftest.
$ac_objext
39444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39445 (eval $ac_compile) 2>conftest.er1
39447 grep -v '^ *+' conftest.er1
>conftest.err
39449 cat conftest.err
>&5
39450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39451 (exit $ac_status); } &&
39452 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39454 (eval $ac_try) 2>&5
39456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39457 (exit $ac_status); }; } &&
39458 { ac_try
='test -s conftest.$ac_objext'
39459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39460 (eval $ac_try) 2>&5
39462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39463 (exit $ac_status); }; }; then
39464 wx_cv_type_getsockname3
=int
39466 echo "$as_me: failed program was:" >&5
39467 sed 's/^/| /' conftest.
$ac_ext >&5
39469 wx_cv_type_getsockname3
=unknown
39472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39477 CFLAGS
="$CFLAGS_OLD"
39481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39484 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
39485 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
39487 if test "$wx_cv_type_getsockname3" = "unknown"; then
39489 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
39490 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
39492 cat >>confdefs.h
<<_ACEOF
39493 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
39497 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
39498 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
39499 if test "${wx_cv_type_getsockopt5+set}" = set; then
39500 echo $ECHO_N "(cached) $ECHO_C" >&6
39503 cat >conftest.
$ac_ext <<_ACEOF
39506 cat confdefs.h
>>conftest.
$ac_ext
39507 cat >>conftest.
$ac_ext <<_ACEOF
39508 /* end confdefs.h. */
39510 #include <sys/types.h>
39511 #include <sys/socket.h>
39518 getsockopt(0, 0, 0, 0, &len);
39524 rm -f conftest.
$ac_objext
39525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39526 (eval $ac_compile) 2>conftest.er1
39528 grep -v '^ *+' conftest.er1
>conftest.err
39530 cat conftest.err
>&5
39531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39532 (exit $ac_status); } &&
39533 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39535 (eval $ac_try) 2>&5
39537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39538 (exit $ac_status); }; } &&
39539 { ac_try
='test -s conftest.$ac_objext'
39540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39541 (eval $ac_try) 2>&5
39543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39544 (exit $ac_status); }; }; then
39545 wx_cv_type_getsockopt5
=socklen_t
39547 echo "$as_me: failed program was:" >&5
39548 sed 's/^/| /' conftest.
$ac_ext >&5
39551 CFLAGS_OLD
="$CFLAGS"
39552 if test "$GCC" = yes ; then
39553 CFLAGS
="$CFLAGS -Werror"
39556 cat >conftest.
$ac_ext <<_ACEOF
39559 cat confdefs.h
>>conftest.
$ac_ext
39560 cat >>conftest.
$ac_ext <<_ACEOF
39561 /* end confdefs.h. */
39563 #include <sys/types.h>
39564 #include <sys/socket.h>
39571 getsockopt(0, 0, 0, 0, &len);
39577 rm -f conftest.
$ac_objext
39578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39579 (eval $ac_compile) 2>conftest.er1
39581 grep -v '^ *+' conftest.er1
>conftest.err
39583 cat conftest.err
>&5
39584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39585 (exit $ac_status); } &&
39586 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39588 (eval $ac_try) 2>&5
39590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39591 (exit $ac_status); }; } &&
39592 { ac_try
='test -s conftest.$ac_objext'
39593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39594 (eval $ac_try) 2>&5
39596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39597 (exit $ac_status); }; }; then
39598 wx_cv_type_getsockopt5
=size_t
39600 echo "$as_me: failed program was:" >&5
39601 sed 's/^/| /' conftest.
$ac_ext >&5
39603 cat >conftest.
$ac_ext <<_ACEOF
39606 cat confdefs.h
>>conftest.
$ac_ext
39607 cat >>conftest.
$ac_ext <<_ACEOF
39608 /* end confdefs.h. */
39610 #include <sys/types.h>
39611 #include <sys/socket.h>
39618 getsockopt(0, 0, 0, 0, &len);
39624 rm -f conftest.
$ac_objext
39625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39626 (eval $ac_compile) 2>conftest.er1
39628 grep -v '^ *+' conftest.er1
>conftest.err
39630 cat conftest.err
>&5
39631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39632 (exit $ac_status); } &&
39633 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39635 (eval $ac_try) 2>&5
39637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39638 (exit $ac_status); }; } &&
39639 { ac_try
='test -s conftest.$ac_objext'
39640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39641 (eval $ac_try) 2>&5
39643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39644 (exit $ac_status); }; }; then
39645 wx_cv_type_getsockopt5
=int
39647 echo "$as_me: failed program was:" >&5
39648 sed 's/^/| /' conftest.
$ac_ext >&5
39650 wx_cv_type_getsockopt5
=unknown
39653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39658 CFLAGS
="$CFLAGS_OLD"
39662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39665 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
39666 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
39668 if test "$wx_cv_type_getsockopt5" = "unknown"; then
39670 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
39671 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
39673 cat >>confdefs.h
<<_ACEOF
39674 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
39679 ac_cpp
='$CPP $CPPFLAGS'
39680 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39681 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39682 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39687 if test "$wxUSE_SOCKETS" = "yes" ; then
39688 cat >>confdefs.h
<<\_ACEOF
39689 #define wxUSE_SOCKETS 1
39692 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
39695 if test "$wxUSE_PROTOCOL" = "yes"; then
39696 if test "$wxUSE_SOCKETS" != "yes"; then
39697 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
39698 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
39703 if test "$wxUSE_PROTOCOL" = "yes"; then
39704 cat >>confdefs.h
<<\_ACEOF
39705 #define wxUSE_PROTOCOL 1
39709 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
39710 cat >>confdefs.h
<<\_ACEOF
39711 #define wxUSE_PROTOCOL_HTTP 1
39715 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
39716 cat >>confdefs.h
<<\_ACEOF
39717 #define wxUSE_PROTOCOL_FTP 1
39721 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
39722 cat >>confdefs.h
<<\_ACEOF
39723 #define wxUSE_PROTOCOL_FILE 1
39728 if test "$wxUSE_FS_INET" = "yes"; then
39729 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
39730 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
39735 if test "$wxUSE_URL" = "yes"; then
39736 if test "$wxUSE_PROTOCOL" != "yes"; then
39737 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
39738 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
39741 if test "$wxUSE_URL" = "yes"; then
39742 cat >>confdefs.h
<<\_ACEOF
39743 #define wxUSE_URL 1
39749 if test "$wxUSE_FS_INET" = "yes"; then
39750 cat >>confdefs.h
<<\_ACEOF
39751 #define wxUSE_FS_INET 1
39757 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
39760 if test "$TOOLKIT" = "MSW"; then
39763 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
39764 if test "$USE_DARWIN" = 1; then
39765 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
39766 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
39768 ac_cpp
='$CXXCPP $CPPFLAGS'
39769 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39770 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39771 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39773 cat >conftest.
$ac_ext <<_ACEOF
39776 cat confdefs.h
>>conftest.
$ac_ext
39777 cat >>conftest.
$ac_ext <<_ACEOF
39778 /* end confdefs.h. */
39779 #include <IOKit/hid/IOHIDLib.h>
39783 IOHIDQueueInterface *qi = NULL;
39784 IOHIDCallbackFunction cb = NULL;
39785 qi->setEventCallout(NULL, cb, NULL, NULL);
39790 rm -f conftest.
$ac_objext
39791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39792 (eval $ac_compile) 2>conftest.er1
39794 grep -v '^ *+' conftest.er1
>conftest.err
39796 cat conftest.err
>&5
39797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39798 (exit $ac_status); } &&
39799 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39801 (eval $ac_try) 2>&5
39803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39804 (exit $ac_status); }; } &&
39805 { ac_try
='test -s conftest.$ac_objext'
39806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39807 (eval $ac_try) 2>&5
39809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39810 (exit $ac_status); }; }; then
39814 echo "$as_me: failed program was:" >&5
39815 sed 's/^/| /' conftest.
$ac_ext >&5
39818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39820 ac_cpp
='$CPP $CPPFLAGS'
39821 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39822 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39823 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39825 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
39826 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
39831 for ac_header
in linux
/joystick.h
39833 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39835 echo "$as_me:$LINENO: checking for $ac_header" >&5
39836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39838 echo $ECHO_N "(cached) $ECHO_C" >&6
39840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39841 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39843 # Is the header compilable?
39844 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39845 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39846 cat >conftest.
$ac_ext <<_ACEOF
39849 cat confdefs.h
>>conftest.
$ac_ext
39850 cat >>conftest.
$ac_ext <<_ACEOF
39851 /* end confdefs.h. */
39852 $ac_includes_default
39853 #include <$ac_header>
39855 rm -f conftest.
$ac_objext
39856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39857 (eval $ac_compile) 2>conftest.er1
39859 grep -v '^ *+' conftest.er1
>conftest.err
39861 cat conftest.err
>&5
39862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39863 (exit $ac_status); } &&
39864 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39866 (eval $ac_try) 2>&5
39868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39869 (exit $ac_status); }; } &&
39870 { ac_try
='test -s conftest.$ac_objext'
39871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39872 (eval $ac_try) 2>&5
39874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39875 (exit $ac_status); }; }; then
39876 ac_header_compiler
=yes
39878 echo "$as_me: failed program was:" >&5
39879 sed 's/^/| /' conftest.
$ac_ext >&5
39881 ac_header_compiler
=no
39883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39884 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39885 echo "${ECHO_T}$ac_header_compiler" >&6
39887 # Is the header present?
39888 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39889 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39890 cat >conftest.
$ac_ext <<_ACEOF
39893 cat confdefs.h
>>conftest.
$ac_ext
39894 cat >>conftest.
$ac_ext <<_ACEOF
39895 /* end confdefs.h. */
39896 #include <$ac_header>
39898 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39899 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39901 grep -v '^ *+' conftest.er1
>conftest.err
39903 cat conftest.err
>&5
39904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39905 (exit $ac_status); } >/dev
/null
; then
39906 if test -s conftest.err
; then
39907 ac_cpp_err
=$ac_c_preproc_warn_flag
39908 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
39915 if test -z "$ac_cpp_err"; then
39916 ac_header_preproc
=yes
39918 echo "$as_me: failed program was:" >&5
39919 sed 's/^/| /' conftest.
$ac_ext >&5
39921 ac_header_preproc
=no
39923 rm -f conftest.err conftest.
$ac_ext
39924 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39925 echo "${ECHO_T}$ac_header_preproc" >&6
39927 # So? What about this header?
39928 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39930 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39931 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39932 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39933 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39934 ac_header_preproc
=yes
39937 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39938 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39939 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39940 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39941 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39942 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39943 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39944 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39945 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39946 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39947 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39948 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39951 ## ----------------------------------------- ##
39952 ## Report this to wx-dev@lists.wxwidgets.org ##
39953 ## ----------------------------------------- ##
39956 sed "s/^/$as_me: WARNING: /" >&2
39959 echo "$as_me:$LINENO: checking for $ac_header" >&5
39960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39962 echo $ECHO_N "(cached) $ECHO_C" >&6
39964 eval "$as_ac_Header=\$ac_header_preproc"
39966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39967 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39970 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39971 cat >>confdefs.h
<<_ACEOF
39972 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39981 if test "$wxUSE_JOYSTICK" = "yes"; then
39982 cat >>confdefs.h
<<\_ACEOF
39983 #define wxUSE_JOYSTICK 1
39986 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
39988 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
39989 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
39995 if test "$wxUSE_FONTMAP" = "yes" ; then
39996 cat >>confdefs.h
<<\_ACEOF
39997 #define wxUSE_FONTMAP 1
40002 if test "$wxUSE_UNICODE" = "yes" ; then
40003 cat >>confdefs.h
<<\_ACEOF
40004 #define wxUSE_UNICODE 1
40008 if test "$USE_WIN32" != 1; then
40009 wxUSE_UNICODE_MSLU
=no
40012 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
40013 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
40014 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
40015 if test "${ac_cv_lib_unicows_main+set}" = set; then
40016 echo $ECHO_N "(cached) $ECHO_C" >&6
40018 ac_check_lib_save_LIBS
=$LIBS
40019 LIBS
="-lunicows $LIBS"
40020 cat >conftest.
$ac_ext <<_ACEOF
40023 cat confdefs.h
>>conftest.
$ac_ext
40024 cat >>conftest.
$ac_ext <<_ACEOF
40025 /* end confdefs.h. */
40036 rm -f conftest.
$ac_objext conftest
$ac_exeext
40037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40038 (eval $ac_link) 2>conftest.er1
40040 grep -v '^ *+' conftest.er1
>conftest.err
40042 cat conftest.err
>&5
40043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40044 (exit $ac_status); } &&
40045 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40047 (eval $ac_try) 2>&5
40049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40050 (exit $ac_status); }; } &&
40051 { ac_try
='test -s conftest$ac_exeext'
40052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40053 (eval $ac_try) 2>&5
40055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056 (exit $ac_status); }; }; then
40057 ac_cv_lib_unicows_main
=yes
40059 echo "$as_me: failed program was:" >&5
40060 sed 's/^/| /' conftest.
$ac_ext >&5
40062 ac_cv_lib_unicows_main
=no
40064 rm -f conftest.err conftest.
$ac_objext \
40065 conftest
$ac_exeext conftest.
$ac_ext
40066 LIBS
=$ac_check_lib_save_LIBS
40068 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
40069 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
40070 if test $ac_cv_lib_unicows_main = yes; then
40072 cat >>confdefs.h
<<\_ACEOF
40073 #define wxUSE_UNICODE_MSLU 1
40079 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
40080 Applications will only run on Windows NT/2000/XP!" >&5
40081 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
40082 Applications will only run on Windows NT/2000/XP!" >&2;}
40083 wxUSE_UNICODE_MSLU
=no
40090 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
40091 cat >>confdefs.h
<<\_ACEOF
40092 #define wxUSE_EXPERIMENTAL_PRINTF 1
40098 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
40099 cat >>confdefs.h
<<\_ACEOF
40100 #define wxUSE_POSTSCRIPT 1
40105 cat >>confdefs.h
<<\_ACEOF
40106 #define wxUSE_AFM_FOR_POSTSCRIPT 1
40110 cat >>confdefs.h
<<\_ACEOF
40111 #define wxUSE_NORMALIZED_PS_FONTS 1
40116 if test "$wxUSE_CONSTRAINTS" = "yes"; then
40117 cat >>confdefs.h
<<\_ACEOF
40118 #define wxUSE_CONSTRAINTS 1
40121 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
40124 if test "$wxUSE_MDI" = "yes"; then
40125 cat >>confdefs.h
<<\_ACEOF
40126 #define wxUSE_MDI 1
40130 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
40131 cat >>confdefs.h
<<\_ACEOF
40132 #define wxUSE_MDI_ARCHITECTURE 1
40135 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
40139 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
40140 cat >>confdefs.h
<<\_ACEOF
40141 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
40144 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
40145 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
40146 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
40150 if test "$wxUSE_HELP" = "yes"; then
40151 cat >>confdefs.h
<<\_ACEOF
40152 #define wxUSE_HELP 1
40155 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
40157 if test "$wxUSE_MSW" = 1; then
40158 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
40159 cat >>confdefs.h
<<\_ACEOF
40160 #define wxUSE_MS_HTML_HELP 1
40166 if test "$wxUSE_WXHTML_HELP" = "yes"; then
40167 if test "$wxUSE_HTML" = "yes"; then
40168 cat >>confdefs.h
<<\_ACEOF
40169 #define wxUSE_WXHTML_HELP 1
40173 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
40174 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
40175 wxUSE_WXHTML_HELP
=no
40180 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
40181 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40182 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
40183 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
40185 cat >>confdefs.h
<<\_ACEOF
40186 #define wxUSE_PRINTING_ARCHITECTURE 1
40190 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
40193 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
40194 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
40195 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
40196 { (exit 1); exit 1; }; }
40200 if test "$wxUSE_METAFILE" = "yes"; then
40201 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
40202 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
40203 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
40209 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
40210 -o "$wxUSE_CLIPBOARD" = "yes" \
40211 -o "$wxUSE_OLE" = "yes" \
40212 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
40214 for ac_header
in ole2.h
40216 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40218 echo "$as_me:$LINENO: checking for $ac_header" >&5
40219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40221 echo $ECHO_N "(cached) $ECHO_C" >&6
40223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40226 # Is the header compilable?
40227 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40228 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40229 cat >conftest.
$ac_ext <<_ACEOF
40232 cat confdefs.h
>>conftest.
$ac_ext
40233 cat >>conftest.
$ac_ext <<_ACEOF
40234 /* end confdefs.h. */
40235 $ac_includes_default
40236 #include <$ac_header>
40238 rm -f conftest.
$ac_objext
40239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40240 (eval $ac_compile) 2>conftest.er1
40242 grep -v '^ *+' conftest.er1
>conftest.err
40244 cat conftest.err
>&5
40245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40246 (exit $ac_status); } &&
40247 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40249 (eval $ac_try) 2>&5
40251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40252 (exit $ac_status); }; } &&
40253 { ac_try
='test -s conftest.$ac_objext'
40254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40255 (eval $ac_try) 2>&5
40257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40258 (exit $ac_status); }; }; then
40259 ac_header_compiler
=yes
40261 echo "$as_me: failed program was:" >&5
40262 sed 's/^/| /' conftest.
$ac_ext >&5
40264 ac_header_compiler
=no
40266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40267 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40268 echo "${ECHO_T}$ac_header_compiler" >&6
40270 # Is the header present?
40271 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40272 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40273 cat >conftest.
$ac_ext <<_ACEOF
40276 cat confdefs.h
>>conftest.
$ac_ext
40277 cat >>conftest.
$ac_ext <<_ACEOF
40278 /* end confdefs.h. */
40279 #include <$ac_header>
40281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40282 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
40284 grep -v '^ *+' conftest.er1
>conftest.err
40286 cat conftest.err
>&5
40287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40288 (exit $ac_status); } >/dev
/null
; then
40289 if test -s conftest.err
; then
40290 ac_cpp_err
=$ac_c_preproc_warn_flag
40291 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
40298 if test -z "$ac_cpp_err"; then
40299 ac_header_preproc
=yes
40301 echo "$as_me: failed program was:" >&5
40302 sed 's/^/| /' conftest.
$ac_ext >&5
40304 ac_header_preproc
=no
40306 rm -f conftest.err conftest.
$ac_ext
40307 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40308 echo "${ECHO_T}$ac_header_preproc" >&6
40310 # So? What about this header?
40311 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40313 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40314 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40315 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40316 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40317 ac_header_preproc
=yes
40320 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40321 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40322 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40323 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40324 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40325 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40326 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40327 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40328 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40329 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40330 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40331 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40334 ## ----------------------------------------- ##
40335 ## Report this to wx-dev@lists.wxwidgets.org ##
40336 ## ----------------------------------------- ##
40339 sed "s/^/$as_me: WARNING: /" >&2
40342 echo "$as_me:$LINENO: checking for $ac_header" >&5
40343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40345 echo $ECHO_N "(cached) $ECHO_C" >&6
40347 eval "$as_ac_Header=\$ac_header_preproc"
40349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40350 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40354 cat >>confdefs.h
<<_ACEOF
40355 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40363 if test "$ac_cv_header_ole2_h" = "yes" ; then
40364 if test "$GCC" = yes ; then
40368 ac_cpp
='$CXXCPP $CPPFLAGS'
40369 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40370 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40371 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40374 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
40375 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
40376 cat >conftest.
$ac_ext <<_ACEOF
40379 cat confdefs.h
>>conftest.
$ac_ext
40380 cat >>conftest.
$ac_ext <<_ACEOF
40381 /* end confdefs.h. */
40382 #include <windows.h>
40392 rm -f conftest.
$ac_objext
40393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40394 (eval $ac_compile) 2>conftest.er1
40396 grep -v '^ *+' conftest.er1
>conftest.err
40398 cat conftest.err
>&5
40399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40400 (exit $ac_status); } &&
40401 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40403 (eval $ac_try) 2>&5
40405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40406 (exit $ac_status); }; } &&
40407 { ac_try
='test -s conftest.$ac_objext'
40408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40409 (eval $ac_try) 2>&5
40411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40412 (exit $ac_status); }; }; then
40413 echo "$as_me:$LINENO: result: no" >&5
40414 echo "${ECHO_T}no" >&6
40416 echo "$as_me: failed program was:" >&5
40417 sed 's/^/| /' conftest.
$ac_ext >&5
40419 echo "$as_me:$LINENO: result: yes" >&5
40420 echo "${ECHO_T}yes" >&6
40421 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
40423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40425 ac_cpp
='$CPP $CPPFLAGS'
40426 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40427 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40428 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40430 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
40431 if test "$wxUSE_OLE" = "yes" ; then
40432 cat >>confdefs.h
<<\_ACEOF
40433 #define wxUSE_OLE 1
40436 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
40440 if test "$wxUSE_DATAOBJ" = "yes" ; then
40441 cat >>confdefs.h
<<\_ACEOF
40442 #define wxUSE_DATAOBJ 1
40447 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
40448 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
40451 wxUSE_DRAG_AND_DROP
=no
40456 if test "$wxUSE_METAFILE" = "yes"; then
40457 cat >>confdefs.h
<<\_ACEOF
40458 #define wxUSE_METAFILE 1
40462 cat >>confdefs.h
<<\_ACEOF
40463 #define wxUSE_ENH_METAFILE 1
40469 if test "$wxUSE_IPC" = "yes"; then
40470 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
40471 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
40472 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
40476 if test "$wxUSE_IPC" = "yes"; then
40477 cat >>confdefs.h
<<\_ACEOF
40478 #define wxUSE_IPC 1
40481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
40485 if test "$wxUSE_DATAOBJ" = "yes"; then
40486 if test "$wxUSE_MGL" = 1; then
40487 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
40488 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
40491 cat >>confdefs.h
<<\_ACEOF
40492 #define wxUSE_DATAOBJ 1
40497 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
40498 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
40500 wxUSE_DRAG_AND_DROP
=no
40503 if test "$wxUSE_CLIPBOARD" = "yes"; then
40504 if test "$wxUSE_MGL" = 1; then
40505 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
40506 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
40510 if test "$wxUSE_CLIPBOARD" = "yes"; then
40511 cat >>confdefs.h
<<\_ACEOF
40512 #define wxUSE_CLIPBOARD 1
40518 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
40519 if test "$wxUSE_GTK" = 1; then
40520 if test "$WXGTK12" != 1; then
40521 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
40522 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
40523 wxUSE_DRAG_AND_DROP
=no
40527 if test "$wxUSE_MOTIF" = 1; then
40528 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
40529 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
40530 wxUSE_DRAG_AND_DROP
=no
40533 if test "$wxUSE_X11" = 1; then
40534 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
40535 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
40536 wxUSE_DRAG_AND_DROP
=no
40539 if test "$wxUSE_MGL" = 1; then
40540 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
40541 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
40542 wxUSE_DRAG_AND_DROP
=no
40545 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
40546 cat >>confdefs.h
<<\_ACEOF
40547 #define wxUSE_DRAG_AND_DROP 1
40554 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
40555 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
40558 if test "$wxUSE_SPLINES" = "yes" ; then
40559 cat >>confdefs.h
<<\_ACEOF
40560 #define wxUSE_SPLINES 1
40565 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
40566 cat >>confdefs.h
<<\_ACEOF
40567 #define wxUSE_MOUSEWHEEL 1
40574 if test "$wxUSE_CONTROLS" = "yes"; then
40578 if test "$wxUSE_ACCEL" = "yes"; then
40579 cat >>confdefs.h
<<\_ACEOF
40580 #define wxUSE_ACCEL 1
40586 if test "$wxUSE_BUTTON" = "yes"; then
40587 cat >>confdefs.h
<<\_ACEOF
40588 #define wxUSE_BUTTON 1
40594 if test "$wxUSE_BMPBUTTON" = "yes"; then
40595 cat >>confdefs.h
<<\_ACEOF
40596 #define wxUSE_BMPBUTTON 1
40602 if test "$wxUSE_CALCTRL" = "yes"; then
40603 cat >>confdefs.h
<<\_ACEOF
40604 #define wxUSE_CALENDARCTRL 1
40608 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
40611 if test "$wxUSE_CARET" = "yes"; then
40612 cat >>confdefs.h
<<\_ACEOF
40613 #define wxUSE_CARET 1
40617 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
40620 if test "$wxUSE_COMBOBOX" = "yes"; then
40621 cat >>confdefs.h
<<\_ACEOF
40622 #define wxUSE_COMBOBOX 1
40628 if test "$wxUSE_CHOICE" = "yes"; then
40629 cat >>confdefs.h
<<\_ACEOF
40630 #define wxUSE_CHOICE 1
40636 if test "$wxUSE_CHOICEBOOK" = "yes"; then
40637 cat >>confdefs.h
<<\_ACEOF
40638 #define wxUSE_CHOICEBOOK 1
40644 if test "$wxUSE_CHECKBOX" = "yes"; then
40645 cat >>confdefs.h
<<\_ACEOF
40646 #define wxUSE_CHECKBOX 1
40652 if test "$wxUSE_CHECKLST" = "yes"; then
40653 cat >>confdefs.h
<<\_ACEOF
40654 #define wxUSE_CHECKLISTBOX 1
40658 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
40661 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
40662 cat >>confdefs.h
<<\_ACEOF
40663 #define wxUSE_DATEPICKCTRL 1
40669 if test "$wxUSE_DISPLAY" = "yes"; then
40670 cat >>confdefs.h
<<\_ACEOF
40671 #define wxUSE_DISPLAY 1
40674 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
40677 if test "$wxUSE_GAUGE" = "yes"; then
40678 cat >>confdefs.h
<<\_ACEOF
40679 #define wxUSE_GAUGE 1
40685 if test "$wxUSE_GRID" = "yes"; then
40686 cat >>confdefs.h
<<\_ACEOF
40687 #define wxUSE_GRID 1
40691 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
40694 if test "$wxUSE_IMAGLIST" = "yes"; then
40695 cat >>confdefs.h
<<\_ACEOF
40696 #define wxUSE_IMAGLIST 1
40701 if test "$wxUSE_LISTBOOK" = "yes"; then
40702 cat >>confdefs.h
<<\_ACEOF
40703 #define wxUSE_LISTBOOK 1
40709 if test "$wxUSE_LISTBOX" = "yes"; then
40710 cat >>confdefs.h
<<\_ACEOF
40711 #define wxUSE_LISTBOX 1
40715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
40718 if test "$wxUSE_LISTCTRL" = "yes"; then
40719 if test "$wxUSE_IMAGLIST" = "yes"; then
40720 cat >>confdefs.h
<<\_ACEOF
40721 #define wxUSE_LISTCTRL 1
40725 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
40727 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
40728 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
40732 if test "$wxUSE_NOTEBOOK" = "yes"; then
40733 cat >>confdefs.h
<<\_ACEOF
40734 #define wxUSE_NOTEBOOK 1
40738 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
40742 if test "$wxUSE_RADIOBOX" = "yes"; then
40743 cat >>confdefs.h
<<\_ACEOF
40744 #define wxUSE_RADIOBOX 1
40750 if test "$wxUSE_RADIOBTN" = "yes"; then
40751 cat >>confdefs.h
<<\_ACEOF
40752 #define wxUSE_RADIOBTN 1
40758 if test "$wxUSE_SASH" = "yes"; then
40759 cat >>confdefs.h
<<\_ACEOF
40760 #define wxUSE_SASH 1
40763 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
40766 if test "$wxUSE_SCROLLBAR" = "yes"; then
40767 cat >>confdefs.h
<<\_ACEOF
40768 #define wxUSE_SCROLLBAR 1
40772 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
40775 if test "$wxUSE_SLIDER" = "yes"; then
40776 cat >>confdefs.h
<<\_ACEOF
40777 #define wxUSE_SLIDER 1
40783 if test "$wxUSE_SPINBTN" = "yes"; then
40784 cat >>confdefs.h
<<\_ACEOF
40785 #define wxUSE_SPINBTN 1
40791 if test "$wxUSE_SPINCTRL" = "yes"; then
40792 cat >>confdefs.h
<<\_ACEOF
40793 #define wxUSE_SPINCTRL 1
40799 if test "$wxUSE_SPLITTER" = "yes"; then
40800 cat >>confdefs.h
<<\_ACEOF
40801 #define wxUSE_SPLITTER 1
40804 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
40807 if test "$wxUSE_STATBMP" = "yes"; then
40808 cat >>confdefs.h
<<\_ACEOF
40809 #define wxUSE_STATBMP 1
40815 if test "$wxUSE_STATBOX" = "yes"; then
40816 cat >>confdefs.h
<<\_ACEOF
40817 #define wxUSE_STATBOX 1
40823 if test "$wxUSE_STATTEXT" = "yes"; then
40824 cat >>confdefs.h
<<\_ACEOF
40825 #define wxUSE_STATTEXT 1
40831 if test "$wxUSE_STATLINE" = "yes"; then
40832 cat >>confdefs.h
<<\_ACEOF
40833 #define wxUSE_STATLINE 1
40839 if test "$wxUSE_STATUSBAR" = "yes"; then
40840 cat >>confdefs.h
<<\_ACEOF
40841 #define wxUSE_NATIVE_STATUSBAR 1
40844 cat >>confdefs.h
<<\_ACEOF
40845 #define wxUSE_STATUSBAR 1
40850 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
40853 if test "$wxUSE_TABDIALOG" = "yes"; then
40854 cat >>confdefs.h
<<\_ACEOF
40855 #define wxUSE_TAB_DIALOG 1
40860 if test "$wxUSE_TEXTCTRL" = "yes"; then
40861 cat >>confdefs.h
<<\_ACEOF
40862 #define wxUSE_TEXTCTRL 1
40866 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
40869 if test "$wxUSE_TOGGLEBTN" = "yes"; then
40870 if test "$wxUSE_COCOA" = 1 ; then
40871 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
40872 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
40875 if test "$wxUSE_UNIVERSAL" = "yes"; then
40876 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
40877 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
40881 if test "$wxUSE_TOGGLEBTN" = "yes"; then
40882 cat >>confdefs.h
<<\_ACEOF
40883 #define wxUSE_TOGGLEBTN 1
40890 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
40891 cat >>confdefs.h
<<\_ACEOF
40892 #define wxUSE_TOOLBAR_SIMPLE 1
40895 wxUSE_TOOLBAR
="yes"
40899 if test "$wxUSE_TOOLBAR" = "yes"; then
40900 cat >>confdefs.h
<<\_ACEOF
40901 #define wxUSE_TOOLBAR 1
40906 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
40907 wxUSE_TOOLBAR_NATIVE
="yes"
40910 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
40911 cat >>confdefs.h
<<\_ACEOF
40912 #define wxUSE_TOOLBAR_NATIVE 1
40918 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
40921 if test "$wxUSE_TOOLTIPS" = "yes"; then
40922 if test "$wxUSE_MOTIF" = 1; then
40923 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
40924 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
40926 if test "$wxUSE_UNIVERSAL" = "yes"; then
40927 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
40928 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
40930 cat >>confdefs.h
<<\_ACEOF
40931 #define wxUSE_TOOLTIPS 1
40938 if test "$wxUSE_TREECTRL" = "yes"; then
40939 if test "$wxUSE_IMAGLIST" = "yes"; then
40940 cat >>confdefs.h
<<\_ACEOF
40941 #define wxUSE_TREECTRL 1
40945 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
40947 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
40948 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
40952 if test "$wxUSE_POPUPWIN" = "yes"; then
40953 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
40954 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
40955 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
40957 if test "$wxUSE_PM" = 1; then
40958 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
40959 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
40961 cat >>confdefs.h
<<\_ACEOF
40962 #define wxUSE_POPUPWIN 1
40965 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
40972 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
40973 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
40974 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
40975 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
40977 cat >>confdefs.h
<<\_ACEOF
40978 #define wxUSE_DIALUP_MANAGER 1
40981 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
40985 if test "$wxUSE_TIPWINDOW" = "yes"; then
40986 if test "$wxUSE_PM" = 1; then
40987 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
40988 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
40990 cat >>confdefs.h
<<\_ACEOF
40991 #define wxUSE_TIPWINDOW 1
40997 if test "$USES_CONTROLS" = 1; then
40998 cat >>confdefs.h
<<\_ACEOF
40999 #define wxUSE_CONTROLS 1
41005 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
41006 cat >>confdefs.h
<<\_ACEOF
41007 #define wxUSE_ACCESSIBILITY 1
41010 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
41013 if test "$wxUSE_DC_CACHEING" = "yes"; then
41014 cat >>confdefs.h
<<\_ACEOF
41015 #define wxUSE_DC_CACHEING 1
41020 if test "$wxUSE_DRAGIMAGE" = "yes"; then
41021 cat >>confdefs.h
<<\_ACEOF
41022 #define wxUSE_DRAGIMAGE 1
41025 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
41028 if test "$wxUSE_EXCEPTIONS" = "yes"; then
41029 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41030 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
41031 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
41033 cat >>confdefs.h
<<\_ACEOF
41034 #define wxUSE_EXCEPTIONS 1
41037 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
41042 if test "$wxUSE_HTML" = "yes"; then
41043 cat >>confdefs.h
<<\_ACEOF
41044 #define wxUSE_HTML 1
41048 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
41049 if test "$wxUSE_MAC" = 1; then
41050 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
41053 if test "$wxUSE_WEBKIT" = "yes"; then
41054 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
41055 old_CPPFLAGS
="$CPPFLAGS"
41056 CPPFLAGS
="$CPPFLAGS -x objective-c++"
41057 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
41058 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
41059 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
41060 echo $ECHO_N "(cached) $ECHO_C" >&6
41062 cat >conftest.
$ac_ext <<_ACEOF
41065 cat confdefs.h
>>conftest.
$ac_ext
41066 cat >>conftest.
$ac_ext <<_ACEOF
41067 /* end confdefs.h. */
41068 #include <Carbon/Carbon.h>
41070 #include <WebKit/HIWebView.h>
41072 rm -f conftest.
$ac_objext
41073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41074 (eval $ac_compile) 2>conftest.er1
41076 grep -v '^ *+' conftest.er1
>conftest.err
41078 cat conftest.err
>&5
41079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41080 (exit $ac_status); } &&
41081 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41083 (eval $ac_try) 2>&5
41085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41086 (exit $ac_status); }; } &&
41087 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
41093 ac_cv_header_WebKit_HIWebView_h
=yes
41095 echo "$as_me: failed program was:" >&5
41096 sed 's/^/| /' conftest.
$ac_ext >&5
41098 ac_cv_header_WebKit_HIWebView_h
=no
41100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41102 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
41103 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
41104 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
41106 cat >>confdefs.h
<<\_ACEOF
41107 #define wxUSE_WEBKIT 1
41110 WEBKIT_LINK
="-framework WebKit"
41114 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
41115 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
41121 CPPFLAGS
="$old_CPPFLAGS"
41122 elif test "$wxUSE_COCOA" = 1; then
41123 cat >>confdefs.h
<<\_ACEOF
41124 #define wxUSE_WEBKIT 1
41133 if test "$wxUSE_XRC" = "yes"; then
41134 if test "$wxUSE_XML" != "yes"; then
41135 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
41136 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
41139 cat >>confdefs.h
<<\_ACEOF
41140 #define wxUSE_XRC 1
41144 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
41148 if test "$wxUSE_MENUS" = "yes"; then
41149 cat >>confdefs.h
<<\_ACEOF
41150 #define wxUSE_MENUS 1
41153 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
41156 if test "$wxUSE_METAFILE" = "yes"; then
41157 cat >>confdefs.h
<<\_ACEOF
41158 #define wxUSE_METAFILE 1
41163 if test "$wxUSE_MIMETYPE" = "yes"; then
41164 cat >>confdefs.h
<<\_ACEOF
41165 #define wxUSE_MIMETYPE 1
41170 if test "$wxUSE_MINIFRAME" = "yes"; then
41171 cat >>confdefs.h
<<\_ACEOF
41172 #define wxUSE_MINIFRAME 1
41175 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
41178 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
41179 cat >>confdefs.h
<<\_ACEOF
41180 #define wxUSE_SYSTEM_OPTIONS 1
41183 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
41184 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
41185 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
41190 if test "$wxUSE_VALIDATORS" = "yes"; then
41191 cat >>confdefs.h
<<\_ACEOF
41192 #define wxUSE_VALIDATORS 1
41195 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
41198 if test "$wxUSE_PALETTE" = "yes" ; then
41199 cat >>confdefs.h
<<\_ACEOF
41200 #define wxUSE_PALETTE 1
41205 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
41206 LIBS
=" -lunicows $LIBS"
41210 if test "$wxUSE_IMAGE" = "yes" ; then
41211 cat >>confdefs.h
<<\_ACEOF
41212 #define wxUSE_IMAGE 1
41216 if test "$wxUSE_GIF" = "yes" ; then
41217 cat >>confdefs.h
<<\_ACEOF
41218 #define wxUSE_GIF 1
41223 if test "$wxUSE_PCX" = "yes" ; then
41224 cat >>confdefs.h
<<\_ACEOF
41225 #define wxUSE_PCX 1
41230 if test "$wxUSE_IFF" = "yes" ; then
41231 cat >>confdefs.h
<<\_ACEOF
41232 #define wxUSE_IFF 1
41237 if test "$wxUSE_PNM" = "yes" ; then
41238 cat >>confdefs.h
<<\_ACEOF
41239 #define wxUSE_PNM 1
41244 if test "$wxUSE_XPM" = "yes" ; then
41245 cat >>confdefs.h
<<\_ACEOF
41246 #define wxUSE_XPM 1
41251 if test "$wxUSE_ICO_CUR" = "yes" ; then
41252 cat >>confdefs.h
<<\_ACEOF
41253 #define wxUSE_ICO_CUR 1
41260 if test "$wxUSE_CHOICEDLG" = "yes"; then
41261 cat >>confdefs.h
<<\_ACEOF
41262 #define wxUSE_CHOICEDLG 1
41267 if test "$wxUSE_COLOURDLG" = "yes"; then
41268 cat >>confdefs.h
<<\_ACEOF
41269 #define wxUSE_COLOURDLG 1
41274 if test "$wxUSE_FILEDLG" = "yes"; then
41275 cat >>confdefs.h
<<\_ACEOF
41276 #define wxUSE_FILEDLG 1
41281 if test "$wxUSE_FINDREPLDLG" = "yes"; then
41282 cat >>confdefs.h
<<\_ACEOF
41283 #define wxUSE_FINDREPLDLG 1
41288 if test "$wxUSE_FONTDLG" = "yes"; then
41289 cat >>confdefs.h
<<\_ACEOF
41290 #define wxUSE_FONTDLG 1
41295 if test "$wxUSE_DIRDLG" = "yes"; then
41296 if test "$wxUSE_TREECTRL" != "yes"; then
41297 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
41298 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
41300 cat >>confdefs.h
<<\_ACEOF
41301 #define wxUSE_DIRDLG 1
41307 if test "$wxUSE_MSGDLG" = "yes"; then
41308 cat >>confdefs.h
<<\_ACEOF
41309 #define wxUSE_MSGDLG 1
41314 if test "$wxUSE_NUMBERDLG" = "yes"; then
41315 cat >>confdefs.h
<<\_ACEOF
41316 #define wxUSE_NUMBERDLG 1
41321 if test "$wxUSE_PROGRESSDLG" = "yes"; then
41322 if test "$wxUSE_CONSTRAINTS" != "yes"; then
41323 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
41324 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
41326 cat >>confdefs.h
<<\_ACEOF
41327 #define wxUSE_PROGRESSDLG 1
41333 if test "$wxUSE_SPLASH" = "yes"; then
41334 cat >>confdefs.h
<<\_ACEOF
41335 #define wxUSE_SPLASH 1
41338 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
41341 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
41342 if test "$wxUSE_CONSTRAINTS" != "yes"; then
41343 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
41344 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
41346 cat >>confdefs.h
<<\_ACEOF
41347 #define wxUSE_STARTUP_TIPS 1
41353 if test "$wxUSE_TEXTDLG" = "yes"; then
41354 cat >>confdefs.h
<<\_ACEOF
41355 #define wxUSE_TEXTDLG 1
41360 if test "$wxUSE_WIZARDDLG" = "yes"; then
41361 cat >>confdefs.h
<<\_ACEOF
41362 #define wxUSE_WIZARDDLG 1
41365 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
41369 if test "$wxUSE_MEDIACTRL" = "yes"; then
41370 if test "$wxUSE_GTK" = 1; then
41371 wxUSE_GSTREAMER
="yes"
41376 if test -z "$PKG_CONFIG"; then
41377 # Extract the first word of "pkg-config", so it can be a program name with args.
41378 set dummy pkg
-config; ac_word
=$2
41379 echo "$as_me:$LINENO: checking for $ac_word" >&5
41380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41381 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41382 echo $ECHO_N "(cached) $ECHO_C" >&6
41384 case $PKG_CONFIG in
41386 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41390 for as_dir
in $PATH
41393 test -z "$as_dir" && as_dir
=.
41394 for ac_exec_ext
in '' $ac_executable_extensions; do
41395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41396 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41403 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
41407 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41409 if test -n "$PKG_CONFIG"; then
41410 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41411 echo "${ECHO_T}$PKG_CONFIG" >&6
41413 echo "$as_me:$LINENO: result: no" >&5
41414 echo "${ECHO_T}no" >&6
41419 if test "$PKG_CONFIG" = "no" ; then
41420 echo "*** The pkg-config script could not be found. Make sure it is"
41421 echo "*** in your path, or set the PKG_CONFIG environment variable"
41422 echo "*** to the full path to pkg-config."
41423 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41425 PKG_CONFIG_MIN_VERSION
=0.9.0
41426 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41427 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
41428 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
41430 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
41431 echo "$as_me:$LINENO: result: yes" >&5
41432 echo "${ECHO_T}yes" >&6
41435 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
41436 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
41437 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
41438 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
41439 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
41441 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
41442 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
41443 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
41444 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
41445 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
41447 GSTREAMER_CFLAGS
=""
41449 ## If we have a custom action on failure, don't print errors, but
41450 ## do set a variable so people can do so.
41451 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
41458 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41459 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41463 if test $succeeded = yes; then
41465 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
41466 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
41470 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
41471 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
41472 wxUSE_GSTREAMER
="no"
41480 if test "x$GST_INSPECT" == "x"; then
41481 # Extract the first word of "gst-inspect", so it can be a program name with args.
41482 set dummy gst
-inspect; ac_word
=$2
41483 echo "$as_me:$LINENO: checking for $ac_word" >&5
41484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41485 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
41486 echo $ECHO_N "(cached) $ECHO_C" >&6
41488 if test -n "$GST_INSPECT"; then
41489 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
41491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41492 for as_dir
in $PATH
41495 test -z "$as_dir" && as_dir
=.
41496 for ac_exec_ext
in '' $ac_executable_extensions; do
41497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41498 ac_cv_prog_GST_INSPECT
="gst-inspect"
41499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41507 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
41508 if test -n "$GST_INSPECT"; then
41509 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
41510 echo "${ECHO_T}$GST_INSPECT" >&6
41512 echo "$as_me:$LINENO: result: no" >&5
41513 echo "${ECHO_T}no" >&6
41518 if test "x$GST_INSPECT" != "x"; then
41519 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
41520 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
41521 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
41522 echo "$as_me:$LINENO: result: found." >&5
41523 echo "${ECHO_T}found." >&6
41526 echo "$as_me:$LINENO: result: not found." >&5
41527 echo "${ECHO_T}not found." >&6
41529 wxUSE_GSTREAMER
="no"
41530 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
41531 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
41537 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
41538 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
41539 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
41540 echo $ECHO_N "(cached) $ECHO_C" >&6
41542 cat >conftest.
$ac_ext <<_ACEOF
41545 cat confdefs.h
>>conftest.
$ac_ext
41546 cat >>conftest.
$ac_ext <<_ACEOF
41547 /* end confdefs.h. */
41548 #include <gst/gst.h>
41550 #include <gst/xoverlay/xoverlay.h>
41552 rm -f conftest.
$ac_objext
41553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41554 (eval $ac_compile) 2>conftest.er1
41556 grep -v '^ *+' conftest.er1
>conftest.err
41558 cat conftest.err
>&5
41559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41560 (exit $ac_status); } &&
41561 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41563 (eval $ac_try) 2>&5
41565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41566 (exit $ac_status); }; } &&
41567 { ac_try
='test -s conftest.$ac_objext'
41568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41569 (eval $ac_try) 2>&5
41571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41572 (exit $ac_status); }; }; then
41573 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
41575 echo "$as_me: failed program was:" >&5
41576 sed 's/^/| /' conftest.
$ac_ext >&5
41578 ac_cv_header_gst_xoverlay_xoverlay_h
=no
41580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41582 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
41583 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
41584 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
41588 wxUSE_GSTREAMER
="no"
41589 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
41590 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
41596 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
41597 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
41600 for ac_dir
in $SEARCH_LIB /usr
/lib
;
41602 for ac_extension
in a so sl dylib dll.a
; do
41603 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
41604 ac_find_libraries
=$ac_dir
41611 if test "$ac_find_libraries" = "" ; then
41612 echo "$as_me:$LINENO: result: no" >&5
41613 echo "${ECHO_T}no" >&6
41614 wxUSE_GSTREAMER
="no"
41616 echo "$as_me:$LINENO: result: yes" >&5
41617 echo "${ECHO_T}yes" >&6
41620 if test "$wxUSE_GSTREAMER" = "yes"; then
41621 cat >>confdefs.h
<<\_ACEOF
41622 #define wxUSE_GSTREAMER 1
41625 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
41626 echo "${ECHO_T}GStreamer detection successful" >&6
41629 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
41630 cat >>confdefs.h
<<\_ACEOF
41631 #define wxUSE_MEDIACTRL 1
41637 if test "$cross_compiling" = "yes"; then
41640 OSINFO
=`uname -s -r -m`
41641 OSINFO
="\"$OSINFO\""
41644 cat >>confdefs.h
<<_ACEOF
41645 #define WXWIN_OS_DESCRIPTION $OSINFO
41650 if test "x$prefix" != "xNONE"; then
41653 wxPREFIX
=$ac_default_prefix
41656 cat >>confdefs.h
<<_ACEOF
41657 #define wxINSTALL_PREFIX "$wxPREFIX"
41663 CORE_BASE_LIBS
="net base"
41664 CORE_GUI_LIBS
="adv core"
41666 if test "$wxUSE_XML" = "yes" ; then
41667 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
41669 if test "$wxUSE_ODBC" != "no" ; then
41670 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
41671 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
41673 if test "$wxUSE_HTML" = "yes" ; then
41674 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
41676 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
41677 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
41679 if test "$wxUSE_XRC" = "yes" ; then
41680 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
41683 if test "$wxUSE_GUI" != "yes"; then
41694 if test "$wxUSE_MAC" = 1 ; then
41695 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
41696 if test "$USE_DARWIN" = 1; then
41697 LDFLAGS
="$LDFLAGS -framework QuickTime"
41699 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
41702 if test "$USE_DARWIN" = 1; then
41703 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
41705 LDFLAGS
="$LDFLAGS -lCarbonLib"
41708 if test "$wxUSE_COCOA" = 1 ; then
41709 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
41710 if test "$wxUSE_MEDIACTRL" = "yes"; then
41711 LDFLAGS
="$LDFLAGS -framework QuickTime"
41714 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
41715 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
41719 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
41726 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41727 echo "$as_me:$LINENO: checking for $ac_func" >&5
41728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41729 if eval "test \"\${$as_ac_var+set}\" = set"; then
41730 echo $ECHO_N "(cached) $ECHO_C" >&6
41732 cat >conftest.
$ac_ext <<_ACEOF
41735 cat confdefs.h
>>conftest.
$ac_ext
41736 cat >>conftest.
$ac_ext <<_ACEOF
41737 /* end confdefs.h. */
41738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41740 #define $ac_func innocuous_$ac_func
41742 /* System header to define __stub macros and hopefully few prototypes,
41743 which can conflict with char $ac_func (); below.
41744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41745 <limits.h> exists even on freestanding compilers. */
41748 # include <limits.h>
41750 # include <assert.h>
41755 /* Override any gcc2 internal prototype to avoid an error. */
41760 /* We use char because int might match the return type of a gcc2
41761 builtin and then its argument prototype would still apply. */
41763 /* The GNU C library defines this for functions which it implements
41764 to always fail with ENOSYS. Some functions are actually named
41765 something starting with __ and the normal name is an alias. */
41766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41769 char (*f) () = $ac_func;
41778 return f != $ac_func;
41783 rm -f conftest.
$ac_objext conftest
$ac_exeext
41784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41785 (eval $ac_link) 2>conftest.er1
41787 grep -v '^ *+' conftest.er1
>conftest.err
41789 cat conftest.err
>&5
41790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41791 (exit $ac_status); } &&
41792 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41794 (eval $ac_try) 2>&5
41796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41797 (exit $ac_status); }; } &&
41798 { ac_try
='test -s conftest$ac_exeext'
41799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41800 (eval $ac_try) 2>&5
41802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41803 (exit $ac_status); }; }; then
41804 eval "$as_ac_var=yes"
41806 echo "$as_me: failed program was:" >&5
41807 sed 's/^/| /' conftest.
$ac_ext >&5
41809 eval "$as_ac_var=no"
41811 rm -f conftest.err conftest.
$ac_objext \
41812 conftest
$ac_exeext conftest.
$ac_ext
41814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41816 if test `eval echo '${'$as_ac_var'}'` = yes; then
41817 cat >>confdefs.h
<<_ACEOF
41818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41825 for ac_func
in floor
41827 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41828 echo "$as_me:$LINENO: checking for $ac_func" >&5
41829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41830 if eval "test \"\${$as_ac_var+set}\" = set"; then
41831 echo $ECHO_N "(cached) $ECHO_C" >&6
41833 cat >conftest.
$ac_ext <<_ACEOF
41836 cat confdefs.h
>>conftest.
$ac_ext
41837 cat >>conftest.
$ac_ext <<_ACEOF
41838 /* end confdefs.h. */
41839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41841 #define $ac_func innocuous_$ac_func
41843 /* System header to define __stub macros and hopefully few prototypes,
41844 which can conflict with char $ac_func (); below.
41845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41846 <limits.h> exists even on freestanding compilers. */
41849 # include <limits.h>
41851 # include <assert.h>
41856 /* Override any gcc2 internal prototype to avoid an error. */
41861 /* We use char because int might match the return type of a gcc2
41862 builtin and then its argument prototype would still apply. */
41864 /* The GNU C library defines this for functions which it implements
41865 to always fail with ENOSYS. Some functions are actually named
41866 something starting with __ and the normal name is an alias. */
41867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41870 char (*f) () = $ac_func;
41879 return f != $ac_func;
41884 rm -f conftest.
$ac_objext conftest
$ac_exeext
41885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41886 (eval $ac_link) 2>conftest.er1
41888 grep -v '^ *+' conftest.er1
>conftest.err
41890 cat conftest.err
>&5
41891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41892 (exit $ac_status); } &&
41893 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41895 (eval $ac_try) 2>&5
41897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41898 (exit $ac_status); }; } &&
41899 { ac_try
='test -s conftest$ac_exeext'
41900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41901 (eval $ac_try) 2>&5
41903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41904 (exit $ac_status); }; }; then
41905 eval "$as_ac_var=yes"
41907 echo "$as_me: failed program was:" >&5
41908 sed 's/^/| /' conftest.
$ac_ext >&5
41910 eval "$as_ac_var=no"
41912 rm -f conftest.err conftest.
$ac_objext \
41913 conftest
$ac_exeext conftest.
$ac_ext
41915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41917 if test `eval echo '${'$as_ac_var'}'` = yes; then
41918 cat >>confdefs.h
<<_ACEOF
41919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41925 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
41926 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
41927 if test "$have_cos" = 1 -a "$have_floor" = 1; then
41928 echo "$as_me:$LINENO: result: yes" >&5
41929 echo "${ECHO_T}yes" >&6
41931 echo "$as_me:$LINENO: result: no" >&5
41932 echo "${ECHO_T}no" >&6
41934 # use different functions to avoid configure caching
41940 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41941 echo "$as_me:$LINENO: checking for $ac_func" >&5
41942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41943 if eval "test \"\${$as_ac_var+set}\" = set"; then
41944 echo $ECHO_N "(cached) $ECHO_C" >&6
41946 cat >conftest.
$ac_ext <<_ACEOF
41949 cat confdefs.h
>>conftest.
$ac_ext
41950 cat >>conftest.
$ac_ext <<_ACEOF
41951 /* end confdefs.h. */
41952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41954 #define $ac_func innocuous_$ac_func
41956 /* System header to define __stub macros and hopefully few prototypes,
41957 which can conflict with char $ac_func (); below.
41958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41959 <limits.h> exists even on freestanding compilers. */
41962 # include <limits.h>
41964 # include <assert.h>
41969 /* Override any gcc2 internal prototype to avoid an error. */
41974 /* We use char because int might match the return type of a gcc2
41975 builtin and then its argument prototype would still apply. */
41977 /* The GNU C library defines this for functions which it implements
41978 to always fail with ENOSYS. Some functions are actually named
41979 something starting with __ and the normal name is an alias. */
41980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41983 char (*f) () = $ac_func;
41992 return f != $ac_func;
41997 rm -f conftest.
$ac_objext conftest
$ac_exeext
41998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41999 (eval $ac_link) 2>conftest.er1
42001 grep -v '^ *+' conftest.er1
>conftest.err
42003 cat conftest.err
>&5
42004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42005 (exit $ac_status); } &&
42006 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42008 (eval $ac_try) 2>&5
42010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42011 (exit $ac_status); }; } &&
42012 { ac_try
='test -s conftest$ac_exeext'
42013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42014 (eval $ac_try) 2>&5
42016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42017 (exit $ac_status); }; }; then
42018 eval "$as_ac_var=yes"
42020 echo "$as_me: failed program was:" >&5
42021 sed 's/^/| /' conftest.
$ac_ext >&5
42023 eval "$as_ac_var=no"
42025 rm -f conftest.err conftest.
$ac_objext \
42026 conftest
$ac_exeext conftest.
$ac_ext
42028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42030 if test `eval echo '${'$as_ac_var'}'` = yes; then
42031 cat >>confdefs.h
<<_ACEOF
42032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42039 for ac_func
in ceil
42041 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42042 echo "$as_me:$LINENO: checking for $ac_func" >&5
42043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42044 if eval "test \"\${$as_ac_var+set}\" = set"; then
42045 echo $ECHO_N "(cached) $ECHO_C" >&6
42047 cat >conftest.
$ac_ext <<_ACEOF
42050 cat confdefs.h
>>conftest.
$ac_ext
42051 cat >>conftest.
$ac_ext <<_ACEOF
42052 /* end confdefs.h. */
42053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42055 #define $ac_func innocuous_$ac_func
42057 /* System header to define __stub macros and hopefully few prototypes,
42058 which can conflict with char $ac_func (); below.
42059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42060 <limits.h> exists even on freestanding compilers. */
42063 # include <limits.h>
42065 # include <assert.h>
42070 /* Override any gcc2 internal prototype to avoid an error. */
42075 /* We use char because int might match the return type of a gcc2
42076 builtin and then its argument prototype would still apply. */
42078 /* The GNU C library defines this for functions which it implements
42079 to always fail with ENOSYS. Some functions are actually named
42080 something starting with __ and the normal name is an alias. */
42081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42084 char (*f) () = $ac_func;
42093 return f != $ac_func;
42098 rm -f conftest.
$ac_objext conftest
$ac_exeext
42099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42100 (eval $ac_link) 2>conftest.er1
42102 grep -v '^ *+' conftest.er1
>conftest.err
42104 cat conftest.err
>&5
42105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42106 (exit $ac_status); } &&
42107 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42109 (eval $ac_try) 2>&5
42111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42112 (exit $ac_status); }; } &&
42113 { ac_try
='test -s conftest$ac_exeext'
42114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42115 (eval $ac_try) 2>&5
42117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42118 (exit $ac_status); }; }; then
42119 eval "$as_ac_var=yes"
42121 echo "$as_me: failed program was:" >&5
42122 sed 's/^/| /' conftest.
$ac_ext >&5
42124 eval "$as_ac_var=no"
42126 rm -f conftest.err conftest.
$ac_objext \
42127 conftest
$ac_exeext conftest.
$ac_ext
42129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42131 if test `eval echo '${'$as_ac_var'}'` = yes; then
42132 cat >>confdefs.h
<<_ACEOF
42133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42139 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
42140 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
42141 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
42142 echo "$as_me:$LINENO: result: yes" >&5
42143 echo "${ECHO_T}yes" >&6
42145 echo "$as_me:$LINENO: result: no" >&5
42146 echo "${ECHO_T}no" >&6
42147 # not sure we should warn the user, crash, etc.
42151 if test "$wxUSE_GUI" = "yes"; then
42154 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
42155 dynamic erase event exec font image minimal mobile \
42156 mobile/wxedit mobile/styles propsize render \
42157 richedit rotate shaped vscroll widgets"
42159 if test "$wxUSE_MONOLITHIC" != "yes"; then
42160 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
42162 if test "$TOOLKIT" = "MSW"; then
42163 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
42164 if test "$wxUSE_UNIVERSAL" != "yes"; then
42165 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
42168 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
42169 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
42172 SAMPLES_SUBDIRS
="console"
42176 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
42177 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
42179 if test "$GXX" = yes ; then
42180 CWARNINGS
="-Wall -Wundef"
42181 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
42184 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
42186 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
42187 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
42188 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
42190 if test "x$MWCC" = "xyes"; then
42192 CC
="$CC -cwd source -I-"
42193 CXX
="$CXX -cwd source -I-"
42198 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
42199 EXTRALIBS_XML
="$EXPAT_LINK"
42200 EXTRALIBS_HTML
="$MSPACK_LINK"
42201 EXTRALIBS_ODBC
="$ODBC_LINK"
42202 if test "$wxUSE_GUI" = "yes"; then
42203 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
42205 if test "$wxUSE_OPENGL" = "yes"; then
42206 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
42209 LDFLAGS
="$LDFLAGS $PROFILE"
42211 if test "$wxUSE_GTK" = 1; then
42214 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
42217 WXCONFIG_EXTRALIBS
="$LIBS"
42219 if test "$wxUSE_REGEX" = "builtin" ; then
42220 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
42222 if test "$wxUSE_EXPAT" = "builtin" ; then
42223 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
42225 if test "$wxUSE_ODBC" = "builtin" ; then
42226 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
42228 if test "$wxUSE_LIBTIFF" = "builtin" ; then
42229 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
42231 if test "$wxUSE_LIBJPEG" = "builtin" ; then
42232 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
42234 if test "$wxUSE_LIBPNG" = "builtin" ; then
42235 wxconfig_3rdparty
="png $wxconfig_3rdparty"
42237 if test "$wxUSE_ZLIB" = "builtin" ; then
42238 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
42241 for i
in $wxconfig_3rdparty ; do
42242 WXCONFIG_EXTRALIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
42246 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
42260 if test $wxUSE_MONOLITHIC = "yes" ; then
42266 if test $wxUSE_PLUGINS = "yes" ; then
42272 if test $wxUSE_ODBC != "no" ; then
42278 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
42284 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
42312 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
42323 TOOLKIT_USER
="GTK+"
42324 if test "$WXGTK20" = 1; then
42325 TOOLKIT_USER
="$TOOLKIT_USER 2"
42330 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
42334 if test "$wxUSE_WINE" = "yes"; then
42335 BAKEFILE_FORCE_PLATFORM
=win32
42341 if test "x$BAKEFILE_HOST" = "x"; then
42342 BAKEFILE_HOST
="${host}"
42345 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
42347 if test -n "$ac_tool_prefix"; then
42348 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
42349 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
42350 echo "$as_me:$LINENO: checking for $ac_word" >&5
42351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42352 if test "${ac_cv_prog_RANLIB+set}" = set; then
42353 echo $ECHO_N "(cached) $ECHO_C" >&6
42355 if test -n "$RANLIB"; then
42356 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
42358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42359 for as_dir
in $PATH
42362 test -z "$as_dir" && as_dir
=.
42363 for ac_exec_ext
in '' $ac_executable_extensions; do
42364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42365 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
42366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42374 RANLIB
=$ac_cv_prog_RANLIB
42375 if test -n "$RANLIB"; then
42376 echo "$as_me:$LINENO: result: $RANLIB" >&5
42377 echo "${ECHO_T}$RANLIB" >&6
42379 echo "$as_me:$LINENO: result: no" >&5
42380 echo "${ECHO_T}no" >&6
42384 if test -z "$ac_cv_prog_RANLIB"; then
42385 ac_ct_RANLIB
=$RANLIB
42386 # Extract the first word of "ranlib", so it can be a program name with args.
42387 set dummy ranlib
; ac_word
=$2
42388 echo "$as_me:$LINENO: checking for $ac_word" >&5
42389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42390 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
42391 echo $ECHO_N "(cached) $ECHO_C" >&6
42393 if test -n "$ac_ct_RANLIB"; then
42394 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
42396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42397 for as_dir
in $PATH
42400 test -z "$as_dir" && as_dir
=.
42401 for ac_exec_ext
in '' $ac_executable_extensions; do
42402 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42403 ac_cv_prog_ac_ct_RANLIB
="ranlib"
42404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42410 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
42413 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
42414 if test -n "$ac_ct_RANLIB"; then
42415 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
42416 echo "${ECHO_T}$ac_ct_RANLIB" >&6
42418 echo "$as_me:$LINENO: result: no" >&5
42419 echo "${ECHO_T}no" >&6
42422 RANLIB
=$ac_ct_RANLIB
42424 RANLIB
="$ac_cv_prog_RANLIB"
42427 # Find a good install program. We prefer a C program (faster),
42428 # so one script is as good as another. But avoid the broken or
42429 # incompatible versions:
42430 # SysV /etc/install, /usr/sbin/install
42431 # SunOS /usr/etc/install
42432 # IRIX /sbin/install
42434 # AmigaOS /C/install, which installs bootblocks on floppy discs
42435 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
42436 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
42437 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
42438 # OS/2's system install, which has a completely different semantic
42439 # ./install, which can be erroneously created by make from ./install.sh.
42440 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
42441 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
42442 if test -z "$INSTALL"; then
42443 if test "${ac_cv_path_install+set}" = set; then
42444 echo $ECHO_N "(cached) $ECHO_C" >&6
42446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42447 for as_dir
in $PATH
42450 test -z "$as_dir" && as_dir
=.
42451 # Account for people who put trailing slashes in PATH elements.
42453 .
/ | .
// | /cC
/* | \
42454 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
42455 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
42458 # OSF1 and SCO ODT 3.0 have their own names for install.
42459 # Don't use installbsd from OSF since it installs stuff as root
42461 for ac_prog
in ginstall scoinst
install; do
42462 for ac_exec_ext
in '' $ac_executable_extensions; do
42463 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
42464 if test $ac_prog = install &&
42465 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
42466 # AIX install. It has an incompatible calling convention.
42468 elif test $ac_prog = install &&
42469 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
42470 # program-specific install script used by HP pwplus--don't use.
42473 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
42485 if test "${ac_cv_path_install+set}" = set; then
42486 INSTALL
=$ac_cv_path_install
42488 # As a last resort, use the slow shell script. We don't cache a
42489 # path for INSTALL within a source directory, because that will
42490 # break other packages using the cache if that directory is
42491 # removed, or if the path is relative.
42492 INSTALL
=$ac_install_sh
42495 echo "$as_me:$LINENO: result: $INSTALL" >&5
42496 echo "${ECHO_T}$INSTALL" >&6
42498 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
42499 # It thinks the first close brace ends the variable substitution.
42500 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
42502 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
42504 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
42506 echo "$as_me:$LINENO: checking whether ln -s works" >&5
42507 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
42509 if test "$LN_S" = "ln -s"; then
42510 echo "$as_me:$LINENO: result: yes" >&5
42511 echo "${ECHO_T}yes" >&6
42513 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
42514 echo "${ECHO_T}no, using $LN_S" >&6
42518 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
42519 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
42520 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
42521 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
42522 echo $ECHO_N "(cached) $ECHO_C" >&6
42524 cat >conftest.
make <<\_ACEOF
42526 @
echo 'ac_maketemp="$(MAKE)"'
42528 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
42529 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
42530 if test -n "$ac_maketemp"; then
42531 eval ac_cv_prog_make_
${ac_make}_set
=yes
42533 eval ac_cv_prog_make_
${ac_make}_set
=no
42535 rm -f conftest.
make
42537 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
42538 echo "$as_me:$LINENO: result: yes" >&5
42539 echo "${ECHO_T}yes" >&6
42542 echo "$as_me:$LINENO: result: no" >&5
42543 echo "${ECHO_T}no" >&6
42544 SET_MAKE
="MAKE=${MAKE-make}"
42549 if test -n "$ac_tool_prefix"; then
42550 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
42551 set dummy
${ac_tool_prefix}ar; ac_word
=$2
42552 echo "$as_me:$LINENO: checking for $ac_word" >&5
42553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42554 if test "${ac_cv_prog_AR+set}" = set; then
42555 echo $ECHO_N "(cached) $ECHO_C" >&6
42557 if test -n "$AR"; then
42558 ac_cv_prog_AR
="$AR" # Let the user override the test.
42560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42561 for as_dir
in $PATH
42564 test -z "$as_dir" && as_dir
=.
42565 for ac_exec_ext
in '' $ac_executable_extensions; do
42566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42567 ac_cv_prog_AR
="${ac_tool_prefix}ar"
42568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42577 if test -n "$AR"; then
42578 echo "$as_me:$LINENO: result: $AR" >&5
42579 echo "${ECHO_T}$AR" >&6
42581 echo "$as_me:$LINENO: result: no" >&5
42582 echo "${ECHO_T}no" >&6
42586 if test -z "$ac_cv_prog_AR"; then
42588 # Extract the first word of "ar", so it can be a program name with args.
42589 set dummy
ar; ac_word
=$2
42590 echo "$as_me:$LINENO: checking for $ac_word" >&5
42591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42592 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
42593 echo $ECHO_N "(cached) $ECHO_C" >&6
42595 if test -n "$ac_ct_AR"; then
42596 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
42598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42599 for as_dir
in $PATH
42602 test -z "$as_dir" && as_dir
=.
42603 for ac_exec_ext
in '' $ac_executable_extensions; do
42604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42605 ac_cv_prog_ac_ct_AR
="ar"
42606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42612 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
42615 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
42616 if test -n "$ac_ct_AR"; then
42617 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
42618 echo "${ECHO_T}$ac_ct_AR" >&6
42620 echo "$as_me:$LINENO: result: no" >&5
42621 echo "${ECHO_T}no" >&6
42626 AR
="$ac_cv_prog_AR"
42629 if test -n "$ac_tool_prefix"; then
42630 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
42631 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
42632 echo "$as_me:$LINENO: checking for $ac_word" >&5
42633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42634 if test "${ac_cv_prog_STRIP+set}" = set; then
42635 echo $ECHO_N "(cached) $ECHO_C" >&6
42637 if test -n "$STRIP"; then
42638 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
42640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42641 for as_dir
in $PATH
42644 test -z "$as_dir" && as_dir
=.
42645 for ac_exec_ext
in '' $ac_executable_extensions; do
42646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42647 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
42648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42656 STRIP
=$ac_cv_prog_STRIP
42657 if test -n "$STRIP"; then
42658 echo "$as_me:$LINENO: result: $STRIP" >&5
42659 echo "${ECHO_T}$STRIP" >&6
42661 echo "$as_me:$LINENO: result: no" >&5
42662 echo "${ECHO_T}no" >&6
42666 if test -z "$ac_cv_prog_STRIP"; then
42668 # Extract the first word of "strip", so it can be a program name with args.
42669 set dummy strip
; ac_word
=$2
42670 echo "$as_me:$LINENO: checking for $ac_word" >&5
42671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42672 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
42673 echo $ECHO_N "(cached) $ECHO_C" >&6
42675 if test -n "$ac_ct_STRIP"; then
42676 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
42678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42679 for as_dir
in $PATH
42682 test -z "$as_dir" && as_dir
=.
42683 for ac_exec_ext
in '' $ac_executable_extensions; do
42684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42685 ac_cv_prog_ac_ct_STRIP
="strip"
42686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42692 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
42695 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
42696 if test -n "$ac_ct_STRIP"; then
42697 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
42698 echo "${ECHO_T}$ac_ct_STRIP" >&6
42700 echo "$as_me:$LINENO: result: no" >&5
42701 echo "${ECHO_T}no" >&6
42706 STRIP
="$ac_cv_prog_STRIP"
42709 if test -n "$ac_tool_prefix"; then
42710 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
42711 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
42712 echo "$as_me:$LINENO: checking for $ac_word" >&5
42713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42714 if test "${ac_cv_prog_NM+set}" = set; then
42715 echo $ECHO_N "(cached) $ECHO_C" >&6
42717 if test -n "$NM"; then
42718 ac_cv_prog_NM
="$NM" # Let the user override the test.
42720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42721 for as_dir
in $PATH
42724 test -z "$as_dir" && as_dir
=.
42725 for ac_exec_ext
in '' $ac_executable_extensions; do
42726 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42727 ac_cv_prog_NM
="${ac_tool_prefix}nm"
42728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42737 if test -n "$NM"; then
42738 echo "$as_me:$LINENO: result: $NM" >&5
42739 echo "${ECHO_T}$NM" >&6
42741 echo "$as_me:$LINENO: result: no" >&5
42742 echo "${ECHO_T}no" >&6
42746 if test -z "$ac_cv_prog_NM"; then
42748 # Extract the first word of "nm", so it can be a program name with args.
42749 set dummy nm
; ac_word
=$2
42750 echo "$as_me:$LINENO: checking for $ac_word" >&5
42751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42752 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
42753 echo $ECHO_N "(cached) $ECHO_C" >&6
42755 if test -n "$ac_ct_NM"; then
42756 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
42758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42759 for as_dir
in $PATH
42762 test -z "$as_dir" && as_dir
=.
42763 for ac_exec_ext
in '' $ac_executable_extensions; do
42764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42765 ac_cv_prog_ac_ct_NM
="nm"
42766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42772 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
42775 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
42776 if test -n "$ac_ct_NM"; then
42777 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
42778 echo "${ECHO_T}$ac_ct_NM" >&6
42780 echo "$as_me:$LINENO: result: no" >&5
42781 echo "${ECHO_T}no" >&6
42786 NM
="$ac_cv_prog_NM"
42790 case ${BAKEFILE_HOST} in
42792 INSTALL_DIR
="mkdir -p"
42794 *) INSTALL_DIR
="$INSTALL -d"
42800 case ${BAKEFILE_HOST} in
42801 *-*-cygwin* | *-*-mingw32* )
42802 LDFLAGS_GUI
="-mwindows"
42808 echo "$as_me:$LINENO: checking if make is GNU make" >&5
42809 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
42810 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
42811 echo $ECHO_N "(cached) $ECHO_C" >&6
42814 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
42815 egrep -s GNU
> /dev
/null
); then
42816 bakefile_cv_prog_makeisgnu
="yes"
42818 bakefile_cv_prog_makeisgnu
="no"
42822 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
42823 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
42825 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
42842 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
42843 case "${BAKEFILE_HOST}" in
42850 *-pc-os2_emx | *-pc-os2-emx )
42860 powerpc
-apple-macos* )
42869 case "$BAKEFILE_FORCE_PLATFORM" in
42890 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
42891 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
42892 { (exit 1); exit 1; }; }
42907 # Check whether --enable-omf or --disable-omf was given.
42908 if test "${enable_omf+set}" = set; then
42909 enableval
="$enable_omf"
42910 bk_os2_use_omf
="$enableval"
42913 case "${BAKEFILE_HOST}" in
42915 if test "x$GCC" = "xyes"; then
42916 CFLAGS
="$CFLAGS -fno-common"
42917 CXXFLAGS
="$CXXFLAGS -fno-common"
42919 if test "x$XLCC" = "xyes"; then
42920 CFLAGS
="$CFLAGS -qnocommon"
42921 CXXFLAGS
="$CXXFLAGS -qnocommon"
42925 *-pc-os2_emx | *-pc-os2-emx )
42926 if test "x$bk_os2_use_omf" = "xyes" ; then
42929 LDFLAGS
="-Zomf $LDFLAGS"
42930 CFLAGS
="-Zomf $CFLAGS"
42931 CXXFLAGS
="-Zomf $CXXFLAGS"
42939 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
42945 SO_SUFFIX_MODULE
="so"
42950 DLLPREFIX_MODULE
=""
42954 case "${BAKEFILE_HOST}" in
42957 SO_SUFFIX_MODULE
="sl"
42961 SO_SUFFIX_MODULE
="a"
42965 SO_SUFFIX_MODULE
="dll"
42966 DLLIMP_SUFFIX
="dll.a"
42973 SO_SUFFIX_MODULE
="dll"
42974 DLLIMP_SUFFIX
="dll.a"
42984 *-pc-os2_emx | *-pc-os2-emx )
42986 SO_SUFFIX_MODULE
="dll"
42987 DLLIMP_SUFFIX
=$OS2_LIBEXT
42991 LIBEXT
=".$OS2_LIBEXT"
42996 SO_SUFFIX_MODULE
="bundle"
43000 if test "x$DLLIMP_SUFFIX" = "x" ; then
43001 DLLIMP_SUFFIX
="$SO_SUFFIX"
43016 if test "x$GCC" = "xyes"; then
43020 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
43021 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
43024 case "${BAKEFILE_HOST}" in
43026 if test "x$GCC" != "xyes"; then
43027 LDFLAGS
="$LDFLAGS -L/usr/lib"
43029 SHARED_LD_CC
="${CC} -b -o"
43030 SHARED_LD_CXX
="${CXX} -b -o"
43036 if test "x$GCC" != "xyes"; then
43037 echo "$as_me:$LINENO: checking for Intel compiler" >&5
43038 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
43039 if test "${bakefile_cv_prog_icc+set}" = set; then
43040 echo $ECHO_N "(cached) $ECHO_C" >&6
43043 cat >conftest.
$ac_ext <<_ACEOF
43046 cat confdefs.h
>>conftest.
$ac_ext
43047 cat >>conftest.
$ac_ext <<_ACEOF
43048 /* end confdefs.h. */
43054 #ifndef __INTEL_COMPILER
43062 rm -f conftest.
$ac_objext
43063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43064 (eval $ac_compile) 2>conftest.er1
43066 grep -v '^ *+' conftest.er1
>conftest.err
43068 cat conftest.err
>&5
43069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43070 (exit $ac_status); } &&
43071 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43073 (eval $ac_try) 2>&5
43075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43076 (exit $ac_status); }; } &&
43077 { ac_try
='test -s conftest.$ac_objext'
43078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43079 (eval $ac_try) 2>&5
43081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43082 (exit $ac_status); }; }; then
43083 bakefile_cv_prog_icc
=yes
43085 echo "$as_me: failed program was:" >&5
43086 sed 's/^/| /' conftest.
$ac_ext >&5
43088 bakefile_cv_prog_icc
=no
43091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43094 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
43095 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
43096 if test "$bakefile_cv_prog_icc" = "yes"; then
43103 if test "x$GCC" != xyes
; then
43104 SHARED_LD_CC
="${CC} -G -o"
43105 SHARED_LD_CXX
="${CXX} -G -o"
43112 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
43113 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
43114 if test "${wx_cv_gcc31+set}" = set; then
43115 echo $ECHO_N "(cached) $ECHO_C" >&6
43118 cat >conftest.
$ac_ext <<_ACEOF
43121 cat confdefs.h
>>conftest.
$ac_ext
43122 cat >>conftest.
$ac_ext <<_ACEOF
43123 /* end confdefs.h. */
43129 #if (__GNUC__ < 3) || \
43130 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
43138 rm -f conftest.
$ac_objext
43139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43140 (eval $ac_compile) 2>conftest.er1
43142 grep -v '^ *+' conftest.er1
>conftest.err
43144 cat conftest.err
>&5
43145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43146 (exit $ac_status); } &&
43147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43149 (eval $ac_try) 2>&5
43151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43152 (exit $ac_status); }; } &&
43153 { ac_try
='test -s conftest.$ac_objext'
43154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43155 (eval $ac_try) 2>&5
43157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43158 (exit $ac_status); }; }; then
43163 echo "$as_me: failed program was:" >&5
43164 sed 's/^/| /' conftest.
$ac_ext >&5
43171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43174 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
43175 echo "${ECHO_T}$wx_cv_gcc31" >&6
43176 if test "$wx_cv_gcc31" = "no"; then
43179 cat <<EOF >shared-ld-sh
43181 #-----------------------------------------------------------------------------
43182 #-- Name: distrib/mac/shared-ld-sh
43183 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
43184 #-- Author: Gilles Depeyrot
43185 #-- Copyright: (c) 2002 Gilles Depeyrot
43186 #-- Licence: any use permitted
43187 #-----------------------------------------------------------------------------
43192 linking_flag="-dynamiclib"
43193 ldargs="-r -keep_private_externs -nostdlib"
43195 while test ${D}# -gt 0; do
43202 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
43203 # collect these options and values
43204 args="${D}{args} ${D}1 ${D}2"
43209 # collect these load args
43210 ldargs="${D}{ldargs} ${D}1"
43213 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
43214 # collect these options
43215 args="${D}{args} ${D}1"
43218 -dynamiclib|-bundle)
43219 linking_flag="${D}1"
43223 echo "shared-ld: unhandled option '${D}1'"
43227 *.o | *.a | *.dylib)
43228 # collect object files
43229 objects="${D}{objects} ${D}1"
43233 echo "shared-ld: unhandled argument '${D}1'"
43244 # Link one module containing all the others
43246 if test ${D}{verbose} = 1; then
43247 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
43249 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
43253 # Link the shared library from the single module created, but only if the
43254 # previous command didn't fail:
43256 if test ${D}{status} = 0; then
43257 if test ${D}{verbose} = 1; then
43258 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
43260 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
43265 # Remove intermediate module
43267 rm -f master.${D}${D}.o
43272 chmod +x shared
-ld-sh
43274 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
43275 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
43276 SHARED_LD_CXX
="$SHARED_LD_CC"
43277 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
43279 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
43280 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
43281 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
43282 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
43285 if test "x$GCC" == "xyes"; then
43286 PIC_FLAG
="-dynamic -fPIC"
43288 if test "x$XLCC" = "xyes"; then
43289 PIC_FLAG
="-dynamic -DPIC"
43294 if test "x$GCC" != "xyes"; then
43295 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
43296 set dummy makeC
++SharedLib
; ac_word
=$2
43297 echo "$as_me:$LINENO: checking for $ac_word" >&5
43298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43299 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
43300 echo $ECHO_N "(cached) $ECHO_C" >&6
43302 if test -n "$AIX_CXX_LD"; then
43303 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
43305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43306 for as_dir
in $PATH
43309 test -z "$as_dir" && as_dir
=.
43310 for ac_exec_ext
in '' $ac_executable_extensions; do
43311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43312 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
43313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43319 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
43322 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
43323 if test -n "$AIX_CXX_LD"; then
43324 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
43325 echo "${ECHO_T}$AIX_CXX_LD" >&6
43327 echo "$as_me:$LINENO: result: no" >&5
43328 echo "${ECHO_T}no" >&6
43331 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
43332 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
43337 SHARED_LD_CC
="${LD} -nostart -o"
43338 SHARED_LD_CXX
="${LD} -nostart -o"
43342 if test "x$GCC" != "xyes"; then
43347 *-*-cygwin* | *-*-mingw32* )
43349 SHARED_LD_CC
="\$(CC) -shared -o"
43350 SHARED_LD_CXX
="\$(CXX) -shared -o"
43354 *-pc-os2_emx | *-pc-os2-emx )
43355 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43356 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43360 cat <<EOF >dllar.sh
43363 # dllar - a tool to build both a .dll and an .a file
43364 # from a set of object (.o) files for EMX/OS2.
43366 # Written by Andrew Zabolotny, bit@freya.etu.ru
43367 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
43369 # This script will accept a set of files on the command line.
43370 # All the public symbols from the .o files will be exported into
43371 # a .DEF file, then linker will be run (through gcc) against them to
43372 # build a shared library consisting of all given .o files. All libraries
43373 # (.a) will be first decompressed into component .o files then act as
43374 # described above. You can optionally give a description (-d "description")
43375 # which will be put into .DLL. To see the list of accepted options (as well
43376 # as command-line format) simply run this program without options. The .DLL
43377 # is built to be imported by name (there is no guarantee that new versions
43378 # of the library you build will have same ordinals for same symbols).
43380 # dllar is free software; you can redistribute it and/or modify
43381 # it under the terms of the GNU General Public License as published by
43382 # the Free Software Foundation; either version 2, or (at your option)
43383 # any later version.
43385 # dllar is distributed in the hope that it will be useful,
43386 # but WITHOUT ANY WARRANTY; without even the implied warranty of
43387 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
43388 # GNU General Public License for more details.
43390 # You should have received a copy of the GNU General Public License
43391 # along with dllar; see the file COPYING. If not, write to the Free
43392 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
43395 # To successfuly run this program you will need:
43396 # - Current drive should have LFN support (HPFS, ext2, network, etc)
43397 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
43399 # (used to build the .dll)
43401 # (used to create .def file from .o files)
43403 # (used to create .a file from .def file)
43404 # - GNU text utilites (cat, sort, uniq)
43405 # used to process emxexp output
43406 # - GNU file utilities (mv, rm)
43408 # - lxlite (optional, see flag below)
43409 # (used for general .dll cleanup)
43416 # basnam, variant of basename, which does _not_ remove the path, _iff_
43417 # second argument (suffix to remove) is given
43421 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
43424 echo ${D}1 | sed 's/'${D}2'${D}//'
43427 echo "error in basnam ${D}*"
43433 # Cleanup temporary files and output
43436 for i in ${D}inputFiles ; do
43439 rm -rf \`basnam ${D}i !\`
43446 # Kill result in case of failure as there is just to many stupid make/nmake
43447 # things out there which doesn't do this.
43448 if [ ${D}# -eq 0 ]; then
43449 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
43453 # Print usage and exit script with rc=1.
43455 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
43456 echo ' [-name-mangler-script script.sh]'
43457 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
43458 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
43459 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
43460 echo ' [*.o] [*.a]'
43461 echo '*> "output_file" should have no extension.'
43462 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
43463 echo ' The import library name is derived from this and is set to "name".a,'
43464 echo ' unless overridden by -import'
43465 echo '*> "importlib_name" should have no extension.'
43466 echo ' If it has the .o, or .a extension, it is automatically removed.'
43467 echo ' This name is used as the import library name and may be longer and'
43468 echo ' more descriptive than the DLL name which has to follow the old '
43469 echo ' 8.3 convention of FAT.'
43470 echo '*> "script.sh may be given to override the output_file name by a'
43471 echo ' different name. It is mainly useful if the regular make process'
43472 echo ' of some package does not take into account OS/2 restriction of'
43473 echo ' DLL name lengths. It takes the importlib name as input and is'
43474 echo ' supposed to procude a shorter name as output. The script should'
43475 echo ' expect to get importlib_name without extension and should produce'
43476 echo ' a (max.) 8 letter name without extension.'
43477 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
43478 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
43479 echo ' These flags will be put at the start of GCC command line.'
43480 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
43481 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
43482 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
43483 echo ' If the last character of a symbol is "*", all symbols beginning'
43484 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
43485 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
43486 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
43487 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
43488 echo ' C runtime DLLs.'
43489 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
43490 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
43491 echo ' unchanged to GCC at the end of command line.'
43492 echo '*> If you create a DLL from a library and you do not specify -o,'
43493 echo ' the basename for DLL and import library will be set to library name,'
43494 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
43495 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
43496 echo ' library will be renamed into gcc_s.a.'
43499 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
43500 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
43505 # Execute a command.
43506 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
43507 # @Uses Whatever CleanUp() uses.
43513 if [ ${D}rcCmd -ne 0 ]; then
43514 echo "command failed, exit code="${D}rcCmd
43529 CFLAGS="-s -Zcrtdll"
43531 EXPORT_BY_ORDINALS=0
43536 case ${D}curDirS in
43540 curDirS=${D}{curDirS}"/"
43543 # Parse commandline
43546 while [ ${D}1 ]; do
43549 EXPORT_BY_ORDINALS=1;
43559 -name-mangler-script)
43580 exclude_symbols=${D}{exclude_symbols}${D}1" "
43584 library_flags=${D}{library_flags}${D}1" "
43603 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
43606 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
43607 if [ ${D}omfLinking -eq 1 ]; then
43608 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
43610 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
43615 if [ ${D}libsToLink -ne 0 ]; then
43616 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
43618 for file in ${D}1 ; do
43619 if [ -f ${D}file ]; then
43620 inputFiles="${D}{inputFiles} ${D}file"
43624 if [ ${D}found -eq 0 ]; then
43625 echo "ERROR: No file(s) found: "${D}1
43632 done # iterate cmdline words
43635 if [ -z "${D}inputFiles" ]; then
43636 echo "dllar: no input files"
43640 # Now extract all .o files from .a files
43642 for file in ${D}inputFiles ; do
43653 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
43658 dirname=\`basnam ${D}file ${D}suffix\`"_%"
43660 if [ ${D}? -ne 0 ]; then
43661 echo "Failed to create subdirectory ./${D}dirname"
43665 # Append '!' to indicate archive
43666 newInputFiles="${D}newInputFiles ${D}{dirname}!"
43667 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
43670 for subfile in ${D}dirname/*.o* ; do
43671 if [ -f ${D}subfile ]; then
43673 if [ -s ${D}subfile ]; then
43674 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
43675 newInputFiles="${D}newInputFiles ${D}subfile"
43679 if [ ${D}found -eq 0 ]; then
43680 echo "WARNING: there are no files in archive \\'${D}file\\'"
43684 newInputFiles="${D}{newInputFiles} ${D}file"
43688 inputFiles="${D}newInputFiles"
43690 # Output filename(s).
43692 if [ -z ${D}outFile ]; then
43694 set outFile ${D}inputFiles; outFile=${D}2
43697 # If it is an archive, remove the '!' and the '_%' suffixes
43698 case ${D}outFile in
43700 outFile=\`basnam ${D}outFile _%!\`
43705 case ${D}outFile in
43707 outFile=\`basnam ${D}outFile .dll\`
43710 outFile=\`basnam ${D}outFile .DLL\`
43713 outFile=\`basnam ${D}outFile .o\`
43716 outFile=\`basnam ${D}outFile .obj\`
43719 outFile=\`basnam ${D}outFile .a\`
43722 outFile=\`basnam ${D}outFile .lib\`
43727 case ${D}outimpFile in
43729 outimpFile=\`basnam ${D}outimpFile .a\`
43732 outimpFile=\`basnam ${D}outimpFile .lib\`
43737 if [ -z ${D}outimpFile ]; then
43738 outimpFile=${D}outFile
43740 defFile="${D}{outFile}.def"
43741 arcFile="${D}{outimpFile}.a"
43742 arcFile2="${D}{outimpFile}.lib"
43744 #create ${D}dllFile as something matching 8.3 restrictions,
43745 if [ -z ${D}renameScript ] ; then
43746 dllFile="${D}outFile"
43748 dllFile=\`${D}renameScript ${D}outimpFile\`
43751 if [ ${D}do_backup -ne 0 ] ; then
43752 if [ -f ${D}arcFile ] ; then
43753 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
43755 if [ -f ${D}arcFile2 ] ; then
43756 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
43760 # Extract public symbols from all the object files.
43761 tmpdefFile=${D}{defFile}_%
43762 rm -f ${D}tmpdefFile
43763 for file in ${D}inputFiles ; do
43768 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
43773 # Create the def file.
43775 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
43776 dllFile="${D}{dllFile}.dll"
43777 if [ ! -z ${D}description ]; then
43778 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
43780 echo "EXPORTS" >> ${D}defFile
43782 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
43783 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
43785 # Checks if the export is ok or not.
43786 for word in ${D}exclude_symbols; do
43787 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
43788 mv ${D}{tmpdefFile}% ${D}tmpdefFile
43792 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
43793 sed "=" < ${D}tmpdefFile | \\
43797 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
43799 ' > ${D}{tmpdefFile}%
43800 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
43802 rm -f ${D}{tmpdefFile}%
43804 cat ${D}tmpdefFile >> ${D}defFile
43805 rm -f ${D}tmpdefFile
43807 # Do linking, create implib, and apply lxlite.
43809 for file in ${D}inputFiles ; do
43814 gccCmdl="${D}gccCmdl ${D}file"
43818 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
43819 touch "${D}{outFile}.dll"
43821 doCommand "emximp -o ${D}arcFile ${D}defFile"
43822 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
43824 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
43827 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
43829 doCommand "emxomf -s -l ${D}arcFile"
43839 powerpc
-apple-macos* | \
43840 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
43849 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
43850 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
43851 { (exit 1); exit 1; }; }
43854 if test "x$PIC_FLAG" != "x" ; then
43855 PIC_FLAG
="$PIC_FLAG -DPIC"
43858 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
43859 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
43861 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
43862 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
43881 case "${BAKEFILE_HOST}" in
43882 *-*-linux* | *-*-freebsd* )
43883 SONAME_FLAG
="-Wl,-soname,"
43917 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
43918 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
43921 if test "x$GCC" = "xyes"; then
43924 case "${BAKEFILE_HOST}" in
43926 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
43929 DEPSFLAG_GCC
="-MMD"
43932 echo "$as_me:$LINENO: result: gcc" >&5
43933 echo "${ECHO_T}gcc" >&6
43934 elif test "x$MWCC" = "xyes"; then
43937 DEPSFLAG_MWCC
="-MM"
43938 echo "$as_me:$LINENO: result: mwcc" >&5
43939 echo "${ECHO_T}mwcc" >&6
43940 elif test "x$SUNCC" = "xyes"; then
43943 DEPSFLAG_SUNCC
="-xM1"
43944 echo "$as_me:$LINENO: result: suncc" >&5
43945 echo "${ECHO_T}suncc" >&6
43947 echo "$as_me:$LINENO: result: none" >&5
43948 echo "${ECHO_T}none" >&6
43951 if test $DEPS_TRACKING = 1 ; then
43957 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43958 # script. It is used to track C/C++ files dependencies in portable way.
43960 # Permission is given to use this file in any way.
43962 DEPSMODE=${DEPSMODE}
43964 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
43965 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
43966 DEPSFLAG_SUNCC="${DEPSFLAG_SUNCC}"
43968 mkdir -p ${D}DEPSDIR
43970 if test ${D}DEPSMODE = gcc ; then
43971 ${D}* ${D}{DEPSFLAG_GCC}
43973 if test ${D}{status} != 0 ; then
43976 # move created file to the location we want it in:
43977 while test ${D}# -gt 0; do
43991 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
43992 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
43993 if test -f ${D}depfile ; then
43994 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
43997 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
43998 if test -f ${D}depfile ; then
43999 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
44004 elif test ${D}DEPSMODE = mwcc ; then
44007 if test ${D}{status} != 0 ; then
44010 # Run mwcc again with -MM and redirect into the dep file we want
44011 # NOTE: We can't use shift here because we need ${D}* to be valid
44013 for arg in ${D}* ; do
44014 if test "${D}prevarg" = "-o"; then
44027 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
44029 elif test ${D}DEPSMODE = suncc; then
44031 # Run compiler again with deps flag and redirect into the dep file.
44032 # It doesn't work if the '-o FILE' option is used, but without it the
44033 # dependency file will contain the wrong name for the object. So it is
44034 # removed from the command line, and the dep file is fixed with sed.
44036 while test ${D}# -gt 0; do
44043 eval arg${D}#=\\${D}1
44044 cmd="${D}cmd \\${D}arg${D}#"
44049 eval "${D}cmd ${D}DEPSFLAG_SUNCC" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
44066 case ${BAKEFILE_HOST} in
44067 *-*-cygwin* | *-*-mingw32* )
44068 if test "$build" != "$host" ; then
44069 RESCOMP
=$host_alias-windres
44071 # Extract the first word of "windres", so it can be a program name with args.
44072 set dummy windres
; ac_word
=$2
44073 echo "$as_me:$LINENO: checking for $ac_word" >&5
44074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44075 if test "${ac_cv_prog_RESCOMP+set}" = set; then
44076 echo $ECHO_N "(cached) $ECHO_C" >&6
44078 if test -n "$RESCOMP"; then
44079 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
44081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44082 for as_dir
in $PATH
44085 test -z "$as_dir" && as_dir
=.
44086 for ac_exec_ext
in '' $ac_executable_extensions; do
44087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44088 ac_cv_prog_RESCOMP
="windres"
44089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44095 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
44098 RESCOMP
=$ac_cv_prog_RESCOMP
44099 if test -n "$RESCOMP"; then
44100 echo "$as_me:$LINENO: result: $RESCOMP" >&5
44101 echo "${ECHO_T}$RESCOMP" >&6
44103 echo "$as_me:$LINENO: result: no" >&5
44104 echo "${ECHO_T}no" >&6
44110 *-*-darwin* | powerpc
-apple-macos* )
44111 # Extract the first word of "Rez", so it can be a program name with args.
44112 set dummy Rez
; ac_word
=$2
44113 echo "$as_me:$LINENO: checking for $ac_word" >&5
44114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44115 if test "${ac_cv_prog_RESCOMP+set}" = set; then
44116 echo $ECHO_N "(cached) $ECHO_C" >&6
44118 if test -n "$RESCOMP"; then
44119 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
44121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44122 for as_dir
in $PATH
44125 test -z "$as_dir" && as_dir
=.
44126 for ac_exec_ext
in '' $ac_executable_extensions; do
44127 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44128 ac_cv_prog_RESCOMP
="Rez"
44129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44135 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
44138 RESCOMP
=$ac_cv_prog_RESCOMP
44139 if test -n "$RESCOMP"; then
44140 echo "$as_me:$LINENO: result: $RESCOMP" >&5
44141 echo "${ECHO_T}$RESCOMP" >&6
44143 echo "$as_me:$LINENO: result: no" >&5
44144 echo "${ECHO_T}no" >&6
44147 # Extract the first word of "SetFile", so it can be a program name with args.
44148 set dummy SetFile
; ac_word
=$2
44149 echo "$as_me:$LINENO: checking for $ac_word" >&5
44150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44151 if test "${ac_cv_prog_SETFILE+set}" = set; then
44152 echo $ECHO_N "(cached) $ECHO_C" >&6
44154 if test -n "$SETFILE"; then
44155 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
44157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44158 for as_dir
in $PATH
44161 test -z "$as_dir" && as_dir
=.
44162 for ac_exec_ext
in '' $ac_executable_extensions; do
44163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44164 ac_cv_prog_SETFILE
="SetFile"
44165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44171 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
44174 SETFILE
=$ac_cv_prog_SETFILE
44175 if test -n "$SETFILE"; then
44176 echo "$as_me:$LINENO: result: $SETFILE" >&5
44177 echo "${ECHO_T}$SETFILE" >&6
44179 echo "$as_me:$LINENO: result: no" >&5
44180 echo "${ECHO_T}no" >&6
44190 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.9"
44193 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.9"
44197 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
44198 if test "${enable_precomp_headers+set}" = set; then
44199 enableval
="$enable_precomp_headers"
44200 bk_use_pch
="$enableval"
44205 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
44206 if test "x$GCC" = "xyes"; then
44207 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
44208 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
44209 cat >conftest.
$ac_ext <<_ACEOF
44212 cat confdefs.h
>>conftest.
$ac_ext
44213 cat >>conftest.
$ac_ext <<_ACEOF
44214 /* end confdefs.h. */
44220 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
44221 #error "no pch support"
44224 #error "no pch support"
44226 #if (__GNUC__ == 3) && \
44227 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
44228 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
44229 #error "no pch support"
44236 rm -f conftest.
$ac_objext
44237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44238 (eval $ac_compile) 2>conftest.er1
44240 grep -v '^ *+' conftest.er1
>conftest.err
44242 cat conftest.err
>&5
44243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44244 (exit $ac_status); } &&
44245 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44247 (eval $ac_try) 2>&5
44249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44250 (exit $ac_status); }; } &&
44251 { ac_try
='test -s conftest.$ac_objext'
44252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44253 (eval $ac_try) 2>&5
44255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44256 (exit $ac_status); }; }; then
44258 echo "$as_me:$LINENO: result: yes" >&5
44259 echo "${ECHO_T}yes" >&6
44263 echo "$as_me: failed program was:" >&5
44264 sed 's/^/| /' conftest.
$ac_ext >&5
44267 echo "$as_me:$LINENO: result: no" >&5
44268 echo "${ECHO_T}no" >&6
44271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44272 if test $GCC_PCH = 1 ; then
44275 cat <<EOF >bk-make-pch
44278 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
44279 # script. It is used to generated precompiled headers.
44281 # Permission is given to use this file in any way.
44290 while test ${D}{#} -gt 0; do
44293 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
44294 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
44295 headerfile="${D}{incdir}/${D}{header}"
44299 compiler="${D}{compiler} ${D}{1}"
44303 if test "x${D}{headerfile}" = "x" ; then
44304 echo "error: can't find header ${D}{header} in include paths" >2
44306 if test -f ${D}{outfile} ; then
44307 rm -f ${D}{outfile}
44309 mkdir -p \`dirname ${D}{outfile}\`
44311 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
44313 # can do this because gcc is >= 3.4:
44314 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
44319 chmod +x bk
-make-pch
44326 COND_BUILD_DEBUG
="#"
44327 if test "x$BUILD" = "xdebug" ; then
44328 COND_BUILD_DEBUG
=""
44331 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
44332 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
44333 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
44336 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
44337 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
44338 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
44341 COND_BUILD_DEBUG_UNICODE_0
="#"
44342 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
44343 COND_BUILD_DEBUG_UNICODE_0
=""
44346 COND_BUILD_DEBUG_UNICODE_1
="#"
44347 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
44348 COND_BUILD_DEBUG_UNICODE_1
=""
44351 COND_BUILD_RELEASE
="#"
44352 if test "x$BUILD" = "xrelease" ; then
44353 COND_BUILD_RELEASE
=""
44356 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
44357 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
44358 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
44361 COND_BUILD_RELEASE_UNICODE_0
="#"
44362 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
44363 COND_BUILD_RELEASE_UNICODE_0
=""
44366 COND_BUILD_RELEASE_UNICODE_1
="#"
44367 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
44368 COND_BUILD_RELEASE_UNICODE_1
=""
44371 COND_DEBUG_FLAG_1
="#"
44372 if test "x$DEBUG_FLAG" = "x1" ; then
44373 COND_DEBUG_FLAG_1
=""
44376 COND_DEBUG_INFO_0
="#"
44377 if test "x$DEBUG_INFO" = "x0" ; then
44378 COND_DEBUG_INFO_0
=""
44381 COND_DEBUG_INFO_1
="#"
44382 if test "x$DEBUG_INFO" = "x1" ; then
44383 COND_DEBUG_INFO_1
=""
44386 COND_DEPS_TRACKING_0
="#"
44387 if test "x$DEPS_TRACKING" = "x0" ; then
44388 COND_DEPS_TRACKING_0
=""
44391 COND_DEPS_TRACKING_1
="#"
44392 if test "x$DEPS_TRACKING" = "x1" ; then
44393 COND_DEPS_TRACKING_1
=""
44397 if test "x$GCC_PCH" = "x1" ; then
44401 COND_MONOLITHIC_0
="#"
44402 if test "x$MONOLITHIC" = "x0" ; then
44403 COND_MONOLITHIC_0
=""
44406 COND_MONOLITHIC_0_SHARED_0
="#"
44407 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
44408 COND_MONOLITHIC_0_SHARED_0
=""
44411 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
44412 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
44413 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
44416 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
44417 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
44418 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
44421 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
44422 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
44423 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
44426 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
44427 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
44428 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
44431 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
44432 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
44433 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
44436 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
44437 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
44438 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
44441 COND_MONOLITHIC_0_SHARED_1
="#"
44442 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
44443 COND_MONOLITHIC_0_SHARED_1
=""
44446 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
44447 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
44448 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
44451 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
44452 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
44453 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
44456 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
44457 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
44458 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
44461 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
44462 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
44463 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
44466 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
44467 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
44468 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
44471 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
44472 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
44473 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
44476 COND_MONOLITHIC_0_USE_ODBC_1
="#"
44477 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
44478 COND_MONOLITHIC_0_USE_ODBC_1
=""
44481 COND_MONOLITHIC_1
="#"
44482 if test "x$MONOLITHIC" = "x1" ; then
44483 COND_MONOLITHIC_1
=""
44486 COND_MONOLITHIC_1_SHARED_0
="#"
44487 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
44488 COND_MONOLITHIC_1_SHARED_0
=""
44491 COND_MONOLITHIC_1_SHARED_1
="#"
44492 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
44493 COND_MONOLITHIC_1_SHARED_1
=""
44496 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
44497 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
44498 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
44501 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
44502 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
44503 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
44506 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
44507 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
44508 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
44511 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
44512 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
44513 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
44516 COND_PLATFORM_MACOSX_1
="#"
44517 if test "x$PLATFORM_MACOSX" = "x1" ; then
44518 COND_PLATFORM_MACOSX_1
=""
44521 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
44522 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
44523 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
44526 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
44527 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
44528 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
44531 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
44532 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
44533 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
44536 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
44537 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
44538 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
44541 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
44542 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
44543 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
44546 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
44547 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44548 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
44551 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
44552 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
44553 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
44556 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
44557 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
44558 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
44561 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
44562 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
44563 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
44566 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
44567 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
44568 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
44571 COND_PLATFORM_MACOS_1
="#"
44572 if test "x$PLATFORM_MACOS" = "x1" ; then
44573 COND_PLATFORM_MACOS_1
=""
44576 COND_PLATFORM_MAC_1
="#"
44577 if test "x$PLATFORM_MAC" = "x1" ; then
44578 COND_PLATFORM_MAC_1
=""
44581 COND_PLATFORM_MSDOS_1
="#"
44582 if test "x$PLATFORM_MSDOS" = "x1" ; then
44583 COND_PLATFORM_MSDOS_1
=""
44586 COND_PLATFORM_OS2_1
="#"
44587 if test "x$PLATFORM_OS2" = "x1" ; then
44588 COND_PLATFORM_OS2_1
=""
44591 COND_PLATFORM_UNIX_0
="#"
44592 if test "x$PLATFORM_UNIX" = "x0" ; then
44593 COND_PLATFORM_UNIX_0
=""
44596 COND_PLATFORM_UNIX_1
="#"
44597 if test "x$PLATFORM_UNIX" = "x1" ; then
44598 COND_PLATFORM_UNIX_1
=""
44601 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
44602 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
44603 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
44606 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
44607 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
44608 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
44611 COND_PLATFORM_WIN32_0
="#"
44612 if test "x$PLATFORM_WIN32" = "x0" ; then
44613 COND_PLATFORM_WIN32_0
=""
44616 COND_PLATFORM_WIN32_1
="#"
44617 if test "x$PLATFORM_WIN32" = "x1" ; then
44618 COND_PLATFORM_WIN32_1
=""
44622 if test "x$SHARED" = "x0" ; then
44626 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
44627 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
44628 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
44631 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
44632 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
44633 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
44636 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
44637 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
44638 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
44641 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
44642 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
44643 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
44646 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
44647 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
44648 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
44651 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
44652 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
44653 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
44656 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
44657 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
44658 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
44661 COND_SHARED_0_USE_XRC_1
="#"
44662 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
44663 COND_SHARED_0_USE_XRC_1
=""
44666 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
44667 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
44668 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
44671 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
44672 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
44673 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
44676 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
44677 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
44678 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
44681 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
44682 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
44683 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
44687 if test "x$SHARED" = "x1" ; then
44691 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
44692 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
44693 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
44696 COND_SHARED_1_USE_XRC_1
="#"
44697 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
44698 COND_SHARED_1_USE_XRC_1
=""
44702 if test "x$TOOLKIT" = "x" ; then
44706 COND_TOOLKIT_COCOA
="#"
44707 if test "x$TOOLKIT" = "xCOCOA" ; then
44708 COND_TOOLKIT_COCOA
=""
44711 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
44712 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
44713 COND_TOOLKIT_COCOA_USE_GUI_1
=""
44716 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
44717 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44718 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
44721 COND_TOOLKIT_GTK
="#"
44722 if test "x$TOOLKIT" = "xGTK" ; then
44723 COND_TOOLKIT_GTK
=""
44726 COND_TOOLKIT_GTK_USE_GUI_1
="#"
44727 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
44728 COND_TOOLKIT_GTK_USE_GUI_1
=""
44731 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
44732 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44733 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
44736 COND_TOOLKIT_MAC
="#"
44737 if test "x$TOOLKIT" = "xMAC" ; then
44738 COND_TOOLKIT_MAC
=""
44741 COND_TOOLKIT_MAC_USE_GUI_1
="#"
44742 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
44743 COND_TOOLKIT_MAC_USE_GUI_1
=""
44746 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
44747 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44748 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
44751 COND_TOOLKIT_MGL
="#"
44752 if test "x$TOOLKIT" = "xMGL" ; then
44753 COND_TOOLKIT_MGL
=""
44756 COND_TOOLKIT_MGL_USE_GUI_1
="#"
44757 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
44758 COND_TOOLKIT_MGL_USE_GUI_1
=""
44761 COND_TOOLKIT_MOTIF
="#"
44762 if test "x$TOOLKIT" = "xMOTIF" ; then
44763 COND_TOOLKIT_MOTIF
=""
44766 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
44767 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
44768 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
44771 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
44772 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44773 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
44776 COND_TOOLKIT_MSW
="#"
44777 if test "x$TOOLKIT" = "xMSW" ; then
44778 COND_TOOLKIT_MSW
=""
44781 COND_TOOLKIT_MSW_USE_GUI_1
="#"
44782 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
44783 COND_TOOLKIT_MSW_USE_GUI_1
=""
44786 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
44787 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44788 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
44791 COND_TOOLKIT_PM
="#"
44792 if test "x$TOOLKIT" = "xPM" ; then
44796 COND_TOOLKIT_PM_USE_GUI_1
="#"
44797 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
44798 COND_TOOLKIT_PM_USE_GUI_1
=""
44801 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
44802 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44803 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
44806 COND_TOOLKIT_WINCE
="#"
44807 if test "x$TOOLKIT" = "xWINCE" ; then
44808 COND_TOOLKIT_WINCE
=""
44811 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
44812 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
44813 COND_TOOLKIT_WINCE_USE_GUI_1
=""
44816 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
44817 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44818 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
44821 COND_TOOLKIT_X11
="#"
44822 if test "x$TOOLKIT" = "xX11" ; then
44823 COND_TOOLKIT_X11
=""
44826 COND_TOOLKIT_X11_USE_GUI_1
="#"
44827 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
44828 COND_TOOLKIT_X11_USE_GUI_1
=""
44832 if test "x$UNICODE" = "x1" ; then
44836 COND_USE_EXCEPTIONS_0
="#"
44837 if test "x$USE_EXCEPTIONS" = "x0" ; then
44838 COND_USE_EXCEPTIONS_0
=""
44841 COND_USE_EXCEPTIONS_1
="#"
44842 if test "x$USE_EXCEPTIONS" = "x1" ; then
44843 COND_USE_EXCEPTIONS_1
=""
44847 if test "x$USE_GUI" = "x0" ; then
44852 if test "x$USE_GUI" = "x1" ; then
44856 COND_USE_GUI_1_WXUNIV_0
="#"
44857 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44858 COND_USE_GUI_1_WXUNIV_0
=""
44861 COND_USE_GUI_1_WXUNIV_1
="#"
44862 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
44863 COND_USE_GUI_1_WXUNIV_1
=""
44866 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
44867 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
44868 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
44871 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
44872 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
44873 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
44876 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
44877 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
44878 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
44881 COND_USE_ODBC_1
="#"
44882 if test "x$USE_ODBC" = "x1" ; then
44886 COND_USE_OPENGL_1
="#"
44887 if test "x$USE_OPENGL" = "x1" ; then
44888 COND_USE_OPENGL_1
=""
44891 COND_USE_PLUGINS_0
="#"
44892 if test "x$USE_PLUGINS" = "x0" ; then
44893 COND_USE_PLUGINS_0
=""
44896 COND_USE_RTTI_0
="#"
44897 if test "x$USE_RTTI" = "x0" ; then
44901 COND_USE_RTTI_1
="#"
44902 if test "x$USE_RTTI" = "x1" ; then
44906 COND_USE_SOSYMLINKS_1
="#"
44907 if test "x$USE_SOSYMLINKS" = "x1" ; then
44908 COND_USE_SOSYMLINKS_1
=""
44911 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
44912 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
44913 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
44916 COND_USE_SOVERLINUX_1
="#"
44917 if test "x$USE_SOVERLINUX" = "x1" ; then
44918 COND_USE_SOVERLINUX_1
=""
44921 COND_USE_SOVERSION_0
="#"
44922 if test "x$USE_SOVERSION" = "x0" ; then
44923 COND_USE_SOVERSION_0
=""
44926 COND_USE_SOVERSOLARIS_1
="#"
44927 if test "x$USE_SOVERSOLARIS" = "x1" ; then
44928 COND_USE_SOVERSOLARIS_1
=""
44931 COND_USE_THREADS_0
="#"
44932 if test "x$USE_THREADS" = "x0" ; then
44933 COND_USE_THREADS_0
=""
44936 COND_USE_THREADS_1
="#"
44937 if test "x$USE_THREADS" = "x1" ; then
44938 COND_USE_THREADS_1
=""
44942 if test "x$USE_XRC" = "x1" ; then
44946 COND_WINDOWS_IMPLIB_1
="#"
44947 if test "x$WINDOWS_IMPLIB" = "x1" ; then
44948 COND_WINDOWS_IMPLIB_1
=""
44951 COND_WITH_PLUGIN_SDL_1
="#"
44952 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
44953 COND_WITH_PLUGIN_SDL_1
=""
44957 if test "x$WXUNIV" = "x0" ; then
44962 if test "x$WXUNIV" = "x1" ; then
44966 COND_WXUSE_EXPAT_BUILTIN
="#"
44967 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
44968 COND_WXUSE_EXPAT_BUILTIN
=""
44971 COND_WXUSE_LIBJPEG_BUILTIN
="#"
44972 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
44973 COND_WXUSE_LIBJPEG_BUILTIN
=""
44976 COND_WXUSE_LIBPNG_BUILTIN
="#"
44977 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
44978 COND_WXUSE_LIBPNG_BUILTIN
=""
44981 COND_WXUSE_LIBTIFF_BUILTIN
="#"
44982 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
44983 COND_WXUSE_LIBTIFF_BUILTIN
=""
44986 COND_WXUSE_ODBC_BUILTIN
="#"
44987 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
44988 COND_WXUSE_ODBC_BUILTIN
=""
44991 COND_WXUSE_REGEX_BUILTIN
="#"
44992 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
44993 COND_WXUSE_REGEX_BUILTIN
=""
44996 COND_WXUSE_ZLIB_BUILTIN
="#"
44997 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
44998 COND_WXUSE_ZLIB_BUILTIN
=""
45003 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
45004 { { echo "$as_me:$LINENO: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&5
45005 echo "$as_me: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&2;}
45006 { (exit 1); exit 1; }; }
45009 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
45010 { { 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
45011 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;}
45012 { (exit 1); exit 1; }; }
45016 if test "$wxUSE_SHARED" = "yes"; then
45018 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
45019 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
45022 *-pc-os2_emx | *-pc-os2-emx )
45023 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
45024 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
45025 cp -p ${srcdir}/src
/os
2/dllnames.sh .
45026 cp -p ${srcdir}/src
/os
2/dllar.sh .
45031 EXE_LINKER
="$CXX -o"
45034 if test "$wxUSE_OMF" = "yes"; then
45036 *-pc-os2_emx | *-pc-os2-emx )
45037 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
45038 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
45039 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
45044 GCC_PRAGMA_FLAGS
=""
45047 if test $GCC_PCH = 1 ; then
45048 PCH_FLAGS
="-DWX_PRECOMP"
45049 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
45051 if test "$GCC" = yes; then
45052 echo "$as_me:$LINENO: checking if this GCC version is >= 4.0 and needs -DNO_GCC_PRAGMA" >&5
45053 echo $ECHO_N "checking if this GCC version is >= 4.0 and needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
45054 cat >conftest.
$ac_ext <<_ACEOF
45057 cat confdefs.h
>>conftest.
$ac_ext
45058 cat >>conftest.
$ac_ext <<_ACEOF
45059 /* end confdefs.h. */
45065 Not GCC 4.0 or greater
45072 rm -f conftest.
$ac_objext
45073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45074 (eval $ac_compile) 2>conftest.er1
45076 grep -v '^ *+' conftest.er1
>conftest.err
45078 cat conftest.err
>&5
45079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45080 (exit $ac_status); } &&
45081 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45083 (eval $ac_try) 2>&5
45085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45086 (exit $ac_status); }; } &&
45087 { ac_try
='test -s conftest.$ac_objext'
45088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45089 (eval $ac_try) 2>&5
45091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45092 (exit $ac_status); }; }; then
45093 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
45094 echo "$as_me:$LINENO: result: yes" >&5
45095 echo "${ECHO_T}yes" >&6
45097 echo "$as_me: failed program was:" >&5
45098 sed 's/^/| /' conftest.
$ac_ext >&5
45100 echo "$as_me:$LINENO: result: no" >&5
45101 echo "${ECHO_T}no" >&6
45104 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
45107 if test "$wxUSE_STL" = "yes" -o \
45108 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
45109 "$wxUSE_NO_RTTI" != "yes"; then
45110 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
45111 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
45112 cat >conftest.
$ac_ext <<_ACEOF
45115 cat confdefs.h
>>conftest.
$ac_ext
45116 cat >>conftest.
$ac_ext <<_ACEOF
45117 /* end confdefs.h. */
45122 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
45123 Not GCC 3.2 or greater
45130 rm -f conftest.
$ac_objext
45131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45132 (eval $ac_compile) 2>conftest.er1
45134 grep -v '^ *+' conftest.er1
>conftest.err
45136 cat conftest.err
>&5
45137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45138 (exit $ac_status); } &&
45139 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45141 (eval $ac_try) 2>&5
45143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45144 (exit $ac_status); }; } &&
45145 { ac_try
='test -s conftest.$ac_objext'
45146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45147 (eval $ac_try) 2>&5
45149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45150 (exit $ac_status); }; }; then
45151 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
45152 echo "$as_me:$LINENO: result: yes" >&5
45153 echo "${ECHO_T}yes" >&6
45155 echo "$as_me: failed program was:" >&5
45156 sed 's/^/| /' conftest.
$ac_ext >&5
45158 echo "$as_me:$LINENO: result: no" >&5
45159 echo "${ECHO_T}no" >&6
45161 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45164 *-pc-os2_emx | *-pc-os2-emx )
45165 if test "$wxUSE_STL" = "yes"; then
45166 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
45167 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
45168 cat >conftest.
$ac_ext <<_ACEOF
45171 cat confdefs.h
>>conftest.
$ac_ext
45172 cat >>conftest.
$ac_ext <<_ACEOF
45173 /* end confdefs.h. */
45178 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
45179 Not GCC 3.2 or greater
45186 rm -f conftest.
$ac_objext
45187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45188 (eval $ac_compile) 2>conftest.er1
45190 grep -v '^ *+' conftest.er1
>conftest.err
45192 cat conftest.err
>&5
45193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45194 (exit $ac_status); } &&
45195 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45197 (eval $ac_try) 2>&5
45199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45200 (exit $ac_status); }; } &&
45201 { ac_try
='test -s conftest.$ac_objext'
45202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45203 (eval $ac_try) 2>&5
45205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45206 (exit $ac_status); }; }; then
45207 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
45208 echo "$as_me:$LINENO: result: yes" >&5
45209 echo "${ECHO_T}yes" >&6
45211 echo "$as_me: failed program was:" >&5
45212 sed 's/^/| /' conftest.
$ac_ext >&5
45214 echo "$as_me:$LINENO: result: no" >&5
45215 echo "${ECHO_T}no" >&6
45217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45226 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
45229 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
45293 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45294 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45295 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
45296 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45297 echo $ECHO_N "(cached) $ECHO_C" >&6
45299 cat >conftest.
make <<\_ACEOF
45301 @
echo 'ac_maketemp="$(MAKE)"'
45303 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45304 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45305 if test -n "$ac_maketemp"; then
45306 eval ac_cv_prog_make_
${ac_make}_set
=yes
45308 eval ac_cv_prog_make_
${ac_make}_set
=no
45310 rm -f conftest.
make
45312 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45313 echo "$as_me:$LINENO: result: yes" >&5
45314 echo "${ECHO_T}yes" >&6
45317 echo "$as_me:$LINENO: result: no" >&5
45318 echo "${ECHO_T}no" >&6
45319 SET_MAKE
="MAKE=${MAKE-make}"
45324 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
45327 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
45330 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
45333 ac_config_files
="$ac_config_files version-script Makefile"
45336 ac_config_commands
="$ac_config_commands wx-config
45342 if test "$wxUSE_GUI" = "yes"; then
45343 SUBDIRS
="samples demos utils contrib"
45344 else SUBDIRS
="samples utils"
45349 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
45350 if test "${with_cppunit_prefix+set}" = set; then
45351 withval
="$with_cppunit_prefix"
45352 cppunit_config_prefix
="$withval"
45354 cppunit_config_prefix
=""
45357 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
45358 if test "${with_cppunit_exec_prefix+set}" = set; then
45359 withval
="$with_cppunit_exec_prefix"
45360 cppunit_config_exec_prefix
="$withval"
45362 cppunit_config_exec_prefix
=""
45365 if test x
$cppunit_config_exec_prefix != x
; then
45366 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
45367 if test x
${CPPUNIT_CONFIG+set} != xset
; then
45368 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
45371 if test x
$cppunit_config_prefix != x
; then
45372 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
45373 if test x
${CPPUNIT_CONFIG+set} != xset
; then
45374 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
45378 # Extract the first word of "cppunit-config", so it can be a program name with args.
45379 set dummy cppunit
-config; ac_word
=$2
45380 echo "$as_me:$LINENO: checking for $ac_word" >&5
45381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45382 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
45383 echo $ECHO_N "(cached) $ECHO_C" >&6
45385 case $CPPUNIT_CONFIG in
45387 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
45390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45391 for as_dir
in $PATH
45394 test -z "$as_dir" && as_dir
=.
45395 for ac_exec_ext
in '' $ac_executable_extensions; do
45396 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45397 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
45398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45404 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
45408 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
45410 if test -n "$CPPUNIT_CONFIG"; then
45411 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
45412 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
45414 echo "$as_me:$LINENO: result: no" >&5
45415 echo "${ECHO_T}no" >&6
45418 cppunit_version_min
=1.8.0
45420 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
45421 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
45423 if test "$CPPUNIT_CONFIG" = "no" ; then
45426 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
45427 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
45428 cppunit_version
=`$CPPUNIT_CONFIG --version`
45430 cppunit_major_version
=`echo $cppunit_version | \
45431 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
45432 cppunit_minor_version
=`echo $cppunit_version | \
45433 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
45434 cppunit_micro_version
=`echo $cppunit_version | \
45435 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
45437 cppunit_major_min
=`echo $cppunit_version_min | \
45438 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
45439 cppunit_minor_min
=`echo $cppunit_version_min | \
45440 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
45441 cppunit_micro_min
=`echo $cppunit_version_min | \
45442 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
45444 cppunit_version_proper
=`expr \
45445 $cppunit_major_version \> $cppunit_major_min \| \
45446 $cppunit_major_version \= $cppunit_major_min \& \
45447 $cppunit_minor_version \> $cppunit_minor_min \| \
45448 $cppunit_major_version \= $cppunit_major_min \& \
45449 $cppunit_minor_version \= $cppunit_minor_min \& \
45450 $cppunit_micro_version \>= $cppunit_micro_min `
45452 if test "$cppunit_version_proper" = "1" ; then
45453 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
45454 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
45456 echo "$as_me:$LINENO: result: no" >&5
45457 echo "${ECHO_T}no" >&6
45462 if test "x$no_cppunit" = x
; then
45463 SUBDIRS
="$SUBDIRS tests"
45474 for subdir
in `echo $SUBDIRS`; do
45475 if test -d ${srcdir}/${subdir} ; then
45476 if test "$wxUSE_GUI" = "yes"; then
45477 if test ${subdir} = "samples"; then
45478 makefiles
="samples/Makefile.in $makefiles"
45479 for sample
in `echo $SAMPLES_SUBDIRS`; do
45480 if test -d $srcdir/samples
/$sample; then
45481 makefiles
="samples/$sample/Makefile.in $makefiles"
45485 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
45486 eval "disabled=\$$disabled_var"
45487 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
45488 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
45490 else if test ${subdir} = "samples"; then
45491 makefiles
="samples/Makefile.in samples/console/Makefile.in"
45492 elif test ${subdir} = "utils"; then
45494 for util
in HelpGen tex2rtf
; do
45495 if test -d $srcdir/utils
/$util ; then
45496 makefiles
="utils/$util/Makefile.in \
45497 utils/$util/src/Makefile.in \
45501 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
45505 for mkin
in $makefiles ; do
45506 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
45507 ac_config_files
="$ac_config_files $mk"
45514 cat >confcache
<<\_ACEOF
45515 # This file is a shell script that caches the results of configure
45516 # tests run on this system so they can be shared between configure
45517 # scripts and configure runs, see configure's option --config-cache.
45518 # It is not useful on other systems. If it contains results you don't
45519 # want to keep, you may remove or edit it.
45521 # config.status only pays attention to the cache file if you give it
45522 # the --recheck option to rerun configure.
45524 # `ac_cv_env_foo' variables (set or unset) will be overridden when
45525 # loading this file, other *unset* `ac_cv_foo' will be assigned the
45526 # following values.
45530 # The following way of writing the cache mishandles newlines in values,
45531 # but we know of no workaround that is simple, portable, and efficient.
45532 # So, don't put newlines in cache variables' values.
45533 # Ultrix sh set writes to stderr and can't be redirected directly,
45534 # and sets the high bit in the cache file unless we assign to the vars.
45537 case `(ac_space=' '; set | grep ac_space) 2>&1` in
45539 # `set' does not quote correctly, so add quotes (double-quote
45540 # substitution turns \\\\ into \\, and sed turns \\ into \).
45543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
45546 # `set' quotes correctly as required by POSIX, so do not add quotes.
45548 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
45555 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
45557 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
45559 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
45560 if test -w $cache_file; then
45561 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
45562 cat confcache
>$cache_file
45564 echo "not updating unwritable cache $cache_file"
45569 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
45570 # Let make expand exec_prefix.
45571 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
45573 # VPATH may cause trouble with some makes, so we remove $(srcdir),
45574 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
45575 # trailing colons and then remove the whole line if VPATH becomes empty
45576 # (actually we leave an empty line to preserve line numbers).
45577 if test "x$srcdir" = x.
; then
45578 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
45579 s/:*\$(srcdir):*/:/;
45580 s/:*\${srcdir}:*/:/;
45582 s/^\([^=]*=[ ]*\):*/\1/;
45588 DEFS
=-DHAVE_CONFIG_H
45592 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
45593 # 1. Remove the extension, and $U if already installed.
45594 ac_i
=`echo "$ac_i" |
45595 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
45597 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
45598 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
45600 LIBOBJS
=$ac_libobjs
45602 LTLIBOBJS
=$ac_ltlibobjs
45606 : ${CONFIG_STATUS=./config.status}
45607 ac_clean_files_save
=$ac_clean_files
45608 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
45609 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
45610 echo "$as_me: creating $CONFIG_STATUS" >&6;}
45611 cat >$CONFIG_STATUS <<_ACEOF
45613 # Generated by $as_me.
45614 # Run this file to recreate the current configuration.
45615 # Compiler output produced by configure, useful for debugging
45616 # configure, is in config.log if it exists.
45619 ac_cs_recheck=false
45621 SHELL=\${CONFIG_SHELL-$SHELL}
45624 cat >>$CONFIG_STATUS <<\_ACEOF
45625 ## --------------------- ##
45626 ## M4sh Initialization. ##
45627 ## --------------------- ##
45629 # Be Bourne compatible
45630 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
45633 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
45634 # is contrary to our usage. Disable this feature.
45635 alias -g '${1+"$@"}'='"$@"'
45636 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
45639 DUALCASE
=1; export DUALCASE
# for MKS sh
45641 # Support unset when possible.
45642 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
45649 # Work around bugs in pre-3.0 UWIN ksh.
45650 $as_unset ENV MAIL MAILPATH
45657 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
45658 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45659 LC_TELEPHONE LC_TIME
45661 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45662 eval $as_var=C
; export $as_var
45668 # Required to use basename.
45669 if expr a
: '\(a\)' >/dev
/null
2>&1; then
45675 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
45676 as_basename
=basename
45682 # Name of the executable.
45683 as_me
=`$as_basename "$0" ||
45684 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
45685 X"$0" : 'X\(//\)$' \| \
45686 X"$0" : 'X\(/\)$' \| \
45687 . : '\(.\)' 2>/dev/null ||
45689 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
45690 /^X\/\(\/\/\)$/{ s//\1/; q; }
45691 /^X\/\(\/\).*/{ s//\1/; q; }
45695 # PATH needs CR, and LINENO needs CR and PATH.
45696 # Avoid depending upon Character Ranges.
45697 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
45698 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
45699 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
45700 as_cr_digits
='0123456789'
45701 as_cr_alnum
=$as_cr_Letters$as_cr_digits
45703 # The user is always right.
45704 if test "${PATH_SEPARATOR+set}" != set; then
45705 echo "#! /bin/sh" >conf$$.sh
45706 echo "exit 0" >>conf$$.sh
45708 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
45717 as_lineno_1
=$LINENO
45718 as_lineno_2
=$LINENO
45719 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
45720 test "x$as_lineno_1" != "x$as_lineno_2" &&
45721 test "x$as_lineno_3" = "x$as_lineno_2" || {
45722 # Find who we are. Look in the path if we contain no path at all
45725 *[\\/]* ) as_myself
=$0 ;;
45726 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45727 for as_dir
in $PATH
45730 test -z "$as_dir" && as_dir
=.
45731 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
45736 # We did not find ourselves, most probably we were run as `sh COMMAND'
45737 # in which case we are not to be found in the path.
45738 if test "x$as_myself" = x
; then
45741 if test ! -f "$as_myself"; then
45742 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
45743 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
45744 { (exit 1); exit 1; }; }
45746 case $CONFIG_SHELL in
45748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45749 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
45752 test -z "$as_dir" && as_dir
=.
45753 for as_base
in sh bash ksh sh5
; do
45756 if ("$as_dir/$as_base" -c '
45757 as_lineno_1=$LINENO
45758 as_lineno_2=$LINENO
45759 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
45760 test "x$as_lineno_1" != "x$as_lineno_2" &&
45761 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
45762 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
45763 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
45764 CONFIG_SHELL
=$as_dir/$as_base
45765 export CONFIG_SHELL
45766 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
45774 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
45775 # uniformly replaced by the line number. The first 'sed' inserts a
45776 # line-number line before each line; the second 'sed' does the real
45777 # work. The second script uses 'N' to pair each line-number line
45778 # with the numbered line, and appends trailing '-' during
45779 # substitution so that $LINENO is not a special case at line end.
45780 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
45781 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
45782 sed '=' <$as_myself |
45787 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
45790 s,^['$as_cr_digits']*\n,,
45791 ' >$as_me.lineno
&&
45792 chmod +x
$as_me.lineno
||
45793 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
45794 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
45795 { (exit 1); exit 1; }; }
45797 # Don't try to exec as it changes $[0], causing all sort of problems
45798 # (the dirname of $[0] is not the place where we might find the
45799 # original and so on. Autoconf is especially sensible to this).
45801 # Exit status is that of the last command.
45806 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
45807 *c
*,-n*) ECHO_N
= ECHO_C
='
45809 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
45810 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
45813 if expr a
: '\(a\)' >/dev
/null
2>&1; then
45819 rm -f conf$$ conf$$.exe conf$$.
file
45821 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
45822 # We could just check for DJGPP; but this test a) works b) is more generic
45823 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
45824 if test -f conf$$.exe
; then
45825 # Don't use ln at all; we don't have any links
45830 elif ln conf$$.
file conf$$
2>/dev
/null
; then
45835 rm -f conf$$ conf$$.exe conf$$.
file
45837 if mkdir -p .
2>/dev
/null
; then
45840 test -d .
/-p && rmdir .
/-p
45844 as_executable_p
="test -f"
45846 # Sed expression to map a string onto a valid CPP name.
45847 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
45849 # Sed expression to map a string onto a valid variable name.
45850 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
45854 # We need space, tab and new line, in precisely that order.
45864 # Open the log real soon, to keep \$[0] and so on meaningful, and to
45865 # report actual input values of CONFIG_FILES etc. instead of their
45866 # values after options handling. Logging --version etc. is OK.
45870 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
45871 ## Running $as_me. ##
45876 This file was extended by wxWidgets $as_me 2.6.2, which was
45877 generated by GNU Autoconf 2.59. Invocation command line was
45879 CONFIG_FILES = $CONFIG_FILES
45880 CONFIG_HEADERS = $CONFIG_HEADERS
45881 CONFIG_LINKS = $CONFIG_LINKS
45882 CONFIG_COMMANDS = $CONFIG_COMMANDS
45886 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
45890 # Files that config.status was made for.
45891 if test -n "$ac_config_files"; then
45892 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
45895 if test -n "$ac_config_headers"; then
45896 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
45899 if test -n "$ac_config_links"; then
45900 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
45903 if test -n "$ac_config_commands"; then
45904 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
45907 cat >>$CONFIG_STATUS <<\_ACEOF
45910 \`$as_me' instantiates files from templates according to the
45911 current configuration.
45913 Usage: $0 [OPTIONS] [FILE]...
45915 -h, --help print this help, then exit
45916 -V, --version print version number, then exit
45917 -q, --quiet do not print progress messages
45918 -d, --debug don't remove temporary files
45919 --recheck update $as_me by reconfiguring in the same conditions
45920 --file=FILE[:TEMPLATE]
45921 instantiate the configuration file FILE
45922 --header=FILE[:TEMPLATE]
45923 instantiate the configuration header FILE
45925 Configuration files:
45928 Configuration headers:
45931 Configuration commands:
45934 Report bugs to <bug-autoconf@gnu.org>."
45937 cat >>$CONFIG_STATUS <<_ACEOF
45939 wxWidgets config.status 2.6.2
45940 configured by $0, generated by GNU Autoconf 2.59,
45941 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
45943 Copyright (C) 2003 Free Software Foundation, Inc.
45944 This config.status script is free software; the Free Software Foundation
45945 gives unlimited permission to copy, distribute and modify it."
45950 cat >>$CONFIG_STATUS <<\_ACEOF
45951 # If no file are specified by the user, then we need to provide default
45952 # value. By we need to know if files were specified by the user.
45958 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
45959 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
45967 *) # This is not an option, so the user has probably given explicit
45970 ac_need_defaults
=false
;;
45974 # Handling of the options.
45976 cat >>$CONFIG_STATUS <<\_ACEOF
45977 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
45979 --version | --vers* | -V )
45980 echo "$ac_cs_version"; exit 0 ;;
45982 # Conflict between --help and --header
45983 { { echo "$as_me:$LINENO: error: ambiguous option: $1
45984 Try \`$0 --help' for more information." >&5
45985 echo "$as_me: error: ambiguous option: $1
45986 Try \`$0 --help' for more information." >&2;}
45987 { (exit 1); exit 1; }; };;
45988 --help | --hel | -h )
45989 echo "$ac_cs_usage"; exit 0 ;;
45990 --debug | --d* | -d )
45992 --file | --fil | --fi | --f )
45994 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
45995 ac_need_defaults
=false
;;
45996 --header | --heade | --head | --hea )
45998 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
45999 ac_need_defaults
=false
;;
46000 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
46001 | -silent | --silent | --silen | --sile | --sil | --si | --s)
46004 # This is an error.
46005 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
46006 Try \`$0 --help' for more information." >&5
46007 echo "$as_me: error: unrecognized option: $1
46008 Try \`$0 --help' for more information." >&2;}
46009 { (exit 1); exit 1; }; } ;;
46011 *) ac_config_targets
="$ac_config_targets $1" ;;
46017 ac_configure_extra_args
=
46019 if $ac_cs_silent; then
46021 ac_configure_extra_args
="$ac_configure_extra_args --silent"
46025 cat >>$CONFIG_STATUS <<_ACEOF
46026 if \$ac_cs_recheck; then
46027 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
46028 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
46033 cat >>$CONFIG_STATUS <<_ACEOF
46035 # INIT-COMMANDS section.
46038 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
46039 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
46040 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
46048 cat >>$CONFIG_STATUS <<\_ACEOF
46049 for ac_config_target
in $ac_config_targets
46051 case "$ac_config_target" in
46052 # Handling of arguments.
46053 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
46054 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
46055 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
46056 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
46057 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
46058 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
46059 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
46060 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
46061 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
46062 { (exit 1); exit 1; }; };;
46066 # If the user did not use the arguments to specify the items to instantiate,
46067 # then the envvar interface is used. Set only those that are not.
46068 # We use the long form for the default assignment because of an extremely
46069 # bizarre bug on SunOS 4.1.3.
46070 if $ac_need_defaults; then
46071 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
46072 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
46073 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
46076 # Have a temporary directory for convenience. Make it in the build tree
46077 # simply because there is no reason to put it here, and in addition,
46078 # creating and moving files from /tmp can sometimes cause problems.
46079 # Create a temporary directory, and hook for its removal unless debugging.
46082 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
46083 trap '{ (exit 1); exit 1; }' 1 2 13 15
46086 # Create a (secure) tmp directory for tmp files.
46089 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
46090 test -n "$tmp" && test -d "$tmp"
46093 tmp
=.
/confstat$$
-$RANDOM
46094 (umask 077 && mkdir $tmp)
46097 echo "$me: cannot create a temporary directory in ." >&2
46098 { (exit 1); exit 1; }
46103 cat >>$CONFIG_STATUS <<_ACEOF
46106 # CONFIG_FILES section.
46109 # No need to generate the scripts if there are no CONFIG_FILES.
46110 # This happens for instance when ./config.status config.h
46111 if test -n "\$CONFIG_FILES"; then
46112 # Protect against being on the right side of a sed subst in config.status.
46113 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
46114 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
46115 s,@SHELL@,$SHELL,;t t
46116 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
46117 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
46118 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
46119 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
46120 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
46121 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
46122 s,@exec_prefix@,$exec_prefix,;t t
46123 s,@prefix@,$prefix,;t t
46124 s,@program_transform_name@,$program_transform_name,;t t
46125 s,@bindir@,$bindir,;t t
46126 s,@sbindir@,$sbindir,;t t
46127 s,@libexecdir@,$libexecdir,;t t
46128 s,@datadir@,$datadir,;t t
46129 s,@sysconfdir@,$sysconfdir,;t t
46130 s,@sharedstatedir@,$sharedstatedir,;t t
46131 s,@localstatedir@,$localstatedir,;t t
46132 s,@libdir@,$libdir,;t t
46133 s,@includedir@,$includedir,;t t
46134 s,@oldincludedir@,$oldincludedir,;t t
46135 s,@infodir@,$infodir,;t t
46136 s,@mandir@,$mandir,;t t
46137 s,@build_alias@,$build_alias,;t t
46138 s,@host_alias@,$host_alias,;t t
46139 s,@target_alias@,$target_alias,;t t
46140 s,@DEFS@,$DEFS,;t t
46141 s,@ECHO_C@,$ECHO_C,;t t
46142 s,@ECHO_N@,$ECHO_N,;t t
46143 s,@ECHO_T@,$ECHO_T,;t t
46144 s,@LIBS@,$LIBS,;t t
46145 s,@build@,$build,;t t
46146 s,@build_cpu@,$build_cpu,;t t
46147 s,@build_vendor@,$build_vendor,;t t
46148 s,@build_os@,$build_os,;t t
46149 s,@host@,$host,;t t
46150 s,@host_cpu@,$host_cpu,;t t
46151 s,@host_vendor@,$host_vendor,;t t
46152 s,@host_os@,$host_os,;t t
46153 s,@target@,$target,;t t
46154 s,@target_cpu@,$target_cpu,;t t
46155 s,@target_vendor@,$target_vendor,;t t
46156 s,@target_os@,$target_os,;t t
46158 s,@CFLAGS@,$CFLAGS,;t t
46159 s,@LDFLAGS@,$LDFLAGS,;t t
46160 s,@CPPFLAGS@,$CPPFLAGS,;t t
46161 s,@ac_ct_CC@,$ac_ct_CC,;t t
46162 s,@EXEEXT@,$EXEEXT,;t t
46163 s,@OBJEXT@,$OBJEXT,;t t
46165 s,@EGREP@,$EGREP,;t t
46167 s,@CXXFLAGS@,$CXXFLAGS,;t t
46168 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
46169 s,@RANLIB@,$RANLIB,;t t
46170 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
46172 s,@ac_ct_AR@,$ac_ct_AR,;t t
46173 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
46174 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
46175 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
46176 s,@STRIP@,$STRIP,;t t
46177 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
46178 s,@RESCOMP@,$RESCOMP,;t t
46179 s,@ac_ct_RESCOMP@,$ac_ct_RESCOMP,;t t
46180 s,@DLLTOOL@,$DLLTOOL,;t t
46181 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
46182 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
46183 s,@LN_S@,$LN_S,;t t
46184 s,@CXXCPP@,$CXXCPP,;t t
46185 s,@subdirs@,$subdirs,;t t
46186 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
46187 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
46188 s,@GTK_LIBS@,$GTK_LIBS,;t t
46189 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
46190 s,@X_CFLAGS@,$X_CFLAGS,;t t
46191 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
46192 s,@X_LIBS@,$X_LIBS,;t t
46193 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
46194 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
46195 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
46196 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
46197 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
46198 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
46199 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
46200 s,@DEREZ@,$DEREZ,;t t
46201 s,@SETFILE@,$SETFILE,;t t
46202 s,@LIBICONV@,$LIBICONV,;t t
46203 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
46204 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
46205 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
46206 s,@SDL_LIBS@,$SDL_LIBS,;t t
46207 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
46208 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
46209 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
46210 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
46211 s,@GST_INSPECT@,$GST_INSPECT,;t t
46212 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
46213 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
46214 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
46215 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
46216 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
46217 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
46218 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
46219 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
46220 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
46221 s,@VENDOR@,$VENDOR,;t t
46222 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
46223 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
46224 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
46225 s,@WXUNIV@,$WXUNIV,;t t
46226 s,@MONOLITHIC@,$MONOLITHIC,;t t
46227 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
46228 s,@EXTRALIBS@,$EXTRALIBS,;t t
46229 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
46230 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
46231 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
46232 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
46233 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
46234 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
46235 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
46236 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
46237 s,@UNICODE@,$UNICODE,;t t
46238 s,@BUILD@,$BUILD,;t t
46239 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
46240 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
46241 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
46242 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
46243 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
46244 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
46245 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
46246 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
46247 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
46248 s,@SET_MAKE@,$SET_MAKE,;t t
46249 s,@MAKE_SET@,$MAKE_SET,;t t
46251 s,@ac_ct_NM@,$ac_ct_NM,;t t
46252 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
46253 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
46254 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
46255 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
46256 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
46257 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
46258 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
46259 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
46260 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
46261 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
46262 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
46263 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
46264 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
46265 s,@LIBPREFIX@,$LIBPREFIX,;t t
46266 s,@LIBEXT@,$LIBEXT,;t t
46267 s,@DLLPREFIX@,$DLLPREFIX,;t t
46268 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
46269 s,@dlldir@,$dlldir,;t t
46270 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
46271 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
46272 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
46273 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
46274 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
46275 s,@PIC_FLAG@,$PIC_FLAG,;t t
46276 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
46277 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
46278 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
46279 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
46280 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
46281 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
46282 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
46283 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
46284 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
46285 s,@GCC_PCH@,$GCC_PCH,;t t
46286 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
46287 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
46288 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
46289 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
46290 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
46291 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
46292 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
46293 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
46294 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
46295 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
46296 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
46297 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
46298 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
46299 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
46300 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
46301 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
46302 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
46303 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
46304 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
46305 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
46306 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1,;t t
46307 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
46308 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
46309 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
46310 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
46311 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
46312 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
46313 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1,;t t
46314 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
46315 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
46316 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
46317 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
46318 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
46319 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
46320 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
46321 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
46322 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
46323 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
46324 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
46325 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
46326 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
46327 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
46328 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
46329 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
46330 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
46331 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
46332 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
46333 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
46334 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
46335 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
46336 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
46337 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
46338 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
46339 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
46340 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
46341 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
46342 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
46343 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
46344 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
46345 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
46346 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
46347 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
46348 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
46349 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
46350 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
46351 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
46352 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
46353 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
46354 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
46355 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
46356 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
46357 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
46358 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
46359 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
46360 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
46361 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
46362 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
46363 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
46364 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
46365 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
46366 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
46367 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
46368 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
46369 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
46370 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
46371 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
46372 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
46373 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
46374 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
46375 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
46376 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
46377 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
46378 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
46379 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
46380 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
46381 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
46382 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
46383 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
46384 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
46385 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
46386 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
46387 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
46388 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
46389 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
46390 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
46391 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
46392 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
46393 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
46394 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
46395 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
46396 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
46397 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
46398 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
46399 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
46400 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
46401 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
46402 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
46403 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
46404 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
46405 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
46406 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
46407 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
46408 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
46409 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
46410 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
46411 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
46412 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
46413 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
46414 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
46415 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
46416 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
46417 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
46418 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
46419 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
46420 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
46421 s,@SHARED@,$SHARED,;t t
46422 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
46423 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
46424 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
46425 s,@USE_GUI@,$USE_GUI,;t t
46426 s,@AFMINSTALL@,$AFMINSTALL,;t t
46427 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
46428 s,@TOOLKIT@,$TOOLKIT,;t t
46429 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
46430 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
46431 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
46432 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
46433 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
46434 s,@cross_compiling@,$cross_compiling,;t t
46435 s,@WIDGET_SET@,$WIDGET_SET,;t t
46436 s,@WX_RELEASE@,$WX_RELEASE,;t t
46437 s,@WX_VERSION@,$WX_VERSION,;t t
46438 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
46439 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
46440 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
46441 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
46442 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
46443 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
46444 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
46445 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
46446 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
46447 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
46448 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
46449 s,@EXE_LINKER@,$EXE_LINKER,;t t
46450 s,@GUIDIST@,$GUIDIST,;t t
46451 s,@DISTDIR@,$DISTDIR,;t t
46452 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
46453 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
46454 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
46455 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
46456 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
46457 s,@RESFLAGS@,$RESFLAGS,;t t
46458 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
46459 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
46460 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
46461 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
46462 s,@MACRESCOMP@,$MACRESCOMP,;t t
46463 s,@MACSETFILE@,$MACSETFILE,;t t
46464 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
46466 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
46467 s,@LIBOBJS@,$LIBOBJS,;t t
46468 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
46473 cat >>$CONFIG_STATUS <<\_ACEOF
46474 # Split the substitutions into bite-sized pieces for seds with
46475 # small command number limits, like on Digital OSF/1 and HP-UX.
46476 ac_max_sed_lines
=48
46477 ac_sed_frag
=1 # Number of current file.
46478 ac_beg
=1 # First line for current file.
46479 ac_end
=$ac_max_sed_lines # Line after last line for current file.
46482 while $ac_more_lines; do
46483 if test $ac_beg -gt 1; then
46484 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
46486 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
46488 if test ! -s $tmp/subs.frag
; then
46489 ac_more_lines
=false
46491 # The purpose of the label and of the branching condition is to
46492 # speed up the sed processing (if there are no `@' at all, there
46493 # is no need to browse any of the substitutions).
46494 # These are the two extra sed commands mentioned above.
46496 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
46497 if test -z "$ac_sed_cmds"; then
46498 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
46500 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
46502 ac_sed_frag
=`expr $ac_sed_frag + 1`
46504 ac_end
=`expr $ac_end + $ac_max_sed_lines`
46507 if test -z "$ac_sed_cmds"; then
46510 fi # test -n "$CONFIG_FILES"
46513 cat >>$CONFIG_STATUS <<\_ACEOF
46514 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
46515 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
46517 - | *:- | *:-:* ) # input from stdin
46519 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
46520 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
46521 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
46522 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
46523 * ) ac_file_in
=$ac_file.
in ;;
46526 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
46527 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
46528 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46529 X"$ac_file" : 'X\(//\)[^/]' \| \
46530 X"$ac_file" : 'X\(//\)$' \| \
46531 X"$ac_file" : 'X\(/\)' \| \
46532 . : '\(.\)' 2>/dev/null ||
46534 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46535 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46536 /^X\(\/\/\)$/{ s//\1/; q; }
46537 /^X\(\/\).*/{ s//\1/; q; }
46539 { if $as_mkdir_p; then
46544 while test ! -d "$as_dir"; do
46545 as_dirs
="$as_dir $as_dirs"
46546 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
46547 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46548 X"$as_dir" : 'X\(//\)[^/]' \| \
46549 X"$as_dir" : 'X\(//\)$' \| \
46550 X"$as_dir" : 'X\(/\)' \| \
46551 . : '\(.\)' 2>/dev/null ||
46553 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46554 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46555 /^X\(\/\/\)$/{ s//\1/; q; }
46556 /^X\(\/\).*/{ s//\1/; q; }
46559 test ! -n "$as_dirs" || mkdir $as_dirs
46560 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46561 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46562 { (exit 1); exit 1; }; }; }
46566 if test "$ac_dir" != .
; then
46567 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
46568 # A "../" for each directory in $ac_dir_suffix.
46569 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
46571 ac_dir_suffix
= ac_top_builddir
=
46575 .
) # No --srcdir option. We are building in place.
46577 if test -z "$ac_top_builddir"; then
46580 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
46582 [\\/]* | ?
:[\\/]* ) # Absolute path.
46583 ac_srcdir
=$srcdir$ac_dir_suffix;
46584 ac_top_srcdir
=$srcdir ;;
46585 *) # Relative path.
46586 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
46587 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
46590 # Do not use `cd foo && pwd` to compute absolute paths, because
46591 # the directories may not exist.
46593 .
) ac_abs_builddir
="$ac_dir";;
46596 .
) ac_abs_builddir
=`pwd`;;
46597 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
46598 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
46601 case $ac_abs_builddir in
46602 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
46604 case ${ac_top_builddir}.
in
46605 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
46606 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
46607 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
46610 case $ac_abs_builddir in
46611 .
) ac_abs_srcdir
=$ac_srcdir;;
46614 .
) ac_abs_srcdir
=$ac_abs_builddir;;
46615 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
46616 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
46619 case $ac_abs_builddir in
46620 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
46622 case $ac_top_srcdir in
46623 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
46624 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
46625 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
46631 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
46632 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
46635 # Let's still pretend it is `configure' which instantiates (i.e., don't
46636 # use $as_me), people would be surprised to read:
46637 # /* config.h. Generated by config.status. */
46638 if test x
"$ac_file" = x
-; then
46641 configure_input
="$ac_file. "
46643 configure_input
=$configure_input"Generated from `echo $ac_file_in |
46644 sed 's,.*/,,'` by configure."
46646 # First look for the input files in the build tree, otherwise in the
46648 ac_file_inputs
=`IFS=:
46649 for f in $ac_file_in; do
46651 -) echo $tmp/stdin ;;
46653 # Absolute (can't be DOS-style, as IFS=:)
46654 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46655 echo "$as_me: error: cannot find input file: $f" >&2;}
46656 { (exit 1); exit 1; }; }
46659 if test -f "$f"; then
46662 elif test -f "$srcdir/$f"; then
46667 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46668 echo "$as_me: error: cannot find input file: $f" >&2;}
46669 { (exit 1); exit 1; }; }
46672 done` || { (exit 1); exit 1; }
46674 if test x
"$ac_file" != x
-; then
46675 { echo "$as_me:$LINENO: creating $ac_file" >&5
46676 echo "$as_me: creating $ac_file" >&6;}
46680 cat >>$CONFIG_STATUS <<_ACEOF
46684 cat >>$CONFIG_STATUS <<\_ACEOF
46686 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
46687 s
,@configure_input@
,$configure_input,;t t
46688 s
,@srcdir@
,$ac_srcdir,;t t
46689 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
46690 s
,@top_srcdir@
,$ac_top_srcdir,;t t
46691 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
46692 s
,@builddir@
,$ac_builddir,;t t
46693 s
,@abs_builddir@
,$ac_abs_builddir,;t t
46694 s
,@top_builddir@
,$ac_top_builddir,;t t
46695 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
46696 s
,@INSTALL@
,$ac_INSTALL,;t t
46697 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
46699 if test x"$ac_file" != x-; then
46700 mv $tmp/out $ac_file
46706 # Run the commands associated with the file.
46708 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
46709 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
46713 cat >>$CONFIG_STATUS <<\_ACEOF
46716 # CONFIG_HEADER section.
46719 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
46720 # NAME is the cpp macro being defined and VALUE is the value it is being given.
46722 # ac_d sets the value in "#define NAME VALUE" lines.
46723 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
46724 ac_dB
='[ ].*$,\1#\2'
46727 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
46728 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
46729 ac_uB
='$,\1#\2define\3'
46733 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
46734 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
46736 - | *:- | *:-:* ) # input from stdin
46738 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
46739 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
46740 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
46741 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
46742 * ) ac_file_in
=$ac_file.
in ;;
46745 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
46746 echo "$as_me: creating $ac_file" >&6;}
46748 # First look for the input files in the build tree, otherwise in the
46750 ac_file_inputs
=`IFS=:
46751 for f in $ac_file_in; do
46753 -) echo $tmp/stdin ;;
46755 # Absolute (can't be DOS-style, as IFS=:)
46756 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46757 echo "$as_me: error: cannot find input file: $f" >&2;}
46758 { (exit 1); exit 1; }; }
46759 # Do quote $f, to prevent DOS paths from being IFS'd.
46762 if test -f "$f"; then
46765 elif test -f "$srcdir/$f"; then
46770 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46771 echo "$as_me: error: cannot find input file: $f" >&2;}
46772 { (exit 1); exit 1; }; }
46775 done` || { (exit 1); exit 1; }
46776 # Remove the trailing spaces.
46777 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
46781 # Transform confdefs.h into two sed scripts, `conftest.defines' and
46782 # `conftest.undefs', that substitutes the proper values into
46783 # config.h.in to produce config.h. The first handles `#define'
46784 # templates, and the second `#undef' templates.
46785 # And first: Protect against being on the right side of a sed subst in
46786 # config.status. Protect against being in an unquoted here document
46787 # in config.status.
46788 rm -f conftest.defines conftest.undefs
46789 # Using a here document instead of a string reduces the quoting nightmare.
46790 # Putting comments in sed scripts is not portable.
46792 # `end' is used to avoid that the second main sed command (meant for
46793 # 0-ary CPP macros) applies to n-ary macro definitions.
46794 # See the Autoconf documentation for `clear'.
46795 cat >confdef2sed.
sed <<\_ACEOF
46800 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
46802 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
46805 # If some macros were called several times there might be several times
46806 # the same #defines, which is useless. Nevertheless, we may not want to
46807 # sort them, since we want the *last* AC-DEFINE to be honored.
46808 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
46809 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
46810 rm -f confdef2sed.sed
46812 # This sed command replaces #undef with comments. This is necessary, for
46813 # example, in the case of _POSIX_SOURCE, which is predefined and required
46814 # on some systems where configure will not decide to define it.
46815 cat >>conftest.undefs <<\_ACEOF
46816 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
46819 # Break up conftest.defines because some shells have a limit on the size
46820 # of here documents, and old seds have small limits too (100 cmds).
46821 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
46822 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
46823 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
46824 echo ' :' >>$CONFIG_STATUS
46825 rm -f conftest.tail
46826 while grep . conftest.defines >/dev/null
46828 # Write a limited-size here document to $tmp/defines.sed.
46829 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
46830 # Speed up: don't consider the non `#define' lines.
46831 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
46832 # Work around the forget-to-reset-the-flag bug.
46833 echo 't clr' >>$CONFIG_STATUS
46834 echo ': clr' >>$CONFIG_STATUS
46835 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
46837 sed -f $tmp/defines.sed $tmp/in >$tmp/out
46839 mv $tmp/out $tmp/in
46841 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
46842 rm -f conftest.defines
46843 mv conftest.
tail conftest.defines
46845 rm -f conftest.defines
46846 echo ' fi # grep' >>$CONFIG_STATUS
46847 echo >>$CONFIG_STATUS
46849 # Break up conftest.undefs because some shells have a limit on the size
46850 # of here documents, and old seds have small limits too (100 cmds).
46851 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
46852 rm -f conftest.
tail
46853 while grep . conftest.undefs
>/dev
/null
46855 # Write a limited-size here document to $tmp/undefs.sed.
46856 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
46857 # Speed up: don't consider the non
`#undef'
46858 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
46859 # Work around the forget-to-reset-the-flag bug.
46860 echo 't clr' >>$CONFIG_STATUS
46861 echo ': clr' >>$CONFIG_STATUS
46862 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
46864 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
46866 mv $tmp/out $tmp/in
46868 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
46869 rm -f conftest.undefs
46870 mv conftest.tail conftest.undefs
46872 rm -f conftest.undefs
46874 cat >>$CONFIG_STATUS <<\_ACEOF
46875 # Let's still pretend it is `configure
' which instantiates (i.e., don't
46876 # use $as_me), people would be surprised to read:
46877 # /* config.h. Generated by config.status. */
46878 if test x
"$ac_file" = x
-; then
46879 echo "/* Generated by configure. */" >$tmp/config.h
46881 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
46883 cat $tmp/in >>$tmp/config.h
46885 if test x
"$ac_file" != x
-; then
46886 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
46887 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
46888 echo "$as_me: $ac_file is unchanged" >&6;}
46890 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
46891 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46892 X"$ac_file" : 'X\(//\)[^/]' \| \
46893 X"$ac_file" : 'X\(//\)$' \| \
46894 X"$ac_file" : 'X\(/\)' \| \
46895 . : '\(.\)' 2>/dev/null ||
46897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46898 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46899 /^X\(\/\/\)$/{ s//\1/; q; }
46900 /^X\(\/\).*/{ s//\1/; q; }
46902 { if $as_mkdir_p; then
46907 while test ! -d "$as_dir"; do
46908 as_dirs
="$as_dir $as_dirs"
46909 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
46910 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46911 X"$as_dir" : 'X\(//\)[^/]' \| \
46912 X"$as_dir" : 'X\(//\)$' \| \
46913 X"$as_dir" : 'X\(/\)' \| \
46914 . : '\(.\)' 2>/dev/null ||
46916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46917 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46918 /^X\(\/\/\)$/{ s//\1/; q; }
46919 /^X\(\/\).*/{ s//\1/; q; }
46922 test ! -n "$as_dirs" || mkdir $as_dirs
46923 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46924 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46925 { (exit 1); exit 1; }; }; }
46928 mv $tmp/config.h
$ac_file
46932 rm -f $tmp/config.h
46936 cat >>$CONFIG_STATUS <<\_ACEOF
46939 # CONFIG_COMMANDS section.
46941 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
46942 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
46943 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
46944 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
46945 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46946 X"$ac_dest" : 'X\(//\)[^/]' \| \
46947 X"$ac_dest" : 'X\(//\)$' \| \
46948 X"$ac_dest" : 'X\(/\)' \| \
46949 . : '\(.\)' 2>/dev/null ||
46951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46952 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46953 /^X\(\/\/\)$/{ s//\1/; q; }
46954 /^X\(\/\).*/{ s//\1/; q; }
46956 { if $as_mkdir_p; then
46961 while test ! -d "$as_dir"; do
46962 as_dirs
="$as_dir $as_dirs"
46963 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
46964 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46965 X"$as_dir" : 'X\(//\)[^/]' \| \
46966 X"$as_dir" : 'X\(//\)$' \| \
46967 X"$as_dir" : 'X\(/\)' \| \
46968 . : '\(.\)' 2>/dev/null ||
46970 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46971 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46972 /^X\(\/\/\)$/{ s//\1/; q; }
46973 /^X\(\/\).*/{ s//\1/; q; }
46976 test ! -n "$as_dirs" || mkdir $as_dirs
46977 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46978 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46979 { (exit 1); exit 1; }; }; }
46983 if test "$ac_dir" != .
; then
46984 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
46985 # A "../" for each directory in $ac_dir_suffix.
46986 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
46988 ac_dir_suffix
= ac_top_builddir
=
46992 .
) # No --srcdir option. We are building in place.
46994 if test -z "$ac_top_builddir"; then
46997 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
46999 [\\/]* | ?
:[\\/]* ) # Absolute path.
47000 ac_srcdir
=$srcdir$ac_dir_suffix;
47001 ac_top_srcdir
=$srcdir ;;
47002 *) # Relative path.
47003 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
47004 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
47007 # Do not use `cd foo && pwd` to compute absolute paths, because
47008 # the directories may not exist.
47010 .
) ac_abs_builddir
="$ac_dir";;
47013 .
) ac_abs_builddir
=`pwd`;;
47014 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
47015 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
47018 case $ac_abs_builddir in
47019 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47021 case ${ac_top_builddir}.
in
47022 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
47023 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47024 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
47027 case $ac_abs_builddir in
47028 .
) ac_abs_srcdir
=$ac_srcdir;;
47031 .
) ac_abs_srcdir
=$ac_abs_builddir;;
47032 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
47033 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
47036 case $ac_abs_builddir in
47037 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
47039 case $ac_top_srcdir in
47040 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
47041 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
47042 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
47047 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
47048 echo "$as_me: executing $ac_dest commands" >&6;}
47050 wx
-config ) rm -f wx
-config
47051 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
47057 cat >>$CONFIG_STATUS <<\_ACEOF
47059 { (exit 0); exit 0; }
47061 chmod +x
$CONFIG_STATUS
47062 ac_clean_files
=$ac_clean_files_save
47065 # configure is writing to config.log, and then calls config.status.
47066 # config.status does its own redirection, appending to config.log.
47067 # Unfortunately, on DOS this fails, as config.log is still kept open
47068 # by configure, so config.status won't be able to write to it; its
47069 # output is simply discarded. So we exec the FD to /dev/null,
47070 # effectively closing config.log, so it can be properly (re)opened and
47071 # appended to by config.status. When coming back to configure, we
47072 # need to make the FD available again.
47073 if test "$no_create" != yes; then
47075 ac_config_status_args
=
47076 test "$silent" = yes &&
47077 ac_config_status_args
="$ac_config_status_args --quiet"
47079 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
47081 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
47082 # would make configure fail if this is the last instruction.
47083 $ac_cs_success || { (exit 1); exit 1; }
47087 # CONFIG_SUBDIRS section.
47089 if test "$no_recursion" != yes; then
47091 # Remove --cache-file and --srcdir arguments so they do not pile up.
47092 ac_sub_configure_args
=
47094 for ac_arg
in $ac_configure_args; do
47095 if test -n "$ac_prev"; then
47100 -cache-file | --cache-file | --cache-fil | --cache-fi \
47101 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
47102 ac_prev
=cache_file
;;
47103 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
47104 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
47107 --config-cache | -C)
47109 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
47111 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
47113 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
47115 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
47117 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
47121 # Always prepend --prefix to ensure using the same prefix
47122 # in subdir configurations.
47123 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
47126 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
47128 # Do not complain, so a configure script can configure whichever
47129 # parts of a large source tree are present.
47130 test -d $srcdir/$ac_dir || continue
47132 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
47133 echo "$as_me: configuring in $ac_dir" >&6;}
47134 { if $as_mkdir_p; then
47139 while test ! -d "$as_dir"; do
47140 as_dirs
="$as_dir $as_dirs"
47141 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
47142 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47143 X"$as_dir" : 'X\(//\)[^/]' \| \
47144 X"$as_dir" : 'X\(//\)$' \| \
47145 X"$as_dir" : 'X\(/\)' \| \
47146 . : '\(.\)' 2>/dev/null ||
47148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47149 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47150 /^X\(\/\/\)$/{ s//\1/; q; }
47151 /^X\(\/\).*/{ s//\1/; q; }
47154 test ! -n "$as_dirs" || mkdir $as_dirs
47155 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47156 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47157 { (exit 1); exit 1; }; }; }
47161 if test "$ac_dir" != .
; then
47162 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
47163 # A "../" for each directory in $ac_dir_suffix.
47164 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
47166 ac_dir_suffix
= ac_top_builddir
=
47170 .
) # No --srcdir option. We are building in place.
47172 if test -z "$ac_top_builddir"; then
47175 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
47177 [\\/]* | ?
:[\\/]* ) # Absolute path.
47178 ac_srcdir
=$srcdir$ac_dir_suffix;
47179 ac_top_srcdir
=$srcdir ;;
47180 *) # Relative path.
47181 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
47182 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
47185 # Do not use `cd foo && pwd` to compute absolute paths, because
47186 # the directories may not exist.
47188 .
) ac_abs_builddir
="$ac_dir";;
47191 .
) ac_abs_builddir
=`pwd`;;
47192 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
47193 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
47196 case $ac_abs_builddir in
47197 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47199 case ${ac_top_builddir}.
in
47200 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
47201 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47202 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
47205 case $ac_abs_builddir in
47206 .
) ac_abs_srcdir
=$ac_srcdir;;
47209 .
) ac_abs_srcdir
=$ac_abs_builddir;;
47210 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
47211 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
47214 case $ac_abs_builddir in
47215 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
47217 case $ac_top_srcdir in
47218 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
47219 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
47220 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
47227 # Check for guested configure; otherwise get Cygnus style configure.
47228 if test -f $ac_srcdir/configure.gnu
; then
47229 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
47230 elif test -f $ac_srcdir/configure
; then
47231 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
47232 elif test -f $ac_srcdir/configure.
in; then
47233 ac_sub_configure
=$ac_configure
47235 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
47236 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
47240 # The recursion is here.
47241 if test -n "$ac_sub_configure"; then
47242 # Make the cache file name correct relative to the subdirectory.
47243 case $cache_file in
47244 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
47245 *) # Relative path.
47246 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
47249 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
47250 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
47251 # The eval makes quoting arguments work.
47252 eval $ac_sub_configure $ac_sub_configure_args \
47253 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
47254 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
47255 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
47256 { (exit 1); exit 1; }; }
47265 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
47267 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
47268 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
47270 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
47271 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
47272 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
47274 echo " What level of wxWidgets compatibility should be enabled?"
47275 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
47276 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
47278 echo " Which libraries should wxWidgets use?"
47279 echo " jpeg ${wxUSE_LIBJPEG-none}"
47280 echo " png ${wxUSE_LIBPNG-none}"
47281 echo " regex ${wxUSE_REGEX}"
47282 echo " tiff ${wxUSE_LIBTIFF-none}"
47283 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
47284 echo " xpm ${wxUSE_LIBXPM-none}"
47286 echo " zlib ${wxUSE_ZLIB}"
47287 echo " odbc ${wxUSE_ODBC}"
47288 echo " expat ${wxUSE_EXPAT}"
47289 echo " libmspack ${wxUSE_LIBMSPACK}"
47290 echo " sdl ${wxUSE_LIBSDL}"
47291 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"