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.7.0.
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.7.0'
274 PACKAGE_STRING='wxWidgets 2.7.0'
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 WINDRES ac_ct_WINDRES 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 REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON 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 ICC_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_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 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_MEDIA_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_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_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_MEDIA_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_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_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_0 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_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 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_MSW_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_WINCE_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_PCH_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 USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE 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.7.0 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.7.0:";;
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-universal_binary create Mac PowerPC and Intel Universal binary (not yet working)
893 --enable-compat24 enable wxWidgets 2.4 compatibility
894 --disable-compat26 disable wxWidgets 2.6 compatibility
895 --disable-rpath disable use of rpath for uninstalled builds
896 --enable-intl use internationalization system
897 --enable-config use wxConfig (and derived) classes
898 --enable-protocols use wxProtocol and derived classes
899 --enable-ftp use wxFTP (requires wxProtocol
900 --enable-http use wxHTTP (requires wxProtocol
901 --enable-fileproto use wxFileProto class (requires wxProtocol
902 --enable-sockets use socket/network classes
903 --enable-ole use OLE classes (Win32 only)
904 --enable-dataobj use data object classes
905 --enable-ipc use interprocess communication (wxSocket etc.)
906 --enable-apple_ieee use the Apple IEEE codec
907 --enable-arcstream use wxArchive streams
908 --enable-backtrace use wxStackWalker class for getting backtraces
909 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
910 --enable-cmdline use wxCmdLineParser class
911 --enable-datetime use wxDateTime class
912 --enable-debugreport use wxDebugReport class
913 --enable-dialupman use dialup network classes
914 --enable-dynlib use wxLibrary class for DLL loading
915 --enable-dynamicloader use (new) wxDynamicLibrary class
916 --enable-exceptions build exception-safe library
917 --enable-ffile use wxFFile class
918 --enable-file use wxFile class
919 --enable-filesystem use virtual file systems classes
920 --enable-fontmap use font encodings conversion classes
921 --enable-fs_inet use virtual HTTP/FTP filesystems
922 --enable-fs_zip use virtual ZIP filesystems
923 --enable-geometry use geometry class
924 --enable-log use logging system
925 --enable-longlong use wxLongLong class
926 --enable-mimetype use wxMimeTypesManager
927 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
928 --enable-snglinst use wxSingleInstanceChecker class
929 --enable-std_iostreams use standard C++ stream classes
930 --enable-std_string use standard C++ string classes
931 --enable-stdpaths use wxStandardPaths class
932 --enable-stopwatch use wxStopWatch class
933 --enable-streams use wxStream etc classes
934 --enable-sysoptions use wxSystemOptions
935 --enable-textbuf use wxTextBuffer class
936 --enable-textfile use wxTextFile class
937 --enable-timer use wxTimer class
938 --enable-unicode compile wxString with Unicode support
939 --enable-sound use wxSound class
940 --enable-mediactrl use wxMediaCtrl class
941 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
942 --enable-printfposparam use wxVsnprintf() which supports positional parameters
943 --enable-zipstream use wxZip streams
944 --enable-url use wxURL class
945 --enable-protocol use wxProtocol class
946 --enable-protocol-http HTTP support in wxProtocol
947 --enable-protocol-ftp FTP support in wxProtocol
948 --enable-protocol-file FILE support in wxProtocol
949 --enable-threads use threads
950 --enable-docview use document view architecture
951 --enable-help use help subsystem
952 --enable-mshtmlhelp use MS HTML Help (win32)
953 --enable-html use wxHTML sub-library
954 --enable-htmlhelp use wxHTML-based help
955 --enable-xrc use XRC resources sub-library
956 --enable-aui use AUI docking library
957 --enable-constraints use layout-constraints system
958 --enable-printarch use printing architecture
959 --enable-mdi use multiple document interface architecture
960 --enable-mdidoc use docview architecture with MDI
961 --enable-loggui use standard GUI logger
962 --enable-logwin use wxLogWindow
963 --enable-logdialog use wxLogDialog
964 --enable-webkit use wxWebKitCtrl (Mac)
965 --enable-richtext use wxRichTextCtrl
966 --enable-postscript use wxPostscriptDC device context (default for gtk+)
967 --enable-prologio not available; see contrib
968 --enable-resources not available; see contrib
969 --enable-clipboard use wxClipboard class
970 --enable-dnd use Drag'n'Drop classes
971 --enable-metafile use win32 metafiles
972 --enable-controls use all usual controls
973 --enable-accel use accelerators
974 --enable-button use wxButton class
975 --enable-bmpbutton use wxBitmapButton class
976 --enable-calendar use wxCalendarCtrl class
977 --enable-caret use wxCaret class
978 --enable-checkbox use wxCheckBox class
979 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
980 --enable-choice use wxChoice class
981 --enable-choicebook use wxChoicebook class
982 --enable-colourpicker use wxColourPickerCtrl class
983 --enable-combobox use wxComboBox class
984 --enable-comboctrl use wxComboCtrl class
985 --enable-datepick use wxDatePickerCtrl class
986 --enable-dirpicker use wxDirPickerCtrl class
987 --enable-display use wxDisplay class
988 --enable-filepicker use wxFilePickerCtrl class
989 --enable-fontpicker use wxFontPickerCtrl class
990 --enable-gauge use wxGauge class
991 --enable-grid use wxGrid class
992 --enable-dataviewctrl, use wxDataViewCtrl class
993 --enable-hyperlink use wxHyperlinkCtrl class
994 --enable-imaglist use wxImageList class
995 --enable-listbook use wxListbook class
996 --enable-listbox use wxListBox class
997 --enable-listctrl use wxListCtrl class
998 --enable-notebook use wxNotebook class
999 --enable-odcombobox use wxOwnerDrawnComboBox class
1000 --enable-radiobox use wxRadioBox class
1001 --enable-radiobtn use wxRadioButton class
1002 --enable-sash use wxSashWindow class
1003 --enable-scrollbar use wxScrollBar class and scrollable windows
1004 --enable-slider use wxSlider class
1005 --enable-spinbtn use wxSpinButton class
1006 --enable-spinctrl use wxSpinCtrl class
1007 --enable-splitter use wxSplitterWindow class
1008 --enable-statbmp use wxStaticBitmap class
1009 --enable-statbox use wxStaticBox class
1010 --enable-statline use wxStaticLine class
1011 --enable-stattext use wxStaticText class
1012 --enable-statusbar use wxStatusBar class
1013 --enable-tabdialog use wxTabControl class
1014 --enable-textctrl use wxTextCtrl class
1015 --enable-togglebtn use wxToggleButton class
1016 --enable-toolbar use wxToolBar class
1017 --enable-tbarnative use native wxToolBar class
1018 --enable-tbarsmpl use wxToolBarSimple class
1019 --enable-treebook use wxTreebook class
1020 --enable-toolbook use wxToolbook class
1021 --enable-treectrl use wxTreeCtrl class
1022 --enable-tipwindow use wxTipWindow class
1023 --enable-popupwin use wxPopUpWindow class
1024 --enable-commondlg use all common dialogs
1025 --enable-choicedlg use wxChoiceDialog
1026 --enable-coldlg use wxColourDialog
1027 --enable-filedlg use wxFileDialog
1028 --enable-finddlg use wxFindReplaceDialog
1029 --enable-fontdlg use wxFontDialog
1030 --enable-dirdlg use wxDirDialog
1031 --enable-msgdlg use wxMessageDialog
1032 --enable-numberdlg use wxNumberEntryDialog
1033 --enable-splash use wxSplashScreen
1034 --enable-textdlg use wxTextDialog
1035 --enable-tipdlg use startup tips
1036 --enable-progressdlg use wxProgressDialog
1037 --enable-wizarddlg use wxWizard
1038 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1039 --enable-miniframe use wxMiniFrame class
1040 --enable-tooltips use wxToolTip class
1041 --enable-splines use spline drawing code
1042 --enable-mousewheel use mousewheel
1043 --enable-validators use wxValidator and derived classes
1044 --enable-busyinfo use wxBusyInfo
1045 --enable-joystick use wxJoystick
1046 --enable-metafiles use wxMetaFile (Win32 only)
1047 --enable-dragimage use wxDragImage
1048 --enable-accessibility enable accessibility support
1049 --enable-dccache cache temporary wxDC objects (Win32 only)
1050 --enable-palette use wxPalette class
1051 --enable-image use wxImage class
1052 --enable-gif use gif images (GIF file format)
1053 --enable-pcx use pcx images (PCX file format)
1054 --enable-iff use iff images (IFF file format)
1055 --enable-pnm use pnm images (PNM file format)
1056 --enable-xpm use xpm images (XPM file format)
1057 --enable-icocur use Windows ICO and CUR formats
1058 --enable-official_build official build of wxWidgets (win32 DLL only)
1059 --enable-vendor=VENDOR vendor name (win32 DLL only)
1060 --disable-largefile omit support for large files
1061 --disable-gtktest do not try to compile and run a test GTK+ program
1062 --disable-gtktest Do not try to compile and run a test GTK program
1063 --disable-sdltest Do not try to compile and run a test SDL program
1064 --enable-omf use OMF object format (OS/2)
1065 --disable-dependency-tracking
1066 don't use dependency tracking even if the compiler
1068 --disable-precomp-headers
1069 don't use precompiled headers even if compiler can
1072 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1073 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1074 --without-subdirs don't generate makefiles for samples/demos/...
1075 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1076 --with-motif use Motif/Lesstif
1077 --with-mac use Mac OS X
1078 --with-cocoa use Cocoa
1079 --with-wine use Wine
1080 --with-msw use MS-Windows
1081 --with-pm use OS/2 Presentation Manager
1082 --with-mgl use SciTech MGL
1083 --with-microwin use MicroWindows
1085 --with-libpng use libpng (PNG image format)
1086 --with-libjpeg use libjpeg (JPEG file format)
1087 --with-libtiff use libtiff (TIFF file format)
1088 --with-libxpm use libxpm (XPM file format)
1089 --with-libmspack use libmspack (CHM help files loading)
1090 --with-sdl use SDL for audio on Unix
1091 --with-gnomeprint use GNOME print for printing under GNOME
1092 --with-gnomevfs use GNOME VFS for associating MIME types
1093 --with-hildon use Hildon framework for Nokia 770
1094 --with-opengl use OpenGL (or Mesa)
1095 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1096 --with-regex enable support for wxRegEx class
1097 --with-zlib use zlib for LZW compression
1098 --with-odbc use the IODBC and wxODBC classes
1099 --with-expat enable XML support using expat parser
1100 --with-flavour=NAME specify a name to identify this build
1101 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1102 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1103 --with-x use the X Window System
1104 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1105 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1106 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1107 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1108 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1110 Some influential environment variables:
1111 CC C compiler command
1112 CFLAGS C compiler flags
1113 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1114 nonstandard directory <lib dir>
1115 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1116 headers in a nonstandard directory <include dir>
1118 CXX C++ compiler command
1119 CXXFLAGS C++ compiler flags
1120 CXXCPP C++ preprocessor
1122 Use these variables to override the choices made by `configure' or to help
1123 it to find libraries and programs with nonstandard names/locations.
1125 Report bugs to <wx-dev@lists.wxwidgets.org>.
1129 if test "$ac_init_help" = "recursive"; then
1130 # If there are subdirs, report their specific --help.
1132 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1133 test -d $ac_dir || continue
1136 if test "$ac_dir" != .; then
1137 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1138 # A "../" for each directory in $ac_dir_suffix.
1139 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1141 ac_dir_suffix= ac_top_builddir=
1145 .) # No --srcdir option. We are building in place.
1147 if test -z "$ac_top_builddir"; then
1150 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1152 [\\/]* | ?:[\\/]* ) # Absolute path.
1153 ac_srcdir=$srcdir$ac_dir_suffix;
1154 ac_top_srcdir=$srcdir ;;
1156 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1157 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1160 # Do not use `cd foo && pwd` to compute absolute paths, because
1161 # the directories may not exist.
1163 .) ac_abs_builddir="$ac_dir";;
1166 .) ac_abs_builddir=`pwd`;;
1167 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1168 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1171 case $ac_abs_builddir in
1172 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1174 case ${ac_top_builddir}. in
1175 .) ac_abs_top_builddir=$ac_abs_builddir;;
1176 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1177 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1180 case $ac_abs_builddir in
1181 .) ac_abs_srcdir=$ac_srcdir;;
1184 .) ac_abs_srcdir=$ac_abs_builddir;;
1185 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1186 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1189 case $ac_abs_builddir in
1190 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1192 case $ac_top_srcdir in
1193 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1194 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1195 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1200 # Check for guested configure; otherwise get Cygnus style configure.
1201 if test -f $ac_srcdir/configure.gnu; then
1203 $SHELL $ac_srcdir/configure.gnu --help=recursive
1204 elif test -f $ac_srcdir/configure; then
1206 $SHELL $ac_srcdir/configure --help=recursive
1207 elif test -f $ac_srcdir/configure.ac ||
1208 test -f $ac_srcdir/configure.in; then
1210 $ac_configure --help
1212 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1218 test -n "$ac_init_help" && exit 0
1219 if $ac_init_version; then
1221 wxWidgets configure 2.7.0
1222 generated by GNU Autoconf 2.59
1224 Copyright (C) 2003 Free Software Foundation, Inc.
1225 This configure script is free software; the Free Software Foundation
1226 gives unlimited permission to copy, distribute and modify it.
1232 This file contains any messages produced by compilers while
1233 running configure, to aid debugging if configure makes a mistake.
1235 It was created by wxWidgets $as_me 2.7.0, which was
1236 generated by GNU Autoconf 2.59. Invocation command line was
1247 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1248 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1249 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1250 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1251 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1253 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1254 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1256 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1257 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1258 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1259 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1260 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1261 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1262 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1270 test -z "$as_dir" && as_dir=.
1271 echo "PATH: $as_dir"
1286 # Keep a trace of the command line.
1287 # Strip out --no-create and --no-recursion so they do not pile up.
1288 # Strip out --silent because we don't want to record it for future runs.
1289 # Also quote any args containing shell meta-characters.
1290 # Make two passes to allow for proper duplicate-argument suppression.
1295 ac_must_keep_next=false
1301 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1302 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1303 | -silent | --silent | --silen | --sile | --sil)
1305 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1306 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1309 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1311 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1312 if test $ac_must_keep_next = true; then
1313 ac_must_keep_next=false # Got value, back to normal.
1316 *=* | --config-cache | -C | -disable-* | --disable-* \
1317 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1318 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1319 | -with-* | --with-* | -without-* | --without-* | --x)
1320 case "$ac_configure_args0 " in
1321 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1324 -* ) ac_must_keep_next=true ;;
1327 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1328 # Get rid of the leading space.
1334 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1335 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1337 # When interrupted or exit'd, cleanup temporary files, and complete
1338 # config.log. We remove comments because anyway the quotes in there
1339 # would cause problems or look ugly.
1340 # WARNING: Be sure not to use single quotes in there, as some shells,
1341 # such as our DU 5.0 friend, will then `close' the trap.
1342 trap 'exit_status=$?
1343 # Save into config.log some information that might help in debugging.
1348 ## ---------------- ##
1349 ## Cache variables. ##
1350 ## ---------------- ##
1353 # The following way of writing the cache mishandles newlines in values,
1356 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1359 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1360 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1364 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1371 ## ----------------- ##
1372 ## Output variables. ##
1373 ## ----------------- ##
1376 for ac_var in $ac_subst_vars
1378 eval ac_val=$`echo $ac_var`
1379 echo "$ac_var='"'"'$ac_val'"'"'"
1383 if test -n "$ac_subst_files"; then
1390 for ac_var in $ac_subst_files
1392 eval ac_val=$`echo $ac_var`
1393 echo "$ac_var='"'"'$ac_val'"'"'"
1398 if test -s confdefs.h; then
1405 sed "/^$/d" confdefs.h | sort
1408 test "$ac_signal" != 0 &&
1409 echo "$as_me: caught signal $ac_signal"
1410 echo "$as_me: exit $exit_status"
1412 rm -f core *.core &&
1413 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1416 for ac_signal in 1 2 13 15; do
1417 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1421 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1422 rm -rf conftest* confdefs.h
1423 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1426 # Predefined preprocessor variables.
1428 cat >>confdefs.h <<_ACEOF
1429 #define PACKAGE_NAME "$PACKAGE_NAME"
1433 cat >>confdefs.h <<_ACEOF
1434 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1438 cat >>confdefs.h <<_ACEOF
1439 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1443 cat >>confdefs.h <<_ACEOF
1444 #define PACKAGE_STRING "$PACKAGE_STRING"
1448 cat >>confdefs.h <<_ACEOF
1449 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1453 # Let the site file select an alternate cache file if it wants to.
1454 # Prefer explicitly selected file to automatically selected ones.
1455 if test -z "$CONFIG_SITE"; then
1456 if test "x$prefix" != xNONE; then
1457 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1459 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1462 for ac_site_file in $CONFIG_SITE; do
1463 if test -r "$ac_site_file"; then
1464 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1465 echo "$as_me: loading site script $ac_site_file" >&6;}
1466 sed 's/^/| /' "$ac_site_file" >&5
1471 if test -r "$cache_file"; then
1472 # Some versions of bash will fail to source /dev/null (special
1473 # files actually), so we avoid doing that.
1474 if test -f "$cache_file"; then
1475 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1476 echo "$as_me: loading cache $cache_file" >&6;}
1478 [\\/]* | ?:[\\/]* ) . $cache_file;;
1479 *) . ./$cache_file;;
1483 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1484 echo "$as_me: creating cache $cache_file" >&6;}
1488 # Check that the precious variables saved in the cache have kept the same
1490 ac_cache_corrupted=false
1491 for ac_var in `(set) 2>&1 |
1492 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1493 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1494 eval ac_new_set=\$ac_env_${ac_var}_set
1495 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1496 eval ac_new_val="\$ac_env_${ac_var}_value"
1497 case $ac_old_set,$ac_new_set in
1499 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1500 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1501 ac_cache_corrupted=: ;;
1503 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1504 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1505 ac_cache_corrupted=: ;;
1508 if test "x$ac_old_val" != "x$ac_new_val"; then
1509 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1510 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1511 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1512 echo "$as_me: former value: $ac_old_val" >&2;}
1513 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1514 echo "$as_me: current value: $ac_new_val" >&2;}
1515 ac_cache_corrupted=:
1518 # Pass precious variables to config.status.
1519 if test "$ac_new_set" = set; then
1521 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1522 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1523 *) ac_arg=$ac_var=$ac_new_val ;;
1525 case " $ac_configure_args " in
1526 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1527 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1531 if $ac_cache_corrupted; then
1532 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1533 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1534 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1535 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1536 { (exit 1); exit 1; }; }
1540 ac_cpp='$CPP $CPPFLAGS'
1541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1575 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1576 if test -f $ac_dir/install-sh; then
1578 ac_install_sh="$ac_aux_dir/install-sh -c"
1580 elif test -f $ac_dir/install.sh; then
1582 ac_install_sh="$ac_aux_dir/install.sh -c"
1584 elif test -f $ac_dir/shtool; then
1586 ac_install_sh="$ac_aux_dir/shtool install -c"
1590 if test -z "$ac_aux_dir"; then
1591 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1592 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1593 { (exit 1); exit 1; }; }
1595 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1596 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1597 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1599 # Make sure we can run config.sub.
1600 $ac_config_sub sun4 >/dev/null 2>&1 ||
1601 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1602 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1603 { (exit 1); exit 1; }; }
1605 echo "$as_me:$LINENO: checking build system type" >&5
1606 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1607 if test "${ac_cv_build+set}" = set; then
1608 echo $ECHO_N "(cached) $ECHO_C" >&6
1610 ac_cv_build_alias=$build_alias
1611 test -z "$ac_cv_build_alias" &&
1612 ac_cv_build_alias=`$ac_config_guess`
1613 test -z "$ac_cv_build_alias" &&
1614 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1615 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1616 { (exit 1); exit 1; }; }
1617 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1618 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1619 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1620 { (exit 1); exit 1; }; }
1623 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1624 echo "${ECHO_T}$ac_cv_build" >&6
1626 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1627 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1628 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1631 echo "$as_me:$LINENO: checking host system type" >&5
1632 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1633 if test "${ac_cv_host+set}" = set; then
1634 echo $ECHO_N "(cached) $ECHO_C" >&6
1636 ac_cv_host_alias=$host_alias
1637 test -z "$ac_cv_host_alias" &&
1638 ac_cv_host_alias=$ac_cv_build_alias
1639 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1640 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1641 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1642 { (exit 1); exit 1; }; }
1645 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1646 echo "${ECHO_T}$ac_cv_host" >&6
1648 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1649 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1650 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1653 echo "$as_me:$LINENO: checking target system type" >&5
1654 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1655 if test "${ac_cv_target+set}" = set; then
1656 echo $ECHO_N "(cached) $ECHO_C" >&6
1658 ac_cv_target_alias=$target_alias
1659 test "x$ac_cv_target_alias" = "x" &&
1660 ac_cv_target_alias=$ac_cv_host_alias
1661 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1662 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1663 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1664 { (exit 1); exit 1; }; }
1667 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1668 echo "${ECHO_T}$ac_cv_target" >&6
1669 target=$ac_cv_target
1670 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1671 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1672 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1675 # The aliases save the names the user supplied, while $host etc.
1676 # will get canonicalized.
1677 test -n "$target_alias" &&
1678 test "$program_prefix$program_suffix$program_transform_name" = \
1680 program_prefix=${target_alias}-
1684 wx_major_version_number=2
1685 wx_minor_version_number=7
1687 wx_subrelease_number=0
1689 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1690 WX_VERSION=$WX_RELEASE.$wx_release_number
1691 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1693 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1706 USE_BSD= USE_DARWIN= USE_FREEBSD=
1712 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1718 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1720 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1722 DEFAULT_wxUSE_COCOA=0
1726 DEFAULT_wxUSE_MICROWIN=0
1727 DEFAULT_wxUSE_MOTIF=0
1732 DEFAULT_DEFAULT_wxUSE_COCOA=0
1733 DEFAULT_DEFAULT_wxUSE_GTK=0
1734 DEFAULT_DEFAULT_wxUSE_MAC=0
1735 DEFAULT_DEFAULT_wxUSE_MGL=0
1736 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1737 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1738 DEFAULT_DEFAULT_wxUSE_MSW=0
1739 DEFAULT_DEFAULT_wxUSE_PM=0
1740 DEFAULT_DEFAULT_wxUSE_X11=0
1745 SAMPLES_RPATH_POSTLINK=
1747 DEFAULT_STD_FLAG=yes
1752 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1753 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1755 cat >>confdefs.h <<\_ACEOF
1760 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1764 cat >>confdefs.h <<\_ACEOF
1769 if test "x$TMP" = "xalpha"; then
1771 cat >>confdefs.h <<\_ACEOF
1776 DEFAULT_DEFAULT_wxUSE_GTK=1
1778 *-*-gnu* | *-*-k*bsd*-gnu )
1781 if test "x$TMP" = "xalpha"; then
1783 cat >>confdefs.h <<\_ACEOF
1788 DEFAULT_DEFAULT_wxUSE_GTK=1
1790 *-*-irix5* | *-*-irix6* )
1793 cat >>confdefs.h <<\_ACEOF
1797 cat >>confdefs.h <<\_ACEOF
1801 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1807 cat >>confdefs.h <<\_ACEOF
1811 cat >>confdefs.h <<\_ACEOF
1812 #define __SOLARIS__ 1
1815 cat >>confdefs.h <<\_ACEOF
1819 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1820 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1826 cat >>confdefs.h <<\_ACEOF
1830 cat >>confdefs.h <<\_ACEOF
1834 cat >>confdefs.h <<\_ACEOF
1838 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1843 cat >>confdefs.h <<\_ACEOF
1844 #define __FREEBSD__ 1
1847 cat >>confdefs.h <<\_ACEOF
1851 DEFAULT_DEFAULT_wxUSE_GTK=1
1853 *-*-openbsd*|*-*-mirbsd*)
1856 cat >>confdefs.h <<\_ACEOF
1857 #define __OPENBSD__ 1
1860 cat >>confdefs.h <<\_ACEOF
1864 DEFAULT_DEFAULT_wxUSE_GTK=1
1869 cat >>confdefs.h <<\_ACEOF
1870 #define __NETBSD__ 1
1873 cat >>confdefs.h <<\_ACEOF
1877 DEFAULT_DEFAULT_wxUSE_GTK=1
1878 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1880 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1885 cat >>confdefs.h <<\_ACEOF
1889 cat >>confdefs.h <<\_ACEOF
1893 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1894 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1899 cat >>confdefs.h <<\_ACEOF
1903 cat >>confdefs.h <<\_ACEOF
1907 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1912 cat >>confdefs.h <<\_ACEOF
1916 cat >>confdefs.h <<\_ACEOF
1920 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1927 cat >>confdefs.h <<\_ACEOF
1931 cat >>confdefs.h <<\_ACEOF
1935 cat >>confdefs.h <<\_ACEOF
1939 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1946 cat >>confdefs.h <<\_ACEOF
1947 #define __UNIXWARE__ 1
1952 *-*-cygwin* | *-*-mingw32* )
1955 DEFAULT_DEFAULT_wxUSE_MSW=1
1962 cat >>confdefs.h <<\_ACEOF
1967 DEFAULT_DEFAULT_wxUSE_MGL=1
1970 *-pc-os2_emx | *-pc-os2-emx )
1971 cat >>confdefs.h <<\_ACEOF
1976 cat >>confdefs.h <<\_ACEOF
1981 DEFAULT_DEFAULT_wxUSE_PM=1
1983 LDFLAGS="$LDFLAGS -Zcrtdll"
1984 ac_executable_extensions=".exe"
1985 export ac_executable_extensions
1989 for ac_dir in $PATH; do
1991 if test -z "$ac_TEMP_PATH"; then
1992 ac_TEMP_PATH="$ac_dir"
1994 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1997 export PATH="$ac_TEMP_PATH"
2006 cat >>confdefs.h <<\_ACEOF
2010 cat >>confdefs.h <<\_ACEOF
2011 #define __DARWIN__ 1
2014 cat >>confdefs.h <<\_ACEOF
2015 #define TARGET_CARBON 1
2018 DEFAULT_DEFAULT_wxUSE_MAC=1
2021 powerpc-apple-macos* )
2023 ac_cv_c_bigendian=yes
2025 DEFAULT_DEFAULT_wxUSE_MAC=1
2031 cat >>confdefs.h <<\_ACEOF
2038 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2039 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2040 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2041 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2047 wx_arg_cache_file="configarg.cache"
2048 echo "loading argument cache $wx_arg_cache_file"
2049 rm -f ${wx_arg_cache_file}.tmp
2050 touch ${wx_arg_cache_file}.tmp
2051 touch ${wx_arg_cache_file}
2055 if test $DEBUG_CONFIGURE = 1; then
2056 DEFAULT_wxUSE_UNIVERSAL=no
2057 DEFAULT_wxUSE_STL=no
2059 DEFAULT_wxUSE_NANOX=no
2061 DEFAULT_wxUSE_THREADS=yes
2063 DEFAULT_wxUSE_SHARED=yes
2064 DEFAULT_wxUSE_OPTIMISE=no
2065 DEFAULT_wxUSE_PROFILE=no
2066 DEFAULT_wxUSE_NO_DEPS=no
2067 DEFAULT_wxUSE_NO_RTTI=no
2068 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2069 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2070 DEFAULT_wxUSE_RPATH=yes
2071 DEFAULT_wxUSE_PERMISSIVE=no
2072 DEFAULT_wxUSE_DEBUG_FLAG=yes
2073 DEFAULT_wxUSE_DEBUG_INFO=yes
2074 DEFAULT_wxUSE_DEBUG_GDB=yes
2075 DEFAULT_wxUSE_MEM_TRACING=no
2076 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2077 DEFAULT_wxUSE_DMALLOC=no
2078 DEFAULT_wxUSE_APPLE_IEEE=no
2080 DEFAULT_wxUSE_EXCEPTIONS=no
2081 DEFAULT_wxUSE_LOG=yes
2082 DEFAULT_wxUSE_LOGWINDOW=no
2083 DEFAULT_wxUSE_LOGGUI=no
2084 DEFAULT_wxUSE_LOGDIALOG=no
2086 DEFAULT_wxUSE_GUI=yes
2087 DEFAULT_wxUSE_CONTROLS=no
2089 DEFAULT_wxUSE_REGEX=no
2090 DEFAULT_wxUSE_XML=no
2091 DEFAULT_wxUSE_EXPAT=no
2092 DEFAULT_wxUSE_ZLIB=no
2093 DEFAULT_wxUSE_LIBPNG=no
2094 DEFAULT_wxUSE_LIBJPEG=no
2095 DEFAULT_wxUSE_LIBTIFF=no
2096 DEFAULT_wxUSE_LIBXPM=no
2097 DEFAULT_wxUSE_LIBMSPACK=no
2098 DEFAULT_wxUSE_LIBSDL=no
2099 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2100 DEFAULT_wxUSE_LIBGNOMEVFS=no
2101 DEFAULT_wxUSE_LIBHILDON=no
2102 DEFAULT_wxUSE_ODBC=no
2103 DEFAULT_wxUSE_OPENGL=no
2105 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2106 DEFAULT_wxUSE_STACKWALKER=no
2107 DEFAULT_wxUSE_DEBUGREPORT=no
2108 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2109 DEFAULT_wxUSE_STD_IOSTREAM=no
2110 DEFAULT_wxUSE_STD_STRING=no
2111 DEFAULT_wxUSE_CMDLINE_PARSER=no
2112 DEFAULT_wxUSE_DATETIME=no
2113 DEFAULT_wxUSE_TIMER=no
2114 DEFAULT_wxUSE_STOPWATCH=no
2115 DEFAULT_wxUSE_FILE=no
2116 DEFAULT_wxUSE_FFILE=no
2117 DEFAULT_wxUSE_STDPATHS=no
2118 DEFAULT_wxUSE_TEXTBUFFER=no
2119 DEFAULT_wxUSE_TEXTFILE=no
2120 DEFAULT_wxUSE_SOUND=no
2121 DEFAULT_wxUSE_MEDIACTRL=no
2122 DEFAULT_wxUSE_GSTREAMER8=no
2123 DEFAULT_wxUSE_PRINTF_POS_PARAM=no
2124 DEFAULT_wxUSE_INTL=no
2125 DEFAULT_wxUSE_CONFIG=no
2126 DEFAULT_wxUSE_FONTMAP=no
2127 DEFAULT_wxUSE_STREAMS=no
2128 DEFAULT_wxUSE_SOCKETS=no
2129 DEFAULT_wxUSE_OLE=no
2130 DEFAULT_wxUSE_DATAOBJ=no
2131 DEFAULT_wxUSE_DIALUP_MANAGER=no
2132 DEFAULT_wxUSE_JOYSTICK=no
2133 DEFAULT_wxUSE_DYNLIB_CLASS=no
2134 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2135 DEFAULT_wxUSE_LONGLONG=no
2136 DEFAULT_wxUSE_GEOMETRY=no
2138 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2139 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2140 DEFAULT_wxUSE_POSTSCRIPT=no
2142 DEFAULT_wxUSE_CLIPBOARD=no
2143 DEFAULT_wxUSE_TOOLTIPS=no
2144 DEFAULT_wxUSE_DRAG_AND_DROP=no
2145 DEFAULT_wxUSE_DRAGIMAGE=no
2146 DEFAULT_wxUSE_SPLINES=no
2147 DEFAULT_wxUSE_MOUSEWHEEL=no
2149 DEFAULT_wxUSE_MDI=no
2150 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2151 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2152 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2154 DEFAULT_wxUSE_RESOURCES=no
2155 DEFAULT_wxUSE_CONSTRAINTS=no
2156 DEFAULT_wxUSE_IPC=no
2157 DEFAULT_wxUSE_HELP=no
2158 DEFAULT_wxUSE_MS_HTML_HELP=no
2159 DEFAULT_wxUSE_WXHTML_HELP=no
2160 DEFAULT_wxUSE_TREELAYOUT=no
2161 DEFAULT_wxUSE_METAFILE=no
2162 DEFAULT_wxUSE_MIMETYPE=no
2163 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2164 DEFAULT_wxUSE_PROTOCOL=no
2165 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2166 DEFAULT_wxUSE_PROTOCOL_FTP=no
2167 DEFAULT_wxUSE_PROTOCOL_FILE=no
2168 DEFAULT_wxUSE_URL=no
2170 DEFAULT_wxUSE_COMMONDLGS=no
2171 DEFAULT_wxUSE_CHOICEDLG=no
2172 DEFAULT_wxUSE_COLOURDLG=no
2173 DEFAULT_wxUSE_DIRDLG=no
2174 DEFAULT_wxUSE_FILEDLG=no
2175 DEFAULT_wxUSE_FINDREPLDLG=no
2176 DEFAULT_wxUSE_FONTDLG=no
2177 DEFAULT_wxUSE_MSGDLG=no
2178 DEFAULT_wxUSE_NUMBERDLG=no
2179 DEFAULT_wxUSE_TEXTDLG=no
2180 DEFAULT_wxUSE_SPLASH=no
2181 DEFAULT_wxUSE_STARTUP_TIPS=no
2182 DEFAULT_wxUSE_PROGRESSDLG=no
2183 DEFAULT_wxUSE_WIZARDDLG=no
2185 DEFAULT_wxUSE_MENUS=no
2186 DEFAULT_wxUSE_MINIFRAME=no
2187 DEFAULT_wxUSE_HTML=no
2188 DEFAULT_wxUSE_RICHTEXT=no
2189 DEFAULT_wxUSE_XRC=no
2190 DEFAULT_wxUSE_AUI=no
2191 DEFAULT_wxUSE_WEBKIT=no
2192 DEFAULT_wxUSE_FILESYSTEM=no
2193 DEFAULT_wxUSE_FS_INET=no
2194 DEFAULT_wxUSE_FS_ZIP=no
2195 DEFAULT_wxUSE_BUSYINFO=no
2196 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2197 DEFAULT_wxUSE_ZIPSTREAM=no
2198 DEFAULT_wxUSE_VALIDATORS=no
2200 DEFAULT_wxUSE_ACCEL=no
2201 DEFAULT_wxUSE_BUTTON=no
2202 DEFAULT_wxUSE_BMPBUTTON=no
2203 DEFAULT_wxUSE_CALCTRL=no
2204 DEFAULT_wxUSE_CARET=no
2205 DEFAULT_wxUSE_CHECKBOX=no
2206 DEFAULT_wxUSE_CHECKLST=no
2207 DEFAULT_wxUSE_CHOICE=no
2208 DEFAULT_wxUSE_CHOICEBOOK=no
2209 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2210 DEFAULT_wxUSE_COMBOBOX=no
2211 DEFAULT_wxUSE_COMBOCTRL=no
2212 DEFAULT_wxUSE_DATEPICKCTRL=no
2213 DEFAULT_wxUSE_DISPLAY=no
2214 DEFAULT_wxUSE_DIRPICKERCTRL=no
2215 DEFAULT_wxUSE_FILEPICKERCTRL=no
2216 DEFAULT_wxUSE_FONTPICKERCTRL=no
2217 DEFAULT_wxUSE_GAUGE=no
2218 DEFAULT_wxUSE_GRID=no
2219 DEFAULT_wxUSE_HYPERLINKCTRL=no
2220 DEFAULT_wxUSE_DATAVIEWCTRL=no
2221 DEFAULT_wxUSE_IMAGLIST=no
2222 DEFAULT_wxUSE_LISTBOOK=no
2223 DEFAULT_wxUSE_LISTBOX=no
2224 DEFAULT_wxUSE_LISTCTRL=no
2225 DEFAULT_wxUSE_NOTEBOOK=no
2226 DEFAULT_wxUSE_ODCOMBOBOX=no
2227 DEFAULT_wxUSE_RADIOBOX=no
2228 DEFAULT_wxUSE_RADIOBTN=no
2229 DEFAULT_wxUSE_SASH=no
2230 DEFAULT_wxUSE_SCROLLBAR=no
2231 DEFAULT_wxUSE_SLIDER=no
2232 DEFAULT_wxUSE_SPINBTN=no
2233 DEFAULT_wxUSE_SPINCTRL=no
2234 DEFAULT_wxUSE_SPLITTER=no
2235 DEFAULT_wxUSE_STATBMP=no
2236 DEFAULT_wxUSE_STATBOX=no
2237 DEFAULT_wxUSE_STATLINE=no
2238 DEFAULT_wxUSE_STATTEXT=no
2239 DEFAULT_wxUSE_STATUSBAR=yes
2240 DEFAULT_wxUSE_TAB_DIALOG=no
2241 DEFAULT_wxUSE_TEXTCTRL=no
2242 DEFAULT_wxUSE_TOGGLEBTN=no
2243 DEFAULT_wxUSE_TOOLBAR=no
2244 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2245 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2246 DEFAULT_wxUSE_TREEBOOK=no
2247 DEFAULT_wxUSE_TOOLBOOK=no
2248 DEFAULT_wxUSE_TREECTRL=no
2249 DEFAULT_wxUSE_POPUPWIN=no
2250 DEFAULT_wxUSE_TIPWINDOW=no
2252 DEFAULT_wxUSE_UNICODE=no
2253 DEFAULT_wxUSE_UNICODE_MSLU=no
2254 DEFAULT_wxUSE_WCSRTOMBS=no
2256 DEFAULT_wxUSE_PALETTE=no
2257 DEFAULT_wxUSE_IMAGE=no
2258 DEFAULT_wxUSE_GIF=no
2259 DEFAULT_wxUSE_PCX=no
2260 DEFAULT_wxUSE_PNM=no
2261 DEFAULT_wxUSE_IFF=no
2262 DEFAULT_wxUSE_XPM=no
2263 DEFAULT_wxUSE_ICO_CUR=no
2264 DEFAULT_wxUSE_ACCESSIBILITY=no
2266 DEFAULT_wxUSE_MONOLITHIC=no
2267 DEFAULT_wxUSE_PLUGINS=no
2268 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2270 DEFAULT_wxUSE_UNIVERSAL=no
2271 DEFAULT_wxUSE_STL=no
2273 DEFAULT_wxUSE_NANOX=no
2275 DEFAULT_wxUSE_THREADS=yes
2277 DEFAULT_wxUSE_SHARED=yes
2278 DEFAULT_wxUSE_OPTIMISE=yes
2279 DEFAULT_wxUSE_PROFILE=no
2280 DEFAULT_wxUSE_NO_DEPS=no
2281 DEFAULT_wxUSE_NO_RTTI=no
2282 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2283 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2284 DEFAULT_wxUSE_RPATH=yes
2285 DEFAULT_wxUSE_PERMISSIVE=no
2286 DEFAULT_wxUSE_DEBUG_FLAG=no
2287 DEFAULT_wxUSE_DEBUG_INFO=no
2288 DEFAULT_wxUSE_DEBUG_GDB=no
2289 DEFAULT_wxUSE_MEM_TRACING=no
2290 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2291 DEFAULT_wxUSE_DMALLOC=no
2292 DEFAULT_wxUSE_APPLE_IEEE=yes
2294 DEFAULT_wxUSE_EXCEPTIONS=yes
2295 DEFAULT_wxUSE_LOG=yes
2296 DEFAULT_wxUSE_LOGWINDOW=yes
2297 DEFAULT_wxUSE_LOGGUI=yes
2298 DEFAULT_wxUSE_LOGDIALOG=yes
2300 DEFAULT_wxUSE_GUI=yes
2302 DEFAULT_wxUSE_REGEX=yes
2303 DEFAULT_wxUSE_XML=yes
2304 DEFAULT_wxUSE_EXPAT=yes
2305 DEFAULT_wxUSE_ZLIB=yes
2306 DEFAULT_wxUSE_LIBPNG=yes
2307 DEFAULT_wxUSE_LIBJPEG=yes
2308 DEFAULT_wxUSE_LIBTIFF=yes
2309 DEFAULT_wxUSE_LIBXPM=yes
2310 DEFAULT_wxUSE_LIBMSPACK=yes
2311 DEFAULT_wxUSE_LIBSDL=no
2312 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2313 DEFAULT_wxUSE_LIBGNOMEVFS=no
2314 DEFAULT_wxUSE_LIBHILDON=no
2315 DEFAULT_wxUSE_ODBC=no
2316 DEFAULT_wxUSE_OPENGL=no
2318 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2319 DEFAULT_wxUSE_STACKWALKER=yes
2320 DEFAULT_wxUSE_DEBUGREPORT=yes
2321 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2322 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2323 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2324 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2325 DEFAULT_wxUSE_DATETIME=yes
2326 DEFAULT_wxUSE_TIMER=yes
2327 DEFAULT_wxUSE_STOPWATCH=yes
2328 DEFAULT_wxUSE_FILE=yes
2329 DEFAULT_wxUSE_FFILE=yes
2330 DEFAULT_wxUSE_STDPATHS=yes
2331 DEFAULT_wxUSE_TEXTBUFFER=yes
2332 DEFAULT_wxUSE_TEXTFILE=yes
2333 DEFAULT_wxUSE_SOUND=yes
2334 DEFAULT_wxUSE_MEDIACTRL=no
2335 DEFAULT_wxUSE_GSTREAMER8=no
2336 DEFAULT_wxUSE_PRINTF_POS_PARAM=yes
2337 DEFAULT_wxUSE_INTL=yes
2338 DEFAULT_wxUSE_CONFIG=yes
2339 DEFAULT_wxUSE_FONTMAP=yes
2340 DEFAULT_wxUSE_STREAMS=yes
2341 DEFAULT_wxUSE_SOCKETS=yes
2342 DEFAULT_wxUSE_OLE=yes
2343 DEFAULT_wxUSE_DATAOBJ=yes
2344 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2345 DEFAULT_wxUSE_JOYSTICK=yes
2346 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2347 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2348 DEFAULT_wxUSE_LONGLONG=yes
2349 DEFAULT_wxUSE_GEOMETRY=yes
2351 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2352 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2353 DEFAULT_wxUSE_POSTSCRIPT=yes
2355 DEFAULT_wxUSE_CLIPBOARD=yes
2356 DEFAULT_wxUSE_TOOLTIPS=yes
2357 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2358 DEFAULT_wxUSE_DRAGIMAGE=yes
2359 DEFAULT_wxUSE_SPLINES=yes
2360 DEFAULT_wxUSE_MOUSEWHEEL=yes
2362 DEFAULT_wxUSE_MDI=yes
2363 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2364 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2365 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2367 DEFAULT_wxUSE_RESOURCES=no
2368 DEFAULT_wxUSE_CONSTRAINTS=yes
2369 DEFAULT_wxUSE_IPC=yes
2370 DEFAULT_wxUSE_HELP=yes
2371 DEFAULT_wxUSE_MS_HTML_HELP=yes
2372 DEFAULT_wxUSE_WXHTML_HELP=yes
2373 DEFAULT_wxUSE_TREELAYOUT=yes
2374 DEFAULT_wxUSE_METAFILE=yes
2375 DEFAULT_wxUSE_MIMETYPE=yes
2376 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2377 DEFAULT_wxUSE_PROTOCOL=yes
2378 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2379 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2380 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2381 DEFAULT_wxUSE_URL=yes
2383 DEFAULT_wxUSE_COMMONDLGS=yes
2384 DEFAULT_wxUSE_CHOICEDLG=yes
2385 DEFAULT_wxUSE_COLOURDLG=yes
2386 DEFAULT_wxUSE_DIRDLG=yes
2387 DEFAULT_wxUSE_FILEDLG=yes
2388 DEFAULT_wxUSE_FINDREPLDLG=yes
2389 DEFAULT_wxUSE_FONTDLG=yes
2390 DEFAULT_wxUSE_MSGDLG=yes
2391 DEFAULT_wxUSE_NUMBERDLG=yes
2392 DEFAULT_wxUSE_TEXTDLG=yes
2393 DEFAULT_wxUSE_SPLASH=yes
2394 DEFAULT_wxUSE_STARTUP_TIPS=yes
2395 DEFAULT_wxUSE_PROGRESSDLG=yes
2396 DEFAULT_wxUSE_WIZARDDLG=yes
2398 DEFAULT_wxUSE_MENUS=yes
2399 DEFAULT_wxUSE_MINIFRAME=yes
2400 DEFAULT_wxUSE_HTML=yes
2401 DEFAULT_wxUSE_RICHTEXT=yes
2402 DEFAULT_wxUSE_XRC=yes
2403 DEFAULT_wxUSE_AUI=yes
2404 DEFAULT_wxUSE_WEBKIT=yes
2405 DEFAULT_wxUSE_FILESYSTEM=yes
2406 DEFAULT_wxUSE_FS_INET=yes
2407 DEFAULT_wxUSE_FS_ZIP=yes
2408 DEFAULT_wxUSE_BUSYINFO=yes
2409 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2410 DEFAULT_wxUSE_ZIPSTREAM=yes
2411 DEFAULT_wxUSE_VALIDATORS=yes
2413 DEFAULT_wxUSE_ACCEL=yes
2414 DEFAULT_wxUSE_BUTTON=yes
2415 DEFAULT_wxUSE_BMPBUTTON=yes
2416 DEFAULT_wxUSE_CALCTRL=yes
2417 DEFAULT_wxUSE_CARET=yes
2418 DEFAULT_wxUSE_CHECKBOX=yes
2419 DEFAULT_wxUSE_CHECKLST=yes
2420 DEFAULT_wxUSE_CHOICE=yes
2421 DEFAULT_wxUSE_CHOICEBOOK=yes
2422 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2423 DEFAULT_wxUSE_COMBOBOX=yes
2424 DEFAULT_wxUSE_COMBOCTRL=yes
2425 DEFAULT_wxUSE_DATEPICKCTRL=yes
2426 DEFAULT_wxUSE_DISPLAY=yes
2427 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2428 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2429 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2430 DEFAULT_wxUSE_GAUGE=yes
2431 DEFAULT_wxUSE_GRID=yes
2432 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2433 DEFAULT_wxUSE_DATAVIEWCTRL=no
2434 DEFAULT_wxUSE_IMAGLIST=yes
2435 DEFAULT_wxUSE_LISTBOOK=yes
2436 DEFAULT_wxUSE_LISTBOX=yes
2437 DEFAULT_wxUSE_LISTCTRL=yes
2438 DEFAULT_wxUSE_NOTEBOOK=yes
2439 DEFAULT_wxUSE_ODCOMBOBOX=yes
2440 DEFAULT_wxUSE_RADIOBOX=yes
2441 DEFAULT_wxUSE_RADIOBTN=yes
2442 DEFAULT_wxUSE_SASH=yes
2443 DEFAULT_wxUSE_SCROLLBAR=yes
2444 DEFAULT_wxUSE_SLIDER=yes
2445 DEFAULT_wxUSE_SPINBTN=yes
2446 DEFAULT_wxUSE_SPINCTRL=yes
2447 DEFAULT_wxUSE_SPLITTER=yes
2448 DEFAULT_wxUSE_STATBMP=yes
2449 DEFAULT_wxUSE_STATBOX=yes
2450 DEFAULT_wxUSE_STATLINE=yes
2451 DEFAULT_wxUSE_STATTEXT=yes
2452 DEFAULT_wxUSE_STATUSBAR=yes
2453 DEFAULT_wxUSE_TAB_DIALOG=no
2454 DEFAULT_wxUSE_TEXTCTRL=yes
2455 DEFAULT_wxUSE_TOGGLEBTN=yes
2456 DEFAULT_wxUSE_TOOLBAR=yes
2457 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2458 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2459 DEFAULT_wxUSE_TREEBOOK=yes
2460 DEFAULT_wxUSE_TOOLBOOK=yes
2461 DEFAULT_wxUSE_TREECTRL=yes
2462 DEFAULT_wxUSE_POPUPWIN=yes
2463 DEFAULT_wxUSE_TIPWINDOW=yes
2465 DEFAULT_wxUSE_UNICODE=no
2466 DEFAULT_wxUSE_UNICODE_MSLU=yes
2467 DEFAULT_wxUSE_WCSRTOMBS=no
2469 DEFAULT_wxUSE_PALETTE=yes
2470 DEFAULT_wxUSE_IMAGE=yes
2471 DEFAULT_wxUSE_GIF=yes
2472 DEFAULT_wxUSE_PCX=yes
2473 DEFAULT_wxUSE_IFF=no
2474 DEFAULT_wxUSE_PNM=yes
2475 DEFAULT_wxUSE_XPM=yes
2476 DEFAULT_wxUSE_ICO_CUR=yes
2477 DEFAULT_wxUSE_ACCESSIBILITY=no
2479 DEFAULT_wxUSE_MONOLITHIC=no
2480 DEFAULT_wxUSE_PLUGINS=no
2481 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2483 DEFAULT_wxUSE_GTK2=yes
2489 for toolkit in `echo $ALL_TOOLKITS`; do
2490 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2491 if test "x$LINE" != "x" ; then
2492 has_toolkit_in_cache=1
2493 eval "DEFAULT_$LINE"
2494 eval "CACHE_$toolkit=1"
2496 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2497 if test "x$LINE" != "x" ; then
2498 eval "DEFAULT_$LINE"
2506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2507 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2509 # Check whether --enable-gui or --disable-gui was given.
2510 if test "${enable_gui+set}" = set; then
2511 enableval="$enable_gui"
2513 if test "$enableval" = yes; then
2514 ac_cv_use_gui='wxUSE_GUI=yes'
2516 ac_cv_use_gui='wxUSE_GUI=no'
2521 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2522 if test "x$LINE" != x ; then
2523 eval "DEFAULT_$LINE"
2528 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2532 eval "$ac_cv_use_gui"
2533 if test "$no_cache" != 1; then
2534 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2537 if test "$wxUSE_GUI" = yes; then
2538 echo "$as_me:$LINENO: result: yes" >&5
2539 echo "${ECHO_T}yes" >&6
2541 echo "$as_me:$LINENO: result: no" >&5
2542 echo "${ECHO_T}no" >&6
2547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2548 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2550 # Check whether --enable-monolithic or --disable-monolithic was given.
2551 if test "${enable_monolithic+set}" = set; then
2552 enableval="$enable_monolithic"
2554 if test "$enableval" = yes; then
2555 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2557 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2562 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2563 if test "x$LINE" != x ; then
2564 eval "DEFAULT_$LINE"
2569 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2573 eval "$ac_cv_use_monolithic"
2574 if test "$no_cache" != 1; then
2575 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2578 if test "$wxUSE_MONOLITHIC" = yes; then
2579 echo "$as_me:$LINENO: result: yes" >&5
2580 echo "${ECHO_T}yes" >&6
2582 echo "$as_me:$LINENO: result: no" >&5
2583 echo "${ECHO_T}no" >&6
2588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2589 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2591 # Check whether --enable-plugins or --disable-plugins was given.
2592 if test "${enable_plugins+set}" = set; then
2593 enableval="$enable_plugins"
2595 if test "$enableval" = yes; then
2596 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2598 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2603 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2604 if test "x$LINE" != x ; then
2605 eval "DEFAULT_$LINE"
2610 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2614 eval "$ac_cv_use_plugins"
2615 if test "$no_cache" != 1; then
2616 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2619 if test "$wxUSE_PLUGINS" = yes; then
2620 echo "$as_me:$LINENO: result: yes" >&5
2621 echo "${ECHO_T}yes" >&6
2623 echo "$as_me:$LINENO: result: no" >&5
2624 echo "${ECHO_T}no" >&6
2629 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2630 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2633 # Check whether --with-subdirs or --without-subdirs was given.
2634 if test "${with_subdirs+set}" = set; then
2635 withval="$with_subdirs"
2637 if test "$withval" = yes; then
2638 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2640 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2645 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2646 if test "x$LINE" != x ; then
2647 eval "DEFAULT_$LINE"
2652 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2656 eval "$ac_cv_use_subdirs"
2657 if test "$no_cache" != 1; then
2658 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2661 if test "$wxWITH_SUBDIRS" = yes; then
2662 echo "$as_me:$LINENO: result: yes" >&5
2663 echo "${ECHO_T}yes" >&6
2665 echo "$as_me:$LINENO: result: no" >&5
2666 echo "${ECHO_T}no" >&6
2670 if test "$wxUSE_GUI" = "yes"; then
2674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2675 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2677 # Check whether --enable-universal or --disable-universal was given.
2678 if test "${enable_universal+set}" = set; then
2679 enableval="$enable_universal"
2681 if test "$enableval" = yes; then
2682 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2684 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2689 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2690 if test "x$LINE" != x ; then
2691 eval "DEFAULT_$LINE"
2696 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2700 eval "$ac_cv_use_universal"
2701 if test "$no_cache" != 1; then
2702 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2705 if test "$wxUSE_UNIVERSAL" = yes; then
2706 echo "$as_me:$LINENO: result: yes" >&5
2707 echo "${ECHO_T}yes" >&6
2709 echo "$as_me:$LINENO: result: no" >&5
2710 echo "${ECHO_T}no" >&6
2714 # Check whether --with-gtk or --without-gtk was given.
2715 if test "${with_gtk+set}" = set; then
2717 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2720 # Check whether --with-motif or --without-motif was given.
2721 if test "${with_motif+set}" = set; then
2722 withval="$with_motif"
2723 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2726 # Check whether --with-mac or --without-mac was given.
2727 if test "${with_mac+set}" = set; then
2729 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2732 # Check whether --with-cocoa or --without-cocoa was given.
2733 if test "${with_cocoa+set}" = set; then
2734 withval="$with_cocoa"
2735 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2738 # Check whether --with-wine or --without-wine was given.
2739 if test "${with_wine+set}" = set; then
2740 withval="$with_wine"
2741 wxUSE_WINE="$withval" CACHE_WINE=1
2744 # Check whether --with-msw or --without-msw was given.
2745 if test "${with_msw+set}" = set; then
2747 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2750 # Check whether --with-pm or --without-pm was given.
2751 if test "${with_pm+set}" = set; then
2753 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2756 # Check whether --with-mgl or --without-mgl was given.
2757 if test "${with_mgl+set}" = set; then
2759 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2762 # Check whether --with-microwin or --without-microwin was given.
2763 if test "${with_microwin+set}" = set; then
2764 withval="$with_microwin"
2765 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2768 # Check whether --with-x11 or --without-x11 was given.
2769 if test "${with_x11+set}" = set; then
2771 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2776 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2778 # Check whether --enable-nanox or --disable-nanox was given.
2779 if test "${enable_nanox+set}" = set; then
2780 enableval="$enable_nanox"
2782 if test "$enableval" = yes; then
2783 ac_cv_use_nanox='wxUSE_NANOX=yes'
2785 ac_cv_use_nanox='wxUSE_NANOX=no'
2790 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2791 if test "x$LINE" != x ; then
2792 eval "DEFAULT_$LINE"
2797 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2801 eval "$ac_cv_use_nanox"
2802 if test "$no_cache" != 1; then
2803 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2806 if test "$wxUSE_NANOX" = yes; then
2807 echo "$as_me:$LINENO: result: yes" >&5
2808 echo "${ECHO_T}yes" >&6
2810 echo "$as_me:$LINENO: result: no" >&5
2811 echo "${ECHO_T}no" >&6
2815 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2816 if test "${enable_gtk2+set}" = set; then
2817 enableval="$enable_gtk2"
2818 wxUSE_GTK2="$enableval"
2822 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2823 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2825 # Check whether --enable-gpe or --disable-gpe was given.
2826 if test "${enable_gpe+set}" = set; then
2827 enableval="$enable_gpe"
2829 if test "$enableval" = yes; then
2830 ac_cv_use_gpe='wxUSE_GPE=yes'
2832 ac_cv_use_gpe='wxUSE_GPE=no'
2837 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2838 if test "x$LINE" != x ; then
2839 eval "DEFAULT_$LINE"
2844 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2848 eval "$ac_cv_use_gpe"
2849 if test "$no_cache" != 1; then
2850 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2853 if test "$wxUSE_GPE" = yes; then
2854 echo "$as_me:$LINENO: result: yes" >&5
2855 echo "${ECHO_T}yes" >&6
2857 echo "$as_me:$LINENO: result: no" >&5
2858 echo "${ECHO_T}no" >&6
2863 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2864 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2867 # Check whether --with-libpng or --without-libpng was given.
2868 if test "${with_libpng+set}" = set; then
2869 withval="$with_libpng"
2871 if test "$withval" = yes; then
2872 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2873 elif test "$withval" = no; then
2874 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2875 elif test "$withval" = sys; then
2876 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2877 elif test "$withval" = builtin; then
2878 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2880 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2881 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2882 { (exit 1); exit 1; }; }
2887 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2888 if test "x$LINE" != x ; then
2889 eval "DEFAULT_$LINE"
2894 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2898 eval "$ac_cv_use_libpng"
2899 if test "$no_cache" != 1; then
2900 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2903 if test "$wxUSE_LIBPNG" = yes; then
2904 echo "$as_me:$LINENO: result: yes" >&5
2905 echo "${ECHO_T}yes" >&6
2906 elif test "$wxUSE_LIBPNG" = no; then
2907 echo "$as_me:$LINENO: result: no" >&5
2908 echo "${ECHO_T}no" >&6
2909 elif test "$wxUSE_LIBPNG" = sys; then
2910 echo "$as_me:$LINENO: result: system version" >&5
2911 echo "${ECHO_T}system version" >&6
2912 elif test "$wxUSE_LIBPNG" = builtin; then
2913 echo "$as_me:$LINENO: result: builtin version" >&5
2914 echo "${ECHO_T}builtin version" >&6
2916 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2917 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2918 { (exit 1); exit 1; }; }
2922 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2923 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2926 # Check whether --with-libjpeg or --without-libjpeg was given.
2927 if test "${with_libjpeg+set}" = set; then
2928 withval="$with_libjpeg"
2930 if test "$withval" = yes; then
2931 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2932 elif test "$withval" = no; then
2933 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2934 elif test "$withval" = sys; then
2935 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2936 elif test "$withval" = builtin; then
2937 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2939 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2940 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2941 { (exit 1); exit 1; }; }
2946 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2947 if test "x$LINE" != x ; then
2948 eval "DEFAULT_$LINE"
2953 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2957 eval "$ac_cv_use_libjpeg"
2958 if test "$no_cache" != 1; then
2959 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2962 if test "$wxUSE_LIBJPEG" = yes; then
2963 echo "$as_me:$LINENO: result: yes" >&5
2964 echo "${ECHO_T}yes" >&6
2965 elif test "$wxUSE_LIBJPEG" = no; then
2966 echo "$as_me:$LINENO: result: no" >&5
2967 echo "${ECHO_T}no" >&6
2968 elif test "$wxUSE_LIBJPEG" = sys; then
2969 echo "$as_me:$LINENO: result: system version" >&5
2970 echo "${ECHO_T}system version" >&6
2971 elif test "$wxUSE_LIBJPEG" = builtin; then
2972 echo "$as_me:$LINENO: result: builtin version" >&5
2973 echo "${ECHO_T}builtin version" >&6
2975 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2976 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2977 { (exit 1); exit 1; }; }
2981 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2982 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2985 # Check whether --with-libtiff or --without-libtiff was given.
2986 if test "${with_libtiff+set}" = set; then
2987 withval="$with_libtiff"
2989 if test "$withval" = yes; then
2990 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2991 elif test "$withval" = no; then
2992 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2993 elif test "$withval" = sys; then
2994 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2995 elif test "$withval" = builtin; then
2996 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2998 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2999 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3000 { (exit 1); exit 1; }; }
3005 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3006 if test "x$LINE" != x ; then
3007 eval "DEFAULT_$LINE"
3012 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3016 eval "$ac_cv_use_libtiff"
3017 if test "$no_cache" != 1; then
3018 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3021 if test "$wxUSE_LIBTIFF" = yes; then
3022 echo "$as_me:$LINENO: result: yes" >&5
3023 echo "${ECHO_T}yes" >&6
3024 elif test "$wxUSE_LIBTIFF" = no; then
3025 echo "$as_me:$LINENO: result: no" >&5
3026 echo "${ECHO_T}no" >&6
3027 elif test "$wxUSE_LIBTIFF" = sys; then
3028 echo "$as_me:$LINENO: result: system version" >&5
3029 echo "${ECHO_T}system version" >&6
3030 elif test "$wxUSE_LIBTIFF" = builtin; then
3031 echo "$as_me:$LINENO: result: builtin version" >&5
3032 echo "${ECHO_T}builtin version" >&6
3034 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3035 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3036 { (exit 1); exit 1; }; }
3040 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3041 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3044 # Check whether --with-libxpm or --without-libxpm was given.
3045 if test "${with_libxpm+set}" = set; then
3046 withval="$with_libxpm"
3048 if test "$withval" = yes; then
3049 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3050 elif test "$withval" = no; then
3051 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3052 elif test "$withval" = sys; then
3053 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3054 elif test "$withval" = builtin; then
3055 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3057 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3058 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3059 { (exit 1); exit 1; }; }
3064 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3065 if test "x$LINE" != x ; then
3066 eval "DEFAULT_$LINE"
3071 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3075 eval "$ac_cv_use_libxpm"
3076 if test "$no_cache" != 1; then
3077 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3080 if test "$wxUSE_LIBXPM" = yes; then
3081 echo "$as_me:$LINENO: result: yes" >&5
3082 echo "${ECHO_T}yes" >&6
3083 elif test "$wxUSE_LIBXPM" = no; then
3084 echo "$as_me:$LINENO: result: no" >&5
3085 echo "${ECHO_T}no" >&6
3086 elif test "$wxUSE_LIBXPM" = sys; then
3087 echo "$as_me:$LINENO: result: system version" >&5
3088 echo "${ECHO_T}system version" >&6
3089 elif test "$wxUSE_LIBXPM" = builtin; then
3090 echo "$as_me:$LINENO: result: builtin version" >&5
3091 echo "${ECHO_T}builtin version" >&6
3093 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3094 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3095 { (exit 1); exit 1; }; }
3100 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3101 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3104 # Check whether --with-libmspack or --without-libmspack was given.
3105 if test "${with_libmspack+set}" = set; then
3106 withval="$with_libmspack"
3108 if test "$withval" = yes; then
3109 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3111 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3116 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3117 if test "x$LINE" != x ; then
3118 eval "DEFAULT_$LINE"
3123 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3127 eval "$ac_cv_use_libmspack"
3128 if test "$no_cache" != 1; then
3129 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3132 if test "$wxUSE_LIBMSPACK" = yes; then
3133 echo "$as_me:$LINENO: result: yes" >&5
3134 echo "${ECHO_T}yes" >&6
3136 echo "$as_me:$LINENO: result: no" >&5
3137 echo "${ECHO_T}no" >&6
3142 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3143 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3146 # Check whether --with-sdl or --without-sdl was given.
3147 if test "${with_sdl+set}" = set; then
3150 if test "$withval" = yes; then
3151 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3153 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3158 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3159 if test "x$LINE" != x ; then
3160 eval "DEFAULT_$LINE"
3165 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3169 eval "$ac_cv_use_sdl"
3170 if test "$no_cache" != 1; then
3171 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3174 if test "$wxUSE_LIBSDL" = yes; then
3175 echo "$as_me:$LINENO: result: yes" >&5
3176 echo "${ECHO_T}yes" >&6
3178 echo "$as_me:$LINENO: result: no" >&5
3179 echo "${ECHO_T}no" >&6
3184 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3185 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3188 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3189 if test "${with_gnomeprint+set}" = set; then
3190 withval="$with_gnomeprint"
3192 if test "$withval" = yes; then
3193 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3195 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3200 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3201 if test "x$LINE" != x ; then
3202 eval "DEFAULT_$LINE"
3207 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3211 eval "$ac_cv_use_gnomeprint"
3212 if test "$no_cache" != 1; then
3213 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3216 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3217 echo "$as_me:$LINENO: result: yes" >&5
3218 echo "${ECHO_T}yes" >&6
3220 echo "$as_me:$LINENO: result: no" >&5
3221 echo "${ECHO_T}no" >&6
3226 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3227 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3230 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3231 if test "${with_gnomevfs+set}" = set; then
3232 withval="$with_gnomevfs"
3234 if test "$withval" = yes; then
3235 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3237 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3242 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3243 if test "x$LINE" != x ; then
3244 eval "DEFAULT_$LINE"
3249 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3253 eval "$ac_cv_use_gnomevfs"
3254 if test "$no_cache" != 1; then
3255 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3258 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3259 echo "$as_me:$LINENO: result: yes" >&5
3260 echo "${ECHO_T}yes" >&6
3262 echo "$as_me:$LINENO: result: no" >&5
3263 echo "${ECHO_T}no" >&6
3268 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3269 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3272 # Check whether --with-hildon or --without-hildon was given.
3273 if test "${with_hildon+set}" = set; then
3274 withval="$with_hildon"
3276 if test "$withval" = yes; then
3277 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3279 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3284 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3285 if test "x$LINE" != x ; then
3286 eval "DEFAULT_$LINE"
3291 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3295 eval "$ac_cv_use_hildon"
3296 if test "$no_cache" != 1; then
3297 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3300 if test "$wxUSE_LIBHILDON" = yes; then
3301 echo "$as_me:$LINENO: result: yes" >&5
3302 echo "${ECHO_T}yes" >&6
3304 echo "$as_me:$LINENO: result: no" >&5
3305 echo "${ECHO_T}no" >&6
3310 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3311 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3314 # Check whether --with-opengl or --without-opengl was given.
3315 if test "${with_opengl+set}" = set; then
3316 withval="$with_opengl"
3318 if test "$withval" = yes; then
3319 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3321 ac_cv_use_opengl='wxUSE_OPENGL=no'
3326 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3327 if test "x$LINE" != x ; then
3328 eval "DEFAULT_$LINE"
3333 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3337 eval "$ac_cv_use_opengl"
3338 if test "$no_cache" != 1; then
3339 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3342 if test "$wxUSE_OPENGL" = yes; then
3343 echo "$as_me:$LINENO: result: yes" >&5
3344 echo "${ECHO_T}yes" >&6
3346 echo "$as_me:$LINENO: result: no" >&5
3347 echo "${ECHO_T}no" >&6
3355 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3356 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3359 # Check whether --with-dmalloc or --without-dmalloc was given.
3360 if test "${with_dmalloc+set}" = set; then
3361 withval="$with_dmalloc"
3363 if test "$withval" = yes; then
3364 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3366 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3371 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3372 if test "x$LINE" != x ; then
3373 eval "DEFAULT_$LINE"
3378 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3382 eval "$ac_cv_use_dmalloc"
3383 if test "$no_cache" != 1; then
3384 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3387 if test "$wxUSE_DMALLOC" = yes; then
3388 echo "$as_me:$LINENO: result: yes" >&5
3389 echo "${ECHO_T}yes" >&6
3391 echo "$as_me:$LINENO: result: no" >&5
3392 echo "${ECHO_T}no" >&6
3396 echo "$as_me:$LINENO: checking for --with-regex" >&5
3397 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3400 # Check whether --with-regex or --without-regex was given.
3401 if test "${with_regex+set}" = set; then
3402 withval="$with_regex"
3404 if test "$withval" = yes; then
3405 ac_cv_use_regex='wxUSE_REGEX=yes'
3406 elif test "$withval" = no; then
3407 ac_cv_use_regex='wxUSE_REGEX=no'
3408 elif test "$withval" = sys; then
3409 ac_cv_use_regex='wxUSE_REGEX=sys'
3410 elif test "$withval" = builtin; then
3411 ac_cv_use_regex='wxUSE_REGEX=builtin'
3413 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3414 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3415 { (exit 1); exit 1; }; }
3420 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3421 if test "x$LINE" != x ; then
3422 eval "DEFAULT_$LINE"
3427 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3431 eval "$ac_cv_use_regex"
3432 if test "$no_cache" != 1; then
3433 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3436 if test "$wxUSE_REGEX" = yes; then
3437 echo "$as_me:$LINENO: result: yes" >&5
3438 echo "${ECHO_T}yes" >&6
3439 elif test "$wxUSE_REGEX" = no; then
3440 echo "$as_me:$LINENO: result: no" >&5
3441 echo "${ECHO_T}no" >&6
3442 elif test "$wxUSE_REGEX" = sys; then
3443 echo "$as_me:$LINENO: result: system version" >&5
3444 echo "${ECHO_T}system version" >&6
3445 elif test "$wxUSE_REGEX" = builtin; then
3446 echo "$as_me:$LINENO: result: builtin version" >&5
3447 echo "${ECHO_T}builtin version" >&6
3449 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3450 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3451 { (exit 1); exit 1; }; }
3455 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3456 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3459 # Check whether --with-zlib or --without-zlib was given.
3460 if test "${with_zlib+set}" = set; then
3461 withval="$with_zlib"
3463 if test "$withval" = yes; then
3464 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3465 elif test "$withval" = no; then
3466 ac_cv_use_zlib='wxUSE_ZLIB=no'
3467 elif test "$withval" = sys; then
3468 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3469 elif test "$withval" = builtin; then
3470 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3472 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3473 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3474 { (exit 1); exit 1; }; }
3479 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3480 if test "x$LINE" != x ; then
3481 eval "DEFAULT_$LINE"
3486 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3490 eval "$ac_cv_use_zlib"
3491 if test "$no_cache" != 1; then
3492 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3495 if test "$wxUSE_ZLIB" = yes; then
3496 echo "$as_me:$LINENO: result: yes" >&5
3497 echo "${ECHO_T}yes" >&6
3498 elif test "$wxUSE_ZLIB" = no; then
3499 echo "$as_me:$LINENO: result: no" >&5
3500 echo "${ECHO_T}no" >&6
3501 elif test "$wxUSE_ZLIB" = sys; then
3502 echo "$as_me:$LINENO: result: system version" >&5
3503 echo "${ECHO_T}system version" >&6
3504 elif test "$wxUSE_ZLIB" = builtin; then
3505 echo "$as_me:$LINENO: result: builtin version" >&5
3506 echo "${ECHO_T}builtin version" >&6
3508 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3509 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3510 { (exit 1); exit 1; }; }
3514 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3515 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3518 # Check whether --with-odbc or --without-odbc was given.
3519 if test "${with_odbc+set}" = set; then
3520 withval="$with_odbc"
3522 if test "$withval" = yes; then
3523 ac_cv_use_odbc='wxUSE_ODBC=yes'
3524 elif test "$withval" = no; then
3525 ac_cv_use_odbc='wxUSE_ODBC=no'
3526 elif test "$withval" = sys; then
3527 ac_cv_use_odbc='wxUSE_ODBC=sys'
3528 elif test "$withval" = builtin; then
3529 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3531 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3532 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3533 { (exit 1); exit 1; }; }
3538 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3539 if test "x$LINE" != x ; then
3540 eval "DEFAULT_$LINE"
3545 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3549 eval "$ac_cv_use_odbc"
3550 if test "$no_cache" != 1; then
3551 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3554 if test "$wxUSE_ODBC" = yes; then
3555 echo "$as_me:$LINENO: result: yes" >&5
3556 echo "${ECHO_T}yes" >&6
3557 elif test "$wxUSE_ODBC" = no; then
3558 echo "$as_me:$LINENO: result: no" >&5
3559 echo "${ECHO_T}no" >&6
3560 elif test "$wxUSE_ODBC" = sys; then
3561 echo "$as_me:$LINENO: result: system version" >&5
3562 echo "${ECHO_T}system version" >&6
3563 elif test "$wxUSE_ODBC" = builtin; then
3564 echo "$as_me:$LINENO: result: builtin version" >&5
3565 echo "${ECHO_T}builtin version" >&6
3567 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3568 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3569 { (exit 1); exit 1; }; }
3573 echo "$as_me:$LINENO: checking for --with-expat" >&5
3574 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3577 # Check whether --with-expat or --without-expat was given.
3578 if test "${with_expat+set}" = set; then
3579 withval="$with_expat"
3581 if test "$withval" = yes; then
3582 ac_cv_use_expat='wxUSE_EXPAT=yes'
3583 elif test "$withval" = no; then
3584 ac_cv_use_expat='wxUSE_EXPAT=no'
3585 elif test "$withval" = sys; then
3586 ac_cv_use_expat='wxUSE_EXPAT=sys'
3587 elif test "$withval" = builtin; then
3588 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3590 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3591 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3592 { (exit 1); exit 1; }; }
3597 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3598 if test "x$LINE" != x ; then
3599 eval "DEFAULT_$LINE"
3604 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3608 eval "$ac_cv_use_expat"
3609 if test "$no_cache" != 1; then
3610 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3613 if test "$wxUSE_EXPAT" = yes; then
3614 echo "$as_me:$LINENO: result: yes" >&5
3615 echo "${ECHO_T}yes" >&6
3616 elif test "$wxUSE_EXPAT" = no; then
3617 echo "$as_me:$LINENO: result: no" >&5
3618 echo "${ECHO_T}no" >&6
3619 elif test "$wxUSE_EXPAT" = sys; then
3620 echo "$as_me:$LINENO: result: system version" >&5
3621 echo "${ECHO_T}system version" >&6
3622 elif test "$wxUSE_EXPAT" = builtin; then
3623 echo "$as_me:$LINENO: result: builtin version" >&5
3624 echo "${ECHO_T}builtin version" >&6
3626 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3627 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3628 { (exit 1); exit 1; }; }
3635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3636 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3638 # Check whether --enable-shared or --disable-shared was given.
3639 if test "${enable_shared+set}" = set; then
3640 enableval="$enable_shared"
3642 if test "$enableval" = yes; then
3643 ac_cv_use_shared='wxUSE_SHARED=yes'
3645 ac_cv_use_shared='wxUSE_SHARED=no'
3650 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3651 if test "x$LINE" != x ; then
3652 eval "DEFAULT_$LINE"
3657 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3661 eval "$ac_cv_use_shared"
3662 if test "$no_cache" != 1; then
3663 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3666 if test "$wxUSE_SHARED" = yes; then
3667 echo "$as_me:$LINENO: result: yes" >&5
3668 echo "${ECHO_T}yes" >&6
3670 echo "$as_me:$LINENO: result: no" >&5
3671 echo "${ECHO_T}no" >&6
3676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3677 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3679 # Check whether --enable-optimise or --disable-optimise was given.
3680 if test "${enable_optimise+set}" = set; then
3681 enableval="$enable_optimise"
3683 if test "$enableval" = yes; then
3684 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3686 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3691 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3692 if test "x$LINE" != x ; then
3693 eval "DEFAULT_$LINE"
3698 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3702 eval "$ac_cv_use_optimise"
3703 if test "$no_cache" != 1; then
3704 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3707 if test "$wxUSE_OPTIMISE" = yes; then
3708 echo "$as_me:$LINENO: result: yes" >&5
3709 echo "${ECHO_T}yes" >&6
3711 echo "$as_me:$LINENO: result: no" >&5
3712 echo "${ECHO_T}no" >&6
3717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3718 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3720 # Check whether --enable-debug or --disable-debug was given.
3721 if test "${enable_debug+set}" = set; then
3722 enableval="$enable_debug"
3724 if test "$enableval" = yes; then
3725 ac_cv_use_debug='wxUSE_DEBUG=yes'
3727 ac_cv_use_debug='wxUSE_DEBUG=no'
3732 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3733 if test "x$LINE" != x ; then
3734 eval "DEFAULT_$LINE"
3739 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3743 eval "$ac_cv_use_debug"
3744 if test "$no_cache" != 1; then
3745 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3748 if test "$wxUSE_DEBUG" = yes; then
3749 echo "$as_me:$LINENO: result: yes" >&5
3750 echo "${ECHO_T}yes" >&6
3752 echo "$as_me:$LINENO: result: no" >&5
3753 echo "${ECHO_T}no" >&6
3758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3759 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3761 # Check whether --enable-stl or --disable-stl was given.
3762 if test "${enable_stl+set}" = set; then
3763 enableval="$enable_stl"
3765 if test "$enableval" = yes; then
3766 ac_cv_use_stl='wxUSE_STL=yes'
3768 ac_cv_use_stl='wxUSE_STL=no'
3773 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3774 if test "x$LINE" != x ; then
3775 eval "DEFAULT_$LINE"
3780 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3784 eval "$ac_cv_use_stl"
3785 if test "$no_cache" != 1; then
3786 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3789 if test "$wxUSE_STL" = yes; then
3790 echo "$as_me:$LINENO: result: yes" >&5
3791 echo "${ECHO_T}yes" >&6
3793 echo "$as_me:$LINENO: result: no" >&5
3794 echo "${ECHO_T}no" >&6
3797 if test "$USE_OS2" = "1"; then
3798 DEFAULT_wxUSE_OMF=no
3801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3802 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3804 # Check whether --enable-omf or --disable-omf was given.
3805 if test "${enable_omf+set}" = set; then
3806 enableval="$enable_omf"
3808 if test "$enableval" = yes; then
3809 ac_cv_use_omf='wxUSE_OMF=yes'
3811 ac_cv_use_omf='wxUSE_OMF=no'
3816 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3817 if test "x$LINE" != x ; then
3818 eval "DEFAULT_$LINE"
3823 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3827 eval "$ac_cv_use_omf"
3828 if test "$no_cache" != 1; then
3829 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3832 if test "$wxUSE_OMF" = yes; then
3833 echo "$as_me:$LINENO: result: yes" >&5
3834 echo "${ECHO_T}yes" >&6
3836 echo "$as_me:$LINENO: result: no" >&5
3837 echo "${ECHO_T}no" >&6
3842 if test "$wxUSE_DEBUG" = "yes"; then
3843 DEFAULT_wxUSE_DEBUG_FLAG=yes
3844 DEFAULT_wxUSE_DEBUG_INFO=yes
3846 elif test "$wxUSE_DEBUG" = "no"; then
3847 DEFAULT_wxUSE_DEBUG_FLAG=no
3848 DEFAULT_wxUSE_DEBUG_INFO=no
3854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3855 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3857 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3858 if test "${enable_debug_flag+set}" = set; then
3859 enableval="$enable_debug_flag"
3861 if test "$enableval" = yes; then
3862 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3864 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3869 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3870 if test "x$LINE" != x ; then
3871 eval "DEFAULT_$LINE"
3876 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3880 eval "$ac_cv_use_debug_flag"
3881 if test "$no_cache" != 1; then
3882 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3885 if test "$wxUSE_DEBUG_FLAG" = yes; then
3886 echo "$as_me:$LINENO: result: yes" >&5
3887 echo "${ECHO_T}yes" >&6
3889 echo "$as_me:$LINENO: result: no" >&5
3890 echo "${ECHO_T}no" >&6
3895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3896 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3898 # Check whether --enable-debug_info or --disable-debug_info was given.
3899 if test "${enable_debug_info+set}" = set; then
3900 enableval="$enable_debug_info"
3902 if test "$enableval" = yes; then
3903 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3905 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3910 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3911 if test "x$LINE" != x ; then
3912 eval "DEFAULT_$LINE"
3917 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3921 eval "$ac_cv_use_debug_info"
3922 if test "$no_cache" != 1; then
3923 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3926 if test "$wxUSE_DEBUG_INFO" = yes; then
3927 echo "$as_me:$LINENO: result: yes" >&5
3928 echo "${ECHO_T}yes" >&6
3930 echo "$as_me:$LINENO: result: no" >&5
3931 echo "${ECHO_T}no" >&6
3936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3937 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3939 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3940 if test "${enable_debug_gdb+set}" = set; then
3941 enableval="$enable_debug_gdb"
3943 if test "$enableval" = yes; then
3944 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3946 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3951 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3952 if test "x$LINE" != x ; then
3953 eval "DEFAULT_$LINE"
3958 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3962 eval "$ac_cv_use_debug_gdb"
3963 if test "$no_cache" != 1; then
3964 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3967 if test "$wxUSE_DEBUG_GDB" = yes; then
3968 echo "$as_me:$LINENO: result: yes" >&5
3969 echo "${ECHO_T}yes" >&6
3971 echo "$as_me:$LINENO: result: no" >&5
3972 echo "${ECHO_T}no" >&6
3977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3978 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3980 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3981 if test "${enable_debug_cntxt+set}" = set; then
3982 enableval="$enable_debug_cntxt"
3984 if test "$enableval" = yes; then
3985 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3987 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3992 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3993 if test "x$LINE" != x ; then
3994 eval "DEFAULT_$LINE"
3999 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4003 eval "$ac_cv_use_debug_cntxt"
4004 if test "$no_cache" != 1; then
4005 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4008 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4009 echo "$as_me:$LINENO: result: yes" >&5
4010 echo "${ECHO_T}yes" >&6
4012 echo "$as_me:$LINENO: result: no" >&5
4013 echo "${ECHO_T}no" >&6
4018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4019 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4021 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4022 if test "${enable_mem_tracing+set}" = set; then
4023 enableval="$enable_mem_tracing"
4025 if test "$enableval" = yes; then
4026 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4028 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4033 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4034 if test "x$LINE" != x ; then
4035 eval "DEFAULT_$LINE"
4040 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4044 eval "$ac_cv_use_mem_tracing"
4045 if test "$no_cache" != 1; then
4046 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4049 if test "$wxUSE_MEM_TRACING" = yes; then
4050 echo "$as_me:$LINENO: result: yes" >&5
4051 echo "${ECHO_T}yes" >&6
4053 echo "$as_me:$LINENO: result: no" >&5
4054 echo "${ECHO_T}no" >&6
4059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4060 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4062 # Check whether --enable-profile or --disable-profile was given.
4063 if test "${enable_profile+set}" = set; then
4064 enableval="$enable_profile"
4066 if test "$enableval" = yes; then
4067 ac_cv_use_profile='wxUSE_PROFILE=yes'
4069 ac_cv_use_profile='wxUSE_PROFILE=no'
4074 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4075 if test "x$LINE" != x ; then
4076 eval "DEFAULT_$LINE"
4081 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4085 eval "$ac_cv_use_profile"
4086 if test "$no_cache" != 1; then
4087 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4090 if test "$wxUSE_PROFILE" = yes; then
4091 echo "$as_me:$LINENO: result: yes" >&5
4092 echo "${ECHO_T}yes" >&6
4094 echo "$as_me:$LINENO: result: no" >&5
4095 echo "${ECHO_T}no" >&6
4100 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4101 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4103 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4104 if test "${enable_no_rtti+set}" = set; then
4105 enableval="$enable_no_rtti"
4107 if test "$enableval" = yes; then
4108 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4110 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4115 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4116 if test "x$LINE" != x ; then
4117 eval "DEFAULT_$LINE"
4122 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4126 eval "$ac_cv_use_no_rtti"
4127 if test "$no_cache" != 1; then
4128 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4131 if test "$wxUSE_NO_RTTI" = yes; then
4132 echo "$as_me:$LINENO: result: yes" >&5
4133 echo "${ECHO_T}yes" >&6
4135 echo "$as_me:$LINENO: result: no" >&5
4136 echo "${ECHO_T}no" >&6
4141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4142 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4144 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4145 if test "${enable_no_exceptions+set}" = set; then
4146 enableval="$enable_no_exceptions"
4148 if test "$enableval" = yes; then
4149 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4151 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4156 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4157 if test "x$LINE" != x ; then
4158 eval "DEFAULT_$LINE"
4163 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4167 eval "$ac_cv_use_no_exceptions"
4168 if test "$no_cache" != 1; then
4169 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4172 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4173 echo "$as_me:$LINENO: result: yes" >&5
4174 echo "${ECHO_T}yes" >&6
4176 echo "$as_me:$LINENO: result: no" >&5
4177 echo "${ECHO_T}no" >&6
4182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4183 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4185 # Check whether --enable-permissive or --disable-permissive was given.
4186 if test "${enable_permissive+set}" = set; then
4187 enableval="$enable_permissive"
4189 if test "$enableval" = yes; then
4190 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4192 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4197 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4198 if test "x$LINE" != x ; then
4199 eval "DEFAULT_$LINE"
4204 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4208 eval "$ac_cv_use_permissive"
4209 if test "$no_cache" != 1; then
4210 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4213 if test "$wxUSE_PERMISSIVE" = yes; then
4214 echo "$as_me:$LINENO: result: yes" >&5
4215 echo "${ECHO_T}yes" >&6
4217 echo "$as_me:$LINENO: result: no" >&5
4218 echo "${ECHO_T}no" >&6
4223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4224 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4226 # Check whether --enable-no_deps or --disable-no_deps was given.
4227 if test "${enable_no_deps+set}" = set; then
4228 enableval="$enable_no_deps"
4230 if test "$enableval" = yes; then
4231 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4233 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4238 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4239 if test "x$LINE" != x ; then
4240 eval "DEFAULT_$LINE"
4245 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4249 eval "$ac_cv_use_no_deps"
4250 if test "$no_cache" != 1; then
4251 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4254 if test "$wxUSE_NO_DEPS" = yes; then
4255 echo "$as_me:$LINENO: result: yes" >&5
4256 echo "${ECHO_T}yes" >&6
4258 echo "$as_me:$LINENO: result: no" >&5
4259 echo "${ECHO_T}no" >&6
4264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4265 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4267 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4268 if test "${enable_universal_binary+set}" = set; then
4269 enableval="$enable_universal_binary"
4271 if test "$enableval" = yes; then
4272 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY=yes'
4274 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY=no'
4279 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4280 if test "x$LINE" != x ; then
4281 eval "DEFAULT_$LINE"
4286 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4290 eval "$ac_cv_use_universal_binary"
4291 if test "$no_cache" != 1; then
4292 echo $ac_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4295 if test "$wxUSE_UNIVERSAL_BINARY" = yes; then
4296 echo "$as_me:$LINENO: result: yes" >&5
4297 echo "${ECHO_T}yes" >&6
4299 echo "$as_me:$LINENO: result: no" >&5
4300 echo "${ECHO_T}no" >&6
4306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4307 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4309 # Check whether --enable-compat24 or --disable-compat24 was given.
4310 if test "${enable_compat24+set}" = set; then
4311 enableval="$enable_compat24"
4313 if test "$enableval" = yes; then
4314 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4316 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4321 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4322 if test "x$LINE" != x ; then
4323 eval "DEFAULT_$LINE"
4328 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4332 eval "$ac_cv_use_compat24"
4333 if test "$no_cache" != 1; then
4334 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4337 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4338 echo "$as_me:$LINENO: result: yes" >&5
4339 echo "${ECHO_T}yes" >&6
4341 echo "$as_me:$LINENO: result: no" >&5
4342 echo "${ECHO_T}no" >&6
4346 enablestring=disable
4347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4348 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4350 # Check whether --enable-compat26 or --disable-compat26 was given.
4351 if test "${enable_compat26+set}" = set; then
4352 enableval="$enable_compat26"
4354 if test "$enableval" = yes; then
4355 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4357 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4362 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4363 if test "x$LINE" != x ; then
4364 eval "DEFAULT_$LINE"
4369 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4373 eval "$ac_cv_use_compat26"
4374 if test "$no_cache" != 1; then
4375 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4378 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4379 echo "$as_me:$LINENO: result: yes" >&5
4380 echo "${ECHO_T}yes" >&6
4382 echo "$as_me:$LINENO: result: no" >&5
4383 echo "${ECHO_T}no" >&6
4389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4390 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4392 # Check whether --enable-rpath or --disable-rpath was given.
4393 if test "${enable_rpath+set}" = set; then
4394 enableval="$enable_rpath"
4396 if test "$enableval" = yes; then
4397 ac_cv_use_rpath='wxUSE_RPATH=yes'
4399 ac_cv_use_rpath='wxUSE_RPATH=no'
4404 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4405 if test "x$LINE" != x ; then
4406 eval "DEFAULT_$LINE"
4411 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4415 eval "$ac_cv_use_rpath"
4416 if test "$no_cache" != 1; then
4417 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4420 if test "$wxUSE_RPATH" = yes; then
4421 echo "$as_me:$LINENO: result: yes" >&5
4422 echo "${ECHO_T}yes" >&6
4424 echo "$as_me:$LINENO: result: no" >&5
4425 echo "${ECHO_T}no" >&6
4433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4434 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4436 # Check whether --enable-intl or --disable-intl was given.
4437 if test "${enable_intl+set}" = set; then
4438 enableval="$enable_intl"
4440 if test "$enableval" = yes; then
4441 ac_cv_use_intl='wxUSE_INTL=yes'
4443 ac_cv_use_intl='wxUSE_INTL=no'
4448 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4449 if test "x$LINE" != x ; then
4450 eval "DEFAULT_$LINE"
4455 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4459 eval "$ac_cv_use_intl"
4460 if test "$no_cache" != 1; then
4461 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4464 if test "$wxUSE_INTL" = yes; then
4465 echo "$as_me:$LINENO: result: yes" >&5
4466 echo "${ECHO_T}yes" >&6
4468 echo "$as_me:$LINENO: result: no" >&5
4469 echo "${ECHO_T}no" >&6
4474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4475 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4477 # Check whether --enable-config or --disable-config was given.
4478 if test "${enable_config+set}" = set; then
4479 enableval="$enable_config"
4481 if test "$enableval" = yes; then
4482 ac_cv_use_config='wxUSE_CONFIG=yes'
4484 ac_cv_use_config='wxUSE_CONFIG=no'
4489 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4490 if test "x$LINE" != x ; then
4491 eval "DEFAULT_$LINE"
4496 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4500 eval "$ac_cv_use_config"
4501 if test "$no_cache" != 1; then
4502 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4505 if test "$wxUSE_CONFIG" = yes; then
4506 echo "$as_me:$LINENO: result: yes" >&5
4507 echo "${ECHO_T}yes" >&6
4509 echo "$as_me:$LINENO: result: no" >&5
4510 echo "${ECHO_T}no" >&6
4516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4517 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4519 # Check whether --enable-protocols or --disable-protocols was given.
4520 if test "${enable_protocols+set}" = set; then
4521 enableval="$enable_protocols"
4523 if test "$enableval" = yes; then
4524 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4526 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4531 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4532 if test "x$LINE" != x ; then
4533 eval "DEFAULT_$LINE"
4538 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4542 eval "$ac_cv_use_protocols"
4543 if test "$no_cache" != 1; then
4544 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4547 if test "$wxUSE_PROTOCOL" = yes; then
4548 echo "$as_me:$LINENO: result: yes" >&5
4549 echo "${ECHO_T}yes" >&6
4551 echo "$as_me:$LINENO: result: no" >&5
4552 echo "${ECHO_T}no" >&6
4557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4558 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4560 # Check whether --enable-ftp or --disable-ftp was given.
4561 if test "${enable_ftp+set}" = set; then
4562 enableval="$enable_ftp"
4564 if test "$enableval" = yes; then
4565 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4567 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4572 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4573 if test "x$LINE" != x ; then
4574 eval "DEFAULT_$LINE"
4579 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4583 eval "$ac_cv_use_ftp"
4584 if test "$no_cache" != 1; then
4585 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4588 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4589 echo "$as_me:$LINENO: result: yes" >&5
4590 echo "${ECHO_T}yes" >&6
4592 echo "$as_me:$LINENO: result: no" >&5
4593 echo "${ECHO_T}no" >&6
4598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4599 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4601 # Check whether --enable-http or --disable-http was given.
4602 if test "${enable_http+set}" = set; then
4603 enableval="$enable_http"
4605 if test "$enableval" = yes; then
4606 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4608 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4613 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4614 if test "x$LINE" != x ; then
4615 eval "DEFAULT_$LINE"
4620 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4624 eval "$ac_cv_use_http"
4625 if test "$no_cache" != 1; then
4626 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4629 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4630 echo "$as_me:$LINENO: result: yes" >&5
4631 echo "${ECHO_T}yes" >&6
4633 echo "$as_me:$LINENO: result: no" >&5
4634 echo "${ECHO_T}no" >&6
4639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4640 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4642 # Check whether --enable-fileproto or --disable-fileproto was given.
4643 if test "${enable_fileproto+set}" = set; then
4644 enableval="$enable_fileproto"
4646 if test "$enableval" = yes; then
4647 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4649 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4654 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4655 if test "x$LINE" != x ; then
4656 eval "DEFAULT_$LINE"
4661 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4665 eval "$ac_cv_use_fileproto"
4666 if test "$no_cache" != 1; then
4667 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4670 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4671 echo "$as_me:$LINENO: result: yes" >&5
4672 echo "${ECHO_T}yes" >&6
4674 echo "$as_me:$LINENO: result: no" >&5
4675 echo "${ECHO_T}no" >&6
4680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4681 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4683 # Check whether --enable-sockets or --disable-sockets was given.
4684 if test "${enable_sockets+set}" = set; then
4685 enableval="$enable_sockets"
4687 if test "$enableval" = yes; then
4688 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4690 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4695 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4696 if test "x$LINE" != x ; then
4697 eval "DEFAULT_$LINE"
4702 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4706 eval "$ac_cv_use_sockets"
4707 if test "$no_cache" != 1; then
4708 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4711 if test "$wxUSE_SOCKETS" = yes; then
4712 echo "$as_me:$LINENO: result: yes" >&5
4713 echo "${ECHO_T}yes" >&6
4715 echo "$as_me:$LINENO: result: no" >&5
4716 echo "${ECHO_T}no" >&6
4721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4722 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4724 # Check whether --enable-ole or --disable-ole was given.
4725 if test "${enable_ole+set}" = set; then
4726 enableval="$enable_ole"
4728 if test "$enableval" = yes; then
4729 ac_cv_use_ole='wxUSE_OLE=yes'
4731 ac_cv_use_ole='wxUSE_OLE=no'
4736 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4737 if test "x$LINE" != x ; then
4738 eval "DEFAULT_$LINE"
4743 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4747 eval "$ac_cv_use_ole"
4748 if test "$no_cache" != 1; then
4749 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4752 if test "$wxUSE_OLE" = yes; then
4753 echo "$as_me:$LINENO: result: yes" >&5
4754 echo "${ECHO_T}yes" >&6
4756 echo "$as_me:$LINENO: result: no" >&5
4757 echo "${ECHO_T}no" >&6
4762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4763 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4765 # Check whether --enable-dataobj or --disable-dataobj was given.
4766 if test "${enable_dataobj+set}" = set; then
4767 enableval="$enable_dataobj"
4769 if test "$enableval" = yes; then
4770 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4772 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4777 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4778 if test "x$LINE" != x ; then
4779 eval "DEFAULT_$LINE"
4784 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4788 eval "$ac_cv_use_dataobj"
4789 if test "$no_cache" != 1; then
4790 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4793 if test "$wxUSE_DATAOBJ" = yes; then
4794 echo "$as_me:$LINENO: result: yes" >&5
4795 echo "${ECHO_T}yes" >&6
4797 echo "$as_me:$LINENO: result: no" >&5
4798 echo "${ECHO_T}no" >&6
4804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4805 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4807 # Check whether --enable-ipc or --disable-ipc was given.
4808 if test "${enable_ipc+set}" = set; then
4809 enableval="$enable_ipc"
4811 if test "$enableval" = yes; then
4812 ac_cv_use_ipc='wxUSE_IPC=yes'
4814 ac_cv_use_ipc='wxUSE_IPC=no'
4819 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4820 if test "x$LINE" != x ; then
4821 eval "DEFAULT_$LINE"
4826 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4830 eval "$ac_cv_use_ipc"
4831 if test "$no_cache" != 1; then
4832 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4835 if test "$wxUSE_IPC" = yes; then
4836 echo "$as_me:$LINENO: result: yes" >&5
4837 echo "${ECHO_T}yes" >&6
4839 echo "$as_me:$LINENO: result: no" >&5
4840 echo "${ECHO_T}no" >&6
4846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4847 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4849 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4850 if test "${enable_apple_ieee+set}" = set; then
4851 enableval="$enable_apple_ieee"
4853 if test "$enableval" = yes; then
4854 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4856 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4861 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4862 if test "x$LINE" != x ; then
4863 eval "DEFAULT_$LINE"
4868 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4872 eval "$ac_cv_use_apple_ieee"
4873 if test "$no_cache" != 1; then
4874 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4877 if test "$wxUSE_APPLE_IEEE" = yes; then
4878 echo "$as_me:$LINENO: result: yes" >&5
4879 echo "${ECHO_T}yes" >&6
4881 echo "$as_me:$LINENO: result: no" >&5
4882 echo "${ECHO_T}no" >&6
4887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4888 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4890 # Check whether --enable-arcstream or --disable-arcstream was given.
4891 if test "${enable_arcstream+set}" = set; then
4892 enableval="$enable_arcstream"
4894 if test "$enableval" = yes; then
4895 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4897 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4902 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4903 if test "x$LINE" != x ; then
4904 eval "DEFAULT_$LINE"
4909 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4913 eval "$ac_cv_use_arcstream"
4914 if test "$no_cache" != 1; then
4915 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4918 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4919 echo "$as_me:$LINENO: result: yes" >&5
4920 echo "${ECHO_T}yes" >&6
4922 echo "$as_me:$LINENO: result: no" >&5
4923 echo "${ECHO_T}no" >&6
4928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4929 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4931 # Check whether --enable-backtrace or --disable-backtrace was given.
4932 if test "${enable_backtrace+set}" = set; then
4933 enableval="$enable_backtrace"
4935 if test "$enableval" = yes; then
4936 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4938 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4943 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4944 if test "x$LINE" != x ; then
4945 eval "DEFAULT_$LINE"
4950 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4954 eval "$ac_cv_use_backtrace"
4955 if test "$no_cache" != 1; then
4956 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4959 if test "$wxUSE_STACKWALKER" = yes; then
4960 echo "$as_me:$LINENO: result: yes" >&5
4961 echo "${ECHO_T}yes" >&6
4963 echo "$as_me:$LINENO: result: no" >&5
4964 echo "${ECHO_T}no" >&6
4969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4970 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4972 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4973 if test "${enable_catch_segvs+set}" = set; then
4974 enableval="$enable_catch_segvs"
4976 if test "$enableval" = yes; then
4977 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4979 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4984 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4985 if test "x$LINE" != x ; then
4986 eval "DEFAULT_$LINE"
4991 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4995 eval "$ac_cv_use_catch_segvs"
4996 if test "$no_cache" != 1; then
4997 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5000 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5001 echo "$as_me:$LINENO: result: yes" >&5
5002 echo "${ECHO_T}yes" >&6
5004 echo "$as_me:$LINENO: result: no" >&5
5005 echo "${ECHO_T}no" >&6
5010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5011 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5013 # Check whether --enable-cmdline or --disable-cmdline was given.
5014 if test "${enable_cmdline+set}" = set; then
5015 enableval="$enable_cmdline"
5017 if test "$enableval" = yes; then
5018 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5020 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5025 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5026 if test "x$LINE" != x ; then
5027 eval "DEFAULT_$LINE"
5032 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5036 eval "$ac_cv_use_cmdline"
5037 if test "$no_cache" != 1; then
5038 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5041 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5042 echo "$as_me:$LINENO: result: yes" >&5
5043 echo "${ECHO_T}yes" >&6
5045 echo "$as_me:$LINENO: result: no" >&5
5046 echo "${ECHO_T}no" >&6
5051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5052 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5054 # Check whether --enable-datetime or --disable-datetime was given.
5055 if test "${enable_datetime+set}" = set; then
5056 enableval="$enable_datetime"
5058 if test "$enableval" = yes; then
5059 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5061 ac_cv_use_datetime='wxUSE_DATETIME=no'
5066 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5067 if test "x$LINE" != x ; then
5068 eval "DEFAULT_$LINE"
5073 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5077 eval "$ac_cv_use_datetime"
5078 if test "$no_cache" != 1; then
5079 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5082 if test "$wxUSE_DATETIME" = yes; then
5083 echo "$as_me:$LINENO: result: yes" >&5
5084 echo "${ECHO_T}yes" >&6
5086 echo "$as_me:$LINENO: result: no" >&5
5087 echo "${ECHO_T}no" >&6
5092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5093 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5095 # Check whether --enable-debugreport or --disable-debugreport was given.
5096 if test "${enable_debugreport+set}" = set; then
5097 enableval="$enable_debugreport"
5099 if test "$enableval" = yes; then
5100 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5102 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5107 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5108 if test "x$LINE" != x ; then
5109 eval "DEFAULT_$LINE"
5114 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5118 eval "$ac_cv_use_debugreport"
5119 if test "$no_cache" != 1; then
5120 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5123 if test "$wxUSE_DEBUGREPORT" = yes; then
5124 echo "$as_me:$LINENO: result: yes" >&5
5125 echo "${ECHO_T}yes" >&6
5127 echo "$as_me:$LINENO: result: no" >&5
5128 echo "${ECHO_T}no" >&6
5133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5134 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5136 # Check whether --enable-dialupman or --disable-dialupman was given.
5137 if test "${enable_dialupman+set}" = set; then
5138 enableval="$enable_dialupman"
5140 if test "$enableval" = yes; then
5141 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5143 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5148 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5149 if test "x$LINE" != x ; then
5150 eval "DEFAULT_$LINE"
5155 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5159 eval "$ac_cv_use_dialupman"
5160 if test "$no_cache" != 1; then
5161 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5164 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5165 echo "$as_me:$LINENO: result: yes" >&5
5166 echo "${ECHO_T}yes" >&6
5168 echo "$as_me:$LINENO: result: no" >&5
5169 echo "${ECHO_T}no" >&6
5174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5175 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5177 # Check whether --enable-dynlib or --disable-dynlib was given.
5178 if test "${enable_dynlib+set}" = set; then
5179 enableval="$enable_dynlib"
5181 if test "$enableval" = yes; then
5182 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5184 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5189 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5190 if test "x$LINE" != x ; then
5191 eval "DEFAULT_$LINE"
5196 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5200 eval "$ac_cv_use_dynlib"
5201 if test "$no_cache" != 1; then
5202 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5205 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5206 echo "$as_me:$LINENO: result: yes" >&5
5207 echo "${ECHO_T}yes" >&6
5209 echo "$as_me:$LINENO: result: no" >&5
5210 echo "${ECHO_T}no" >&6
5215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5216 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5218 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5219 if test "${enable_dynamicloader+set}" = set; then
5220 enableval="$enable_dynamicloader"
5222 if test "$enableval" = yes; then
5223 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5225 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5230 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5231 if test "x$LINE" != x ; then
5232 eval "DEFAULT_$LINE"
5237 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5241 eval "$ac_cv_use_dynamicloader"
5242 if test "$no_cache" != 1; then
5243 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5246 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5247 echo "$as_me:$LINENO: result: yes" >&5
5248 echo "${ECHO_T}yes" >&6
5250 echo "$as_me:$LINENO: result: no" >&5
5251 echo "${ECHO_T}no" >&6
5256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5257 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5259 # Check whether --enable-exceptions or --disable-exceptions was given.
5260 if test "${enable_exceptions+set}" = set; then
5261 enableval="$enable_exceptions"
5263 if test "$enableval" = yes; then
5264 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5266 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5271 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5272 if test "x$LINE" != x ; then
5273 eval "DEFAULT_$LINE"
5278 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5282 eval "$ac_cv_use_exceptions"
5283 if test "$no_cache" != 1; then
5284 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5287 if test "$wxUSE_EXCEPTIONS" = yes; then
5288 echo "$as_me:$LINENO: result: yes" >&5
5289 echo "${ECHO_T}yes" >&6
5291 echo "$as_me:$LINENO: result: no" >&5
5292 echo "${ECHO_T}no" >&6
5297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5298 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5300 # Check whether --enable-ffile or --disable-ffile was given.
5301 if test "${enable_ffile+set}" = set; then
5302 enableval="$enable_ffile"
5304 if test "$enableval" = yes; then
5305 ac_cv_use_ffile='wxUSE_FFILE=yes'
5307 ac_cv_use_ffile='wxUSE_FFILE=no'
5312 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5313 if test "x$LINE" != x ; then
5314 eval "DEFAULT_$LINE"
5319 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5323 eval "$ac_cv_use_ffile"
5324 if test "$no_cache" != 1; then
5325 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5328 if test "$wxUSE_FFILE" = yes; then
5329 echo "$as_me:$LINENO: result: yes" >&5
5330 echo "${ECHO_T}yes" >&6
5332 echo "$as_me:$LINENO: result: no" >&5
5333 echo "${ECHO_T}no" >&6
5338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5339 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5341 # Check whether --enable-file or --disable-file was given.
5342 if test "${enable_file+set}" = set; then
5343 enableval="$enable_file"
5345 if test "$enableval" = yes; then
5346 ac_cv_use_file='wxUSE_FILE=yes'
5348 ac_cv_use_file='wxUSE_FILE=no'
5353 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5354 if test "x$LINE" != x ; then
5355 eval "DEFAULT_$LINE"
5360 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5364 eval "$ac_cv_use_file"
5365 if test "$no_cache" != 1; then
5366 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5369 if test "$wxUSE_FILE" = yes; then
5370 echo "$as_me:$LINENO: result: yes" >&5
5371 echo "${ECHO_T}yes" >&6
5373 echo "$as_me:$LINENO: result: no" >&5
5374 echo "${ECHO_T}no" >&6
5379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5380 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5382 # Check whether --enable-filesystem or --disable-filesystem was given.
5383 if test "${enable_filesystem+set}" = set; then
5384 enableval="$enable_filesystem"
5386 if test "$enableval" = yes; then
5387 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5389 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5394 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5395 if test "x$LINE" != x ; then
5396 eval "DEFAULT_$LINE"
5401 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5405 eval "$ac_cv_use_filesystem"
5406 if test "$no_cache" != 1; then
5407 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5410 if test "$wxUSE_FILESYSTEM" = yes; then
5411 echo "$as_me:$LINENO: result: yes" >&5
5412 echo "${ECHO_T}yes" >&6
5414 echo "$as_me:$LINENO: result: no" >&5
5415 echo "${ECHO_T}no" >&6
5420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5421 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5423 # Check whether --enable-fontmap or --disable-fontmap was given.
5424 if test "${enable_fontmap+set}" = set; then
5425 enableval="$enable_fontmap"
5427 if test "$enableval" = yes; then
5428 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5430 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5435 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5436 if test "x$LINE" != x ; then
5437 eval "DEFAULT_$LINE"
5442 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5446 eval "$ac_cv_use_fontmap"
5447 if test "$no_cache" != 1; then
5448 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5451 if test "$wxUSE_FONTMAP" = yes; then
5452 echo "$as_me:$LINENO: result: yes" >&5
5453 echo "${ECHO_T}yes" >&6
5455 echo "$as_me:$LINENO: result: no" >&5
5456 echo "${ECHO_T}no" >&6
5461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5462 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5464 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5465 if test "${enable_fs_inet+set}" = set; then
5466 enableval="$enable_fs_inet"
5468 if test "$enableval" = yes; then
5469 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5471 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5476 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5477 if test "x$LINE" != x ; then
5478 eval "DEFAULT_$LINE"
5483 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5487 eval "$ac_cv_use_fs_inet"
5488 if test "$no_cache" != 1; then
5489 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5492 if test "$wxUSE_FS_INET" = yes; then
5493 echo "$as_me:$LINENO: result: yes" >&5
5494 echo "${ECHO_T}yes" >&6
5496 echo "$as_me:$LINENO: result: no" >&5
5497 echo "${ECHO_T}no" >&6
5502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5503 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5505 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5506 if test "${enable_fs_zip+set}" = set; then
5507 enableval="$enable_fs_zip"
5509 if test "$enableval" = yes; then
5510 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5512 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5517 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5518 if test "x$LINE" != x ; then
5519 eval "DEFAULT_$LINE"
5524 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5528 eval "$ac_cv_use_fs_zip"
5529 if test "$no_cache" != 1; then
5530 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5533 if test "$wxUSE_FS_ZIP" = yes; then
5534 echo "$as_me:$LINENO: result: yes" >&5
5535 echo "${ECHO_T}yes" >&6
5537 echo "$as_me:$LINENO: result: no" >&5
5538 echo "${ECHO_T}no" >&6
5543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5544 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5546 # Check whether --enable-geometry or --disable-geometry was given.
5547 if test "${enable_geometry+set}" = set; then
5548 enableval="$enable_geometry"
5550 if test "$enableval" = yes; then
5551 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5553 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5558 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5559 if test "x$LINE" != x ; then
5560 eval "DEFAULT_$LINE"
5565 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5569 eval "$ac_cv_use_geometry"
5570 if test "$no_cache" != 1; then
5571 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5574 if test "$wxUSE_GEOMETRY" = yes; then
5575 echo "$as_me:$LINENO: result: yes" >&5
5576 echo "${ECHO_T}yes" >&6
5578 echo "$as_me:$LINENO: result: no" >&5
5579 echo "${ECHO_T}no" >&6
5584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5585 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5587 # Check whether --enable-log or --disable-log was given.
5588 if test "${enable_log+set}" = set; then
5589 enableval="$enable_log"
5591 if test "$enableval" = yes; then
5592 ac_cv_use_log='wxUSE_LOG=yes'
5594 ac_cv_use_log='wxUSE_LOG=no'
5599 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5600 if test "x$LINE" != x ; then
5601 eval "DEFAULT_$LINE"
5606 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5610 eval "$ac_cv_use_log"
5611 if test "$no_cache" != 1; then
5612 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5615 if test "$wxUSE_LOG" = yes; then
5616 echo "$as_me:$LINENO: result: yes" >&5
5617 echo "${ECHO_T}yes" >&6
5619 echo "$as_me:$LINENO: result: no" >&5
5620 echo "${ECHO_T}no" >&6
5625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5626 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5628 # Check whether --enable-longlong or --disable-longlong was given.
5629 if test "${enable_longlong+set}" = set; then
5630 enableval="$enable_longlong"
5632 if test "$enableval" = yes; then
5633 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5635 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5640 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5641 if test "x$LINE" != x ; then
5642 eval "DEFAULT_$LINE"
5647 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5651 eval "$ac_cv_use_longlong"
5652 if test "$no_cache" != 1; then
5653 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5656 if test "$wxUSE_LONGLONG" = yes; then
5657 echo "$as_me:$LINENO: result: yes" >&5
5658 echo "${ECHO_T}yes" >&6
5660 echo "$as_me:$LINENO: result: no" >&5
5661 echo "${ECHO_T}no" >&6
5666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5667 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5669 # Check whether --enable-mimetype or --disable-mimetype was given.
5670 if test "${enable_mimetype+set}" = set; then
5671 enableval="$enable_mimetype"
5673 if test "$enableval" = yes; then
5674 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5676 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5681 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5682 if test "x$LINE" != x ; then
5683 eval "DEFAULT_$LINE"
5688 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5692 eval "$ac_cv_use_mimetype"
5693 if test "$no_cache" != 1; then
5694 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5697 if test "$wxUSE_MIMETYPE" = yes; then
5698 echo "$as_me:$LINENO: result: yes" >&5
5699 echo "${ECHO_T}yes" >&6
5701 echo "$as_me:$LINENO: result: no" >&5
5702 echo "${ECHO_T}no" >&6
5707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5708 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5710 # Check whether --enable-mslu or --disable-mslu was given.
5711 if test "${enable_mslu+set}" = set; then
5712 enableval="$enable_mslu"
5714 if test "$enableval" = yes; then
5715 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5717 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5722 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5723 if test "x$LINE" != x ; then
5724 eval "DEFAULT_$LINE"
5729 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5733 eval "$ac_cv_use_mslu"
5734 if test "$no_cache" != 1; then
5735 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5738 if test "$wxUSE_UNICODE_MSLU" = yes; then
5739 echo "$as_me:$LINENO: result: yes" >&5
5740 echo "${ECHO_T}yes" >&6
5742 echo "$as_me:$LINENO: result: no" >&5
5743 echo "${ECHO_T}no" >&6
5748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5749 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5751 # Check whether --enable-snglinst or --disable-snglinst was given.
5752 if test "${enable_snglinst+set}" = set; then
5753 enableval="$enable_snglinst"
5755 if test "$enableval" = yes; then
5756 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5758 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5763 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5764 if test "x$LINE" != x ; then
5765 eval "DEFAULT_$LINE"
5770 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5774 eval "$ac_cv_use_snglinst"
5775 if test "$no_cache" != 1; then
5776 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5779 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5780 echo "$as_me:$LINENO: result: yes" >&5
5781 echo "${ECHO_T}yes" >&6
5783 echo "$as_me:$LINENO: result: no" >&5
5784 echo "${ECHO_T}no" >&6
5789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5790 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5792 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5793 if test "${enable_std_iostreams+set}" = set; then
5794 enableval="$enable_std_iostreams"
5796 if test "$enableval" = yes; then
5797 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5799 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5804 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5805 if test "x$LINE" != x ; then
5806 eval "DEFAULT_$LINE"
5811 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5815 eval "$ac_cv_use_std_iostreams"
5816 if test "$no_cache" != 1; then
5817 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5820 if test "$wxUSE_STD_IOSTREAM" = yes; then
5821 echo "$as_me:$LINENO: result: yes" >&5
5822 echo "${ECHO_T}yes" >&6
5824 echo "$as_me:$LINENO: result: no" >&5
5825 echo "${ECHO_T}no" >&6
5830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5831 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5833 # Check whether --enable-std_string or --disable-std_string was given.
5834 if test "${enable_std_string+set}" = set; then
5835 enableval="$enable_std_string"
5837 if test "$enableval" = yes; then
5838 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5840 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5845 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5846 if test "x$LINE" != x ; then
5847 eval "DEFAULT_$LINE"
5852 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5856 eval "$ac_cv_use_std_string"
5857 if test "$no_cache" != 1; then
5858 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5861 if test "$wxUSE_STD_STRING" = yes; then
5862 echo "$as_me:$LINENO: result: yes" >&5
5863 echo "${ECHO_T}yes" >&6
5865 echo "$as_me:$LINENO: result: no" >&5
5866 echo "${ECHO_T}no" >&6
5871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5872 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5874 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5875 if test "${enable_stdpaths+set}" = set; then
5876 enableval="$enable_stdpaths"
5878 if test "$enableval" = yes; then
5879 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5881 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5886 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5887 if test "x$LINE" != x ; then
5888 eval "DEFAULT_$LINE"
5893 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5897 eval "$ac_cv_use_stdpaths"
5898 if test "$no_cache" != 1; then
5899 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5902 if test "$wxUSE_STDPATHS" = yes; then
5903 echo "$as_me:$LINENO: result: yes" >&5
5904 echo "${ECHO_T}yes" >&6
5906 echo "$as_me:$LINENO: result: no" >&5
5907 echo "${ECHO_T}no" >&6
5912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5913 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5915 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5916 if test "${enable_stopwatch+set}" = set; then
5917 enableval="$enable_stopwatch"
5919 if test "$enableval" = yes; then
5920 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5922 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5927 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5928 if test "x$LINE" != x ; then
5929 eval "DEFAULT_$LINE"
5934 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5938 eval "$ac_cv_use_stopwatch"
5939 if test "$no_cache" != 1; then
5940 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5943 if test "$wxUSE_STOPWATCH" = yes; then
5944 echo "$as_me:$LINENO: result: yes" >&5
5945 echo "${ECHO_T}yes" >&6
5947 echo "$as_me:$LINENO: result: no" >&5
5948 echo "${ECHO_T}no" >&6
5953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5954 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5956 # Check whether --enable-streams or --disable-streams was given.
5957 if test "${enable_streams+set}" = set; then
5958 enableval="$enable_streams"
5960 if test "$enableval" = yes; then
5961 ac_cv_use_streams='wxUSE_STREAMS=yes'
5963 ac_cv_use_streams='wxUSE_STREAMS=no'
5968 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5969 if test "x$LINE" != x ; then
5970 eval "DEFAULT_$LINE"
5975 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5979 eval "$ac_cv_use_streams"
5980 if test "$no_cache" != 1; then
5981 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5984 if test "$wxUSE_STREAMS" = yes; then
5985 echo "$as_me:$LINENO: result: yes" >&5
5986 echo "${ECHO_T}yes" >&6
5988 echo "$as_me:$LINENO: result: no" >&5
5989 echo "${ECHO_T}no" >&6
5994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5995 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5997 # Check whether --enable-system_options or --disable-system_options was given.
5998 if test "${enable_system_options+set}" = set; then
5999 enableval="$enable_system_options"
6001 if test "$enableval" = yes; then
6002 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6004 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6009 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6010 if test "x$LINE" != x ; then
6011 eval "DEFAULT_$LINE"
6016 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6020 eval "$ac_cv_use_system_options"
6021 if test "$no_cache" != 1; then
6022 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6025 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6026 echo "$as_me:$LINENO: result: yes" >&5
6027 echo "${ECHO_T}yes" >&6
6029 echo "$as_me:$LINENO: result: no" >&5
6030 echo "${ECHO_T}no" >&6
6035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6036 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6038 # Check whether --enable-textbuf or --disable-textbuf was given.
6039 if test "${enable_textbuf+set}" = set; then
6040 enableval="$enable_textbuf"
6042 if test "$enableval" = yes; then
6043 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6045 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6050 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6051 if test "x$LINE" != x ; then
6052 eval "DEFAULT_$LINE"
6057 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6061 eval "$ac_cv_use_textbuf"
6062 if test "$no_cache" != 1; then
6063 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6066 if test "$wxUSE_TEXTBUFFER" = yes; then
6067 echo "$as_me:$LINENO: result: yes" >&5
6068 echo "${ECHO_T}yes" >&6
6070 echo "$as_me:$LINENO: result: no" >&5
6071 echo "${ECHO_T}no" >&6
6076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6077 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6079 # Check whether --enable-textfile or --disable-textfile was given.
6080 if test "${enable_textfile+set}" = set; then
6081 enableval="$enable_textfile"
6083 if test "$enableval" = yes; then
6084 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6086 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6091 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6092 if test "x$LINE" != x ; then
6093 eval "DEFAULT_$LINE"
6098 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6102 eval "$ac_cv_use_textfile"
6103 if test "$no_cache" != 1; then
6104 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6107 if test "$wxUSE_TEXTFILE" = yes; then
6108 echo "$as_me:$LINENO: result: yes" >&5
6109 echo "${ECHO_T}yes" >&6
6111 echo "$as_me:$LINENO: result: no" >&5
6112 echo "${ECHO_T}no" >&6
6117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6118 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6120 # Check whether --enable-timer or --disable-timer was given.
6121 if test "${enable_timer+set}" = set; then
6122 enableval="$enable_timer"
6124 if test "$enableval" = yes; then
6125 ac_cv_use_timer='wxUSE_TIMER=yes'
6127 ac_cv_use_timer='wxUSE_TIMER=no'
6132 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6133 if test "x$LINE" != x ; then
6134 eval "DEFAULT_$LINE"
6139 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6143 eval "$ac_cv_use_timer"
6144 if test "$no_cache" != 1; then
6145 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6148 if test "$wxUSE_TIMER" = yes; then
6149 echo "$as_me:$LINENO: result: yes" >&5
6150 echo "${ECHO_T}yes" >&6
6152 echo "$as_me:$LINENO: result: no" >&5
6153 echo "${ECHO_T}no" >&6
6158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6159 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6161 # Check whether --enable-unicode or --disable-unicode was given.
6162 if test "${enable_unicode+set}" = set; then
6163 enableval="$enable_unicode"
6165 if test "$enableval" = yes; then
6166 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6168 ac_cv_use_unicode='wxUSE_UNICODE=no'
6173 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6174 if test "x$LINE" != x ; then
6175 eval "DEFAULT_$LINE"
6180 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6184 eval "$ac_cv_use_unicode"
6185 if test "$no_cache" != 1; then
6186 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6189 if test "$wxUSE_UNICODE" = yes; then
6190 echo "$as_me:$LINENO: result: yes" >&5
6191 echo "${ECHO_T}yes" >&6
6193 echo "$as_me:$LINENO: result: no" >&5
6194 echo "${ECHO_T}no" >&6
6199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6200 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6202 # Check whether --enable-sound or --disable-sound was given.
6203 if test "${enable_sound+set}" = set; then
6204 enableval="$enable_sound"
6206 if test "$enableval" = yes; then
6207 ac_cv_use_sound='wxUSE_SOUND=yes'
6209 ac_cv_use_sound='wxUSE_SOUND=no'
6214 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6215 if test "x$LINE" != x ; then
6216 eval "DEFAULT_$LINE"
6221 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6225 eval "$ac_cv_use_sound"
6226 if test "$no_cache" != 1; then
6227 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6230 if test "$wxUSE_SOUND" = yes; then
6231 echo "$as_me:$LINENO: result: yes" >&5
6232 echo "${ECHO_T}yes" >&6
6234 echo "$as_me:$LINENO: result: no" >&5
6235 echo "${ECHO_T}no" >&6
6240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6241 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6243 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6244 if test "${enable_mediactrl+set}" = set; then
6245 enableval="$enable_mediactrl"
6247 if test "$enableval" = yes; then
6248 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6250 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6255 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6256 if test "x$LINE" != x ; then
6257 eval "DEFAULT_$LINE"
6262 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6266 eval "$ac_cv_use_mediactrl"
6267 if test "$no_cache" != 1; then
6268 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6271 if test "$wxUSE_MEDIACTRL" = yes; then
6272 echo "$as_me:$LINENO: result: yes" >&5
6273 echo "${ECHO_T}yes" >&6
6275 echo "$as_me:$LINENO: result: no" >&5
6276 echo "${ECHO_T}no" >&6
6281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6282 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6284 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6285 if test "${enable_gstreamer8+set}" = set; then
6286 enableval="$enable_gstreamer8"
6288 if test "$enableval" = yes; then
6289 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6291 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6296 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6297 if test "x$LINE" != x ; then
6298 eval "DEFAULT_$LINE"
6303 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6307 eval "$ac_cv_use_gstreamer8"
6308 if test "$no_cache" != 1; then
6309 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6312 if test "$wxUSE_GSTREAMER8" = yes; then
6313 echo "$as_me:$LINENO: result: yes" >&5
6314 echo "${ECHO_T}yes" >&6
6316 echo "$as_me:$LINENO: result: no" >&5
6317 echo "${ECHO_T}no" >&6
6322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6323 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6325 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6326 if test "${enable_printfposparam+set}" = set; then
6327 enableval="$enable_printfposparam"
6329 if test "$enableval" = yes; then
6330 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6332 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6337 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6338 if test "x$LINE" != x ; then
6339 eval "DEFAULT_$LINE"
6344 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6348 eval "$ac_cv_use_printfposparam"
6349 if test "$no_cache" != 1; then
6350 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6353 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6354 echo "$as_me:$LINENO: result: yes" >&5
6355 echo "${ECHO_T}yes" >&6
6357 echo "$as_me:$LINENO: result: no" >&5
6358 echo "${ECHO_T}no" >&6
6363 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6364 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6366 # Check whether --enable-zipstream or --disable-zipstream was given.
6367 if test "${enable_zipstream+set}" = set; then
6368 enableval="$enable_zipstream"
6370 if test "$enableval" = yes; then
6371 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6373 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6378 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6379 if test "x$LINE" != x ; then
6380 eval "DEFAULT_$LINE"
6385 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6389 eval "$ac_cv_use_zipstream"
6390 if test "$no_cache" != 1; then
6391 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6394 if test "$wxUSE_ZIPSTREAM" = yes; then
6395 echo "$as_me:$LINENO: result: yes" >&5
6396 echo "${ECHO_T}yes" >&6
6398 echo "$as_me:$LINENO: result: no" >&5
6399 echo "${ECHO_T}no" >&6
6405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6406 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6408 # Check whether --enable-url or --disable-url was given.
6409 if test "${enable_url+set}" = set; then
6410 enableval="$enable_url"
6412 if test "$enableval" = yes; then
6413 ac_cv_use_url='wxUSE_URL=yes'
6415 ac_cv_use_url='wxUSE_URL=no'
6420 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6421 if test "x$LINE" != x ; then
6422 eval "DEFAULT_$LINE"
6427 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6431 eval "$ac_cv_use_url"
6432 if test "$no_cache" != 1; then
6433 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6436 if test "$wxUSE_URL" = yes; then
6437 echo "$as_me:$LINENO: result: yes" >&5
6438 echo "${ECHO_T}yes" >&6
6440 echo "$as_me:$LINENO: result: no" >&5
6441 echo "${ECHO_T}no" >&6
6446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6447 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6449 # Check whether --enable-protocol or --disable-protocol was given.
6450 if test "${enable_protocol+set}" = set; then
6451 enableval="$enable_protocol"
6453 if test "$enableval" = yes; then
6454 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6456 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6461 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6462 if test "x$LINE" != x ; then
6463 eval "DEFAULT_$LINE"
6468 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6472 eval "$ac_cv_use_protocol"
6473 if test "$no_cache" != 1; then
6474 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6477 if test "$wxUSE_PROTOCOL" = yes; then
6478 echo "$as_me:$LINENO: result: yes" >&5
6479 echo "${ECHO_T}yes" >&6
6481 echo "$as_me:$LINENO: result: no" >&5
6482 echo "${ECHO_T}no" >&6
6487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6488 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6490 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6491 if test "${enable_protocol_http+set}" = set; then
6492 enableval="$enable_protocol_http"
6494 if test "$enableval" = yes; then
6495 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6497 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6502 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6503 if test "x$LINE" != x ; then
6504 eval "DEFAULT_$LINE"
6509 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6513 eval "$ac_cv_use_protocol_http"
6514 if test "$no_cache" != 1; then
6515 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6518 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6519 echo "$as_me:$LINENO: result: yes" >&5
6520 echo "${ECHO_T}yes" >&6
6522 echo "$as_me:$LINENO: result: no" >&5
6523 echo "${ECHO_T}no" >&6
6528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6529 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6531 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6532 if test "${enable_protocol_ftp+set}" = set; then
6533 enableval="$enable_protocol_ftp"
6535 if test "$enableval" = yes; then
6536 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6538 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6543 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6544 if test "x$LINE" != x ; then
6545 eval "DEFAULT_$LINE"
6550 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6554 eval "$ac_cv_use_protocol_ftp"
6555 if test "$no_cache" != 1; then
6556 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6559 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6560 echo "$as_me:$LINENO: result: yes" >&5
6561 echo "${ECHO_T}yes" >&6
6563 echo "$as_me:$LINENO: result: no" >&5
6564 echo "${ECHO_T}no" >&6
6569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6570 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6572 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6573 if test "${enable_protocol_file+set}" = set; then
6574 enableval="$enable_protocol_file"
6576 if test "$enableval" = yes; then
6577 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6579 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6584 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6585 if test "x$LINE" != x ; then
6586 eval "DEFAULT_$LINE"
6591 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6595 eval "$ac_cv_use_protocol_file"
6596 if test "$no_cache" != 1; then
6597 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6600 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6601 echo "$as_me:$LINENO: result: yes" >&5
6602 echo "${ECHO_T}yes" >&6
6604 echo "$as_me:$LINENO: result: no" >&5
6605 echo "${ECHO_T}no" >&6
6613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6614 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6616 # Check whether --enable-threads or --disable-threads was given.
6617 if test "${enable_threads+set}" = set; then
6618 enableval="$enable_threads"
6620 if test "$enableval" = yes; then
6621 ac_cv_use_threads='wxUSE_THREADS=yes'
6623 ac_cv_use_threads='wxUSE_THREADS=no'
6628 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6629 if test "x$LINE" != x ; then
6630 eval "DEFAULT_$LINE"
6635 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6639 eval "$ac_cv_use_threads"
6640 if test "$no_cache" != 1; then
6641 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6644 if test "$wxUSE_THREADS" = yes; then
6645 echo "$as_me:$LINENO: result: yes" >&5
6646 echo "${ECHO_T}yes" >&6
6648 echo "$as_me:$LINENO: result: no" >&5
6649 echo "${ECHO_T}no" >&6
6653 if test "$wxUSE_GUI" = "yes"; then
6658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6659 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6661 # Check whether --enable-docview or --disable-docview was given.
6662 if test "${enable_docview+set}" = set; then
6663 enableval="$enable_docview"
6665 if test "$enableval" = yes; then
6666 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6668 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6673 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6674 if test "x$LINE" != x ; then
6675 eval "DEFAULT_$LINE"
6680 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6684 eval "$ac_cv_use_docview"
6685 if test "$no_cache" != 1; then
6686 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6689 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6690 echo "$as_me:$LINENO: result: yes" >&5
6691 echo "${ECHO_T}yes" >&6
6693 echo "$as_me:$LINENO: result: no" >&5
6694 echo "${ECHO_T}no" >&6
6699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6700 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6702 # Check whether --enable-help or --disable-help was given.
6703 if test "${enable_help+set}" = set; then
6704 enableval="$enable_help"
6706 if test "$enableval" = yes; then
6707 ac_cv_use_help='wxUSE_HELP=yes'
6709 ac_cv_use_help='wxUSE_HELP=no'
6714 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6715 if test "x$LINE" != x ; then
6716 eval "DEFAULT_$LINE"
6721 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6725 eval "$ac_cv_use_help"
6726 if test "$no_cache" != 1; then
6727 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6730 if test "$wxUSE_HELP" = yes; then
6731 echo "$as_me:$LINENO: result: yes" >&5
6732 echo "${ECHO_T}yes" >&6
6734 echo "$as_me:$LINENO: result: no" >&5
6735 echo "${ECHO_T}no" >&6
6740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6741 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6743 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6744 if test "${enable_mshtmlhelp+set}" = set; then
6745 enableval="$enable_mshtmlhelp"
6747 if test "$enableval" = yes; then
6748 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6750 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6755 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6756 if test "x$LINE" != x ; then
6757 eval "DEFAULT_$LINE"
6762 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6766 eval "$ac_cv_use_mshtmlhelp"
6767 if test "$no_cache" != 1; then
6768 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6771 if test "$wxUSE_MS_HTML_HELP" = yes; then
6772 echo "$as_me:$LINENO: result: yes" >&5
6773 echo "${ECHO_T}yes" >&6
6775 echo "$as_me:$LINENO: result: no" >&5
6776 echo "${ECHO_T}no" >&6
6781 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6782 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6784 # Check whether --enable-html or --disable-html was given.
6785 if test "${enable_html+set}" = set; then
6786 enableval="$enable_html"
6788 if test "$enableval" = yes; then
6789 ac_cv_use_html='wxUSE_HTML=yes'
6791 ac_cv_use_html='wxUSE_HTML=no'
6796 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6797 if test "x$LINE" != x ; then
6798 eval "DEFAULT_$LINE"
6803 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6807 eval "$ac_cv_use_html"
6808 if test "$no_cache" != 1; then
6809 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6812 if test "$wxUSE_HTML" = yes; then
6813 echo "$as_me:$LINENO: result: yes" >&5
6814 echo "${ECHO_T}yes" >&6
6816 echo "$as_me:$LINENO: result: no" >&5
6817 echo "${ECHO_T}no" >&6
6822 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6823 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6825 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6826 if test "${enable_htmlhelp+set}" = set; then
6827 enableval="$enable_htmlhelp"
6829 if test "$enableval" = yes; then
6830 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6832 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6837 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6838 if test "x$LINE" != x ; then
6839 eval "DEFAULT_$LINE"
6844 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6848 eval "$ac_cv_use_htmlhelp"
6849 if test "$no_cache" != 1; then
6850 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6853 if test "$wxUSE_WXHTML_HELP" = yes; then
6854 echo "$as_me:$LINENO: result: yes" >&5
6855 echo "${ECHO_T}yes" >&6
6857 echo "$as_me:$LINENO: result: no" >&5
6858 echo "${ECHO_T}no" >&6
6863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6864 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6866 # Check whether --enable-xrc or --disable-xrc was given.
6867 if test "${enable_xrc+set}" = set; then
6868 enableval="$enable_xrc"
6870 if test "$enableval" = yes; then
6871 ac_cv_use_xrc='wxUSE_XRC=yes'
6873 ac_cv_use_xrc='wxUSE_XRC=no'
6878 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6879 if test "x$LINE" != x ; then
6880 eval "DEFAULT_$LINE"
6885 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6889 eval "$ac_cv_use_xrc"
6890 if test "$no_cache" != 1; then
6891 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6894 if test "$wxUSE_XRC" = yes; then
6895 echo "$as_me:$LINENO: result: yes" >&5
6896 echo "${ECHO_T}yes" >&6
6898 echo "$as_me:$LINENO: result: no" >&5
6899 echo "${ECHO_T}no" >&6
6904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
6905 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
6907 # Check whether --enable-aui or --disable-aui was given.
6908 if test "${enable_aui+set}" = set; then
6909 enableval="$enable_aui"
6911 if test "$enableval" = yes; then
6912 ac_cv_use_aui='wxUSE_AUI=yes'
6914 ac_cv_use_aui='wxUSE_AUI=no'
6919 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
6920 if test "x$LINE" != x ; then
6921 eval "DEFAULT_$LINE"
6926 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
6930 eval "$ac_cv_use_aui"
6931 if test "$no_cache" != 1; then
6932 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
6935 if test "$wxUSE_AUI" = yes; then
6936 echo "$as_me:$LINENO: result: yes" >&5
6937 echo "${ECHO_T}yes" >&6
6939 echo "$as_me:$LINENO: result: no" >&5
6940 echo "${ECHO_T}no" >&6
6945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6946 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6948 # Check whether --enable-constraints or --disable-constraints was given.
6949 if test "${enable_constraints+set}" = set; then
6950 enableval="$enable_constraints"
6952 if test "$enableval" = yes; then
6953 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6955 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6960 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6961 if test "x$LINE" != x ; then
6962 eval "DEFAULT_$LINE"
6967 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6971 eval "$ac_cv_use_constraints"
6972 if test "$no_cache" != 1; then
6973 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6976 if test "$wxUSE_CONSTRAINTS" = yes; then
6977 echo "$as_me:$LINENO: result: yes" >&5
6978 echo "${ECHO_T}yes" >&6
6980 echo "$as_me:$LINENO: result: no" >&5
6981 echo "${ECHO_T}no" >&6
6986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6987 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6989 # Check whether --enable-printarch or --disable-printarch was given.
6990 if test "${enable_printarch+set}" = set; then
6991 enableval="$enable_printarch"
6993 if test "$enableval" = yes; then
6994 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6996 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7001 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7002 if test "x$LINE" != x ; then
7003 eval "DEFAULT_$LINE"
7008 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7012 eval "$ac_cv_use_printarch"
7013 if test "$no_cache" != 1; then
7014 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7017 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7018 echo "$as_me:$LINENO: result: yes" >&5
7019 echo "${ECHO_T}yes" >&6
7021 echo "$as_me:$LINENO: result: no" >&5
7022 echo "${ECHO_T}no" >&6
7027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7028 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7030 # Check whether --enable-mdi or --disable-mdi was given.
7031 if test "${enable_mdi+set}" = set; then
7032 enableval="$enable_mdi"
7034 if test "$enableval" = yes; then
7035 ac_cv_use_mdi='wxUSE_MDI=yes'
7037 ac_cv_use_mdi='wxUSE_MDI=no'
7042 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7043 if test "x$LINE" != x ; then
7044 eval "DEFAULT_$LINE"
7049 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7053 eval "$ac_cv_use_mdi"
7054 if test "$no_cache" != 1; then
7055 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7058 if test "$wxUSE_MDI" = yes; then
7059 echo "$as_me:$LINENO: result: yes" >&5
7060 echo "${ECHO_T}yes" >&6
7062 echo "$as_me:$LINENO: result: no" >&5
7063 echo "${ECHO_T}no" >&6
7068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7069 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7071 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7072 if test "${enable_mdidoc+set}" = set; then
7073 enableval="$enable_mdidoc"
7075 if test "$enableval" = yes; then
7076 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7078 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7083 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7084 if test "x$LINE" != x ; then
7085 eval "DEFAULT_$LINE"
7090 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7094 eval "$ac_cv_use_mdidoc"
7095 if test "$no_cache" != 1; then
7096 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7099 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7100 echo "$as_me:$LINENO: result: yes" >&5
7101 echo "${ECHO_T}yes" >&6
7103 echo "$as_me:$LINENO: result: no" >&5
7104 echo "${ECHO_T}no" >&6
7109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7110 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7112 # Check whether --enable-loggui or --disable-loggui was given.
7113 if test "${enable_loggui+set}" = set; then
7114 enableval="$enable_loggui"
7116 if test "$enableval" = yes; then
7117 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7119 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7124 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7125 if test "x$LINE" != x ; then
7126 eval "DEFAULT_$LINE"
7131 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7135 eval "$ac_cv_use_loggui"
7136 if test "$no_cache" != 1; then
7137 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7140 if test "$wxUSE_LOGGUI" = yes; then
7141 echo "$as_me:$LINENO: result: yes" >&5
7142 echo "${ECHO_T}yes" >&6
7144 echo "$as_me:$LINENO: result: no" >&5
7145 echo "${ECHO_T}no" >&6
7150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7151 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7153 # Check whether --enable-logwin or --disable-logwin was given.
7154 if test "${enable_logwin+set}" = set; then
7155 enableval="$enable_logwin"
7157 if test "$enableval" = yes; then
7158 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7160 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7165 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7166 if test "x$LINE" != x ; then
7167 eval "DEFAULT_$LINE"
7172 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7176 eval "$ac_cv_use_logwin"
7177 if test "$no_cache" != 1; then
7178 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7181 if test "$wxUSE_LOGWINDOW" = yes; then
7182 echo "$as_me:$LINENO: result: yes" >&5
7183 echo "${ECHO_T}yes" >&6
7185 echo "$as_me:$LINENO: result: no" >&5
7186 echo "${ECHO_T}no" >&6
7191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7192 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7194 # Check whether --enable-logdialog or --disable-logdialog was given.
7195 if test "${enable_logdialog+set}" = set; then
7196 enableval="$enable_logdialog"
7198 if test "$enableval" = yes; then
7199 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7201 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7206 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7207 if test "x$LINE" != x ; then
7208 eval "DEFAULT_$LINE"
7213 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7217 eval "$ac_cv_use_logdialog"
7218 if test "$no_cache" != 1; then
7219 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7222 if test "$wxUSE_LOGDIALOG" = yes; then
7223 echo "$as_me:$LINENO: result: yes" >&5
7224 echo "${ECHO_T}yes" >&6
7226 echo "$as_me:$LINENO: result: no" >&5
7227 echo "${ECHO_T}no" >&6
7232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7233 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7235 # Check whether --enable-webkit or --disable-webkit was given.
7236 if test "${enable_webkit+set}" = set; then
7237 enableval="$enable_webkit"
7239 if test "$enableval" = yes; then
7240 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7242 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7247 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7248 if test "x$LINE" != x ; then
7249 eval "DEFAULT_$LINE"
7254 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7258 eval "$ac_cv_use_webkit"
7259 if test "$no_cache" != 1; then
7260 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7263 if test "$wxUSE_WEBKIT" = yes; then
7264 echo "$as_me:$LINENO: result: yes" >&5
7265 echo "${ECHO_T}yes" >&6
7267 echo "$as_me:$LINENO: result: no" >&5
7268 echo "${ECHO_T}no" >&6
7273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7274 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7276 # Check whether --enable-html or --disable-html was given.
7277 if test "${enable_html+set}" = set; then
7278 enableval="$enable_html"
7280 if test "$enableval" = yes; then
7281 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7283 ac_cv_use_html='wxUSE_RICHTEXT=no'
7288 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7289 if test "x$LINE" != x ; then
7290 eval "DEFAULT_$LINE"
7295 ac_cv_use_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7299 eval "$ac_cv_use_html"
7300 if test "$no_cache" != 1; then
7301 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7304 if test "$wxUSE_RICHTEXT" = yes; then
7305 echo "$as_me:$LINENO: result: yes" >&5
7306 echo "${ECHO_T}yes" >&6
7308 echo "$as_me:$LINENO: result: no" >&5
7309 echo "${ECHO_T}no" >&6
7315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7316 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7318 # Check whether --enable-postscript or --disable-postscript was given.
7319 if test "${enable_postscript+set}" = set; then
7320 enableval="$enable_postscript"
7322 if test "$enableval" = yes; then
7323 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7325 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7330 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7331 if test "x$LINE" != x ; then
7332 eval "DEFAULT_$LINE"
7337 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7341 eval "$ac_cv_use_postscript"
7342 if test "$no_cache" != 1; then
7343 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7346 if test "$wxUSE_POSTSCRIPT" = yes; then
7347 echo "$as_me:$LINENO: result: yes" >&5
7348 echo "${ECHO_T}yes" >&6
7350 echo "$as_me:$LINENO: result: no" >&5
7351 echo "${ECHO_T}no" >&6
7359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7360 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7362 # Check whether --enable-prologio or --disable-prologio was given.
7363 if test "${enable_prologio+set}" = set; then
7364 enableval="$enable_prologio"
7366 if test "$enableval" = yes; then
7367 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7369 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7374 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7375 if test "x$LINE" != x ; then
7376 eval "DEFAULT_$LINE"
7381 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7385 eval "$ac_cv_use_prologio"
7386 if test "$no_cache" != 1; then
7387 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7390 if test "$wxUSE_PROLOGIO" = yes; then
7391 echo "$as_me:$LINENO: result: yes" >&5
7392 echo "${ECHO_T}yes" >&6
7394 echo "$as_me:$LINENO: result: no" >&5
7395 echo "${ECHO_T}no" >&6
7400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7401 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7403 # Check whether --enable-resources or --disable-resources was given.
7404 if test "${enable_resources+set}" = set; then
7405 enableval="$enable_resources"
7407 if test "$enableval" = yes; then
7408 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7410 ac_cv_use_resources='wxUSE_RESOURCES=no'
7415 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7416 if test "x$LINE" != x ; then
7417 eval "DEFAULT_$LINE"
7422 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7426 eval "$ac_cv_use_resources"
7427 if test "$no_cache" != 1; then
7428 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7431 if test "$wxUSE_RESOURCES" = yes; then
7432 echo "$as_me:$LINENO: result: yes" >&5
7433 echo "${ECHO_T}yes" >&6
7435 echo "$as_me:$LINENO: result: no" >&5
7436 echo "${ECHO_T}no" >&6
7443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7444 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7446 # Check whether --enable-clipboard or --disable-clipboard was given.
7447 if test "${enable_clipboard+set}" = set; then
7448 enableval="$enable_clipboard"
7450 if test "$enableval" = yes; then
7451 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7453 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7458 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7459 if test "x$LINE" != x ; then
7460 eval "DEFAULT_$LINE"
7465 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7469 eval "$ac_cv_use_clipboard"
7470 if test "$no_cache" != 1; then
7471 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7474 if test "$wxUSE_CLIPBOARD" = yes; then
7475 echo "$as_me:$LINENO: result: yes" >&5
7476 echo "${ECHO_T}yes" >&6
7478 echo "$as_me:$LINENO: result: no" >&5
7479 echo "${ECHO_T}no" >&6
7484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7485 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7487 # Check whether --enable-dnd or --disable-dnd was given.
7488 if test "${enable_dnd+set}" = set; then
7489 enableval="$enable_dnd"
7491 if test "$enableval" = yes; then
7492 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7494 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7499 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7500 if test "x$LINE" != x ; then
7501 eval "DEFAULT_$LINE"
7506 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7510 eval "$ac_cv_use_dnd"
7511 if test "$no_cache" != 1; then
7512 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7515 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7516 echo "$as_me:$LINENO: result: yes" >&5
7517 echo "${ECHO_T}yes" >&6
7519 echo "$as_me:$LINENO: result: no" >&5
7520 echo "${ECHO_T}no" >&6
7525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7526 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7528 # Check whether --enable-metafile or --disable-metafile was given.
7529 if test "${enable_metafile+set}" = set; then
7530 enableval="$enable_metafile"
7532 if test "$enableval" = yes; then
7533 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7535 ac_cv_use_metafile='wxUSE_METAFILE=no'
7540 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7541 if test "x$LINE" != x ; then
7542 eval "DEFAULT_$LINE"
7547 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7551 eval "$ac_cv_use_metafile"
7552 if test "$no_cache" != 1; then
7553 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7556 if test "$wxUSE_METAFILE" = yes; then
7557 echo "$as_me:$LINENO: result: yes" >&5
7558 echo "${ECHO_T}yes" >&6
7560 echo "$as_me:$LINENO: result: no" >&5
7561 echo "${ECHO_T}no" >&6
7569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7570 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7572 # Check whether --enable-controls or --disable-controls was given.
7573 if test "${enable_controls+set}" = set; then
7574 enableval="$enable_controls"
7576 if test "$enableval" = yes; then
7577 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7579 ac_cv_use_controls='wxUSE_CONTROLS=no'
7584 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7585 if test "x$LINE" != x ; then
7586 eval "DEFAULT_$LINE"
7591 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7595 eval "$ac_cv_use_controls"
7596 if test "$no_cache" != 1; then
7597 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7600 if test "$wxUSE_CONTROLS" = yes; then
7601 echo "$as_me:$LINENO: result: yes" >&5
7602 echo "${ECHO_T}yes" >&6
7604 echo "$as_me:$LINENO: result: no" >&5
7605 echo "${ECHO_T}no" >&6
7609 if test "$wxUSE_CONTROLS" = "yes"; then
7610 DEFAULT_wxUSE_ACCEL=yes
7611 DEFAULT_wxUSE_BMPBUTTON=yes
7612 DEFAULT_wxUSE_BUTTON=yes
7613 DEFAULT_wxUSE_CALCTRL=yes
7614 DEFAULT_wxUSE_CARET=yes
7615 DEFAULT_wxUSE_COMBOBOX=yes
7616 DEFAULT_wxUSE_CHECKBOX=yes
7617 DEFAULT_wxUSE_CHECKLISTBOX=yes
7618 DEFAULT_wxUSE_CHOICE=yes
7619 DEFAULT_wxUSE_CHOICEBOOK=yes
7620 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7621 DEFAULT_wxUSE_COMBOBOX=yes
7622 DEFAULT_wxUSE_DATEPICKCTRL=yes
7623 DEFAULT_wxUSE_DISPLAY=yes
7624 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7625 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7626 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7627 DEFAULT_wxUSE_GAUGE=yes
7628 DEFAULT_wxUSE_GRID=yes
7629 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7630 DEFAULT_wxUSE_DATAVIEWCTRL=no
7631 DEFAULT_wxUSE_IMAGLIST=yes
7632 DEFAULT_wxUSE_LISTBOOK=yes
7633 DEFAULT_wxUSE_LISTBOX=yes
7634 DEFAULT_wxUSE_LISTCTRL=yes
7635 DEFAULT_wxUSE_NOTEBOOK=yes
7636 DEFAULT_wxUSE_RADIOBOX=yes
7637 DEFAULT_wxUSE_RADIOBTN=yes
7638 DEFAULT_wxUSE_SASH=yes
7639 DEFAULT_wxUSE_SCROLLBAR=yes
7640 DEFAULT_wxUSE_SLIDER=yes
7641 DEFAULT_wxUSE_SPINBTN=yes
7642 DEFAULT_wxUSE_SPINCTRL=yes
7643 DEFAULT_wxUSE_SPLITTER=yes
7644 DEFAULT_wxUSE_STATBMP=yes
7645 DEFAULT_wxUSE_STATBOX=yes
7646 DEFAULT_wxUSE_STATLINE=yes
7647 DEFAULT_wxUSE_STATUSBAR=yes
7648 DEFAULT_wxUSE_TAB_DIALOG=yes
7649 DEFAULT_wxUSE_TOGGLEBTN=yes
7650 DEFAULT_wxUSE_TOOLBAR=yes
7651 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7652 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7653 DEFAULT_wxUSE_TOOLTIPS=yes
7654 DEFAULT_wxUSE_TREEBOOK=yes
7655 DEFAULT_wxUSE_TOOLBOOK=yes
7656 DEFAULT_wxUSE_TREECTRL=yes
7657 DEFAULT_wxUSE_POPUPWIN=yes
7658 DEFAULT_wxUSE_TIPWINDOW=yes
7659 elif test "$wxUSE_CONTROLS" = "no"; then
7660 DEFAULT_wxUSE_ACCEL=no
7661 DEFAULT_wxUSE_BMPBUTTON=no
7662 DEFAULT_wxUSE_BUTTON=no
7663 DEFAULT_wxUSE_CALCTRL=no
7664 DEFAULT_wxUSE_CARET=no
7665 DEFAULT_wxUSE_COMBOBOX=no
7666 DEFAULT_wxUSE_CHECKBOX=no
7667 DEFAULT_wxUSE_CHECKLISTBOX=no
7668 DEFAULT_wxUSE_CHOICE=no
7669 DEFAULT_wxUSE_CHOICEBOOK=no
7670 DEFAULT_wxUSE_COLOURPICKERCTRL=no
7671 DEFAULT_wxUSE_COMBOBOX=no
7672 DEFAULT_wxUSE_DATEPICKCTRL=no
7673 DEFAULT_wxUSE_DISPLAY=no
7674 DEFAULT_wxUSE_DIRPICKERCTRL=no
7675 DEFAULT_wxUSE_FILEPICKERCTRL=no
7676 DEFAULT_wxUSE_FONTPICKERCTRL=no
7677 DEFAULT_wxUSE_GAUGE=no
7678 DEFAULT_wxUSE_GRID=no
7679 DEFAULT_wxUSE_HYPERLINKCTRL=no
7680 DEFAULT_wxUSE_DATAVIEWCTRL=no
7681 DEFAULT_wxUSE_IMAGLIST=no
7682 DEFAULT_wxUSE_LISTBOOK=no
7683 DEFAULT_wxUSE_LISTBOX=no
7684 DEFAULT_wxUSE_LISTCTRL=no
7685 DEFAULT_wxUSE_NOTEBOOK=no
7686 DEFAULT_wxUSE_RADIOBOX=no
7687 DEFAULT_wxUSE_RADIOBTN=no
7688 DEFAULT_wxUSE_SASH=no
7689 DEFAULT_wxUSE_SCROLLBAR=no
7690 DEFAULT_wxUSE_SLIDER=no
7691 DEFAULT_wxUSE_SPINBTN=no
7692 DEFAULT_wxUSE_SPINCTRL=no
7693 DEFAULT_wxUSE_SPLITTER=no
7694 DEFAULT_wxUSE_STATBMP=no
7695 DEFAULT_wxUSE_STATBOX=no
7696 DEFAULT_wxUSE_STATLINE=no
7697 DEFAULT_wxUSE_STATUSBAR=no
7698 DEFAULT_wxUSE_TAB_DIALOG=no
7699 DEFAULT_wxUSE_TOGGLEBTN=no
7700 DEFAULT_wxUSE_TOOLBAR=no
7701 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7702 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7703 DEFAULT_wxUSE_TOOLTIPS=no
7704 DEFAULT_wxUSE_TREEBOOK=no
7705 DEFAULT_wxUSE_TOOLBOOK=no
7706 DEFAULT_wxUSE_TREECTRL=no
7707 DEFAULT_wxUSE_POPUPWIN=no
7708 DEFAULT_wxUSE_TIPWINDOW=no
7713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7714 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7716 # Check whether --enable-accel or --disable-accel was given.
7717 if test "${enable_accel+set}" = set; then
7718 enableval="$enable_accel"
7720 if test "$enableval" = yes; then
7721 ac_cv_use_accel='wxUSE_ACCEL=yes'
7723 ac_cv_use_accel='wxUSE_ACCEL=no'
7728 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7729 if test "x$LINE" != x ; then
7730 eval "DEFAULT_$LINE"
7735 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7739 eval "$ac_cv_use_accel"
7740 if test "$no_cache" != 1; then
7741 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7744 if test "$wxUSE_ACCEL" = yes; then
7745 echo "$as_me:$LINENO: result: yes" >&5
7746 echo "${ECHO_T}yes" >&6
7748 echo "$as_me:$LINENO: result: no" >&5
7749 echo "${ECHO_T}no" >&6
7754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7755 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7757 # Check whether --enable-button or --disable-button was given.
7758 if test "${enable_button+set}" = set; then
7759 enableval="$enable_button"
7761 if test "$enableval" = yes; then
7762 ac_cv_use_button='wxUSE_BUTTON=yes'
7764 ac_cv_use_button='wxUSE_BUTTON=no'
7769 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7770 if test "x$LINE" != x ; then
7771 eval "DEFAULT_$LINE"
7776 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7780 eval "$ac_cv_use_button"
7781 if test "$no_cache" != 1; then
7782 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7785 if test "$wxUSE_BUTTON" = yes; then
7786 echo "$as_me:$LINENO: result: yes" >&5
7787 echo "${ECHO_T}yes" >&6
7789 echo "$as_me:$LINENO: result: no" >&5
7790 echo "${ECHO_T}no" >&6
7795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7796 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7798 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7799 if test "${enable_bmpbutton+set}" = set; then
7800 enableval="$enable_bmpbutton"
7802 if test "$enableval" = yes; then
7803 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7805 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7810 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7811 if test "x$LINE" != x ; then
7812 eval "DEFAULT_$LINE"
7817 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7821 eval "$ac_cv_use_bmpbutton"
7822 if test "$no_cache" != 1; then
7823 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7826 if test "$wxUSE_BMPBUTTON" = yes; then
7827 echo "$as_me:$LINENO: result: yes" >&5
7828 echo "${ECHO_T}yes" >&6
7830 echo "$as_me:$LINENO: result: no" >&5
7831 echo "${ECHO_T}no" >&6
7836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7837 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7839 # Check whether --enable-calendar or --disable-calendar was given.
7840 if test "${enable_calendar+set}" = set; then
7841 enableval="$enable_calendar"
7843 if test "$enableval" = yes; then
7844 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7846 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7851 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7852 if test "x$LINE" != x ; then
7853 eval "DEFAULT_$LINE"
7858 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7862 eval "$ac_cv_use_calendar"
7863 if test "$no_cache" != 1; then
7864 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7867 if test "$wxUSE_CALCTRL" = yes; then
7868 echo "$as_me:$LINENO: result: yes" >&5
7869 echo "${ECHO_T}yes" >&6
7871 echo "$as_me:$LINENO: result: no" >&5
7872 echo "${ECHO_T}no" >&6
7877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7878 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7880 # Check whether --enable-caret or --disable-caret was given.
7881 if test "${enable_caret+set}" = set; then
7882 enableval="$enable_caret"
7884 if test "$enableval" = yes; then
7885 ac_cv_use_caret='wxUSE_CARET=yes'
7887 ac_cv_use_caret='wxUSE_CARET=no'
7892 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7893 if test "x$LINE" != x ; then
7894 eval "DEFAULT_$LINE"
7899 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7903 eval "$ac_cv_use_caret"
7904 if test "$no_cache" != 1; then
7905 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7908 if test "$wxUSE_CARET" = yes; then
7909 echo "$as_me:$LINENO: result: yes" >&5
7910 echo "${ECHO_T}yes" >&6
7912 echo "$as_me:$LINENO: result: no" >&5
7913 echo "${ECHO_T}no" >&6
7918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7919 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7921 # Check whether --enable-checkbox or --disable-checkbox was given.
7922 if test "${enable_checkbox+set}" = set; then
7923 enableval="$enable_checkbox"
7925 if test "$enableval" = yes; then
7926 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7928 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7933 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7934 if test "x$LINE" != x ; then
7935 eval "DEFAULT_$LINE"
7940 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7944 eval "$ac_cv_use_checkbox"
7945 if test "$no_cache" != 1; then
7946 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7949 if test "$wxUSE_CHECKBOX" = yes; then
7950 echo "$as_me:$LINENO: result: yes" >&5
7951 echo "${ECHO_T}yes" >&6
7953 echo "$as_me:$LINENO: result: no" >&5
7954 echo "${ECHO_T}no" >&6
7959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7960 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7962 # Check whether --enable-checklst or --disable-checklst was given.
7963 if test "${enable_checklst+set}" = set; then
7964 enableval="$enable_checklst"
7966 if test "$enableval" = yes; then
7967 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7969 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7974 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7975 if test "x$LINE" != x ; then
7976 eval "DEFAULT_$LINE"
7981 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7985 eval "$ac_cv_use_checklst"
7986 if test "$no_cache" != 1; then
7987 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7990 if test "$wxUSE_CHECKLST" = yes; then
7991 echo "$as_me:$LINENO: result: yes" >&5
7992 echo "${ECHO_T}yes" >&6
7994 echo "$as_me:$LINENO: result: no" >&5
7995 echo "${ECHO_T}no" >&6
8000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8001 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8003 # Check whether --enable-choice or --disable-choice was given.
8004 if test "${enable_choice+set}" = set; then
8005 enableval="$enable_choice"
8007 if test "$enableval" = yes; then
8008 ac_cv_use_choice='wxUSE_CHOICE=yes'
8010 ac_cv_use_choice='wxUSE_CHOICE=no'
8015 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8016 if test "x$LINE" != x ; then
8017 eval "DEFAULT_$LINE"
8022 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8026 eval "$ac_cv_use_choice"
8027 if test "$no_cache" != 1; then
8028 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8031 if test "$wxUSE_CHOICE" = yes; then
8032 echo "$as_me:$LINENO: result: yes" >&5
8033 echo "${ECHO_T}yes" >&6
8035 echo "$as_me:$LINENO: result: no" >&5
8036 echo "${ECHO_T}no" >&6
8041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8042 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8044 # Check whether --enable-choicebook or --disable-choicebook was given.
8045 if test "${enable_choicebook+set}" = set; then
8046 enableval="$enable_choicebook"
8048 if test "$enableval" = yes; then
8049 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8051 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8056 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8057 if test "x$LINE" != x ; then
8058 eval "DEFAULT_$LINE"
8063 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8067 eval "$ac_cv_use_choicebook"
8068 if test "$no_cache" != 1; then
8069 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8072 if test "$wxUSE_CHOICEBOOK" = yes; then
8073 echo "$as_me:$LINENO: result: yes" >&5
8074 echo "${ECHO_T}yes" >&6
8076 echo "$as_me:$LINENO: result: no" >&5
8077 echo "${ECHO_T}no" >&6
8082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8083 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8085 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8086 if test "${enable_colourpicker+set}" = set; then
8087 enableval="$enable_colourpicker"
8089 if test "$enableval" = yes; then
8090 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8092 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8097 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8098 if test "x$LINE" != x ; then
8099 eval "DEFAULT_$LINE"
8104 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8108 eval "$ac_cv_use_colourpicker"
8109 if test "$no_cache" != 1; then
8110 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8113 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8114 echo "$as_me:$LINENO: result: yes" >&5
8115 echo "${ECHO_T}yes" >&6
8117 echo "$as_me:$LINENO: result: no" >&5
8118 echo "${ECHO_T}no" >&6
8123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8124 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8126 # Check whether --enable-combobox or --disable-combobox was given.
8127 if test "${enable_combobox+set}" = set; then
8128 enableval="$enable_combobox"
8130 if test "$enableval" = yes; then
8131 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8133 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8138 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8139 if test "x$LINE" != x ; then
8140 eval "DEFAULT_$LINE"
8145 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8149 eval "$ac_cv_use_combobox"
8150 if test "$no_cache" != 1; then
8151 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8154 if test "$wxUSE_COMBOBOX" = yes; then
8155 echo "$as_me:$LINENO: result: yes" >&5
8156 echo "${ECHO_T}yes" >&6
8158 echo "$as_me:$LINENO: result: no" >&5
8159 echo "${ECHO_T}no" >&6
8164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8165 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8167 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8168 if test "${enable_comboctrl+set}" = set; then
8169 enableval="$enable_comboctrl"
8171 if test "$enableval" = yes; then
8172 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8174 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8179 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8180 if test "x$LINE" != x ; then
8181 eval "DEFAULT_$LINE"
8186 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8190 eval "$ac_cv_use_comboctrl"
8191 if test "$no_cache" != 1; then
8192 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8195 if test "$wxUSE_COMBOCTRL" = yes; then
8196 echo "$as_me:$LINENO: result: yes" >&5
8197 echo "${ECHO_T}yes" >&6
8199 echo "$as_me:$LINENO: result: no" >&5
8200 echo "${ECHO_T}no" >&6
8205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8206 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8208 # Check whether --enable-datepick or --disable-datepick was given.
8209 if test "${enable_datepick+set}" = set; then
8210 enableval="$enable_datepick"
8212 if test "$enableval" = yes; then
8213 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8215 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8220 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8221 if test "x$LINE" != x ; then
8222 eval "DEFAULT_$LINE"
8227 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8231 eval "$ac_cv_use_datepick"
8232 if test "$no_cache" != 1; then
8233 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8236 if test "$wxUSE_DATEPICKCTRL" = yes; then
8237 echo "$as_me:$LINENO: result: yes" >&5
8238 echo "${ECHO_T}yes" >&6
8240 echo "$as_me:$LINENO: result: no" >&5
8241 echo "${ECHO_T}no" >&6
8246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8247 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8249 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8250 if test "${enable_dirpicker+set}" = set; then
8251 enableval="$enable_dirpicker"
8253 if test "$enableval" = yes; then
8254 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8256 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8261 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8262 if test "x$LINE" != x ; then
8263 eval "DEFAULT_$LINE"
8268 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8272 eval "$ac_cv_use_dirpicker"
8273 if test "$no_cache" != 1; then
8274 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8277 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8278 echo "$as_me:$LINENO: result: yes" >&5
8279 echo "${ECHO_T}yes" >&6
8281 echo "$as_me:$LINENO: result: no" >&5
8282 echo "${ECHO_T}no" >&6
8287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8288 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8290 # Check whether --enable-display or --disable-display was given.
8291 if test "${enable_display+set}" = set; then
8292 enableval="$enable_display"
8294 if test "$enableval" = yes; then
8295 ac_cv_use_display='wxUSE_DISPLAY=yes'
8297 ac_cv_use_display='wxUSE_DISPLAY=no'
8302 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8303 if test "x$LINE" != x ; then
8304 eval "DEFAULT_$LINE"
8309 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8313 eval "$ac_cv_use_display"
8314 if test "$no_cache" != 1; then
8315 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8318 if test "$wxUSE_DISPLAY" = yes; then
8319 echo "$as_me:$LINENO: result: yes" >&5
8320 echo "${ECHO_T}yes" >&6
8322 echo "$as_me:$LINENO: result: no" >&5
8323 echo "${ECHO_T}no" >&6
8328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8329 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8331 # Check whether --enable-filepicker or --disable-filepicker was given.
8332 if test "${enable_filepicker+set}" = set; then
8333 enableval="$enable_filepicker"
8335 if test "$enableval" = yes; then
8336 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8338 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8343 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8344 if test "x$LINE" != x ; then
8345 eval "DEFAULT_$LINE"
8350 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8354 eval "$ac_cv_use_filepicker"
8355 if test "$no_cache" != 1; then
8356 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8359 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8360 echo "$as_me:$LINENO: result: yes" >&5
8361 echo "${ECHO_T}yes" >&6
8363 echo "$as_me:$LINENO: result: no" >&5
8364 echo "${ECHO_T}no" >&6
8369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8370 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8372 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8373 if test "${enable_fontpicker+set}" = set; then
8374 enableval="$enable_fontpicker"
8376 if test "$enableval" = yes; then
8377 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8379 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8384 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8385 if test "x$LINE" != x ; then
8386 eval "DEFAULT_$LINE"
8391 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8395 eval "$ac_cv_use_fontpicker"
8396 if test "$no_cache" != 1; then
8397 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8400 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8401 echo "$as_me:$LINENO: result: yes" >&5
8402 echo "${ECHO_T}yes" >&6
8404 echo "$as_me:$LINENO: result: no" >&5
8405 echo "${ECHO_T}no" >&6
8410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8411 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8413 # Check whether --enable-gauge or --disable-gauge was given.
8414 if test "${enable_gauge+set}" = set; then
8415 enableval="$enable_gauge"
8417 if test "$enableval" = yes; then
8418 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8420 ac_cv_use_gauge='wxUSE_GAUGE=no'
8425 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8426 if test "x$LINE" != x ; then
8427 eval "DEFAULT_$LINE"
8432 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8436 eval "$ac_cv_use_gauge"
8437 if test "$no_cache" != 1; then
8438 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8441 if test "$wxUSE_GAUGE" = yes; then
8442 echo "$as_me:$LINENO: result: yes" >&5
8443 echo "${ECHO_T}yes" >&6
8445 echo "$as_me:$LINENO: result: no" >&5
8446 echo "${ECHO_T}no" >&6
8451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8452 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8454 # Check whether --enable-grid or --disable-grid was given.
8455 if test "${enable_grid+set}" = set; then
8456 enableval="$enable_grid"
8458 if test "$enableval" = yes; then
8459 ac_cv_use_grid='wxUSE_GRID=yes'
8461 ac_cv_use_grid='wxUSE_GRID=no'
8466 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8467 if test "x$LINE" != x ; then
8468 eval "DEFAULT_$LINE"
8473 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8477 eval "$ac_cv_use_grid"
8478 if test "$no_cache" != 1; then
8479 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8482 if test "$wxUSE_GRID" = yes; then
8483 echo "$as_me:$LINENO: result: yes" >&5
8484 echo "${ECHO_T}yes" >&6
8486 echo "$as_me:$LINENO: result: no" >&5
8487 echo "${ECHO_T}no" >&6
8492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8493 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8495 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8496 if test "${enable_dataviewctrl+set}" = set; then
8497 enableval="$enable_dataviewctrl"
8499 if test "$enableval" = yes; then
8500 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8502 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8507 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8508 if test "x$LINE" != x ; then
8509 eval "DEFAULT_$LINE"
8514 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8518 eval "$ac_cv_use_dataviewctrl"
8519 if test "$no_cache" != 1; then
8520 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8523 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8524 echo "$as_me:$LINENO: result: yes" >&5
8525 echo "${ECHO_T}yes" >&6
8527 echo "$as_me:$LINENO: result: no" >&5
8528 echo "${ECHO_T}no" >&6
8533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8534 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8536 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8537 if test "${enable_hyperlink+set}" = set; then
8538 enableval="$enable_hyperlink"
8540 if test "$enableval" = yes; then
8541 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
8543 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
8548 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8549 if test "x$LINE" != x ; then
8550 eval "DEFAULT_$LINE"
8555 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8559 eval "$ac_cv_use_hyperlink"
8560 if test "$no_cache" != 1; then
8561 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8564 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8565 echo "$as_me:$LINENO: result: yes" >&5
8566 echo "${ECHO_T}yes" >&6
8568 echo "$as_me:$LINENO: result: no" >&5
8569 echo "${ECHO_T}no" >&6
8574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8575 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8577 # Check whether --enable-imaglist or --disable-imaglist was given.
8578 if test "${enable_imaglist+set}" = set; then
8579 enableval="$enable_imaglist"
8581 if test "$enableval" = yes; then
8582 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
8584 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
8589 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8590 if test "x$LINE" != x ; then
8591 eval "DEFAULT_$LINE"
8596 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8600 eval "$ac_cv_use_imaglist"
8601 if test "$no_cache" != 1; then
8602 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8605 if test "$wxUSE_IMAGLIST" = yes; then
8606 echo "$as_me:$LINENO: result: yes" >&5
8607 echo "${ECHO_T}yes" >&6
8609 echo "$as_me:$LINENO: result: no" >&5
8610 echo "${ECHO_T}no" >&6
8615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8616 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8618 # Check whether --enable-listbook or --disable-listbook was given.
8619 if test "${enable_listbook+set}" = set; then
8620 enableval="$enable_listbook"
8622 if test "$enableval" = yes; then
8623 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
8625 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
8630 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8631 if test "x$LINE" != x ; then
8632 eval "DEFAULT_$LINE"
8637 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8641 eval "$ac_cv_use_listbook"
8642 if test "$no_cache" != 1; then
8643 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8646 if test "$wxUSE_LISTBOOK" = yes; then
8647 echo "$as_me:$LINENO: result: yes" >&5
8648 echo "${ECHO_T}yes" >&6
8650 echo "$as_me:$LINENO: result: no" >&5
8651 echo "${ECHO_T}no" >&6
8656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8657 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8659 # Check whether --enable-listbox or --disable-listbox was given.
8660 if test "${enable_listbox+set}" = set; then
8661 enableval="$enable_listbox"
8663 if test "$enableval" = yes; then
8664 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8666 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8671 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8672 if test "x$LINE" != x ; then
8673 eval "DEFAULT_$LINE"
8678 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8682 eval "$ac_cv_use_listbox"
8683 if test "$no_cache" != 1; then
8684 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8687 if test "$wxUSE_LISTBOX" = yes; then
8688 echo "$as_me:$LINENO: result: yes" >&5
8689 echo "${ECHO_T}yes" >&6
8691 echo "$as_me:$LINENO: result: no" >&5
8692 echo "${ECHO_T}no" >&6
8697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8698 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8700 # Check whether --enable-listctrl or --disable-listctrl was given.
8701 if test "${enable_listctrl+set}" = set; then
8702 enableval="$enable_listctrl"
8704 if test "$enableval" = yes; then
8705 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8707 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8712 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8713 if test "x$LINE" != x ; then
8714 eval "DEFAULT_$LINE"
8719 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8723 eval "$ac_cv_use_listctrl"
8724 if test "$no_cache" != 1; then
8725 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8728 if test "$wxUSE_LISTCTRL" = yes; then
8729 echo "$as_me:$LINENO: result: yes" >&5
8730 echo "${ECHO_T}yes" >&6
8732 echo "$as_me:$LINENO: result: no" >&5
8733 echo "${ECHO_T}no" >&6
8738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8739 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8741 # Check whether --enable-notebook or --disable-notebook was given.
8742 if test "${enable_notebook+set}" = set; then
8743 enableval="$enable_notebook"
8745 if test "$enableval" = yes; then
8746 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8748 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8753 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8754 if test "x$LINE" != x ; then
8755 eval "DEFAULT_$LINE"
8760 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8764 eval "$ac_cv_use_notebook"
8765 if test "$no_cache" != 1; then
8766 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8769 if test "$wxUSE_NOTEBOOK" = yes; then
8770 echo "$as_me:$LINENO: result: yes" >&5
8771 echo "${ECHO_T}yes" >&6
8773 echo "$as_me:$LINENO: result: no" >&5
8774 echo "${ECHO_T}no" >&6
8779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
8780 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
8782 # Check whether --enable-odcombobox or --disable-odcombobox was given.
8783 if test "${enable_odcombobox+set}" = set; then
8784 enableval="$enable_odcombobox"
8786 if test "$enableval" = yes; then
8787 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
8789 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
8794 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
8795 if test "x$LINE" != x ; then
8796 eval "DEFAULT_$LINE"
8801 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
8805 eval "$ac_cv_use_odcombobox"
8806 if test "$no_cache" != 1; then
8807 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
8810 if test "$wxUSE_ODCOMBOBOX" = yes; then
8811 echo "$as_me:$LINENO: result: yes" >&5
8812 echo "${ECHO_T}yes" >&6
8814 echo "$as_me:$LINENO: result: no" >&5
8815 echo "${ECHO_T}no" >&6
8820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8821 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8823 # Check whether --enable-radiobox or --disable-radiobox was given.
8824 if test "${enable_radiobox+set}" = set; then
8825 enableval="$enable_radiobox"
8827 if test "$enableval" = yes; then
8828 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8830 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8835 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8836 if test "x$LINE" != x ; then
8837 eval "DEFAULT_$LINE"
8842 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8846 eval "$ac_cv_use_radiobox"
8847 if test "$no_cache" != 1; then
8848 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8851 if test "$wxUSE_RADIOBOX" = yes; then
8852 echo "$as_me:$LINENO: result: yes" >&5
8853 echo "${ECHO_T}yes" >&6
8855 echo "$as_me:$LINENO: result: no" >&5
8856 echo "${ECHO_T}no" >&6
8861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8862 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8864 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8865 if test "${enable_radiobtn+set}" = set; then
8866 enableval="$enable_radiobtn"
8868 if test "$enableval" = yes; then
8869 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8871 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8876 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8877 if test "x$LINE" != x ; then
8878 eval "DEFAULT_$LINE"
8883 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8887 eval "$ac_cv_use_radiobtn"
8888 if test "$no_cache" != 1; then
8889 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8892 if test "$wxUSE_RADIOBTN" = yes; then
8893 echo "$as_me:$LINENO: result: yes" >&5
8894 echo "${ECHO_T}yes" >&6
8896 echo "$as_me:$LINENO: result: no" >&5
8897 echo "${ECHO_T}no" >&6
8902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8903 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8905 # Check whether --enable-sash or --disable-sash was given.
8906 if test "${enable_sash+set}" = set; then
8907 enableval="$enable_sash"
8909 if test "$enableval" = yes; then
8910 ac_cv_use_sash='wxUSE_SASH=yes'
8912 ac_cv_use_sash='wxUSE_SASH=no'
8917 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8918 if test "x$LINE" != x ; then
8919 eval "DEFAULT_$LINE"
8924 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8928 eval "$ac_cv_use_sash"
8929 if test "$no_cache" != 1; then
8930 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8933 if test "$wxUSE_SASH" = yes; then
8934 echo "$as_me:$LINENO: result: yes" >&5
8935 echo "${ECHO_T}yes" >&6
8937 echo "$as_me:$LINENO: result: no" >&5
8938 echo "${ECHO_T}no" >&6
8943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8944 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8946 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8947 if test "${enable_scrollbar+set}" = set; then
8948 enableval="$enable_scrollbar"
8950 if test "$enableval" = yes; then
8951 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8953 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8958 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8959 if test "x$LINE" != x ; then
8960 eval "DEFAULT_$LINE"
8965 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8969 eval "$ac_cv_use_scrollbar"
8970 if test "$no_cache" != 1; then
8971 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8974 if test "$wxUSE_SCROLLBAR" = yes; then
8975 echo "$as_me:$LINENO: result: yes" >&5
8976 echo "${ECHO_T}yes" >&6
8978 echo "$as_me:$LINENO: result: no" >&5
8979 echo "${ECHO_T}no" >&6
8984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8985 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8987 # Check whether --enable-slider or --disable-slider was given.
8988 if test "${enable_slider+set}" = set; then
8989 enableval="$enable_slider"
8991 if test "$enableval" = yes; then
8992 ac_cv_use_slider='wxUSE_SLIDER=yes'
8994 ac_cv_use_slider='wxUSE_SLIDER=no'
8999 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9000 if test "x$LINE" != x ; then
9001 eval "DEFAULT_$LINE"
9006 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9010 eval "$ac_cv_use_slider"
9011 if test "$no_cache" != 1; then
9012 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9015 if test "$wxUSE_SLIDER" = yes; then
9016 echo "$as_me:$LINENO: result: yes" >&5
9017 echo "${ECHO_T}yes" >&6
9019 echo "$as_me:$LINENO: result: no" >&5
9020 echo "${ECHO_T}no" >&6
9025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9026 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9028 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9029 if test "${enable_spinbtn+set}" = set; then
9030 enableval="$enable_spinbtn"
9032 if test "$enableval" = yes; then
9033 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9035 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9040 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9041 if test "x$LINE" != x ; then
9042 eval "DEFAULT_$LINE"
9047 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9051 eval "$ac_cv_use_spinbtn"
9052 if test "$no_cache" != 1; then
9053 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9056 if test "$wxUSE_SPINBTN" = yes; then
9057 echo "$as_me:$LINENO: result: yes" >&5
9058 echo "${ECHO_T}yes" >&6
9060 echo "$as_me:$LINENO: result: no" >&5
9061 echo "${ECHO_T}no" >&6
9066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9067 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9069 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9070 if test "${enable_spinctrl+set}" = set; then
9071 enableval="$enable_spinctrl"
9073 if test "$enableval" = yes; then
9074 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9076 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9081 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9082 if test "x$LINE" != x ; then
9083 eval "DEFAULT_$LINE"
9088 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9092 eval "$ac_cv_use_spinctrl"
9093 if test "$no_cache" != 1; then
9094 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9097 if test "$wxUSE_SPINCTRL" = yes; then
9098 echo "$as_me:$LINENO: result: yes" >&5
9099 echo "${ECHO_T}yes" >&6
9101 echo "$as_me:$LINENO: result: no" >&5
9102 echo "${ECHO_T}no" >&6
9107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9108 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9110 # Check whether --enable-splitter or --disable-splitter was given.
9111 if test "${enable_splitter+set}" = set; then
9112 enableval="$enable_splitter"
9114 if test "$enableval" = yes; then
9115 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9117 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9122 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9123 if test "x$LINE" != x ; then
9124 eval "DEFAULT_$LINE"
9129 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9133 eval "$ac_cv_use_splitter"
9134 if test "$no_cache" != 1; then
9135 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9138 if test "$wxUSE_SPLITTER" = yes; then
9139 echo "$as_me:$LINENO: result: yes" >&5
9140 echo "${ECHO_T}yes" >&6
9142 echo "$as_me:$LINENO: result: no" >&5
9143 echo "${ECHO_T}no" >&6
9148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9149 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9151 # Check whether --enable-statbmp or --disable-statbmp was given.
9152 if test "${enable_statbmp+set}" = set; then
9153 enableval="$enable_statbmp"
9155 if test "$enableval" = yes; then
9156 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9158 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9163 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9164 if test "x$LINE" != x ; then
9165 eval "DEFAULT_$LINE"
9170 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9174 eval "$ac_cv_use_statbmp"
9175 if test "$no_cache" != 1; then
9176 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9179 if test "$wxUSE_STATBMP" = yes; then
9180 echo "$as_me:$LINENO: result: yes" >&5
9181 echo "${ECHO_T}yes" >&6
9183 echo "$as_me:$LINENO: result: no" >&5
9184 echo "${ECHO_T}no" >&6
9189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9190 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9192 # Check whether --enable-statbox or --disable-statbox was given.
9193 if test "${enable_statbox+set}" = set; then
9194 enableval="$enable_statbox"
9196 if test "$enableval" = yes; then
9197 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9199 ac_cv_use_statbox='wxUSE_STATBOX=no'
9204 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9205 if test "x$LINE" != x ; then
9206 eval "DEFAULT_$LINE"
9211 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9215 eval "$ac_cv_use_statbox"
9216 if test "$no_cache" != 1; then
9217 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9220 if test "$wxUSE_STATBOX" = yes; then
9221 echo "$as_me:$LINENO: result: yes" >&5
9222 echo "${ECHO_T}yes" >&6
9224 echo "$as_me:$LINENO: result: no" >&5
9225 echo "${ECHO_T}no" >&6
9230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9231 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9233 # Check whether --enable-statline or --disable-statline was given.
9234 if test "${enable_statline+set}" = set; then
9235 enableval="$enable_statline"
9237 if test "$enableval" = yes; then
9238 ac_cv_use_statline='wxUSE_STATLINE=yes'
9240 ac_cv_use_statline='wxUSE_STATLINE=no'
9245 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9246 if test "x$LINE" != x ; then
9247 eval "DEFAULT_$LINE"
9252 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9256 eval "$ac_cv_use_statline"
9257 if test "$no_cache" != 1; then
9258 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9261 if test "$wxUSE_STATLINE" = yes; then
9262 echo "$as_me:$LINENO: result: yes" >&5
9263 echo "${ECHO_T}yes" >&6
9265 echo "$as_me:$LINENO: result: no" >&5
9266 echo "${ECHO_T}no" >&6
9271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9272 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9274 # Check whether --enable-stattext or --disable-stattext was given.
9275 if test "${enable_stattext+set}" = set; then
9276 enableval="$enable_stattext"
9278 if test "$enableval" = yes; then
9279 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9281 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9286 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9287 if test "x$LINE" != x ; then
9288 eval "DEFAULT_$LINE"
9293 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9297 eval "$ac_cv_use_stattext"
9298 if test "$no_cache" != 1; then
9299 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9302 if test "$wxUSE_STATTEXT" = yes; then
9303 echo "$as_me:$LINENO: result: yes" >&5
9304 echo "${ECHO_T}yes" >&6
9306 echo "$as_me:$LINENO: result: no" >&5
9307 echo "${ECHO_T}no" >&6
9312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9313 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9315 # Check whether --enable-statusbar or --disable-statusbar was given.
9316 if test "${enable_statusbar+set}" = set; then
9317 enableval="$enable_statusbar"
9319 if test "$enableval" = yes; then
9320 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9322 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9327 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9328 if test "x$LINE" != x ; then
9329 eval "DEFAULT_$LINE"
9334 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9338 eval "$ac_cv_use_statusbar"
9339 if test "$no_cache" != 1; then
9340 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9343 if test "$wxUSE_STATUSBAR" = yes; then
9344 echo "$as_me:$LINENO: result: yes" >&5
9345 echo "${ECHO_T}yes" >&6
9347 echo "$as_me:$LINENO: result: no" >&5
9348 echo "${ECHO_T}no" >&6
9353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9354 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9356 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9357 if test "${enable_tabdialog+set}" = set; then
9358 enableval="$enable_tabdialog"
9360 if test "$enableval" = yes; then
9361 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9363 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9368 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9369 if test "x$LINE" != x ; then
9370 eval "DEFAULT_$LINE"
9375 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9379 eval "$ac_cv_use_tabdialog"
9380 if test "$no_cache" != 1; then
9381 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9384 if test "$wxUSE_TAB_DIALOG" = yes; then
9385 echo "$as_me:$LINENO: result: yes" >&5
9386 echo "${ECHO_T}yes" >&6
9388 echo "$as_me:$LINENO: result: no" >&5
9389 echo "${ECHO_T}no" >&6
9394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9395 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9397 # Check whether --enable-textctrl or --disable-textctrl was given.
9398 if test "${enable_textctrl+set}" = set; then
9399 enableval="$enable_textctrl"
9401 if test "$enableval" = yes; then
9402 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9404 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9409 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9410 if test "x$LINE" != x ; then
9411 eval "DEFAULT_$LINE"
9416 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9420 eval "$ac_cv_use_textctrl"
9421 if test "$no_cache" != 1; then
9422 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9425 if test "$wxUSE_TEXTCTRL" = yes; then
9426 echo "$as_me:$LINENO: result: yes" >&5
9427 echo "${ECHO_T}yes" >&6
9429 echo "$as_me:$LINENO: result: no" >&5
9430 echo "${ECHO_T}no" >&6
9435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9436 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9438 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9439 if test "${enable_togglebtn+set}" = set; then
9440 enableval="$enable_togglebtn"
9442 if test "$enableval" = yes; then
9443 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9445 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9450 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9451 if test "x$LINE" != x ; then
9452 eval "DEFAULT_$LINE"
9457 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9461 eval "$ac_cv_use_togglebtn"
9462 if test "$no_cache" != 1; then
9463 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9466 if test "$wxUSE_TOGGLEBTN" = yes; then
9467 echo "$as_me:$LINENO: result: yes" >&5
9468 echo "${ECHO_T}yes" >&6
9470 echo "$as_me:$LINENO: result: no" >&5
9471 echo "${ECHO_T}no" >&6
9476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9477 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9479 # Check whether --enable-toolbar or --disable-toolbar was given.
9480 if test "${enable_toolbar+set}" = set; then
9481 enableval="$enable_toolbar"
9483 if test "$enableval" = yes; then
9484 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9486 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9491 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9492 if test "x$LINE" != x ; then
9493 eval "DEFAULT_$LINE"
9498 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9502 eval "$ac_cv_use_toolbar"
9503 if test "$no_cache" != 1; then
9504 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9507 if test "$wxUSE_TOOLBAR" = yes; then
9508 echo "$as_me:$LINENO: result: yes" >&5
9509 echo "${ECHO_T}yes" >&6
9511 echo "$as_me:$LINENO: result: no" >&5
9512 echo "${ECHO_T}no" >&6
9517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9518 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9520 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9521 if test "${enable_tbarnative+set}" = set; then
9522 enableval="$enable_tbarnative"
9524 if test "$enableval" = yes; then
9525 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
9527 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
9532 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9533 if test "x$LINE" != x ; then
9534 eval "DEFAULT_$LINE"
9539 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9543 eval "$ac_cv_use_tbarnative"
9544 if test "$no_cache" != 1; then
9545 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9548 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9549 echo "$as_me:$LINENO: result: yes" >&5
9550 echo "${ECHO_T}yes" >&6
9552 echo "$as_me:$LINENO: result: no" >&5
9553 echo "${ECHO_T}no" >&6
9558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
9559 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
9561 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
9562 if test "${enable_tbarsmpl+set}" = set; then
9563 enableval="$enable_tbarsmpl"
9565 if test "$enableval" = yes; then
9566 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
9568 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
9573 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
9574 if test "x$LINE" != x ; then
9575 eval "DEFAULT_$LINE"
9580 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
9584 eval "$ac_cv_use_tbarsmpl"
9585 if test "$no_cache" != 1; then
9586 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
9589 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
9590 echo "$as_me:$LINENO: result: yes" >&5
9591 echo "${ECHO_T}yes" >&6
9593 echo "$as_me:$LINENO: result: no" >&5
9594 echo "${ECHO_T}no" >&6
9599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9600 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9602 # Check whether --enable-treebook or --disable-treebook was given.
9603 if test "${enable_treebook+set}" = set; then
9604 enableval="$enable_treebook"
9606 if test "$enableval" = yes; then
9607 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
9609 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
9614 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9615 if test "x$LINE" != x ; then
9616 eval "DEFAULT_$LINE"
9621 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9625 eval "$ac_cv_use_treebook"
9626 if test "$no_cache" != 1; then
9627 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9630 if test "$wxUSE_TREEBOOK" = yes; then
9631 echo "$as_me:$LINENO: result: yes" >&5
9632 echo "${ECHO_T}yes" >&6
9634 echo "$as_me:$LINENO: result: no" >&5
9635 echo "${ECHO_T}no" >&6
9640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9641 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9643 # Check whether --enable-toolbook or --disable-toolbook was given.
9644 if test "${enable_toolbook+set}" = set; then
9645 enableval="$enable_toolbook"
9647 if test "$enableval" = yes; then
9648 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
9650 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
9655 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9656 if test "x$LINE" != x ; then
9657 eval "DEFAULT_$LINE"
9662 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9666 eval "$ac_cv_use_toolbook"
9667 if test "$no_cache" != 1; then
9668 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9671 if test "$wxUSE_TOOLBOOK" = yes; then
9672 echo "$as_me:$LINENO: result: yes" >&5
9673 echo "${ECHO_T}yes" >&6
9675 echo "$as_me:$LINENO: result: no" >&5
9676 echo "${ECHO_T}no" >&6
9681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9682 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9684 # Check whether --enable-treectrl or --disable-treectrl was given.
9685 if test "${enable_treectrl+set}" = set; then
9686 enableval="$enable_treectrl"
9688 if test "$enableval" = yes; then
9689 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
9691 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
9696 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9697 if test "x$LINE" != x ; then
9698 eval "DEFAULT_$LINE"
9703 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9707 eval "$ac_cv_use_treectrl"
9708 if test "$no_cache" != 1; then
9709 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9712 if test "$wxUSE_TREECTRL" = yes; then
9713 echo "$as_me:$LINENO: result: yes" >&5
9714 echo "${ECHO_T}yes" >&6
9716 echo "$as_me:$LINENO: result: no" >&5
9717 echo "${ECHO_T}no" >&6
9722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9723 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9725 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9726 if test "${enable_tipwindow+set}" = set; then
9727 enableval="$enable_tipwindow"
9729 if test "$enableval" = yes; then
9730 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
9732 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
9737 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9738 if test "x$LINE" != x ; then
9739 eval "DEFAULT_$LINE"
9744 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9748 eval "$ac_cv_use_tipwindow"
9749 if test "$no_cache" != 1; then
9750 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9753 if test "$wxUSE_TIPWINDOW" = yes; then
9754 echo "$as_me:$LINENO: result: yes" >&5
9755 echo "${ECHO_T}yes" >&6
9757 echo "$as_me:$LINENO: result: no" >&5
9758 echo "${ECHO_T}no" >&6
9763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9764 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9766 # Check whether --enable-popupwin or --disable-popupwin was given.
9767 if test "${enable_popupwin+set}" = set; then
9768 enableval="$enable_popupwin"
9770 if test "$enableval" = yes; then
9771 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
9773 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
9778 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9779 if test "x$LINE" != x ; then
9780 eval "DEFAULT_$LINE"
9785 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9789 eval "$ac_cv_use_popupwin"
9790 if test "$no_cache" != 1; then
9791 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9794 if test "$wxUSE_POPUPWIN" = yes; then
9795 echo "$as_me:$LINENO: result: yes" >&5
9796 echo "${ECHO_T}yes" >&6
9798 echo "$as_me:$LINENO: result: no" >&5
9799 echo "${ECHO_T}no" >&6
9806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9807 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9809 # Check whether --enable-commondlg or --disable-commondlg was given.
9810 if test "${enable_commondlg+set}" = set; then
9811 enableval="$enable_commondlg"
9813 if test "$enableval" = yes; then
9814 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9816 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9821 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9822 if test "x$LINE" != x ; then
9823 eval "DEFAULT_$LINE"
9828 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9832 eval "$ac_cv_use_commondlg"
9833 if test "$no_cache" != 1; then
9834 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9837 if test "$wxUSE_COMMONDLGS" = yes; then
9838 echo "$as_me:$LINENO: result: yes" >&5
9839 echo "${ECHO_T}yes" >&6
9841 echo "$as_me:$LINENO: result: no" >&5
9842 echo "${ECHO_T}no" >&6
9847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9848 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9850 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9851 if test "${enable_choicedlg+set}" = set; then
9852 enableval="$enable_choicedlg"
9854 if test "$enableval" = yes; then
9855 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9857 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9862 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9863 if test "x$LINE" != x ; then
9864 eval "DEFAULT_$LINE"
9869 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9873 eval "$ac_cv_use_choicedlg"
9874 if test "$no_cache" != 1; then
9875 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9878 if test "$wxUSE_CHOICEDLG" = yes; then
9879 echo "$as_me:$LINENO: result: yes" >&5
9880 echo "${ECHO_T}yes" >&6
9882 echo "$as_me:$LINENO: result: no" >&5
9883 echo "${ECHO_T}no" >&6
9888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9889 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9891 # Check whether --enable-coldlg or --disable-coldlg was given.
9892 if test "${enable_coldlg+set}" = set; then
9893 enableval="$enable_coldlg"
9895 if test "$enableval" = yes; then
9896 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9898 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9903 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9904 if test "x$LINE" != x ; then
9905 eval "DEFAULT_$LINE"
9910 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9914 eval "$ac_cv_use_coldlg"
9915 if test "$no_cache" != 1; then
9916 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9919 if test "$wxUSE_COLOURDLG" = yes; then
9920 echo "$as_me:$LINENO: result: yes" >&5
9921 echo "${ECHO_T}yes" >&6
9923 echo "$as_me:$LINENO: result: no" >&5
9924 echo "${ECHO_T}no" >&6
9929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9930 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9932 # Check whether --enable-filedlg or --disable-filedlg was given.
9933 if test "${enable_filedlg+set}" = set; then
9934 enableval="$enable_filedlg"
9936 if test "$enableval" = yes; then
9937 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9939 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9944 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9945 if test "x$LINE" != x ; then
9946 eval "DEFAULT_$LINE"
9951 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9955 eval "$ac_cv_use_filedlg"
9956 if test "$no_cache" != 1; then
9957 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9960 if test "$wxUSE_FILEDLG" = yes; then
9961 echo "$as_me:$LINENO: result: yes" >&5
9962 echo "${ECHO_T}yes" >&6
9964 echo "$as_me:$LINENO: result: no" >&5
9965 echo "${ECHO_T}no" >&6
9970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9971 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9973 # Check whether --enable-finddlg or --disable-finddlg was given.
9974 if test "${enable_finddlg+set}" = set; then
9975 enableval="$enable_finddlg"
9977 if test "$enableval" = yes; then
9978 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9980 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9985 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9986 if test "x$LINE" != x ; then
9987 eval "DEFAULT_$LINE"
9992 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9996 eval "$ac_cv_use_finddlg"
9997 if test "$no_cache" != 1; then
9998 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10001 if test "$wxUSE_FINDREPLDLG" = yes; then
10002 echo "$as_me:$LINENO: result: yes" >&5
10003 echo "${ECHO_T}yes" >&6
10005 echo "$as_me:$LINENO: result: no" >&5
10006 echo "${ECHO_T}no" >&6
10011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10012 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10014 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10015 if test "${enable_fontdlg+set}" = set; then
10016 enableval="$enable_fontdlg"
10018 if test "$enableval" = yes; then
10019 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10021 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10026 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10027 if test "x$LINE" != x ; then
10028 eval "DEFAULT_$LINE"
10033 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10037 eval "$ac_cv_use_fontdlg"
10038 if test "$no_cache" != 1; then
10039 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10042 if test "$wxUSE_FONTDLG" = yes; then
10043 echo "$as_me:$LINENO: result: yes" >&5
10044 echo "${ECHO_T}yes" >&6
10046 echo "$as_me:$LINENO: result: no" >&5
10047 echo "${ECHO_T}no" >&6
10052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10053 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10055 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10056 if test "${enable_dirdlg+set}" = set; then
10057 enableval="$enable_dirdlg"
10059 if test "$enableval" = yes; then
10060 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10062 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10067 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10068 if test "x$LINE" != x ; then
10069 eval "DEFAULT_$LINE"
10074 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10078 eval "$ac_cv_use_dirdlg"
10079 if test "$no_cache" != 1; then
10080 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10083 if test "$wxUSE_DIRDLG" = yes; then
10084 echo "$as_me:$LINENO: result: yes" >&5
10085 echo "${ECHO_T}yes" >&6
10087 echo "$as_me:$LINENO: result: no" >&5
10088 echo "${ECHO_T}no" >&6
10093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10094 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10096 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10097 if test "${enable_msgdlg+set}" = set; then
10098 enableval="$enable_msgdlg"
10100 if test "$enableval" = yes; then
10101 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10103 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10108 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10109 if test "x$LINE" != x ; then
10110 eval "DEFAULT_$LINE"
10115 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10119 eval "$ac_cv_use_msgdlg"
10120 if test "$no_cache" != 1; then
10121 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10124 if test "$wxUSE_MSGDLG" = yes; then
10125 echo "$as_me:$LINENO: result: yes" >&5
10126 echo "${ECHO_T}yes" >&6
10128 echo "$as_me:$LINENO: result: no" >&5
10129 echo "${ECHO_T}no" >&6
10134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10135 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10137 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10138 if test "${enable_numberdlg+set}" = set; then
10139 enableval="$enable_numberdlg"
10141 if test "$enableval" = yes; then
10142 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10144 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10149 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10150 if test "x$LINE" != x ; then
10151 eval "DEFAULT_$LINE"
10156 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10160 eval "$ac_cv_use_numberdlg"
10161 if test "$no_cache" != 1; then
10162 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10165 if test "$wxUSE_NUMBERDLG" = yes; then
10166 echo "$as_me:$LINENO: result: yes" >&5
10167 echo "${ECHO_T}yes" >&6
10169 echo "$as_me:$LINENO: result: no" >&5
10170 echo "${ECHO_T}no" >&6
10175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10176 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10178 # Check whether --enable-splash or --disable-splash was given.
10179 if test "${enable_splash+set}" = set; then
10180 enableval="$enable_splash"
10182 if test "$enableval" = yes; then
10183 ac_cv_use_splash='wxUSE_SPLASH=yes'
10185 ac_cv_use_splash='wxUSE_SPLASH=no'
10190 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10191 if test "x$LINE" != x ; then
10192 eval "DEFAULT_$LINE"
10197 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10201 eval "$ac_cv_use_splash"
10202 if test "$no_cache" != 1; then
10203 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10206 if test "$wxUSE_SPLASH" = yes; then
10207 echo "$as_me:$LINENO: result: yes" >&5
10208 echo "${ECHO_T}yes" >&6
10210 echo "$as_me:$LINENO: result: no" >&5
10211 echo "${ECHO_T}no" >&6
10216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10217 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10219 # Check whether --enable-textdlg or --disable-textdlg was given.
10220 if test "${enable_textdlg+set}" = set; then
10221 enableval="$enable_textdlg"
10223 if test "$enableval" = yes; then
10224 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10226 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10231 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10232 if test "x$LINE" != x ; then
10233 eval "DEFAULT_$LINE"
10238 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10242 eval "$ac_cv_use_textdlg"
10243 if test "$no_cache" != 1; then
10244 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10247 if test "$wxUSE_TEXTDLG" = yes; then
10248 echo "$as_me:$LINENO: result: yes" >&5
10249 echo "${ECHO_T}yes" >&6
10251 echo "$as_me:$LINENO: result: no" >&5
10252 echo "${ECHO_T}no" >&6
10257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10258 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10260 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10261 if test "${enable_tipdlg+set}" = set; then
10262 enableval="$enable_tipdlg"
10264 if test "$enableval" = yes; then
10265 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10267 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10272 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10273 if test "x$LINE" != x ; then
10274 eval "DEFAULT_$LINE"
10279 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10283 eval "$ac_cv_use_tipdlg"
10284 if test "$no_cache" != 1; then
10285 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10288 if test "$wxUSE_STARTUP_TIPS" = yes; then
10289 echo "$as_me:$LINENO: result: yes" >&5
10290 echo "${ECHO_T}yes" >&6
10292 echo "$as_me:$LINENO: result: no" >&5
10293 echo "${ECHO_T}no" >&6
10298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10299 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10301 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10302 if test "${enable_progressdlg+set}" = set; then
10303 enableval="$enable_progressdlg"
10305 if test "$enableval" = yes; then
10306 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10308 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10313 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10314 if test "x$LINE" != x ; then
10315 eval "DEFAULT_$LINE"
10320 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10324 eval "$ac_cv_use_progressdlg"
10325 if test "$no_cache" != 1; then
10326 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10329 if test "$wxUSE_PROGRESSDLG" = yes; then
10330 echo "$as_me:$LINENO: result: yes" >&5
10331 echo "${ECHO_T}yes" >&6
10333 echo "$as_me:$LINENO: result: no" >&5
10334 echo "${ECHO_T}no" >&6
10339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10340 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10342 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10343 if test "${enable_wizarddlg+set}" = set; then
10344 enableval="$enable_wizarddlg"
10346 if test "$enableval" = yes; then
10347 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10349 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10354 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10355 if test "x$LINE" != x ; then
10356 eval "DEFAULT_$LINE"
10361 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10365 eval "$ac_cv_use_wizarddlg"
10366 if test "$no_cache" != 1; then
10367 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10370 if test "$wxUSE_WIZARDDLG" = yes; then
10371 echo "$as_me:$LINENO: result: yes" >&5
10372 echo "${ECHO_T}yes" >&6
10374 echo "$as_me:$LINENO: result: no" >&5
10375 echo "${ECHO_T}no" >&6
10382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10383 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10385 # Check whether --enable-menus or --disable-menus was given.
10386 if test "${enable_menus+set}" = set; then
10387 enableval="$enable_menus"
10389 if test "$enableval" = yes; then
10390 ac_cv_use_menus='wxUSE_MENUS=yes'
10392 ac_cv_use_menus='wxUSE_MENUS=no'
10397 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10398 if test "x$LINE" != x ; then
10399 eval "DEFAULT_$LINE"
10404 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10408 eval "$ac_cv_use_menus"
10409 if test "$no_cache" != 1; then
10410 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10413 if test "$wxUSE_MENUS" = yes; then
10414 echo "$as_me:$LINENO: result: yes" >&5
10415 echo "${ECHO_T}yes" >&6
10417 echo "$as_me:$LINENO: result: no" >&5
10418 echo "${ECHO_T}no" >&6
10423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10424 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10426 # Check whether --enable-miniframe or --disable-miniframe was given.
10427 if test "${enable_miniframe+set}" = set; then
10428 enableval="$enable_miniframe"
10430 if test "$enableval" = yes; then
10431 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10433 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10438 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10439 if test "x$LINE" != x ; then
10440 eval "DEFAULT_$LINE"
10445 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10449 eval "$ac_cv_use_miniframe"
10450 if test "$no_cache" != 1; then
10451 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10454 if test "$wxUSE_MINIFRAME" = yes; then
10455 echo "$as_me:$LINENO: result: yes" >&5
10456 echo "${ECHO_T}yes" >&6
10458 echo "$as_me:$LINENO: result: no" >&5
10459 echo "${ECHO_T}no" >&6
10464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10465 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10467 # Check whether --enable-tooltips or --disable-tooltips was given.
10468 if test "${enable_tooltips+set}" = set; then
10469 enableval="$enable_tooltips"
10471 if test "$enableval" = yes; then
10472 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10474 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10479 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10480 if test "x$LINE" != x ; then
10481 eval "DEFAULT_$LINE"
10486 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10490 eval "$ac_cv_use_tooltips"
10491 if test "$no_cache" != 1; then
10492 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10495 if test "$wxUSE_TOOLTIPS" = yes; then
10496 echo "$as_me:$LINENO: result: yes" >&5
10497 echo "${ECHO_T}yes" >&6
10499 echo "$as_me:$LINENO: result: no" >&5
10500 echo "${ECHO_T}no" >&6
10505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10506 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10508 # Check whether --enable-splines or --disable-splines was given.
10509 if test "${enable_splines+set}" = set; then
10510 enableval="$enable_splines"
10512 if test "$enableval" = yes; then
10513 ac_cv_use_splines='wxUSE_SPLINES=yes'
10515 ac_cv_use_splines='wxUSE_SPLINES=no'
10520 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10521 if test "x$LINE" != x ; then
10522 eval "DEFAULT_$LINE"
10527 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10531 eval "$ac_cv_use_splines"
10532 if test "$no_cache" != 1; then
10533 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10536 if test "$wxUSE_SPLINES" = yes; then
10537 echo "$as_me:$LINENO: result: yes" >&5
10538 echo "${ECHO_T}yes" >&6
10540 echo "$as_me:$LINENO: result: no" >&5
10541 echo "${ECHO_T}no" >&6
10546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10547 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10549 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10550 if test "${enable_mousewheel+set}" = set; then
10551 enableval="$enable_mousewheel"
10553 if test "$enableval" = yes; then
10554 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
10556 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
10561 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10562 if test "x$LINE" != x ; then
10563 eval "DEFAULT_$LINE"
10568 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10572 eval "$ac_cv_use_mousewheel"
10573 if test "$no_cache" != 1; then
10574 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10577 if test "$wxUSE_MOUSEWHEEL" = yes; then
10578 echo "$as_me:$LINENO: result: yes" >&5
10579 echo "${ECHO_T}yes" >&6
10581 echo "$as_me:$LINENO: result: no" >&5
10582 echo "${ECHO_T}no" >&6
10587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10588 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10590 # Check whether --enable-validators or --disable-validators was given.
10591 if test "${enable_validators+set}" = set; then
10592 enableval="$enable_validators"
10594 if test "$enableval" = yes; then
10595 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
10597 ac_cv_use_validators='wxUSE_VALIDATORS=no'
10602 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10603 if test "x$LINE" != x ; then
10604 eval "DEFAULT_$LINE"
10609 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10613 eval "$ac_cv_use_validators"
10614 if test "$no_cache" != 1; then
10615 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10618 if test "$wxUSE_VALIDATORS" = yes; then
10619 echo "$as_me:$LINENO: result: yes" >&5
10620 echo "${ECHO_T}yes" >&6
10622 echo "$as_me:$LINENO: result: no" >&5
10623 echo "${ECHO_T}no" >&6
10628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10629 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10631 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10632 if test "${enable_busyinfo+set}" = set; then
10633 enableval="$enable_busyinfo"
10635 if test "$enableval" = yes; then
10636 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
10638 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
10643 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10644 if test "x$LINE" != x ; then
10645 eval "DEFAULT_$LINE"
10650 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10654 eval "$ac_cv_use_busyinfo"
10655 if test "$no_cache" != 1; then
10656 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10659 if test "$wxUSE_BUSYINFO" = yes; then
10660 echo "$as_me:$LINENO: result: yes" >&5
10661 echo "${ECHO_T}yes" >&6
10663 echo "$as_me:$LINENO: result: no" >&5
10664 echo "${ECHO_T}no" >&6
10669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10670 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10672 # Check whether --enable-joystick or --disable-joystick was given.
10673 if test "${enable_joystick+set}" = set; then
10674 enableval="$enable_joystick"
10676 if test "$enableval" = yes; then
10677 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
10679 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
10684 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10685 if test "x$LINE" != x ; then
10686 eval "DEFAULT_$LINE"
10691 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10695 eval "$ac_cv_use_joystick"
10696 if test "$no_cache" != 1; then
10697 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10700 if test "$wxUSE_JOYSTICK" = yes; then
10701 echo "$as_me:$LINENO: result: yes" >&5
10702 echo "${ECHO_T}yes" >&6
10704 echo "$as_me:$LINENO: result: no" >&5
10705 echo "${ECHO_T}no" >&6
10710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10711 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10713 # Check whether --enable-metafile or --disable-metafile was given.
10714 if test "${enable_metafile+set}" = set; then
10715 enableval="$enable_metafile"
10717 if test "$enableval" = yes; then
10718 ac_cv_use_metafile='wxUSE_METAFILE=yes'
10720 ac_cv_use_metafile='wxUSE_METAFILE=no'
10725 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10726 if test "x$LINE" != x ; then
10727 eval "DEFAULT_$LINE"
10732 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10736 eval "$ac_cv_use_metafile"
10737 if test "$no_cache" != 1; then
10738 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10741 if test "$wxUSE_METAFILE" = yes; then
10742 echo "$as_me:$LINENO: result: yes" >&5
10743 echo "${ECHO_T}yes" >&6
10745 echo "$as_me:$LINENO: result: no" >&5
10746 echo "${ECHO_T}no" >&6
10751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10752 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10754 # Check whether --enable-dragimage or --disable-dragimage was given.
10755 if test "${enable_dragimage+set}" = set; then
10756 enableval="$enable_dragimage"
10758 if test "$enableval" = yes; then
10759 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
10761 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
10766 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10767 if test "x$LINE" != x ; then
10768 eval "DEFAULT_$LINE"
10773 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10777 eval "$ac_cv_use_dragimage"
10778 if test "$no_cache" != 1; then
10779 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10782 if test "$wxUSE_DRAGIMAGE" = yes; then
10783 echo "$as_me:$LINENO: result: yes" >&5
10784 echo "${ECHO_T}yes" >&6
10786 echo "$as_me:$LINENO: result: no" >&5
10787 echo "${ECHO_T}no" >&6
10792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10793 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10795 # Check whether --enable-accessibility or --disable-accessibility was given.
10796 if test "${enable_accessibility+set}" = set; then
10797 enableval="$enable_accessibility"
10799 if test "$enableval" = yes; then
10800 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10802 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10807 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10808 if test "x$LINE" != x ; then
10809 eval "DEFAULT_$LINE"
10814 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10818 eval "$ac_cv_use_accessibility"
10819 if test "$no_cache" != 1; then
10820 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10823 if test "$wxUSE_ACCESSIBILITY" = yes; then
10824 echo "$as_me:$LINENO: result: yes" >&5
10825 echo "${ECHO_T}yes" >&6
10827 echo "$as_me:$LINENO: result: no" >&5
10828 echo "${ECHO_T}no" >&6
10832 if test "$wxUSE_MSW" = "1"; then
10835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10836 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10838 # Check whether --enable-dccache or --disable-dccache was given.
10839 if test "${enable_dccache+set}" = set; then
10840 enableval="$enable_dccache"
10842 if test "$enableval" = yes; then
10843 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
10845 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
10850 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10851 if test "x$LINE" != x ; then
10852 eval "DEFAULT_$LINE"
10857 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10861 eval "$ac_cv_use_dccache"
10862 if test "$no_cache" != 1; then
10863 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10866 if test "$wxUSE_DC_CACHEING" = yes; then
10867 echo "$as_me:$LINENO: result: yes" >&5
10868 echo "${ECHO_T}yes" >&6
10870 echo "$as_me:$LINENO: result: no" >&5
10871 echo "${ECHO_T}no" >&6
10879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10880 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10882 # Check whether --enable-palette or --disable-palette was given.
10883 if test "${enable_palette+set}" = set; then
10884 enableval="$enable_palette"
10886 if test "$enableval" = yes; then
10887 ac_cv_use_palette='wxUSE_PALETTE=yes'
10889 ac_cv_use_palette='wxUSE_PALETTE=no'
10894 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10895 if test "x$LINE" != x ; then
10896 eval "DEFAULT_$LINE"
10901 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10905 eval "$ac_cv_use_palette"
10906 if test "$no_cache" != 1; then
10907 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10910 if test "$wxUSE_PALETTE" = yes; then
10911 echo "$as_me:$LINENO: result: yes" >&5
10912 echo "${ECHO_T}yes" >&6
10914 echo "$as_me:$LINENO: result: no" >&5
10915 echo "${ECHO_T}no" >&6
10920 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10921 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10923 # Check whether --enable-image or --disable-image was given.
10924 if test "${enable_image+set}" = set; then
10925 enableval="$enable_image"
10927 if test "$enableval" = yes; then
10928 ac_cv_use_image='wxUSE_IMAGE=yes'
10930 ac_cv_use_image='wxUSE_IMAGE=no'
10935 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10936 if test "x$LINE" != x ; then
10937 eval "DEFAULT_$LINE"
10942 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10946 eval "$ac_cv_use_image"
10947 if test "$no_cache" != 1; then
10948 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10951 if test "$wxUSE_IMAGE" = yes; then
10952 echo "$as_me:$LINENO: result: yes" >&5
10953 echo "${ECHO_T}yes" >&6
10955 echo "$as_me:$LINENO: result: no" >&5
10956 echo "${ECHO_T}no" >&6
10961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10962 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10964 # Check whether --enable-gif or --disable-gif was given.
10965 if test "${enable_gif+set}" = set; then
10966 enableval="$enable_gif"
10968 if test "$enableval" = yes; then
10969 ac_cv_use_gif='wxUSE_GIF=yes'
10971 ac_cv_use_gif='wxUSE_GIF=no'
10976 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10977 if test "x$LINE" != x ; then
10978 eval "DEFAULT_$LINE"
10983 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10987 eval "$ac_cv_use_gif"
10988 if test "$no_cache" != 1; then
10989 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10992 if test "$wxUSE_GIF" = yes; then
10993 echo "$as_me:$LINENO: result: yes" >&5
10994 echo "${ECHO_T}yes" >&6
10996 echo "$as_me:$LINENO: result: no" >&5
10997 echo "${ECHO_T}no" >&6
11002 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11003 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11005 # Check whether --enable-pcx or --disable-pcx was given.
11006 if test "${enable_pcx+set}" = set; then
11007 enableval="$enable_pcx"
11009 if test "$enableval" = yes; then
11010 ac_cv_use_pcx='wxUSE_PCX=yes'
11012 ac_cv_use_pcx='wxUSE_PCX=no'
11017 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11018 if test "x$LINE" != x ; then
11019 eval "DEFAULT_$LINE"
11024 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11028 eval "$ac_cv_use_pcx"
11029 if test "$no_cache" != 1; then
11030 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11033 if test "$wxUSE_PCX" = yes; then
11034 echo "$as_me:$LINENO: result: yes" >&5
11035 echo "${ECHO_T}yes" >&6
11037 echo "$as_me:$LINENO: result: no" >&5
11038 echo "${ECHO_T}no" >&6
11043 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11044 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11046 # Check whether --enable-iff or --disable-iff was given.
11047 if test "${enable_iff+set}" = set; then
11048 enableval="$enable_iff"
11050 if test "$enableval" = yes; then
11051 ac_cv_use_iff='wxUSE_IFF=yes'
11053 ac_cv_use_iff='wxUSE_IFF=no'
11058 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11059 if test "x$LINE" != x ; then
11060 eval "DEFAULT_$LINE"
11065 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11069 eval "$ac_cv_use_iff"
11070 if test "$no_cache" != 1; then
11071 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11074 if test "$wxUSE_IFF" = yes; then
11075 echo "$as_me:$LINENO: result: yes" >&5
11076 echo "${ECHO_T}yes" >&6
11078 echo "$as_me:$LINENO: result: no" >&5
11079 echo "${ECHO_T}no" >&6
11084 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11085 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11087 # Check whether --enable-pnm or --disable-pnm was given.
11088 if test "${enable_pnm+set}" = set; then
11089 enableval="$enable_pnm"
11091 if test "$enableval" = yes; then
11092 ac_cv_use_pnm='wxUSE_PNM=yes'
11094 ac_cv_use_pnm='wxUSE_PNM=no'
11099 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11100 if test "x$LINE" != x ; then
11101 eval "DEFAULT_$LINE"
11106 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11110 eval "$ac_cv_use_pnm"
11111 if test "$no_cache" != 1; then
11112 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11115 if test "$wxUSE_PNM" = yes; then
11116 echo "$as_me:$LINENO: result: yes" >&5
11117 echo "${ECHO_T}yes" >&6
11119 echo "$as_me:$LINENO: result: no" >&5
11120 echo "${ECHO_T}no" >&6
11125 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11126 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11128 # Check whether --enable-xpm or --disable-xpm was given.
11129 if test "${enable_xpm+set}" = set; then
11130 enableval="$enable_xpm"
11132 if test "$enableval" = yes; then
11133 ac_cv_use_xpm='wxUSE_XPM=yes'
11135 ac_cv_use_xpm='wxUSE_XPM=no'
11140 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11141 if test "x$LINE" != x ; then
11142 eval "DEFAULT_$LINE"
11147 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11151 eval "$ac_cv_use_xpm"
11152 if test "$no_cache" != 1; then
11153 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11156 if test "$wxUSE_XPM" = yes; then
11157 echo "$as_me:$LINENO: result: yes" >&5
11158 echo "${ECHO_T}yes" >&6
11160 echo "$as_me:$LINENO: result: no" >&5
11161 echo "${ECHO_T}no" >&6
11166 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11167 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11169 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11170 if test "${enable_ico_cur+set}" = set; then
11171 enableval="$enable_ico_cur"
11173 if test "$enableval" = yes; then
11174 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11176 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11181 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11182 if test "x$LINE" != x ; then
11183 eval "DEFAULT_$LINE"
11188 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11192 eval "$ac_cv_use_ico_cur"
11193 if test "$no_cache" != 1; then
11194 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11197 if test "$wxUSE_ICO_CUR" = yes; then
11198 echo "$as_me:$LINENO: result: yes" >&5
11199 echo "${ECHO_T}yes" >&6
11201 echo "$as_me:$LINENO: result: no" >&5
11202 echo "${ECHO_T}no" >&6
11210 # Check whether --with-flavour or --without-flavour was given.
11211 if test "${with_flavour+set}" = set; then
11212 withval="$with_flavour"
11213 WX_FLAVOUR="$withval"
11219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11220 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11222 # Check whether --enable-official_build or --disable-official_build was given.
11223 if test "${enable_official_build+set}" = set; then
11224 enableval="$enable_official_build"
11226 if test "$enableval" = yes; then
11227 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11229 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11234 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11235 if test "x$LINE" != x ; then
11236 eval "DEFAULT_$LINE"
11241 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11245 eval "$ac_cv_use_official_build"
11246 if test "$no_cache" != 1; then
11247 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11250 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11251 echo "$as_me:$LINENO: result: yes" >&5
11252 echo "${ECHO_T}yes" >&6
11254 echo "$as_me:$LINENO: result: no" >&5
11255 echo "${ECHO_T}no" >&6
11258 # Check whether --enable-vendor or --disable-vendor was given.
11259 if test "${enable_vendor+set}" = set; then
11260 enableval="$enable_vendor"
11261 VENDOR="$enableval"
11263 if test "x$VENDOR" = "x"; then
11270 echo "saving argument cache $wx_arg_cache_file"
11271 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11275 echo "$as_me:$LINENO: checking for toolkit" >&5
11276 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11278 # In Wine, we need to default to MSW, not GTK or MOTIF
11279 if test "$wxUSE_WINE" = "yes"; then
11280 DEFAULT_DEFAULT_wxUSE_GTK=0
11281 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11282 DEFAULT_DEFAULT_wxUSE_MSW=1
11287 if test "$wxUSE_GUI" = "yes"; then
11289 if test "$USE_BEOS" = 1; then
11290 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11291 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11292 { (exit 1); exit 1; }; }
11295 if test "$TOOLKIT_GIVEN" = 1; then
11296 for toolkit in `echo $ALL_TOOLKITS`; do
11298 eval "value=\$${var}"
11299 if test "x$value" = "xno"; then
11301 elif test "x$value" != "x"; then
11305 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11306 eval "wx${toolkit}_VERSION=$value"
11310 for toolkit in `echo $ALL_TOOLKITS`; do
11311 if test "$has_toolkit_in_cache" != 1; then
11312 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11314 var=DEFAULT_wxUSE_$toolkit
11316 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11317 if test "x$version" != "x"; then
11318 eval "wx${toolkit}_VERSION=$version"
11321 eval "wxUSE_$toolkit=\$${var}"
11325 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11326 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
11327 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11330 *-pc-os2_emx | *-pc-os2-emx )
11331 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11334 case "$NUM_TOOLKITS" in
11338 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11339 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11340 { (exit 1); exit 1; }; }
11343 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11344 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11345 { (exit 1); exit 1; }; }
11348 # to be removed when --disable-gtk2 isn't needed
11349 if test "x$wxUSE_GTK2" = "xyes"; then
11351 elif test "x$wxUSE_GTK2" = "xno"; then
11355 for toolkit in `echo $ALL_TOOLKITS`; do
11357 eval "value=\$${var}"
11358 if test "x$value" != x; then
11359 cache_var=CACHE_$toolkit
11360 eval "cache=\$${cache_var}"
11361 if test "$cache" = 1; then
11362 echo "$var=$value" >> ${wx_arg_cache_file}
11363 eval "version=\$wx${toolkit}_VERSION"
11364 if test "x$version" != "x"; then
11365 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11368 if test "$value" = 1; then
11369 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11370 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11371 echo "${ECHO_T}$toolkit_echo" >&6
11376 if test "x$host_alias" != "x"; then
11377 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11378 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11380 echo "$as_me:$LINENO: result: base only" >&5
11381 echo "${ECHO_T}base only" >&6
11386 doesnt_want_win32=0
11389 if test "$wxUSE_MSW" = 1 ; then
11391 BAKEFILE_FORCE_PLATFORM=win32
11393 doesnt_want_win32=1
11401 if test "$wxUSE_WINE" = "yes"; then
11405 LDFLAGS_GUI="-mwindows"
11408 if test "$wants_win32" = 1 ; then
11411 cat >>confdefs.h <<\_ACEOF
11412 #define __WIN32__ 1
11415 cat >>confdefs.h <<\_ACEOF
11416 #define __WIN95__ 1
11419 cat >>confdefs.h <<\_ACEOF
11420 #define __WINDOWS__ 1
11423 cat >>confdefs.h <<\_ACEOF
11424 #define __GNUWIN32__ 1
11427 cat >>confdefs.h <<\_ACEOF
11431 cat >>confdefs.h <<\_ACEOF
11432 #define WINVER 0x0400
11436 if test "$doesnt_want_win32" = 1 ; then
11441 if test "$USE_UNIX" = 1 ; then
11443 cat >>confdefs.h <<\_ACEOF
11450 cat >confcache <<\_ACEOF
11451 # This file is a shell script that caches the results of configure
11452 # tests run on this system so they can be shared between configure
11453 # scripts and configure runs, see configure's option --config-cache.
11454 # It is not useful on other systems. If it contains results you don't
11455 # want to keep, you may remove or edit it.
11457 # config.status only pays attention to the cache file if you give it
11458 # the --recheck option to rerun configure.
11460 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11461 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11462 # following values.
11466 # The following way of writing the cache mishandles newlines in values,
11467 # but we know of no workaround that is simple, portable, and efficient.
11468 # So, don't put newlines in cache variables' values.
11469 # Ultrix sh set writes to stderr and can't be redirected directly,
11470 # and sets the high bit in the cache file unless we assign to the vars.
11473 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11475 # `set' does not quote correctly, so add quotes (double-quote
11476 # substitution turns \\\\ into \\, and sed turns \\ into \).
11479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11482 # `set' quotes correctly as required by POSIX, so do not add quotes.
11484 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11491 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11493 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11495 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11496 if test -w $cache_file; then
11497 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11498 cat confcache >$cache_file
11500 echo "not updating unwritable cache $cache_file"
11510 ac_cpp='$CPP $CPPFLAGS'
11511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11514 if test -n "$ac_tool_prefix"; then
11515 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11516 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11517 echo "$as_me:$LINENO: checking for $ac_word" >&5
11518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11519 if test "${ac_cv_prog_CC+set}" = set; then
11520 echo $ECHO_N "(cached) $ECHO_C" >&6
11522 if test -n "$CC"; then
11523 ac_cv_prog_CC="$CC" # Let the user override the test.
11525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11526 for as_dir in $PATH
11529 test -z "$as_dir" && as_dir=.
11530 for ac_exec_ext in '' $ac_executable_extensions; do
11531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11532 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11542 if test -n "$CC"; then
11543 echo "$as_me:$LINENO: result: $CC" >&5
11544 echo "${ECHO_T}$CC" >&6
11546 echo "$as_me:$LINENO: result: no" >&5
11547 echo "${ECHO_T}no" >&6
11551 if test -z "$ac_cv_prog_CC"; then
11553 # Extract the first word of "gcc", so it can be a program name with args.
11554 set dummy gcc; ac_word=$2
11555 echo "$as_me:$LINENO: checking for $ac_word" >&5
11556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11557 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11558 echo $ECHO_N "(cached) $ECHO_C" >&6
11560 if test -n "$ac_ct_CC"; then
11561 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11564 for as_dir in $PATH
11567 test -z "$as_dir" && as_dir=.
11568 for ac_exec_ext in '' $ac_executable_extensions; do
11569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11570 ac_cv_prog_ac_ct_CC="gcc"
11571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11579 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11580 if test -n "$ac_ct_CC"; then
11581 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11582 echo "${ECHO_T}$ac_ct_CC" >&6
11584 echo "$as_me:$LINENO: result: no" >&5
11585 echo "${ECHO_T}no" >&6
11590 CC="$ac_cv_prog_CC"
11593 if test -z "$CC"; then
11594 if test -n "$ac_tool_prefix"; then
11595 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11596 set dummy ${ac_tool_prefix}cc; ac_word=$2
11597 echo "$as_me:$LINENO: checking for $ac_word" >&5
11598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11599 if test "${ac_cv_prog_CC+set}" = set; then
11600 echo $ECHO_N "(cached) $ECHO_C" >&6
11602 if test -n "$CC"; then
11603 ac_cv_prog_CC="$CC" # Let the user override the test.
11605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11606 for as_dir in $PATH
11609 test -z "$as_dir" && as_dir=.
11610 for ac_exec_ext in '' $ac_executable_extensions; do
11611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11612 ac_cv_prog_CC="${ac_tool_prefix}cc"
11613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11622 if test -n "$CC"; then
11623 echo "$as_me:$LINENO: result: $CC" >&5
11624 echo "${ECHO_T}$CC" >&6
11626 echo "$as_me:$LINENO: result: no" >&5
11627 echo "${ECHO_T}no" >&6
11631 if test -z "$ac_cv_prog_CC"; then
11633 # Extract the first word of "cc", so it can be a program name with args.
11634 set dummy cc; ac_word=$2
11635 echo "$as_me:$LINENO: checking for $ac_word" >&5
11636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11637 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11638 echo $ECHO_N "(cached) $ECHO_C" >&6
11640 if test -n "$ac_ct_CC"; then
11641 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11644 for as_dir in $PATH
11647 test -z "$as_dir" && as_dir=.
11648 for ac_exec_ext in '' $ac_executable_extensions; do
11649 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11650 ac_cv_prog_ac_ct_CC="cc"
11651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11659 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11660 if test -n "$ac_ct_CC"; then
11661 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11662 echo "${ECHO_T}$ac_ct_CC" >&6
11664 echo "$as_me:$LINENO: result: no" >&5
11665 echo "${ECHO_T}no" >&6
11670 CC="$ac_cv_prog_CC"
11674 if test -z "$CC"; then
11675 # Extract the first word of "cc", so it can be a program name with args.
11676 set dummy cc; ac_word=$2
11677 echo "$as_me:$LINENO: checking for $ac_word" >&5
11678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11679 if test "${ac_cv_prog_CC+set}" = set; then
11680 echo $ECHO_N "(cached) $ECHO_C" >&6
11682 if test -n "$CC"; then
11683 ac_cv_prog_CC="$CC" # Let the user override the test.
11685 ac_prog_rejected=no
11686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11687 for as_dir in $PATH
11690 test -z "$as_dir" && as_dir=.
11691 for ac_exec_ext in '' $ac_executable_extensions; do
11692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11693 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11694 ac_prog_rejected=yes
11698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11704 if test $ac_prog_rejected = yes; then
11705 # We found a bogon in the path, so make sure we never use it.
11706 set dummy $ac_cv_prog_CC
11708 if test $# != 0; then
11709 # We chose a different compiler from the bogus one.
11710 # However, it has the same basename, so the bogon will be chosen
11711 # first if we set CC to just the basename; use the full file name.
11713 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11719 if test -n "$CC"; then
11720 echo "$as_me:$LINENO: result: $CC" >&5
11721 echo "${ECHO_T}$CC" >&6
11723 echo "$as_me:$LINENO: result: no" >&5
11724 echo "${ECHO_T}no" >&6
11728 if test -z "$CC"; then
11729 if test -n "$ac_tool_prefix"; then
11732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11734 echo "$as_me:$LINENO: checking for $ac_word" >&5
11735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11736 if test "${ac_cv_prog_CC+set}" = set; then
11737 echo $ECHO_N "(cached) $ECHO_C" >&6
11739 if test -n "$CC"; then
11740 ac_cv_prog_CC="$CC" # Let the user override the test.
11742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11743 for as_dir in $PATH
11746 test -z "$as_dir" && as_dir=.
11747 for ac_exec_ext in '' $ac_executable_extensions; do
11748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11749 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11759 if test -n "$CC"; then
11760 echo "$as_me:$LINENO: result: $CC" >&5
11761 echo "${ECHO_T}$CC" >&6
11763 echo "$as_me:$LINENO: result: no" >&5
11764 echo "${ECHO_T}no" >&6
11767 test -n "$CC" && break
11770 if test -z "$CC"; then
11774 # Extract the first word of "$ac_prog", so it can be a program name with args.
11775 set dummy $ac_prog; ac_word=$2
11776 echo "$as_me:$LINENO: checking for $ac_word" >&5
11777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11778 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11779 echo $ECHO_N "(cached) $ECHO_C" >&6
11781 if test -n "$ac_ct_CC"; then
11782 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11785 for as_dir in $PATH
11788 test -z "$as_dir" && as_dir=.
11789 for ac_exec_ext in '' $ac_executable_extensions; do
11790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11791 ac_cv_prog_ac_ct_CC="$ac_prog"
11792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11800 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11801 if test -n "$ac_ct_CC"; then
11802 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11803 echo "${ECHO_T}$ac_ct_CC" >&6
11805 echo "$as_me:$LINENO: result: no" >&5
11806 echo "${ECHO_T}no" >&6
11809 test -n "$ac_ct_CC" && break
11818 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11819 See \`config.log' for more details." >&5
11820 echo "$as_me: error: no acceptable C compiler found in \$PATH
11821 See \`config.log' for more details." >&2;}
11822 { (exit 1); exit 1; }; }
11824 # Provide some information about the compiler.
11825 echo "$as_me:$LINENO:" \
11826 "checking for C compiler version" >&5
11827 ac_compiler=`set X $ac_compile; echo $2`
11828 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11829 (eval $ac_compiler --version </dev/null >&5) 2>&5
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); }
11833 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11834 (eval $ac_compiler -v </dev/null >&5) 2>&5
11836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11837 (exit $ac_status); }
11838 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11839 (eval $ac_compiler -V </dev/null >&5) 2>&5
11841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11842 (exit $ac_status); }
11844 cat >conftest.$ac_ext <<_ACEOF
11847 cat confdefs.h >>conftest.$ac_ext
11848 cat >>conftest.$ac_ext <<_ACEOF
11849 /* end confdefs.h. */
11859 ac_clean_files_save=$ac_clean_files
11860 ac_clean_files="$ac_clean_files a.out a.exe b.out"
11861 # Try to create an executable without -o first, disregard a.out.
11862 # It will help us diagnose broken compilers, and finding out an intuition
11864 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11865 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11866 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11867 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11868 (eval $ac_link_default) 2>&5
11870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11871 (exit $ac_status); }; then
11872 # Find the output, starting from the most likely. This scheme is
11873 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11876 # Be careful to initialize this variable, since it used to be cached.
11877 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11879 # b.out is created by i960 compilers.
11880 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11882 test -f "$ac_file" || continue
11884 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11887 # This is the source file.
11890 # We found the default executable, but exeext='' is most
11894 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11895 # FIXME: I believe we export ac_cv_exeext for Libtool,
11896 # but it would be cool to find out if it's true. Does anybody
11897 # maintain Libtool? --akim.
11898 export ac_cv_exeext
11905 echo "$as_me: failed program was:" >&5
11906 sed 's/^/| /' conftest.$ac_ext >&5
11908 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11909 See \`config.log' for more details." >&5
11910 echo "$as_me: error: C compiler cannot create executables
11911 See \`config.log' for more details." >&2;}
11912 { (exit 77); exit 77; }; }
11915 ac_exeext=$ac_cv_exeext
11916 echo "$as_me:$LINENO: result: $ac_file" >&5
11917 echo "${ECHO_T}$ac_file" >&6
11919 # Check the compiler produces executables we can run. If not, either
11920 # the compiler is broken, or we cross compile.
11921 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11922 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11923 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11924 # If not cross compiling, check that we can run a simple program.
11925 if test "$cross_compiling" != yes; then
11926 if { ac_try='./$ac_file'
11927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11928 (eval $ac_try) 2>&5
11930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11931 (exit $ac_status); }; }; then
11934 if test "$cross_compiling" = maybe; then
11935 cross_compiling=yes
11937 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11938 If you meant to cross compile, use \`--host'.
11939 See \`config.log' for more details." >&5
11940 echo "$as_me: error: cannot run C compiled programs.
11941 If you meant to cross compile, use \`--host'.
11942 See \`config.log' for more details." >&2;}
11943 { (exit 1); exit 1; }; }
11947 echo "$as_me:$LINENO: result: yes" >&5
11948 echo "${ECHO_T}yes" >&6
11950 rm -f a.out a.exe conftest$ac_cv_exeext b.out
11951 ac_clean_files=$ac_clean_files_save
11952 # Check the compiler produces executables we can run. If not, either
11953 # the compiler is broken, or we cross compile.
11954 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11955 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11956 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11957 echo "${ECHO_T}$cross_compiling" >&6
11959 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11960 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11962 (eval $ac_link) 2>&5
11964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965 (exit $ac_status); }; then
11966 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11967 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11968 # work properly (i.e., refer to `conftest.exe'), while it won't with
11970 for ac_file in conftest.exe conftest conftest.*; do
11971 test -f "$ac_file" || continue
11973 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11974 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11975 export ac_cv_exeext
11981 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11982 See \`config.log' for more details." >&5
11983 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11984 See \`config.log' for more details." >&2;}
11985 { (exit 1); exit 1; }; }
11988 rm -f conftest$ac_cv_exeext
11989 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11990 echo "${ECHO_T}$ac_cv_exeext" >&6
11992 rm -f conftest.$ac_ext
11993 EXEEXT=$ac_cv_exeext
11995 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11996 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11997 if test "${ac_cv_objext+set}" = set; then
11998 echo $ECHO_N "(cached) $ECHO_C" >&6
12000 cat >conftest.$ac_ext <<_ACEOF
12003 cat confdefs.h >>conftest.$ac_ext
12004 cat >>conftest.$ac_ext <<_ACEOF
12005 /* end confdefs.h. */
12015 rm -f conftest.o conftest.obj
12016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12017 (eval $ac_compile) 2>&5
12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020 (exit $ac_status); }; then
12021 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12023 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12024 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12029 echo "$as_me: failed program was:" >&5
12030 sed 's/^/| /' conftest.$ac_ext >&5
12032 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12033 See \`config.log' for more details." >&5
12034 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12035 See \`config.log' for more details." >&2;}
12036 { (exit 1); exit 1; }; }
12039 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12041 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12042 echo "${ECHO_T}$ac_cv_objext" >&6
12043 OBJEXT=$ac_cv_objext
12045 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12046 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12047 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12048 echo $ECHO_N "(cached) $ECHO_C" >&6
12050 cat >conftest.$ac_ext <<_ACEOF
12053 cat confdefs.h >>conftest.$ac_ext
12054 cat >>conftest.$ac_ext <<_ACEOF
12055 /* end confdefs.h. */
12068 rm -f conftest.$ac_objext
12069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12070 (eval $ac_compile) 2>conftest.er1
12072 grep -v '^ *+' conftest.er1 >conftest.err
12074 cat conftest.err >&5
12075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12076 (exit $ac_status); } &&
12077 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12079 (eval $ac_try) 2>&5
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); }; } &&
12083 { ac_try='test -s conftest.$ac_objext'
12084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12085 (eval $ac_try) 2>&5
12087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12088 (exit $ac_status); }; }; then
12089 ac_compiler_gnu=yes
12091 echo "$as_me: failed program was:" >&5
12092 sed 's/^/| /' conftest.$ac_ext >&5
12096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12097 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12100 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12101 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12102 GCC=`test $ac_compiler_gnu = yes && echo yes`
12103 ac_test_CFLAGS=${CFLAGS+set}
12104 ac_save_CFLAGS=$CFLAGS
12106 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12107 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12108 if test "${ac_cv_prog_cc_g+set}" = set; then
12109 echo $ECHO_N "(cached) $ECHO_C" >&6
12111 cat >conftest.$ac_ext <<_ACEOF
12114 cat confdefs.h >>conftest.$ac_ext
12115 cat >>conftest.$ac_ext <<_ACEOF
12116 /* end confdefs.h. */
12126 rm -f conftest.$ac_objext
12127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12128 (eval $ac_compile) 2>conftest.er1
12130 grep -v '^ *+' conftest.er1 >conftest.err
12132 cat conftest.err >&5
12133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12134 (exit $ac_status); } &&
12135 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12137 (eval $ac_try) 2>&5
12139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12140 (exit $ac_status); }; } &&
12141 { ac_try='test -s conftest.$ac_objext'
12142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12143 (eval $ac_try) 2>&5
12145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12146 (exit $ac_status); }; }; then
12147 ac_cv_prog_cc_g=yes
12149 echo "$as_me: failed program was:" >&5
12150 sed 's/^/| /' conftest.$ac_ext >&5
12154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12156 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12157 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12158 if test "$ac_test_CFLAGS" = set; then
12159 CFLAGS=$ac_save_CFLAGS
12160 elif test $ac_cv_prog_cc_g = yes; then
12161 if test "$GCC" = yes; then
12167 if test "$GCC" = yes; then
12173 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12174 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12175 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12176 echo $ECHO_N "(cached) $ECHO_C" >&6
12178 ac_cv_prog_cc_stdc=no
12180 cat >conftest.$ac_ext <<_ACEOF
12183 cat confdefs.h >>conftest.$ac_ext
12184 cat >>conftest.$ac_ext <<_ACEOF
12185 /* end confdefs.h. */
12186 #include <stdarg.h>
12188 #include <sys/types.h>
12189 #include <sys/stat.h>
12190 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12191 struct buf { int x; };
12192 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12193 static char *e (p, i)
12199 static char *f (char * (*g) (char **, int), char **p, ...)
12204 s = g (p, va_arg (v,int));
12209 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12210 function prototypes and stuff, but not '\xHH' hex character constants.
12211 These don't provoke an error unfortunately, instead are silently treated
12212 as 'x'. The following induces an error, until -std1 is added to get
12213 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12214 array size at least. It's necessary to write '\x00'==0 to get something
12215 that's true only with -std1. */
12216 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12218 int test (int i, double x);
12219 struct s1 {int (*f) (int a);};
12220 struct s2 {int (*f) (double a);};
12221 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12227 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12232 # Don't try gcc -ansi; that turns off useful extensions and
12233 # breaks some systems' header files.
12234 # AIX -qlanglvl=ansi
12235 # Ultrix and OSF/1 -std1
12236 # HP-UX 10.20 and later -Ae
12237 # HP-UX older versions -Aa -D_HPUX_SOURCE
12238 # SVR4 -Xc -D__EXTENSIONS__
12239 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12241 CC="$ac_save_CC $ac_arg"
12242 rm -f conftest.$ac_objext
12243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12244 (eval $ac_compile) 2>conftest.er1
12246 grep -v '^ *+' conftest.er1 >conftest.err
12248 cat conftest.err >&5
12249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12250 (exit $ac_status); } &&
12251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12253 (eval $ac_try) 2>&5
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); }; } &&
12257 { ac_try='test -s conftest.$ac_objext'
12258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12259 (eval $ac_try) 2>&5
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); }; }; then
12263 ac_cv_prog_cc_stdc=$ac_arg
12266 echo "$as_me: failed program was:" >&5
12267 sed 's/^/| /' conftest.$ac_ext >&5
12270 rm -f conftest.err conftest.$ac_objext
12272 rm -f conftest.$ac_ext conftest.$ac_objext
12277 case "x$ac_cv_prog_cc_stdc" in
12279 echo "$as_me:$LINENO: result: none needed" >&5
12280 echo "${ECHO_T}none needed" >&6 ;;
12282 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12283 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12284 CC="$CC $ac_cv_prog_cc_stdc" ;;
12287 # Some people use a C++ compiler to compile C. Since we use `exit',
12288 # in C++ we need to declare it. In case someone uses the same compiler
12289 # for both compiling C and C++ we need to have the C++ compiler decide
12290 # the declaration of exit, since it's the most demanding environment.
12291 cat >conftest.$ac_ext <<_ACEOF
12292 #ifndef __cplusplus
12296 rm -f conftest.$ac_objext
12297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12298 (eval $ac_compile) 2>conftest.er1
12300 grep -v '^ *+' conftest.er1 >conftest.err
12302 cat conftest.err >&5
12303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304 (exit $ac_status); } &&
12305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12307 (eval $ac_try) 2>&5
12309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12310 (exit $ac_status); }; } &&
12311 { ac_try='test -s conftest.$ac_objext'
12312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12313 (eval $ac_try) 2>&5
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); }; }; then
12317 for ac_declaration in \
12319 'extern "C" void std::exit (int) throw (); using std::exit;' \
12320 'extern "C" void std::exit (int); using std::exit;' \
12321 'extern "C" void exit (int) throw ();' \
12322 'extern "C" void exit (int);' \
12325 cat >conftest.$ac_ext <<_ACEOF
12328 cat confdefs.h >>conftest.$ac_ext
12329 cat >>conftest.$ac_ext <<_ACEOF
12330 /* end confdefs.h. */
12332 #include <stdlib.h>
12341 rm -f conftest.$ac_objext
12342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12343 (eval $ac_compile) 2>conftest.er1
12345 grep -v '^ *+' conftest.er1 >conftest.err
12347 cat conftest.err >&5
12348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12349 (exit $ac_status); } &&
12350 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12352 (eval $ac_try) 2>&5
12354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12355 (exit $ac_status); }; } &&
12356 { ac_try='test -s conftest.$ac_objext'
12357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12358 (eval $ac_try) 2>&5
12360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12361 (exit $ac_status); }; }; then
12364 echo "$as_me: failed program was:" >&5
12365 sed 's/^/| /' conftest.$ac_ext >&5
12369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12370 cat >conftest.$ac_ext <<_ACEOF
12373 cat confdefs.h >>conftest.$ac_ext
12374 cat >>conftest.$ac_ext <<_ACEOF
12375 /* end confdefs.h. */
12385 rm -f conftest.$ac_objext
12386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12387 (eval $ac_compile) 2>conftest.er1
12389 grep -v '^ *+' conftest.er1 >conftest.err
12391 cat conftest.err >&5
12392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12393 (exit $ac_status); } &&
12394 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12396 (eval $ac_try) 2>&5
12398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12399 (exit $ac_status); }; } &&
12400 { ac_try='test -s conftest.$ac_objext'
12401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12402 (eval $ac_try) 2>&5
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); }; }; then
12408 echo "$as_me: failed program was:" >&5
12409 sed 's/^/| /' conftest.$ac_ext >&5
12412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12415 if test -n "$ac_declaration"; then
12416 echo '#ifdef __cplusplus' >>confdefs.h
12417 echo $ac_declaration >>confdefs.h
12418 echo '#endif' >>confdefs.h
12422 echo "$as_me: failed program was:" >&5
12423 sed 's/^/| /' conftest.$ac_ext >&5
12426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12428 ac_cpp='$CPP $CPPFLAGS'
12429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12436 ac_cpp='$CPP $CPPFLAGS'
12437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12441 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12442 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12443 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12444 echo $ECHO_N "(cached) $ECHO_C" >&6
12446 cat >conftest.$ac_ext <<_ACEOF
12449 cat confdefs.h >>conftest.$ac_ext
12450 cat >>conftest.$ac_ext <<_ACEOF
12451 /* end confdefs.h. */
12457 #ifndef __INTEL_COMPILER
12465 rm -f conftest.$ac_objext
12466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12467 (eval $ac_compile) 2>conftest.er1
12469 grep -v '^ *+' conftest.er1 >conftest.err
12471 cat conftest.err >&5
12472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12473 (exit $ac_status); } &&
12474 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12476 (eval $ac_try) 2>&5
12478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 (exit $ac_status); }; } &&
12480 { ac_try='test -s conftest.$ac_objext'
12481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12482 (eval $ac_try) 2>&5
12484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12485 (exit $ac_status); }; }; then
12486 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12488 echo "$as_me: failed program was:" >&5
12489 sed 's/^/| /' conftest.$ac_ext >&5
12491 bakefile_cv_c_compiler___INTEL_COMPILER=no
12494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12498 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12499 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12501 ac_cpp='$CPP $CPPFLAGS'
12502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12506 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12513 if test "x$GCC" != "xyes"; then
12514 if test "xCC" = "xC"; then
12515 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12516 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12517 if test "${bakefile_cv_c_exto+set}" = set; then
12518 echo $ECHO_N "(cached) $ECHO_C" >&6
12520 cat >conftest.$ac_ext <<_ACEOF
12523 cat confdefs.h >>conftest.$ac_ext
12524 cat >>conftest.$ac_ext <<_ACEOF
12525 /* end confdefs.h. */
12535 rm -f conftest.$ac_objext conftest.$ac_ext.o
12536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12537 (eval $ac_compile) 2>&5
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); }; then
12541 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12543 conftest.$ac_ext.o)
12544 bakefile_cv_c_exto="-ext o"
12551 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12552 See \`config.log' for more details." >&5
12553 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12554 See \`config.log' for more details." >&2;}
12555 { (exit 1); exit 1; }; }
12559 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12562 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12563 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12564 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12565 if test "c" = "c"; then
12566 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
12568 if test "c" = "cxx"; then
12569 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
12573 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12574 unset ac_cv_prog_cc_g
12575 ac_test_CFLAGS=${CFLAGS+set}
12576 ac_save_CFLAGS=$CFLAGS
12578 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12579 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12580 if test "${ac_cv_prog_cc_g+set}" = set; then
12581 echo $ECHO_N "(cached) $ECHO_C" >&6
12583 cat >conftest.$ac_ext <<_ACEOF
12586 cat confdefs.h >>conftest.$ac_ext
12587 cat >>conftest.$ac_ext <<_ACEOF
12588 /* end confdefs.h. */
12598 rm -f conftest.$ac_objext
12599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12600 (eval $ac_compile) 2>conftest.er1
12602 grep -v '^ *+' conftest.er1 >conftest.err
12604 cat conftest.err >&5
12605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12606 (exit $ac_status); } &&
12607 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12609 (eval $ac_try) 2>&5
12611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12612 (exit $ac_status); }; } &&
12613 { ac_try='test -s conftest.$ac_objext'
12614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12615 (eval $ac_try) 2>&5
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); }; }; then
12619 ac_cv_prog_cc_g=yes
12621 echo "$as_me: failed program was:" >&5
12622 sed 's/^/| /' conftest.$ac_ext >&5
12626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12628 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12629 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12630 if test "$ac_test_CFLAGS" = set; then
12631 CFLAGS=$ac_save_CFLAGS
12632 elif test $ac_cv_prog_cc_g = yes; then
12633 if test "$GCC" = yes; then
12639 if test "$GCC" = yes; then
12651 ac_cpp='$CPP $CPPFLAGS'
12652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12656 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12657 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12658 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12659 echo $ECHO_N "(cached) $ECHO_C" >&6
12661 cat >conftest.$ac_ext <<_ACEOF
12664 cat confdefs.h >>conftest.$ac_ext
12665 cat >>conftest.$ac_ext <<_ACEOF
12666 /* end confdefs.h. */
12679 rm -f conftest.$ac_objext
12680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12681 (eval $ac_compile) 2>conftest.er1
12683 grep -v '^ *+' conftest.er1 >conftest.err
12685 cat conftest.err >&5
12686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12687 (exit $ac_status); } &&
12688 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12690 (eval $ac_try) 2>&5
12692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12693 (exit $ac_status); }; } &&
12694 { ac_try='test -s conftest.$ac_objext'
12695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12696 (eval $ac_try) 2>&5
12698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12699 (exit $ac_status); }; }; then
12700 bakefile_compiler_xlc=yes
12702 echo "$as_me: failed program was:" >&5
12703 sed 's/^/| /' conftest.$ac_ext >&5
12705 bakefile_compiler_xlc=no
12707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12708 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12711 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12712 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12714 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12716 ac_cpp='$CPP $CPPFLAGS'
12717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12726 ac_cpp='$CPP $CPPFLAGS'
12727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12731 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12732 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12733 if test "${bakefile_cv_c_compiler_mwerks+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. */
12754 rm -f conftest.$ac_objext
12755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12756 (eval $ac_compile) 2>conftest.er1
12758 grep -v '^ *+' conftest.er1 >conftest.err
12760 cat conftest.err >&5
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); } &&
12763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12765 (eval $ac_try) 2>&5
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); }; } &&
12769 { ac_try='test -s conftest.$ac_objext'
12770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12771 (eval $ac_try) 2>&5
12773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); }; }; then
12775 bakefile_compiler_mwerks=yes
12777 echo "$as_me: failed program was:" >&5
12778 sed 's/^/| /' conftest.$ac_ext >&5
12780 bakefile_compiler_mwerks=no
12782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12783 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
12786 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12787 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12789 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12791 ac_cpp='$CPP $CPPFLAGS'
12792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12798 ac_cpp='$CPP $CPPFLAGS'
12799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12803 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12804 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12805 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12806 echo $ECHO_N "(cached) $ECHO_C" >&6
12808 cat >conftest.$ac_ext <<_ACEOF
12811 cat confdefs.h >>conftest.$ac_ext
12812 cat >>conftest.$ac_ext <<_ACEOF
12813 /* end confdefs.h. */
12826 rm -f conftest.$ac_objext
12827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12828 (eval $ac_compile) 2>conftest.er1
12830 grep -v '^ *+' conftest.er1 >conftest.err
12832 cat conftest.err >&5
12833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12834 (exit $ac_status); } &&
12835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12837 (eval $ac_try) 2>&5
12839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12840 (exit $ac_status); }; } &&
12841 { ac_try='test -s conftest.$ac_objext'
12842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12843 (eval $ac_try) 2>&5
12845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 (exit $ac_status); }; }; then
12847 bakefile_compiler_xlc=yes
12849 echo "$as_me: failed program was:" >&5
12850 sed 's/^/| /' conftest.$ac_ext >&5
12852 bakefile_compiler_xlc=no
12854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12855 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12858 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12859 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12861 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12863 ac_cpp='$CPP $CPPFLAGS'
12864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12875 ac_cpp='$CPP $CPPFLAGS'
12876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12880 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12881 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12882 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12883 echo $ECHO_N "(cached) $ECHO_C" >&6
12885 cat >conftest.$ac_ext <<_ACEOF
12888 cat confdefs.h >>conftest.$ac_ext
12889 cat >>conftest.$ac_ext <<_ACEOF
12890 /* end confdefs.h. */
12896 #ifndef _SGI_COMPILER_VERSION
12904 rm -f conftest.$ac_objext
12905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12906 (eval $ac_compile) 2>conftest.er1
12908 grep -v '^ *+' conftest.er1 >conftest.err
12910 cat conftest.err >&5
12911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912 (exit $ac_status); } &&
12913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12915 (eval $ac_try) 2>&5
12917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12918 (exit $ac_status); }; } &&
12919 { ac_try='test -s conftest.$ac_objext'
12920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12921 (eval $ac_try) 2>&5
12923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12924 (exit $ac_status); }; }; then
12925 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
12927 echo "$as_me: failed program was:" >&5
12928 sed 's/^/| /' conftest.$ac_ext >&5
12930 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
12933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12937 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12938 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12940 ac_cpp='$CPP $CPPFLAGS'
12941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12945 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12958 ac_cpp='$CPP $CPPFLAGS'
12959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12963 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12964 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12965 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12966 echo $ECHO_N "(cached) $ECHO_C" >&6
12968 cat >conftest.$ac_ext <<_ACEOF
12971 cat confdefs.h >>conftest.$ac_ext
12972 cat >>conftest.$ac_ext <<_ACEOF
12973 /* end confdefs.h. */
12987 rm -f conftest.$ac_objext
12988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12989 (eval $ac_compile) 2>conftest.er1
12991 grep -v '^ *+' conftest.er1 >conftest.err
12993 cat conftest.err >&5
12994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 (exit $ac_status); } &&
12996 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12998 (eval $ac_try) 2>&5
13000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13001 (exit $ac_status); }; } &&
13002 { ac_try='test -s conftest.$ac_objext'
13003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13004 (eval $ac_try) 2>&5
13006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13007 (exit $ac_status); }; }; then
13008 bakefile_cv_c_compiler___HP_cc=yes
13010 echo "$as_me: failed program was:" >&5
13011 sed 's/^/| /' conftest.$ac_ext >&5
13013 bakefile_cv_c_compiler___HP_cc=no
13016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13020 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13021 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13023 ac_cpp='$CPP $CPPFLAGS'
13024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13028 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13041 ac_cpp='$CPP $CPPFLAGS'
13042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13046 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13047 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13048 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13049 echo $ECHO_N "(cached) $ECHO_C" >&6
13051 cat >conftest.$ac_ext <<_ACEOF
13054 cat confdefs.h >>conftest.$ac_ext
13055 cat >>conftest.$ac_ext <<_ACEOF
13056 /* end confdefs.h. */
13070 rm -f conftest.$ac_objext
13071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13072 (eval $ac_compile) 2>conftest.er1
13074 grep -v '^ *+' conftest.er1 >conftest.err
13076 cat conftest.err >&5
13077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13078 (exit $ac_status); } &&
13079 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13081 (eval $ac_try) 2>&5
13083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13084 (exit $ac_status); }; } &&
13085 { ac_try='test -s conftest.$ac_objext'
13086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13087 (eval $ac_try) 2>&5
13089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13090 (exit $ac_status); }; }; then
13091 bakefile_cv_c_compiler___DECC=yes
13093 echo "$as_me: failed program was:" >&5
13094 sed 's/^/| /' conftest.$ac_ext >&5
13096 bakefile_cv_c_compiler___DECC=no
13099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13103 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13104 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13106 ac_cpp='$CPP $CPPFLAGS'
13107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13111 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13124 ac_cpp='$CPP $CPPFLAGS'
13125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13129 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13130 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13131 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13132 echo $ECHO_N "(cached) $ECHO_C" >&6
13134 cat >conftest.$ac_ext <<_ACEOF
13137 cat confdefs.h >>conftest.$ac_ext
13138 cat >>conftest.$ac_ext <<_ACEOF
13139 /* end confdefs.h. */
13153 rm -f conftest.$ac_objext
13154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13155 (eval $ac_compile) 2>conftest.er1
13157 grep -v '^ *+' conftest.er1 >conftest.err
13159 cat conftest.err >&5
13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161 (exit $ac_status); } &&
13162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13164 (eval $ac_try) 2>&5
13166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13167 (exit $ac_status); }; } &&
13168 { ac_try='test -s conftest.$ac_objext'
13169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13170 (eval $ac_try) 2>&5
13172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13173 (exit $ac_status); }; }; then
13174 bakefile_cv_c_compiler___SUNPRO_C=yes
13176 echo "$as_me: failed program was:" >&5
13177 sed 's/^/| /' conftest.$ac_ext >&5
13179 bakefile_cv_c_compiler___SUNPRO_C=no
13182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13186 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13187 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13189 ac_cpp='$CPP $CPPFLAGS'
13190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13194 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13208 ac_cpp='$CPP $CPPFLAGS'
13209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13212 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13213 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13214 # On Suns, sometimes $CPP names a directory.
13215 if test -n "$CPP" && test -d "$CPP"; then
13218 if test -z "$CPP"; then
13219 if test "${ac_cv_prog_CPP+set}" = set; then
13220 echo $ECHO_N "(cached) $ECHO_C" >&6
13222 # Double quotes because CPP needs to be expanded
13223 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13225 ac_preproc_ok=false
13226 for ac_c_preproc_warn_flag in '' yes
13228 # Use a header file that comes with gcc, so configuring glibc
13229 # with a fresh cross-compiler works.
13230 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13231 # <limits.h> exists even on freestanding compilers.
13232 # On the NeXT, cc -E runs the code through the compiler's parser,
13233 # not just through cpp. "Syntax error" is here to catch this case.
13234 cat >conftest.$ac_ext <<_ACEOF
13237 cat confdefs.h >>conftest.$ac_ext
13238 cat >>conftest.$ac_ext <<_ACEOF
13239 /* end confdefs.h. */
13241 # include <limits.h>
13243 # include <assert.h>
13247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13248 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13250 grep -v '^ *+' conftest.er1 >conftest.err
13252 cat conftest.err >&5
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); } >/dev/null; then
13255 if test -s conftest.err; then
13256 ac_cpp_err=$ac_c_preproc_warn_flag
13257 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13264 if test -z "$ac_cpp_err"; then
13267 echo "$as_me: failed program was:" >&5
13268 sed 's/^/| /' conftest.$ac_ext >&5
13270 # Broken: fails on valid input.
13273 rm -f conftest.err conftest.$ac_ext
13275 # OK, works on sane cases. Now check whether non-existent headers
13276 # can be detected and how.
13277 cat >conftest.$ac_ext <<_ACEOF
13280 cat confdefs.h >>conftest.$ac_ext
13281 cat >>conftest.$ac_ext <<_ACEOF
13282 /* end confdefs.h. */
13283 #include <ac_nonexistent.h>
13285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13286 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13288 grep -v '^ *+' conftest.er1 >conftest.err
13290 cat conftest.err >&5
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); } >/dev/null; then
13293 if test -s conftest.err; then
13294 ac_cpp_err=$ac_c_preproc_warn_flag
13295 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13302 if test -z "$ac_cpp_err"; then
13303 # Broken: success on invalid input.
13306 echo "$as_me: failed program was:" >&5
13307 sed 's/^/| /' conftest.$ac_ext >&5
13309 # Passes both tests.
13313 rm -f conftest.err conftest.$ac_ext
13316 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13317 rm -f conftest.err conftest.$ac_ext
13318 if $ac_preproc_ok; then
13323 ac_cv_prog_CPP=$CPP
13326 CPP=$ac_cv_prog_CPP
13328 ac_cv_prog_CPP=$CPP
13330 echo "$as_me:$LINENO: result: $CPP" >&5
13331 echo "${ECHO_T}$CPP" >&6
13332 ac_preproc_ok=false
13333 for ac_c_preproc_warn_flag in '' yes
13335 # Use a header file that comes with gcc, so configuring glibc
13336 # with a fresh cross-compiler works.
13337 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13338 # <limits.h> exists even on freestanding compilers.
13339 # On the NeXT, cc -E runs the code through the compiler's parser,
13340 # not just through cpp. "Syntax error" is here to catch this case.
13341 cat >conftest.$ac_ext <<_ACEOF
13344 cat confdefs.h >>conftest.$ac_ext
13345 cat >>conftest.$ac_ext <<_ACEOF
13346 /* end confdefs.h. */
13348 # include <limits.h>
13350 # include <assert.h>
13354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13355 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13357 grep -v '^ *+' conftest.er1 >conftest.err
13359 cat conftest.err >&5
13360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13361 (exit $ac_status); } >/dev/null; then
13362 if test -s conftest.err; then
13363 ac_cpp_err=$ac_c_preproc_warn_flag
13364 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13371 if test -z "$ac_cpp_err"; then
13374 echo "$as_me: failed program was:" >&5
13375 sed 's/^/| /' conftest.$ac_ext >&5
13377 # Broken: fails on valid input.
13380 rm -f conftest.err conftest.$ac_ext
13382 # OK, works on sane cases. Now check whether non-existent headers
13383 # can be detected and how.
13384 cat >conftest.$ac_ext <<_ACEOF
13387 cat confdefs.h >>conftest.$ac_ext
13388 cat >>conftest.$ac_ext <<_ACEOF
13389 /* end confdefs.h. */
13390 #include <ac_nonexistent.h>
13392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13393 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13395 grep -v '^ *+' conftest.er1 >conftest.err
13397 cat conftest.err >&5
13398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13399 (exit $ac_status); } >/dev/null; then
13400 if test -s conftest.err; then
13401 ac_cpp_err=$ac_c_preproc_warn_flag
13402 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13409 if test -z "$ac_cpp_err"; then
13410 # Broken: success on invalid input.
13413 echo "$as_me: failed program was:" >&5
13414 sed 's/^/| /' conftest.$ac_ext >&5
13416 # Passes both tests.
13420 rm -f conftest.err conftest.$ac_ext
13423 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13424 rm -f conftest.err conftest.$ac_ext
13425 if $ac_preproc_ok; then
13428 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13429 See \`config.log' for more details." >&5
13430 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13431 See \`config.log' for more details." >&2;}
13432 { (exit 1); exit 1; }; }
13436 ac_cpp='$CPP $CPPFLAGS'
13437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13442 echo "$as_me:$LINENO: checking for egrep" >&5
13443 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13444 if test "${ac_cv_prog_egrep+set}" = set; then
13445 echo $ECHO_N "(cached) $ECHO_C" >&6
13447 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13448 then ac_cv_prog_egrep='grep -E'
13449 else ac_cv_prog_egrep='egrep'
13452 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13453 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13454 EGREP=$ac_cv_prog_egrep
13457 if test $ac_cv_c_compiler_gnu = yes; then
13458 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13459 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13460 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13461 echo $ECHO_N "(cached) $ECHO_C" >&6
13463 ac_pattern="Autoconf.*'x'"
13464 cat >conftest.$ac_ext <<_ACEOF
13467 cat confdefs.h >>conftest.$ac_ext
13468 cat >>conftest.$ac_ext <<_ACEOF
13469 /* end confdefs.h. */
13473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13474 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13475 ac_cv_prog_gcc_traditional=yes
13477 ac_cv_prog_gcc_traditional=no
13482 if test $ac_cv_prog_gcc_traditional = no; then
13483 cat >conftest.$ac_ext <<_ACEOF
13486 cat confdefs.h >>conftest.$ac_ext
13487 cat >>conftest.$ac_ext <<_ACEOF
13488 /* end confdefs.h. */
13489 #include <termio.h>
13492 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13493 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13494 ac_cv_prog_gcc_traditional=yes
13500 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13501 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13502 if test $ac_cv_prog_gcc_traditional = yes; then
13503 CC="$CC -traditional"
13509 ac_cpp='$CXXCPP $CPPFLAGS'
13510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13515 CXXFLAGS=${CXXFLAGS:=}
13520 ac_cpp='$CXXCPP $CPPFLAGS'
13521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13524 if test -n "$ac_tool_prefix"; then
13525 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13527 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13528 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13529 echo "$as_me:$LINENO: checking for $ac_word" >&5
13530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13531 if test "${ac_cv_prog_CXX+set}" = set; then
13532 echo $ECHO_N "(cached) $ECHO_C" >&6
13534 if test -n "$CXX"; then
13535 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13538 for as_dir in $PATH
13541 test -z "$as_dir" && as_dir=.
13542 for ac_exec_ext in '' $ac_executable_extensions; do
13543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13544 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13553 CXX=$ac_cv_prog_CXX
13554 if test -n "$CXX"; then
13555 echo "$as_me:$LINENO: result: $CXX" >&5
13556 echo "${ECHO_T}$CXX" >&6
13558 echo "$as_me:$LINENO: result: no" >&5
13559 echo "${ECHO_T}no" >&6
13562 test -n "$CXX" && break
13565 if test -z "$CXX"; then
13567 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13569 # Extract the first word of "$ac_prog", so it can be a program name with args.
13570 set dummy $ac_prog; ac_word=$2
13571 echo "$as_me:$LINENO: checking for $ac_word" >&5
13572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13573 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13574 echo $ECHO_N "(cached) $ECHO_C" >&6
13576 if test -n "$ac_ct_CXX"; then
13577 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13580 for as_dir in $PATH
13583 test -z "$as_dir" && as_dir=.
13584 for ac_exec_ext in '' $ac_executable_extensions; do
13585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13586 ac_cv_prog_ac_ct_CXX="$ac_prog"
13587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13595 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13596 if test -n "$ac_ct_CXX"; then
13597 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13598 echo "${ECHO_T}$ac_ct_CXX" >&6
13600 echo "$as_me:$LINENO: result: no" >&5
13601 echo "${ECHO_T}no" >&6
13604 test -n "$ac_ct_CXX" && break
13606 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
13612 # Provide some information about the compiler.
13613 echo "$as_me:$LINENO:" \
13614 "checking for C++ compiler version" >&5
13615 ac_compiler=`set X $ac_compile; echo $2`
13616 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13617 (eval $ac_compiler --version </dev/null >&5) 2>&5
13619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13620 (exit $ac_status); }
13621 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13622 (eval $ac_compiler -v </dev/null >&5) 2>&5
13624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13625 (exit $ac_status); }
13626 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13627 (eval $ac_compiler -V </dev/null >&5) 2>&5
13629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13630 (exit $ac_status); }
13632 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13633 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13634 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13635 echo $ECHO_N "(cached) $ECHO_C" >&6
13637 cat >conftest.$ac_ext <<_ACEOF
13640 cat confdefs.h >>conftest.$ac_ext
13641 cat >>conftest.$ac_ext <<_ACEOF
13642 /* end confdefs.h. */
13655 rm -f conftest.$ac_objext
13656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13657 (eval $ac_compile) 2>conftest.er1
13659 grep -v '^ *+' conftest.er1 >conftest.err
13661 cat conftest.err >&5
13662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13663 (exit $ac_status); } &&
13664 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13666 (eval $ac_try) 2>&5
13668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669 (exit $ac_status); }; } &&
13670 { ac_try='test -s conftest.$ac_objext'
13671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13672 (eval $ac_try) 2>&5
13674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675 (exit $ac_status); }; }; then
13676 ac_compiler_gnu=yes
13678 echo "$as_me: failed program was:" >&5
13679 sed 's/^/| /' conftest.$ac_ext >&5
13683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13684 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13687 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13688 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13689 GXX=`test $ac_compiler_gnu = yes && echo yes`
13690 ac_test_CXXFLAGS=${CXXFLAGS+set}
13691 ac_save_CXXFLAGS=$CXXFLAGS
13693 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13694 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13695 if test "${ac_cv_prog_cxx_g+set}" = set; then
13696 echo $ECHO_N "(cached) $ECHO_C" >&6
13698 cat >conftest.$ac_ext <<_ACEOF
13701 cat confdefs.h >>conftest.$ac_ext
13702 cat >>conftest.$ac_ext <<_ACEOF
13703 /* end confdefs.h. */
13713 rm -f conftest.$ac_objext
13714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13715 (eval $ac_compile) 2>conftest.er1
13717 grep -v '^ *+' conftest.er1 >conftest.err
13719 cat conftest.err >&5
13720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13721 (exit $ac_status); } &&
13722 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13724 (eval $ac_try) 2>&5
13726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13727 (exit $ac_status); }; } &&
13728 { ac_try='test -s conftest.$ac_objext'
13729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13730 (eval $ac_try) 2>&5
13732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13733 (exit $ac_status); }; }; then
13734 ac_cv_prog_cxx_g=yes
13736 echo "$as_me: failed program was:" >&5
13737 sed 's/^/| /' conftest.$ac_ext >&5
13739 ac_cv_prog_cxx_g=no
13741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13743 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13744 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13745 if test "$ac_test_CXXFLAGS" = set; then
13746 CXXFLAGS=$ac_save_CXXFLAGS
13747 elif test $ac_cv_prog_cxx_g = yes; then
13748 if test "$GXX" = yes; then
13754 if test "$GXX" = yes; then
13760 for ac_declaration in \
13762 'extern "C" void std::exit (int) throw (); using std::exit;' \
13763 'extern "C" void std::exit (int); using std::exit;' \
13764 'extern "C" void exit (int) throw ();' \
13765 'extern "C" void exit (int);' \
13768 cat >conftest.$ac_ext <<_ACEOF
13771 cat confdefs.h >>conftest.$ac_ext
13772 cat >>conftest.$ac_ext <<_ACEOF
13773 /* end confdefs.h. */
13775 #include <stdlib.h>
13784 rm -f conftest.$ac_objext
13785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13786 (eval $ac_compile) 2>conftest.er1
13788 grep -v '^ *+' conftest.er1 >conftest.err
13790 cat conftest.err >&5
13791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 (exit $ac_status); } &&
13793 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13795 (eval $ac_try) 2>&5
13797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13798 (exit $ac_status); }; } &&
13799 { ac_try='test -s conftest.$ac_objext'
13800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13801 (eval $ac_try) 2>&5
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 (exit $ac_status); }; }; then
13807 echo "$as_me: failed program was:" >&5
13808 sed 's/^/| /' conftest.$ac_ext >&5
13812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13813 cat >conftest.$ac_ext <<_ACEOF
13816 cat confdefs.h >>conftest.$ac_ext
13817 cat >>conftest.$ac_ext <<_ACEOF
13818 /* end confdefs.h. */
13828 rm -f conftest.$ac_objext
13829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13830 (eval $ac_compile) 2>conftest.er1
13832 grep -v '^ *+' conftest.er1 >conftest.err
13834 cat conftest.err >&5
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 (exit $ac_status); } &&
13837 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13839 (eval $ac_try) 2>&5
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); }; } &&
13843 { ac_try='test -s conftest.$ac_objext'
13844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13845 (eval $ac_try) 2>&5
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 (exit $ac_status); }; }; then
13851 echo "$as_me: failed program was:" >&5
13852 sed 's/^/| /' conftest.$ac_ext >&5
13855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13858 if test -n "$ac_declaration"; then
13859 echo '#ifdef __cplusplus' >>confdefs.h
13860 echo $ac_declaration >>confdefs.h
13861 echo '#endif' >>confdefs.h
13865 ac_cpp='$CXXCPP $CPPFLAGS'
13866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13873 ac_cpp='$CXXCPP $CPPFLAGS'
13874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13878 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13879 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13880 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13881 echo $ECHO_N "(cached) $ECHO_C" >&6
13883 cat >conftest.$ac_ext <<_ACEOF
13886 cat confdefs.h >>conftest.$ac_ext
13887 cat >>conftest.$ac_ext <<_ACEOF
13888 /* end confdefs.h. */
13894 #ifndef __INTEL_COMPILER
13902 rm -f conftest.$ac_objext
13903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13904 (eval $ac_compile) 2>conftest.er1
13906 grep -v '^ *+' conftest.er1 >conftest.err
13908 cat conftest.err >&5
13909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13910 (exit $ac_status); } &&
13911 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13913 (eval $ac_try) 2>&5
13915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916 (exit $ac_status); }; } &&
13917 { ac_try='test -s conftest.$ac_objext'
13918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13919 (eval $ac_try) 2>&5
13921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13922 (exit $ac_status); }; }; then
13923 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
13925 echo "$as_me: failed program was:" >&5
13926 sed 's/^/| /' conftest.$ac_ext >&5
13928 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
13931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13935 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13936 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13938 ac_cpp='$CXXCPP $CPPFLAGS'
13939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13943 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13950 if test "x$GCXX" != "xyes"; then
13951 if test "xCXX" = "xC"; then
13952 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13953 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13954 if test "${bakefile_cv_cxx_exto+set}" = set; then
13955 echo $ECHO_N "(cached) $ECHO_C" >&6
13957 cat >conftest.$ac_ext <<_ACEOF
13960 cat confdefs.h >>conftest.$ac_ext
13961 cat >>conftest.$ac_ext <<_ACEOF
13962 /* end confdefs.h. */
13972 rm -f conftest.$ac_objext conftest.$ac_ext.o
13973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13974 (eval $ac_compile) 2>&5
13976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13977 (exit $ac_status); }; then
13978 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13980 conftest.$ac_ext.o)
13981 bakefile_cv_cxx_exto="-ext o"
13988 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13989 See \`config.log' for more details." >&5
13990 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13991 See \`config.log' for more details." >&2;}
13992 { (exit 1); exit 1; }; }
13996 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13999 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14000 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14001 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14002 if test "cxx" = "c"; then
14003 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
14005 if test "cxx" = "cxx"; then
14006 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
14010 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14011 unset ac_cv_prog_cc_g
14012 ac_test_CFLAGS=${CFLAGS+set}
14013 ac_save_CFLAGS=$CFLAGS
14015 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14016 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14017 if test "${ac_cv_prog_cc_g+set}" = set; then
14018 echo $ECHO_N "(cached) $ECHO_C" >&6
14020 cat >conftest.$ac_ext <<_ACEOF
14023 cat confdefs.h >>conftest.$ac_ext
14024 cat >>conftest.$ac_ext <<_ACEOF
14025 /* end confdefs.h. */
14035 rm -f conftest.$ac_objext
14036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14037 (eval $ac_compile) 2>conftest.er1
14039 grep -v '^ *+' conftest.er1 >conftest.err
14041 cat conftest.err >&5
14042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043 (exit $ac_status); } &&
14044 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14046 (eval $ac_try) 2>&5
14048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14049 (exit $ac_status); }; } &&
14050 { ac_try='test -s conftest.$ac_objext'
14051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14052 (eval $ac_try) 2>&5
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); }; }; then
14056 ac_cv_prog_cc_g=yes
14058 echo "$as_me: failed program was:" >&5
14059 sed 's/^/| /' conftest.$ac_ext >&5
14063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14065 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14066 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14067 if test "$ac_test_CFLAGS" = set; then
14068 CFLAGS=$ac_save_CFLAGS
14069 elif test $ac_cv_prog_cc_g = yes; then
14070 if test "$GCC" = yes; then
14076 if test "$GCC" = yes; then
14088 ac_cpp='$CXXCPP $CPPFLAGS'
14089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14093 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14094 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14095 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14096 echo $ECHO_N "(cached) $ECHO_C" >&6
14098 cat >conftest.$ac_ext <<_ACEOF
14101 cat confdefs.h >>conftest.$ac_ext
14102 cat >>conftest.$ac_ext <<_ACEOF
14103 /* end confdefs.h. */
14116 rm -f conftest.$ac_objext
14117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14118 (eval $ac_compile) 2>conftest.er1
14120 grep -v '^ *+' conftest.er1 >conftest.err
14122 cat conftest.err >&5
14123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14124 (exit $ac_status); } &&
14125 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14127 (eval $ac_try) 2>&5
14129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14130 (exit $ac_status); }; } &&
14131 { ac_try='test -s conftest.$ac_objext'
14132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14133 (eval $ac_try) 2>&5
14135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14136 (exit $ac_status); }; }; then
14137 bakefile_compiler_xlc=yes
14139 echo "$as_me: failed program was:" >&5
14140 sed 's/^/| /' conftest.$ac_ext >&5
14142 bakefile_compiler_xlc=no
14144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14145 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14148 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14149 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14151 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14153 ac_cpp='$CXXCPP $CPPFLAGS'
14154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14163 ac_cpp='$CXXCPP $CPPFLAGS'
14164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14168 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14169 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14170 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14171 echo $ECHO_N "(cached) $ECHO_C" >&6
14173 cat >conftest.$ac_ext <<_ACEOF
14176 cat confdefs.h >>conftest.$ac_ext
14177 cat >>conftest.$ac_ext <<_ACEOF
14178 /* end confdefs.h. */
14191 rm -f conftest.$ac_objext
14192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14193 (eval $ac_compile) 2>conftest.er1
14195 grep -v '^ *+' conftest.er1 >conftest.err
14197 cat conftest.err >&5
14198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14199 (exit $ac_status); } &&
14200 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14202 (eval $ac_try) 2>&5
14204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14205 (exit $ac_status); }; } &&
14206 { ac_try='test -s conftest.$ac_objext'
14207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14208 (eval $ac_try) 2>&5
14210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14211 (exit $ac_status); }; }; then
14212 bakefile_compiler_mwerks=yes
14214 echo "$as_me: failed program was:" >&5
14215 sed 's/^/| /' conftest.$ac_ext >&5
14217 bakefile_compiler_mwerks=no
14219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14220 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14223 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14224 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14226 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14228 ac_cpp='$CXXCPP $CPPFLAGS'
14229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14235 ac_cpp='$CXXCPP $CPPFLAGS'
14236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14240 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14241 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14242 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14243 echo $ECHO_N "(cached) $ECHO_C" >&6
14245 cat >conftest.$ac_ext <<_ACEOF
14248 cat confdefs.h >>conftest.$ac_ext
14249 cat >>conftest.$ac_ext <<_ACEOF
14250 /* end confdefs.h. */
14263 rm -f conftest.$ac_objext
14264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14265 (eval $ac_compile) 2>conftest.er1
14267 grep -v '^ *+' conftest.er1 >conftest.err
14269 cat conftest.err >&5
14270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14271 (exit $ac_status); } &&
14272 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14274 (eval $ac_try) 2>&5
14276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14277 (exit $ac_status); }; } &&
14278 { ac_try='test -s conftest.$ac_objext'
14279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14280 (eval $ac_try) 2>&5
14282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14283 (exit $ac_status); }; }; then
14284 bakefile_compiler_xlc=yes
14286 echo "$as_me: failed program was:" >&5
14287 sed 's/^/| /' conftest.$ac_ext >&5
14289 bakefile_compiler_xlc=no
14291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14292 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14295 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14296 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14298 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14300 ac_cpp='$CXXCPP $CPPFLAGS'
14301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14312 ac_cpp='$CXXCPP $CPPFLAGS'
14313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14317 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14318 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14319 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14320 echo $ECHO_N "(cached) $ECHO_C" >&6
14322 cat >conftest.$ac_ext <<_ACEOF
14325 cat confdefs.h >>conftest.$ac_ext
14326 cat >>conftest.$ac_ext <<_ACEOF
14327 /* end confdefs.h. */
14333 #ifndef _SGI_COMPILER_VERSION
14341 rm -f conftest.$ac_objext
14342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14343 (eval $ac_compile) 2>conftest.er1
14345 grep -v '^ *+' conftest.er1 >conftest.err
14347 cat conftest.err >&5
14348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14349 (exit $ac_status); } &&
14350 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14352 (eval $ac_try) 2>&5
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); }; } &&
14356 { ac_try='test -s conftest.$ac_objext'
14357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14358 (eval $ac_try) 2>&5
14360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14361 (exit $ac_status); }; }; then
14362 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14364 echo "$as_me: failed program was:" >&5
14365 sed 's/^/| /' conftest.$ac_ext >&5
14367 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14374 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14375 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14377 ac_cpp='$CXXCPP $CPPFLAGS'
14378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14382 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14395 ac_cpp='$CXXCPP $CPPFLAGS'
14396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14400 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14401 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14402 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14403 echo $ECHO_N "(cached) $ECHO_C" >&6
14405 cat >conftest.$ac_ext <<_ACEOF
14408 cat confdefs.h >>conftest.$ac_ext
14409 cat >>conftest.$ac_ext <<_ACEOF
14410 /* end confdefs.h. */
14424 rm -f conftest.$ac_objext
14425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14426 (eval $ac_compile) 2>conftest.er1
14428 grep -v '^ *+' conftest.er1 >conftest.err
14430 cat conftest.err >&5
14431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14432 (exit $ac_status); } &&
14433 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14435 (eval $ac_try) 2>&5
14437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14438 (exit $ac_status); }; } &&
14439 { ac_try='test -s conftest.$ac_objext'
14440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14441 (eval $ac_try) 2>&5
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); }; }; then
14445 bakefile_cv_cxx_compiler___HP_aCC=yes
14447 echo "$as_me: failed program was:" >&5
14448 sed 's/^/| /' conftest.$ac_ext >&5
14450 bakefile_cv_cxx_compiler___HP_aCC=no
14453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14457 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14458 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14460 ac_cpp='$CXXCPP $CPPFLAGS'
14461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14465 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14478 ac_cpp='$CXXCPP $CPPFLAGS'
14479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14483 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14484 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14485 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14486 echo $ECHO_N "(cached) $ECHO_C" >&6
14488 cat >conftest.$ac_ext <<_ACEOF
14491 cat confdefs.h >>conftest.$ac_ext
14492 cat >>conftest.$ac_ext <<_ACEOF
14493 /* end confdefs.h. */
14507 rm -f conftest.$ac_objext
14508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14509 (eval $ac_compile) 2>conftest.er1
14511 grep -v '^ *+' conftest.er1 >conftest.err
14513 cat conftest.err >&5
14514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14515 (exit $ac_status); } &&
14516 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14518 (eval $ac_try) 2>&5
14520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14521 (exit $ac_status); }; } &&
14522 { ac_try='test -s conftest.$ac_objext'
14523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14524 (eval $ac_try) 2>&5
14526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14527 (exit $ac_status); }; }; then
14528 bakefile_cv_cxx_compiler___DECCXX=yes
14530 echo "$as_me: failed program was:" >&5
14531 sed 's/^/| /' conftest.$ac_ext >&5
14533 bakefile_cv_cxx_compiler___DECCXX=no
14536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14540 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14541 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14543 ac_cpp='$CXXCPP $CPPFLAGS'
14544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14548 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14561 ac_cpp='$CXXCPP $CPPFLAGS'
14562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14566 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14567 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14568 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14569 echo $ECHO_N "(cached) $ECHO_C" >&6
14571 cat >conftest.$ac_ext <<_ACEOF
14574 cat confdefs.h >>conftest.$ac_ext
14575 cat >>conftest.$ac_ext <<_ACEOF
14576 /* end confdefs.h. */
14582 #ifndef __SUNPRO_CC
14590 rm -f conftest.$ac_objext
14591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14592 (eval $ac_compile) 2>conftest.er1
14594 grep -v '^ *+' conftest.er1 >conftest.err
14596 cat conftest.err >&5
14597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14598 (exit $ac_status); } &&
14599 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14601 (eval $ac_try) 2>&5
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); }; } &&
14605 { ac_try='test -s conftest.$ac_objext'
14606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14607 (eval $ac_try) 2>&5
14609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610 (exit $ac_status); }; }; then
14611 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
14613 echo "$as_me: failed program was:" >&5
14614 sed 's/^/| /' conftest.$ac_ext >&5
14616 bakefile_cv_cxx_compiler___SUNPRO_CC=no
14619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14623 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14624 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14626 ac_cpp='$CXXCPP $CPPFLAGS'
14627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14631 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14644 if test -n "$ac_tool_prefix"; then
14645 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14646 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14647 echo "$as_me:$LINENO: checking for $ac_word" >&5
14648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14649 if test "${ac_cv_prog_RANLIB+set}" = set; then
14650 echo $ECHO_N "(cached) $ECHO_C" >&6
14652 if test -n "$RANLIB"; then
14653 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14656 for as_dir in $PATH
14659 test -z "$as_dir" && as_dir=.
14660 for ac_exec_ext in '' $ac_executable_extensions; do
14661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14662 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14671 RANLIB=$ac_cv_prog_RANLIB
14672 if test -n "$RANLIB"; then
14673 echo "$as_me:$LINENO: result: $RANLIB" >&5
14674 echo "${ECHO_T}$RANLIB" >&6
14676 echo "$as_me:$LINENO: result: no" >&5
14677 echo "${ECHO_T}no" >&6
14681 if test -z "$ac_cv_prog_RANLIB"; then
14682 ac_ct_RANLIB=$RANLIB
14683 # Extract the first word of "ranlib", so it can be a program name with args.
14684 set dummy ranlib; ac_word=$2
14685 echo "$as_me:$LINENO: checking for $ac_word" >&5
14686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14687 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14688 echo $ECHO_N "(cached) $ECHO_C" >&6
14690 if test -n "$ac_ct_RANLIB"; then
14691 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14694 for as_dir in $PATH
14697 test -z "$as_dir" && as_dir=.
14698 for ac_exec_ext in '' $ac_executable_extensions; do
14699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14700 ac_cv_prog_ac_ct_RANLIB="ranlib"
14701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14707 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
14710 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14711 if test -n "$ac_ct_RANLIB"; then
14712 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14713 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14715 echo "$as_me:$LINENO: result: no" >&5
14716 echo "${ECHO_T}no" >&6
14719 RANLIB=$ac_ct_RANLIB
14721 RANLIB="$ac_cv_prog_RANLIB"
14725 if test -n "$ac_tool_prefix"; then
14726 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14727 set dummy ${ac_tool_prefix}ar; ac_word=$2
14728 echo "$as_me:$LINENO: checking for $ac_word" >&5
14729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14730 if test "${ac_cv_prog_AR+set}" = set; then
14731 echo $ECHO_N "(cached) $ECHO_C" >&6
14733 if test -n "$AR"; then
14734 ac_cv_prog_AR="$AR" # Let the user override the test.
14736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14737 for as_dir in $PATH
14740 test -z "$as_dir" && as_dir=.
14741 for ac_exec_ext in '' $ac_executable_extensions; do
14742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14743 ac_cv_prog_AR="${ac_tool_prefix}ar"
14744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14753 if test -n "$AR"; then
14754 echo "$as_me:$LINENO: result: $AR" >&5
14755 echo "${ECHO_T}$AR" >&6
14757 echo "$as_me:$LINENO: result: no" >&5
14758 echo "${ECHO_T}no" >&6
14762 if test -z "$ac_cv_prog_AR"; then
14764 # Extract the first word of "ar", so it can be a program name with args.
14765 set dummy ar; ac_word=$2
14766 echo "$as_me:$LINENO: checking for $ac_word" >&5
14767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14768 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14769 echo $ECHO_N "(cached) $ECHO_C" >&6
14771 if test -n "$ac_ct_AR"; then
14772 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
14774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14775 for as_dir in $PATH
14778 test -z "$as_dir" && as_dir=.
14779 for ac_exec_ext in '' $ac_executable_extensions; do
14780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14781 ac_cv_prog_ac_ct_AR="ar"
14782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14790 ac_ct_AR=$ac_cv_prog_ac_ct_AR
14791 if test -n "$ac_ct_AR"; then
14792 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14793 echo "${ECHO_T}$ac_ct_AR" >&6
14795 echo "$as_me:$LINENO: result: no" >&5
14796 echo "${ECHO_T}no" >&6
14801 AR="$ac_cv_prog_AR"
14804 if test "x$AR" = "x" ; then
14805 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14806 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14807 { (exit 1); exit 1; }; }
14810 # Find a good install program. We prefer a C program (faster),
14811 # so one script is as good as another. But avoid the broken or
14812 # incompatible versions:
14813 # SysV /etc/install, /usr/sbin/install
14814 # SunOS /usr/etc/install
14815 # IRIX /sbin/install
14817 # AmigaOS /C/install, which installs bootblocks on floppy discs
14818 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14819 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14820 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14821 # OS/2's system install, which has a completely different semantic
14822 # ./install, which can be erroneously created by make from ./install.sh.
14823 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14824 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14825 if test -z "$INSTALL"; then
14826 if test "${ac_cv_path_install+set}" = set; then
14827 echo $ECHO_N "(cached) $ECHO_C" >&6
14829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14830 for as_dir in $PATH
14833 test -z "$as_dir" && as_dir=.
14834 # Account for people who put trailing slashes in PATH elements.
14836 ./ | .// | /cC/* | \
14837 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
14838 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
14841 # OSF1 and SCO ODT 3.0 have their own names for install.
14842 # Don't use installbsd from OSF since it installs stuff as root
14844 for ac_prog in ginstall scoinst install; do
14845 for ac_exec_ext in '' $ac_executable_extensions; do
14846 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14847 if test $ac_prog = install &&
14848 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14849 # AIX install. It has an incompatible calling convention.
14851 elif test $ac_prog = install &&
14852 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14853 # program-specific install script used by HP pwplus--don't use.
14856 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
14868 if test "${ac_cv_path_install+set}" = set; then
14869 INSTALL=$ac_cv_path_install
14871 # As a last resort, use the slow shell script. We don't cache a
14872 # path for INSTALL within a source directory, because that will
14873 # break other packages using the cache if that directory is
14874 # removed, or if the path is relative.
14875 INSTALL=$ac_install_sh
14878 echo "$as_me:$LINENO: result: $INSTALL" >&5
14879 echo "${ECHO_T}$INSTALL" >&6
14881 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14882 # It thinks the first close brace ends the variable substitution.
14883 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
14885 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
14887 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
14893 ?:* ) # Drive letter, considered as absolute.
14896 INSTALL=`pwd`/${INSTALL} ;;
14903 INSTALL_PROGRAM="cp -fp"
14904 INSTALL_DATA="cp -fp"
14910 if test -n "$ac_tool_prefix"; then
14911 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14912 set dummy ${ac_tool_prefix}strip; ac_word=$2
14913 echo "$as_me:$LINENO: checking for $ac_word" >&5
14914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14915 if test "${ac_cv_prog_STRIP+set}" = set; then
14916 echo $ECHO_N "(cached) $ECHO_C" >&6
14918 if test -n "$STRIP"; then
14919 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14922 for as_dir in $PATH
14925 test -z "$as_dir" && as_dir=.
14926 for ac_exec_ext in '' $ac_executable_extensions; do
14927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14928 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
14929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14937 STRIP=$ac_cv_prog_STRIP
14938 if test -n "$STRIP"; then
14939 echo "$as_me:$LINENO: result: $STRIP" >&5
14940 echo "${ECHO_T}$STRIP" >&6
14942 echo "$as_me:$LINENO: result: no" >&5
14943 echo "${ECHO_T}no" >&6
14947 if test -z "$ac_cv_prog_STRIP"; then
14949 # Extract the first word of "strip", so it can be a program name with args.
14950 set dummy strip; ac_word=$2
14951 echo "$as_me:$LINENO: checking for $ac_word" >&5
14952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14953 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14954 echo $ECHO_N "(cached) $ECHO_C" >&6
14956 if test -n "$ac_ct_STRIP"; then
14957 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14960 for as_dir in $PATH
14963 test -z "$as_dir" && as_dir=.
14964 for ac_exec_ext in '' $ac_executable_extensions; do
14965 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14966 ac_cv_prog_ac_ct_STRIP="strip"
14967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14973 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
14976 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14977 if test -n "$ac_ct_STRIP"; then
14978 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14979 echo "${ECHO_T}$ac_ct_STRIP" >&6
14981 echo "$as_me:$LINENO: result: no" >&5
14982 echo "${ECHO_T}no" >&6
14987 STRIP="$ac_cv_prog_STRIP"
14991 if test "$wxUSE_WINE" = "yes"; then
14992 if test -n "$ac_tool_prefix"; then
14993 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14994 set dummy ${ac_tool_prefix}wrc; ac_word=$2
14995 echo "$as_me:$LINENO: checking for $ac_word" >&5
14996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14997 if test "${ac_cv_prog_WINDRES+set}" = set; then
14998 echo $ECHO_N "(cached) $ECHO_C" >&6
15000 if test -n "$WINDRES"; then
15001 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15004 for as_dir in $PATH
15007 test -z "$as_dir" && as_dir=.
15008 for ac_exec_ext in '' $ac_executable_extensions; do
15009 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15010 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15019 WINDRES=$ac_cv_prog_WINDRES
15020 if test -n "$WINDRES"; then
15021 echo "$as_me:$LINENO: result: $WINDRES" >&5
15022 echo "${ECHO_T}$WINDRES" >&6
15024 echo "$as_me:$LINENO: result: no" >&5
15025 echo "${ECHO_T}no" >&6
15029 if test -z "$ac_cv_prog_WINDRES"; then
15030 ac_ct_WINDRES=$WINDRES
15031 # Extract the first word of "wrc", so it can be a program name with args.
15032 set dummy wrc; ac_word=$2
15033 echo "$as_me:$LINENO: checking for $ac_word" >&5
15034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15035 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15036 echo $ECHO_N "(cached) $ECHO_C" >&6
15038 if test -n "$ac_ct_WINDRES"; then
15039 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15042 for as_dir in $PATH
15045 test -z "$as_dir" && as_dir=.
15046 for ac_exec_ext in '' $ac_executable_extensions; do
15047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15048 ac_cv_prog_ac_ct_WINDRES="wrc"
15049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15057 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15058 if test -n "$ac_ct_WINDRES"; then
15059 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15060 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15062 echo "$as_me:$LINENO: result: no" >&5
15063 echo "${ECHO_T}no" >&6
15066 WINDRES=$ac_ct_WINDRES
15068 WINDRES="$ac_cv_prog_WINDRES"
15074 *-*-cygwin* | *-*-mingw32* )
15075 if test -n "$ac_tool_prefix"; then
15076 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15077 set dummy ${ac_tool_prefix}windres; ac_word=$2
15078 echo "$as_me:$LINENO: checking for $ac_word" >&5
15079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15080 if test "${ac_cv_prog_WINDRES+set}" = set; then
15081 echo $ECHO_N "(cached) $ECHO_C" >&6
15083 if test -n "$WINDRES"; then
15084 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15087 for as_dir in $PATH
15090 test -z "$as_dir" && as_dir=.
15091 for ac_exec_ext in '' $ac_executable_extensions; do
15092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15093 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15102 WINDRES=$ac_cv_prog_WINDRES
15103 if test -n "$WINDRES"; then
15104 echo "$as_me:$LINENO: result: $WINDRES" >&5
15105 echo "${ECHO_T}$WINDRES" >&6
15107 echo "$as_me:$LINENO: result: no" >&5
15108 echo "${ECHO_T}no" >&6
15112 if test -z "$ac_cv_prog_WINDRES"; then
15113 ac_ct_WINDRES=$WINDRES
15114 # Extract the first word of "windres", so it can be a program name with args.
15115 set dummy windres; ac_word=$2
15116 echo "$as_me:$LINENO: checking for $ac_word" >&5
15117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15118 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15119 echo $ECHO_N "(cached) $ECHO_C" >&6
15121 if test -n "$ac_ct_WINDRES"; then
15122 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15125 for as_dir in $PATH
15128 test -z "$as_dir" && as_dir=.
15129 for ac_exec_ext in '' $ac_executable_extensions; do
15130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15131 ac_cv_prog_ac_ct_WINDRES="windres"
15132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15140 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15141 if test -n "$ac_ct_WINDRES"; then
15142 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15143 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15145 echo "$as_me:$LINENO: result: no" >&5
15146 echo "${ECHO_T}no" >&6
15149 WINDRES=$ac_ct_WINDRES
15151 WINDRES="$ac_cv_prog_WINDRES"
15155 if test -n "$ac_tool_prefix"; then
15156 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15157 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15158 echo "$as_me:$LINENO: checking for $ac_word" >&5
15159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15160 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15161 echo $ECHO_N "(cached) $ECHO_C" >&6
15163 if test -n "$DLLTOOL"; then
15164 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15167 for as_dir in $PATH
15170 test -z "$as_dir" && as_dir=.
15171 for ac_exec_ext in '' $ac_executable_extensions; do
15172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15173 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15182 DLLTOOL=$ac_cv_prog_DLLTOOL
15183 if test -n "$DLLTOOL"; then
15184 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15185 echo "${ECHO_T}$DLLTOOL" >&6
15187 echo "$as_me:$LINENO: result: no" >&5
15188 echo "${ECHO_T}no" >&6
15192 if test -z "$ac_cv_prog_DLLTOOL"; then
15193 ac_ct_DLLTOOL=$DLLTOOL
15194 # Extract the first word of "dlltool", so it can be a program name with args.
15195 set dummy dlltool; ac_word=$2
15196 echo "$as_me:$LINENO: checking for $ac_word" >&5
15197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15198 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15199 echo $ECHO_N "(cached) $ECHO_C" >&6
15201 if test -n "$ac_ct_DLLTOOL"; then
15202 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15205 for as_dir in $PATH
15208 test -z "$as_dir" && as_dir=.
15209 for ac_exec_ext in '' $ac_executable_extensions; do
15210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15211 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15220 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15221 if test -n "$ac_ct_DLLTOOL"; then
15222 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15223 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15225 echo "$as_me:$LINENO: result: no" >&5
15226 echo "${ECHO_T}no" >&6
15229 DLLTOOL=$ac_ct_DLLTOOL
15231 DLLTOOL="$ac_cv_prog_DLLTOOL"
15238 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15239 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15240 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15241 echo $ECHO_N "(cached) $ECHO_C" >&6
15244 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15245 egrep -s GNU > /dev/null); then
15246 wx_cv_prog_makeisgnu="yes"
15248 wx_cv_prog_makeisgnu="no"
15252 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15253 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15255 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15263 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15264 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15265 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15266 if test "${wx_cv_prog_makevpath+set}" = set; then
15267 echo $ECHO_N "(cached) $ECHO_C" >&6
15270 cat - << EOF > confMake
15276 if test ! -d sub ; then
15279 echo dummy > sub/file
15280 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15282 rm -f sub/file check final_file confMake
15284 if test "$RESULT" = 0; then
15285 wx_cv_prog_makevpath="yes"
15287 wx_cv_prog_makevpath="no"
15291 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15292 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15294 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15295 { { echo "$as_me:$LINENO: error:
15296 You need a make-utility that is able to use the variable
15298 If your version of make does not support VPATH correctly,
15299 please install GNU-make (possibly as gmake), and start
15300 configure with the following command:
15301 export MAKE=gmake; ./configure for sh-type shells
15302 setenv MAKE gmake; ./configure for csh-type shells
15303 Also please do remember to use gmake in this case every time
15304 you are trying to compile.
15306 echo "$as_me: error:
15307 You need a make-utility that is able to use the variable
15309 If your version of make does not support VPATH correctly,
15310 please install GNU-make (possibly as gmake), and start
15311 configure with the following command:
15312 export MAKE=gmake; ./configure for sh-type shells
15313 setenv MAKE gmake; ./configure for csh-type shells
15314 Also please do remember to use gmake in this case every time
15315 you are trying to compile.
15317 { (exit 1); exit 1; }; }
15319 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15320 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15322 if test "$LN_S" = "ln -s"; then
15323 echo "$as_me:$LINENO: result: yes" >&5
15324 echo "${ECHO_T}yes" >&6
15326 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15327 echo "${ECHO_T}no, using $LN_S" >&6
15333 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15334 CXXFLAGS="-qunique $CXXFLAGS"
15338 powerpc-*-darwin* )
15339 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15340 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15341 cat >conftest.$ac_ext <<_ACEOF
15344 cat confdefs.h >>conftest.$ac_ext
15345 cat >>conftest.$ac_ext <<_ACEOF
15346 /* end confdefs.h. */
15351 #ifndef __POWERPC__
15352 choke me for lack of PowerPC
15359 rm -f conftest.$ac_objext
15360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15361 (eval $ac_compile) 2>conftest.er1
15363 grep -v '^ *+' conftest.er1 >conftest.err
15365 cat conftest.err >&5
15366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 (exit $ac_status); } &&
15368 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15370 (eval $ac_try) 2>&5
15372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15373 (exit $ac_status); }; } &&
15374 { ac_try='test -s conftest.$ac_objext'
15375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15376 (eval $ac_try) 2>&5
15378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); }; }; then
15380 echo "$as_me:$LINENO: result: yes" >&5
15381 echo "${ECHO_T}yes" >&6
15383 echo "$as_me: failed program was:" >&5
15384 sed 's/^/| /' conftest.$ac_ext >&5
15386 echo "$as_me:$LINENO: result: no" >&5
15387 echo "${ECHO_T}no" >&6
15388 cat >>confdefs.h <<\_ACEOF
15389 #define __POWERPC__ 1
15394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15400 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15401 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15402 cat >conftest.$ac_ext <<_ACEOF
15405 cat confdefs.h >>conftest.$ac_ext
15406 cat >>conftest.$ac_ext <<_ACEOF
15407 /* end confdefs.h. */
15408 #include <CoreFoundation/CFBase.h>
15418 rm -f conftest.$ac_objext
15419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15420 (eval $ac_compile) 2>conftest.er1
15422 grep -v '^ *+' conftest.er1 >conftest.err
15424 cat conftest.err >&5
15425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15426 (exit $ac_status); } &&
15427 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15429 (eval $ac_try) 2>&5
15431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15432 (exit $ac_status); }; } &&
15433 { ac_try='test -s conftest.$ac_objext'
15434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15435 (eval $ac_try) 2>&5
15437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15438 (exit $ac_status); }; }; then
15439 echo "$as_me:$LINENO: result: yes" >&5
15440 echo "${ECHO_T}yes" >&6
15442 echo "$as_me: failed program was:" >&5
15443 sed 's/^/| /' conftest.$ac_ext >&5
15445 echo "$as_me:$LINENO: result: no" >&5
15446 echo "${ECHO_T}no" >&6
15447 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15448 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15449 cat >conftest.$ac_ext <<_ACEOF
15452 cat confdefs.h >>conftest.$ac_ext
15453 cat >>conftest.$ac_ext <<_ACEOF
15454 /* end confdefs.h. */
15455 #define __CF_USE_FRAMEWORK_INCLUDES__
15456 #include <CoreFoundation/CFBase.h>
15466 rm -f conftest.$ac_objext
15467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15468 (eval $ac_compile) 2>conftest.er1
15470 grep -v '^ *+' conftest.er1 >conftest.err
15472 cat conftest.err >&5
15473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15474 (exit $ac_status); } &&
15475 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15477 (eval $ac_try) 2>&5
15479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15480 (exit $ac_status); }; } &&
15481 { ac_try='test -s conftest.$ac_objext'
15482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15483 (eval $ac_try) 2>&5
15485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15486 (exit $ac_status); }; }; then
15487 echo "$as_me:$LINENO: result: yes" >&5
15488 echo "${ECHO_T}yes" >&6
15489 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15491 echo "$as_me: failed program was:" >&5
15492 sed 's/^/| /' conftest.$ac_ext >&5
15494 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15495 See \`config.log' for more details." >&5
15496 echo "$as_me: error: no. CoreFoundation not available.
15497 See \`config.log' for more details." >&2;}
15498 { (exit 1); exit 1; }; }
15501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15510 *-pc-os2_emx | *-pc-os2-emx )
15512 ac_cpp='$CPP $CPPFLAGS'
15513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15517 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15518 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15519 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15520 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15521 echo $ECHO_N "(cached) $ECHO_C" >&6
15523 ac_check_lib_save_LIBS=$LIBS
15524 LIBS="-lcExt $LIBS"
15525 cat >conftest.$ac_ext <<_ACEOF
15528 cat confdefs.h >>conftest.$ac_ext
15529 cat >>conftest.$ac_ext <<_ACEOF
15530 /* end confdefs.h. */
15532 /* Override any gcc2 internal prototype to avoid an error. */
15536 /* We use char because int might match the return type of a gcc2
15537 builtin and then its argument prototype would still apply. */
15547 rm -f conftest.$ac_objext conftest$ac_exeext
15548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15549 (eval $ac_link) 2>conftest.er1
15551 grep -v '^ *+' conftest.er1 >conftest.err
15553 cat conftest.err >&5
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); } &&
15556 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15558 (eval $ac_try) 2>&5
15560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15561 (exit $ac_status); }; } &&
15562 { ac_try='test -s conftest$ac_exeext'
15563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15564 (eval $ac_try) 2>&5
15566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15567 (exit $ac_status); }; }; then
15568 ac_cv_lib_cExt_drand48=yes
15570 echo "$as_me: failed program was:" >&5
15571 sed 's/^/| /' conftest.$ac_ext >&5
15573 ac_cv_lib_cExt_drand48=no
15575 rm -f conftest.err conftest.$ac_objext \
15576 conftest$ac_exeext conftest.$ac_ext
15577 LIBS=$ac_check_lib_save_LIBS
15579 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15580 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15581 if test $ac_cv_lib_cExt_drand48 = yes; then
15582 LIBS="$LIBS -lcExt"
15586 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
15588 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15589 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15590 if test "${wx_cv_gccversion+set}" = set; then
15591 echo $ECHO_N "(cached) $ECHO_C" >&6
15594 if test "$cross_compiling" = yes; then
15595 wx_cv_gccversion="EMX2"
15598 cat >conftest.$ac_ext <<_ACEOF
15601 cat confdefs.h >>conftest.$ac_ext
15602 cat >>conftest.$ac_ext <<_ACEOF
15603 /* end confdefs.h. */
15609 FILE *f=fopen("conftestval", "w");
15614 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15616 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15626 rm -f conftest$ac_exeext
15627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15628 (eval $ac_link) 2>&5
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15633 (eval $ac_try) 2>&5
15635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15636 (exit $ac_status); }; }; then
15637 wx_cv_gccversion=`cat conftestval`
15639 echo "$as_me: program exited with status $ac_status" >&5
15640 echo "$as_me: failed program was:" >&5
15641 sed 's/^/| /' conftest.$ac_ext >&5
15643 ( exit $ac_status )
15644 wx_cv_gccversion="EMX2"
15646 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15650 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15651 echo "${ECHO_T}$wx_cv_gccversion" >&6
15653 ac_cpp='$CXXCPP $CPPFLAGS'
15654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15658 if test "$wx_cv_gccversion" = "EMX2"; then
15659 LIBS="$LIBS -lstdcpp"
15660 LDFLAGS="$LDFLAGS -Zsysv-signals"
15662 if test "$wx_cv_gccversion" = "EMX3"; then
15663 LIBS="$LIBS -lstdcxx -lgcc"
15664 LDFLAGS="$LDFLAGS -Zsysv-signals"
15666 LIBS="$LIBS -lstdc++"
15669 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15670 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15671 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15678 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15679 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15680 if test "${ac_cv_string_strcasecmp+set}" = set; then
15681 echo $ECHO_N "(cached) $ECHO_C" >&6
15684 cat >conftest.$ac_ext <<_ACEOF
15687 cat confdefs.h >>conftest.$ac_ext
15688 cat >>conftest.$ac_ext <<_ACEOF
15689 /* end confdefs.h. */
15691 #include <string.h>
15697 strcasecmp("foo", "bar");
15703 rm -f conftest.$ac_objext conftest$ac_exeext
15704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15705 (eval $ac_link) 2>conftest.er1
15707 grep -v '^ *+' conftest.er1 >conftest.err
15709 cat conftest.err >&5
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); } &&
15712 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15714 (eval $ac_try) 2>&5
15716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717 (exit $ac_status); }; } &&
15718 { ac_try='test -s conftest$ac_exeext'
15719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15720 (eval $ac_try) 2>&5
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); }; }; then
15724 ac_cv_string_strcasecmp=yes
15726 echo "$as_me: failed program was:" >&5
15727 sed 's/^/| /' conftest.$ac_ext >&5
15729 ac_cv_string_strcasecmp=no
15732 rm -f conftest.err conftest.$ac_objext \
15733 conftest$ac_exeext conftest.$ac_ext
15736 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15737 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15739 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
15740 cat >>confdefs.h <<\_ACEOF
15741 #define HAVE_STRCASECMP_IN_STRING_H 1
15745 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15746 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15747 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15748 echo $ECHO_N "(cached) $ECHO_C" >&6
15751 cat >conftest.$ac_ext <<_ACEOF
15754 cat confdefs.h >>conftest.$ac_ext
15755 cat >>conftest.$ac_ext <<_ACEOF
15756 /* end confdefs.h. */
15758 #include <strings.h>
15764 strcasecmp("foo", "bar");
15770 rm -f conftest.$ac_objext conftest$ac_exeext
15771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15772 (eval $ac_link) 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_cxx_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_exeext'
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
15791 ac_cv_strings_strcasecmp=yes
15793 echo "$as_me: failed program was:" >&5
15794 sed 's/^/| /' conftest.$ac_ext >&5
15796 ac_cv_strings_strcasecmp=no
15799 rm -f conftest.err conftest.$ac_objext \
15800 conftest$ac_exeext conftest.$ac_ext
15803 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15804 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15806 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
15807 cat >>confdefs.h <<\_ACEOF
15808 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15812 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15813 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15814 { (exit 1); exit 1; }; }
15823 ac_cpp='$CXXCPP $CPPFLAGS'
15824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15827 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15828 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15829 if test -z "$CXXCPP"; then
15830 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15831 echo $ECHO_N "(cached) $ECHO_C" >&6
15833 # Double quotes because CXXCPP needs to be expanded
15834 for CXXCPP in "$CXX -E" "/lib/cpp"
15836 ac_preproc_ok=false
15837 for ac_cxx_preproc_warn_flag in '' yes
15839 # Use a header file that comes with gcc, so configuring glibc
15840 # with a fresh cross-compiler works.
15841 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15842 # <limits.h> exists even on freestanding compilers.
15843 # On the NeXT, cc -E runs the code through the compiler's parser,
15844 # not just through cpp. "Syntax error" is here to catch this case.
15845 cat >conftest.$ac_ext <<_ACEOF
15848 cat confdefs.h >>conftest.$ac_ext
15849 cat >>conftest.$ac_ext <<_ACEOF
15850 /* end confdefs.h. */
15852 # include <limits.h>
15854 # include <assert.h>
15858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15859 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15861 grep -v '^ *+' conftest.er1 >conftest.err
15863 cat conftest.err >&5
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); } >/dev/null; then
15866 if test -s conftest.err; then
15867 ac_cpp_err=$ac_cxx_preproc_warn_flag
15868 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15875 if test -z "$ac_cpp_err"; then
15878 echo "$as_me: failed program was:" >&5
15879 sed 's/^/| /' conftest.$ac_ext >&5
15881 # Broken: fails on valid input.
15884 rm -f conftest.err conftest.$ac_ext
15886 # OK, works on sane cases. Now check whether non-existent headers
15887 # can be detected and how.
15888 cat >conftest.$ac_ext <<_ACEOF
15891 cat confdefs.h >>conftest.$ac_ext
15892 cat >>conftest.$ac_ext <<_ACEOF
15893 /* end confdefs.h. */
15894 #include <ac_nonexistent.h>
15896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15897 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15899 grep -v '^ *+' conftest.er1 >conftest.err
15901 cat conftest.err >&5
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); } >/dev/null; then
15904 if test -s conftest.err; then
15905 ac_cpp_err=$ac_cxx_preproc_warn_flag
15906 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15913 if test -z "$ac_cpp_err"; then
15914 # Broken: success on invalid input.
15917 echo "$as_me: failed program was:" >&5
15918 sed 's/^/| /' conftest.$ac_ext >&5
15920 # Passes both tests.
15924 rm -f conftest.err conftest.$ac_ext
15927 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15928 rm -f conftest.err conftest.$ac_ext
15929 if $ac_preproc_ok; then
15934 ac_cv_prog_CXXCPP=$CXXCPP
15937 CXXCPP=$ac_cv_prog_CXXCPP
15939 ac_cv_prog_CXXCPP=$CXXCPP
15941 echo "$as_me:$LINENO: result: $CXXCPP" >&5
15942 echo "${ECHO_T}$CXXCPP" >&6
15943 ac_preproc_ok=false
15944 for ac_cxx_preproc_warn_flag in '' yes
15946 # Use a header file that comes with gcc, so configuring glibc
15947 # with a fresh cross-compiler works.
15948 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15949 # <limits.h> exists even on freestanding compilers.
15950 # On the NeXT, cc -E runs the code through the compiler's parser,
15951 # not just through cpp. "Syntax error" is here to catch this case.
15952 cat >conftest.$ac_ext <<_ACEOF
15955 cat confdefs.h >>conftest.$ac_ext
15956 cat >>conftest.$ac_ext <<_ACEOF
15957 /* end confdefs.h. */
15959 # include <limits.h>
15961 # include <assert.h>
15965 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15966 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15968 grep -v '^ *+' conftest.er1 >conftest.err
15970 cat conftest.err >&5
15971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15972 (exit $ac_status); } >/dev/null; then
15973 if test -s conftest.err; then
15974 ac_cpp_err=$ac_cxx_preproc_warn_flag
15975 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15982 if test -z "$ac_cpp_err"; then
15985 echo "$as_me: failed program was:" >&5
15986 sed 's/^/| /' conftest.$ac_ext >&5
15988 # Broken: fails on valid input.
15991 rm -f conftest.err conftest.$ac_ext
15993 # OK, works on sane cases. Now check whether non-existent headers
15994 # can be detected and how.
15995 cat >conftest.$ac_ext <<_ACEOF
15998 cat confdefs.h >>conftest.$ac_ext
15999 cat >>conftest.$ac_ext <<_ACEOF
16000 /* end confdefs.h. */
16001 #include <ac_nonexistent.h>
16003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16004 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16006 grep -v '^ *+' conftest.er1 >conftest.err
16008 cat conftest.err >&5
16009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010 (exit $ac_status); } >/dev/null; then
16011 if test -s conftest.err; then
16012 ac_cpp_err=$ac_cxx_preproc_warn_flag
16013 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16020 if test -z "$ac_cpp_err"; then
16021 # Broken: success on invalid input.
16024 echo "$as_me: failed program was:" >&5
16025 sed 's/^/| /' conftest.$ac_ext >&5
16027 # Passes both tests.
16031 rm -f conftest.err conftest.$ac_ext
16034 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16035 rm -f conftest.err conftest.$ac_ext
16036 if $ac_preproc_ok; then
16039 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16040 See \`config.log' for more details." >&5
16041 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16042 See \`config.log' for more details." >&2;}
16043 { (exit 1); exit 1; }; }
16047 ac_cpp='$CXXCPP $CPPFLAGS'
16048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16053 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16054 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16055 if test "${ac_cv_header_stdc+set}" = set; then
16056 echo $ECHO_N "(cached) $ECHO_C" >&6
16058 cat >conftest.$ac_ext <<_ACEOF
16061 cat confdefs.h >>conftest.$ac_ext
16062 cat >>conftest.$ac_ext <<_ACEOF
16063 /* end confdefs.h. */
16064 #include <stdlib.h>
16065 #include <stdarg.h>
16066 #include <string.h>
16077 rm -f conftest.$ac_objext
16078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16079 (eval $ac_compile) 2>conftest.er1
16081 grep -v '^ *+' conftest.er1 >conftest.err
16083 cat conftest.err >&5
16084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); } &&
16086 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16088 (eval $ac_try) 2>&5
16090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16091 (exit $ac_status); }; } &&
16092 { ac_try='test -s conftest.$ac_objext'
16093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16094 (eval $ac_try) 2>&5
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); }; }; then
16098 ac_cv_header_stdc=yes
16100 echo "$as_me: failed program was:" >&5
16101 sed 's/^/| /' conftest.$ac_ext >&5
16103 ac_cv_header_stdc=no
16105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16107 if test $ac_cv_header_stdc = yes; then
16108 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16109 cat >conftest.$ac_ext <<_ACEOF
16112 cat confdefs.h >>conftest.$ac_ext
16113 cat >>conftest.$ac_ext <<_ACEOF
16114 /* end confdefs.h. */
16115 #include <string.h>
16118 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16119 $EGREP "memchr" >/dev/null 2>&1; then
16122 ac_cv_header_stdc=no
16128 if test $ac_cv_header_stdc = yes; then
16129 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16130 cat >conftest.$ac_ext <<_ACEOF
16133 cat confdefs.h >>conftest.$ac_ext
16134 cat >>conftest.$ac_ext <<_ACEOF
16135 /* end confdefs.h. */
16136 #include <stdlib.h>
16139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16140 $EGREP "free" >/dev/null 2>&1; then
16143 ac_cv_header_stdc=no
16149 if test $ac_cv_header_stdc = yes; then
16150 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16151 if test "$cross_compiling" = yes; then
16154 cat >conftest.$ac_ext <<_ACEOF
16157 cat confdefs.h >>conftest.$ac_ext
16158 cat >>conftest.$ac_ext <<_ACEOF
16159 /* end confdefs.h. */
16161 #if ((' ' & 0x0FF) == 0x020)
16162 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16163 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16165 # define ISLOWER(c) \
16166 (('a' <= (c) && (c) <= 'i') \
16167 || ('j' <= (c) && (c) <= 'r') \
16168 || ('s' <= (c) && (c) <= 'z'))
16169 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16172 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16177 for (i = 0; i < 256; i++)
16178 if (XOR (islower (i), ISLOWER (i))
16179 || toupper (i) != TOUPPER (i))
16184 rm -f conftest$ac_exeext
16185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16186 (eval $ac_link) 2>&5
16188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16189 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16191 (eval $ac_try) 2>&5
16193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16194 (exit $ac_status); }; }; then
16197 echo "$as_me: program exited with status $ac_status" >&5
16198 echo "$as_me: failed program was:" >&5
16199 sed 's/^/| /' conftest.$ac_ext >&5
16201 ( exit $ac_status )
16202 ac_cv_header_stdc=no
16204 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16208 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16209 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16210 if test $ac_cv_header_stdc = yes; then
16212 cat >>confdefs.h <<\_ACEOF
16213 #define STDC_HEADERS 1
16218 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16228 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16229 inttypes.h stdint.h unistd.h
16231 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16232 echo "$as_me:$LINENO: checking for $ac_header" >&5
16233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16235 echo $ECHO_N "(cached) $ECHO_C" >&6
16237 cat >conftest.$ac_ext <<_ACEOF
16240 cat confdefs.h >>conftest.$ac_ext
16241 cat >>conftest.$ac_ext <<_ACEOF
16242 /* end confdefs.h. */
16243 $ac_includes_default
16245 #include <$ac_header>
16247 rm -f conftest.$ac_objext
16248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16249 (eval $ac_compile) 2>conftest.er1
16251 grep -v '^ *+' conftest.er1 >conftest.err
16253 cat conftest.err >&5
16254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16255 (exit $ac_status); } &&
16256 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16258 (eval $ac_try) 2>&5
16260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16261 (exit $ac_status); }; } &&
16262 { ac_try='test -s conftest.$ac_objext'
16263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16264 (eval $ac_try) 2>&5
16266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16267 (exit $ac_status); }; }; then
16268 eval "$as_ac_Header=yes"
16270 echo "$as_me: failed program was:" >&5
16271 sed 's/^/| /' conftest.$ac_ext >&5
16273 eval "$as_ac_Header=no"
16275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16278 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16279 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16280 cat >>confdefs.h <<_ACEOF
16281 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16290 for ac_header in stdlib.h
16292 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16294 echo "$as_me:$LINENO: checking for $ac_header" >&5
16295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16297 echo $ECHO_N "(cached) $ECHO_C" >&6
16299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16302 # Is the header compilable?
16303 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16304 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16305 cat >conftest.$ac_ext <<_ACEOF
16308 cat confdefs.h >>conftest.$ac_ext
16309 cat >>conftest.$ac_ext <<_ACEOF
16310 /* end confdefs.h. */
16311 $ac_includes_default
16312 #include <$ac_header>
16314 rm -f conftest.$ac_objext
16315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16316 (eval $ac_compile) 2>conftest.er1
16318 grep -v '^ *+' conftest.er1 >conftest.err
16320 cat conftest.err >&5
16321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16322 (exit $ac_status); } &&
16323 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16325 (eval $ac_try) 2>&5
16327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16328 (exit $ac_status); }; } &&
16329 { ac_try='test -s conftest.$ac_objext'
16330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16331 (eval $ac_try) 2>&5
16333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16334 (exit $ac_status); }; }; then
16335 ac_header_compiler=yes
16337 echo "$as_me: failed program was:" >&5
16338 sed 's/^/| /' conftest.$ac_ext >&5
16340 ac_header_compiler=no
16342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16343 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16344 echo "${ECHO_T}$ac_header_compiler" >&6
16346 # Is the header present?
16347 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16348 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16349 cat >conftest.$ac_ext <<_ACEOF
16352 cat confdefs.h >>conftest.$ac_ext
16353 cat >>conftest.$ac_ext <<_ACEOF
16354 /* end confdefs.h. */
16355 #include <$ac_header>
16357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16358 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16360 grep -v '^ *+' conftest.er1 >conftest.err
16362 cat conftest.err >&5
16363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364 (exit $ac_status); } >/dev/null; then
16365 if test -s conftest.err; then
16366 ac_cpp_err=$ac_cxx_preproc_warn_flag
16367 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16374 if test -z "$ac_cpp_err"; then
16375 ac_header_preproc=yes
16377 echo "$as_me: failed program was:" >&5
16378 sed 's/^/| /' conftest.$ac_ext >&5
16380 ac_header_preproc=no
16382 rm -f conftest.err conftest.$ac_ext
16383 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16384 echo "${ECHO_T}$ac_header_preproc" >&6
16386 # So? What about this header?
16387 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16389 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16390 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16392 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16393 ac_header_preproc=yes
16396 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16397 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16398 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16399 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16400 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16401 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16402 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16403 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16404 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16405 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16406 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16407 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16410 ## ----------------------------------------- ##
16411 ## Report this to wx-dev@lists.wxwidgets.org ##
16412 ## ----------------------------------------- ##
16415 sed "s/^/$as_me: WARNING: /" >&2
16418 echo "$as_me:$LINENO: checking for $ac_header" >&5
16419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16421 echo $ECHO_N "(cached) $ECHO_C" >&6
16423 eval "$as_ac_Header=\$ac_header_preproc"
16425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16429 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16430 cat >>confdefs.h <<_ACEOF
16431 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16439 for ac_header in malloc.h
16441 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16443 echo "$as_me:$LINENO: checking for $ac_header" >&5
16444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16446 echo $ECHO_N "(cached) $ECHO_C" >&6
16448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16449 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16451 # Is the header compilable?
16452 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16453 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16454 cat >conftest.$ac_ext <<_ACEOF
16457 cat confdefs.h >>conftest.$ac_ext
16458 cat >>conftest.$ac_ext <<_ACEOF
16459 /* end confdefs.h. */
16460 $ac_includes_default
16461 #include <$ac_header>
16463 rm -f conftest.$ac_objext
16464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16465 (eval $ac_compile) 2>conftest.er1
16467 grep -v '^ *+' conftest.er1 >conftest.err
16469 cat conftest.err >&5
16470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471 (exit $ac_status); } &&
16472 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16474 (eval $ac_try) 2>&5
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); }; } &&
16478 { ac_try='test -s conftest.$ac_objext'
16479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16480 (eval $ac_try) 2>&5
16482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16483 (exit $ac_status); }; }; then
16484 ac_header_compiler=yes
16486 echo "$as_me: failed program was:" >&5
16487 sed 's/^/| /' conftest.$ac_ext >&5
16489 ac_header_compiler=no
16491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16492 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16493 echo "${ECHO_T}$ac_header_compiler" >&6
16495 # Is the header present?
16496 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16497 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16498 cat >conftest.$ac_ext <<_ACEOF
16501 cat confdefs.h >>conftest.$ac_ext
16502 cat >>conftest.$ac_ext <<_ACEOF
16503 /* end confdefs.h. */
16504 #include <$ac_header>
16506 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16507 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16509 grep -v '^ *+' conftest.er1 >conftest.err
16511 cat conftest.err >&5
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); } >/dev/null; then
16514 if test -s conftest.err; then
16515 ac_cpp_err=$ac_cxx_preproc_warn_flag
16516 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16523 if test -z "$ac_cpp_err"; then
16524 ac_header_preproc=yes
16526 echo "$as_me: failed program was:" >&5
16527 sed 's/^/| /' conftest.$ac_ext >&5
16529 ac_header_preproc=no
16531 rm -f conftest.err conftest.$ac_ext
16532 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16533 echo "${ECHO_T}$ac_header_preproc" >&6
16535 # So? What about this header?
16536 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16538 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16539 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16540 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16541 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16542 ac_header_preproc=yes
16545 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16546 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16547 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16548 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16549 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16550 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16551 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16552 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16553 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16554 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16555 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16556 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16559 ## ----------------------------------------- ##
16560 ## Report this to wx-dev@lists.wxwidgets.org ##
16561 ## ----------------------------------------- ##
16564 sed "s/^/$as_me: WARNING: /" >&2
16567 echo "$as_me:$LINENO: checking for $ac_header" >&5
16568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16570 echo $ECHO_N "(cached) $ECHO_C" >&6
16572 eval "$as_ac_Header=\$ac_header_preproc"
16574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16578 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16579 cat >>confdefs.h <<_ACEOF
16580 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16588 for ac_header in unistd.h
16590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16592 echo "$as_me:$LINENO: checking for $ac_header" >&5
16593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16595 echo $ECHO_N "(cached) $ECHO_C" >&6
16597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16598 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16600 # Is the header compilable?
16601 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16602 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16603 cat >conftest.$ac_ext <<_ACEOF
16606 cat confdefs.h >>conftest.$ac_ext
16607 cat >>conftest.$ac_ext <<_ACEOF
16608 /* end confdefs.h. */
16609 $ac_includes_default
16610 #include <$ac_header>
16612 rm -f conftest.$ac_objext
16613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16614 (eval $ac_compile) 2>conftest.er1
16616 grep -v '^ *+' conftest.er1 >conftest.err
16618 cat conftest.err >&5
16619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16620 (exit $ac_status); } &&
16621 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16623 (eval $ac_try) 2>&5
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); }; } &&
16627 { ac_try='test -s conftest.$ac_objext'
16628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16629 (eval $ac_try) 2>&5
16631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16632 (exit $ac_status); }; }; then
16633 ac_header_compiler=yes
16635 echo "$as_me: failed program was:" >&5
16636 sed 's/^/| /' conftest.$ac_ext >&5
16638 ac_header_compiler=no
16640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16641 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16642 echo "${ECHO_T}$ac_header_compiler" >&6
16644 # Is the header present?
16645 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16646 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16647 cat >conftest.$ac_ext <<_ACEOF
16650 cat confdefs.h >>conftest.$ac_ext
16651 cat >>conftest.$ac_ext <<_ACEOF
16652 /* end confdefs.h. */
16653 #include <$ac_header>
16655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16658 grep -v '^ *+' conftest.er1 >conftest.err
16660 cat conftest.err >&5
16661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662 (exit $ac_status); } >/dev/null; then
16663 if test -s conftest.err; then
16664 ac_cpp_err=$ac_cxx_preproc_warn_flag
16665 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16672 if test -z "$ac_cpp_err"; then
16673 ac_header_preproc=yes
16675 echo "$as_me: failed program was:" >&5
16676 sed 's/^/| /' conftest.$ac_ext >&5
16678 ac_header_preproc=no
16680 rm -f conftest.err conftest.$ac_ext
16681 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16682 echo "${ECHO_T}$ac_header_preproc" >&6
16684 # So? What about this header?
16685 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16687 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16688 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16690 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16691 ac_header_preproc=yes
16694 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16695 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16696 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16697 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16698 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16699 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16700 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16701 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16703 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16704 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16705 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16708 ## ----------------------------------------- ##
16709 ## Report this to wx-dev@lists.wxwidgets.org ##
16710 ## ----------------------------------------- ##
16713 sed "s/^/$as_me: WARNING: /" >&2
16716 echo "$as_me:$LINENO: checking for $ac_header" >&5
16717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16719 echo $ECHO_N "(cached) $ECHO_C" >&6
16721 eval "$as_ac_Header=\$ac_header_preproc"
16723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16727 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16728 cat >>confdefs.h <<_ACEOF
16729 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16737 for ac_header in wchar.h
16739 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16741 echo "$as_me:$LINENO: checking for $ac_header" >&5
16742 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16744 echo $ECHO_N "(cached) $ECHO_C" >&6
16746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16747 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16749 # Is the header compilable?
16750 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16751 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16752 cat >conftest.$ac_ext <<_ACEOF
16755 cat confdefs.h >>conftest.$ac_ext
16756 cat >>conftest.$ac_ext <<_ACEOF
16757 /* end confdefs.h. */
16758 $ac_includes_default
16759 #include <$ac_header>
16761 rm -f conftest.$ac_objext
16762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16763 (eval $ac_compile) 2>conftest.er1
16765 grep -v '^ *+' conftest.er1 >conftest.err
16767 cat conftest.err >&5
16768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769 (exit $ac_status); } &&
16770 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16772 (eval $ac_try) 2>&5
16774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16775 (exit $ac_status); }; } &&
16776 { ac_try='test -s conftest.$ac_objext'
16777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16778 (eval $ac_try) 2>&5
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); }; }; then
16782 ac_header_compiler=yes
16784 echo "$as_me: failed program was:" >&5
16785 sed 's/^/| /' conftest.$ac_ext >&5
16787 ac_header_compiler=no
16789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16790 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16791 echo "${ECHO_T}$ac_header_compiler" >&6
16793 # Is the header present?
16794 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16795 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16796 cat >conftest.$ac_ext <<_ACEOF
16799 cat confdefs.h >>conftest.$ac_ext
16800 cat >>conftest.$ac_ext <<_ACEOF
16801 /* end confdefs.h. */
16802 #include <$ac_header>
16804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16805 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16807 grep -v '^ *+' conftest.er1 >conftest.err
16809 cat conftest.err >&5
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); } >/dev/null; then
16812 if test -s conftest.err; then
16813 ac_cpp_err=$ac_cxx_preproc_warn_flag
16814 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16821 if test -z "$ac_cpp_err"; then
16822 ac_header_preproc=yes
16824 echo "$as_me: failed program was:" >&5
16825 sed 's/^/| /' conftest.$ac_ext >&5
16827 ac_header_preproc=no
16829 rm -f conftest.err conftest.$ac_ext
16830 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16831 echo "${ECHO_T}$ac_header_preproc" >&6
16833 # So? What about this header?
16834 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16836 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16837 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16839 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16840 ac_header_preproc=yes
16843 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16844 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16845 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16846 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16847 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16848 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16849 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16850 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16851 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16852 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16853 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16854 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16857 ## ----------------------------------------- ##
16858 ## Report this to wx-dev@lists.wxwidgets.org ##
16859 ## ----------------------------------------- ##
16862 sed "s/^/$as_me: WARNING: /" >&2
16865 echo "$as_me:$LINENO: checking for $ac_header" >&5
16866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16868 echo $ECHO_N "(cached) $ECHO_C" >&6
16870 eval "$as_ac_Header=\$ac_header_preproc"
16872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16877 cat >>confdefs.h <<_ACEOF
16878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16886 if test "$ac_cv_header_wchar_h" != "yes"; then
16888 for ac_header in wcstr.h
16890 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16891 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16892 echo "$as_me:$LINENO: checking for $ac_header" >&5
16893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16895 echo $ECHO_N "(cached) $ECHO_C" >&6
16897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16900 # Is the header compilable?
16901 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16902 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16903 cat >conftest.$ac_ext <<_ACEOF
16906 cat confdefs.h >>conftest.$ac_ext
16907 cat >>conftest.$ac_ext <<_ACEOF
16908 /* end confdefs.h. */
16909 $ac_includes_default
16910 #include <$ac_header>
16912 rm -f conftest.$ac_objext
16913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16914 (eval $ac_compile) 2>conftest.er1
16916 grep -v '^ *+' conftest.er1 >conftest.err
16918 cat conftest.err >&5
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); } &&
16921 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16923 (eval $ac_try) 2>&5
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); }; } &&
16927 { ac_try='test -s conftest.$ac_objext'
16928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16929 (eval $ac_try) 2>&5
16931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932 (exit $ac_status); }; }; then
16933 ac_header_compiler=yes
16935 echo "$as_me: failed program was:" >&5
16936 sed 's/^/| /' conftest.$ac_ext >&5
16938 ac_header_compiler=no
16940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16941 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16942 echo "${ECHO_T}$ac_header_compiler" >&6
16944 # Is the header present?
16945 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16946 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16947 cat >conftest.$ac_ext <<_ACEOF
16950 cat confdefs.h >>conftest.$ac_ext
16951 cat >>conftest.$ac_ext <<_ACEOF
16952 /* end confdefs.h. */
16953 #include <$ac_header>
16955 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16956 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16958 grep -v '^ *+' conftest.er1 >conftest.err
16960 cat conftest.err >&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); } >/dev/null; then
16963 if test -s conftest.err; then
16964 ac_cpp_err=$ac_cxx_preproc_warn_flag
16965 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16972 if test -z "$ac_cpp_err"; then
16973 ac_header_preproc=yes
16975 echo "$as_me: failed program was:" >&5
16976 sed 's/^/| /' conftest.$ac_ext >&5
16978 ac_header_preproc=no
16980 rm -f conftest.err conftest.$ac_ext
16981 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16982 echo "${ECHO_T}$ac_header_preproc" >&6
16984 # So? What about this header?
16985 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16987 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16988 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16990 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16991 ac_header_preproc=yes
16994 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16995 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16996 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16997 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16998 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16999 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17000 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17001 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17002 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17003 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17004 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17005 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17008 ## ----------------------------------------- ##
17009 ## Report this to wx-dev@lists.wxwidgets.org ##
17010 ## ----------------------------------------- ##
17013 sed "s/^/$as_me: WARNING: /" >&2
17016 echo "$as_me:$LINENO: checking for $ac_header" >&5
17017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17018 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17019 echo $ECHO_N "(cached) $ECHO_C" >&6
17021 eval "$as_ac_Header=\$ac_header_preproc"
17023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17024 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17027 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17028 cat >>confdefs.h <<_ACEOF
17029 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17039 for ac_header in fnmatch.h
17041 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17043 echo "$as_me:$LINENO: checking for $ac_header" >&5
17044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17046 echo $ECHO_N "(cached) $ECHO_C" >&6
17048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17051 # Is the header compilable?
17052 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17053 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17054 cat >conftest.$ac_ext <<_ACEOF
17057 cat confdefs.h >>conftest.$ac_ext
17058 cat >>conftest.$ac_ext <<_ACEOF
17059 /* end confdefs.h. */
17060 $ac_includes_default
17061 #include <$ac_header>
17063 rm -f conftest.$ac_objext
17064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17065 (eval $ac_compile) 2>conftest.er1
17067 grep -v '^ *+' conftest.er1 >conftest.err
17069 cat conftest.err >&5
17070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17071 (exit $ac_status); } &&
17072 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17074 (eval $ac_try) 2>&5
17076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); }; } &&
17078 { ac_try='test -s conftest.$ac_objext'
17079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17080 (eval $ac_try) 2>&5
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); }; }; then
17084 ac_header_compiler=yes
17086 echo "$as_me: failed program was:" >&5
17087 sed 's/^/| /' conftest.$ac_ext >&5
17089 ac_header_compiler=no
17091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17092 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17093 echo "${ECHO_T}$ac_header_compiler" >&6
17095 # Is the header present?
17096 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17097 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17098 cat >conftest.$ac_ext <<_ACEOF
17101 cat confdefs.h >>conftest.$ac_ext
17102 cat >>conftest.$ac_ext <<_ACEOF
17103 /* end confdefs.h. */
17104 #include <$ac_header>
17106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17107 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17109 grep -v '^ *+' conftest.er1 >conftest.err
17111 cat conftest.err >&5
17112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); } >/dev/null; then
17114 if test -s conftest.err; then
17115 ac_cpp_err=$ac_cxx_preproc_warn_flag
17116 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17123 if test -z "$ac_cpp_err"; then
17124 ac_header_preproc=yes
17126 echo "$as_me: failed program was:" >&5
17127 sed 's/^/| /' conftest.$ac_ext >&5
17129 ac_header_preproc=no
17131 rm -f conftest.err conftest.$ac_ext
17132 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17133 echo "${ECHO_T}$ac_header_preproc" >&6
17135 # So? What about this header?
17136 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17138 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17139 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17140 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17141 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17142 ac_header_preproc=yes
17145 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17146 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17147 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17148 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17149 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17150 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17151 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17152 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17153 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17154 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17155 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17156 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17159 ## ----------------------------------------- ##
17160 ## Report this to wx-dev@lists.wxwidgets.org ##
17161 ## ----------------------------------------- ##
17164 sed "s/^/$as_me: WARNING: /" >&2
17167 echo "$as_me:$LINENO: checking for $ac_header" >&5
17168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17170 echo $ECHO_N "(cached) $ECHO_C" >&6
17172 eval "$as_ac_Header=\$ac_header_preproc"
17174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17175 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17178 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17179 cat >>confdefs.h <<_ACEOF
17180 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17189 for ac_header in langinfo.h
17191 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17193 echo "$as_me:$LINENO: checking for $ac_header" >&5
17194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17196 echo $ECHO_N "(cached) $ECHO_C" >&6
17198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17199 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17201 # Is the header compilable?
17202 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17203 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17204 cat >conftest.$ac_ext <<_ACEOF
17207 cat confdefs.h >>conftest.$ac_ext
17208 cat >>conftest.$ac_ext <<_ACEOF
17209 /* end confdefs.h. */
17210 $ac_includes_default
17211 #include <$ac_header>
17213 rm -f conftest.$ac_objext
17214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17215 (eval $ac_compile) 2>conftest.er1
17217 grep -v '^ *+' conftest.er1 >conftest.err
17219 cat conftest.err >&5
17220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17221 (exit $ac_status); } &&
17222 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17224 (eval $ac_try) 2>&5
17226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17227 (exit $ac_status); }; } &&
17228 { ac_try='test -s conftest.$ac_objext'
17229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17230 (eval $ac_try) 2>&5
17232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17233 (exit $ac_status); }; }; then
17234 ac_header_compiler=yes
17236 echo "$as_me: failed program was:" >&5
17237 sed 's/^/| /' conftest.$ac_ext >&5
17239 ac_header_compiler=no
17241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17242 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17243 echo "${ECHO_T}$ac_header_compiler" >&6
17245 # Is the header present?
17246 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17247 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17248 cat >conftest.$ac_ext <<_ACEOF
17251 cat confdefs.h >>conftest.$ac_ext
17252 cat >>conftest.$ac_ext <<_ACEOF
17253 /* end confdefs.h. */
17254 #include <$ac_header>
17256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17257 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17259 grep -v '^ *+' conftest.er1 >conftest.err
17261 cat conftest.err >&5
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); } >/dev/null; then
17264 if test -s conftest.err; then
17265 ac_cpp_err=$ac_cxx_preproc_warn_flag
17266 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17273 if test -z "$ac_cpp_err"; then
17274 ac_header_preproc=yes
17276 echo "$as_me: failed program was:" >&5
17277 sed 's/^/| /' conftest.$ac_ext >&5
17279 ac_header_preproc=no
17281 rm -f conftest.err conftest.$ac_ext
17282 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17283 echo "${ECHO_T}$ac_header_preproc" >&6
17285 # So? What about this header?
17286 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17288 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17289 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17290 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17291 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17292 ac_header_preproc=yes
17295 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17296 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17297 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17298 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17299 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17300 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17301 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17302 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17304 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17305 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17306 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17309 ## ----------------------------------------- ##
17310 ## Report this to wx-dev@lists.wxwidgets.org ##
17311 ## ----------------------------------------- ##
17314 sed "s/^/$as_me: WARNING: /" >&2
17317 echo "$as_me:$LINENO: checking for $ac_header" >&5
17318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17320 echo $ECHO_N "(cached) $ECHO_C" >&6
17322 eval "$as_ac_Header=\$ac_header_preproc"
17324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17325 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17328 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17329 cat >>confdefs.h <<_ACEOF
17330 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17339 *-pc-os2_emx | *-pc-os2-emx )
17340 if test $ac_cv_header_langinfo_h = "yes" \
17341 -a \( "$wx_cv_gccversion" = "EMX2" \
17342 -o "$wx_cv_gccversion" = "EMX3" \
17343 -o "$wx_cv_gccversion" = "Innotek5" \); then
17344 LIBS="$LIBS -lintl"
17350 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17351 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17352 if test "${ac_cv_c_const+set}" = set; then
17353 echo $ECHO_N "(cached) $ECHO_C" >&6
17355 cat >conftest.$ac_ext <<_ACEOF
17358 cat confdefs.h >>conftest.$ac_ext
17359 cat >>conftest.$ac_ext <<_ACEOF
17360 /* end confdefs.h. */
17365 /* FIXME: Include the comments suggested by Paul. */
17366 #ifndef __cplusplus
17367 /* Ultrix mips cc rejects this. */
17368 typedef int charset[2];
17370 /* SunOS 4.1.1 cc rejects this. */
17371 char const *const *ccp;
17373 /* NEC SVR4.0.2 mips cc rejects this. */
17374 struct point {int x, y;};
17375 static struct point const zero = {0,0};
17376 /* AIX XL C 1.02.0.0 rejects this.
17377 It does not let you subtract one const X* pointer from another in
17378 an arm of an if-expression whose if-part is not a constant
17380 const char *g = "string";
17381 ccp = &g + (g ? g-g : 0);
17382 /* HPUX 7.0 cc rejects these. */
17385 ccp = (char const *const *) p;
17386 { /* SCO 3.2v4 cc rejects this. */
17388 char const *s = 0 ? (char *) 0 : (char const *) 0;
17392 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17393 int x[] = {25, 17};
17394 const int *foo = &x[0];
17397 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17398 typedef const int *iptr;
17402 { /* AIX XL C 1.02.0.0 rejects this saying
17403 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17404 struct s { int j; const int *ap[3]; };
17405 struct s *b; b->j = 5;
17407 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17408 const int foo = 10;
17416 rm -f conftest.$ac_objext
17417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17418 (eval $ac_compile) 2>conftest.er1
17420 grep -v '^ *+' conftest.er1 >conftest.err
17422 cat conftest.err >&5
17423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17424 (exit $ac_status); } &&
17425 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17427 (eval $ac_try) 2>&5
17429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17430 (exit $ac_status); }; } &&
17431 { ac_try='test -s conftest.$ac_objext'
17432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17433 (eval $ac_try) 2>&5
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); }; }; then
17439 echo "$as_me: failed program was:" >&5
17440 sed 's/^/| /' conftest.$ac_ext >&5
17444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17446 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17447 echo "${ECHO_T}$ac_cv_c_const" >&6
17448 if test $ac_cv_c_const = no; then
17450 cat >>confdefs.h <<\_ACEOF
17456 echo "$as_me:$LINENO: checking for inline" >&5
17457 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17458 if test "${ac_cv_c_inline+set}" = set; then
17459 echo $ECHO_N "(cached) $ECHO_C" >&6
17462 for ac_kw in inline __inline__ __inline; do
17463 cat >conftest.$ac_ext <<_ACEOF
17466 cat confdefs.h >>conftest.$ac_ext
17467 cat >>conftest.$ac_ext <<_ACEOF
17468 /* end confdefs.h. */
17469 #ifndef __cplusplus
17471 static $ac_kw foo_t static_foo () {return 0; }
17472 $ac_kw foo_t foo () {return 0; }
17476 rm -f conftest.$ac_objext
17477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17478 (eval $ac_compile) 2>conftest.er1
17480 grep -v '^ *+' conftest.er1 >conftest.err
17482 cat conftest.err >&5
17483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484 (exit $ac_status); } &&
17485 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17487 (eval $ac_try) 2>&5
17489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17490 (exit $ac_status); }; } &&
17491 { ac_try='test -s conftest.$ac_objext'
17492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17493 (eval $ac_try) 2>&5
17495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17496 (exit $ac_status); }; }; then
17497 ac_cv_c_inline=$ac_kw; break
17499 echo "$as_me: failed program was:" >&5
17500 sed 's/^/| /' conftest.$ac_ext >&5
17503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17507 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17508 echo "${ECHO_T}$ac_cv_c_inline" >&6
17511 case $ac_cv_c_inline in
17514 case $ac_cv_c_inline in
17516 *) ac_val=$ac_cv_c_inline;;
17518 cat >>confdefs.h <<_ACEOF
17519 #ifndef __cplusplus
17520 #define inline $ac_val
17527 echo "$as_me:$LINENO: checking for char" >&5
17528 echo $ECHO_N "checking for char... $ECHO_C" >&6
17529 if test "${ac_cv_type_char+set}" = set; then
17530 echo $ECHO_N "(cached) $ECHO_C" >&6
17532 cat >conftest.$ac_ext <<_ACEOF
17535 cat confdefs.h >>conftest.$ac_ext
17536 cat >>conftest.$ac_ext <<_ACEOF
17537 /* end confdefs.h. */
17538 $ac_includes_default
17550 rm -f conftest.$ac_objext
17551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17552 (eval $ac_compile) 2>conftest.er1
17554 grep -v '^ *+' conftest.er1 >conftest.err
17556 cat conftest.err >&5
17557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17558 (exit $ac_status); } &&
17559 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17561 (eval $ac_try) 2>&5
17563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17564 (exit $ac_status); }; } &&
17565 { ac_try='test -s conftest.$ac_objext'
17566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17567 (eval $ac_try) 2>&5
17569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570 (exit $ac_status); }; }; then
17571 ac_cv_type_char=yes
17573 echo "$as_me: failed program was:" >&5
17574 sed 's/^/| /' conftest.$ac_ext >&5
17578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17580 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17581 echo "${ECHO_T}$ac_cv_type_char" >&6
17583 echo "$as_me:$LINENO: checking size of char" >&5
17584 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17585 if test "${ac_cv_sizeof_char+set}" = set; then
17586 echo $ECHO_N "(cached) $ECHO_C" >&6
17588 if test "$ac_cv_type_char" = yes; then
17589 # The cast to unsigned long works around a bug in the HP C Compiler
17590 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17591 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17592 # This bug is HP SR number 8606223364.
17593 if test "$cross_compiling" = yes; then
17594 # Depending upon the size, compute the lo and hi bounds.
17595 cat >conftest.$ac_ext <<_ACEOF
17598 cat confdefs.h >>conftest.$ac_ext
17599 cat >>conftest.$ac_ext <<_ACEOF
17600 /* end confdefs.h. */
17601 $ac_includes_default
17605 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17612 rm -f conftest.$ac_objext
17613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17614 (eval $ac_compile) 2>conftest.er1
17616 grep -v '^ *+' conftest.er1 >conftest.err
17618 cat conftest.err >&5
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); } &&
17621 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17623 (eval $ac_try) 2>&5
17625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17626 (exit $ac_status); }; } &&
17627 { ac_try='test -s conftest.$ac_objext'
17628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17629 (eval $ac_try) 2>&5
17631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632 (exit $ac_status); }; }; then
17635 cat >conftest.$ac_ext <<_ACEOF
17638 cat confdefs.h >>conftest.$ac_ext
17639 cat >>conftest.$ac_ext <<_ACEOF
17640 /* end confdefs.h. */
17641 $ac_includes_default
17645 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17652 rm -f conftest.$ac_objext
17653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17654 (eval $ac_compile) 2>conftest.er1
17656 grep -v '^ *+' conftest.er1 >conftest.err
17658 cat conftest.err >&5
17659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17660 (exit $ac_status); } &&
17661 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17663 (eval $ac_try) 2>&5
17665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17666 (exit $ac_status); }; } &&
17667 { ac_try='test -s conftest.$ac_objext'
17668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17669 (eval $ac_try) 2>&5
17671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672 (exit $ac_status); }; }; then
17673 ac_hi=$ac_mid; break
17675 echo "$as_me: failed program was:" >&5
17676 sed 's/^/| /' conftest.$ac_ext >&5
17678 ac_lo=`expr $ac_mid + 1`
17679 if test $ac_lo -le $ac_mid; then
17683 ac_mid=`expr 2 '*' $ac_mid + 1`
17685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17688 echo "$as_me: failed program was:" >&5
17689 sed 's/^/| /' conftest.$ac_ext >&5
17691 cat >conftest.$ac_ext <<_ACEOF
17694 cat confdefs.h >>conftest.$ac_ext
17695 cat >>conftest.$ac_ext <<_ACEOF
17696 /* end confdefs.h. */
17697 $ac_includes_default
17701 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17708 rm -f conftest.$ac_objext
17709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17710 (eval $ac_compile) 2>conftest.er1
17712 grep -v '^ *+' conftest.er1 >conftest.err
17714 cat conftest.err >&5
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); } &&
17717 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17719 (eval $ac_try) 2>&5
17721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722 (exit $ac_status); }; } &&
17723 { ac_try='test -s conftest.$ac_objext'
17724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17725 (eval $ac_try) 2>&5
17727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17728 (exit $ac_status); }; }; then
17731 cat >conftest.$ac_ext <<_ACEOF
17734 cat confdefs.h >>conftest.$ac_ext
17735 cat >>conftest.$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17737 $ac_includes_default
17741 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17748 rm -f conftest.$ac_objext
17749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17750 (eval $ac_compile) 2>conftest.er1
17752 grep -v '^ *+' conftest.er1 >conftest.err
17754 cat conftest.err >&5
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); } &&
17757 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17759 (eval $ac_try) 2>&5
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); }; } &&
17763 { ac_try='test -s conftest.$ac_objext'
17764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17765 (eval $ac_try) 2>&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); }; }; then
17769 ac_lo=$ac_mid; break
17771 echo "$as_me: failed program was:" >&5
17772 sed 's/^/| /' conftest.$ac_ext >&5
17774 ac_hi=`expr '(' $ac_mid ')' - 1`
17775 if test $ac_mid -le $ac_hi; then
17779 ac_mid=`expr 2 '*' $ac_mid`
17781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17784 echo "$as_me: failed program was:" >&5
17785 sed 's/^/| /' conftest.$ac_ext >&5
17789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17792 # Binary search between lo and hi bounds.
17793 while test "x$ac_lo" != "x$ac_hi"; do
17794 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17795 cat >conftest.$ac_ext <<_ACEOF
17798 cat confdefs.h >>conftest.$ac_ext
17799 cat >>conftest.$ac_ext <<_ACEOF
17800 /* end confdefs.h. */
17801 $ac_includes_default
17805 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17812 rm -f conftest.$ac_objext
17813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17814 (eval $ac_compile) 2>conftest.er1
17816 grep -v '^ *+' conftest.er1 >conftest.err
17818 cat conftest.err >&5
17819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17820 (exit $ac_status); } &&
17821 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17823 (eval $ac_try) 2>&5
17825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17826 (exit $ac_status); }; } &&
17827 { ac_try='test -s conftest.$ac_objext'
17828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17829 (eval $ac_try) 2>&5
17831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832 (exit $ac_status); }; }; then
17835 echo "$as_me: failed program was:" >&5
17836 sed 's/^/| /' conftest.$ac_ext >&5
17838 ac_lo=`expr '(' $ac_mid ')' + 1`
17840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17843 ?*) ac_cv_sizeof_char=$ac_lo;;
17844 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17845 See \`config.log' for more details." >&5
17846 echo "$as_me: error: cannot compute sizeof (char), 77
17847 See \`config.log' for more details." >&2;}
17848 { (exit 1); exit 1; }; } ;;
17851 if test "$cross_compiling" = yes; then
17852 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17853 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17854 { (exit 1); exit 1; }; }
17856 cat >conftest.$ac_ext <<_ACEOF
17859 cat confdefs.h >>conftest.$ac_ext
17860 cat >>conftest.$ac_ext <<_ACEOF
17861 /* end confdefs.h. */
17862 $ac_includes_default
17863 long longval () { return (long) (sizeof (char)); }
17864 unsigned long ulongval () { return (long) (sizeof (char)); }
17866 #include <stdlib.h>
17871 FILE *f = fopen ("conftest.val", "w");
17874 if (((long) (sizeof (char))) < 0)
17876 long i = longval ();
17877 if (i != ((long) (sizeof (char))))
17879 fprintf (f, "%ld\n", i);
17883 unsigned long i = ulongval ();
17884 if (i != ((long) (sizeof (char))))
17886 fprintf (f, "%lu\n", i);
17888 exit (ferror (f) || fclose (f) != 0);
17894 rm -f conftest$ac_exeext
17895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17896 (eval $ac_link) 2>&5
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17901 (eval $ac_try) 2>&5
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); }; }; then
17905 ac_cv_sizeof_char=`cat conftest.val`
17907 echo "$as_me: program exited with status $ac_status" >&5
17908 echo "$as_me: failed program was:" >&5
17909 sed 's/^/| /' conftest.$ac_ext >&5
17911 ( exit $ac_status )
17912 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17913 See \`config.log' for more details." >&5
17914 echo "$as_me: error: cannot compute sizeof (char), 77
17915 See \`config.log' for more details." >&2;}
17916 { (exit 1); exit 1; }; }
17918 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17923 ac_cv_sizeof_char=0
17926 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17927 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17928 cat >>confdefs.h <<_ACEOF
17929 #define SIZEOF_CHAR $ac_cv_sizeof_char
17933 echo "$as_me:$LINENO: checking for short" >&5
17934 echo $ECHO_N "checking for short... $ECHO_C" >&6
17935 if test "${ac_cv_type_short+set}" = set; then
17936 echo $ECHO_N "(cached) $ECHO_C" >&6
17938 cat >conftest.$ac_ext <<_ACEOF
17941 cat confdefs.h >>conftest.$ac_ext
17942 cat >>conftest.$ac_ext <<_ACEOF
17943 /* end confdefs.h. */
17944 $ac_includes_default
17950 if (sizeof (short))
17956 rm -f conftest.$ac_objext
17957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17958 (eval $ac_compile) 2>conftest.er1
17960 grep -v '^ *+' conftest.er1 >conftest.err
17962 cat conftest.err >&5
17963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17964 (exit $ac_status); } &&
17965 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17967 (eval $ac_try) 2>&5
17969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17970 (exit $ac_status); }; } &&
17971 { ac_try='test -s conftest.$ac_objext'
17972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17973 (eval $ac_try) 2>&5
17975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976 (exit $ac_status); }; }; then
17977 ac_cv_type_short=yes
17979 echo "$as_me: failed program was:" >&5
17980 sed 's/^/| /' conftest.$ac_ext >&5
17982 ac_cv_type_short=no
17984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17986 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17987 echo "${ECHO_T}$ac_cv_type_short" >&6
17989 echo "$as_me:$LINENO: checking size of short" >&5
17990 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17991 if test "${ac_cv_sizeof_short+set}" = set; then
17992 echo $ECHO_N "(cached) $ECHO_C" >&6
17994 if test "$ac_cv_type_short" = yes; then
17995 # The cast to unsigned long works around a bug in the HP C Compiler
17996 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17997 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17998 # This bug is HP SR number 8606223364.
17999 if test "$cross_compiling" = yes; then
18000 # Depending upon the size, compute the lo and hi bounds.
18001 cat >conftest.$ac_ext <<_ACEOF
18004 cat confdefs.h >>conftest.$ac_ext
18005 cat >>conftest.$ac_ext <<_ACEOF
18006 /* end confdefs.h. */
18007 $ac_includes_default
18011 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18018 rm -f conftest.$ac_objext
18019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18020 (eval $ac_compile) 2>conftest.er1
18022 grep -v '^ *+' conftest.er1 >conftest.err
18024 cat conftest.err >&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); } &&
18027 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18029 (eval $ac_try) 2>&5
18031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18032 (exit $ac_status); }; } &&
18033 { ac_try='test -s conftest.$ac_objext'
18034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18035 (eval $ac_try) 2>&5
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); }; }; then
18041 cat >conftest.$ac_ext <<_ACEOF
18044 cat confdefs.h >>conftest.$ac_ext
18045 cat >>conftest.$ac_ext <<_ACEOF
18046 /* end confdefs.h. */
18047 $ac_includes_default
18051 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18058 rm -f conftest.$ac_objext
18059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18060 (eval $ac_compile) 2>conftest.er1
18062 grep -v '^ *+' conftest.er1 >conftest.err
18064 cat conftest.err >&5
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); } &&
18067 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18069 (eval $ac_try) 2>&5
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); }; } &&
18073 { ac_try='test -s conftest.$ac_objext'
18074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18075 (eval $ac_try) 2>&5
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); }; }; then
18079 ac_hi=$ac_mid; break
18081 echo "$as_me: failed program was:" >&5
18082 sed 's/^/| /' conftest.$ac_ext >&5
18084 ac_lo=`expr $ac_mid + 1`
18085 if test $ac_lo -le $ac_mid; then
18089 ac_mid=`expr 2 '*' $ac_mid + 1`
18091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18094 echo "$as_me: failed program was:" >&5
18095 sed 's/^/| /' conftest.$ac_ext >&5
18097 cat >conftest.$ac_ext <<_ACEOF
18100 cat confdefs.h >>conftest.$ac_ext
18101 cat >>conftest.$ac_ext <<_ACEOF
18102 /* end confdefs.h. */
18103 $ac_includes_default
18107 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18114 rm -f conftest.$ac_objext
18115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18116 (eval $ac_compile) 2>conftest.er1
18118 grep -v '^ *+' conftest.er1 >conftest.err
18120 cat conftest.err >&5
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); } &&
18123 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18125 (eval $ac_try) 2>&5
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 (exit $ac_status); }; } &&
18129 { ac_try='test -s conftest.$ac_objext'
18130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18131 (eval $ac_try) 2>&5
18133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18134 (exit $ac_status); }; }; then
18137 cat >conftest.$ac_ext <<_ACEOF
18140 cat confdefs.h >>conftest.$ac_ext
18141 cat >>conftest.$ac_ext <<_ACEOF
18142 /* end confdefs.h. */
18143 $ac_includes_default
18147 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18154 rm -f conftest.$ac_objext
18155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18156 (eval $ac_compile) 2>conftest.er1
18158 grep -v '^ *+' conftest.er1 >conftest.err
18160 cat conftest.err >&5
18161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18162 (exit $ac_status); } &&
18163 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18165 (eval $ac_try) 2>&5
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); }; } &&
18169 { ac_try='test -s conftest.$ac_objext'
18170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18171 (eval $ac_try) 2>&5
18173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18174 (exit $ac_status); }; }; then
18175 ac_lo=$ac_mid; break
18177 echo "$as_me: failed program was:" >&5
18178 sed 's/^/| /' conftest.$ac_ext >&5
18180 ac_hi=`expr '(' $ac_mid ')' - 1`
18181 if test $ac_mid -le $ac_hi; then
18185 ac_mid=`expr 2 '*' $ac_mid`
18187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18190 echo "$as_me: failed program was:" >&5
18191 sed 's/^/| /' conftest.$ac_ext >&5
18195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18198 # Binary search between lo and hi bounds.
18199 while test "x$ac_lo" != "x$ac_hi"; do
18200 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18201 cat >conftest.$ac_ext <<_ACEOF
18204 cat confdefs.h >>conftest.$ac_ext
18205 cat >>conftest.$ac_ext <<_ACEOF
18206 /* end confdefs.h. */
18207 $ac_includes_default
18211 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18218 rm -f conftest.$ac_objext
18219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18220 (eval $ac_compile) 2>conftest.er1
18222 grep -v '^ *+' conftest.er1 >conftest.err
18224 cat conftest.err >&5
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); } &&
18227 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18229 (eval $ac_try) 2>&5
18231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18232 (exit $ac_status); }; } &&
18233 { ac_try='test -s conftest.$ac_objext'
18234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18235 (eval $ac_try) 2>&5
18237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238 (exit $ac_status); }; }; then
18241 echo "$as_me: failed program was:" >&5
18242 sed 's/^/| /' conftest.$ac_ext >&5
18244 ac_lo=`expr '(' $ac_mid ')' + 1`
18246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18249 ?*) ac_cv_sizeof_short=$ac_lo;;
18250 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18251 See \`config.log' for more details." >&5
18252 echo "$as_me: error: cannot compute sizeof (short), 77
18253 See \`config.log' for more details." >&2;}
18254 { (exit 1); exit 1; }; } ;;
18257 if test "$cross_compiling" = yes; then
18258 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18259 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18260 { (exit 1); exit 1; }; }
18262 cat >conftest.$ac_ext <<_ACEOF
18265 cat confdefs.h >>conftest.$ac_ext
18266 cat >>conftest.$ac_ext <<_ACEOF
18267 /* end confdefs.h. */
18268 $ac_includes_default
18269 long longval () { return (long) (sizeof (short)); }
18270 unsigned long ulongval () { return (long) (sizeof (short)); }
18272 #include <stdlib.h>
18277 FILE *f = fopen ("conftest.val", "w");
18280 if (((long) (sizeof (short))) < 0)
18282 long i = longval ();
18283 if (i != ((long) (sizeof (short))))
18285 fprintf (f, "%ld\n", i);
18289 unsigned long i = ulongval ();
18290 if (i != ((long) (sizeof (short))))
18292 fprintf (f, "%lu\n", i);
18294 exit (ferror (f) || fclose (f) != 0);
18300 rm -f conftest$ac_exeext
18301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18302 (eval $ac_link) 2>&5
18304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18307 (eval $ac_try) 2>&5
18309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18310 (exit $ac_status); }; }; then
18311 ac_cv_sizeof_short=`cat conftest.val`
18313 echo "$as_me: program exited with status $ac_status" >&5
18314 echo "$as_me: failed program was:" >&5
18315 sed 's/^/| /' conftest.$ac_ext >&5
18317 ( exit $ac_status )
18318 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18319 See \`config.log' for more details." >&5
18320 echo "$as_me: error: cannot compute sizeof (short), 77
18321 See \`config.log' for more details." >&2;}
18322 { (exit 1); exit 1; }; }
18324 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18329 ac_cv_sizeof_short=0
18332 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18333 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18334 cat >>confdefs.h <<_ACEOF
18335 #define SIZEOF_SHORT $ac_cv_sizeof_short
18339 echo "$as_me:$LINENO: checking for void *" >&5
18340 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18341 if test "${ac_cv_type_void_p+set}" = set; then
18342 echo $ECHO_N "(cached) $ECHO_C" >&6
18344 cat >conftest.$ac_ext <<_ACEOF
18347 cat confdefs.h >>conftest.$ac_ext
18348 cat >>conftest.$ac_ext <<_ACEOF
18349 /* end confdefs.h. */
18350 $ac_includes_default
18356 if (sizeof (void *))
18362 rm -f conftest.$ac_objext
18363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18364 (eval $ac_compile) 2>conftest.er1
18366 grep -v '^ *+' conftest.er1 >conftest.err
18368 cat conftest.err >&5
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); } &&
18371 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18373 (eval $ac_try) 2>&5
18375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18376 (exit $ac_status); }; } &&
18377 { ac_try='test -s conftest.$ac_objext'
18378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18379 (eval $ac_try) 2>&5
18381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18382 (exit $ac_status); }; }; then
18383 ac_cv_type_void_p=yes
18385 echo "$as_me: failed program was:" >&5
18386 sed 's/^/| /' conftest.$ac_ext >&5
18388 ac_cv_type_void_p=no
18390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18392 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18393 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18395 echo "$as_me:$LINENO: checking size of void *" >&5
18396 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18397 if test "${ac_cv_sizeof_void_p+set}" = set; then
18398 echo $ECHO_N "(cached) $ECHO_C" >&6
18400 if test "$ac_cv_type_void_p" = yes; then
18401 # The cast to unsigned long works around a bug in the HP C Compiler
18402 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18403 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18404 # This bug is HP SR number 8606223364.
18405 if test "$cross_compiling" = yes; then
18406 # Depending upon the size, compute the lo and hi bounds.
18407 cat >conftest.$ac_ext <<_ACEOF
18410 cat confdefs.h >>conftest.$ac_ext
18411 cat >>conftest.$ac_ext <<_ACEOF
18412 /* end confdefs.h. */
18413 $ac_includes_default
18417 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18424 rm -f conftest.$ac_objext
18425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18426 (eval $ac_compile) 2>conftest.er1
18428 grep -v '^ *+' conftest.er1 >conftest.err
18430 cat conftest.err >&5
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); } &&
18433 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18435 (eval $ac_try) 2>&5
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); }; } &&
18439 { ac_try='test -s conftest.$ac_objext'
18440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18441 (eval $ac_try) 2>&5
18443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 (exit $ac_status); }; }; then
18447 cat >conftest.$ac_ext <<_ACEOF
18450 cat confdefs.h >>conftest.$ac_ext
18451 cat >>conftest.$ac_ext <<_ACEOF
18452 /* end confdefs.h. */
18453 $ac_includes_default
18457 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18464 rm -f conftest.$ac_objext
18465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18466 (eval $ac_compile) 2>conftest.er1
18468 grep -v '^ *+' conftest.er1 >conftest.err
18470 cat conftest.err >&5
18471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18472 (exit $ac_status); } &&
18473 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18475 (eval $ac_try) 2>&5
18477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18478 (exit $ac_status); }; } &&
18479 { ac_try='test -s conftest.$ac_objext'
18480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18481 (eval $ac_try) 2>&5
18483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18484 (exit $ac_status); }; }; then
18485 ac_hi=$ac_mid; break
18487 echo "$as_me: failed program was:" >&5
18488 sed 's/^/| /' conftest.$ac_ext >&5
18490 ac_lo=`expr $ac_mid + 1`
18491 if test $ac_lo -le $ac_mid; then
18495 ac_mid=`expr 2 '*' $ac_mid + 1`
18497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18500 echo "$as_me: failed program was:" >&5
18501 sed 's/^/| /' conftest.$ac_ext >&5
18503 cat >conftest.$ac_ext <<_ACEOF
18506 cat confdefs.h >>conftest.$ac_ext
18507 cat >>conftest.$ac_ext <<_ACEOF
18508 /* end confdefs.h. */
18509 $ac_includes_default
18513 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18520 rm -f conftest.$ac_objext
18521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18522 (eval $ac_compile) 2>conftest.er1
18524 grep -v '^ *+' conftest.er1 >conftest.err
18526 cat conftest.err >&5
18527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18528 (exit $ac_status); } &&
18529 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18531 (eval $ac_try) 2>&5
18533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18534 (exit $ac_status); }; } &&
18535 { ac_try='test -s conftest.$ac_objext'
18536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18537 (eval $ac_try) 2>&5
18539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18540 (exit $ac_status); }; }; then
18543 cat >conftest.$ac_ext <<_ACEOF
18546 cat confdefs.h >>conftest.$ac_ext
18547 cat >>conftest.$ac_ext <<_ACEOF
18548 /* end confdefs.h. */
18549 $ac_includes_default
18553 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18560 rm -f conftest.$ac_objext
18561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18562 (eval $ac_compile) 2>conftest.er1
18564 grep -v '^ *+' conftest.er1 >conftest.err
18566 cat conftest.err >&5
18567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18568 (exit $ac_status); } &&
18569 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18571 (eval $ac_try) 2>&5
18573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18574 (exit $ac_status); }; } &&
18575 { ac_try='test -s conftest.$ac_objext'
18576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18577 (eval $ac_try) 2>&5
18579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18580 (exit $ac_status); }; }; then
18581 ac_lo=$ac_mid; break
18583 echo "$as_me: failed program was:" >&5
18584 sed 's/^/| /' conftest.$ac_ext >&5
18586 ac_hi=`expr '(' $ac_mid ')' - 1`
18587 if test $ac_mid -le $ac_hi; then
18591 ac_mid=`expr 2 '*' $ac_mid`
18593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18596 echo "$as_me: failed program was:" >&5
18597 sed 's/^/| /' conftest.$ac_ext >&5
18601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18604 # Binary search between lo and hi bounds.
18605 while test "x$ac_lo" != "x$ac_hi"; do
18606 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18607 cat >conftest.$ac_ext <<_ACEOF
18610 cat confdefs.h >>conftest.$ac_ext
18611 cat >>conftest.$ac_ext <<_ACEOF
18612 /* end confdefs.h. */
18613 $ac_includes_default
18617 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18624 rm -f conftest.$ac_objext
18625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18626 (eval $ac_compile) 2>conftest.er1
18628 grep -v '^ *+' conftest.er1 >conftest.err
18630 cat conftest.err >&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); } &&
18633 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18635 (eval $ac_try) 2>&5
18637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18638 (exit $ac_status); }; } &&
18639 { ac_try='test -s conftest.$ac_objext'
18640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18641 (eval $ac_try) 2>&5
18643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18644 (exit $ac_status); }; }; then
18647 echo "$as_me: failed program was:" >&5
18648 sed 's/^/| /' conftest.$ac_ext >&5
18650 ac_lo=`expr '(' $ac_mid ')' + 1`
18652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18655 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18656 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18657 See \`config.log' for more details." >&5
18658 echo "$as_me: error: cannot compute sizeof (void *), 77
18659 See \`config.log' for more details." >&2;}
18660 { (exit 1); exit 1; }; } ;;
18663 if test "$cross_compiling" = yes; then
18664 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18665 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18666 { (exit 1); exit 1; }; }
18668 cat >conftest.$ac_ext <<_ACEOF
18671 cat confdefs.h >>conftest.$ac_ext
18672 cat >>conftest.$ac_ext <<_ACEOF
18673 /* end confdefs.h. */
18674 $ac_includes_default
18675 long longval () { return (long) (sizeof (void *)); }
18676 unsigned long ulongval () { return (long) (sizeof (void *)); }
18678 #include <stdlib.h>
18683 FILE *f = fopen ("conftest.val", "w");
18686 if (((long) (sizeof (void *))) < 0)
18688 long i = longval ();
18689 if (i != ((long) (sizeof (void *))))
18691 fprintf (f, "%ld\n", i);
18695 unsigned long i = ulongval ();
18696 if (i != ((long) (sizeof (void *))))
18698 fprintf (f, "%lu\n", i);
18700 exit (ferror (f) || fclose (f) != 0);
18706 rm -f conftest$ac_exeext
18707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18708 (eval $ac_link) 2>&5
18710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18711 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18713 (eval $ac_try) 2>&5
18715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18716 (exit $ac_status); }; }; then
18717 ac_cv_sizeof_void_p=`cat conftest.val`
18719 echo "$as_me: program exited with status $ac_status" >&5
18720 echo "$as_me: failed program was:" >&5
18721 sed 's/^/| /' conftest.$ac_ext >&5
18723 ( exit $ac_status )
18724 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18725 See \`config.log' for more details." >&5
18726 echo "$as_me: error: cannot compute sizeof (void *), 77
18727 See \`config.log' for more details." >&2;}
18728 { (exit 1); exit 1; }; }
18730 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18735 ac_cv_sizeof_void_p=0
18738 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18739 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18740 cat >>confdefs.h <<_ACEOF
18741 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18745 echo "$as_me:$LINENO: checking for int" >&5
18746 echo $ECHO_N "checking for int... $ECHO_C" >&6
18747 if test "${ac_cv_type_int+set}" = set; then
18748 echo $ECHO_N "(cached) $ECHO_C" >&6
18750 cat >conftest.$ac_ext <<_ACEOF
18753 cat confdefs.h >>conftest.$ac_ext
18754 cat >>conftest.$ac_ext <<_ACEOF
18755 /* end confdefs.h. */
18756 $ac_includes_default
18768 rm -f conftest.$ac_objext
18769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18770 (eval $ac_compile) 2>conftest.er1
18772 grep -v '^ *+' conftest.er1 >conftest.err
18774 cat conftest.err >&5
18775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18776 (exit $ac_status); } &&
18777 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18779 (eval $ac_try) 2>&5
18781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18782 (exit $ac_status); }; } &&
18783 { ac_try='test -s conftest.$ac_objext'
18784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18785 (eval $ac_try) 2>&5
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); }; }; then
18791 echo "$as_me: failed program was:" >&5
18792 sed 's/^/| /' conftest.$ac_ext >&5
18796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18798 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18799 echo "${ECHO_T}$ac_cv_type_int" >&6
18801 echo "$as_me:$LINENO: checking size of int" >&5
18802 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18803 if test "${ac_cv_sizeof_int+set}" = set; then
18804 echo $ECHO_N "(cached) $ECHO_C" >&6
18806 if test "$ac_cv_type_int" = yes; then
18807 # The cast to unsigned long works around a bug in the HP C Compiler
18808 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18809 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18810 # This bug is HP SR number 8606223364.
18811 if test "$cross_compiling" = yes; then
18812 # Depending upon the size, compute the lo and hi bounds.
18813 cat >conftest.$ac_ext <<_ACEOF
18816 cat confdefs.h >>conftest.$ac_ext
18817 cat >>conftest.$ac_ext <<_ACEOF
18818 /* end confdefs.h. */
18819 $ac_includes_default
18823 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18830 rm -f conftest.$ac_objext
18831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18832 (eval $ac_compile) 2>conftest.er1
18834 grep -v '^ *+' conftest.er1 >conftest.err
18836 cat conftest.err >&5
18837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18838 (exit $ac_status); } &&
18839 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18841 (eval $ac_try) 2>&5
18843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18844 (exit $ac_status); }; } &&
18845 { ac_try='test -s conftest.$ac_objext'
18846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18847 (eval $ac_try) 2>&5
18849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18850 (exit $ac_status); }; }; then
18853 cat >conftest.$ac_ext <<_ACEOF
18856 cat confdefs.h >>conftest.$ac_ext
18857 cat >>conftest.$ac_ext <<_ACEOF
18858 /* end confdefs.h. */
18859 $ac_includes_default
18863 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18870 rm -f conftest.$ac_objext
18871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18872 (eval $ac_compile) 2>conftest.er1
18874 grep -v '^ *+' conftest.er1 >conftest.err
18876 cat conftest.err >&5
18877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18878 (exit $ac_status); } &&
18879 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18881 (eval $ac_try) 2>&5
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); }; } &&
18885 { ac_try='test -s conftest.$ac_objext'
18886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18887 (eval $ac_try) 2>&5
18889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18890 (exit $ac_status); }; }; then
18891 ac_hi=$ac_mid; break
18893 echo "$as_me: failed program was:" >&5
18894 sed 's/^/| /' conftest.$ac_ext >&5
18896 ac_lo=`expr $ac_mid + 1`
18897 if test $ac_lo -le $ac_mid; then
18901 ac_mid=`expr 2 '*' $ac_mid + 1`
18903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18906 echo "$as_me: failed program was:" >&5
18907 sed 's/^/| /' conftest.$ac_ext >&5
18909 cat >conftest.$ac_ext <<_ACEOF
18912 cat confdefs.h >>conftest.$ac_ext
18913 cat >>conftest.$ac_ext <<_ACEOF
18914 /* end confdefs.h. */
18915 $ac_includes_default
18919 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18926 rm -f conftest.$ac_objext
18927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18928 (eval $ac_compile) 2>conftest.er1
18930 grep -v '^ *+' conftest.er1 >conftest.err
18932 cat conftest.err >&5
18933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18934 (exit $ac_status); } &&
18935 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18937 (eval $ac_try) 2>&5
18939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18940 (exit $ac_status); }; } &&
18941 { ac_try='test -s conftest.$ac_objext'
18942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18943 (eval $ac_try) 2>&5
18945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18946 (exit $ac_status); }; }; then
18949 cat >conftest.$ac_ext <<_ACEOF
18952 cat confdefs.h >>conftest.$ac_ext
18953 cat >>conftest.$ac_ext <<_ACEOF
18954 /* end confdefs.h. */
18955 $ac_includes_default
18959 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
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_cxx_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_lo=$ac_mid; break
18989 echo "$as_me: failed program was:" >&5
18990 sed 's/^/| /' conftest.$ac_ext >&5
18992 ac_hi=`expr '(' $ac_mid ')' - 1`
18993 if test $ac_mid -le $ac_hi; then
18997 ac_mid=`expr 2 '*' $ac_mid`
18999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19002 echo "$as_me: failed program was:" >&5
19003 sed 's/^/| /' conftest.$ac_ext >&5
19007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19010 # Binary search between lo and hi bounds.
19011 while test "x$ac_lo" != "x$ac_hi"; do
19012 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19013 cat >conftest.$ac_ext <<_ACEOF
19016 cat confdefs.h >>conftest.$ac_ext
19017 cat >>conftest.$ac_ext <<_ACEOF
19018 /* end confdefs.h. */
19019 $ac_includes_default
19023 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19030 rm -f conftest.$ac_objext
19031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19032 (eval $ac_compile) 2>conftest.er1
19034 grep -v '^ *+' conftest.er1 >conftest.err
19036 cat conftest.err >&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); } &&
19039 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19041 (eval $ac_try) 2>&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); }; } &&
19045 { ac_try='test -s conftest.$ac_objext'
19046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19047 (eval $ac_try) 2>&5
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); }; }; then
19053 echo "$as_me: failed program was:" >&5
19054 sed 's/^/| /' conftest.$ac_ext >&5
19056 ac_lo=`expr '(' $ac_mid ')' + 1`
19058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19061 ?*) ac_cv_sizeof_int=$ac_lo;;
19062 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19063 See \`config.log' for more details." >&5
19064 echo "$as_me: error: cannot compute sizeof (int), 77
19065 See \`config.log' for more details." >&2;}
19066 { (exit 1); exit 1; }; } ;;
19069 if test "$cross_compiling" = yes; then
19070 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19071 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19072 { (exit 1); exit 1; }; }
19074 cat >conftest.$ac_ext <<_ACEOF
19077 cat confdefs.h >>conftest.$ac_ext
19078 cat >>conftest.$ac_ext <<_ACEOF
19079 /* end confdefs.h. */
19080 $ac_includes_default
19081 long longval () { return (long) (sizeof (int)); }
19082 unsigned long ulongval () { return (long) (sizeof (int)); }
19084 #include <stdlib.h>
19089 FILE *f = fopen ("conftest.val", "w");
19092 if (((long) (sizeof (int))) < 0)
19094 long i = longval ();
19095 if (i != ((long) (sizeof (int))))
19097 fprintf (f, "%ld\n", i);
19101 unsigned long i = ulongval ();
19102 if (i != ((long) (sizeof (int))))
19104 fprintf (f, "%lu\n", i);
19106 exit (ferror (f) || fclose (f) != 0);
19112 rm -f conftest$ac_exeext
19113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19114 (eval $ac_link) 2>&5
19116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19117 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19119 (eval $ac_try) 2>&5
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); }; }; then
19123 ac_cv_sizeof_int=`cat conftest.val`
19125 echo "$as_me: program exited with status $ac_status" >&5
19126 echo "$as_me: failed program was:" >&5
19127 sed 's/^/| /' conftest.$ac_ext >&5
19129 ( exit $ac_status )
19130 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19131 See \`config.log' for more details." >&5
19132 echo "$as_me: error: cannot compute sizeof (int), 77
19133 See \`config.log' for more details." >&2;}
19134 { (exit 1); exit 1; }; }
19136 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19144 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19145 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19146 cat >>confdefs.h <<_ACEOF
19147 #define SIZEOF_INT $ac_cv_sizeof_int
19151 echo "$as_me:$LINENO: checking for long" >&5
19152 echo $ECHO_N "checking for long... $ECHO_C" >&6
19153 if test "${ac_cv_type_long+set}" = set; then
19154 echo $ECHO_N "(cached) $ECHO_C" >&6
19156 cat >conftest.$ac_ext <<_ACEOF
19159 cat confdefs.h >>conftest.$ac_ext
19160 cat >>conftest.$ac_ext <<_ACEOF
19161 /* end confdefs.h. */
19162 $ac_includes_default
19174 rm -f conftest.$ac_objext
19175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19176 (eval $ac_compile) 2>conftest.er1
19178 grep -v '^ *+' conftest.er1 >conftest.err
19180 cat conftest.err >&5
19181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19182 (exit $ac_status); } &&
19183 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19185 (eval $ac_try) 2>&5
19187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19188 (exit $ac_status); }; } &&
19189 { ac_try='test -s conftest.$ac_objext'
19190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19191 (eval $ac_try) 2>&5
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); }; }; then
19195 ac_cv_type_long=yes
19197 echo "$as_me: failed program was:" >&5
19198 sed 's/^/| /' conftest.$ac_ext >&5
19202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19204 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19205 echo "${ECHO_T}$ac_cv_type_long" >&6
19207 echo "$as_me:$LINENO: checking size of long" >&5
19208 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19209 if test "${ac_cv_sizeof_long+set}" = set; then
19210 echo $ECHO_N "(cached) $ECHO_C" >&6
19212 if test "$ac_cv_type_long" = yes; then
19213 # The cast to unsigned long works around a bug in the HP C Compiler
19214 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19215 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19216 # This bug is HP SR number 8606223364.
19217 if test "$cross_compiling" = yes; then
19218 # Depending upon the size, compute the lo and hi bounds.
19219 cat >conftest.$ac_ext <<_ACEOF
19222 cat confdefs.h >>conftest.$ac_ext
19223 cat >>conftest.$ac_ext <<_ACEOF
19224 /* end confdefs.h. */
19225 $ac_includes_default
19229 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19236 rm -f conftest.$ac_objext
19237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19238 (eval $ac_compile) 2>conftest.er1
19240 grep -v '^ *+' conftest.er1 >conftest.err
19242 cat conftest.err >&5
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); } &&
19245 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19247 (eval $ac_try) 2>&5
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); }; } &&
19251 { ac_try='test -s conftest.$ac_objext'
19252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19253 (eval $ac_try) 2>&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); }; }; then
19259 cat >conftest.$ac_ext <<_ACEOF
19262 cat confdefs.h >>conftest.$ac_ext
19263 cat >>conftest.$ac_ext <<_ACEOF
19264 /* end confdefs.h. */
19265 $ac_includes_default
19269 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19276 rm -f conftest.$ac_objext
19277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19278 (eval $ac_compile) 2>conftest.er1
19280 grep -v '^ *+' conftest.er1 >conftest.err
19282 cat conftest.err >&5
19283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284 (exit $ac_status); } &&
19285 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19287 (eval $ac_try) 2>&5
19289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290 (exit $ac_status); }; } &&
19291 { ac_try='test -s conftest.$ac_objext'
19292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19293 (eval $ac_try) 2>&5
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); }; }; then
19297 ac_hi=$ac_mid; break
19299 echo "$as_me: failed program was:" >&5
19300 sed 's/^/| /' conftest.$ac_ext >&5
19302 ac_lo=`expr $ac_mid + 1`
19303 if test $ac_lo -le $ac_mid; then
19307 ac_mid=`expr 2 '*' $ac_mid + 1`
19309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19312 echo "$as_me: failed program was:" >&5
19313 sed 's/^/| /' conftest.$ac_ext >&5
19315 cat >conftest.$ac_ext <<_ACEOF
19318 cat confdefs.h >>conftest.$ac_ext
19319 cat >>conftest.$ac_ext <<_ACEOF
19320 /* end confdefs.h. */
19321 $ac_includes_default
19325 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19332 rm -f conftest.$ac_objext
19333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19334 (eval $ac_compile) 2>conftest.er1
19336 grep -v '^ *+' conftest.er1 >conftest.err
19338 cat conftest.err >&5
19339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340 (exit $ac_status); } &&
19341 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19343 (eval $ac_try) 2>&5
19345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19346 (exit $ac_status); }; } &&
19347 { ac_try='test -s conftest.$ac_objext'
19348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19349 (eval $ac_try) 2>&5
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); }; }; then
19355 cat >conftest.$ac_ext <<_ACEOF
19358 cat confdefs.h >>conftest.$ac_ext
19359 cat >>conftest.$ac_ext <<_ACEOF
19360 /* end confdefs.h. */
19361 $ac_includes_default
19365 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19372 rm -f conftest.$ac_objext
19373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19374 (eval $ac_compile) 2>conftest.er1
19376 grep -v '^ *+' conftest.er1 >conftest.err
19378 cat conftest.err >&5
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); } &&
19381 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19383 (eval $ac_try) 2>&5
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); }; } &&
19387 { ac_try='test -s conftest.$ac_objext'
19388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19389 (eval $ac_try) 2>&5
19391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392 (exit $ac_status); }; }; then
19393 ac_lo=$ac_mid; break
19395 echo "$as_me: failed program was:" >&5
19396 sed 's/^/| /' conftest.$ac_ext >&5
19398 ac_hi=`expr '(' $ac_mid ')' - 1`
19399 if test $ac_mid -le $ac_hi; then
19403 ac_mid=`expr 2 '*' $ac_mid`
19405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19408 echo "$as_me: failed program was:" >&5
19409 sed 's/^/| /' conftest.$ac_ext >&5
19413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19416 # Binary search between lo and hi bounds.
19417 while test "x$ac_lo" != "x$ac_hi"; do
19418 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19419 cat >conftest.$ac_ext <<_ACEOF
19422 cat confdefs.h >>conftest.$ac_ext
19423 cat >>conftest.$ac_ext <<_ACEOF
19424 /* end confdefs.h. */
19425 $ac_includes_default
19429 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19436 rm -f conftest.$ac_objext
19437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19438 (eval $ac_compile) 2>conftest.er1
19440 grep -v '^ *+' conftest.er1 >conftest.err
19442 cat conftest.err >&5
19443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19444 (exit $ac_status); } &&
19445 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19447 (eval $ac_try) 2>&5
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); }; } &&
19451 { ac_try='test -s conftest.$ac_objext'
19452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19453 (eval $ac_try) 2>&5
19455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19456 (exit $ac_status); }; }; then
19459 echo "$as_me: failed program was:" >&5
19460 sed 's/^/| /' conftest.$ac_ext >&5
19462 ac_lo=`expr '(' $ac_mid ')' + 1`
19464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19467 ?*) ac_cv_sizeof_long=$ac_lo;;
19468 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19469 See \`config.log' for more details." >&5
19470 echo "$as_me: error: cannot compute sizeof (long), 77
19471 See \`config.log' for more details." >&2;}
19472 { (exit 1); exit 1; }; } ;;
19475 if test "$cross_compiling" = yes; then
19476 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19477 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19478 { (exit 1); exit 1; }; }
19480 cat >conftest.$ac_ext <<_ACEOF
19483 cat confdefs.h >>conftest.$ac_ext
19484 cat >>conftest.$ac_ext <<_ACEOF
19485 /* end confdefs.h. */
19486 $ac_includes_default
19487 long longval () { return (long) (sizeof (long)); }
19488 unsigned long ulongval () { return (long) (sizeof (long)); }
19490 #include <stdlib.h>
19495 FILE *f = fopen ("conftest.val", "w");
19498 if (((long) (sizeof (long))) < 0)
19500 long i = longval ();
19501 if (i != ((long) (sizeof (long))))
19503 fprintf (f, "%ld\n", i);
19507 unsigned long i = ulongval ();
19508 if (i != ((long) (sizeof (long))))
19510 fprintf (f, "%lu\n", i);
19512 exit (ferror (f) || fclose (f) != 0);
19518 rm -f conftest$ac_exeext
19519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19520 (eval $ac_link) 2>&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19525 (eval $ac_try) 2>&5
19527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19528 (exit $ac_status); }; }; then
19529 ac_cv_sizeof_long=`cat conftest.val`
19531 echo "$as_me: program exited with status $ac_status" >&5
19532 echo "$as_me: failed program was:" >&5
19533 sed 's/^/| /' conftest.$ac_ext >&5
19535 ( exit $ac_status )
19536 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19537 See \`config.log' for more details." >&5
19538 echo "$as_me: error: cannot compute sizeof (long), 77
19539 See \`config.log' for more details." >&2;}
19540 { (exit 1); exit 1; }; }
19542 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19547 ac_cv_sizeof_long=0
19550 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19551 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19552 cat >>confdefs.h <<_ACEOF
19553 #define SIZEOF_LONG $ac_cv_sizeof_long
19557 echo "$as_me:$LINENO: checking for size_t" >&5
19558 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19559 if test "${ac_cv_type_size_t+set}" = set; then
19560 echo $ECHO_N "(cached) $ECHO_C" >&6
19562 cat >conftest.$ac_ext <<_ACEOF
19565 cat confdefs.h >>conftest.$ac_ext
19566 cat >>conftest.$ac_ext <<_ACEOF
19567 /* end confdefs.h. */
19568 $ac_includes_default
19574 if (sizeof (size_t))
19580 rm -f conftest.$ac_objext
19581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19582 (eval $ac_compile) 2>conftest.er1
19584 grep -v '^ *+' conftest.er1 >conftest.err
19586 cat conftest.err >&5
19587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19588 (exit $ac_status); } &&
19589 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19591 (eval $ac_try) 2>&5
19593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594 (exit $ac_status); }; } &&
19595 { ac_try='test -s conftest.$ac_objext'
19596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19597 (eval $ac_try) 2>&5
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); }; }; then
19601 ac_cv_type_size_t=yes
19603 echo "$as_me: failed program was:" >&5
19604 sed 's/^/| /' conftest.$ac_ext >&5
19606 ac_cv_type_size_t=no
19608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19610 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19611 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19613 echo "$as_me:$LINENO: checking size of size_t" >&5
19614 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19615 if test "${ac_cv_sizeof_size_t+set}" = set; then
19616 echo $ECHO_N "(cached) $ECHO_C" >&6
19618 if test "$ac_cv_type_size_t" = yes; then
19619 # The cast to unsigned long works around a bug in the HP C Compiler
19620 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19621 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19622 # This bug is HP SR number 8606223364.
19623 if test "$cross_compiling" = yes; then
19624 # Depending upon the size, compute the lo and hi bounds.
19625 cat >conftest.$ac_ext <<_ACEOF
19628 cat confdefs.h >>conftest.$ac_ext
19629 cat >>conftest.$ac_ext <<_ACEOF
19630 /* end confdefs.h. */
19631 $ac_includes_default
19635 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19642 rm -f conftest.$ac_objext
19643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19644 (eval $ac_compile) 2>conftest.er1
19646 grep -v '^ *+' conftest.er1 >conftest.err
19648 cat conftest.err >&5
19649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650 (exit $ac_status); } &&
19651 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19653 (eval $ac_try) 2>&5
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); }; } &&
19657 { ac_try='test -s conftest.$ac_objext'
19658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19659 (eval $ac_try) 2>&5
19661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19662 (exit $ac_status); }; }; then
19665 cat >conftest.$ac_ext <<_ACEOF
19668 cat confdefs.h >>conftest.$ac_ext
19669 cat >>conftest.$ac_ext <<_ACEOF
19670 /* end confdefs.h. */
19671 $ac_includes_default
19675 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19682 rm -f conftest.$ac_objext
19683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19684 (eval $ac_compile) 2>conftest.er1
19686 grep -v '^ *+' conftest.er1 >conftest.err
19688 cat conftest.err >&5
19689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19690 (exit $ac_status); } &&
19691 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19693 (eval $ac_try) 2>&5
19695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19696 (exit $ac_status); }; } &&
19697 { ac_try='test -s conftest.$ac_objext'
19698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19699 (eval $ac_try) 2>&5
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); }; }; then
19703 ac_hi=$ac_mid; break
19705 echo "$as_me: failed program was:" >&5
19706 sed 's/^/| /' conftest.$ac_ext >&5
19708 ac_lo=`expr $ac_mid + 1`
19709 if test $ac_lo -le $ac_mid; then
19713 ac_mid=`expr 2 '*' $ac_mid + 1`
19715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19718 echo "$as_me: failed program was:" >&5
19719 sed 's/^/| /' conftest.$ac_ext >&5
19721 cat >conftest.$ac_ext <<_ACEOF
19724 cat confdefs.h >>conftest.$ac_ext
19725 cat >>conftest.$ac_ext <<_ACEOF
19726 /* end confdefs.h. */
19727 $ac_includes_default
19731 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
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_cxx_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 cat >conftest.$ac_ext <<_ACEOF
19764 cat confdefs.h >>conftest.$ac_ext
19765 cat >>conftest.$ac_ext <<_ACEOF
19766 /* end confdefs.h. */
19767 $ac_includes_default
19771 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19778 rm -f conftest.$ac_objext
19779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19780 (eval $ac_compile) 2>conftest.er1
19782 grep -v '^ *+' conftest.er1 >conftest.err
19784 cat conftest.err >&5
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); } &&
19787 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19789 (eval $ac_try) 2>&5
19791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19792 (exit $ac_status); }; } &&
19793 { ac_try='test -s conftest.$ac_objext'
19794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19795 (eval $ac_try) 2>&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); }; }; then
19799 ac_lo=$ac_mid; break
19801 echo "$as_me: failed program was:" >&5
19802 sed 's/^/| /' conftest.$ac_ext >&5
19804 ac_hi=`expr '(' $ac_mid ')' - 1`
19805 if test $ac_mid -le $ac_hi; then
19809 ac_mid=`expr 2 '*' $ac_mid`
19811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19814 echo "$as_me: failed program was:" >&5
19815 sed 's/^/| /' conftest.$ac_ext >&5
19819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19822 # Binary search between lo and hi bounds.
19823 while test "x$ac_lo" != "x$ac_hi"; do
19824 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19825 cat >conftest.$ac_ext <<_ACEOF
19828 cat confdefs.h >>conftest.$ac_ext
19829 cat >>conftest.$ac_ext <<_ACEOF
19830 /* end confdefs.h. */
19831 $ac_includes_default
19835 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19842 rm -f conftest.$ac_objext
19843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19844 (eval $ac_compile) 2>conftest.er1
19846 grep -v '^ *+' conftest.er1 >conftest.err
19848 cat conftest.err >&5
19849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850 (exit $ac_status); } &&
19851 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19853 (eval $ac_try) 2>&5
19855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856 (exit $ac_status); }; } &&
19857 { ac_try='test -s conftest.$ac_objext'
19858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19859 (eval $ac_try) 2>&5
19861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19862 (exit $ac_status); }; }; then
19865 echo "$as_me: failed program was:" >&5
19866 sed 's/^/| /' conftest.$ac_ext >&5
19868 ac_lo=`expr '(' $ac_mid ')' + 1`
19870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19873 ?*) ac_cv_sizeof_size_t=$ac_lo;;
19874 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19875 See \`config.log' for more details." >&5
19876 echo "$as_me: error: cannot compute sizeof (size_t), 77
19877 See \`config.log' for more details." >&2;}
19878 { (exit 1); exit 1; }; } ;;
19881 if test "$cross_compiling" = yes; then
19882 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19883 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19884 { (exit 1); exit 1; }; }
19886 cat >conftest.$ac_ext <<_ACEOF
19889 cat confdefs.h >>conftest.$ac_ext
19890 cat >>conftest.$ac_ext <<_ACEOF
19891 /* end confdefs.h. */
19892 $ac_includes_default
19893 long longval () { return (long) (sizeof (size_t)); }
19894 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19896 #include <stdlib.h>
19901 FILE *f = fopen ("conftest.val", "w");
19904 if (((long) (sizeof (size_t))) < 0)
19906 long i = longval ();
19907 if (i != ((long) (sizeof (size_t))))
19909 fprintf (f, "%ld\n", i);
19913 unsigned long i = ulongval ();
19914 if (i != ((long) (sizeof (size_t))))
19916 fprintf (f, "%lu\n", i);
19918 exit (ferror (f) || fclose (f) != 0);
19924 rm -f conftest$ac_exeext
19925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19926 (eval $ac_link) 2>&5
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19931 (eval $ac_try) 2>&5
19933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934 (exit $ac_status); }; }; then
19935 ac_cv_sizeof_size_t=`cat conftest.val`
19937 echo "$as_me: program exited with status $ac_status" >&5
19938 echo "$as_me: failed program was:" >&5
19939 sed 's/^/| /' conftest.$ac_ext >&5
19941 ( exit $ac_status )
19942 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19943 See \`config.log' for more details." >&5
19944 echo "$as_me: error: cannot compute sizeof (size_t), 77
19945 See \`config.log' for more details." >&2;}
19946 { (exit 1); exit 1; }; }
19948 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19953 ac_cv_sizeof_size_t=0
19956 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19957 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19958 cat >>confdefs.h <<_ACEOF
19959 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19966 echo "$as_me:$LINENO: checking for long long" >&5
19967 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19968 if test "${ac_cv_type_long_long+set}" = set; then
19969 echo $ECHO_N "(cached) $ECHO_C" >&6
19971 cat >conftest.$ac_ext <<_ACEOF
19974 cat confdefs.h >>conftest.$ac_ext
19975 cat >>conftest.$ac_ext <<_ACEOF
19976 /* end confdefs.h. */
19977 $ac_includes_default
19981 if ((long long *) 0)
19983 if (sizeof (long long))
19989 rm -f conftest.$ac_objext
19990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19991 (eval $ac_compile) 2>conftest.er1
19993 grep -v '^ *+' conftest.er1 >conftest.err
19995 cat conftest.err >&5
19996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997 (exit $ac_status); } &&
19998 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20000 (eval $ac_try) 2>&5
20002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20003 (exit $ac_status); }; } &&
20004 { ac_try='test -s conftest.$ac_objext'
20005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20006 (eval $ac_try) 2>&5
20008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20009 (exit $ac_status); }; }; then
20010 ac_cv_type_long_long=yes
20012 echo "$as_me: failed program was:" >&5
20013 sed 's/^/| /' conftest.$ac_ext >&5
20015 ac_cv_type_long_long=no
20017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20019 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20020 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20022 echo "$as_me:$LINENO: checking size of long long" >&5
20023 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20024 if test "${ac_cv_sizeof_long_long+set}" = set; then
20025 echo $ECHO_N "(cached) $ECHO_C" >&6
20027 if test "$ac_cv_type_long_long" = yes; then
20028 # The cast to unsigned long works around a bug in the HP C Compiler
20029 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20030 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20031 # This bug is HP SR number 8606223364.
20032 if test "$cross_compiling" = yes; then
20033 # Depending upon the size, compute the lo and hi bounds.
20034 cat >conftest.$ac_ext <<_ACEOF
20037 cat confdefs.h >>conftest.$ac_ext
20038 cat >>conftest.$ac_ext <<_ACEOF
20039 /* end confdefs.h. */
20040 $ac_includes_default
20044 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20051 rm -f conftest.$ac_objext
20052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20053 (eval $ac_compile) 2>conftest.er1
20055 grep -v '^ *+' conftest.er1 >conftest.err
20057 cat conftest.err >&5
20058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20059 (exit $ac_status); } &&
20060 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20062 (eval $ac_try) 2>&5
20064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20065 (exit $ac_status); }; } &&
20066 { ac_try='test -s conftest.$ac_objext'
20067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20068 (eval $ac_try) 2>&5
20070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071 (exit $ac_status); }; }; then
20074 cat >conftest.$ac_ext <<_ACEOF
20077 cat confdefs.h >>conftest.$ac_ext
20078 cat >>conftest.$ac_ext <<_ACEOF
20079 /* end confdefs.h. */
20080 $ac_includes_default
20084 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20091 rm -f conftest.$ac_objext
20092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20093 (eval $ac_compile) 2>conftest.er1
20095 grep -v '^ *+' conftest.er1 >conftest.err
20097 cat conftest.err >&5
20098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20099 (exit $ac_status); } &&
20100 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20102 (eval $ac_try) 2>&5
20104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); }; } &&
20106 { ac_try='test -s conftest.$ac_objext'
20107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20108 (eval $ac_try) 2>&5
20110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111 (exit $ac_status); }; }; then
20112 ac_hi=$ac_mid; break
20114 echo "$as_me: failed program was:" >&5
20115 sed 's/^/| /' conftest.$ac_ext >&5
20117 ac_lo=`expr $ac_mid + 1`
20118 if test $ac_lo -le $ac_mid; then
20122 ac_mid=`expr 2 '*' $ac_mid + 1`
20124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20127 echo "$as_me: failed program was:" >&5
20128 sed 's/^/| /' conftest.$ac_ext >&5
20130 cat >conftest.$ac_ext <<_ACEOF
20133 cat confdefs.h >>conftest.$ac_ext
20134 cat >>conftest.$ac_ext <<_ACEOF
20135 /* end confdefs.h. */
20136 $ac_includes_default
20140 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20147 rm -f conftest.$ac_objext
20148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20149 (eval $ac_compile) 2>conftest.er1
20151 grep -v '^ *+' conftest.er1 >conftest.err
20153 cat conftest.err >&5
20154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20155 (exit $ac_status); } &&
20156 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20158 (eval $ac_try) 2>&5
20160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20161 (exit $ac_status); }; } &&
20162 { ac_try='test -s conftest.$ac_objext'
20163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20164 (eval $ac_try) 2>&5
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); }; }; then
20170 cat >conftest.$ac_ext <<_ACEOF
20173 cat confdefs.h >>conftest.$ac_ext
20174 cat >>conftest.$ac_ext <<_ACEOF
20175 /* end confdefs.h. */
20176 $ac_includes_default
20180 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20187 rm -f conftest.$ac_objext
20188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20189 (eval $ac_compile) 2>conftest.er1
20191 grep -v '^ *+' conftest.er1 >conftest.err
20193 cat conftest.err >&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); } &&
20196 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20198 (eval $ac_try) 2>&5
20200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201 (exit $ac_status); }; } &&
20202 { ac_try='test -s conftest.$ac_objext'
20203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20204 (eval $ac_try) 2>&5
20206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207 (exit $ac_status); }; }; then
20208 ac_lo=$ac_mid; break
20210 echo "$as_me: failed program was:" >&5
20211 sed 's/^/| /' conftest.$ac_ext >&5
20213 ac_hi=`expr '(' $ac_mid ')' - 1`
20214 if test $ac_mid -le $ac_hi; then
20218 ac_mid=`expr 2 '*' $ac_mid`
20220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20223 echo "$as_me: failed program was:" >&5
20224 sed 's/^/| /' conftest.$ac_ext >&5
20228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20231 # Binary search between lo and hi bounds.
20232 while test "x$ac_lo" != "x$ac_hi"; do
20233 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20234 cat >conftest.$ac_ext <<_ACEOF
20237 cat confdefs.h >>conftest.$ac_ext
20238 cat >>conftest.$ac_ext <<_ACEOF
20239 /* end confdefs.h. */
20240 $ac_includes_default
20244 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20251 rm -f conftest.$ac_objext
20252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20253 (eval $ac_compile) 2>conftest.er1
20255 grep -v '^ *+' conftest.er1 >conftest.err
20257 cat conftest.err >&5
20258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259 (exit $ac_status); } &&
20260 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20262 (eval $ac_try) 2>&5
20264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265 (exit $ac_status); }; } &&
20266 { ac_try='test -s conftest.$ac_objext'
20267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20268 (eval $ac_try) 2>&5
20270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20271 (exit $ac_status); }; }; then
20274 echo "$as_me: failed program was:" >&5
20275 sed 's/^/| /' conftest.$ac_ext >&5
20277 ac_lo=`expr '(' $ac_mid ')' + 1`
20279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20282 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20283 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20284 See \`config.log' for more details." >&5
20285 echo "$as_me: error: cannot compute sizeof (long long), 77
20286 See \`config.log' for more details." >&2;}
20287 { (exit 1); exit 1; }; } ;;
20290 if test "$cross_compiling" = yes; then
20291 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20292 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20293 { (exit 1); exit 1; }; }
20295 cat >conftest.$ac_ext <<_ACEOF
20298 cat confdefs.h >>conftest.$ac_ext
20299 cat >>conftest.$ac_ext <<_ACEOF
20300 /* end confdefs.h. */
20301 $ac_includes_default
20302 long longval () { return (long) (sizeof (long long)); }
20303 unsigned long ulongval () { return (long) (sizeof (long long)); }
20305 #include <stdlib.h>
20310 FILE *f = fopen ("conftest.val", "w");
20313 if (((long) (sizeof (long long))) < 0)
20315 long i = longval ();
20316 if (i != ((long) (sizeof (long long))))
20318 fprintf (f, "%ld\n", i);
20322 unsigned long i = ulongval ();
20323 if (i != ((long) (sizeof (long long))))
20325 fprintf (f, "%lu\n", i);
20327 exit (ferror (f) || fclose (f) != 0);
20333 rm -f conftest$ac_exeext
20334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20335 (eval $ac_link) 2>&5
20337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20338 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20340 (eval $ac_try) 2>&5
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); }; }; then
20344 ac_cv_sizeof_long_long=`cat conftest.val`
20346 echo "$as_me: program exited with status $ac_status" >&5
20347 echo "$as_me: failed program was:" >&5
20348 sed 's/^/| /' conftest.$ac_ext >&5
20350 ( exit $ac_status )
20351 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20352 See \`config.log' for more details." >&5
20353 echo "$as_me: error: cannot compute sizeof (long long), 77
20354 See \`config.log' for more details." >&2;}
20355 { (exit 1); exit 1; }; }
20357 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20362 ac_cv_sizeof_long_long=0
20365 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20366 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20367 cat >>confdefs.h <<_ACEOF
20368 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20374 echo "$as_me:$LINENO: checking for long long" >&5
20375 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20376 if test "${ac_cv_type_long_long+set}" = set; then
20377 echo $ECHO_N "(cached) $ECHO_C" >&6
20379 cat >conftest.$ac_ext <<_ACEOF
20382 cat confdefs.h >>conftest.$ac_ext
20383 cat >>conftest.$ac_ext <<_ACEOF
20384 /* end confdefs.h. */
20385 $ac_includes_default
20389 if ((long long *) 0)
20391 if (sizeof (long long))
20397 rm -f conftest.$ac_objext
20398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20399 (eval $ac_compile) 2>conftest.er1
20401 grep -v '^ *+' conftest.er1 >conftest.err
20403 cat conftest.err >&5
20404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20405 (exit $ac_status); } &&
20406 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
20412 { ac_try='test -s conftest.$ac_objext'
20413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20414 (eval $ac_try) 2>&5
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); }; }; then
20418 ac_cv_type_long_long=yes
20420 echo "$as_me: failed program was:" >&5
20421 sed 's/^/| /' conftest.$ac_ext >&5
20423 ac_cv_type_long_long=no
20425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20427 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20428 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20430 echo "$as_me:$LINENO: checking size of long long" >&5
20431 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20432 if test "${ac_cv_sizeof_long_long+set}" = set; then
20433 echo $ECHO_N "(cached) $ECHO_C" >&6
20435 if test "$ac_cv_type_long_long" = yes; then
20436 # The cast to unsigned long works around a bug in the HP C Compiler
20437 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20438 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20439 # This bug is HP SR number 8606223364.
20440 if test "$cross_compiling" = yes; then
20441 # Depending upon the size, compute the lo and hi bounds.
20442 cat >conftest.$ac_ext <<_ACEOF
20445 cat confdefs.h >>conftest.$ac_ext
20446 cat >>conftest.$ac_ext <<_ACEOF
20447 /* end confdefs.h. */
20448 $ac_includes_default
20452 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20459 rm -f conftest.$ac_objext
20460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20461 (eval $ac_compile) 2>conftest.er1
20463 grep -v '^ *+' conftest.er1 >conftest.err
20465 cat conftest.err >&5
20466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20467 (exit $ac_status); } &&
20468 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20470 (eval $ac_try) 2>&5
20472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473 (exit $ac_status); }; } &&
20474 { ac_try='test -s conftest.$ac_objext'
20475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20476 (eval $ac_try) 2>&5
20478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20479 (exit $ac_status); }; }; then
20482 cat >conftest.$ac_ext <<_ACEOF
20485 cat confdefs.h >>conftest.$ac_ext
20486 cat >>conftest.$ac_ext <<_ACEOF
20487 /* end confdefs.h. */
20488 $ac_includes_default
20492 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20499 rm -f conftest.$ac_objext
20500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20501 (eval $ac_compile) 2>conftest.er1
20503 grep -v '^ *+' conftest.er1 >conftest.err
20505 cat conftest.err >&5
20506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20507 (exit $ac_status); } &&
20508 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20510 (eval $ac_try) 2>&5
20512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); }; } &&
20514 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
20520 ac_hi=$ac_mid; break
20522 echo "$as_me: failed program was:" >&5
20523 sed 's/^/| /' conftest.$ac_ext >&5
20525 ac_lo=`expr $ac_mid + 1`
20526 if test $ac_lo -le $ac_mid; then
20530 ac_mid=`expr 2 '*' $ac_mid + 1`
20532 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
20538 cat >conftest.$ac_ext <<_ACEOF
20541 cat confdefs.h >>conftest.$ac_ext
20542 cat >>conftest.$ac_ext <<_ACEOF
20543 /* end confdefs.h. */
20544 $ac_includes_default
20548 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20555 rm -f conftest.$ac_objext
20556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20557 (eval $ac_compile) 2>conftest.er1
20559 grep -v '^ *+' conftest.er1 >conftest.err
20561 cat conftest.err >&5
20562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); } &&
20564 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20566 (eval $ac_try) 2>&5
20568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20569 (exit $ac_status); }; } &&
20570 { ac_try='test -s conftest.$ac_objext'
20571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20572 (eval $ac_try) 2>&5
20574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20575 (exit $ac_status); }; }; then
20578 cat >conftest.$ac_ext <<_ACEOF
20581 cat confdefs.h >>conftest.$ac_ext
20582 cat >>conftest.$ac_ext <<_ACEOF
20583 /* end confdefs.h. */
20584 $ac_includes_default
20588 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20595 rm -f conftest.$ac_objext
20596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20597 (eval $ac_compile) 2>conftest.er1
20599 grep -v '^ *+' conftest.er1 >conftest.err
20601 cat conftest.err >&5
20602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20603 (exit $ac_status); } &&
20604 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20606 (eval $ac_try) 2>&5
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); }; } &&
20610 { ac_try='test -s conftest.$ac_objext'
20611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20612 (eval $ac_try) 2>&5
20614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20615 (exit $ac_status); }; }; then
20616 ac_lo=$ac_mid; break
20618 echo "$as_me: failed program was:" >&5
20619 sed 's/^/| /' conftest.$ac_ext >&5
20621 ac_hi=`expr '(' $ac_mid ')' - 1`
20622 if test $ac_mid -le $ac_hi; then
20626 ac_mid=`expr 2 '*' $ac_mid`
20628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20631 echo "$as_me: failed program was:" >&5
20632 sed 's/^/| /' conftest.$ac_ext >&5
20636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20639 # Binary search between lo and hi bounds.
20640 while test "x$ac_lo" != "x$ac_hi"; do
20641 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20642 cat >conftest.$ac_ext <<_ACEOF
20645 cat confdefs.h >>conftest.$ac_ext
20646 cat >>conftest.$ac_ext <<_ACEOF
20647 /* end confdefs.h. */
20648 $ac_includes_default
20652 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20659 rm -f conftest.$ac_objext
20660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20661 (eval $ac_compile) 2>conftest.er1
20663 grep -v '^ *+' conftest.er1 >conftest.err
20665 cat conftest.err >&5
20666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20667 (exit $ac_status); } &&
20668 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20670 (eval $ac_try) 2>&5
20672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20673 (exit $ac_status); }; } &&
20674 { ac_try='test -s conftest.$ac_objext'
20675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20676 (eval $ac_try) 2>&5
20678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20679 (exit $ac_status); }; }; then
20682 echo "$as_me: failed program was:" >&5
20683 sed 's/^/| /' conftest.$ac_ext >&5
20685 ac_lo=`expr '(' $ac_mid ')' + 1`
20687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20690 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20691 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20692 See \`config.log' for more details." >&5
20693 echo "$as_me: error: cannot compute sizeof (long long), 77
20694 See \`config.log' for more details." >&2;}
20695 { (exit 1); exit 1; }; } ;;
20698 if test "$cross_compiling" = yes; then
20699 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20700 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20701 { (exit 1); exit 1; }; }
20703 cat >conftest.$ac_ext <<_ACEOF
20706 cat confdefs.h >>conftest.$ac_ext
20707 cat >>conftest.$ac_ext <<_ACEOF
20708 /* end confdefs.h. */
20709 $ac_includes_default
20710 long longval () { return (long) (sizeof (long long)); }
20711 unsigned long ulongval () { return (long) (sizeof (long long)); }
20713 #include <stdlib.h>
20718 FILE *f = fopen ("conftest.val", "w");
20721 if (((long) (sizeof (long long))) < 0)
20723 long i = longval ();
20724 if (i != ((long) (sizeof (long long))))
20726 fprintf (f, "%ld\n", i);
20730 unsigned long i = ulongval ();
20731 if (i != ((long) (sizeof (long long))))
20733 fprintf (f, "%lu\n", i);
20735 exit (ferror (f) || fclose (f) != 0);
20741 rm -f conftest$ac_exeext
20742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20743 (eval $ac_link) 2>&5
20745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20746 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20748 (eval $ac_try) 2>&5
20750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20751 (exit $ac_status); }; }; then
20752 ac_cv_sizeof_long_long=`cat conftest.val`
20754 echo "$as_me: program exited with status $ac_status" >&5
20755 echo "$as_me: failed program was:" >&5
20756 sed 's/^/| /' conftest.$ac_ext >&5
20758 ( exit $ac_status )
20759 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20760 See \`config.log' for more details." >&5
20761 echo "$as_me: error: cannot compute sizeof (long long), 77
20762 See \`config.log' for more details." >&2;}
20763 { (exit 1); exit 1; }; }
20765 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20770 ac_cv_sizeof_long_long=0
20773 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20774 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20775 cat >>confdefs.h <<_ACEOF
20776 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20780 if test "$ac_cv_sizeof_long_long" != "0"; then
20781 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20785 echo "$as_me:$LINENO: checking for long long" >&5
20786 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20787 if test "${ac_cv_type_long_long+set}" = set; then
20788 echo $ECHO_N "(cached) $ECHO_C" >&6
20790 cat >conftest.$ac_ext <<_ACEOF
20793 cat confdefs.h >>conftest.$ac_ext
20794 cat >>conftest.$ac_ext <<_ACEOF
20795 /* end confdefs.h. */
20796 $ac_includes_default
20800 if ((long long *) 0)
20802 if (sizeof (long long))
20808 rm -f conftest.$ac_objext
20809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20810 (eval $ac_compile) 2>conftest.er1
20812 grep -v '^ *+' conftest.er1 >conftest.err
20814 cat conftest.err >&5
20815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20816 (exit $ac_status); } &&
20817 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20819 (eval $ac_try) 2>&5
20821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822 (exit $ac_status); }; } &&
20823 { ac_try='test -s conftest.$ac_objext'
20824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20825 (eval $ac_try) 2>&5
20827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828 (exit $ac_status); }; }; then
20829 ac_cv_type_long_long=yes
20831 echo "$as_me: failed program was:" >&5
20832 sed 's/^/| /' conftest.$ac_ext >&5
20834 ac_cv_type_long_long=no
20836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20838 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20839 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20841 echo "$as_me:$LINENO: checking size of long long" >&5
20842 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20843 if test "${ac_cv_sizeof_long_long+set}" = set; then
20844 echo $ECHO_N "(cached) $ECHO_C" >&6
20846 if test "$ac_cv_type_long_long" = yes; then
20847 # The cast to unsigned long works around a bug in the HP C Compiler
20848 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20849 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20850 # This bug is HP SR number 8606223364.
20851 if test "$cross_compiling" = yes; then
20852 # Depending upon the size, compute the lo and hi bounds.
20853 cat >conftest.$ac_ext <<_ACEOF
20856 cat confdefs.h >>conftest.$ac_ext
20857 cat >>conftest.$ac_ext <<_ACEOF
20858 /* end confdefs.h. */
20859 $ac_includes_default
20863 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20870 rm -f conftest.$ac_objext
20871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20872 (eval $ac_compile) 2>conftest.er1
20874 grep -v '^ *+' conftest.er1 >conftest.err
20876 cat conftest.err >&5
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); } &&
20879 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20881 (eval $ac_try) 2>&5
20883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20884 (exit $ac_status); }; } &&
20885 { ac_try='test -s conftest.$ac_objext'
20886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20887 (eval $ac_try) 2>&5
20889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20890 (exit $ac_status); }; }; then
20893 cat >conftest.$ac_ext <<_ACEOF
20896 cat confdefs.h >>conftest.$ac_ext
20897 cat >>conftest.$ac_ext <<_ACEOF
20898 /* end confdefs.h. */
20899 $ac_includes_default
20903 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20910 rm -f conftest.$ac_objext
20911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20912 (eval $ac_compile) 2>conftest.er1
20914 grep -v '^ *+' conftest.er1 >conftest.err
20916 cat conftest.err >&5
20917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918 (exit $ac_status); } &&
20919 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20921 (eval $ac_try) 2>&5
20923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20924 (exit $ac_status); }; } &&
20925 { ac_try='test -s conftest.$ac_objext'
20926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20927 (eval $ac_try) 2>&5
20929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20930 (exit $ac_status); }; }; then
20931 ac_hi=$ac_mid; break
20933 echo "$as_me: failed program was:" >&5
20934 sed 's/^/| /' conftest.$ac_ext >&5
20936 ac_lo=`expr $ac_mid + 1`
20937 if test $ac_lo -le $ac_mid; then
20941 ac_mid=`expr 2 '*' $ac_mid + 1`
20943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20946 echo "$as_me: failed program was:" >&5
20947 sed 's/^/| /' conftest.$ac_ext >&5
20949 cat >conftest.$ac_ext <<_ACEOF
20952 cat confdefs.h >>conftest.$ac_ext
20953 cat >>conftest.$ac_ext <<_ACEOF
20954 /* end confdefs.h. */
20955 $ac_includes_default
20959 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20966 rm -f conftest.$ac_objext
20967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20968 (eval $ac_compile) 2>conftest.er1
20970 grep -v '^ *+' conftest.er1 >conftest.err
20972 cat conftest.err >&5
20973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20974 (exit $ac_status); } &&
20975 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20977 (eval $ac_try) 2>&5
20979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20980 (exit $ac_status); }; } &&
20981 { ac_try='test -s conftest.$ac_objext'
20982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20983 (eval $ac_try) 2>&5
20985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20986 (exit $ac_status); }; }; then
20989 cat >conftest.$ac_ext <<_ACEOF
20992 cat confdefs.h >>conftest.$ac_ext
20993 cat >>conftest.$ac_ext <<_ACEOF
20994 /* end confdefs.h. */
20995 $ac_includes_default
20999 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21006 rm -f conftest.$ac_objext
21007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21008 (eval $ac_compile) 2>conftest.er1
21010 grep -v '^ *+' conftest.er1 >conftest.err
21012 cat conftest.err >&5
21013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21014 (exit $ac_status); } &&
21015 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21017 (eval $ac_try) 2>&5
21019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020 (exit $ac_status); }; } &&
21021 { ac_try='test -s conftest.$ac_objext'
21022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21023 (eval $ac_try) 2>&5
21025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21026 (exit $ac_status); }; }; then
21027 ac_lo=$ac_mid; break
21029 echo "$as_me: failed program was:" >&5
21030 sed 's/^/| /' conftest.$ac_ext >&5
21032 ac_hi=`expr '(' $ac_mid ')' - 1`
21033 if test $ac_mid -le $ac_hi; then
21037 ac_mid=`expr 2 '*' $ac_mid`
21039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21042 echo "$as_me: failed program was:" >&5
21043 sed 's/^/| /' conftest.$ac_ext >&5
21047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21050 # Binary search between lo and hi bounds.
21051 while test "x$ac_lo" != "x$ac_hi"; do
21052 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21053 cat >conftest.$ac_ext <<_ACEOF
21056 cat confdefs.h >>conftest.$ac_ext
21057 cat >>conftest.$ac_ext <<_ACEOF
21058 /* end confdefs.h. */
21059 $ac_includes_default
21063 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21070 rm -f conftest.$ac_objext
21071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21072 (eval $ac_compile) 2>conftest.er1
21074 grep -v '^ *+' conftest.er1 >conftest.err
21076 cat conftest.err >&5
21077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21078 (exit $ac_status); } &&
21079 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21081 (eval $ac_try) 2>&5
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); }; } &&
21085 { ac_try='test -s conftest.$ac_objext'
21086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21087 (eval $ac_try) 2>&5
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); }; }; then
21093 echo "$as_me: failed program was:" >&5
21094 sed 's/^/| /' conftest.$ac_ext >&5
21096 ac_lo=`expr '(' $ac_mid ')' + 1`
21098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21101 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21102 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21103 See \`config.log' for more details." >&5
21104 echo "$as_me: error: cannot compute sizeof (long long), 77
21105 See \`config.log' for more details." >&2;}
21106 { (exit 1); exit 1; }; } ;;
21109 if test "$cross_compiling" = yes; then
21110 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21111 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21112 { (exit 1); exit 1; }; }
21114 cat >conftest.$ac_ext <<_ACEOF
21117 cat confdefs.h >>conftest.$ac_ext
21118 cat >>conftest.$ac_ext <<_ACEOF
21119 /* end confdefs.h. */
21120 $ac_includes_default
21121 long longval () { return (long) (sizeof (long long)); }
21122 unsigned long ulongval () { return (long) (sizeof (long long)); }
21124 #include <stdlib.h>
21129 FILE *f = fopen ("conftest.val", "w");
21132 if (((long) (sizeof (long long))) < 0)
21134 long i = longval ();
21135 if (i != ((long) (sizeof (long long))))
21137 fprintf (f, "%ld\n", i);
21141 unsigned long i = ulongval ();
21142 if (i != ((long) (sizeof (long long))))
21144 fprintf (f, "%lu\n", i);
21146 exit (ferror (f) || fclose (f) != 0);
21152 rm -f conftest$ac_exeext
21153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21154 (eval $ac_link) 2>&5
21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21159 (eval $ac_try) 2>&5
21161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162 (exit $ac_status); }; }; then
21163 ac_cv_sizeof_long_long=`cat conftest.val`
21165 echo "$as_me: program exited with status $ac_status" >&5
21166 echo "$as_me: failed program was:" >&5
21167 sed 's/^/| /' conftest.$ac_ext >&5
21169 ( exit $ac_status )
21170 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21171 See \`config.log' for more details." >&5
21172 echo "$as_me: error: cannot compute sizeof (long long), 77
21173 See \`config.log' for more details." >&2;}
21174 { (exit 1); exit 1; }; }
21176 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21181 ac_cv_sizeof_long_long=0
21184 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21185 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21186 cat >>confdefs.h <<_ACEOF
21187 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21193 echo "$as_me:$LINENO: checking for wchar_t" >&5
21194 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21195 if test "${ac_cv_type_wchar_t+set}" = set; then
21196 echo $ECHO_N "(cached) $ECHO_C" >&6
21198 cat >conftest.$ac_ext <<_ACEOF
21201 cat confdefs.h >>conftest.$ac_ext
21202 cat >>conftest.$ac_ext <<_ACEOF
21203 /* end confdefs.h. */
21205 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21206 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21207 # error "fake wchar_t"
21209 #ifdef HAVE_WCHAR_H
21211 # include <stddef.h>
21213 # include <wchar.h>
21215 #ifdef HAVE_STDLIB_H
21216 # include <stdlib.h>
21227 if (sizeof (wchar_t))
21233 rm -f conftest.$ac_objext
21234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21235 (eval $ac_compile) 2>conftest.er1
21237 grep -v '^ *+' conftest.er1 >conftest.err
21239 cat conftest.err >&5
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); } &&
21242 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21244 (eval $ac_try) 2>&5
21246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21247 (exit $ac_status); }; } &&
21248 { ac_try='test -s conftest.$ac_objext'
21249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21250 (eval $ac_try) 2>&5
21252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21253 (exit $ac_status); }; }; then
21254 ac_cv_type_wchar_t=yes
21256 echo "$as_me: failed program was:" >&5
21257 sed 's/^/| /' conftest.$ac_ext >&5
21259 ac_cv_type_wchar_t=no
21261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21263 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21264 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21266 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21267 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21268 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21269 echo $ECHO_N "(cached) $ECHO_C" >&6
21271 if test "$ac_cv_type_wchar_t" = yes; then
21272 # The cast to unsigned long works around a bug in the HP C Compiler
21273 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21274 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21275 # This bug is HP SR number 8606223364.
21276 if test "$cross_compiling" = yes; then
21277 # Depending upon the size, compute the lo and hi bounds.
21278 cat >conftest.$ac_ext <<_ACEOF
21281 cat confdefs.h >>conftest.$ac_ext
21282 cat >>conftest.$ac_ext <<_ACEOF
21283 /* end confdefs.h. */
21285 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21286 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21287 # error "fake wchar_t"
21289 #ifdef HAVE_WCHAR_H
21291 # include <stddef.h>
21293 # include <wchar.h>
21295 #ifdef HAVE_STDLIB_H
21296 # include <stdlib.h>
21305 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21312 rm -f conftest.$ac_objext
21313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21314 (eval $ac_compile) 2>conftest.er1
21316 grep -v '^ *+' conftest.er1 >conftest.err
21318 cat conftest.err >&5
21319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320 (exit $ac_status); } &&
21321 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21323 (eval $ac_try) 2>&5
21325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21326 (exit $ac_status); }; } &&
21327 { ac_try='test -s conftest.$ac_objext'
21328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21329 (eval $ac_try) 2>&5
21331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21332 (exit $ac_status); }; }; then
21335 cat >conftest.$ac_ext <<_ACEOF
21338 cat confdefs.h >>conftest.$ac_ext
21339 cat >>conftest.$ac_ext <<_ACEOF
21340 /* end confdefs.h. */
21342 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21343 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21344 # error "fake wchar_t"
21346 #ifdef HAVE_WCHAR_H
21348 # include <stddef.h>
21350 # include <wchar.h>
21352 #ifdef HAVE_STDLIB_H
21353 # include <stdlib.h>
21362 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21369 rm -f conftest.$ac_objext
21370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21371 (eval $ac_compile) 2>conftest.er1
21373 grep -v '^ *+' conftest.er1 >conftest.err
21375 cat conftest.err >&5
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); } &&
21378 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21380 (eval $ac_try) 2>&5
21382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21383 (exit $ac_status); }; } &&
21384 { ac_try='test -s conftest.$ac_objext'
21385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21386 (eval $ac_try) 2>&5
21388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21389 (exit $ac_status); }; }; then
21390 ac_hi=$ac_mid; break
21392 echo "$as_me: failed program was:" >&5
21393 sed 's/^/| /' conftest.$ac_ext >&5
21395 ac_lo=`expr $ac_mid + 1`
21396 if test $ac_lo -le $ac_mid; then
21400 ac_mid=`expr 2 '*' $ac_mid + 1`
21402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21405 echo "$as_me: failed program was:" >&5
21406 sed 's/^/| /' conftest.$ac_ext >&5
21408 cat >conftest.$ac_ext <<_ACEOF
21411 cat confdefs.h >>conftest.$ac_ext
21412 cat >>conftest.$ac_ext <<_ACEOF
21413 /* end confdefs.h. */
21415 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21416 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21417 # error "fake wchar_t"
21419 #ifdef HAVE_WCHAR_H
21421 # include <stddef.h>
21423 # include <wchar.h>
21425 #ifdef HAVE_STDLIB_H
21426 # include <stdlib.h>
21435 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21442 rm -f conftest.$ac_objext
21443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21444 (eval $ac_compile) 2>conftest.er1
21446 grep -v '^ *+' conftest.er1 >conftest.err
21448 cat conftest.err >&5
21449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450 (exit $ac_status); } &&
21451 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21453 (eval $ac_try) 2>&5
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); }; } &&
21457 { ac_try='test -s conftest.$ac_objext'
21458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21459 (eval $ac_try) 2>&5
21461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21462 (exit $ac_status); }; }; then
21465 cat >conftest.$ac_ext <<_ACEOF
21468 cat confdefs.h >>conftest.$ac_ext
21469 cat >>conftest.$ac_ext <<_ACEOF
21470 /* end confdefs.h. */
21472 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21473 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21474 # error "fake wchar_t"
21476 #ifdef HAVE_WCHAR_H
21478 # include <stddef.h>
21480 # include <wchar.h>
21482 #ifdef HAVE_STDLIB_H
21483 # include <stdlib.h>
21492 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21499 rm -f conftest.$ac_objext
21500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21501 (eval $ac_compile) 2>conftest.er1
21503 grep -v '^ *+' conftest.er1 >conftest.err
21505 cat conftest.err >&5
21506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21507 (exit $ac_status); } &&
21508 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21510 (eval $ac_try) 2>&5
21512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21513 (exit $ac_status); }; } &&
21514 { ac_try='test -s conftest.$ac_objext'
21515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21516 (eval $ac_try) 2>&5
21518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21519 (exit $ac_status); }; }; then
21520 ac_lo=$ac_mid; break
21522 echo "$as_me: failed program was:" >&5
21523 sed 's/^/| /' conftest.$ac_ext >&5
21525 ac_hi=`expr '(' $ac_mid ')' - 1`
21526 if test $ac_mid -le $ac_hi; then
21530 ac_mid=`expr 2 '*' $ac_mid`
21532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21535 echo "$as_me: failed program was:" >&5
21536 sed 's/^/| /' conftest.$ac_ext >&5
21540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21543 # Binary search between lo and hi bounds.
21544 while test "x$ac_lo" != "x$ac_hi"; do
21545 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21546 cat >conftest.$ac_ext <<_ACEOF
21549 cat confdefs.h >>conftest.$ac_ext
21550 cat >>conftest.$ac_ext <<_ACEOF
21551 /* end confdefs.h. */
21553 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21554 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21555 # error "fake wchar_t"
21557 #ifdef HAVE_WCHAR_H
21559 # include <stddef.h>
21561 # include <wchar.h>
21563 #ifdef HAVE_STDLIB_H
21564 # include <stdlib.h>
21573 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21580 rm -f conftest.$ac_objext
21581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21582 (eval $ac_compile) 2>conftest.er1
21584 grep -v '^ *+' conftest.er1 >conftest.err
21586 cat conftest.err >&5
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); } &&
21589 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21591 (eval $ac_try) 2>&5
21593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594 (exit $ac_status); }; } &&
21595 { ac_try='test -s conftest.$ac_objext'
21596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21597 (eval $ac_try) 2>&5
21599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600 (exit $ac_status); }; }; then
21603 echo "$as_me: failed program was:" >&5
21604 sed 's/^/| /' conftest.$ac_ext >&5
21606 ac_lo=`expr '(' $ac_mid ')' + 1`
21608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21611 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21612 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21613 See \`config.log' for more details." >&5
21614 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21615 See \`config.log' for more details." >&2;}
21616 { (exit 1); exit 1; }; } ;;
21619 if test "$cross_compiling" = yes; then
21620 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21621 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21622 { (exit 1); exit 1; }; }
21624 cat >conftest.$ac_ext <<_ACEOF
21627 cat confdefs.h >>conftest.$ac_ext
21628 cat >>conftest.$ac_ext <<_ACEOF
21629 /* end confdefs.h. */
21631 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21632 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21633 # error "fake wchar_t"
21635 #ifdef HAVE_WCHAR_H
21637 # include <stddef.h>
21639 # include <wchar.h>
21641 #ifdef HAVE_STDLIB_H
21642 # include <stdlib.h>
21648 long longval () { return (long) (sizeof (wchar_t)); }
21649 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21651 #include <stdlib.h>
21656 FILE *f = fopen ("conftest.val", "w");
21659 if (((long) (sizeof (wchar_t))) < 0)
21661 long i = longval ();
21662 if (i != ((long) (sizeof (wchar_t))))
21664 fprintf (f, "%ld\n", i);
21668 unsigned long i = ulongval ();
21669 if (i != ((long) (sizeof (wchar_t))))
21671 fprintf (f, "%lu\n", i);
21673 exit (ferror (f) || fclose (f) != 0);
21679 rm -f conftest$ac_exeext
21680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21681 (eval $ac_link) 2>&5
21683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21684 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21686 (eval $ac_try) 2>&5
21688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21689 (exit $ac_status); }; }; then
21690 ac_cv_sizeof_wchar_t=`cat conftest.val`
21692 echo "$as_me: program exited with status $ac_status" >&5
21693 echo "$as_me: failed program was:" >&5
21694 sed 's/^/| /' conftest.$ac_ext >&5
21696 ( exit $ac_status )
21697 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21698 See \`config.log' for more details." >&5
21699 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21700 See \`config.log' for more details." >&2;}
21701 { (exit 1); exit 1; }; }
21703 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21708 ac_cv_sizeof_wchar_t=0
21711 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21712 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21713 cat >>confdefs.h <<_ACEOF
21714 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21718 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21724 echo "$as_me:$LINENO: checking for va_copy" >&5
21725 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21726 if test "${wx_cv_func_va_copy+set}" = set; then
21727 echo $ECHO_N "(cached) $ECHO_C" >&6
21730 cat >conftest.$ac_ext <<_ACEOF
21732 #include <stdarg.h>
21733 void foo(char *f, ...)
21747 rm -f conftest.$ac_objext conftest$ac_exeext
21748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21749 (eval $ac_link) 2>conftest.er1
21751 grep -v '^ *+' conftest.er1 >conftest.err
21753 cat conftest.err >&5
21754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21755 (exit $ac_status); } &&
21756 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21758 (eval $ac_try) 2>&5
21760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21761 (exit $ac_status); }; } &&
21762 { ac_try='test -s conftest$ac_exeext'
21763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21764 (eval $ac_try) 2>&5
21766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21767 (exit $ac_status); }; }; then
21768 wx_cv_func_va_copy=yes
21770 echo "$as_me: failed program was:" >&5
21771 sed 's/^/| /' conftest.$ac_ext >&5
21773 wx_cv_func_va_copy=no
21776 rm -f conftest.err conftest.$ac_objext \
21777 conftest$ac_exeext conftest.$ac_ext
21781 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21782 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21784 if test $wx_cv_func_va_copy = "yes"; then
21785 cat >>confdefs.h <<\_ACEOF
21786 #define HAVE_VA_COPY 1
21790 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21791 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21792 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21793 echo $ECHO_N "(cached) $ECHO_C" >&6
21796 if test "$cross_compiling" = yes; then
21797 wx_cv_type_va_list_lvalue=yes
21800 cat >conftest.$ac_ext <<_ACEOF
21802 #include <stdarg.h>
21803 int foo(char *f, ...)
21808 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21816 return foo("hi", 17);
21819 rm -f conftest$ac_exeext
21820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21821 (eval $ac_link) 2>&5
21823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21824 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21826 (eval $ac_try) 2>&5
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); }; }; then
21830 wx_cv_type_va_list_lvalue=yes
21832 echo "$as_me: program exited with status $ac_status" >&5
21833 echo "$as_me: failed program was:" >&5
21834 sed 's/^/| /' conftest.$ac_ext >&5
21836 ( exit $ac_status )
21837 wx_cv_type_va_list_lvalue=no
21839 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21844 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21845 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21847 if test $wx_cv_type_va_list_lvalue != "yes"; then
21848 cat >>confdefs.h <<\_ACEOF
21849 #define VA_LIST_IS_ARRAY 1
21855 # Check whether --enable-largefile or --disable-largefile was given.
21856 if test "${enable_largefile+set}" = set; then
21857 enableval="$enable_largefile"
21860 if test "$enable_largefile" != no; then
21863 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21864 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21865 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21866 echo $ECHO_N "(cached) $ECHO_C" >&6
21869 cat >conftest.$ac_ext <<_ACEOF
21872 cat confdefs.h >>conftest.$ac_ext
21873 cat >>conftest.$ac_ext <<_ACEOF
21874 /* end confdefs.h. */
21875 #define _FILE_OFFSET_BITS 64
21876 #include <sys/types.h>
21881 unsigned int field: sizeof(off_t) == 8;
21888 rm -f conftest.$ac_objext
21889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21890 (eval $ac_compile) 2>conftest.er1
21892 grep -v '^ *+' conftest.er1 >conftest.err
21894 cat conftest.err >&5
21895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21896 (exit $ac_status); } &&
21897 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21899 (eval $ac_try) 2>&5
21901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902 (exit $ac_status); }; } &&
21903 { ac_try='test -s conftest.$ac_objext'
21904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21905 (eval $ac_try) 2>&5
21907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908 (exit $ac_status); }; }; then
21909 ac_cv_sys_file_offset_bits=64
21911 echo "$as_me: failed program was:" >&5
21912 sed 's/^/| /' conftest.$ac_ext >&5
21914 ac_cv_sys_file_offset_bits=no
21916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21920 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21921 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21923 if test "$ac_cv_sys_file_offset_bits" != no; then
21925 cat >>confdefs.h <<_ACEOF
21926 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21931 if test "x$wx_largefile" != "xyes"; then
21933 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21934 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21935 if test "${ac_cv_sys_large_files+set}" = set; then
21936 echo $ECHO_N "(cached) $ECHO_C" >&6
21939 cat >conftest.$ac_ext <<_ACEOF
21942 cat confdefs.h >>conftest.$ac_ext
21943 cat >>conftest.$ac_ext <<_ACEOF
21944 /* end confdefs.h. */
21945 #define _LARGE_FILES 1
21946 #include <sys/types.h>
21951 unsigned int field: sizeof(off_t) == 8;
21958 rm -f conftest.$ac_objext
21959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21960 (eval $ac_compile) 2>conftest.er1
21962 grep -v '^ *+' conftest.er1 >conftest.err
21964 cat conftest.err >&5
21965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966 (exit $ac_status); } &&
21967 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21969 (eval $ac_try) 2>&5
21971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21972 (exit $ac_status); }; } &&
21973 { ac_try='test -s conftest.$ac_objext'
21974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21975 (eval $ac_try) 2>&5
21977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21978 (exit $ac_status); }; }; then
21979 ac_cv_sys_large_files=1
21981 echo "$as_me: failed program was:" >&5
21982 sed 's/^/| /' conftest.$ac_ext >&5
21984 ac_cv_sys_large_files=no
21986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21990 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21991 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21993 if test "$ac_cv_sys_large_files" != no; then
21995 cat >>confdefs.h <<_ACEOF
21996 #define _LARGE_FILES $ac_cv_sys_large_files
22003 echo "$as_me:$LINENO: checking if large file support is available" >&5
22004 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22005 if test "x$wx_largefile" = "xyes"; then
22006 cat >>confdefs.h <<\_ACEOF
22007 #define HAVE_LARGEFILE_SUPPORT 1
22011 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22012 echo "${ECHO_T}$wx_largefile" >&6
22016 if test "x$wx_largefile" = "xyes"; then
22017 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22018 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22020 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22021 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22022 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22023 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22024 echo $ECHO_N "(cached) $ECHO_C" >&6
22027 cat >conftest.$ac_ext <<_ACEOF
22030 cat confdefs.h >>conftest.$ac_ext
22031 cat >>conftest.$ac_ext <<_ACEOF
22032 /* end confdefs.h. */
22038 #ifndef __STDC_EXT__
22046 rm -f conftest.$ac_objext
22047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22048 (eval $ac_compile) 2>conftest.er1
22050 grep -v '^ *+' conftest.er1 >conftest.err
22052 cat conftest.err >&5
22053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22054 (exit $ac_status); } &&
22055 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22057 (eval $ac_try) 2>&5
22059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060 (exit $ac_status); }; } &&
22061 { ac_try='test -s conftest.$ac_objext'
22062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22063 (eval $ac_try) 2>&5
22065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22066 (exit $ac_status); }; }; then
22067 wx_cv_STDC_EXT_required=no
22069 echo "$as_me: failed program was:" >&5
22070 sed 's/^/| /' conftest.$ac_ext >&5
22072 wx_cv_STDC_EXT_required=yes
22075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22079 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22080 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22081 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22082 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22086 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22088 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22089 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22090 if test "${ac_cv_sys_largefile_source+set}" = set; then
22091 echo $ECHO_N "(cached) $ECHO_C" >&6
22094 ac_cv_sys_largefile_source=no
22095 cat >conftest.$ac_ext <<_ACEOF
22098 cat confdefs.h >>conftest.$ac_ext
22099 cat >>conftest.$ac_ext <<_ACEOF
22100 /* end confdefs.h. */
22110 rm -f conftest.$ac_objext
22111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22112 (eval $ac_compile) 2>conftest.er1
22114 grep -v '^ *+' conftest.er1 >conftest.err
22116 cat conftest.err >&5
22117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22118 (exit $ac_status); } &&
22119 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22121 (eval $ac_try) 2>&5
22123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124 (exit $ac_status); }; } &&
22125 { ac_try='test -s conftest.$ac_objext'
22126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22127 (eval $ac_try) 2>&5
22129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130 (exit $ac_status); }; }; then
22133 echo "$as_me: failed program was:" >&5
22134 sed 's/^/| /' conftest.$ac_ext >&5
22137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22138 cat >conftest.$ac_ext <<_ACEOF
22141 cat confdefs.h >>conftest.$ac_ext
22142 cat >>conftest.$ac_ext <<_ACEOF
22143 /* end confdefs.h. */
22144 #define _LARGEFILE_SOURCE 1
22154 rm -f conftest.$ac_objext
22155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22156 (eval $ac_compile) 2>conftest.er1
22158 grep -v '^ *+' conftest.er1 >conftest.err
22160 cat conftest.err >&5
22161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22162 (exit $ac_status); } &&
22163 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22165 (eval $ac_try) 2>&5
22167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22168 (exit $ac_status); }; } &&
22169 { ac_try='test -s conftest.$ac_objext'
22170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22171 (eval $ac_try) 2>&5
22173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22174 (exit $ac_status); }; }; then
22175 ac_cv_sys_largefile_source=1; break
22177 echo "$as_me: failed program was:" >&5
22178 sed 's/^/| /' conftest.$ac_ext >&5
22181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22185 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22186 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22187 if test "$ac_cv_sys_largefile_source" != no; then
22189 cat >>confdefs.h <<_ACEOF
22190 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22196 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22197 # in glibc 2.1.3, but that breaks too many other things.
22198 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22199 echo "$as_me:$LINENO: checking for fseeko" >&5
22200 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22201 if test "${ac_cv_func_fseeko+set}" = set; then
22202 echo $ECHO_N "(cached) $ECHO_C" >&6
22204 cat >conftest.$ac_ext <<_ACEOF
22207 cat confdefs.h >>conftest.$ac_ext
22208 cat >>conftest.$ac_ext <<_ACEOF
22209 /* end confdefs.h. */
22214 return fseeko && fseeko (stdin, 0, 0);
22219 rm -f conftest.$ac_objext conftest$ac_exeext
22220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22221 (eval $ac_link) 2>conftest.er1
22223 grep -v '^ *+' conftest.er1 >conftest.err
22225 cat conftest.err >&5
22226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22227 (exit $ac_status); } &&
22228 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22230 (eval $ac_try) 2>&5
22232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22233 (exit $ac_status); }; } &&
22234 { ac_try='test -s conftest$ac_exeext'
22235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22236 (eval $ac_try) 2>&5
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); }; }; then
22240 ac_cv_func_fseeko=yes
22242 echo "$as_me: failed program was:" >&5
22243 sed 's/^/| /' conftest.$ac_ext >&5
22245 ac_cv_func_fseeko=no
22247 rm -f conftest.err conftest.$ac_objext \
22248 conftest$ac_exeext conftest.$ac_ext
22250 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22251 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22252 if test $ac_cv_func_fseeko = yes; then
22254 cat >>confdefs.h <<\_ACEOF
22255 #define HAVE_FSEEKO 1
22260 if test "$ac_cv_sys_largefile_source" != no; then
22261 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22265 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22266 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22267 if test "${ac_cv_c_bigendian+set}" = set; then
22268 echo $ECHO_N "(cached) $ECHO_C" >&6
22270 ac_cv_c_bigendian=unknown
22271 # See if sys/param.h defines the BYTE_ORDER macro.
22272 cat >conftest.$ac_ext <<_ACEOF
22275 cat confdefs.h >>conftest.$ac_ext
22276 cat >>conftest.$ac_ext <<_ACEOF
22277 /* end confdefs.h. */
22278 #include <sys/types.h>
22279 #include <sys/param.h>
22284 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22285 bogus endian macros
22291 rm -f conftest.$ac_objext
22292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22293 (eval $ac_compile) 2>conftest.er1
22295 grep -v '^ *+' conftest.er1 >conftest.err
22297 cat conftest.err >&5
22298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22299 (exit $ac_status); } &&
22300 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22302 (eval $ac_try) 2>&5
22304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22305 (exit $ac_status); }; } &&
22306 { ac_try='test -s conftest.$ac_objext'
22307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22308 (eval $ac_try) 2>&5
22310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22311 (exit $ac_status); }; }; then
22312 # It does; now see whether it defined to BIG_ENDIAN or not.
22313 cat >conftest.$ac_ext <<_ACEOF
22316 cat confdefs.h >>conftest.$ac_ext
22317 cat >>conftest.$ac_ext <<_ACEOF
22318 /* end confdefs.h. */
22319 #include <sys/types.h>
22320 #include <sys/param.h>
22325 #if BYTE_ORDER != BIG_ENDIAN
22332 rm -f conftest.$ac_objext
22333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22334 (eval $ac_compile) 2>conftest.er1
22336 grep -v '^ *+' conftest.er1 >conftest.err
22338 cat conftest.err >&5
22339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22340 (exit $ac_status); } &&
22341 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22343 (eval $ac_try) 2>&5
22345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 (exit $ac_status); }; } &&
22347 { ac_try='test -s conftest.$ac_objext'
22348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22349 (eval $ac_try) 2>&5
22351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22352 (exit $ac_status); }; }; then
22353 ac_cv_c_bigendian=yes
22355 echo "$as_me: failed program was:" >&5
22356 sed 's/^/| /' conftest.$ac_ext >&5
22358 ac_cv_c_bigendian=no
22360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22362 echo "$as_me: failed program was:" >&5
22363 sed 's/^/| /' conftest.$ac_ext >&5
22366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22367 if test $ac_cv_c_bigendian = unknown; then
22368 if test "$cross_compiling" = yes; then
22369 ac_cv_c_bigendian=unknown
22371 cat >conftest.$ac_ext <<_ACEOF
22374 cat confdefs.h >>conftest.$ac_ext
22375 cat >>conftest.$ac_ext <<_ACEOF
22376 /* end confdefs.h. */
22378 /* Are we little or big endian? From Harbison&Steele. */
22382 char c[sizeof (long)];
22385 exit (u.c[sizeof (long) - 1] == 1);
22388 rm -f conftest$ac_exeext
22389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22390 (eval $ac_link) 2>&5
22392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22393 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22395 (eval $ac_try) 2>&5
22397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); }; }; then
22399 ac_cv_c_bigendian=no
22401 echo "$as_me: program exited with status $ac_status" >&5
22402 echo "$as_me: failed program was:" >&5
22403 sed 's/^/| /' conftest.$ac_ext >&5
22405 ( exit $ac_status )
22406 ac_cv_c_bigendian=yes
22408 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22412 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22413 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22414 if test $ac_cv_c_bigendian = unknown; then
22415 { 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
22416 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;}
22418 if test $ac_cv_c_bigendian = yes; then
22419 cat >>confdefs.h <<\_ACEOF
22420 #define WORDS_BIGENDIAN 1
22430 ac_cpp='$CXXCPP $CPPFLAGS'
22431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22437 for ac_header in iostream
22439 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22441 echo "$as_me:$LINENO: checking for $ac_header" >&5
22442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22444 echo $ECHO_N "(cached) $ECHO_C" >&6
22446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22449 # Is the header compilable?
22450 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22451 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22452 cat >conftest.$ac_ext <<_ACEOF
22455 cat confdefs.h >>conftest.$ac_ext
22456 cat >>conftest.$ac_ext <<_ACEOF
22457 /* end confdefs.h. */
22458 $ac_includes_default
22459 #include <$ac_header>
22461 rm -f conftest.$ac_objext
22462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22463 (eval $ac_compile) 2>conftest.er1
22465 grep -v '^ *+' conftest.er1 >conftest.err
22467 cat conftest.err >&5
22468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22469 (exit $ac_status); } &&
22470 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22472 (eval $ac_try) 2>&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); }; } &&
22476 { ac_try='test -s conftest.$ac_objext'
22477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22478 (eval $ac_try) 2>&5
22480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22481 (exit $ac_status); }; }; then
22482 ac_header_compiler=yes
22484 echo "$as_me: failed program was:" >&5
22485 sed 's/^/| /' conftest.$ac_ext >&5
22487 ac_header_compiler=no
22489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22490 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22491 echo "${ECHO_T}$ac_header_compiler" >&6
22493 # Is the header present?
22494 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22495 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22496 cat >conftest.$ac_ext <<_ACEOF
22499 cat confdefs.h >>conftest.$ac_ext
22500 cat >>conftest.$ac_ext <<_ACEOF
22501 /* end confdefs.h. */
22502 #include <$ac_header>
22504 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22505 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22507 grep -v '^ *+' conftest.er1 >conftest.err
22509 cat conftest.err >&5
22510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22511 (exit $ac_status); } >/dev/null; then
22512 if test -s conftest.err; then
22513 ac_cpp_err=$ac_cxx_preproc_warn_flag
22514 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22521 if test -z "$ac_cpp_err"; then
22522 ac_header_preproc=yes
22524 echo "$as_me: failed program was:" >&5
22525 sed 's/^/| /' conftest.$ac_ext >&5
22527 ac_header_preproc=no
22529 rm -f conftest.err conftest.$ac_ext
22530 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22531 echo "${ECHO_T}$ac_header_preproc" >&6
22533 # So? What about this header?
22534 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22536 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22537 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22539 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22540 ac_header_preproc=yes
22543 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22544 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22545 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22546 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22547 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22548 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22549 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22550 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22551 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22552 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22553 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22554 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22557 ## ----------------------------------------- ##
22558 ## Report this to wx-dev@lists.wxwidgets.org ##
22559 ## ----------------------------------------- ##
22562 sed "s/^/$as_me: WARNING: /" >&2
22565 echo "$as_me:$LINENO: checking for $ac_header" >&5
22566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22568 echo $ECHO_N "(cached) $ECHO_C" >&6
22570 eval "$as_ac_Header=\$ac_header_preproc"
22572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22576 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22577 cat >>confdefs.h <<_ACEOF
22578 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22586 if test "$ac_cv_header_iostream" = "yes" ; then
22589 cat >>confdefs.h <<\_ACEOF
22590 #define wxUSE_IOSTREAMH 1
22596 ac_cpp='$CXXCPP $CPPFLAGS'
22597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22604 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22605 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22606 if test "${wx_cv_cpp_bool+set}" = set; then
22607 echo $ECHO_N "(cached) $ECHO_C" >&6
22613 ac_cpp='$CXXCPP $CPPFLAGS'
22614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22619 cat >conftest.$ac_ext <<_ACEOF
22622 cat confdefs.h >>conftest.$ac_ext
22623 cat >>conftest.$ac_ext <<_ACEOF
22624 /* end confdefs.h. */
22639 rm -f conftest.$ac_objext
22640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22641 (eval $ac_compile) 2>conftest.er1
22643 grep -v '^ *+' conftest.er1 >conftest.err
22645 cat conftest.err >&5
22646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22647 (exit $ac_status); } &&
22648 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22650 (eval $ac_try) 2>&5
22652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22653 (exit $ac_status); }; } &&
22654 { ac_try='test -s conftest.$ac_objext'
22655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22656 (eval $ac_try) 2>&5
22658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22659 (exit $ac_status); }; }; then
22664 echo "$as_me: failed program was:" >&5
22665 sed 's/^/| /' conftest.$ac_ext >&5
22672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22675 ac_cpp='$CXXCPP $CPPFLAGS'
22676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22682 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22683 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22685 if test "$wx_cv_cpp_bool" = "yes"; then
22686 cat >>confdefs.h <<\_ACEOF
22687 #define HAVE_BOOL 1
22694 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22695 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22696 if test "${wx_cv_explicit+set}" = set; then
22697 echo $ECHO_N "(cached) $ECHO_C" >&6
22703 ac_cpp='$CXXCPP $CPPFLAGS'
22704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22709 cat >conftest.$ac_ext <<_ACEOF
22712 cat confdefs.h >>conftest.$ac_ext
22713 cat >>conftest.$ac_ext <<_ACEOF
22714 /* end confdefs.h. */
22716 class Foo { public: explicit Foo(int) {} };
22728 rm -f conftest.$ac_objext
22729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22730 (eval $ac_compile) 2>conftest.er1
22732 grep -v '^ *+' conftest.er1 >conftest.err
22734 cat conftest.err >&5
22735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22736 (exit $ac_status); } &&
22737 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22739 (eval $ac_try) 2>&5
22741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22742 (exit $ac_status); }; } &&
22743 { ac_try='test -s conftest.$ac_objext'
22744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22745 (eval $ac_try) 2>&5
22747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22748 (exit $ac_status); }; }; then
22750 cat >conftest.$ac_ext <<_ACEOF
22753 cat confdefs.h >>conftest.$ac_ext
22754 cat >>conftest.$ac_ext <<_ACEOF
22755 /* end confdefs.h. */
22757 class Foo { public: explicit Foo(int) {} };
22758 static void TakeFoo(const Foo& foo) { }
22771 rm -f conftest.$ac_objext
22772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22773 (eval $ac_compile) 2>conftest.er1
22775 grep -v '^ *+' conftest.er1 >conftest.err
22777 cat conftest.err >&5
22778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22779 (exit $ac_status); } &&
22780 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22782 (eval $ac_try) 2>&5
22784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22785 (exit $ac_status); }; } &&
22786 { ac_try='test -s conftest.$ac_objext'
22787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22788 (eval $ac_try) 2>&5
22790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22791 (exit $ac_status); }; }; then
22794 echo "$as_me: failed program was:" >&5
22795 sed 's/^/| /' conftest.$ac_ext >&5
22800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22803 echo "$as_me: failed program was:" >&5
22804 sed 's/^/| /' conftest.$ac_ext >&5
22809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22812 ac_cpp='$CXXCPP $CPPFLAGS'
22813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22819 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22820 echo "${ECHO_T}$wx_cv_explicit" >&6
22822 if test "$wx_cv_explicit" = "yes"; then
22823 cat >>confdefs.h <<\_ACEOF
22824 #define HAVE_EXPLICIT 1
22830 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22831 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22832 if test "${ac_cv_cxx_const_cast+set}" = set; then
22833 echo $ECHO_N "(cached) $ECHO_C" >&6
22838 ac_cpp='$CXXCPP $CPPFLAGS'
22839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22843 cat >conftest.$ac_ext <<_ACEOF
22846 cat confdefs.h >>conftest.$ac_ext
22847 cat >>conftest.$ac_ext <<_ACEOF
22848 /* end confdefs.h. */
22853 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22858 rm -f conftest.$ac_objext
22859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22860 (eval $ac_compile) 2>conftest.er1
22862 grep -v '^ *+' conftest.er1 >conftest.err
22864 cat conftest.err >&5
22865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22866 (exit $ac_status); } &&
22867 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22869 (eval $ac_try) 2>&5
22871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22872 (exit $ac_status); }; } &&
22873 { ac_try='test -s conftest.$ac_objext'
22874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22875 (eval $ac_try) 2>&5
22877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22878 (exit $ac_status); }; }; then
22879 ac_cv_cxx_const_cast=yes
22881 echo "$as_me: failed program was:" >&5
22882 sed 's/^/| /' conftest.$ac_ext >&5
22884 ac_cv_cxx_const_cast=no
22886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22888 ac_cpp='$CXXCPP $CPPFLAGS'
22889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22895 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22896 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22897 if test "$ac_cv_cxx_const_cast" = yes; then
22899 cat >>confdefs.h <<\_ACEOF
22900 #define HAVE_CONST_CAST
22905 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22906 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22907 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22908 echo $ECHO_N "(cached) $ECHO_C" >&6
22913 ac_cpp='$CXXCPP $CPPFLAGS'
22914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22918 cat >conftest.$ac_ext <<_ACEOF
22921 cat confdefs.h >>conftest.$ac_ext
22922 cat >>conftest.$ac_ext <<_ACEOF
22923 /* end confdefs.h. */
22924 #include <typeinfo>
22925 class Base { public : Base () {} virtual void f () = 0;};
22926 class Derived : public Base { public : Derived () {} virtual void f () {} };
22927 class Unrelated { public : Unrelated () {} };
22928 int g (Unrelated&) { return 0; }
22933 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22938 rm -f conftest.$ac_objext
22939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22940 (eval $ac_compile) 2>conftest.er1
22942 grep -v '^ *+' conftest.er1 >conftest.err
22944 cat conftest.err >&5
22945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22946 (exit $ac_status); } &&
22947 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22949 (eval $ac_try) 2>&5
22951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22952 (exit $ac_status); }; } &&
22953 { ac_try='test -s conftest.$ac_objext'
22954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22955 (eval $ac_try) 2>&5
22957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22958 (exit $ac_status); }; }; then
22959 ac_cv_cxx_reinterpret_cast=yes
22961 echo "$as_me: failed program was:" >&5
22962 sed 's/^/| /' conftest.$ac_ext >&5
22964 ac_cv_cxx_reinterpret_cast=no
22966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22968 ac_cpp='$CXXCPP $CPPFLAGS'
22969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22975 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22976 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22977 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22979 cat >>confdefs.h <<\_ACEOF
22980 #define HAVE_REINTERPRET_CAST
22985 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22986 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22987 if test "${ac_cv_cxx_static_cast+set}" = set; then
22988 echo $ECHO_N "(cached) $ECHO_C" >&6
22993 ac_cpp='$CXXCPP $CPPFLAGS'
22994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22998 cat >conftest.$ac_ext <<_ACEOF
23001 cat confdefs.h >>conftest.$ac_ext
23002 cat >>conftest.$ac_ext <<_ACEOF
23003 /* end confdefs.h. */
23004 #include <typeinfo>
23005 class Base { public : Base () {} virtual void f () = 0; };
23006 class Derived : public Base { public : Derived () {} virtual void f () {} };
23007 int g (Derived&) { return 0; }
23012 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23017 rm -f conftest.$ac_objext
23018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23019 (eval $ac_compile) 2>conftest.er1
23021 grep -v '^ *+' conftest.er1 >conftest.err
23023 cat conftest.err >&5
23024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23025 (exit $ac_status); } &&
23026 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23028 (eval $ac_try) 2>&5
23030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23031 (exit $ac_status); }; } &&
23032 { ac_try='test -s conftest.$ac_objext'
23033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23034 (eval $ac_try) 2>&5
23036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037 (exit $ac_status); }; }; then
23038 ac_cv_cxx_static_cast=yes
23040 echo "$as_me: failed program was:" >&5
23041 sed 's/^/| /' conftest.$ac_ext >&5
23043 ac_cv_cxx_static_cast=no
23045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23047 ac_cpp='$CXXCPP $CPPFLAGS'
23048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23054 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23055 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23056 if test "$ac_cv_cxx_static_cast" = yes; then
23058 cat >>confdefs.h <<\_ACEOF
23059 #define HAVE_STATIC_CAST
23065 if test "x$SUNCXX" = xyes; then
23066 CXXFLAGS="-features=tmplife $CXXFLAGS"
23069 if test "x$SUNCC" = xyes; then
23070 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23073 if test "x$SGICC" = "xyes"; then
23074 CFLAGS="-woff 3970 $CFLAGS"
23076 if test "x$SGICXX" = "xyes"; then
23077 CXXFLAGS="-woff 3970 $CXXFLAGS"
23080 if test "x$HPCC" = "xyes"; then
23081 CFLAGS="+W 2011,2450 $CFLAGS"
23083 if test "x$HPCXX" = "xyes"; then
23084 CXXFLAGS="+W 2340 $CXXFLAGS"
23087 if test "x$COMPAQCXX" = "xyes"; then
23088 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23091 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23092 if test "$wxUSE_UNICODE" = "yes"; then
23093 std_string="std::wstring"
23094 char_type="wchar_t"
23096 std_string="std::string"
23100 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23101 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23102 cat >conftest.$ac_ext <<_ACEOF
23105 cat confdefs.h >>conftest.$ac_ext
23106 cat >>conftest.$ac_ext <<_ACEOF
23107 /* end confdefs.h. */
23117 rm -f conftest.$ac_objext
23118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23119 (eval $ac_compile) 2>conftest.er1
23121 grep -v '^ *+' conftest.er1 >conftest.err
23123 cat conftest.err >&5
23124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23125 (exit $ac_status); } &&
23126 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23128 (eval $ac_try) 2>&5
23130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23131 (exit $ac_status); }; } &&
23132 { ac_try='test -s conftest.$ac_objext'
23133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23134 (eval $ac_try) 2>&5
23136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23137 (exit $ac_status); }; }; then
23138 echo "$as_me:$LINENO: result: yes" >&5
23139 echo "${ECHO_T}yes" >&6
23140 cat >>confdefs.h <<\_ACEOF
23141 #define HAVE_STD_WSTRING 1
23145 echo "$as_me: failed program was:" >&5
23146 sed 's/^/| /' conftest.$ac_ext >&5
23148 echo "$as_me:$LINENO: result: no" >&5
23149 echo "${ECHO_T}no" >&6
23150 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23151 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23152 cat >conftest.$ac_ext <<_ACEOF
23155 cat confdefs.h >>conftest.$ac_ext
23156 cat >>conftest.$ac_ext <<_ACEOF
23157 /* end confdefs.h. */
23159 #ifdef HAVE_WCHAR_H
23161 # include <stddef.h>
23163 # include <wchar.h>
23165 #ifdef HAVE_STDLIB_H
23166 # include <stdlib.h>
23174 std::basic_string<$char_type> foo;
23175 const $char_type* dummy = foo.c_str();
23180 rm -f conftest.$ac_objext
23181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23182 (eval $ac_compile) 2>conftest.er1
23184 grep -v '^ *+' conftest.er1 >conftest.err
23186 cat conftest.err >&5
23187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23188 (exit $ac_status); } &&
23189 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23191 (eval $ac_try) 2>&5
23193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23194 (exit $ac_status); }; } &&
23195 { ac_try='test -s conftest.$ac_objext'
23196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23197 (eval $ac_try) 2>&5
23199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23200 (exit $ac_status); }; }; then
23201 echo "$as_me:$LINENO: result: yes" >&5
23202 echo "${ECHO_T}yes" >&6
23204 echo "$as_me: failed program was:" >&5
23205 sed 's/^/| /' conftest.$ac_ext >&5
23207 echo "$as_me:$LINENO: result: no" >&5
23208 echo "${ECHO_T}no" >&6
23209 if test "$wxUSE_STL" = "yes"; then
23210 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23211 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23212 { (exit 1); exit 1; }; }
23213 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23214 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23215 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23216 { (exit 1); exit 1; }; }
23218 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23219 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23220 wxUSE_STD_STRING=no
23225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23231 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23232 echo "$as_me:$LINENO: checking for std::istream" >&5
23233 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23234 if test "${ac_cv_type_std__istream+set}" = set; then
23235 echo $ECHO_N "(cached) $ECHO_C" >&6
23237 cat >conftest.$ac_ext <<_ACEOF
23240 cat confdefs.h >>conftest.$ac_ext
23241 cat >>conftest.$ac_ext <<_ACEOF
23242 /* end confdefs.h. */
23243 #include <iostream>
23248 if ((std::istream *) 0)
23250 if (sizeof (std::istream))
23256 rm -f conftest.$ac_objext
23257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23258 (eval $ac_compile) 2>conftest.er1
23260 grep -v '^ *+' conftest.er1 >conftest.err
23262 cat conftest.err >&5
23263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23264 (exit $ac_status); } &&
23265 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23267 (eval $ac_try) 2>&5
23269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23270 (exit $ac_status); }; } &&
23271 { ac_try='test -s conftest.$ac_objext'
23272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23273 (eval $ac_try) 2>&5
23275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23276 (exit $ac_status); }; }; then
23277 ac_cv_type_std__istream=yes
23279 echo "$as_me: failed program was:" >&5
23280 sed 's/^/| /' conftest.$ac_ext >&5
23282 ac_cv_type_std__istream=no
23284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23286 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23287 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23288 if test $ac_cv_type_std__istream = yes; then
23290 cat >>confdefs.h <<_ACEOF
23291 #define HAVE_STD__ISTREAM 1
23296 wxUSE_STD_IOSTREAM=no
23298 echo "$as_me:$LINENO: checking for std::ostream" >&5
23299 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23300 if test "${ac_cv_type_std__ostream+set}" = set; then
23301 echo $ECHO_N "(cached) $ECHO_C" >&6
23303 cat >conftest.$ac_ext <<_ACEOF
23306 cat confdefs.h >>conftest.$ac_ext
23307 cat >>conftest.$ac_ext <<_ACEOF
23308 /* end confdefs.h. */
23309 #include <iostream>
23314 if ((std::ostream *) 0)
23316 if (sizeof (std::ostream))
23322 rm -f conftest.$ac_objext
23323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23324 (eval $ac_compile) 2>conftest.er1
23326 grep -v '^ *+' conftest.er1 >conftest.err
23328 cat conftest.err >&5
23329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23330 (exit $ac_status); } &&
23331 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23333 (eval $ac_try) 2>&5
23335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23336 (exit $ac_status); }; } &&
23337 { ac_try='test -s conftest.$ac_objext'
23338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23339 (eval $ac_try) 2>&5
23341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23342 (exit $ac_status); }; }; then
23343 ac_cv_type_std__ostream=yes
23345 echo "$as_me: failed program was:" >&5
23346 sed 's/^/| /' conftest.$ac_ext >&5
23348 ac_cv_type_std__ostream=no
23350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23352 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23353 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23354 if test $ac_cv_type_std__ostream = yes; then
23356 cat >>confdefs.h <<_ACEOF
23357 #define HAVE_STD__OSTREAM 1
23362 wxUSE_STD_IOSTREAM=no
23366 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23367 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23368 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23369 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23370 { (exit 1); exit 1; }; }
23372 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23373 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23378 if test "$wxUSE_STL" = "yes"; then
23379 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23380 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23381 cat >conftest.$ac_ext <<_ACEOF
23384 cat confdefs.h >>conftest.$ac_ext
23385 cat >>conftest.$ac_ext <<_ACEOF
23386 /* end confdefs.h. */
23388 #include <functional>
23389 #include <algorithm>
23395 std::vector<int> moo;
23396 std::list<int> foo;
23397 std::vector<int>::iterator it =
23398 std::find_if(moo.begin(), moo.end(),
23399 std::bind2nd(std::less<int>(), 3));
23404 rm -f conftest.$ac_objext
23405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23406 (eval $ac_compile) 2>conftest.er1
23408 grep -v '^ *+' conftest.er1 >conftest.err
23410 cat conftest.err >&5
23411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23412 (exit $ac_status); } &&
23413 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23415 (eval $ac_try) 2>&5
23417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418 (exit $ac_status); }; } &&
23419 { ac_try='test -s conftest.$ac_objext'
23420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23421 (eval $ac_try) 2>&5
23423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23424 (exit $ac_status); }; }; then
23425 echo "$as_me:$LINENO: result: yes" >&5
23426 echo "${ECHO_T}yes" >&6
23428 echo "$as_me: failed program was:" >&5
23429 sed 's/^/| /' conftest.$ac_ext >&5
23431 echo "$as_me:$LINENO: result: no" >&5
23432 echo "${ECHO_T}no" >&6
23433 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23434 echo "$as_me: error: Basic STL functionality missing" >&2;}
23435 { (exit 1); exit 1; }; }
23437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23439 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23440 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23441 cat >conftest.$ac_ext <<_ACEOF
23444 cat confdefs.h >>conftest.$ac_ext
23445 cat >>conftest.$ac_ext <<_ACEOF
23446 /* end confdefs.h. */
23451 std::string foo, bar;
23453 foo.compare(1, 1, bar);
23454 foo.compare(1, 1, bar, 1, 1);
23456 foo.compare(1, 1, "");
23457 foo.compare(1, 1, "", 2);
23462 rm -f conftest.$ac_objext
23463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23464 (eval $ac_compile) 2>conftest.er1
23466 grep -v '^ *+' conftest.er1 >conftest.err
23468 cat conftest.err >&5
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); } &&
23471 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23473 (eval $ac_try) 2>&5
23475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476 (exit $ac_status); }; } &&
23477 { ac_try='test -s conftest.$ac_objext'
23478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23479 (eval $ac_try) 2>&5
23481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23482 (exit $ac_status); }; }; then
23483 echo "$as_me:$LINENO: result: yes" >&5
23484 echo "${ECHO_T}yes" >&6
23485 cat >>confdefs.h <<\_ACEOF
23486 #define HAVE_STD_STRING_COMPARE 1
23490 echo "$as_me: failed program was:" >&5
23491 sed 's/^/| /' conftest.$ac_ext >&5
23493 echo "$as_me:$LINENO: result: no" >&5
23494 echo "${ECHO_T}no" >&6
23496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23498 if test "${ac_cv_header_hash_map+set}" = set; then
23499 echo "$as_me:$LINENO: checking for hash_map" >&5
23500 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23501 if test "${ac_cv_header_hash_map+set}" = set; then
23502 echo $ECHO_N "(cached) $ECHO_C" >&6
23504 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23505 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23507 # Is the header compilable?
23508 echo "$as_me:$LINENO: checking hash_map usability" >&5
23509 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23510 cat >conftest.$ac_ext <<_ACEOF
23513 cat confdefs.h >>conftest.$ac_ext
23514 cat >>conftest.$ac_ext <<_ACEOF
23515 /* end confdefs.h. */
23516 $ac_includes_default
23517 #include <hash_map>
23519 rm -f conftest.$ac_objext
23520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23521 (eval $ac_compile) 2>conftest.er1
23523 grep -v '^ *+' conftest.er1 >conftest.err
23525 cat conftest.err >&5
23526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23527 (exit $ac_status); } &&
23528 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23530 (eval $ac_try) 2>&5
23532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23533 (exit $ac_status); }; } &&
23534 { ac_try='test -s conftest.$ac_objext'
23535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23536 (eval $ac_try) 2>&5
23538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23539 (exit $ac_status); }; }; then
23540 ac_header_compiler=yes
23542 echo "$as_me: failed program was:" >&5
23543 sed 's/^/| /' conftest.$ac_ext >&5
23545 ac_header_compiler=no
23547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23548 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23549 echo "${ECHO_T}$ac_header_compiler" >&6
23551 # Is the header present?
23552 echo "$as_me:$LINENO: checking hash_map presence" >&5
23553 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23554 cat >conftest.$ac_ext <<_ACEOF
23557 cat confdefs.h >>conftest.$ac_ext
23558 cat >>conftest.$ac_ext <<_ACEOF
23559 /* end confdefs.h. */
23560 #include <hash_map>
23562 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23563 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23565 grep -v '^ *+' conftest.er1 >conftest.err
23567 cat conftest.err >&5
23568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23569 (exit $ac_status); } >/dev/null; then
23570 if test -s conftest.err; then
23571 ac_cpp_err=$ac_cxx_preproc_warn_flag
23572 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23579 if test -z "$ac_cpp_err"; then
23580 ac_header_preproc=yes
23582 echo "$as_me: failed program was:" >&5
23583 sed 's/^/| /' conftest.$ac_ext >&5
23585 ac_header_preproc=no
23587 rm -f conftest.err conftest.$ac_ext
23588 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23589 echo "${ECHO_T}$ac_header_preproc" >&6
23591 # So? What about this header?
23592 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23594 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23595 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23596 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23597 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23598 ac_header_preproc=yes
23601 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23602 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23603 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23604 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23605 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23606 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23607 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23608 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23609 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23610 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23611 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23612 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23615 ## ----------------------------------------- ##
23616 ## Report this to wx-dev@lists.wxwidgets.org ##
23617 ## ----------------------------------------- ##
23620 sed "s/^/$as_me: WARNING: /" >&2
23623 echo "$as_me:$LINENO: checking for hash_map" >&5
23624 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23625 if test "${ac_cv_header_hash_map+set}" = set; then
23626 echo $ECHO_N "(cached) $ECHO_C" >&6
23628 ac_cv_header_hash_map=$ac_header_preproc
23630 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23631 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23634 if test $ac_cv_header_hash_map = yes; then
23635 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23636 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23637 cat >conftest.$ac_ext <<_ACEOF
23640 cat confdefs.h >>conftest.$ac_ext
23641 cat >>conftest.$ac_ext <<_ACEOF
23642 /* end confdefs.h. */
23643 #include <hash_map>
23644 #include <hash_set>
23648 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23649 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23654 rm -f conftest.$ac_objext
23655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23656 (eval $ac_compile) 2>conftest.er1
23658 grep -v '^ *+' conftest.er1 >conftest.err
23660 cat conftest.err >&5
23661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23662 (exit $ac_status); } &&
23663 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23665 (eval $ac_try) 2>&5
23667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23668 (exit $ac_status); }; } &&
23669 { ac_try='test -s conftest.$ac_objext'
23670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23671 (eval $ac_try) 2>&5
23673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23674 (exit $ac_status); }; }; then
23675 echo "$as_me:$LINENO: result: yes" >&5
23676 echo "${ECHO_T}yes" >&6
23677 cat >>confdefs.h <<\_ACEOF
23678 #define HAVE_HASH_MAP 1
23681 cat >>confdefs.h <<\_ACEOF
23682 #define HAVE_STD_HASH_MAP 1
23686 echo "$as_me: failed program was:" >&5
23687 sed 's/^/| /' conftest.$ac_ext >&5
23689 echo "$as_me:$LINENO: result: no" >&5
23690 echo "${ECHO_T}no" >&6
23692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23698 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23699 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23700 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23701 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23702 echo $ECHO_N "(cached) $ECHO_C" >&6
23704 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23705 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23707 # Is the header compilable?
23708 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23709 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23710 cat >conftest.$ac_ext <<_ACEOF
23713 cat confdefs.h >>conftest.$ac_ext
23714 cat >>conftest.$ac_ext <<_ACEOF
23715 /* end confdefs.h. */
23716 $ac_includes_default
23717 #include <ext/hash_map>
23719 rm -f conftest.$ac_objext
23720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23721 (eval $ac_compile) 2>conftest.er1
23723 grep -v '^ *+' conftest.er1 >conftest.err
23725 cat conftest.err >&5
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); } &&
23728 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23730 (eval $ac_try) 2>&5
23732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23733 (exit $ac_status); }; } &&
23734 { ac_try='test -s conftest.$ac_objext'
23735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23736 (eval $ac_try) 2>&5
23738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23739 (exit $ac_status); }; }; then
23740 ac_header_compiler=yes
23742 echo "$as_me: failed program was:" >&5
23743 sed 's/^/| /' conftest.$ac_ext >&5
23745 ac_header_compiler=no
23747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23748 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23749 echo "${ECHO_T}$ac_header_compiler" >&6
23751 # Is the header present?
23752 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23753 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23754 cat >conftest.$ac_ext <<_ACEOF
23757 cat confdefs.h >>conftest.$ac_ext
23758 cat >>conftest.$ac_ext <<_ACEOF
23759 /* end confdefs.h. */
23760 #include <ext/hash_map>
23762 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23763 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23765 grep -v '^ *+' conftest.er1 >conftest.err
23767 cat conftest.err >&5
23768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23769 (exit $ac_status); } >/dev/null; then
23770 if test -s conftest.err; then
23771 ac_cpp_err=$ac_cxx_preproc_warn_flag
23772 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23779 if test -z "$ac_cpp_err"; then
23780 ac_header_preproc=yes
23782 echo "$as_me: failed program was:" >&5
23783 sed 's/^/| /' conftest.$ac_ext >&5
23785 ac_header_preproc=no
23787 rm -f conftest.err conftest.$ac_ext
23788 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23789 echo "${ECHO_T}$ac_header_preproc" >&6
23791 # So? What about this header?
23792 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23794 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23795 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23796 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23797 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23798 ac_header_preproc=yes
23801 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23802 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23803 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23804 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23805 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23806 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23807 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23808 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23809 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23810 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23811 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23812 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23815 ## ----------------------------------------- ##
23816 ## Report this to wx-dev@lists.wxwidgets.org ##
23817 ## ----------------------------------------- ##
23820 sed "s/^/$as_me: WARNING: /" >&2
23823 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23824 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23825 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23826 echo $ECHO_N "(cached) $ECHO_C" >&6
23828 ac_cv_header_ext_hash_map=$ac_header_preproc
23830 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23831 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23834 if test $ac_cv_header_ext_hash_map = yes; then
23835 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23836 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23837 cat >conftest.$ac_ext <<_ACEOF
23840 cat confdefs.h >>conftest.$ac_ext
23841 cat >>conftest.$ac_ext <<_ACEOF
23842 /* end confdefs.h. */
23843 #include <ext/hash_map>
23844 #include <ext/hash_set>
23848 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23849 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23854 rm -f conftest.$ac_objext
23855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23856 (eval $ac_compile) 2>conftest.er1
23858 grep -v '^ *+' conftest.er1 >conftest.err
23860 cat conftest.err >&5
23861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23862 (exit $ac_status); } &&
23863 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23865 (eval $ac_try) 2>&5
23867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868 (exit $ac_status); }; } &&
23869 { ac_try='test -s conftest.$ac_objext'
23870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23871 (eval $ac_try) 2>&5
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); }; }; then
23875 echo "$as_me:$LINENO: result: yes" >&5
23876 echo "${ECHO_T}yes" >&6
23877 cat >>confdefs.h <<\_ACEOF
23878 #define HAVE_EXT_HASH_MAP 1
23881 cat >>confdefs.h <<\_ACEOF
23882 #define HAVE_GNU_CXX_HASH_MAP 1
23886 echo "$as_me: failed program was:" >&5
23887 sed 's/^/| /' conftest.$ac_ext >&5
23889 echo "$as_me:$LINENO: result: no" >&5
23890 echo "${ECHO_T}no" >&6
23892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23901 /usr/local/include \
23903 /usr/Motif-2.1/include \
23904 /usr/Motif-1.2/include \
23905 /usr/include/Motif1.2 \
23908 /usr/openwin/include \
23912 /usr/X11R6/include \
23913 /usr/X11R6.4/include \
23914 /usr/X11R5/include \
23915 /usr/X11R4/include \
23917 /usr/include/X11R6 \
23918 /usr/include/X11R5 \
23919 /usr/include/X11R4 \
23921 /usr/local/X11R6/include \
23922 /usr/local/X11R5/include \
23923 /usr/local/X11R4/include \
23925 /usr/local/include/X11R6 \
23926 /usr/local/include/X11R5 \
23927 /usr/local/include/X11R4 \
23931 /usr/local/X11/include \
23932 /usr/local/include/X11 \
23934 /usr/XFree86/include/X11 \
23937 /usr/openwin/share/include"
23939 echo "$as_me:$LINENO: checking for libraries directory" >&5
23940 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23944 if test "${wx_cv_std_libpath+set}" = set; then
23945 echo $ECHO_N "(cached) $ECHO_C" >&6
23948 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
23949 for e in a so sl dylib dll.a; do
23951 if test -f $libc; then
23954 cat >conftest.$ac_ext <<_ACEOF
23955 int main() { return 0; }
23957 rm -f conftest.$ac_objext conftest$ac_exeext
23958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23959 (eval $ac_link) 2>conftest.er1
23961 grep -v '^ *+' conftest.er1 >conftest.err
23963 cat conftest.err >&5
23964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23965 (exit $ac_status); } &&
23966 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23968 (eval $ac_try) 2>&5
23970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23971 (exit $ac_status); }; } &&
23972 { ac_try='test -s conftest$ac_exeext'
23973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23974 (eval $ac_try) 2>&5
23976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23977 (exit $ac_status); }; }; then
23978 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
23980 echo "$as_me: failed program was:" >&5
23981 sed 's/^/| /' conftest.$ac_ext >&5
23984 rm -f conftest.err conftest.$ac_objext \
23985 conftest$ac_exeext conftest.$ac_ext
23987 if test "x$wx_cv_std_libpath" != "x"; then
23993 if test "x$wx_cv_std_libpath" = "x"; then
23994 wx_cv_std_libpath="lib"
24003 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24004 wx_cv_std_libpath="lib/64"
24006 wx_cv_std_libpath="lib"
24011 if test "$ac_cv_sizeof_void_p" = 8 -a \
24012 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24013 wx_cv_std_libpath="lib64"
24015 wx_cv_std_libpath="lib"
24020 wx_cv_std_libpath="lib";
24024 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24025 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24027 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24029 if test "$build" != "$host" -a "$GCC" = yes; then
24030 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24031 cross_root=`dirname $cross_root`
24032 cross_root=`dirname $cross_root`
24034 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24035 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24036 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24038 if test -z "$PKG_CONFIG_PATH"; then
24039 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24040 export PKG_CONFIG_PATH
24043 if test -z "$x_includes" -o "$x_includes" = NONE; then
24046 for ac_dir in $SEARCH_INCLUDE /usr/include;
24048 if test -f "$ac_dir/X11/Intrinsic.h"; then
24049 ac_find_includes=$ac_dir
24054 x_includes=$ac_find_includes
24056 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24059 for ac_dir in $SEARCH_LIB;
24061 for ac_extension in a so sl dylib dll.a; do
24062 if test -f "$ac_dir/libXt.$ac_extension"; then
24063 ac_find_libraries=$ac_dir
24069 x_libraries=$ac_find_libraries
24075 cat >confcache <<\_ACEOF
24076 # This file is a shell script that caches the results of configure
24077 # tests run on this system so they can be shared between configure
24078 # scripts and configure runs, see configure's option --config-cache.
24079 # It is not useful on other systems. If it contains results you don't
24080 # want to keep, you may remove or edit it.
24082 # config.status only pays attention to the cache file if you give it
24083 # the --recheck option to rerun configure.
24085 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24086 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24087 # following values.
24091 # The following way of writing the cache mishandles newlines in values,
24092 # but we know of no workaround that is simple, portable, and efficient.
24093 # So, don't put newlines in cache variables' values.
24094 # Ultrix sh set writes to stderr and can't be redirected directly,
24095 # and sets the high bit in the cache file unless we assign to the vars.
24098 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24100 # `set' does not quote correctly, so add quotes (double-quote
24101 # substitution turns \\\\ into \\, and sed turns \\ into \).
24104 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24107 # `set' quotes correctly as required by POSIX, so do not add quotes.
24109 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24116 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24118 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24120 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24121 if test -w $cache_file; then
24122 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24123 cat confcache >$cache_file
24125 echo "not updating unwritable cache $cache_file"
24130 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24131 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24132 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24133 if test "${wx_cv_lib_glibc21+set}" = set; then
24134 echo $ECHO_N "(cached) $ECHO_C" >&6
24137 cat >conftest.$ac_ext <<_ACEOF
24140 cat confdefs.h >>conftest.$ac_ext
24141 cat >>conftest.$ac_ext <<_ACEOF
24142 /* end confdefs.h. */
24143 #include <features.h>
24148 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24156 rm -f conftest.$ac_objext
24157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24158 (eval $ac_compile) 2>conftest.er1
24160 grep -v '^ *+' conftest.er1 >conftest.err
24162 cat conftest.err >&5
24163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24164 (exit $ac_status); } &&
24165 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24167 (eval $ac_try) 2>&5
24169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24170 (exit $ac_status); }; } &&
24171 { ac_try='test -s conftest.$ac_objext'
24172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24173 (eval $ac_try) 2>&5
24175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24176 (exit $ac_status); }; }; then
24178 wx_cv_lib_glibc21=yes
24181 echo "$as_me: failed program was:" >&5
24182 sed 's/^/| /' conftest.$ac_ext >&5
24185 wx_cv_lib_glibc21=no
24189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24192 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24193 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24194 if test "$wx_cv_lib_glibc21" = "yes"; then
24195 cat >>confdefs.h <<\_ACEOF
24196 #define wxHAVE_GLIBC2 1
24202 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24203 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24204 cat >>confdefs.h <<\_ACEOF
24205 #define _GNU_SOURCE 1
24216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24217 echo "$as_me:$LINENO: checking for $ac_func" >&5
24218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24219 if eval "test \"\${$as_ac_var+set}\" = set"; then
24220 echo $ECHO_N "(cached) $ECHO_C" >&6
24222 cat >conftest.$ac_ext <<_ACEOF
24225 cat confdefs.h >>conftest.$ac_ext
24226 cat >>conftest.$ac_ext <<_ACEOF
24227 /* end confdefs.h. */
24228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24230 #define $ac_func innocuous_$ac_func
24232 /* System header to define __stub macros and hopefully few prototypes,
24233 which can conflict with char $ac_func (); below.
24234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24235 <limits.h> exists even on freestanding compilers. */
24238 # include <limits.h>
24240 # include <assert.h>
24245 /* Override any gcc2 internal prototype to avoid an error. */
24250 /* We use char because int might match the return type of a gcc2
24251 builtin and then its argument prototype would still apply. */
24253 /* The GNU C library defines this for functions which it implements
24254 to always fail with ENOSYS. Some functions are actually named
24255 something starting with __ and the normal name is an alias. */
24256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24259 char (*f) () = $ac_func;
24268 return f != $ac_func;
24273 rm -f conftest.$ac_objext conftest$ac_exeext
24274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24275 (eval $ac_link) 2>conftest.er1
24277 grep -v '^ *+' conftest.er1 >conftest.err
24279 cat conftest.err >&5
24280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24281 (exit $ac_status); } &&
24282 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24284 (eval $ac_try) 2>&5
24286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24287 (exit $ac_status); }; } &&
24288 { ac_try='test -s conftest$ac_exeext'
24289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24290 (eval $ac_try) 2>&5
24292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24293 (exit $ac_status); }; }; then
24294 eval "$as_ac_var=yes"
24296 echo "$as_me: failed program was:" >&5
24297 sed 's/^/| /' conftest.$ac_ext >&5
24299 eval "$as_ac_var=no"
24301 rm -f conftest.err conftest.$ac_objext \
24302 conftest$ac_exeext conftest.$ac_ext
24304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24306 if test `eval echo '${'$as_ac_var'}'` = yes; then
24307 cat >>confdefs.h <<_ACEOF
24308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24315 for ac_func in floor
24317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24318 echo "$as_me:$LINENO: checking for $ac_func" >&5
24319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24320 if eval "test \"\${$as_ac_var+set}\" = set"; then
24321 echo $ECHO_N "(cached) $ECHO_C" >&6
24323 cat >conftest.$ac_ext <<_ACEOF
24326 cat confdefs.h >>conftest.$ac_ext
24327 cat >>conftest.$ac_ext <<_ACEOF
24328 /* end confdefs.h. */
24329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24331 #define $ac_func innocuous_$ac_func
24333 /* System header to define __stub macros and hopefully few prototypes,
24334 which can conflict with char $ac_func (); below.
24335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24336 <limits.h> exists even on freestanding compilers. */
24339 # include <limits.h>
24341 # include <assert.h>
24346 /* Override any gcc2 internal prototype to avoid an error. */
24351 /* We use char because int might match the return type of a gcc2
24352 builtin and then its argument prototype would still apply. */
24354 /* The GNU C library defines this for functions which it implements
24355 to always fail with ENOSYS. Some functions are actually named
24356 something starting with __ and the normal name is an alias. */
24357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24360 char (*f) () = $ac_func;
24369 return f != $ac_func;
24374 rm -f conftest.$ac_objext conftest$ac_exeext
24375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24376 (eval $ac_link) 2>conftest.er1
24378 grep -v '^ *+' conftest.er1 >conftest.err
24380 cat conftest.err >&5
24381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24382 (exit $ac_status); } &&
24383 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24385 (eval $ac_try) 2>&5
24387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24388 (exit $ac_status); }; } &&
24389 { ac_try='test -s conftest$ac_exeext'
24390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24391 (eval $ac_try) 2>&5
24393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24394 (exit $ac_status); }; }; then
24395 eval "$as_ac_var=yes"
24397 echo "$as_me: failed program was:" >&5
24398 sed 's/^/| /' conftest.$ac_ext >&5
24400 eval "$as_ac_var=no"
24402 rm -f conftest.err conftest.$ac_objext \
24403 conftest$ac_exeext conftest.$ac_ext
24405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24407 if test `eval echo '${'$as_ac_var'}'` = yes; then
24408 cat >>confdefs.h <<_ACEOF
24409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24415 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24416 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24417 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24418 echo "$as_me:$LINENO: result: yes" >&5
24419 echo "${ECHO_T}yes" >&6
24421 echo "$as_me:$LINENO: result: no" >&5
24422 echo "${ECHO_T}no" >&6
24424 # use different functions to avoid configure caching
24430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24431 echo "$as_me:$LINENO: checking for $ac_func" >&5
24432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24433 if eval "test \"\${$as_ac_var+set}\" = set"; then
24434 echo $ECHO_N "(cached) $ECHO_C" >&6
24436 cat >conftest.$ac_ext <<_ACEOF
24439 cat confdefs.h >>conftest.$ac_ext
24440 cat >>conftest.$ac_ext <<_ACEOF
24441 /* end confdefs.h. */
24442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24444 #define $ac_func innocuous_$ac_func
24446 /* System header to define __stub macros and hopefully few prototypes,
24447 which can conflict with char $ac_func (); below.
24448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24449 <limits.h> exists even on freestanding compilers. */
24452 # include <limits.h>
24454 # include <assert.h>
24459 /* Override any gcc2 internal prototype to avoid an error. */
24464 /* We use char because int might match the return type of a gcc2
24465 builtin and then its argument prototype would still apply. */
24467 /* The GNU C library defines this for functions which it implements
24468 to always fail with ENOSYS. Some functions are actually named
24469 something starting with __ and the normal name is an alias. */
24470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24473 char (*f) () = $ac_func;
24482 return f != $ac_func;
24487 rm -f conftest.$ac_objext conftest$ac_exeext
24488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24489 (eval $ac_link) 2>conftest.er1
24491 grep -v '^ *+' conftest.er1 >conftest.err
24493 cat conftest.err >&5
24494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24495 (exit $ac_status); } &&
24496 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24498 (eval $ac_try) 2>&5
24500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24501 (exit $ac_status); }; } &&
24502 { ac_try='test -s conftest$ac_exeext'
24503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24504 (eval $ac_try) 2>&5
24506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24507 (exit $ac_status); }; }; then
24508 eval "$as_ac_var=yes"
24510 echo "$as_me: failed program was:" >&5
24511 sed 's/^/| /' conftest.$ac_ext >&5
24513 eval "$as_ac_var=no"
24515 rm -f conftest.err conftest.$ac_objext \
24516 conftest$ac_exeext conftest.$ac_ext
24518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24520 if test `eval echo '${'$as_ac_var'}'` = yes; then
24521 cat >>confdefs.h <<_ACEOF
24522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24529 for ac_func in ceil
24531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24532 echo "$as_me:$LINENO: checking for $ac_func" >&5
24533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24534 if eval "test \"\${$as_ac_var+set}\" = set"; then
24535 echo $ECHO_N "(cached) $ECHO_C" >&6
24537 cat >conftest.$ac_ext <<_ACEOF
24540 cat confdefs.h >>conftest.$ac_ext
24541 cat >>conftest.$ac_ext <<_ACEOF
24542 /* end confdefs.h. */
24543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24545 #define $ac_func innocuous_$ac_func
24547 /* System header to define __stub macros and hopefully few prototypes,
24548 which can conflict with char $ac_func (); below.
24549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24550 <limits.h> exists even on freestanding compilers. */
24553 # include <limits.h>
24555 # include <assert.h>
24560 /* Override any gcc2 internal prototype to avoid an error. */
24565 /* We use char because int might match the return type of a gcc2
24566 builtin and then its argument prototype would still apply. */
24568 /* The GNU C library defines this for functions which it implements
24569 to always fail with ENOSYS. Some functions are actually named
24570 something starting with __ and the normal name is an alias. */
24571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24574 char (*f) () = $ac_func;
24583 return f != $ac_func;
24588 rm -f conftest.$ac_objext conftest$ac_exeext
24589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24590 (eval $ac_link) 2>conftest.er1
24592 grep -v '^ *+' conftest.er1 >conftest.err
24594 cat conftest.err >&5
24595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24596 (exit $ac_status); } &&
24597 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24599 (eval $ac_try) 2>&5
24601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24602 (exit $ac_status); }; } &&
24603 { ac_try='test -s conftest$ac_exeext'
24604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24605 (eval $ac_try) 2>&5
24607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24608 (exit $ac_status); }; }; then
24609 eval "$as_ac_var=yes"
24611 echo "$as_me: failed program was:" >&5
24612 sed 's/^/| /' conftest.$ac_ext >&5
24614 eval "$as_ac_var=no"
24616 rm -f conftest.err conftest.$ac_objext \
24617 conftest$ac_exeext conftest.$ac_ext
24619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24621 if test `eval echo '${'$as_ac_var'}'` = yes; then
24622 cat >>confdefs.h <<_ACEOF
24623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24629 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24630 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24631 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24632 echo "$as_me:$LINENO: result: yes" >&5
24633 echo "${ECHO_T}yes" >&6
24635 echo "$as_me:$LINENO: result: no" >&5
24636 echo "${ECHO_T}no" >&6
24637 # not sure we should warn the user, crash, etc.
24643 if test "$wxUSE_REGEX" != "no"; then
24644 cat >>confdefs.h <<\_ACEOF
24645 #define wxUSE_REGEX 1
24649 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24650 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24651 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24652 wxUSE_REGEX=builtin
24655 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24656 if test "${ac_cv_header_regex_h+set}" = set; then
24657 echo "$as_me:$LINENO: checking for regex.h" >&5
24658 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24659 if test "${ac_cv_header_regex_h+set}" = set; then
24660 echo $ECHO_N "(cached) $ECHO_C" >&6
24662 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24663 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24665 # Is the header compilable?
24666 echo "$as_me:$LINENO: checking regex.h usability" >&5
24667 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
24668 cat >conftest.$ac_ext <<_ACEOF
24671 cat confdefs.h >>conftest.$ac_ext
24672 cat >>conftest.$ac_ext <<_ACEOF
24673 /* end confdefs.h. */
24674 $ac_includes_default
24677 rm -f conftest.$ac_objext
24678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24679 (eval $ac_compile) 2>conftest.er1
24681 grep -v '^ *+' conftest.er1 >conftest.err
24683 cat conftest.err >&5
24684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24685 (exit $ac_status); } &&
24686 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24688 (eval $ac_try) 2>&5
24690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24691 (exit $ac_status); }; } &&
24692 { ac_try='test -s conftest.$ac_objext'
24693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24694 (eval $ac_try) 2>&5
24696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24697 (exit $ac_status); }; }; then
24698 ac_header_compiler=yes
24700 echo "$as_me: failed program was:" >&5
24701 sed 's/^/| /' conftest.$ac_ext >&5
24703 ac_header_compiler=no
24705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24706 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24707 echo "${ECHO_T}$ac_header_compiler" >&6
24709 # Is the header present?
24710 echo "$as_me:$LINENO: checking regex.h presence" >&5
24711 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
24712 cat >conftest.$ac_ext <<_ACEOF
24715 cat confdefs.h >>conftest.$ac_ext
24716 cat >>conftest.$ac_ext <<_ACEOF
24717 /* end confdefs.h. */
24720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24721 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24723 grep -v '^ *+' conftest.er1 >conftest.err
24725 cat conftest.err >&5
24726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24727 (exit $ac_status); } >/dev/null; then
24728 if test -s conftest.err; then
24729 ac_cpp_err=$ac_cxx_preproc_warn_flag
24730 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24737 if test -z "$ac_cpp_err"; then
24738 ac_header_preproc=yes
24740 echo "$as_me: failed program was:" >&5
24741 sed 's/^/| /' conftest.$ac_ext >&5
24743 ac_header_preproc=no
24745 rm -f conftest.err conftest.$ac_ext
24746 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24747 echo "${ECHO_T}$ac_header_preproc" >&6
24749 # So? What about this header?
24750 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24752 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
24753 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24754 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
24755 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
24756 ac_header_preproc=yes
24759 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
24760 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
24761 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
24762 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
24763 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
24764 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
24765 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
24766 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
24767 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
24768 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
24769 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
24770 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
24773 ## ----------------------------------------- ##
24774 ## Report this to wx-dev@lists.wxwidgets.org ##
24775 ## ----------------------------------------- ##
24778 sed "s/^/$as_me: WARNING: /" >&2
24781 echo "$as_me:$LINENO: checking for regex.h" >&5
24782 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24783 if test "${ac_cv_header_regex_h+set}" = set; then
24784 echo $ECHO_N "(cached) $ECHO_C" >&6
24786 ac_cv_header_regex_h=$ac_header_preproc
24788 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24789 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24792 if test $ac_cv_header_regex_h = yes; then
24795 for ac_func in regcomp re_search
24797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24798 echo "$as_me:$LINENO: checking for $ac_func" >&5
24799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24800 if eval "test \"\${$as_ac_var+set}\" = set"; then
24801 echo $ECHO_N "(cached) $ECHO_C" >&6
24803 cat >conftest.$ac_ext <<_ACEOF
24806 cat confdefs.h >>conftest.$ac_ext
24807 cat >>conftest.$ac_ext <<_ACEOF
24808 /* end confdefs.h. */
24809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24811 #define $ac_func innocuous_$ac_func
24813 /* System header to define __stub macros and hopefully few prototypes,
24814 which can conflict with char $ac_func (); below.
24815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24816 <limits.h> exists even on freestanding compilers. */
24819 # include <limits.h>
24821 # include <assert.h>
24826 /* Override any gcc2 internal prototype to avoid an error. */
24831 /* We use char because int might match the return type of a gcc2
24832 builtin and then its argument prototype would still apply. */
24834 /* The GNU C library defines this for functions which it implements
24835 to always fail with ENOSYS. Some functions are actually named
24836 something starting with __ and the normal name is an alias. */
24837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24840 char (*f) () = $ac_func;
24849 return f != $ac_func;
24854 rm -f conftest.$ac_objext conftest$ac_exeext
24855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24856 (eval $ac_link) 2>conftest.er1
24858 grep -v '^ *+' conftest.er1 >conftest.err
24860 cat conftest.err >&5
24861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24862 (exit $ac_status); } &&
24863 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24865 (eval $ac_try) 2>&5
24867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24868 (exit $ac_status); }; } &&
24869 { ac_try='test -s conftest$ac_exeext'
24870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24871 (eval $ac_try) 2>&5
24873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24874 (exit $ac_status); }; }; then
24875 eval "$as_ac_var=yes"
24877 echo "$as_me: failed program was:" >&5
24878 sed 's/^/| /' conftest.$ac_ext >&5
24880 eval "$as_ac_var=no"
24882 rm -f conftest.err conftest.$ac_objext \
24883 conftest$ac_exeext conftest.$ac_ext
24885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24887 if test `eval echo '${'$as_ac_var'}'` = yes; then
24888 cat >>confdefs.h <<_ACEOF
24889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24899 if test "x$ac_cv_func_regcomp" != "xyes"; then
24900 if test "$wxUSE_REGEX" = "sys" ; then
24901 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24902 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24903 { (exit 1); exit 1; }; }
24905 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24906 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24907 wxUSE_REGEX=builtin
24911 cat >>confdefs.h <<\_ACEOF
24912 #define WX_NO_REGEX_ADVANCED 1
24921 if test "$wxUSE_ZLIB" != "no" ; then
24922 cat >>confdefs.h <<\_ACEOF
24923 #define wxUSE_ZLIB 1
24927 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24928 if test "$USE_DARWIN" = 1; then
24929 system_zlib_h_ok="yes"
24931 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24932 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
24933 if test "${ac_cv_header_zlib_h+set}" = set; then
24934 echo $ECHO_N "(cached) $ECHO_C" >&6
24936 if test "$cross_compiling" = yes; then
24937 unset ac_cv_header_zlib_h
24940 cat >conftest.$ac_ext <<_ACEOF
24943 cat confdefs.h >>conftest.$ac_ext
24944 cat >>conftest.$ac_ext <<_ACEOF
24945 /* end confdefs.h. */
24952 FILE *f=fopen("conftestval", "w");
24955 ZLIB_VERSION[0] == '1' &&
24956 (ZLIB_VERSION[2] > '1' ||
24957 (ZLIB_VERSION[2] == '1' &&
24958 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
24963 rm -f conftest$ac_exeext
24964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24965 (eval $ac_link) 2>&5
24967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24968 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24970 (eval $ac_try) 2>&5
24972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24973 (exit $ac_status); }; }; then
24974 ac_cv_header_zlib_h=`cat conftestval`
24976 echo "$as_me: program exited with status $ac_status" >&5
24977 echo "$as_me: failed program was:" >&5
24978 sed 's/^/| /' conftest.$ac_ext >&5
24980 ( exit $ac_status )
24981 ac_cv_header_zlib_h=no
24983 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24987 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24988 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24989 if test "${ac_cv_header_zlib_h+set}" = set; then
24990 echo "$as_me:$LINENO: checking for zlib.h" >&5
24991 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24992 if test "${ac_cv_header_zlib_h+set}" = set; then
24993 echo $ECHO_N "(cached) $ECHO_C" >&6
24995 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24996 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24998 # Is the header compilable?
24999 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25000 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25001 cat >conftest.$ac_ext <<_ACEOF
25004 cat confdefs.h >>conftest.$ac_ext
25005 cat >>conftest.$ac_ext <<_ACEOF
25006 /* end confdefs.h. */
25007 $ac_includes_default
25010 rm -f conftest.$ac_objext
25011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25012 (eval $ac_compile) 2>conftest.er1
25014 grep -v '^ *+' conftest.er1 >conftest.err
25016 cat conftest.err >&5
25017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25018 (exit $ac_status); } &&
25019 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25021 (eval $ac_try) 2>&5
25023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25024 (exit $ac_status); }; } &&
25025 { ac_try='test -s conftest.$ac_objext'
25026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25027 (eval $ac_try) 2>&5
25029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25030 (exit $ac_status); }; }; then
25031 ac_header_compiler=yes
25033 echo "$as_me: failed program was:" >&5
25034 sed 's/^/| /' conftest.$ac_ext >&5
25036 ac_header_compiler=no
25038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25039 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25040 echo "${ECHO_T}$ac_header_compiler" >&6
25042 # Is the header present?
25043 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25044 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25045 cat >conftest.$ac_ext <<_ACEOF
25048 cat confdefs.h >>conftest.$ac_ext
25049 cat >>conftest.$ac_ext <<_ACEOF
25050 /* end confdefs.h. */
25053 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25054 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25056 grep -v '^ *+' conftest.er1 >conftest.err
25058 cat conftest.err >&5
25059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25060 (exit $ac_status); } >/dev/null; then
25061 if test -s conftest.err; then
25062 ac_cpp_err=$ac_cxx_preproc_warn_flag
25063 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25070 if test -z "$ac_cpp_err"; then
25071 ac_header_preproc=yes
25073 echo "$as_me: failed program was:" >&5
25074 sed 's/^/| /' conftest.$ac_ext >&5
25076 ac_header_preproc=no
25078 rm -f conftest.err conftest.$ac_ext
25079 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25080 echo "${ECHO_T}$ac_header_preproc" >&6
25082 # So? What about this header?
25083 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25085 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25086 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25087 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25088 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25089 ac_header_preproc=yes
25092 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25093 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25094 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25095 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25096 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25097 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25098 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25099 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25100 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25101 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25102 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25103 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25106 ## ----------------------------------------- ##
25107 ## Report this to wx-dev@lists.wxwidgets.org ##
25108 ## ----------------------------------------- ##
25111 sed "s/^/$as_me: WARNING: /" >&2
25114 echo "$as_me:$LINENO: checking for zlib.h" >&5
25115 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25116 if test "${ac_cv_header_zlib_h+set}" = set; then
25117 echo $ECHO_N "(cached) $ECHO_C" >&6
25119 ac_cv_header_zlib_h=$ac_header_preproc
25121 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25122 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25128 system_zlib_h_ok=$ac_cv_header_zlib_h
25131 if test "$system_zlib_h_ok" = "yes"; then
25132 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25133 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25134 if test "${ac_cv_lib_z_deflate+set}" = set; then
25135 echo $ECHO_N "(cached) $ECHO_C" >&6
25137 ac_check_lib_save_LIBS=$LIBS
25139 cat >conftest.$ac_ext <<_ACEOF
25142 cat confdefs.h >>conftest.$ac_ext
25143 cat >>conftest.$ac_ext <<_ACEOF
25144 /* end confdefs.h. */
25146 /* Override any gcc2 internal prototype to avoid an error. */
25150 /* We use char because int might match the return type of a gcc2
25151 builtin and then its argument prototype would still apply. */
25161 rm -f conftest.$ac_objext conftest$ac_exeext
25162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25163 (eval $ac_link) 2>conftest.er1
25165 grep -v '^ *+' conftest.er1 >conftest.err
25167 cat conftest.err >&5
25168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25169 (exit $ac_status); } &&
25170 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25172 (eval $ac_try) 2>&5
25174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25175 (exit $ac_status); }; } &&
25176 { ac_try='test -s conftest$ac_exeext'
25177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25178 (eval $ac_try) 2>&5
25180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25181 (exit $ac_status); }; }; then
25182 ac_cv_lib_z_deflate=yes
25184 echo "$as_me: failed program was:" >&5
25185 sed 's/^/| /' conftest.$ac_ext >&5
25187 ac_cv_lib_z_deflate=no
25189 rm -f conftest.err conftest.$ac_objext \
25190 conftest$ac_exeext conftest.$ac_ext
25191 LIBS=$ac_check_lib_save_LIBS
25193 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25194 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25195 if test $ac_cv_lib_z_deflate = yes; then
25201 if test "x$ZLIB_LINK" = "x" ; then
25202 if test "$wxUSE_ZLIB" = "sys" ; then
25203 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25204 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25205 { (exit 1); exit 1; }; }
25207 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25208 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25219 if test "$wxUSE_LIBPNG" != "no" ; then
25220 cat >>confdefs.h <<\_ACEOF
25221 #define wxUSE_LIBPNG 1
25225 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25226 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25227 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25231 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25232 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25233 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25234 wxUSE_LIBPNG=builtin
25237 if test "$wxUSE_MGL" != 1 ; then
25238 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25239 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25240 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25241 if test "${ac_cv_header_png_h+set}" = set; then
25242 echo $ECHO_N "(cached) $ECHO_C" >&6
25244 if test "$cross_compiling" = yes; then
25245 unset ac_cv_header_png_h
25248 cat >conftest.$ac_ext <<_ACEOF
25251 cat confdefs.h >>conftest.$ac_ext
25252 cat >>conftest.$ac_ext <<_ACEOF
25253 /* end confdefs.h. */
25260 FILE *f=fopen("conftestval", "w");
25263 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25268 rm -f conftest$ac_exeext
25269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25270 (eval $ac_link) 2>&5
25272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25273 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25275 (eval $ac_try) 2>&5
25277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25278 (exit $ac_status); }; }; then
25279 ac_cv_header_png_h=`cat conftestval`
25281 echo "$as_me: program exited with status $ac_status" >&5
25282 echo "$as_me: failed program was:" >&5
25283 sed 's/^/| /' conftest.$ac_ext >&5
25285 ( exit $ac_status )
25286 ac_cv_header_png_h=no
25288 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25292 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25293 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25294 if test "${ac_cv_header_png_h+set}" = set; then
25295 echo "$as_me:$LINENO: checking for png.h" >&5
25296 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25297 if test "${ac_cv_header_png_h+set}" = set; then
25298 echo $ECHO_N "(cached) $ECHO_C" >&6
25300 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25301 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25303 # Is the header compilable?
25304 echo "$as_me:$LINENO: checking png.h usability" >&5
25305 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25306 cat >conftest.$ac_ext <<_ACEOF
25309 cat confdefs.h >>conftest.$ac_ext
25310 cat >>conftest.$ac_ext <<_ACEOF
25311 /* end confdefs.h. */
25312 $ac_includes_default
25315 rm -f conftest.$ac_objext
25316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25317 (eval $ac_compile) 2>conftest.er1
25319 grep -v '^ *+' conftest.er1 >conftest.err
25321 cat conftest.err >&5
25322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25323 (exit $ac_status); } &&
25324 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25326 (eval $ac_try) 2>&5
25328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25329 (exit $ac_status); }; } &&
25330 { ac_try='test -s conftest.$ac_objext'
25331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25332 (eval $ac_try) 2>&5
25334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25335 (exit $ac_status); }; }; then
25336 ac_header_compiler=yes
25338 echo "$as_me: failed program was:" >&5
25339 sed 's/^/| /' conftest.$ac_ext >&5
25341 ac_header_compiler=no
25343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25344 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25345 echo "${ECHO_T}$ac_header_compiler" >&6
25347 # Is the header present?
25348 echo "$as_me:$LINENO: checking png.h presence" >&5
25349 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25350 cat >conftest.$ac_ext <<_ACEOF
25353 cat confdefs.h >>conftest.$ac_ext
25354 cat >>conftest.$ac_ext <<_ACEOF
25355 /* end confdefs.h. */
25358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25359 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25361 grep -v '^ *+' conftest.er1 >conftest.err
25363 cat conftest.err >&5
25364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25365 (exit $ac_status); } >/dev/null; then
25366 if test -s conftest.err; then
25367 ac_cpp_err=$ac_cxx_preproc_warn_flag
25368 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25375 if test -z "$ac_cpp_err"; then
25376 ac_header_preproc=yes
25378 echo "$as_me: failed program was:" >&5
25379 sed 's/^/| /' conftest.$ac_ext >&5
25381 ac_header_preproc=no
25383 rm -f conftest.err conftest.$ac_ext
25384 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25385 echo "${ECHO_T}$ac_header_preproc" >&6
25387 # So? What about this header?
25388 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25390 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25391 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25392 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25393 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25394 ac_header_preproc=yes
25397 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25398 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25399 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25400 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25401 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25402 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25403 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25404 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25405 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25406 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25407 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25408 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25411 ## ----------------------------------------- ##
25412 ## Report this to wx-dev@lists.wxwidgets.org ##
25413 ## ----------------------------------------- ##
25416 sed "s/^/$as_me: WARNING: /" >&2
25419 echo "$as_me:$LINENO: checking for png.h" >&5
25420 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25421 if test "${ac_cv_header_png_h+set}" = set; then
25422 echo $ECHO_N "(cached) $ECHO_C" >&6
25424 ac_cv_header_png_h=$ac_header_preproc
25426 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25427 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25433 if test "$ac_cv_header_png_h" = "yes"; then
25434 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25435 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25436 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25437 echo $ECHO_N "(cached) $ECHO_C" >&6
25439 ac_check_lib_save_LIBS=$LIBS
25440 LIBS="-lpng -lz -lm $LIBS"
25441 cat >conftest.$ac_ext <<_ACEOF
25444 cat confdefs.h >>conftest.$ac_ext
25445 cat >>conftest.$ac_ext <<_ACEOF
25446 /* end confdefs.h. */
25448 /* Override any gcc2 internal prototype to avoid an error. */
25452 /* We use char because int might match the return type of a gcc2
25453 builtin and then its argument prototype would still apply. */
25454 char png_check_sig ();
25463 rm -f conftest.$ac_objext conftest$ac_exeext
25464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25465 (eval $ac_link) 2>conftest.er1
25467 grep -v '^ *+' conftest.er1 >conftest.err
25469 cat conftest.err >&5
25470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25471 (exit $ac_status); } &&
25472 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25474 (eval $ac_try) 2>&5
25476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25477 (exit $ac_status); }; } &&
25478 { ac_try='test -s conftest$ac_exeext'
25479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25480 (eval $ac_try) 2>&5
25482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25483 (exit $ac_status); }; }; then
25484 ac_cv_lib_png_png_check_sig=yes
25486 echo "$as_me: failed program was:" >&5
25487 sed 's/^/| /' conftest.$ac_ext >&5
25489 ac_cv_lib_png_png_check_sig=no
25491 rm -f conftest.err conftest.$ac_objext \
25492 conftest$ac_exeext conftest.$ac_ext
25493 LIBS=$ac_check_lib_save_LIBS
25495 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25496 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25497 if test $ac_cv_lib_png_png_check_sig = yes; then
25498 PNG_LINK=" -lpng -lz"
25503 if test "x$PNG_LINK" = "x" ; then
25504 if test "$wxUSE_LIBPNG" = "sys" ; then
25505 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25506 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25507 { (exit 1); exit 1; }; }
25509 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25510 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25511 wxUSE_LIBPNG=builtin
25519 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25524 if test "$wxUSE_LIBJPEG" != "no" ; then
25525 cat >>confdefs.h <<\_ACEOF
25526 #define wxUSE_LIBJPEG 1
25530 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25531 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25532 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25536 if test "$wxUSE_MGL" != 1 ; then
25537 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25538 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25539 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25540 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25541 echo $ECHO_N "(cached) $ECHO_C" >&6
25543 cat >conftest.$ac_ext <<_ACEOF
25546 cat confdefs.h >>conftest.$ac_ext
25547 cat >>conftest.$ac_ext <<_ACEOF
25548 /* end confdefs.h. */
25550 #undef HAVE_STDLIB_H
25552 #include <jpeglib.h>
25563 rm -f conftest.$ac_objext
25564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25565 (eval $ac_compile) 2>conftest.er1
25567 grep -v '^ *+' conftest.er1 >conftest.err
25569 cat conftest.err >&5
25570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25571 (exit $ac_status); } &&
25572 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25574 (eval $ac_try) 2>&5
25576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25577 (exit $ac_status); }; } &&
25578 { ac_try='test -s conftest.$ac_objext'
25579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25580 (eval $ac_try) 2>&5
25582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25583 (exit $ac_status); }; }; then
25584 ac_cv_header_jpeglib_h=yes
25586 echo "$as_me: failed program was:" >&5
25587 sed 's/^/| /' conftest.$ac_ext >&5
25589 ac_cv_header_jpeglib_h=no
25592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25596 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25597 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25599 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25600 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25601 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25602 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25603 echo $ECHO_N "(cached) $ECHO_C" >&6
25605 ac_check_lib_save_LIBS=$LIBS
25606 LIBS="-ljpeg $LIBS"
25607 cat >conftest.$ac_ext <<_ACEOF
25610 cat confdefs.h >>conftest.$ac_ext
25611 cat >>conftest.$ac_ext <<_ACEOF
25612 /* end confdefs.h. */
25614 /* Override any gcc2 internal prototype to avoid an error. */
25618 /* We use char because int might match the return type of a gcc2
25619 builtin and then its argument prototype would still apply. */
25620 char jpeg_read_header ();
25624 jpeg_read_header ();
25629 rm -f conftest.$ac_objext conftest$ac_exeext
25630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25631 (eval $ac_link) 2>conftest.er1
25633 grep -v '^ *+' conftest.er1 >conftest.err
25635 cat conftest.err >&5
25636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25637 (exit $ac_status); } &&
25638 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25640 (eval $ac_try) 2>&5
25642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25643 (exit $ac_status); }; } &&
25644 { ac_try='test -s conftest$ac_exeext'
25645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25646 (eval $ac_try) 2>&5
25648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25649 (exit $ac_status); }; }; then
25650 ac_cv_lib_jpeg_jpeg_read_header=yes
25652 echo "$as_me: failed program was:" >&5
25653 sed 's/^/| /' conftest.$ac_ext >&5
25655 ac_cv_lib_jpeg_jpeg_read_header=no
25657 rm -f conftest.err conftest.$ac_objext \
25658 conftest$ac_exeext conftest.$ac_ext
25659 LIBS=$ac_check_lib_save_LIBS
25661 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25662 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
25663 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25664 JPEG_LINK=" -ljpeg"
25669 if test "x$JPEG_LINK" = "x" ; then
25670 if test "$wxUSE_LIBJPEG" = "sys" ; then
25671 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25672 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25673 { (exit 1); exit 1; }; }
25675 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25676 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25677 wxUSE_LIBJPEG=builtin
25688 TIFF_PREREQ_LINKS=-lm
25689 if test "$wxUSE_LIBTIFF" != "no" ; then
25690 cat >>confdefs.h <<\_ACEOF
25691 #define wxUSE_LIBTIFF 1
25695 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25696 if test "$wxUSE_LIBJPEG" = "sys"; then
25697 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
25699 if test "$wxUSE_ZLIB" = "sys"; then
25700 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25702 if test "${ac_cv_header_tiffio_h+set}" = set; then
25703 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25704 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25705 if test "${ac_cv_header_tiffio_h+set}" = set; then
25706 echo $ECHO_N "(cached) $ECHO_C" >&6
25708 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25709 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25711 # Is the header compilable?
25712 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
25713 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
25714 cat >conftest.$ac_ext <<_ACEOF
25717 cat confdefs.h >>conftest.$ac_ext
25718 cat >>conftest.$ac_ext <<_ACEOF
25719 /* end confdefs.h. */
25720 $ac_includes_default
25721 #include <tiffio.h>
25723 rm -f conftest.$ac_objext
25724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25725 (eval $ac_compile) 2>conftest.er1
25727 grep -v '^ *+' conftest.er1 >conftest.err
25729 cat conftest.err >&5
25730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25731 (exit $ac_status); } &&
25732 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25734 (eval $ac_try) 2>&5
25736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25737 (exit $ac_status); }; } &&
25738 { ac_try='test -s conftest.$ac_objext'
25739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25740 (eval $ac_try) 2>&5
25742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25743 (exit $ac_status); }; }; then
25744 ac_header_compiler=yes
25746 echo "$as_me: failed program was:" >&5
25747 sed 's/^/| /' conftest.$ac_ext >&5
25749 ac_header_compiler=no
25751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25752 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25753 echo "${ECHO_T}$ac_header_compiler" >&6
25755 # Is the header present?
25756 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
25757 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
25758 cat >conftest.$ac_ext <<_ACEOF
25761 cat confdefs.h >>conftest.$ac_ext
25762 cat >>conftest.$ac_ext <<_ACEOF
25763 /* end confdefs.h. */
25764 #include <tiffio.h>
25766 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25767 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25769 grep -v '^ *+' conftest.er1 >conftest.err
25771 cat conftest.err >&5
25772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25773 (exit $ac_status); } >/dev/null; then
25774 if test -s conftest.err; then
25775 ac_cpp_err=$ac_cxx_preproc_warn_flag
25776 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25783 if test -z "$ac_cpp_err"; then
25784 ac_header_preproc=yes
25786 echo "$as_me: failed program was:" >&5
25787 sed 's/^/| /' conftest.$ac_ext >&5
25789 ac_header_preproc=no
25791 rm -f conftest.err conftest.$ac_ext
25792 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25793 echo "${ECHO_T}$ac_header_preproc" >&6
25795 # So? What about this header?
25796 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25798 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25799 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25800 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
25801 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
25802 ac_header_preproc=yes
25805 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
25806 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
25807 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
25808 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
25809 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
25810 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
25811 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
25812 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25813 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
25814 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
25815 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
25816 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
25819 ## ----------------------------------------- ##
25820 ## Report this to wx-dev@lists.wxwidgets.org ##
25821 ## ----------------------------------------- ##
25824 sed "s/^/$as_me: WARNING: /" >&2
25827 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25828 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25829 if test "${ac_cv_header_tiffio_h+set}" = set; then
25830 echo $ECHO_N "(cached) $ECHO_C" >&6
25832 ac_cv_header_tiffio_h=$ac_header_preproc
25834 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25835 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25838 if test $ac_cv_header_tiffio_h = yes; then
25840 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25841 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25842 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25843 echo $ECHO_N "(cached) $ECHO_C" >&6
25845 ac_check_lib_save_LIBS=$LIBS
25846 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25847 cat >conftest.$ac_ext <<_ACEOF
25850 cat confdefs.h >>conftest.$ac_ext
25851 cat >>conftest.$ac_ext <<_ACEOF
25852 /* end confdefs.h. */
25854 /* Override any gcc2 internal prototype to avoid an error. */
25858 /* We use char because int might match the return type of a gcc2
25859 builtin and then its argument prototype would still apply. */
25869 rm -f conftest.$ac_objext conftest$ac_exeext
25870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25871 (eval $ac_link) 2>conftest.er1
25873 grep -v '^ *+' conftest.er1 >conftest.err
25875 cat conftest.err >&5
25876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25877 (exit $ac_status); } &&
25878 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25880 (eval $ac_try) 2>&5
25882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25883 (exit $ac_status); }; } &&
25884 { ac_try='test -s conftest$ac_exeext'
25885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25886 (eval $ac_try) 2>&5
25888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25889 (exit $ac_status); }; }; then
25890 ac_cv_lib_tiff_TIFFError=yes
25892 echo "$as_me: failed program was:" >&5
25893 sed 's/^/| /' conftest.$ac_ext >&5
25895 ac_cv_lib_tiff_TIFFError=no
25897 rm -f conftest.err conftest.$ac_objext \
25898 conftest$ac_exeext conftest.$ac_ext
25899 LIBS=$ac_check_lib_save_LIBS
25901 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
25902 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
25903 if test $ac_cv_lib_tiff_TIFFError = yes; then
25904 TIFF_LINK=" -ltiff"
25913 if test "x$TIFF_LINK" = "x" ; then
25914 if test "$wxUSE_LIBTIFF" = "sys" ; then
25915 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
25916 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
25917 { (exit 1); exit 1; }; }
25919 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
25920 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
25921 wxUSE_LIBTIFF=builtin
25930 if test "$wxUSE_WCHAR_T" != "yes"; then
25931 if test "$wxUSE_EXPAT" != "no"; then
25932 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
25933 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
25936 if test "$wxUSE_XML" != "no"; then
25937 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
25938 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
25943 if test "$wxUSE_EXPAT" != "no"; then
25945 cat >>confdefs.h <<\_ACEOF
25946 #define wxUSE_EXPAT 1
25949 cat >>confdefs.h <<\_ACEOF
25950 #define wxUSE_XML 1
25954 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
25955 if test "${ac_cv_header_expat_h+set}" = set; then
25956 echo "$as_me:$LINENO: checking for expat.h" >&5
25957 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25958 if test "${ac_cv_header_expat_h+set}" = set; then
25959 echo $ECHO_N "(cached) $ECHO_C" >&6
25961 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25962 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25964 # Is the header compilable?
25965 echo "$as_me:$LINENO: checking expat.h usability" >&5
25966 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
25967 cat >conftest.$ac_ext <<_ACEOF
25970 cat confdefs.h >>conftest.$ac_ext
25971 cat >>conftest.$ac_ext <<_ACEOF
25972 /* end confdefs.h. */
25973 $ac_includes_default
25976 rm -f conftest.$ac_objext
25977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25978 (eval $ac_compile) 2>conftest.er1
25980 grep -v '^ *+' conftest.er1 >conftest.err
25982 cat conftest.err >&5
25983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25984 (exit $ac_status); } &&
25985 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25987 (eval $ac_try) 2>&5
25989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25990 (exit $ac_status); }; } &&
25991 { ac_try='test -s conftest.$ac_objext'
25992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25993 (eval $ac_try) 2>&5
25995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25996 (exit $ac_status); }; }; then
25997 ac_header_compiler=yes
25999 echo "$as_me: failed program was:" >&5
26000 sed 's/^/| /' conftest.$ac_ext >&5
26002 ac_header_compiler=no
26004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26005 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26006 echo "${ECHO_T}$ac_header_compiler" >&6
26008 # Is the header present?
26009 echo "$as_me:$LINENO: checking expat.h presence" >&5
26010 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26011 cat >conftest.$ac_ext <<_ACEOF
26014 cat confdefs.h >>conftest.$ac_ext
26015 cat >>conftest.$ac_ext <<_ACEOF
26016 /* end confdefs.h. */
26019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26020 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26022 grep -v '^ *+' conftest.er1 >conftest.err
26024 cat conftest.err >&5
26025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26026 (exit $ac_status); } >/dev/null; then
26027 if test -s conftest.err; then
26028 ac_cpp_err=$ac_cxx_preproc_warn_flag
26029 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26036 if test -z "$ac_cpp_err"; then
26037 ac_header_preproc=yes
26039 echo "$as_me: failed program was:" >&5
26040 sed 's/^/| /' conftest.$ac_ext >&5
26042 ac_header_preproc=no
26044 rm -f conftest.err conftest.$ac_ext
26045 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26046 echo "${ECHO_T}$ac_header_preproc" >&6
26048 # So? What about this header?
26049 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26051 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26052 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26053 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26054 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26055 ac_header_preproc=yes
26058 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26059 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26060 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26061 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26062 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26063 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26064 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26065 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26066 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26067 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26068 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26069 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26072 ## ----------------------------------------- ##
26073 ## Report this to wx-dev@lists.wxwidgets.org ##
26074 ## ----------------------------------------- ##
26077 sed "s/^/$as_me: WARNING: /" >&2
26080 echo "$as_me:$LINENO: checking for expat.h" >&5
26081 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26082 if test "${ac_cv_header_expat_h+set}" = set; then
26083 echo $ECHO_N "(cached) $ECHO_C" >&6
26085 ac_cv_header_expat_h=$ac_header_preproc
26087 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26088 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26091 if test $ac_cv_header_expat_h = yes; then
26096 if test "x$found_expat_h" = "x1"; then
26097 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26098 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26099 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26100 echo $ECHO_N "(cached) $ECHO_C" >&6
26103 cat >conftest.$ac_ext <<_ACEOF
26106 cat confdefs.h >>conftest.$ac_ext
26107 cat >>conftest.$ac_ext <<_ACEOF
26108 /* end confdefs.h. */
26118 rm -f conftest.$ac_objext
26119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26120 (eval $ac_compile) 2>conftest.er1
26122 grep -v '^ *+' conftest.er1 >conftest.err
26124 cat conftest.err >&5
26125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26126 (exit $ac_status); } &&
26127 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26129 (eval $ac_try) 2>&5
26131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26132 (exit $ac_status); }; } &&
26133 { ac_try='test -s conftest.$ac_objext'
26134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26135 (eval $ac_try) 2>&5
26137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26138 (exit $ac_status); }; }; then
26139 wx_cv_expat_is_not_broken=yes
26141 echo "$as_me: failed program was:" >&5
26142 sed 's/^/| /' conftest.$ac_ext >&5
26144 wx_cv_expat_is_not_broken=no
26147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26151 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26152 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26153 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26154 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26155 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26156 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26157 echo $ECHO_N "(cached) $ECHO_C" >&6
26159 ac_check_lib_save_LIBS=$LIBS
26160 LIBS="-lexpat $LIBS"
26161 cat >conftest.$ac_ext <<_ACEOF
26164 cat confdefs.h >>conftest.$ac_ext
26165 cat >>conftest.$ac_ext <<_ACEOF
26166 /* end confdefs.h. */
26168 /* Override any gcc2 internal prototype to avoid an error. */
26172 /* We use char because int might match the return type of a gcc2
26173 builtin and then its argument prototype would still apply. */
26174 char XML_ParserCreate ();
26178 XML_ParserCreate ();
26183 rm -f conftest.$ac_objext conftest$ac_exeext
26184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26185 (eval $ac_link) 2>conftest.er1
26187 grep -v '^ *+' conftest.er1 >conftest.err
26189 cat conftest.err >&5
26190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26191 (exit $ac_status); } &&
26192 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26194 (eval $ac_try) 2>&5
26196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26197 (exit $ac_status); }; } &&
26198 { ac_try='test -s conftest$ac_exeext'
26199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26200 (eval $ac_try) 2>&5
26202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26203 (exit $ac_status); }; }; then
26204 ac_cv_lib_expat_XML_ParserCreate=yes
26206 echo "$as_me: failed program was:" >&5
26207 sed 's/^/| /' conftest.$ac_ext >&5
26209 ac_cv_lib_expat_XML_ParserCreate=no
26211 rm -f conftest.err conftest.$ac_objext \
26212 conftest$ac_exeext conftest.$ac_ext
26213 LIBS=$ac_check_lib_save_LIBS
26215 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26216 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26217 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26218 EXPAT_LINK=" -lexpat"
26223 if test "x$EXPAT_LINK" = "x" ; then
26224 if test "$wxUSE_EXPAT" = "sys" ; then
26225 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26226 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26227 { (exit 1); exit 1; }; }
26229 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26230 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26231 wxUSE_EXPAT=builtin
26237 if test "$wxUSE_EXPAT" = "builtin" ; then
26240 subdirs="$subdirs src/expat"
26247 if test "$wxUSE_LIBMSPACK" != "no"; then
26248 if test "${ac_cv_header_mspack_h+set}" = set; then
26249 echo "$as_me:$LINENO: checking for mspack.h" >&5
26250 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26251 if test "${ac_cv_header_mspack_h+set}" = set; then
26252 echo $ECHO_N "(cached) $ECHO_C" >&6
26254 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26255 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26257 # Is the header compilable?
26258 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26259 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26260 cat >conftest.$ac_ext <<_ACEOF
26263 cat confdefs.h >>conftest.$ac_ext
26264 cat >>conftest.$ac_ext <<_ACEOF
26265 /* end confdefs.h. */
26266 $ac_includes_default
26267 #include <mspack.h>
26269 rm -f conftest.$ac_objext
26270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26271 (eval $ac_compile) 2>conftest.er1
26273 grep -v '^ *+' conftest.er1 >conftest.err
26275 cat conftest.err >&5
26276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26277 (exit $ac_status); } &&
26278 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26280 (eval $ac_try) 2>&5
26282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26283 (exit $ac_status); }; } &&
26284 { ac_try='test -s conftest.$ac_objext'
26285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26286 (eval $ac_try) 2>&5
26288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26289 (exit $ac_status); }; }; then
26290 ac_header_compiler=yes
26292 echo "$as_me: failed program was:" >&5
26293 sed 's/^/| /' conftest.$ac_ext >&5
26295 ac_header_compiler=no
26297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26298 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26299 echo "${ECHO_T}$ac_header_compiler" >&6
26301 # Is the header present?
26302 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26303 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26304 cat >conftest.$ac_ext <<_ACEOF
26307 cat confdefs.h >>conftest.$ac_ext
26308 cat >>conftest.$ac_ext <<_ACEOF
26309 /* end confdefs.h. */
26310 #include <mspack.h>
26312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26313 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26315 grep -v '^ *+' conftest.er1 >conftest.err
26317 cat conftest.err >&5
26318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26319 (exit $ac_status); } >/dev/null; then
26320 if test -s conftest.err; then
26321 ac_cpp_err=$ac_cxx_preproc_warn_flag
26322 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26329 if test -z "$ac_cpp_err"; then
26330 ac_header_preproc=yes
26332 echo "$as_me: failed program was:" >&5
26333 sed 's/^/| /' conftest.$ac_ext >&5
26335 ac_header_preproc=no
26337 rm -f conftest.err conftest.$ac_ext
26338 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26339 echo "${ECHO_T}$ac_header_preproc" >&6
26341 # So? What about this header?
26342 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26344 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26345 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26346 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26347 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26348 ac_header_preproc=yes
26351 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26352 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26353 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26354 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26355 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26356 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26357 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26358 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26359 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26360 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26361 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26362 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26365 ## ----------------------------------------- ##
26366 ## Report this to wx-dev@lists.wxwidgets.org ##
26367 ## ----------------------------------------- ##
26370 sed "s/^/$as_me: WARNING: /" >&2
26373 echo "$as_me:$LINENO: checking for mspack.h" >&5
26374 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26375 if test "${ac_cv_header_mspack_h+set}" = set; then
26376 echo $ECHO_N "(cached) $ECHO_C" >&6
26378 ac_cv_header_mspack_h=$ac_header_preproc
26380 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26381 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26384 if test $ac_cv_header_mspack_h = yes; then
26389 if test "x$found_mspack_h" = "x1"; then
26390 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26391 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26392 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26393 echo $ECHO_N "(cached) $ECHO_C" >&6
26395 ac_check_lib_save_LIBS=$LIBS
26396 LIBS="-lmspack $LIBS"
26397 cat >conftest.$ac_ext <<_ACEOF
26400 cat confdefs.h >>conftest.$ac_ext
26401 cat >>conftest.$ac_ext <<_ACEOF
26402 /* end confdefs.h. */
26404 /* Override any gcc2 internal prototype to avoid an error. */
26408 /* We use char because int might match the return type of a gcc2
26409 builtin and then its argument prototype would still apply. */
26410 char mspack_create_chm_decompressor ();
26414 mspack_create_chm_decompressor ();
26419 rm -f conftest.$ac_objext conftest$ac_exeext
26420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26421 (eval $ac_link) 2>conftest.er1
26423 grep -v '^ *+' conftest.er1 >conftest.err
26425 cat conftest.err >&5
26426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26427 (exit $ac_status); } &&
26428 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26430 (eval $ac_try) 2>&5
26432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26433 (exit $ac_status); }; } &&
26434 { ac_try='test -s conftest$ac_exeext'
26435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26436 (eval $ac_try) 2>&5
26438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26439 (exit $ac_status); }; }; then
26440 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26442 echo "$as_me: failed program was:" >&5
26443 sed 's/^/| /' conftest.$ac_ext >&5
26445 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26447 rm -f conftest.err conftest.$ac_objext \
26448 conftest$ac_exeext conftest.$ac_ext
26449 LIBS=$ac_check_lib_save_LIBS
26451 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26452 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26453 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26454 MSPACK_LINK=" -lmspack"
26458 if test "x$MSPACK_LINK" = "x" ; then
26463 if test "$wxUSE_LIBMSPACK" != "no"; then
26464 cat >>confdefs.h <<\_ACEOF
26465 #define wxUSE_LIBMSPACK 1
26479 if test "$USE_WIN32" = 1 ; then
26481 for ac_header in w32api.h
26483 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26485 echo "$as_me:$LINENO: checking for $ac_header" >&5
26486 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26487 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26488 echo $ECHO_N "(cached) $ECHO_C" >&6
26490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26491 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26493 # Is the header compilable?
26494 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26495 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26496 cat >conftest.$ac_ext <<_ACEOF
26499 cat confdefs.h >>conftest.$ac_ext
26500 cat >>conftest.$ac_ext <<_ACEOF
26501 /* end confdefs.h. */
26502 $ac_includes_default
26503 #include <$ac_header>
26505 rm -f conftest.$ac_objext
26506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26507 (eval $ac_compile) 2>conftest.er1
26509 grep -v '^ *+' conftest.er1 >conftest.err
26511 cat conftest.err >&5
26512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26513 (exit $ac_status); } &&
26514 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26516 (eval $ac_try) 2>&5
26518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26519 (exit $ac_status); }; } &&
26520 { ac_try='test -s conftest.$ac_objext'
26521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26522 (eval $ac_try) 2>&5
26524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525 (exit $ac_status); }; }; then
26526 ac_header_compiler=yes
26528 echo "$as_me: failed program was:" >&5
26529 sed 's/^/| /' conftest.$ac_ext >&5
26531 ac_header_compiler=no
26533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26534 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26535 echo "${ECHO_T}$ac_header_compiler" >&6
26537 # Is the header present?
26538 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26539 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26540 cat >conftest.$ac_ext <<_ACEOF
26543 cat confdefs.h >>conftest.$ac_ext
26544 cat >>conftest.$ac_ext <<_ACEOF
26545 /* end confdefs.h. */
26546 #include <$ac_header>
26548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26549 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
26556 if test -s conftest.err; then
26557 ac_cpp_err=$ac_cxx_preproc_warn_flag
26558 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26565 if test -z "$ac_cpp_err"; then
26566 ac_header_preproc=yes
26568 echo "$as_me: failed program was:" >&5
26569 sed 's/^/| /' conftest.$ac_ext >&5
26571 ac_header_preproc=no
26573 rm -f conftest.err conftest.$ac_ext
26574 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26575 echo "${ECHO_T}$ac_header_preproc" >&6
26577 # So? What about this header?
26578 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26580 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26581 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26582 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26583 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26584 ac_header_preproc=yes
26587 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26588 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26589 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26590 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26591 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26592 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26593 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26594 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26596 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26597 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26598 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26601 ## ----------------------------------------- ##
26602 ## Report this to wx-dev@lists.wxwidgets.org ##
26603 ## ----------------------------------------- ##
26606 sed "s/^/$as_me: WARNING: /" >&2
26609 echo "$as_me:$LINENO: checking for $ac_header" >&5
26610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26612 echo $ECHO_N "(cached) $ECHO_C" >&6
26614 eval "$as_ac_Header=\$ac_header_preproc"
26616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26621 cat >>confdefs.h <<_ACEOF
26622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26629 if test "${ac_cv_header_windows_h+set}" = set; then
26630 echo "$as_me:$LINENO: checking for windows.h" >&5
26631 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26632 if test "${ac_cv_header_windows_h+set}" = set; then
26633 echo $ECHO_N "(cached) $ECHO_C" >&6
26635 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26636 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26638 # Is the header compilable?
26639 echo "$as_me:$LINENO: checking windows.h usability" >&5
26640 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
26641 cat >conftest.$ac_ext <<_ACEOF
26644 cat confdefs.h >>conftest.$ac_ext
26645 cat >>conftest.$ac_ext <<_ACEOF
26646 /* end confdefs.h. */
26647 $ac_includes_default
26648 #include <windows.h>
26650 rm -f conftest.$ac_objext
26651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26652 (eval $ac_compile) 2>conftest.er1
26654 grep -v '^ *+' conftest.er1 >conftest.err
26656 cat conftest.err >&5
26657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26658 (exit $ac_status); } &&
26659 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26661 (eval $ac_try) 2>&5
26663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26664 (exit $ac_status); }; } &&
26665 { ac_try='test -s conftest.$ac_objext'
26666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26667 (eval $ac_try) 2>&5
26669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26670 (exit $ac_status); }; }; then
26671 ac_header_compiler=yes
26673 echo "$as_me: failed program was:" >&5
26674 sed 's/^/| /' conftest.$ac_ext >&5
26676 ac_header_compiler=no
26678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26679 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26680 echo "${ECHO_T}$ac_header_compiler" >&6
26682 # Is the header present?
26683 echo "$as_me:$LINENO: checking windows.h presence" >&5
26684 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
26685 cat >conftest.$ac_ext <<_ACEOF
26688 cat confdefs.h >>conftest.$ac_ext
26689 cat >>conftest.$ac_ext <<_ACEOF
26690 /* end confdefs.h. */
26691 #include <windows.h>
26693 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26694 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26696 grep -v '^ *+' conftest.er1 >conftest.err
26698 cat conftest.err >&5
26699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26700 (exit $ac_status); } >/dev/null; then
26701 if test -s conftest.err; then
26702 ac_cpp_err=$ac_cxx_preproc_warn_flag
26703 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26710 if test -z "$ac_cpp_err"; then
26711 ac_header_preproc=yes
26713 echo "$as_me: failed program was:" >&5
26714 sed 's/^/| /' conftest.$ac_ext >&5
26716 ac_header_preproc=no
26718 rm -f conftest.err conftest.$ac_ext
26719 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26720 echo "${ECHO_T}$ac_header_preproc" >&6
26722 # So? What about this header?
26723 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26725 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
26726 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26727 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
26728 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
26729 ac_header_preproc=yes
26732 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
26733 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
26734 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
26735 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
26736 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
26737 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
26738 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
26739 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
26740 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
26741 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
26742 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
26743 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
26746 ## ----------------------------------------- ##
26747 ## Report this to wx-dev@lists.wxwidgets.org ##
26748 ## ----------------------------------------- ##
26751 sed "s/^/$as_me: WARNING: /" >&2
26754 echo "$as_me:$LINENO: checking for windows.h" >&5
26755 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26756 if test "${ac_cv_header_windows_h+set}" = set; then
26757 echo $ECHO_N "(cached) $ECHO_C" >&6
26759 ac_cv_header_windows_h=$ac_header_preproc
26761 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26762 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26765 if test $ac_cv_header_windows_h = yes; then
26769 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26770 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26771 { (exit 1); exit 1; }; }
26777 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26779 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26780 LIBS="$LIBS -loleacc"
26785 LIBS="$LIBS -lkernel32 -luser32"
26788 if test "$wxUSE_ODBC" = "sys" ; then
26791 if test "$wxUSE_ODBC" = "yes" ; then
26792 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26793 cat >>confdefs.h <<\_ACEOF
26794 #define wxUSE_ODBC 1
26799 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26800 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
26802 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26804 WIN32INSTALL=win32install
26807 if test "$wxUSE_GUI" = "yes"; then
26817 if test "$wxUSE_COCOA" = 1 ; then
26818 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26819 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26820 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26821 wxUSE_PRINTING_ARCHITECTURE=no
26823 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26824 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26825 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26826 wxUSE_DRAG_AND_DROP=no
26828 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26829 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
26830 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
26835 if test "$wxUSE_MSW" = 1 ; then
26841 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26845 if test "$wxUSE_GTK" = 1; then
26847 ac_cpp='$CPP $CPPFLAGS'
26848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26853 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26854 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26856 gtk_version_cached=1
26857 if test "${wx_cv_lib_gtk+set}" = set; then
26858 echo $ECHO_N "(cached) $ECHO_C" >&6
26861 gtk_version_cached=0
26862 echo "$as_me:$LINENO: result: " >&5
26863 echo "${ECHO_T}" >&6
26866 if test "$wxUSE_THREADS" = "yes"; then
26867 GTK_MODULES=gthread
26871 if test "x$wxGTK_VERSION" != "x1"
26875 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26880 # Check whether --enable-gtktest or --disable-gtktest was given.
26881 if test "${enable_gtktest+set}" = set; then
26882 enableval="$enable_gtktest"
26888 pkg_config_args=gtk+-2.0
26889 for module in . $GTK_MODULES
26893 pkg_config_args="$pkg_config_args gthread-2.0"
26900 # Extract the first word of "pkg-config", so it can be a program name with args.
26901 set dummy pkg-config; ac_word=$2
26902 echo "$as_me:$LINENO: checking for $ac_word" >&5
26903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26904 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26905 echo $ECHO_N "(cached) $ECHO_C" >&6
26907 case $PKG_CONFIG in
26909 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26913 for as_dir in $PATH
26916 test -z "$as_dir" && as_dir=.
26917 for ac_exec_ext in '' $ac_executable_extensions; do
26918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26919 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26926 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26930 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26932 if test -n "$PKG_CONFIG"; then
26933 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26934 echo "${ECHO_T}$PKG_CONFIG" >&6
26936 echo "$as_me:$LINENO: result: no" >&5
26937 echo "${ECHO_T}no" >&6
26941 if test x$PKG_CONFIG != xno ; then
26942 if pkg-config --atleast-pkgconfig-version 0.7 ; then
26945 echo "*** pkg-config too old; version 0.7 or better required."
26953 min_gtk_version=2.0.0
26954 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26955 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
26957 if test x$PKG_CONFIG != xno ; then
26958 ## don't try to run the test against uninstalled libtool libs
26959 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26960 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26964 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26971 if test x"$no_gtk" = x ; then
26972 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
26973 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
26974 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26975 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26976 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26977 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26978 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26979 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26980 if test "x$enable_gtktest" = "xyes" ; then
26981 ac_save_CFLAGS="$CFLAGS"
26982 ac_save_LIBS="$LIBS"
26983 CFLAGS="$CFLAGS $GTK_CFLAGS"
26984 LIBS="$GTK_LIBS $LIBS"
26986 if test "$cross_compiling" = yes; then
26987 echo $ac_n "cross compiling; assumed OK... $ac_c"
26989 cat >conftest.$ac_ext <<_ACEOF
26992 cat confdefs.h >>conftest.$ac_ext
26993 cat >>conftest.$ac_ext <<_ACEOF
26994 /* end confdefs.h. */
26996 #include <gtk/gtk.h>
26998 #include <stdlib.h>
27003 int major, minor, micro;
27006 system ("touch conf.gtktest");
27008 /* HP/UX 9 (%@#!) writes to sscanf strings */
27009 tmp_version = g_strdup("$min_gtk_version");
27010 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27011 printf("%s, bad version string\n", "$min_gtk_version");
27015 if ((gtk_major_version != $gtk_config_major_version) ||
27016 (gtk_minor_version != $gtk_config_minor_version) ||
27017 (gtk_micro_version != $gtk_config_micro_version))
27019 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27020 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27021 gtk_major_version, gtk_minor_version, gtk_micro_version);
27022 printf ("*** was found! If pkg-config was correct, then it is best\n");
27023 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27024 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27025 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27026 printf("*** required on your system.\n");
27027 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27028 printf("*** to point to the correct configuration files\n");
27030 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27031 (gtk_minor_version != GTK_MINOR_VERSION) ||
27032 (gtk_micro_version != GTK_MICRO_VERSION))
27034 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27035 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27036 printf("*** library (version %d.%d.%d)\n",
27037 gtk_major_version, gtk_minor_version, gtk_micro_version);
27041 if ((gtk_major_version > major) ||
27042 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27043 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27049 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27050 gtk_major_version, gtk_minor_version, gtk_micro_version);
27051 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27052 major, minor, micro);
27053 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27055 printf("*** If you have already installed a sufficiently new version, this error\n");
27056 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27057 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27058 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27059 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27060 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27061 printf("*** so that the correct libraries are found at run-time))\n");
27068 rm -f conftest$ac_exeext
27069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27070 (eval $ac_link) 2>&5
27072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27073 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27075 (eval $ac_try) 2>&5
27077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27078 (exit $ac_status); }; }; then
27081 echo "$as_me: program exited with status $ac_status" >&5
27082 echo "$as_me: failed program was:" >&5
27083 sed 's/^/| /' conftest.$ac_ext >&5
27085 ( exit $ac_status )
27088 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27090 CFLAGS="$ac_save_CFLAGS"
27091 LIBS="$ac_save_LIBS"
27094 if test "x$no_gtk" = x ; then
27095 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27096 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27099 echo "$as_me:$LINENO: result: no" >&5
27100 echo "${ECHO_T}no" >&6
27101 if test "$PKG_CONFIG" = "no" ; then
27102 echo "*** A new enough version of pkg-config was not found."
27103 echo "*** See http://pkgconfig.sourceforge.net"
27105 if test -f conf.gtktest ; then
27108 echo "*** Could not run GTK+ test program, checking why..."
27109 ac_save_CFLAGS="$CFLAGS"
27110 ac_save_LIBS="$LIBS"
27111 CFLAGS="$CFLAGS $GTK_CFLAGS"
27112 LIBS="$LIBS $GTK_LIBS"
27113 cat >conftest.$ac_ext <<_ACEOF
27116 cat confdefs.h >>conftest.$ac_ext
27117 cat >>conftest.$ac_ext <<_ACEOF
27118 /* end confdefs.h. */
27120 #include <gtk/gtk.h>
27126 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27131 rm -f conftest.$ac_objext conftest$ac_exeext
27132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27133 (eval $ac_link) 2>conftest.er1
27135 grep -v '^ *+' conftest.er1 >conftest.err
27137 cat conftest.err >&5
27138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27139 (exit $ac_status); } &&
27140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27142 (eval $ac_try) 2>&5
27144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27145 (exit $ac_status); }; } &&
27146 { ac_try='test -s conftest$ac_exeext'
27147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27148 (eval $ac_try) 2>&5
27150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27151 (exit $ac_status); }; }; then
27152 echo "*** The test program compiled, but did not run. This usually means"
27153 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27154 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27155 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27156 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27157 echo "*** is required on your system"
27159 echo "*** If you have an old version installed, it is best to remove it, although"
27160 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27162 echo "$as_me: failed program was:" >&5
27163 sed 's/^/| /' conftest.$ac_ext >&5
27165 echo "*** The test program failed to compile or link. See the file config.log for the"
27166 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27168 rm -f conftest.err conftest.$ac_objext \
27169 conftest$ac_exeext conftest.$ac_ext
27170 CFLAGS="$ac_save_CFLAGS"
27171 LIBS="$ac_save_LIBS"
27185 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27186 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27187 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27189 if test "$wxUSE_SHARED" != "yes"; then
27190 GTK_LIBS="$GTK_LIBS -lX11"
27195 if test -z "$wx_cv_lib_gtk"; then
27196 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27198 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27199 if test "${with_gtk_prefix+set}" = set; then
27200 withval="$with_gtk_prefix"
27201 gtk_config_prefix="$withval"
27203 gtk_config_prefix=""
27206 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27207 if test "${with_gtk_exec_prefix+set}" = set; then
27208 withval="$with_gtk_exec_prefix"
27209 gtk_config_exec_prefix="$withval"
27211 gtk_config_exec_prefix=""
27213 # Check whether --enable-gtktest or --disable-gtktest was given.
27214 if test "${enable_gtktest+set}" = set; then
27215 enableval="$enable_gtktest"
27221 for module in . $GTK_MODULES
27225 gtk_config_args="$gtk_config_args gthread"
27230 if test x$gtk_config_exec_prefix != x ; then
27231 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27232 if test x${GTK_CONFIG+set} != xset ; then
27233 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27236 if test x$gtk_config_prefix != x ; then
27237 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27238 if test x${GTK_CONFIG+set} != xset ; then
27239 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27243 # Extract the first word of "gtk-config", so it can be a program name with args.
27244 set dummy gtk-config; ac_word=$2
27245 echo "$as_me:$LINENO: checking for $ac_word" >&5
27246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27247 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27248 echo $ECHO_N "(cached) $ECHO_C" >&6
27250 case $GTK_CONFIG in
27252 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27256 for as_dir in $PATH
27259 test -z "$as_dir" && as_dir=.
27260 for ac_exec_ext in '' $ac_executable_extensions; do
27261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27262 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27269 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27273 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27275 if test -n "$GTK_CONFIG"; then
27276 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27277 echo "${ECHO_T}$GTK_CONFIG" >&6
27279 echo "$as_me:$LINENO: result: no" >&5
27280 echo "${ECHO_T}no" >&6
27283 min_gtk_version=1.2.7
27284 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27285 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27287 if test "$GTK_CONFIG" = "no" ; then
27290 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27291 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27292 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27293 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27294 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27295 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27296 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27297 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27298 if test "x$enable_gtktest" = "xyes" ; then
27299 ac_save_CFLAGS="$CFLAGS"
27300 ac_save_LIBS="$LIBS"
27301 CFLAGS="$CFLAGS $GTK_CFLAGS"
27302 LIBS="$GTK_LIBS $LIBS"
27304 if test "$cross_compiling" = yes; then
27305 echo $ac_n "cross compiling; assumed OK... $ac_c"
27307 cat >conftest.$ac_ext <<_ACEOF
27310 cat confdefs.h >>conftest.$ac_ext
27311 cat >>conftest.$ac_ext <<_ACEOF
27312 /* end confdefs.h. */
27314 #include <gtk/gtk.h>
27316 #include <stdlib.h>
27321 int major, minor, micro;
27324 system ("touch conf.gtktest");
27326 /* HP/UX 9 (%@#!) writes to sscanf strings */
27327 tmp_version = g_strdup("$min_gtk_version");
27328 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27329 printf("%s, bad version string\n", "$min_gtk_version");
27333 if ((gtk_major_version != $gtk_config_major_version) ||
27334 (gtk_minor_version != $gtk_config_minor_version) ||
27335 (gtk_micro_version != $gtk_config_micro_version))
27337 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27338 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27339 gtk_major_version, gtk_minor_version, gtk_micro_version);
27340 printf ("*** was found! If gtk-config was correct, then it is best\n");
27341 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27342 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27343 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27344 printf("*** required on your system.\n");
27345 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27346 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27347 printf("*** before re-running configure\n");
27349 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27350 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27351 (gtk_minor_version != GTK_MINOR_VERSION) ||
27352 (gtk_micro_version != GTK_MICRO_VERSION))
27354 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27355 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27356 printf("*** library (version %d.%d.%d)\n",
27357 gtk_major_version, gtk_minor_version, gtk_micro_version);
27359 #endif /* defined (GTK_MAJOR_VERSION) ... */
27362 if ((gtk_major_version > major) ||
27363 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27364 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27370 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27371 gtk_major_version, gtk_minor_version, gtk_micro_version);
27372 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27373 major, minor, micro);
27374 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27376 printf("*** If you have already installed a sufficiently new version, this error\n");
27377 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27378 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27379 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27380 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27381 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27382 printf("*** so that the correct libraries are found at run-time))\n");
27389 rm -f conftest$ac_exeext
27390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27391 (eval $ac_link) 2>&5
27393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27394 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27396 (eval $ac_try) 2>&5
27398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27399 (exit $ac_status); }; }; then
27402 echo "$as_me: program exited with status $ac_status" >&5
27403 echo "$as_me: failed program was:" >&5
27404 sed 's/^/| /' conftest.$ac_ext >&5
27406 ( exit $ac_status )
27409 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27411 CFLAGS="$ac_save_CFLAGS"
27412 LIBS="$ac_save_LIBS"
27415 if test "x$no_gtk" = x ; then
27416 echo "$as_me:$LINENO: result: yes" >&5
27417 echo "${ECHO_T}yes" >&6
27418 wx_cv_lib_gtk=1.2.7
27420 echo "$as_me:$LINENO: result: no" >&5
27421 echo "${ECHO_T}no" >&6
27422 if test "$GTK_CONFIG" = "no" ; then
27423 echo "*** The gtk-config script installed by GTK could not be found"
27424 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27425 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27426 echo "*** full path to gtk-config."
27428 if test -f conf.gtktest ; then
27431 echo "*** Could not run GTK test program, checking why..."
27432 CFLAGS="$CFLAGS $GTK_CFLAGS"
27433 LIBS="$LIBS $GTK_LIBS"
27434 cat >conftest.$ac_ext <<_ACEOF
27437 cat confdefs.h >>conftest.$ac_ext
27438 cat >>conftest.$ac_ext <<_ACEOF
27439 /* end confdefs.h. */
27441 #include <gtk/gtk.h>
27447 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27452 rm -f conftest.$ac_objext conftest$ac_exeext
27453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27454 (eval $ac_link) 2>conftest.er1
27456 grep -v '^ *+' conftest.er1 >conftest.err
27458 cat conftest.err >&5
27459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27460 (exit $ac_status); } &&
27461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27463 (eval $ac_try) 2>&5
27465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27466 (exit $ac_status); }; } &&
27467 { ac_try='test -s conftest$ac_exeext'
27468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27469 (eval $ac_try) 2>&5
27471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27472 (exit $ac_status); }; }; then
27473 echo "*** The test program compiled, but did not run. This usually means"
27474 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27475 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27476 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27477 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27478 echo "*** is required on your system"
27480 echo "*** If you have an old version installed, it is best to remove it, although"
27481 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27483 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27484 echo "*** came with the system with the command"
27486 echo "*** rpm --erase --nodeps gtk gtk-devel"
27488 echo "$as_me: failed program was:" >&5
27489 sed 's/^/| /' conftest.$ac_ext >&5
27491 echo "*** The test program failed to compile or link. See the file config.log for the"
27492 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27493 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27494 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27496 rm -f conftest.err conftest.$ac_objext \
27497 conftest$ac_exeext conftest.$ac_ext
27498 CFLAGS="$ac_save_CFLAGS"
27499 LIBS="$ac_save_LIBS"
27511 if test -z "$wx_cv_lib_gtk"; then
27513 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27514 if test "${with_gtk_prefix+set}" = set; then
27515 withval="$with_gtk_prefix"
27516 gtk_config_prefix="$withval"
27518 gtk_config_prefix=""
27521 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27522 if test "${with_gtk_exec_prefix+set}" = set; then
27523 withval="$with_gtk_exec_prefix"
27524 gtk_config_exec_prefix="$withval"
27526 gtk_config_exec_prefix=""
27528 # Check whether --enable-gtktest or --disable-gtktest was given.
27529 if test "${enable_gtktest+set}" = set; then
27530 enableval="$enable_gtktest"
27536 for module in . $GTK_MODULES
27540 gtk_config_args="$gtk_config_args gthread"
27545 if test x$gtk_config_exec_prefix != x ; then
27546 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27547 if test x${GTK_CONFIG+set} != xset ; then
27548 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27551 if test x$gtk_config_prefix != x ; then
27552 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27553 if test x${GTK_CONFIG+set} != xset ; then
27554 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27558 # Extract the first word of "gtk-config", so it can be a program name with args.
27559 set dummy gtk-config; ac_word=$2
27560 echo "$as_me:$LINENO: checking for $ac_word" >&5
27561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27562 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27563 echo $ECHO_N "(cached) $ECHO_C" >&6
27565 case $GTK_CONFIG in
27567 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27571 for as_dir in $PATH
27574 test -z "$as_dir" && as_dir=.
27575 for ac_exec_ext in '' $ac_executable_extensions; do
27576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27577 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27584 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27588 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27590 if test -n "$GTK_CONFIG"; then
27591 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27592 echo "${ECHO_T}$GTK_CONFIG" >&6
27594 echo "$as_me:$LINENO: result: no" >&5
27595 echo "${ECHO_T}no" >&6
27598 min_gtk_version=1.2.3
27599 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27600 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27602 if test "$GTK_CONFIG" = "no" ; then
27605 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27606 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27607 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27608 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27609 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27610 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27611 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27612 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27613 if test "x$enable_gtktest" = "xyes" ; then
27614 ac_save_CFLAGS="$CFLAGS"
27615 ac_save_LIBS="$LIBS"
27616 CFLAGS="$CFLAGS $GTK_CFLAGS"
27617 LIBS="$GTK_LIBS $LIBS"
27619 if test "$cross_compiling" = yes; then
27620 echo $ac_n "cross compiling; assumed OK... $ac_c"
27622 cat >conftest.$ac_ext <<_ACEOF
27625 cat confdefs.h >>conftest.$ac_ext
27626 cat >>conftest.$ac_ext <<_ACEOF
27627 /* end confdefs.h. */
27629 #include <gtk/gtk.h>
27631 #include <stdlib.h>
27636 int major, minor, micro;
27639 system ("touch conf.gtktest");
27641 /* HP/UX 9 (%@#!) writes to sscanf strings */
27642 tmp_version = g_strdup("$min_gtk_version");
27643 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27644 printf("%s, bad version string\n", "$min_gtk_version");
27648 if ((gtk_major_version != $gtk_config_major_version) ||
27649 (gtk_minor_version != $gtk_config_minor_version) ||
27650 (gtk_micro_version != $gtk_config_micro_version))
27652 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27653 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27654 gtk_major_version, gtk_minor_version, gtk_micro_version);
27655 printf ("*** was found! If gtk-config was correct, then it is best\n");
27656 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27657 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27658 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27659 printf("*** required on your system.\n");
27660 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27661 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27662 printf("*** before re-running configure\n");
27664 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27665 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27666 (gtk_minor_version != GTK_MINOR_VERSION) ||
27667 (gtk_micro_version != GTK_MICRO_VERSION))
27669 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27670 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27671 printf("*** library (version %d.%d.%d)\n",
27672 gtk_major_version, gtk_minor_version, gtk_micro_version);
27674 #endif /* defined (GTK_MAJOR_VERSION) ... */
27677 if ((gtk_major_version > major) ||
27678 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27679 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27685 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27686 gtk_major_version, gtk_minor_version, gtk_micro_version);
27687 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27688 major, minor, micro);
27689 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27691 printf("*** If you have already installed a sufficiently new version, this error\n");
27692 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27693 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27694 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27695 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27696 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27697 printf("*** so that the correct libraries are found at run-time))\n");
27704 rm -f conftest$ac_exeext
27705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27706 (eval $ac_link) 2>&5
27708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27709 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27711 (eval $ac_try) 2>&5
27713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27714 (exit $ac_status); }; }; then
27717 echo "$as_me: program exited with status $ac_status" >&5
27718 echo "$as_me: failed program was:" >&5
27719 sed 's/^/| /' conftest.$ac_ext >&5
27721 ( exit $ac_status )
27724 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27726 CFLAGS="$ac_save_CFLAGS"
27727 LIBS="$ac_save_LIBS"
27730 if test "x$no_gtk" = x ; then
27731 echo "$as_me:$LINENO: result: yes" >&5
27732 echo "${ECHO_T}yes" >&6
27733 wx_cv_lib_gtk=1.2.3
27735 echo "$as_me:$LINENO: result: no" >&5
27736 echo "${ECHO_T}no" >&6
27737 if test "$GTK_CONFIG" = "no" ; then
27738 echo "*** The gtk-config script installed by GTK could not be found"
27739 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27740 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27741 echo "*** full path to gtk-config."
27743 if test -f conf.gtktest ; then
27746 echo "*** Could not run GTK test program, checking why..."
27747 CFLAGS="$CFLAGS $GTK_CFLAGS"
27748 LIBS="$LIBS $GTK_LIBS"
27749 cat >conftest.$ac_ext <<_ACEOF
27752 cat confdefs.h >>conftest.$ac_ext
27753 cat >>conftest.$ac_ext <<_ACEOF
27754 /* end confdefs.h. */
27756 #include <gtk/gtk.h>
27762 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27767 rm -f conftest.$ac_objext conftest$ac_exeext
27768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27769 (eval $ac_link) 2>conftest.er1
27771 grep -v '^ *+' conftest.er1 >conftest.err
27773 cat conftest.err >&5
27774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27775 (exit $ac_status); } &&
27776 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27778 (eval $ac_try) 2>&5
27780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27781 (exit $ac_status); }; } &&
27782 { ac_try='test -s conftest$ac_exeext'
27783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27784 (eval $ac_try) 2>&5
27786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27787 (exit $ac_status); }; }; then
27788 echo "*** The test program compiled, but did not run. This usually means"
27789 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27790 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27791 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27792 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27793 echo "*** is required on your system"
27795 echo "*** If you have an old version installed, it is best to remove it, although"
27796 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27798 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27799 echo "*** came with the system with the command"
27801 echo "*** rpm --erase --nodeps gtk gtk-devel"
27803 echo "$as_me: failed program was:" >&5
27804 sed 's/^/| /' conftest.$ac_ext >&5
27806 echo "*** The test program failed to compile or link. See the file config.log for the"
27807 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27808 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27809 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27811 rm -f conftest.err conftest.$ac_objext \
27812 conftest$ac_exeext conftest.$ac_ext
27813 CFLAGS="$ac_save_CFLAGS"
27814 LIBS="$ac_save_LIBS"
27829 if test -z "$wx_cv_lib_gtk"; then
27832 wx_cv_cflags_gtk=$GTK_CFLAGS
27833 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27840 if test "$gtk_version_cached" = 1; then
27841 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27842 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27845 case "$wx_cv_lib_gtk" in
27854 *) { { echo "$as_me:$LINENO: error:
27855 The development files for GTK+ were not found. For GTK+ 2, please
27856 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27857 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27858 and that the version is 1.2.3 or above. Also check that the
27859 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27860 --libs' are in the LD_LIBRARY_PATH or equivalent.
27862 echo "$as_me: error:
27863 The development files for GTK+ were not found. For GTK+ 2, please
27864 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27865 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27866 and that the version is 1.2.3 or above. Also check that the
27867 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27868 --libs' are in the LD_LIBRARY_PATH or equivalent.
27870 { (exit 1); exit 1; }; }
27874 if test "$WXGTK20" = 1; then
27875 save_CFLAGS="$CFLAGS"
27877 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
27878 LIBS="$LIBS $wx_cv_libs_gtk"
27880 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
27881 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
27882 cat >conftest.$ac_ext <<_ACEOF
27885 cat confdefs.h >>conftest.$ac_ext
27886 cat >>conftest.$ac_ext <<_ACEOF
27887 /* end confdefs.h. */
27889 #include <gtk/gtk.h>
27895 void *f = gtk_icon_size_lookup;
27901 rm -f conftest.$ac_objext
27902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27903 (eval $ac_compile) 2>conftest.er1
27905 grep -v '^ *+' conftest.er1 >conftest.err
27907 cat conftest.err >&5
27908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27909 (exit $ac_status); } &&
27910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27912 (eval $ac_try) 2>&5
27914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27915 (exit $ac_status); }; } &&
27916 { ac_try='test -s conftest.$ac_objext'
27917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27918 (eval $ac_try) 2>&5
27920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27921 (exit $ac_status); }; }; then
27923 echo "$as_me:$LINENO: result: no" >&5
27924 echo "${ECHO_T}no" >&6
27927 echo "$as_me: failed program was:" >&5
27928 sed 's/^/| /' conftest.$ac_ext >&5
27931 cat >>confdefs.h <<\_ACEOF
27932 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27935 echo "$as_me:$LINENO: result: yes" >&5
27936 echo "${ECHO_T}yes" >&6
27939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27941 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
27942 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
27943 cat >conftest.$ac_ext <<_ACEOF
27946 cat confdefs.h >>conftest.$ac_ext
27947 cat >>conftest.$ac_ext <<_ACEOF
27948 /* end confdefs.h. */
27950 #include <gtk/gtk.h>
27956 #if !GTK_CHECK_VERSION(2,6,0)
27964 rm -f conftest.$ac_objext
27965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27966 (eval $ac_compile) 2>conftest.er1
27968 grep -v '^ *+' conftest.er1 >conftest.err
27970 cat conftest.err >&5
27971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27972 (exit $ac_status); } &&
27973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27975 (eval $ac_try) 2>&5
27977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27978 (exit $ac_status); }; } &&
27979 { ac_try='test -s conftest.$ac_objext'
27980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27981 (eval $ac_try) 2>&5
27983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27984 (exit $ac_status); }; }; then
27986 cat >>confdefs.h <<\_ACEOF
27987 #define __WXGTK26__ 1
27990 cat >>confdefs.h <<\_ACEOF
27991 #define __WXGTK24__ 1
27994 echo "$as_me:$LINENO: result: yes" >&5
27995 echo "${ECHO_T}yes" >&6
27999 echo "$as_me: failed program was:" >&5
28000 sed 's/^/| /' conftest.$ac_ext >&5
28003 echo "$as_me:$LINENO: result: no" >&5
28004 echo "${ECHO_T}no" >&6
28008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28010 if test "$ac_wxgtk26" = 0; then
28011 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28012 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28013 cat >conftest.$ac_ext <<_ACEOF
28016 cat confdefs.h >>conftest.$ac_ext
28017 cat >>conftest.$ac_ext <<_ACEOF
28018 /* end confdefs.h. */
28020 #include <gtk/gtk.h>
28026 #if !GTK_CHECK_VERSION(2,4,0)
28034 rm -f conftest.$ac_objext
28035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28036 (eval $ac_compile) 2>conftest.er1
28038 grep -v '^ *+' conftest.er1 >conftest.err
28040 cat conftest.err >&5
28041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28042 (exit $ac_status); } &&
28043 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28045 (eval $ac_try) 2>&5
28047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28048 (exit $ac_status); }; } &&
28049 { ac_try='test -s conftest.$ac_objext'
28050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28051 (eval $ac_try) 2>&5
28053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28054 (exit $ac_status); }; }; then
28056 cat >>confdefs.h <<\_ACEOF
28057 #define __WXGTK24__ 1
28060 echo "$as_me:$LINENO: result: yes" >&5
28061 echo "${ECHO_T}yes" >&6
28064 echo "$as_me: failed program was:" >&5
28065 sed 's/^/| /' conftest.$ac_ext >&5
28068 echo "$as_me:$LINENO: result: no" >&5
28069 echo "${ECHO_T}no" >&6
28072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28075 CFLAGS="$save_CFLAGS"
28078 if test "$wxUSE_UNICODE" = "yes"; then
28079 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28080 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28086 ac_cpp='$CXXCPP $CPPFLAGS'
28087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28092 if test "$USE_DARWIN" != 1; then
28094 for ac_func in poll
28096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28097 echo "$as_me:$LINENO: checking for $ac_func" >&5
28098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28099 if eval "test \"\${$as_ac_var+set}\" = set"; then
28100 echo $ECHO_N "(cached) $ECHO_C" >&6
28102 cat >conftest.$ac_ext <<_ACEOF
28105 cat confdefs.h >>conftest.$ac_ext
28106 cat >>conftest.$ac_ext <<_ACEOF
28107 /* end confdefs.h. */
28108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28110 #define $ac_func innocuous_$ac_func
28112 /* System header to define __stub macros and hopefully few prototypes,
28113 which can conflict with char $ac_func (); below.
28114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28115 <limits.h> exists even on freestanding compilers. */
28118 # include <limits.h>
28120 # include <assert.h>
28125 /* Override any gcc2 internal prototype to avoid an error. */
28130 /* We use char because int might match the return type of a gcc2
28131 builtin and then its argument prototype would still apply. */
28133 /* The GNU C library defines this for functions which it implements
28134 to always fail with ENOSYS. Some functions are actually named
28135 something starting with __ and the normal name is an alias. */
28136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28139 char (*f) () = $ac_func;
28148 return f != $ac_func;
28153 rm -f conftest.$ac_objext conftest$ac_exeext
28154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28155 (eval $ac_link) 2>conftest.er1
28157 grep -v '^ *+' conftest.er1 >conftest.err
28159 cat conftest.err >&5
28160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28161 (exit $ac_status); } &&
28162 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28164 (eval $ac_try) 2>&5
28166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28167 (exit $ac_status); }; } &&
28168 { ac_try='test -s conftest$ac_exeext'
28169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28170 (eval $ac_try) 2>&5
28172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28173 (exit $ac_status); }; }; then
28174 eval "$as_ac_var=yes"
28176 echo "$as_me: failed program was:" >&5
28177 sed 's/^/| /' conftest.$ac_ext >&5
28179 eval "$as_ac_var=no"
28181 rm -f conftest.err conftest.$ac_objext \
28182 conftest$ac_exeext conftest.$ac_ext
28184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28186 if test `eval echo '${'$as_ac_var'}'` = yes; then
28187 cat >>confdefs.h <<_ACEOF
28188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28196 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28197 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28199 AFMINSTALL=afminstall
28203 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28204 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28205 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28206 echo $ECHO_N "(cached) $ECHO_C" >&6
28208 ac_check_lib_save_LIBS=$LIBS
28210 cat >conftest.$ac_ext <<_ACEOF
28213 cat confdefs.h >>conftest.$ac_ext
28214 cat >>conftest.$ac_ext <<_ACEOF
28215 /* end confdefs.h. */
28217 /* Override any gcc2 internal prototype to avoid an error. */
28221 /* We use char because int might match the return type of a gcc2
28222 builtin and then its argument prototype would still apply. */
28223 char gdk_im_open ();
28232 rm -f conftest.$ac_objext conftest$ac_exeext
28233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28234 (eval $ac_link) 2>conftest.er1
28236 grep -v '^ *+' conftest.er1 >conftest.err
28238 cat conftest.err >&5
28239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28240 (exit $ac_status); } &&
28241 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28243 (eval $ac_try) 2>&5
28245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28246 (exit $ac_status); }; } &&
28247 { ac_try='test -s conftest$ac_exeext'
28248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28249 (eval $ac_try) 2>&5
28251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28252 (exit $ac_status); }; }; then
28253 ac_cv_lib_gdk_gdk_im_open=yes
28255 echo "$as_me: failed program was:" >&5
28256 sed 's/^/| /' conftest.$ac_ext >&5
28258 ac_cv_lib_gdk_gdk_im_open=no
28260 rm -f conftest.err conftest.$ac_objext \
28261 conftest$ac_exeext conftest.$ac_ext
28262 LIBS=$ac_check_lib_save_LIBS
28264 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28265 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28266 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28267 cat >>confdefs.h <<\_ACEOF
28275 if test "$wxUSE_GPE" = "yes"; then
28276 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28277 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28280 for ac_dir in $SEARCH_LIB;
28282 for ac_extension in a so sl dylib dll.a; do
28283 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28284 ac_find_libraries=$ac_dir
28290 if test "$ac_find_libraries" != "" ; then
28292 if test "$ac_find_libraries" = "default location"; then
28295 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28297 if test $result = 0; then
28300 ac_path_to_link=" -L$ac_find_libraries"
28304 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28306 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28307 echo "${ECHO_T}found in $ac_find_libraries" >&6
28309 echo "$as_me:$LINENO: result: not found" >&5
28310 echo "${ECHO_T}not found" >&6
28316 if test "$wxUSE_MGL" = 1; then
28317 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28318 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
28319 if test "x$MGL_ROOT" = x ; then
28320 echo "$as_me:$LINENO: result: not found" >&5
28321 echo "${ECHO_T}not found" >&6
28322 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28323 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28324 { (exit 1); exit 1; }; }
28326 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28327 echo "${ECHO_T}$MGL_ROOT" >&6
28330 echo "$as_me:$LINENO: checking for libmgl location" >&5
28331 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
28334 if test "x$wxUSE_SHARED" = xyes ; then
28335 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28337 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28341 mgl_os_candidates="dos32/dj2"
28344 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28345 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28346 { (exit 1); exit 1; }; }
28352 for mgl_os_i in $mgl_os_candidates ; do
28353 if test "x$mgl_os" = x ; then
28354 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28355 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28356 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28361 if test "x$mgl_lib_type" = x ; then
28362 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28363 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28364 mgl_lib_type=release
28371 if test "x$mgl_os" = x ; then
28372 echo "$as_me:$LINENO: result: not found" >&5
28373 echo "${ECHO_T}not found" >&6
28374 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28375 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28376 { (exit 1); exit 1; }; }
28378 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28379 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
28381 wxUSE_UNIVERSAL="yes"
28383 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28384 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28386 AFMINSTALL=afminstall
28391 if test "$wxUSE_MICROWIN" = 1; then
28392 echo "$as_me:$LINENO: checking for MicroWindows" >&5
28393 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
28394 if test "x$MICROWINDOWS" = x ; then
28395 echo "$as_me:$LINENO: result: not found" >&5
28396 echo "${ECHO_T}not found" >&6
28397 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28398 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28399 { (exit 1); exit 1; }; }
28401 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28402 echo "${ECHO_T}$MICROWINDOWS" >&6
28405 if test -f $MICROWINDOWS/lib/libmwin.a; then
28406 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28407 echo "${ECHO_T}MicroWindows' libraries found." >&6
28409 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28410 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28411 { (exit 1); exit 1; }; }
28414 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28415 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28417 wxUSE_UNIVERSAL="yes"
28419 AFMINSTALL=afminstall
28421 GUIDIST=MICROWIN_DIST
28423 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28426 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28428 if test "x$ac_path_x_has_been_run" != xyes; then
28429 echo "$as_me:$LINENO: checking for X" >&5
28430 echo $ECHO_N "checking for X... $ECHO_C" >&6
28432 ac_path_x_has_been_run=yes
28434 # Check whether --with-x or --without-x was given.
28435 if test "${with_x+set}" = set; then
28439 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28440 if test "x$with_x" = xno; then
28441 # The user explicitly disabled X.
28444 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
28445 # Both variables are already set.
28448 if test "${ac_cv_have_x+set}" = set; then
28449 echo $ECHO_N "(cached) $ECHO_C" >&6
28451 # One or both of the vars are not set, and there is no cached value.
28452 ac_x_includes=no ac_x_libraries=no
28453 rm -fr conftest.dir
28454 if mkdir conftest.dir; then
28456 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28457 cat >Imakefile <<'_ACEOF'
28459 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28461 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
28462 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28463 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28464 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28465 for ac_extension in a so sl; do
28466 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
28467 test -f $ac_im_libdir/libX11.$ac_extension; then
28468 ac_im_usrlibdir=$ac_im_libdir; break
28471 # Screen out bogus values from the imake configuration. They are
28472 # bogus both because they are the default anyway, and because
28473 # using them would break gcc on systems where it needs fixed includes.
28474 case $ac_im_incroot in
28476 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28478 case $ac_im_usrlibdir in
28479 /usr/lib | /lib) ;;
28480 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28484 rm -fr conftest.dir
28487 # Standard set of common directories for X headers.
28488 # Check X11 before X11Rn because it is often a symlink to the current release.
28500 /usr/local/X11/include
28501 /usr/local/X11R6/include
28502 /usr/local/X11R5/include
28503 /usr/local/X11R4/include
28505 /usr/local/include/X11
28506 /usr/local/include/X11R6
28507 /usr/local/include/X11R5
28508 /usr/local/include/X11R4
28512 /usr/XFree86/include/X11
28516 /usr/unsupported/include
28517 /usr/athena/include
28518 /usr/local/x11r5/include
28519 /usr/lpp/Xamples/include
28521 /usr/openwin/include
28522 /usr/openwin/share/include'
28524 if test "$ac_x_includes" = no; then
28525 # Guess where to find include files, by looking for a specified header file.
28526 # First, try using that file with no special directory specified.
28527 cat >conftest.$ac_ext <<_ACEOF
28530 cat confdefs.h >>conftest.$ac_ext
28531 cat >>conftest.$ac_ext <<_ACEOF
28532 /* end confdefs.h. */
28533 #include <X11/Xlib.h>
28535 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28536 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28538 grep -v '^ *+' conftest.er1 >conftest.err
28540 cat conftest.err >&5
28541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28542 (exit $ac_status); } >/dev/null; then
28543 if test -s conftest.err; then
28544 ac_cpp_err=$ac_cxx_preproc_warn_flag
28545 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
28552 if test -z "$ac_cpp_err"; then
28553 # We can compile using X headers with no special include directory.
28556 echo "$as_me: failed program was:" >&5
28557 sed 's/^/| /' conftest.$ac_ext >&5
28559 for ac_dir in $ac_x_header_dirs; do
28560 if test -r "$ac_dir/X11/Xlib.h"; then
28561 ac_x_includes=$ac_dir
28566 rm -f conftest.err conftest.$ac_ext
28567 fi # $ac_x_includes = no
28569 if test "$ac_x_libraries" = no; then
28570 # Check for the libraries.
28571 # See if we find them without any special options.
28572 # Don't add to $LIBS permanently.
28575 cat >conftest.$ac_ext <<_ACEOF
28578 cat confdefs.h >>conftest.$ac_ext
28579 cat >>conftest.$ac_ext <<_ACEOF
28580 /* end confdefs.h. */
28581 #include <X11/Xlib.h>
28590 rm -f conftest.$ac_objext conftest$ac_exeext
28591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28592 (eval $ac_link) 2>conftest.er1
28594 grep -v '^ *+' conftest.er1 >conftest.err
28596 cat conftest.err >&5
28597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28598 (exit $ac_status); } &&
28599 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28601 (eval $ac_try) 2>&5
28603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28604 (exit $ac_status); }; } &&
28605 { ac_try='test -s conftest$ac_exeext'
28606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28607 (eval $ac_try) 2>&5
28609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28610 (exit $ac_status); }; }; then
28612 # We can link X programs with no special library path.
28615 echo "$as_me: failed program was:" >&5
28616 sed 's/^/| /' conftest.$ac_ext >&5
28619 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28621 # Don't even attempt the hair of trying to link an X program!
28622 for ac_extension in a so sl; do
28623 if test -r $ac_dir/libX11.$ac_extension; then
28624 ac_x_libraries=$ac_dir
28630 rm -f conftest.err conftest.$ac_objext \
28631 conftest$ac_exeext conftest.$ac_ext
28632 fi # $ac_x_libraries = no
28634 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
28635 # Didn't find X anywhere. Cache the known absence of X.
28636 ac_cv_have_x="have_x=no"
28638 # Record where we found X for the cache.
28639 ac_cv_have_x="have_x=yes \
28640 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
28645 eval "$ac_cv_have_x"
28648 if test "$have_x" != yes; then
28649 echo "$as_me:$LINENO: result: $have_x" >&5
28650 echo "${ECHO_T}$have_x" >&6
28653 # If each of the values was on the command line, it overrides each guess.
28654 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
28655 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
28656 # Update the cache value to reflect the command line values.
28657 ac_cv_have_x="have_x=yes \
28658 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
28659 # It might be that x_includes is empty (headers are found in the
28660 # standard search path. Then output the corresponding message
28661 ac_out_x_includes=$x_includes
28662 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
28663 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
28664 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
28668 if test "$no_x" = yes; then
28669 # Not all programs may use this symbol, but it does not hurt to define it.
28671 cat >>confdefs.h <<\_ACEOF
28672 #define X_DISPLAY_MISSING 1
28675 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
28677 if test -n "$x_includes"; then
28678 X_CFLAGS="$X_CFLAGS -I$x_includes"
28681 # It would also be nice to do this for all -L options, not just this one.
28682 if test -n "$x_libraries"; then
28683 X_LIBS="$X_LIBS -L$x_libraries"
28684 # For Solaris; some versions of Sun CC require a space after -R and
28685 # others require no space. Words are not sufficient . . . .
28686 case `(uname -sr) 2>/dev/null` in
28688 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28689 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
28690 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
28691 cat >conftest.$ac_ext <<_ACEOF
28694 cat confdefs.h >>conftest.$ac_ext
28695 cat >>conftest.$ac_ext <<_ACEOF
28696 /* end confdefs.h. */
28706 rm -f conftest.$ac_objext conftest$ac_exeext
28707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28708 (eval $ac_link) 2>conftest.er1
28710 grep -v '^ *+' conftest.er1 >conftest.err
28712 cat conftest.err >&5
28713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28714 (exit $ac_status); } &&
28715 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28717 (eval $ac_try) 2>&5
28719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28720 (exit $ac_status); }; } &&
28721 { ac_try='test -s conftest$ac_exeext'
28722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28723 (eval $ac_try) 2>&5
28725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28726 (exit $ac_status); }; }; then
28729 echo "$as_me: failed program was:" >&5
28730 sed 's/^/| /' conftest.$ac_ext >&5
28734 rm -f conftest.err conftest.$ac_objext \
28735 conftest$ac_exeext conftest.$ac_ext
28736 if test $ac_R_nospace = yes; then
28737 echo "$as_me:$LINENO: result: no" >&5
28738 echo "${ECHO_T}no" >&6
28739 X_LIBS="$X_LIBS -R$x_libraries"
28741 LIBS="$ac_xsave_LIBS -R $x_libraries"
28742 cat >conftest.$ac_ext <<_ACEOF
28745 cat confdefs.h >>conftest.$ac_ext
28746 cat >>conftest.$ac_ext <<_ACEOF
28747 /* end confdefs.h. */
28757 rm -f conftest.$ac_objext conftest$ac_exeext
28758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28759 (eval $ac_link) 2>conftest.er1
28761 grep -v '^ *+' conftest.er1 >conftest.err
28763 cat conftest.err >&5
28764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28765 (exit $ac_status); } &&
28766 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28768 (eval $ac_try) 2>&5
28770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28771 (exit $ac_status); }; } &&
28772 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
28780 echo "$as_me: failed program was:" >&5
28781 sed 's/^/| /' conftest.$ac_ext >&5
28785 rm -f conftest.err conftest.$ac_objext \
28786 conftest$ac_exeext conftest.$ac_ext
28787 if test $ac_R_space = yes; then
28788 echo "$as_me:$LINENO: result: yes" >&5
28789 echo "${ECHO_T}yes" >&6
28790 X_LIBS="$X_LIBS -R $x_libraries"
28792 echo "$as_me:$LINENO: result: neither works" >&5
28793 echo "${ECHO_T}neither works" >&6
28796 LIBS=$ac_xsave_LIBS
28800 # Check for system-dependent libraries X programs must link with.
28801 # Do this before checking for the system-independent R6 libraries
28802 # (-lICE), since we may need -lsocket or whatever for X linking.
28804 if test "$ISC" = yes; then
28805 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
28807 # Martyn Johnson says this is needed for Ultrix, if the X
28808 # libraries were built with DECnet support. And Karl Berry says
28809 # the Alpha needs dnet_stub (dnet does not exist).
28810 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
28811 cat >conftest.$ac_ext <<_ACEOF
28814 cat confdefs.h >>conftest.$ac_ext
28815 cat >>conftest.$ac_ext <<_ACEOF
28816 /* end confdefs.h. */
28818 /* Override any gcc2 internal prototype to avoid an error. */
28822 /* We use char because int might match the return type of a gcc2
28823 builtin and then its argument prototype would still apply. */
28824 char XOpenDisplay ();
28833 rm -f conftest.$ac_objext conftest$ac_exeext
28834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28835 (eval $ac_link) 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_cxx_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_exeext'
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
28856 echo "$as_me: failed program was:" >&5
28857 sed 's/^/| /' conftest.$ac_ext >&5
28859 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
28860 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
28861 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
28862 echo $ECHO_N "(cached) $ECHO_C" >&6
28864 ac_check_lib_save_LIBS=$LIBS
28865 LIBS="-ldnet $LIBS"
28866 cat >conftest.$ac_ext <<_ACEOF
28869 cat confdefs.h >>conftest.$ac_ext
28870 cat >>conftest.$ac_ext <<_ACEOF
28871 /* end confdefs.h. */
28873 /* Override any gcc2 internal prototype to avoid an error. */
28877 /* We use char because int might match the return type of a gcc2
28878 builtin and then its argument prototype would still apply. */
28888 rm -f conftest.$ac_objext conftest$ac_exeext
28889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28890 (eval $ac_link) 2>conftest.er1
28892 grep -v '^ *+' conftest.er1 >conftest.err
28894 cat conftest.err >&5
28895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28896 (exit $ac_status); } &&
28897 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28899 (eval $ac_try) 2>&5
28901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28902 (exit $ac_status); }; } &&
28903 { ac_try='test -s conftest$ac_exeext'
28904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28905 (eval $ac_try) 2>&5
28907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908 (exit $ac_status); }; }; then
28909 ac_cv_lib_dnet_dnet_ntoa=yes
28911 echo "$as_me: failed program was:" >&5
28912 sed 's/^/| /' conftest.$ac_ext >&5
28914 ac_cv_lib_dnet_dnet_ntoa=no
28916 rm -f conftest.err conftest.$ac_objext \
28917 conftest$ac_exeext conftest.$ac_ext
28918 LIBS=$ac_check_lib_save_LIBS
28920 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28921 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28922 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28923 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
28926 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
28927 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
28928 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28929 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28930 echo $ECHO_N "(cached) $ECHO_C" >&6
28932 ac_check_lib_save_LIBS=$LIBS
28933 LIBS="-ldnet_stub $LIBS"
28934 cat >conftest.$ac_ext <<_ACEOF
28937 cat confdefs.h >>conftest.$ac_ext
28938 cat >>conftest.$ac_ext <<_ACEOF
28939 /* end confdefs.h. */
28941 /* Override any gcc2 internal prototype to avoid an error. */
28945 /* We use char because int might match the return type of a gcc2
28946 builtin and then its argument prototype would still apply. */
28956 rm -f conftest.$ac_objext conftest$ac_exeext
28957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28958 (eval $ac_link) 2>conftest.er1
28960 grep -v '^ *+' conftest.er1 >conftest.err
28962 cat conftest.err >&5
28963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28964 (exit $ac_status); } &&
28965 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28967 (eval $ac_try) 2>&5
28969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28970 (exit $ac_status); }; } &&
28971 { ac_try='test -s conftest$ac_exeext'
28972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28973 (eval $ac_try) 2>&5
28975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28976 (exit $ac_status); }; }; then
28977 ac_cv_lib_dnet_stub_dnet_ntoa=yes
28979 echo "$as_me: failed program was:" >&5
28980 sed 's/^/| /' conftest.$ac_ext >&5
28982 ac_cv_lib_dnet_stub_dnet_ntoa=no
28984 rm -f conftest.err conftest.$ac_objext \
28985 conftest$ac_exeext conftest.$ac_ext
28986 LIBS=$ac_check_lib_save_LIBS
28988 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28989 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28990 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28991 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
28996 rm -f conftest.err conftest.$ac_objext \
28997 conftest$ac_exeext conftest.$ac_ext
28998 LIBS="$ac_xsave_LIBS"
29000 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29001 # to get the SysV transport functions.
29002 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29004 # The nsl library prevents programs from opening the X display
29005 # on Irix 5.2, according to T.E. Dickey.
29006 # The functions gethostbyname, getservbyname, and inet_addr are
29007 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29008 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29009 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29010 if test "${ac_cv_func_gethostbyname+set}" = set; then
29011 echo $ECHO_N "(cached) $ECHO_C" >&6
29013 cat >conftest.$ac_ext <<_ACEOF
29016 cat confdefs.h >>conftest.$ac_ext
29017 cat >>conftest.$ac_ext <<_ACEOF
29018 /* end confdefs.h. */
29019 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29021 #define gethostbyname innocuous_gethostbyname
29023 /* System header to define __stub macros and hopefully few prototypes,
29024 which can conflict with char gethostbyname (); below.
29025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29026 <limits.h> exists even on freestanding compilers. */
29029 # include <limits.h>
29031 # include <assert.h>
29034 #undef gethostbyname
29036 /* Override any gcc2 internal prototype to avoid an error. */
29041 /* We use char because int might match the return type of a gcc2
29042 builtin and then its argument prototype would still apply. */
29043 char gethostbyname ();
29044 /* The GNU C library defines this for functions which it implements
29045 to always fail with ENOSYS. Some functions are actually named
29046 something starting with __ and the normal name is an alias. */
29047 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29050 char (*f) () = gethostbyname;
29059 return f != gethostbyname;
29064 rm -f conftest.$ac_objext conftest$ac_exeext
29065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29066 (eval $ac_link) 2>conftest.er1
29068 grep -v '^ *+' conftest.er1 >conftest.err
29070 cat conftest.err >&5
29071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29072 (exit $ac_status); } &&
29073 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29075 (eval $ac_try) 2>&5
29077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29078 (exit $ac_status); }; } &&
29079 { ac_try='test -s conftest$ac_exeext'
29080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29081 (eval $ac_try) 2>&5
29083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29084 (exit $ac_status); }; }; then
29085 ac_cv_func_gethostbyname=yes
29087 echo "$as_me: failed program was:" >&5
29088 sed 's/^/| /' conftest.$ac_ext >&5
29090 ac_cv_func_gethostbyname=no
29092 rm -f conftest.err conftest.$ac_objext \
29093 conftest$ac_exeext conftest.$ac_ext
29095 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29096 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29098 if test $ac_cv_func_gethostbyname = no; then
29099 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29100 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29101 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29102 echo $ECHO_N "(cached) $ECHO_C" >&6
29104 ac_check_lib_save_LIBS=$LIBS
29106 cat >conftest.$ac_ext <<_ACEOF
29109 cat confdefs.h >>conftest.$ac_ext
29110 cat >>conftest.$ac_ext <<_ACEOF
29111 /* end confdefs.h. */
29113 /* Override any gcc2 internal prototype to avoid an error. */
29117 /* We use char because int might match the return type of a gcc2
29118 builtin and then its argument prototype would still apply. */
29119 char gethostbyname ();
29128 rm -f conftest.$ac_objext conftest$ac_exeext
29129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29130 (eval $ac_link) 2>conftest.er1
29132 grep -v '^ *+' conftest.er1 >conftest.err
29134 cat conftest.err >&5
29135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29136 (exit $ac_status); } &&
29137 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29139 (eval $ac_try) 2>&5
29141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29142 (exit $ac_status); }; } &&
29143 { ac_try='test -s conftest$ac_exeext'
29144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29145 (eval $ac_try) 2>&5
29147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29148 (exit $ac_status); }; }; then
29149 ac_cv_lib_nsl_gethostbyname=yes
29151 echo "$as_me: failed program was:" >&5
29152 sed 's/^/| /' conftest.$ac_ext >&5
29154 ac_cv_lib_nsl_gethostbyname=no
29156 rm -f conftest.err conftest.$ac_objext \
29157 conftest$ac_exeext conftest.$ac_ext
29158 LIBS=$ac_check_lib_save_LIBS
29160 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29161 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
29162 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29163 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29166 if test $ac_cv_lib_nsl_gethostbyname = no; then
29167 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29168 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
29169 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29170 echo $ECHO_N "(cached) $ECHO_C" >&6
29172 ac_check_lib_save_LIBS=$LIBS
29174 cat >conftest.$ac_ext <<_ACEOF
29177 cat confdefs.h >>conftest.$ac_ext
29178 cat >>conftest.$ac_ext <<_ACEOF
29179 /* end confdefs.h. */
29181 /* Override any gcc2 internal prototype to avoid an error. */
29185 /* We use char because int might match the return type of a gcc2
29186 builtin and then its argument prototype would still apply. */
29187 char gethostbyname ();
29196 rm -f conftest.$ac_objext conftest$ac_exeext
29197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29198 (eval $ac_link) 2>conftest.er1
29200 grep -v '^ *+' conftest.er1 >conftest.err
29202 cat conftest.err >&5
29203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29204 (exit $ac_status); } &&
29205 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29207 (eval $ac_try) 2>&5
29209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29210 (exit $ac_status); }; } &&
29211 { ac_try='test -s conftest$ac_exeext'
29212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29213 (eval $ac_try) 2>&5
29215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29216 (exit $ac_status); }; }; then
29217 ac_cv_lib_bsd_gethostbyname=yes
29219 echo "$as_me: failed program was:" >&5
29220 sed 's/^/| /' conftest.$ac_ext >&5
29222 ac_cv_lib_bsd_gethostbyname=no
29224 rm -f conftest.err conftest.$ac_objext \
29225 conftest$ac_exeext conftest.$ac_ext
29226 LIBS=$ac_check_lib_save_LIBS
29228 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29229 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
29230 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29231 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29237 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29238 # socket/setsockopt and other routines are undefined under SCO ODT
29239 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29240 # on later versions), says Simon Leinen: it contains gethostby*
29241 # variants that don't use the name server (or something). -lsocket
29242 # must be given before -lnsl if both are needed. We assume that
29243 # if connect needs -lnsl, so does gethostbyname.
29244 echo "$as_me:$LINENO: checking for connect" >&5
29245 echo $ECHO_N "checking for connect... $ECHO_C" >&6
29246 if test "${ac_cv_func_connect+set}" = set; then
29247 echo $ECHO_N "(cached) $ECHO_C" >&6
29249 cat >conftest.$ac_ext <<_ACEOF
29252 cat confdefs.h >>conftest.$ac_ext
29253 cat >>conftest.$ac_ext <<_ACEOF
29254 /* end confdefs.h. */
29255 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29257 #define connect innocuous_connect
29259 /* System header to define __stub macros and hopefully few prototypes,
29260 which can conflict with char connect (); below.
29261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29262 <limits.h> exists even on freestanding compilers. */
29265 # include <limits.h>
29267 # include <assert.h>
29272 /* Override any gcc2 internal prototype to avoid an error. */
29277 /* We use char because int might match the return type of a gcc2
29278 builtin and then its argument prototype would still apply. */
29280 /* The GNU C library defines this for functions which it implements
29281 to always fail with ENOSYS. Some functions are actually named
29282 something starting with __ and the normal name is an alias. */
29283 #if defined (__stub_connect) || defined (__stub___connect)
29286 char (*f) () = connect;
29295 return f != connect;
29300 rm -f conftest.$ac_objext conftest$ac_exeext
29301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29302 (eval $ac_link) 2>conftest.er1
29304 grep -v '^ *+' conftest.er1 >conftest.err
29306 cat conftest.err >&5
29307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29308 (exit $ac_status); } &&
29309 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29311 (eval $ac_try) 2>&5
29313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29314 (exit $ac_status); }; } &&
29315 { ac_try='test -s conftest$ac_exeext'
29316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29317 (eval $ac_try) 2>&5
29319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29320 (exit $ac_status); }; }; then
29321 ac_cv_func_connect=yes
29323 echo "$as_me: failed program was:" >&5
29324 sed 's/^/| /' conftest.$ac_ext >&5
29326 ac_cv_func_connect=no
29328 rm -f conftest.err conftest.$ac_objext \
29329 conftest$ac_exeext conftest.$ac_ext
29331 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29332 echo "${ECHO_T}$ac_cv_func_connect" >&6
29334 if test $ac_cv_func_connect = no; then
29335 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29336 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
29337 if test "${ac_cv_lib_socket_connect+set}" = set; then
29338 echo $ECHO_N "(cached) $ECHO_C" >&6
29340 ac_check_lib_save_LIBS=$LIBS
29341 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29342 cat >conftest.$ac_ext <<_ACEOF
29345 cat confdefs.h >>conftest.$ac_ext
29346 cat >>conftest.$ac_ext <<_ACEOF
29347 /* end confdefs.h. */
29349 /* Override any gcc2 internal prototype to avoid an error. */
29353 /* We use char because int might match the return type of a gcc2
29354 builtin and then its argument prototype would still apply. */
29364 rm -f conftest.$ac_objext conftest$ac_exeext
29365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29366 (eval $ac_link) 2>conftest.er1
29368 grep -v '^ *+' conftest.er1 >conftest.err
29370 cat conftest.err >&5
29371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29372 (exit $ac_status); } &&
29373 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29375 (eval $ac_try) 2>&5
29377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29378 (exit $ac_status); }; } &&
29379 { ac_try='test -s conftest$ac_exeext'
29380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29381 (eval $ac_try) 2>&5
29383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29384 (exit $ac_status); }; }; then
29385 ac_cv_lib_socket_connect=yes
29387 echo "$as_me: failed program was:" >&5
29388 sed 's/^/| /' conftest.$ac_ext >&5
29390 ac_cv_lib_socket_connect=no
29392 rm -f conftest.err conftest.$ac_objext \
29393 conftest$ac_exeext conftest.$ac_ext
29394 LIBS=$ac_check_lib_save_LIBS
29396 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29397 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
29398 if test $ac_cv_lib_socket_connect = yes; then
29399 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29404 # Guillermo Gomez says -lposix is necessary on A/UX.
29405 echo "$as_me:$LINENO: checking for remove" >&5
29406 echo $ECHO_N "checking for remove... $ECHO_C" >&6
29407 if test "${ac_cv_func_remove+set}" = set; then
29408 echo $ECHO_N "(cached) $ECHO_C" >&6
29410 cat >conftest.$ac_ext <<_ACEOF
29413 cat confdefs.h >>conftest.$ac_ext
29414 cat >>conftest.$ac_ext <<_ACEOF
29415 /* end confdefs.h. */
29416 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29418 #define remove innocuous_remove
29420 /* System header to define __stub macros and hopefully few prototypes,
29421 which can conflict with char remove (); below.
29422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29423 <limits.h> exists even on freestanding compilers. */
29426 # include <limits.h>
29428 # include <assert.h>
29433 /* Override any gcc2 internal prototype to avoid an error. */
29438 /* We use char because int might match the return type of a gcc2
29439 builtin and then its argument prototype would still apply. */
29441 /* The GNU C library defines this for functions which it implements
29442 to always fail with ENOSYS. Some functions are actually named
29443 something starting with __ and the normal name is an alias. */
29444 #if defined (__stub_remove) || defined (__stub___remove)
29447 char (*f) () = remove;
29456 return f != remove;
29461 rm -f conftest.$ac_objext conftest$ac_exeext
29462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29463 (eval $ac_link) 2>conftest.er1
29465 grep -v '^ *+' conftest.er1 >conftest.err
29467 cat conftest.err >&5
29468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29469 (exit $ac_status); } &&
29470 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29472 (eval $ac_try) 2>&5
29474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29475 (exit $ac_status); }; } &&
29476 { ac_try='test -s conftest$ac_exeext'
29477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29478 (eval $ac_try) 2>&5
29480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29481 (exit $ac_status); }; }; then
29482 ac_cv_func_remove=yes
29484 echo "$as_me: failed program was:" >&5
29485 sed 's/^/| /' conftest.$ac_ext >&5
29487 ac_cv_func_remove=no
29489 rm -f conftest.err conftest.$ac_objext \
29490 conftest$ac_exeext conftest.$ac_ext
29492 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29493 echo "${ECHO_T}$ac_cv_func_remove" >&6
29495 if test $ac_cv_func_remove = no; then
29496 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29497 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
29498 if test "${ac_cv_lib_posix_remove+set}" = set; then
29499 echo $ECHO_N "(cached) $ECHO_C" >&6
29501 ac_check_lib_save_LIBS=$LIBS
29502 LIBS="-lposix $LIBS"
29503 cat >conftest.$ac_ext <<_ACEOF
29506 cat confdefs.h >>conftest.$ac_ext
29507 cat >>conftest.$ac_ext <<_ACEOF
29508 /* end confdefs.h. */
29510 /* Override any gcc2 internal prototype to avoid an error. */
29514 /* We use char because int might match the return type of a gcc2
29515 builtin and then its argument prototype would still apply. */
29525 rm -f conftest.$ac_objext conftest$ac_exeext
29526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29527 (eval $ac_link) 2>conftest.er1
29529 grep -v '^ *+' conftest.er1 >conftest.err
29531 cat conftest.err >&5
29532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29533 (exit $ac_status); } &&
29534 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29536 (eval $ac_try) 2>&5
29538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29539 (exit $ac_status); }; } &&
29540 { ac_try='test -s conftest$ac_exeext'
29541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29542 (eval $ac_try) 2>&5
29544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29545 (exit $ac_status); }; }; then
29546 ac_cv_lib_posix_remove=yes
29548 echo "$as_me: failed program was:" >&5
29549 sed 's/^/| /' conftest.$ac_ext >&5
29551 ac_cv_lib_posix_remove=no
29553 rm -f conftest.err conftest.$ac_objext \
29554 conftest$ac_exeext conftest.$ac_ext
29555 LIBS=$ac_check_lib_save_LIBS
29557 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29558 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
29559 if test $ac_cv_lib_posix_remove = yes; then
29560 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29565 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29566 echo "$as_me:$LINENO: checking for shmat" >&5
29567 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
29568 if test "${ac_cv_func_shmat+set}" = set; then
29569 echo $ECHO_N "(cached) $ECHO_C" >&6
29571 cat >conftest.$ac_ext <<_ACEOF
29574 cat confdefs.h >>conftest.$ac_ext
29575 cat >>conftest.$ac_ext <<_ACEOF
29576 /* end confdefs.h. */
29577 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29579 #define shmat innocuous_shmat
29581 /* System header to define __stub macros and hopefully few prototypes,
29582 which can conflict with char shmat (); below.
29583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29584 <limits.h> exists even on freestanding compilers. */
29587 # include <limits.h>
29589 # include <assert.h>
29594 /* Override any gcc2 internal prototype to avoid an error. */
29599 /* We use char because int might match the return type of a gcc2
29600 builtin and then its argument prototype would still apply. */
29602 /* The GNU C library defines this for functions which it implements
29603 to always fail with ENOSYS. Some functions are actually named
29604 something starting with __ and the normal name is an alias. */
29605 #if defined (__stub_shmat) || defined (__stub___shmat)
29608 char (*f) () = shmat;
29622 rm -f conftest.$ac_objext conftest$ac_exeext
29623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29624 (eval $ac_link) 2>conftest.er1
29626 grep -v '^ *+' conftest.er1 >conftest.err
29628 cat conftest.err >&5
29629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29630 (exit $ac_status); } &&
29631 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29633 (eval $ac_try) 2>&5
29635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29636 (exit $ac_status); }; } &&
29637 { ac_try='test -s conftest$ac_exeext'
29638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29639 (eval $ac_try) 2>&5
29641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29642 (exit $ac_status); }; }; then
29643 ac_cv_func_shmat=yes
29645 echo "$as_me: failed program was:" >&5
29646 sed 's/^/| /' conftest.$ac_ext >&5
29648 ac_cv_func_shmat=no
29650 rm -f conftest.err conftest.$ac_objext \
29651 conftest$ac_exeext conftest.$ac_ext
29653 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29654 echo "${ECHO_T}$ac_cv_func_shmat" >&6
29656 if test $ac_cv_func_shmat = no; then
29657 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29658 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
29659 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29660 echo $ECHO_N "(cached) $ECHO_C" >&6
29662 ac_check_lib_save_LIBS=$LIBS
29664 cat >conftest.$ac_ext <<_ACEOF
29667 cat confdefs.h >>conftest.$ac_ext
29668 cat >>conftest.$ac_ext <<_ACEOF
29669 /* end confdefs.h. */
29671 /* Override any gcc2 internal prototype to avoid an error. */
29675 /* We use char because int might match the return type of a gcc2
29676 builtin and then its argument prototype would still apply. */
29686 rm -f conftest.$ac_objext conftest$ac_exeext
29687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29688 (eval $ac_link) 2>conftest.er1
29690 grep -v '^ *+' conftest.er1 >conftest.err
29692 cat conftest.err >&5
29693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29694 (exit $ac_status); } &&
29695 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29697 (eval $ac_try) 2>&5
29699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29700 (exit $ac_status); }; } &&
29701 { ac_try='test -s conftest$ac_exeext'
29702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29703 (eval $ac_try) 2>&5
29705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29706 (exit $ac_status); }; }; then
29707 ac_cv_lib_ipc_shmat=yes
29709 echo "$as_me: failed program was:" >&5
29710 sed 's/^/| /' conftest.$ac_ext >&5
29712 ac_cv_lib_ipc_shmat=no
29714 rm -f conftest.err conftest.$ac_objext \
29715 conftest$ac_exeext conftest.$ac_ext
29716 LIBS=$ac_check_lib_save_LIBS
29718 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29719 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
29720 if test $ac_cv_lib_ipc_shmat = yes; then
29721 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
29727 # Check for libraries that X11R6 Xt/Xaw programs need.
29728 ac_save_LDFLAGS=$LDFLAGS
29729 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
29730 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29731 # check for ICE first), but we must link in the order -lSM -lICE or
29732 # we get undefined symbols. So assume we have SM if we have ICE.
29733 # These have to be linked with before -lX11, unlike the other
29734 # libraries we check for below, so use a different variable.
29735 # John Interrante, Karl Berry
29736 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29737 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
29738 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29739 echo $ECHO_N "(cached) $ECHO_C" >&6
29741 ac_check_lib_save_LIBS=$LIBS
29742 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29743 cat >conftest.$ac_ext <<_ACEOF
29746 cat confdefs.h >>conftest.$ac_ext
29747 cat >>conftest.$ac_ext <<_ACEOF
29748 /* end confdefs.h. */
29750 /* Override any gcc2 internal prototype to avoid an error. */
29754 /* We use char because int might match the return type of a gcc2
29755 builtin and then its argument prototype would still apply. */
29756 char IceConnectionNumber ();
29760 IceConnectionNumber ();
29765 rm -f conftest.$ac_objext conftest$ac_exeext
29766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29767 (eval $ac_link) 2>conftest.er1
29769 grep -v '^ *+' conftest.er1 >conftest.err
29771 cat conftest.err >&5
29772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29773 (exit $ac_status); } &&
29774 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29776 (eval $ac_try) 2>&5
29778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29779 (exit $ac_status); }; } &&
29780 { ac_try='test -s conftest$ac_exeext'
29781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29782 (eval $ac_try) 2>&5
29784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29785 (exit $ac_status); }; }; then
29786 ac_cv_lib_ICE_IceConnectionNumber=yes
29788 echo "$as_me: failed program was:" >&5
29789 sed 's/^/| /' conftest.$ac_ext >&5
29791 ac_cv_lib_ICE_IceConnectionNumber=no
29793 rm -f conftest.err conftest.$ac_objext \
29794 conftest$ac_exeext conftest.$ac_ext
29795 LIBS=$ac_check_lib_save_LIBS
29797 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29798 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29799 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29800 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
29803 LDFLAGS=$ac_save_LDFLAGS
29808 if test "$no_x" = "yes"; then
29809 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29810 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29811 { (exit 1); exit 1; }; }
29814 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
29815 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
29816 AFMINSTALL=afminstall
29817 COMPILED_X_PROGRAM=0
29821 if test "$wxUSE_X11" = 1; then
29822 if test "$wxUSE_NANOX" = "yes"; then
29823 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
29824 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
29825 if test "x$MICROWIN" = x ; then
29826 echo "$as_me:$LINENO: result: not found" >&5
29827 echo "${ECHO_T}not found" >&6
29828 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
29829 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
29830 { (exit 1); exit 1; }; }
29832 echo "$as_me:$LINENO: result: $MICROWIN" >&5
29833 echo "${ECHO_T}$MICROWIN" >&6
29834 cat >>confdefs.h <<\_ACEOF
29835 #define wxUSE_NANOX 1
29841 if test "$wxUSE_UNICODE" = "yes"; then
29845 if test -z "$PKG_CONFIG"; then
29846 # Extract the first word of "pkg-config", so it can be a program name with args.
29847 set dummy pkg-config; ac_word=$2
29848 echo "$as_me:$LINENO: checking for $ac_word" >&5
29849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29850 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29851 echo $ECHO_N "(cached) $ECHO_C" >&6
29853 case $PKG_CONFIG in
29855 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29859 for as_dir in $PATH
29862 test -z "$as_dir" && as_dir=.
29863 for ac_exec_ext in '' $ac_executable_extensions; do
29864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29865 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29872 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29876 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29878 if test -n "$PKG_CONFIG"; then
29879 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29880 echo "${ECHO_T}$PKG_CONFIG" >&6
29882 echo "$as_me:$LINENO: result: no" >&5
29883 echo "${ECHO_T}no" >&6
29888 if test "$PKG_CONFIG" = "no" ; then
29889 echo "*** The pkg-config script could not be found. Make sure it is"
29890 echo "*** in your path, or set the PKG_CONFIG environment variable"
29891 echo "*** to the full path to pkg-config."
29892 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29894 PKG_CONFIG_MIN_VERSION=0.9.0
29895 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29896 echo "$as_me:$LINENO: checking for pangox" >&5
29897 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
29899 if $PKG_CONFIG --exists "pangox" ; then
29900 echo "$as_me:$LINENO: result: yes" >&5
29901 echo "${ECHO_T}yes" >&6
29904 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
29905 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
29906 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
29907 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
29908 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
29910 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
29911 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
29912 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
29913 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
29914 echo "${ECHO_T}$PANGOX_LIBS" >&6
29918 ## If we have a custom action on failure, don't print errors, but
29919 ## do set a variable so people can do so.
29920 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
29927 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29928 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29932 if test $succeeded = yes; then
29934 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
29935 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
29939 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29940 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29941 { (exit 1); exit 1; }; }
29949 if test -z "$PKG_CONFIG"; then
29950 # Extract the first word of "pkg-config", so it can be a program name with args.
29951 set dummy pkg-config; ac_word=$2
29952 echo "$as_me:$LINENO: checking for $ac_word" >&5
29953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29954 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29955 echo $ECHO_N "(cached) $ECHO_C" >&6
29957 case $PKG_CONFIG in
29959 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29963 for as_dir in $PATH
29966 test -z "$as_dir" && as_dir=.
29967 for ac_exec_ext in '' $ac_executable_extensions; do
29968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29969 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29976 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29980 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29982 if test -n "$PKG_CONFIG"; then
29983 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29984 echo "${ECHO_T}$PKG_CONFIG" >&6
29986 echo "$as_me:$LINENO: result: no" >&5
29987 echo "${ECHO_T}no" >&6
29992 if test "$PKG_CONFIG" = "no" ; then
29993 echo "*** The pkg-config script could not be found. Make sure it is"
29994 echo "*** in your path, or set the PKG_CONFIG environment variable"
29995 echo "*** to the full path to pkg-config."
29996 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29998 PKG_CONFIG_MIN_VERSION=0.9.0
29999 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
30000 echo "$as_me:$LINENO: checking for pangoft2" >&5
30001 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
30003 if $PKG_CONFIG --exists "pangoft2" ; then
30004 echo "$as_me:$LINENO: result: yes" >&5
30005 echo "${ECHO_T}yes" >&6
30008 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
30009 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
30010 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
30011 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
30012 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
30014 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
30015 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
30016 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
30017 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
30018 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
30022 ## If we have a custom action on failure, don't print errors, but
30023 ## do set a variable so people can do so.
30024 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30031 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
30032 echo "*** See http://www.freedesktop.org/software/pkgconfig"
30036 if test $succeeded = yes; then
30038 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30039 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30043 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30044 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30045 wxUSE_PRINTING_ARCHITECTURE="no"
30053 if test -z "$PKG_CONFIG"; then
30054 # Extract the first word of "pkg-config", so it can be a program name with args.
30055 set dummy pkg-config; ac_word=$2
30056 echo "$as_me:$LINENO: checking for $ac_word" >&5
30057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30058 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30059 echo $ECHO_N "(cached) $ECHO_C" >&6
30061 case $PKG_CONFIG in
30063 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30067 for as_dir in $PATH
30070 test -z "$as_dir" && as_dir=.
30071 for ac_exec_ext in '' $ac_executable_extensions; do
30072 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30073 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30080 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30084 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30086 if test -n "$PKG_CONFIG"; then
30087 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30088 echo "${ECHO_T}$PKG_CONFIG" >&6
30090 echo "$as_me:$LINENO: result: no" >&5
30091 echo "${ECHO_T}no" >&6
30096 if test "$PKG_CONFIG" = "no" ; then
30097 echo "*** The pkg-config script could not be found. Make sure it is"
30098 echo "*** in your path, or set the PKG_CONFIG environment variable"
30099 echo "*** to the full path to pkg-config."
30100 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
30102 PKG_CONFIG_MIN_VERSION=0.9.0
30103 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
30104 echo "$as_me:$LINENO: checking for pangoxft" >&5
30105 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
30107 if $PKG_CONFIG --exists "pangoxft" ; then
30108 echo "$as_me:$LINENO: result: yes" >&5
30109 echo "${ECHO_T}yes" >&6
30112 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
30113 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
30114 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
30115 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
30116 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
30118 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
30119 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
30120 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
30121 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
30122 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
30126 ## If we have a custom action on failure, don't print errors, but
30127 ## do set a variable so people can do so.
30128 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30135 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
30136 echo "*** See http://www.freedesktop.org/software/pkgconfig"
30140 if test $succeeded = yes; then
30142 cat >>confdefs.h <<\_ACEOF
30143 #define HAVE_PANGO_XFT 1
30146 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30147 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30151 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30152 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30157 save_CXXFLAGS="$CXXFLAGS"
30159 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30160 LIBS="$LIBS $PANGOX_LIBS"
30162 for ac_func in pango_font_family_is_monospace
30164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30165 echo "$as_me:$LINENO: checking for $ac_func" >&5
30166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30167 if eval "test \"\${$as_ac_var+set}\" = set"; then
30168 echo $ECHO_N "(cached) $ECHO_C" >&6
30170 cat >conftest.$ac_ext <<_ACEOF
30173 cat confdefs.h >>conftest.$ac_ext
30174 cat >>conftest.$ac_ext <<_ACEOF
30175 /* end confdefs.h. */
30176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30178 #define $ac_func innocuous_$ac_func
30180 /* System header to define __stub macros and hopefully few prototypes,
30181 which can conflict with char $ac_func (); below.
30182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30183 <limits.h> exists even on freestanding compilers. */
30186 # include <limits.h>
30188 # include <assert.h>
30193 /* Override any gcc2 internal prototype to avoid an error. */
30198 /* We use char because int might match the return type of a gcc2
30199 builtin and then its argument prototype would still apply. */
30201 /* The GNU C library defines this for functions which it implements
30202 to always fail with ENOSYS. Some functions are actually named
30203 something starting with __ and the normal name is an alias. */
30204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30207 char (*f) () = $ac_func;
30216 return f != $ac_func;
30221 rm -f conftest.$ac_objext conftest$ac_exeext
30222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30223 (eval $ac_link) 2>conftest.er1
30225 grep -v '^ *+' conftest.er1 >conftest.err
30227 cat conftest.err >&5
30228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30229 (exit $ac_status); } &&
30230 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30232 (eval $ac_try) 2>&5
30234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30235 (exit $ac_status); }; } &&
30236 { ac_try='test -s conftest$ac_exeext'
30237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30238 (eval $ac_try) 2>&5
30240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30241 (exit $ac_status); }; }; then
30242 eval "$as_ac_var=yes"
30244 echo "$as_me: failed program was:" >&5
30245 sed 's/^/| /' conftest.$ac_ext >&5
30247 eval "$as_ac_var=no"
30249 rm -f conftest.err conftest.$ac_objext \
30250 conftest$ac_exeext conftest.$ac_ext
30252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30253 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30254 if test `eval echo '${'$as_ac_var'}'` = yes; then
30255 cat >>confdefs.h <<_ACEOF
30256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30262 CXXFLAGS="$save_CXXFLAGS"
30266 wxUSE_UNIVERSAL="yes"
30268 if test "$wxUSE_NANOX" = "yes"; then
30269 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30270 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"
30271 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30273 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30280 if test "$wxUSE_MOTIF" = 1; then
30281 if test "$wxUSE_UNICODE" = "yes"; then
30282 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30283 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30284 { (exit 1); exit 1; }; }
30287 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30288 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
30291 for ac_dir in $SEARCH_INCLUDE /usr/include;
30293 if test -f "$ac_dir/Xm/Xm.h"; then
30294 ac_find_includes=$ac_dir
30299 if test "$ac_find_includes" != "" ; then
30300 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30301 echo "${ECHO_T}found in $ac_find_includes" >&6
30303 if test "x$ac_find_includes" = "x/usr/include"; then
30304 ac_path_to_include=""
30306 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30308 if test $result = 0; then
30309 ac_path_to_include=""
30311 ac_path_to_include=" -I$ac_find_includes"
30315 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30317 save_CXXFLAGS=$CXXFLAGS
30318 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
30320 cat >conftest.$ac_ext <<_ACEOF
30323 cat confdefs.h >>conftest.$ac_ext
30324 cat >>conftest.$ac_ext <<_ACEOF
30325 /* end confdefs.h. */
30334 version = xmUseVersion;
30340 rm -f conftest.$ac_objext
30341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30342 (eval $ac_compile) 2>conftest.er1
30344 grep -v '^ *+' conftest.er1 >conftest.err
30346 cat conftest.err >&5
30347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30348 (exit $ac_status); } &&
30349 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30351 (eval $ac_try) 2>&5
30353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30354 (exit $ac_status); }; } &&
30355 { ac_try='test -s conftest.$ac_objext'
30356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30357 (eval $ac_try) 2>&5
30359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30360 (exit $ac_status); }; }; then
30362 echo "$as_me:$LINENO: result: found in default search path" >&5
30363 echo "${ECHO_T}found in default search path" >&6
30364 COMPILED_X_PROGRAM=1
30367 echo "$as_me: failed program was:" >&5
30368 sed 's/^/| /' conftest.$ac_ext >&5
30371 echo "$as_me:$LINENO: result: no" >&5
30372 echo "${ECHO_T}no" >&6
30373 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30374 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30375 { (exit 1); exit 1; }; }
30379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30381 CXXFLAGS=$save_CXXFLAGS
30385 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30386 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
30389 for ac_dir in $SEARCH_LIB;
30391 for ac_extension in a so sl dylib dll.a; do
30392 if test -f "$ac_dir/libXm.$ac_extension"; then
30393 ac_find_libraries=$ac_dir
30400 if test "x$ac_find_libraries" != "x" ; then
30401 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30402 echo "${ECHO_T}found in $ac_find_libraries" >&6
30405 if test "$ac_find_libraries" = "default location"; then
30408 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30410 if test $result = 0; then
30413 ac_path_to_link=" -L$ac_find_libraries"
30417 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30419 save_CXXFLAGS=$CXXFLAGS
30420 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
30422 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30424 cat >conftest.$ac_ext <<_ACEOF
30427 cat confdefs.h >>conftest.$ac_ext
30428 cat >>conftest.$ac_ext <<_ACEOF
30429 /* end confdefs.h. */
30438 version = xmUseVersion;
30444 rm -f conftest.$ac_objext conftest$ac_exeext
30445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30446 (eval $ac_link) 2>conftest.er1
30448 grep -v '^ *+' conftest.er1 >conftest.err
30450 cat conftest.err >&5
30451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30452 (exit $ac_status); } &&
30453 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30455 (eval $ac_try) 2>&5
30457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30458 (exit $ac_status); }; } &&
30459 { ac_try='test -s conftest$ac_exeext'
30460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30461 (eval $ac_try) 2>&5
30463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30464 (exit $ac_status); }; }; then
30466 echo "$as_me:$LINENO: result: found in default search path" >&5
30467 echo "${ECHO_T}found in default search path" >&6
30468 COMPILED_X_PROGRAM=1
30471 echo "$as_me: failed program was:" >&5
30472 sed 's/^/| /' conftest.$ac_ext >&5
30475 echo "$as_me:$LINENO: result: no" >&5
30476 echo "${ECHO_T}no" >&6
30477 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30478 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30479 { (exit 1); exit 1; }; }
30483 rm -f conftest.err conftest.$ac_objext \
30484 conftest$ac_exeext conftest.$ac_ext
30486 CXXFLAGS=$save_CXXFLAGS
30490 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30491 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
30495 for libp in "" " -lXp"; do
30496 if test "$libs_found" = "0"; then
30497 for libsm_ice in "" " -lSM -lICE"; do
30498 if test "$libs_found" = "0"; then
30500 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30501 save_CXXFLAGS=$CXXFLAGS
30502 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
30504 cat >conftest.$ac_ext <<_ACEOF
30507 cat confdefs.h >>conftest.$ac_ext
30508 cat >>conftest.$ac_ext <<_ACEOF
30509 /* end confdefs.h. */
30512 #include <Xm/List.h>
30518 XmString string = NULL;
30521 XmListAddItem(w, string, position);
30527 rm -f conftest.$ac_objext conftest$ac_exeext
30528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30529 (eval $ac_link) 2>conftest.er1
30531 grep -v '^ *+' conftest.er1 >conftest.err
30533 cat conftest.err >&5
30534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30535 (exit $ac_status); } &&
30536 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30538 (eval $ac_try) 2>&5
30540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30541 (exit $ac_status); }; } &&
30542 { ac_try='test -s conftest$ac_exeext'
30543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30544 (eval $ac_try) 2>&5
30546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30547 (exit $ac_status); }; }; then
30550 libsm_ice_link="$libsm_ice"
30551 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30552 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
30556 echo "$as_me: failed program was:" >&5
30557 sed 's/^/| /' conftest.$ac_ext >&5
30562 rm -f conftest.err conftest.$ac_objext \
30563 conftest$ac_exeext conftest.$ac_ext
30566 CXXFLAGS=$save_CXXFLAGS
30572 if test "$libs_found" = "0"; then
30573 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30574 echo "${ECHO_T}can't find the right libraries" >&6
30575 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30576 echo "$as_me: error: can't link a simple motif program" >&2;}
30577 { (exit 1); exit 1; }; }
30580 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30581 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
30582 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30583 echo $ECHO_N "(cached) $ECHO_C" >&6
30585 ac_check_lib_save_LIBS=$LIBS
30587 cat >conftest.$ac_ext <<_ACEOF
30590 cat confdefs.h >>conftest.$ac_ext
30591 cat >>conftest.$ac_ext <<_ACEOF
30592 /* end confdefs.h. */
30594 /* Override any gcc2 internal prototype to avoid an error. */
30598 /* We use char because int might match the return type of a gcc2
30599 builtin and then its argument prototype would still apply. */
30600 char SgCreateList ();
30609 rm -f conftest.$ac_objext conftest$ac_exeext
30610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30611 (eval $ac_link) 2>conftest.er1
30613 grep -v '^ *+' conftest.er1 >conftest.err
30615 cat conftest.err >&5
30616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30617 (exit $ac_status); } &&
30618 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30620 (eval $ac_try) 2>&5
30622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30623 (exit $ac_status); }; } &&
30624 { ac_try='test -s conftest$ac_exeext'
30625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30626 (eval $ac_try) 2>&5
30628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30629 (exit $ac_status); }; }; then
30630 ac_cv_lib_Sgm_SgCreateList=yes
30632 echo "$as_me: failed program was:" >&5
30633 sed 's/^/| /' conftest.$ac_ext >&5
30635 ac_cv_lib_Sgm_SgCreateList=no
30637 rm -f conftest.err conftest.$ac_objext \
30638 conftest$ac_exeext conftest.$ac_ext
30639 LIBS=$ac_check_lib_save_LIBS
30641 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30642 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
30643 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30644 libsgm_link=" -lSgm"
30648 save_CXXFLAGS=$CXXFLAGS
30649 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
30651 echo "$as_me:$LINENO: checking for Motif 2" >&5
30652 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
30653 if test "${wx_cv_lib_motif2+set}" = set; then
30654 echo $ECHO_N "(cached) $ECHO_C" >&6
30656 cat >conftest.$ac_ext <<_ACEOF
30659 cat confdefs.h >>conftest.$ac_ext
30660 cat >>conftest.$ac_ext <<_ACEOF
30661 /* end confdefs.h. */
30669 #if XmVersion < 2000
30677 rm -f conftest.$ac_objext
30678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30679 (eval $ac_compile) 2>conftest.er1
30681 grep -v '^ *+' conftest.er1 >conftest.err
30683 cat conftest.err >&5
30684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30685 (exit $ac_status); } &&
30686 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30688 (eval $ac_try) 2>&5
30690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30691 (exit $ac_status); }; } &&
30692 { ac_try='test -s conftest.$ac_objext'
30693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30694 (eval $ac_try) 2>&5
30696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30697 (exit $ac_status); }; }; then
30698 wx_cv_lib_motif2="yes"
30700 echo "$as_me: failed program was:" >&5
30701 sed 's/^/| /' conftest.$ac_ext >&5
30703 wx_cv_lib_motif2="no"
30705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30707 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30708 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
30709 if test "$wx_cv_lib_motif2" = "yes"; then
30710 cat >>confdefs.h <<\_ACEOF
30711 #define __WXMOTIF20__ 1
30715 cat >>confdefs.h <<\_ACEOF
30716 #define __WXMOTIF20__ 0
30721 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30722 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
30723 if test "${wx_cv_lib_lesstif+set}" = set; then
30724 echo $ECHO_N "(cached) $ECHO_C" >&6
30726 cat >conftest.$ac_ext <<_ACEOF
30729 cat confdefs.h >>conftest.$ac_ext
30730 cat >>conftest.$ac_ext <<_ACEOF
30731 /* end confdefs.h. */
30739 #if !defined(LesstifVersion) || LesstifVersion <= 0
30747 rm -f conftest.$ac_objext
30748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30749 (eval $ac_compile) 2>conftest.er1
30751 grep -v '^ *+' conftest.er1 >conftest.err
30753 cat conftest.err >&5
30754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30755 (exit $ac_status); } &&
30756 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30758 (eval $ac_try) 2>&5
30760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30761 (exit $ac_status); }; } &&
30762 { ac_try='test -s conftest.$ac_objext'
30763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30764 (eval $ac_try) 2>&5
30766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767 (exit $ac_status); }; }; then
30768 wx_cv_lib_lesstif="yes"
30770 echo "$as_me: failed program was:" >&5
30771 sed 's/^/| /' conftest.$ac_ext >&5
30773 wx_cv_lib_lesstif="no"
30775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30778 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30779 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30780 if test "$wx_cv_lib_lesstif" = "yes"; then
30781 cat >>confdefs.h <<\_ACEOF
30782 #define __WXLESSTIF__ 1
30786 cat >>confdefs.h <<\_ACEOF
30787 #define __WXLESSTIF__ 0
30792 CXXFLAGS=$save_CXXFLAGS
30794 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30799 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30800 if test "$wxUSE_LIBXPM" = "sys"; then
30801 echo "$as_me:$LINENO: checking for Xpm library" >&5
30802 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30805 for ac_dir in $SEARCH_LIB;
30807 for ac_extension in a so sl dylib dll.a; do
30808 if test -f "$ac_dir/libXpm.$ac_extension"; then
30809 ac_find_libraries=$ac_dir
30815 if test "$ac_find_libraries" != "" ; then
30817 if test "$ac_find_libraries" = "default location"; then
30820 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30822 if test $result = 0; then
30825 ac_path_to_link=" -L$ac_find_libraries"
30829 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30830 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30831 echo "${ECHO_T}found in $ac_find_libraries" >&6
30833 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
30834 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
30835 if test "${wx_cv_x11_xpm_h+set}" = set; then
30836 echo $ECHO_N "(cached) $ECHO_C" >&6
30839 save_CXXFLAGS=$CXXFLAGS
30840 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
30842 cat >conftest.$ac_ext <<_ACEOF
30845 cat confdefs.h >>conftest.$ac_ext
30846 cat >>conftest.$ac_ext <<_ACEOF
30847 /* end confdefs.h. */
30849 #include <X11/xpm.h>
30856 version = XpmLibraryVersion();
30862 rm -f conftest.$ac_objext
30863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30864 (eval $ac_compile) 2>conftest.er1
30866 grep -v '^ *+' conftest.er1 >conftest.err
30868 cat conftest.err >&5
30869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30870 (exit $ac_status); } &&
30871 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30873 (eval $ac_try) 2>&5
30875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30876 (exit $ac_status); }; } &&
30877 { ac_try='test -s conftest.$ac_objext'
30878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30879 (eval $ac_try) 2>&5
30881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30882 (exit $ac_status); }; }; then
30883 wx_cv_x11_xpm_h=yes
30885 echo "$as_me: failed program was:" >&5
30886 sed 's/^/| /' conftest.$ac_ext >&5
30891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30893 CXXFLAGS=$save_CXXFLAGS
30897 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
30898 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
30900 if test $wx_cv_x11_xpm_h = "yes"; then
30901 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
30902 cat >>confdefs.h <<\_ACEOF
30903 #define wxHAVE_LIB_XPM 1
30907 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
30908 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
30914 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
30915 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
30916 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
30917 echo $ECHO_N "(cached) $ECHO_C" >&6
30919 ac_check_lib_save_LIBS=$LIBS
30920 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
30921 cat >conftest.$ac_ext <<_ACEOF
30924 cat confdefs.h >>conftest.$ac_ext
30925 cat >>conftest.$ac_ext <<_ACEOF
30926 /* end confdefs.h. */
30928 /* Override any gcc2 internal prototype to avoid an error. */
30932 /* We use char because int might match the return type of a gcc2
30933 builtin and then its argument prototype would still apply. */
30934 char XShapeQueryExtension ();
30938 XShapeQueryExtension ();
30943 rm -f conftest.$ac_objext conftest$ac_exeext
30944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30945 (eval $ac_link) 2>conftest.er1
30947 grep -v '^ *+' conftest.er1 >conftest.err
30949 cat conftest.err >&5
30950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30951 (exit $ac_status); } &&
30952 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30954 (eval $ac_try) 2>&5
30956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30957 (exit $ac_status); }; } &&
30958 { ac_try='test -s conftest$ac_exeext'
30959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30960 (eval $ac_try) 2>&5
30962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30963 (exit $ac_status); }; }; then
30964 ac_cv_lib_Xext_XShapeQueryExtension=yes
30966 echo "$as_me: failed program was:" >&5
30967 sed 's/^/| /' conftest.$ac_ext >&5
30969 ac_cv_lib_Xext_XShapeQueryExtension=no
30971 rm -f conftest.err conftest.$ac_objext \
30972 conftest$ac_exeext conftest.$ac_ext
30973 LIBS=$ac_check_lib_save_LIBS
30975 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
30976 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
30977 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
30979 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
30985 if test "$wxHAVE_XEXT_LIB" = 1; then
30986 save_CXXFLAGS="$CXXFLAGS"
30987 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
30989 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
30990 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
30991 cat >conftest.$ac_ext <<_ACEOF
30994 cat confdefs.h >>conftest.$ac_ext
30995 cat >>conftest.$ac_ext <<_ACEOF
30996 /* end confdefs.h. */
30998 #include <X11/Xlib.h>
30999 #include <X11/extensions/shape.h>
31005 int dummy1, dummy2;
31006 XShapeQueryExtension((Display*)NULL,
31007 (int*)NULL, (int*)NULL);
31013 rm -f conftest.$ac_objext
31014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31015 (eval $ac_compile) 2>conftest.er1
31017 grep -v '^ *+' conftest.er1 >conftest.err
31019 cat conftest.err >&5
31020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31021 (exit $ac_status); } &&
31022 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31024 (eval $ac_try) 2>&5
31026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31027 (exit $ac_status); }; } &&
31028 { ac_try='test -s conftest.$ac_objext'
31029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31030 (eval $ac_try) 2>&5
31032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31033 (exit $ac_status); }; }; then
31035 cat >>confdefs.h <<\_ACEOF
31036 #define HAVE_XSHAPE 1
31039 echo "$as_me:$LINENO: result: found" >&5
31040 echo "${ECHO_T}found" >&6
31043 echo "$as_me: failed program was:" >&5
31044 sed 's/^/| /' conftest.$ac_ext >&5
31047 echo "$as_me:$LINENO: result: not found" >&5
31048 echo "${ECHO_T}not found" >&6
31051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31052 CXXFLAGS="$save_CXXFLAGS"
31057 if test "$wxUSE_MAC" = 1; then
31058 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31059 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31060 if test "$GCC" = yes; then
31061 echo "$as_me:$LINENO: result: gcc" >&5
31062 echo "${ECHO_T}gcc" >&6
31063 CPPFLAGS_PASCAL="-fpascal-strings"
31064 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31065 echo "$as_me:$LINENO: result: xlc" >&5
31066 echo "${ECHO_T}xlc" >&6
31067 CPPFLAGS_PASCAL="-qmacpstr"
31069 echo "$as_me:$LINENO: result: none" >&5
31070 echo "${ECHO_T}none" >&6
31073 if test "x$wxUSE_UNIX" = "xyes"; then
31074 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31076 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31081 WXBASEPORT="_carbon"
31084 if test "$wxUSE_COCOA" = 1; then
31089 if test "$wxUSE_PM" = 1; then
31092 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31093 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31094 if test "${wx_cv_spbcdata+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. */
31118 rm -f conftest.$ac_objext
31119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31120 (eval $ac_compile) 2>conftest.er1
31122 grep -v '^ *+' conftest.er1 >conftest.err
31124 cat conftest.err >&5
31125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31126 (exit $ac_status); } &&
31127 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31129 (eval $ac_try) 2>&5
31131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31132 (exit $ac_status); }; } &&
31133 { ac_try='test -s conftest.$ac_objext'
31134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31135 (eval $ac_try) 2>&5
31137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31138 (exit $ac_status); }; }; then
31141 echo "$as_me: failed program was:" >&5
31142 sed 's/^/| /' conftest.$ac_ext >&5
31147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31151 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31152 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31154 if test $wx_cv_spbcdata = "yes"; then
31155 cat >>confdefs.h <<\_ACEOF
31156 #define HAVE_SPBCDATA 1
31162 if test "$TOOLKIT" = "PM" ; then
31165 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31168 if test "$wxUSE_UNIVERSAL" = "yes"; then
31169 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31173 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31174 DISTDIR="wx\$(TOOLKIT)"
31180 if test "$USE_WIN32" = 1 ; then
31184 GUIDIST="BASE_DIST"
31189 if test "$wxUSE_GUI" = "yes"; then
31190 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31192 for ac_header in X11/Xlib.h
31194 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31196 echo "$as_me:$LINENO: checking for $ac_header" >&5
31197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31199 echo $ECHO_N "(cached) $ECHO_C" >&6
31201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31204 # Is the header compilable?
31205 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31206 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31207 cat >conftest.$ac_ext <<_ACEOF
31210 cat confdefs.h >>conftest.$ac_ext
31211 cat >>conftest.$ac_ext <<_ACEOF
31212 /* end confdefs.h. */
31213 $ac_includes_default
31214 #include <$ac_header>
31216 rm -f conftest.$ac_objext
31217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31218 (eval $ac_compile) 2>conftest.er1
31220 grep -v '^ *+' conftest.er1 >conftest.err
31222 cat conftest.err >&5
31223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31224 (exit $ac_status); } &&
31225 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31227 (eval $ac_try) 2>&5
31229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31230 (exit $ac_status); }; } &&
31231 { ac_try='test -s conftest.$ac_objext'
31232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31233 (eval $ac_try) 2>&5
31235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31236 (exit $ac_status); }; }; then
31237 ac_header_compiler=yes
31239 echo "$as_me: failed program was:" >&5
31240 sed 's/^/| /' conftest.$ac_ext >&5
31242 ac_header_compiler=no
31244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31245 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31246 echo "${ECHO_T}$ac_header_compiler" >&6
31248 # Is the header present?
31249 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31250 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31251 cat >conftest.$ac_ext <<_ACEOF
31254 cat confdefs.h >>conftest.$ac_ext
31255 cat >>conftest.$ac_ext <<_ACEOF
31256 /* end confdefs.h. */
31257 #include <$ac_header>
31259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31260 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31262 grep -v '^ *+' conftest.er1 >conftest.err
31264 cat conftest.err >&5
31265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31266 (exit $ac_status); } >/dev/null; then
31267 if test -s conftest.err; then
31268 ac_cpp_err=$ac_cxx_preproc_warn_flag
31269 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
31276 if test -z "$ac_cpp_err"; then
31277 ac_header_preproc=yes
31279 echo "$as_me: failed program was:" >&5
31280 sed 's/^/| /' conftest.$ac_ext >&5
31282 ac_header_preproc=no
31284 rm -f conftest.err conftest.$ac_ext
31285 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31286 echo "${ECHO_T}$ac_header_preproc" >&6
31288 # So? What about this header?
31289 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31291 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31292 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31293 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31294 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31295 ac_header_preproc=yes
31298 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31299 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31300 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31301 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31302 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31303 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31304 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31305 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31306 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31307 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31308 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31309 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31312 ## ----------------------------------------- ##
31313 ## Report this to wx-dev@lists.wxwidgets.org ##
31314 ## ----------------------------------------- ##
31317 sed "s/^/$as_me: WARNING: /" >&2
31320 echo "$as_me:$LINENO: checking for $ac_header" >&5
31321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31323 echo $ECHO_N "(cached) $ECHO_C" >&6
31325 eval "$as_ac_Header=\$ac_header_preproc"
31327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31331 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31332 cat >>confdefs.h <<_ACEOF
31333 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31341 for ac_header in X11/XKBlib.h
31343 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31344 echo "$as_me:$LINENO: checking for $ac_header" >&5
31345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31347 echo $ECHO_N "(cached) $ECHO_C" >&6
31349 cat >conftest.$ac_ext <<_ACEOF
31352 cat confdefs.h >>conftest.$ac_ext
31353 cat >>conftest.$ac_ext <<_ACEOF
31354 /* end confdefs.h. */
31356 #if HAVE_X11_XLIB_H
31357 #include <X11/Xlib.h>
31361 #include <$ac_header>
31363 rm -f conftest.$ac_objext
31364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31365 (eval $ac_compile) 2>conftest.er1
31367 grep -v '^ *+' conftest.er1 >conftest.err
31369 cat conftest.err >&5
31370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31371 (exit $ac_status); } &&
31372 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31374 (eval $ac_try) 2>&5
31376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31377 (exit $ac_status); }; } &&
31378 { ac_try='test -s conftest.$ac_objext'
31379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31380 (eval $ac_try) 2>&5
31382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31383 (exit $ac_status); }; }; then
31384 eval "$as_ac_Header=yes"
31386 echo "$as_me: failed program was:" >&5
31387 sed 's/^/| /' conftest.$ac_ext >&5
31389 eval "$as_ac_Header=no"
31391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31394 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31395 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31396 cat >>confdefs.h <<_ACEOF
31397 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31412 if test "$TOOLKIT" != "MSW" ; then
31414 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31416 if test "${ac_cv_header_sql_h+set}" = set; then
31417 echo "$as_me:$LINENO: checking for sql.h" >&5
31418 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31419 if test "${ac_cv_header_sql_h+set}" = set; then
31420 echo $ECHO_N "(cached) $ECHO_C" >&6
31422 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31423 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31425 # Is the header compilable?
31426 echo "$as_me:$LINENO: checking sql.h usability" >&5
31427 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
31428 cat >conftest.$ac_ext <<_ACEOF
31431 cat confdefs.h >>conftest.$ac_ext
31432 cat >>conftest.$ac_ext <<_ACEOF
31433 /* end confdefs.h. */
31434 $ac_includes_default
31437 rm -f conftest.$ac_objext
31438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31439 (eval $ac_compile) 2>conftest.er1
31441 grep -v '^ *+' conftest.er1 >conftest.err
31443 cat conftest.err >&5
31444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31445 (exit $ac_status); } &&
31446 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31448 (eval $ac_try) 2>&5
31450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31451 (exit $ac_status); }; } &&
31452 { ac_try='test -s conftest.$ac_objext'
31453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31454 (eval $ac_try) 2>&5
31456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31457 (exit $ac_status); }; }; then
31458 ac_header_compiler=yes
31460 echo "$as_me: failed program was:" >&5
31461 sed 's/^/| /' conftest.$ac_ext >&5
31463 ac_header_compiler=no
31465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31466 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31467 echo "${ECHO_T}$ac_header_compiler" >&6
31469 # Is the header present?
31470 echo "$as_me:$LINENO: checking sql.h presence" >&5
31471 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
31472 cat >conftest.$ac_ext <<_ACEOF
31475 cat confdefs.h >>conftest.$ac_ext
31476 cat >>conftest.$ac_ext <<_ACEOF
31477 /* end confdefs.h. */
31480 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31481 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31483 grep -v '^ *+' conftest.er1 >conftest.err
31485 cat conftest.err >&5
31486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31487 (exit $ac_status); } >/dev/null; then
31488 if test -s conftest.err; then
31489 ac_cpp_err=$ac_cxx_preproc_warn_flag
31490 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
31497 if test -z "$ac_cpp_err"; then
31498 ac_header_preproc=yes
31500 echo "$as_me: failed program was:" >&5
31501 sed 's/^/| /' conftest.$ac_ext >&5
31503 ac_header_preproc=no
31505 rm -f conftest.err conftest.$ac_ext
31506 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31507 echo "${ECHO_T}$ac_header_preproc" >&6
31509 # So? What about this header?
31510 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31512 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
31513 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31514 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
31515 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
31516 ac_header_preproc=yes
31519 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
31520 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
31521 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
31522 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
31523 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
31524 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
31525 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
31526 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
31527 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
31528 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
31529 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
31530 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
31533 ## ----------------------------------------- ##
31534 ## Report this to wx-dev@lists.wxwidgets.org ##
31535 ## ----------------------------------------- ##
31538 sed "s/^/$as_me: WARNING: /" >&2
31541 echo "$as_me:$LINENO: checking for sql.h" >&5
31542 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31543 if test "${ac_cv_header_sql_h+set}" = set; then
31544 echo $ECHO_N "(cached) $ECHO_C" >&6
31546 ac_cv_header_sql_h=$ac_header_preproc
31548 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31549 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31552 if test $ac_cv_header_sql_h = yes; then
31557 if test "x$found_sql_h" = "x1" ; then
31558 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31559 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
31560 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31561 echo $ECHO_N "(cached) $ECHO_C" >&6
31563 ac_check_lib_save_LIBS=$LIBS
31564 LIBS="-liodbc $LIBS"
31565 cat >conftest.$ac_ext <<_ACEOF
31568 cat confdefs.h >>conftest.$ac_ext
31569 cat >>conftest.$ac_ext <<_ACEOF
31570 /* end confdefs.h. */
31572 /* Override any gcc2 internal prototype to avoid an error. */
31576 /* We use char because int might match the return type of a gcc2
31577 builtin and then its argument prototype would still apply. */
31578 char SQLAllocEnv ();
31587 rm -f conftest.$ac_objext conftest$ac_exeext
31588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31589 (eval $ac_link) 2>conftest.er1
31591 grep -v '^ *+' conftest.er1 >conftest.err
31593 cat conftest.err >&5
31594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31595 (exit $ac_status); } &&
31596 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31598 (eval $ac_try) 2>&5
31600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31601 (exit $ac_status); }; } &&
31602 { ac_try='test -s conftest$ac_exeext'
31603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31604 (eval $ac_try) 2>&5
31606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31607 (exit $ac_status); }; }; then
31608 ac_cv_lib_iodbc_SQLAllocEnv=yes
31610 echo "$as_me: failed program was:" >&5
31611 sed 's/^/| /' conftest.$ac_ext >&5
31613 ac_cv_lib_iodbc_SQLAllocEnv=no
31615 rm -f conftest.err conftest.$ac_objext \
31616 conftest$ac_exeext conftest.$ac_ext
31617 LIBS=$ac_check_lib_save_LIBS
31619 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31620 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
31621 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31622 ODBC_LINK=" -liodbc"
31625 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31626 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
31627 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31628 echo $ECHO_N "(cached) $ECHO_C" >&6
31630 ac_check_lib_save_LIBS=$LIBS
31631 LIBS="-lunixodbc $LIBS"
31632 cat >conftest.$ac_ext <<_ACEOF
31635 cat confdefs.h >>conftest.$ac_ext
31636 cat >>conftest.$ac_ext <<_ACEOF
31637 /* end confdefs.h. */
31639 /* Override any gcc2 internal prototype to avoid an error. */
31643 /* We use char because int might match the return type of a gcc2
31644 builtin and then its argument prototype would still apply. */
31645 char SQLAllocEnv ();
31654 rm -f conftest.$ac_objext conftest$ac_exeext
31655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31656 (eval $ac_link) 2>conftest.er1
31658 grep -v '^ *+' conftest.er1 >conftest.err
31660 cat conftest.err >&5
31661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31662 (exit $ac_status); } &&
31663 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31665 (eval $ac_try) 2>&5
31667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31668 (exit $ac_status); }; } &&
31669 { ac_try='test -s conftest$ac_exeext'
31670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31671 (eval $ac_try) 2>&5
31673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31674 (exit $ac_status); }; }; then
31675 ac_cv_lib_unixodbc_SQLAllocEnv=yes
31677 echo "$as_me: failed program was:" >&5
31678 sed 's/^/| /' conftest.$ac_ext >&5
31680 ac_cv_lib_unixodbc_SQLAllocEnv=no
31682 rm -f conftest.err conftest.$ac_objext \
31683 conftest$ac_exeext conftest.$ac_ext
31684 LIBS=$ac_check_lib_save_LIBS
31686 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31687 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
31688 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31689 ODBC_LINK=" -lunixodbc"
31692 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31693 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
31694 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31695 echo $ECHO_N "(cached) $ECHO_C" >&6
31697 ac_check_lib_save_LIBS=$LIBS
31698 LIBS="-lodbc $LIBS"
31699 cat >conftest.$ac_ext <<_ACEOF
31702 cat confdefs.h >>conftest.$ac_ext
31703 cat >>conftest.$ac_ext <<_ACEOF
31704 /* end confdefs.h. */
31706 /* Override any gcc2 internal prototype to avoid an error. */
31710 /* We use char because int might match the return type of a gcc2
31711 builtin and then its argument prototype would still apply. */
31712 char SQLAllocEnv ();
31721 rm -f conftest.$ac_objext conftest$ac_exeext
31722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31723 (eval $ac_link) 2>conftest.er1
31725 grep -v '^ *+' conftest.er1 >conftest.err
31727 cat conftest.err >&5
31728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31729 (exit $ac_status); } &&
31730 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31732 (eval $ac_try) 2>&5
31734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31735 (exit $ac_status); }; } &&
31736 { ac_try='test -s conftest$ac_exeext'
31737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31738 (eval $ac_try) 2>&5
31740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31741 (exit $ac_status); }; }; then
31742 ac_cv_lib_odbc_SQLAllocEnv=yes
31744 echo "$as_me: failed program was:" >&5
31745 sed 's/^/| /' conftest.$ac_ext >&5
31747 ac_cv_lib_odbc_SQLAllocEnv=no
31749 rm -f conftest.err conftest.$ac_objext \
31750 conftest$ac_exeext conftest.$ac_ext
31751 LIBS=$ac_check_lib_save_LIBS
31753 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31754 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31755 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31756 ODBC_LINK=" -lodbc"
31766 if test "x$ODBC_LINK" = "x" ; then
31767 if test "$wxUSE_ODBC" = "sys" ; then
31768 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31769 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31770 { (exit 1); exit 1; }; }
31772 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31773 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31781 if test "$wxUSE_ODBC" = "builtin" ; then
31782 cat >>confdefs.h <<\_ACEOF
31783 #define wxUSE_BUILTIN_IODBC 1
31789 if test "$wxUSE_ODBC" != "no" ; then
31790 cat >>confdefs.h <<\_ACEOF
31791 #define wxUSE_ODBC 1
31794 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31796 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31800 if test "$wxUSE_DISPLAY" = "yes"; then
31801 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31802 echo "$as_me:$LINENO: checking for Xinerama" >&5
31803 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
31806 for ac_dir in $SEARCH_LIB;
31808 for ac_extension in a so sl dylib dll.a; do
31809 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31810 ac_find_libraries=$ac_dir
31816 if test "$ac_find_libraries" != "" ; then
31818 if test "$ac_find_libraries" = "default location"; then
31821 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31823 if test $result = 0; then
31826 ac_path_to_link=" -L$ac_find_libraries"
31830 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31831 LDFLAGS="$LDFLAGS $ac_path_to_link"
31833 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
31834 echo "$as_me:$LINENO: result: yes" >&5
31835 echo "${ECHO_T}yes" >&6
31837 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31838 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31841 for ac_dir in $SEARCH_LIB;
31843 for ac_extension in a so sl dylib dll.a; do
31844 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31845 ac_find_libraries=$ac_dir
31851 if test "$ac_find_libraries" != "" ; then
31852 echo "$as_me:$LINENO: result: yes" >&5
31853 echo "${ECHO_T}yes" >&6
31855 for ac_header in X11/extensions/xf86vmode.h
31857 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31858 echo "$as_me:$LINENO: checking for $ac_header" >&5
31859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31861 echo $ECHO_N "(cached) $ECHO_C" >&6
31863 cat >conftest.$ac_ext <<_ACEOF
31866 cat confdefs.h >>conftest.$ac_ext
31867 cat >>conftest.$ac_ext <<_ACEOF
31868 /* end confdefs.h. */
31870 #if HAVE_X11_XLIB_H
31871 #include <X11/Xlib.h>
31875 #include <$ac_header>
31877 rm -f conftest.$ac_objext
31878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31879 (eval $ac_compile) 2>conftest.er1
31881 grep -v '^ *+' conftest.er1 >conftest.err
31883 cat conftest.err >&5
31884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31885 (exit $ac_status); } &&
31886 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31888 (eval $ac_try) 2>&5
31890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31891 (exit $ac_status); }; } &&
31892 { ac_try='test -s conftest.$ac_objext'
31893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31894 (eval $ac_try) 2>&5
31896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31897 (exit $ac_status); }; }; then
31898 eval "$as_ac_Header=yes"
31900 echo "$as_me: failed program was:" >&5
31901 sed 's/^/| /' conftest.$ac_ext >&5
31903 eval "$as_ac_Header=no"
31905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31909 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31910 cat >>confdefs.h <<_ACEOF
31911 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31914 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
31921 echo "$as_me:$LINENO: result: no" >&5
31922 echo "${ECHO_T}no" >&6
31926 echo "$as_me:$LINENO: result: no" >&5
31927 echo "${ECHO_T}no" >&6
31928 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31929 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31932 elif test "$wxUSE_MSW" = 1; then
31934 for ac_header in ddraw.h
31936 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31937 echo "$as_me:$LINENO: checking for $ac_header" >&5
31938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31940 echo $ECHO_N "(cached) $ECHO_C" >&6
31942 cat >conftest.$ac_ext <<_ACEOF
31945 cat confdefs.h >>conftest.$ac_ext
31946 cat >>conftest.$ac_ext <<_ACEOF
31947 /* end confdefs.h. */
31948 #include <windows.h>
31950 #include <$ac_header>
31952 rm -f conftest.$ac_objext
31953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31954 (eval $ac_compile) 2>conftest.er1
31956 grep -v '^ *+' conftest.er1 >conftest.err
31958 cat conftest.err >&5
31959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31960 (exit $ac_status); } &&
31961 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31963 (eval $ac_try) 2>&5
31965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31966 (exit $ac_status); }; } &&
31967 { ac_try='test -s conftest.$ac_objext'
31968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31969 (eval $ac_try) 2>&5
31971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31972 (exit $ac_status); }; }; then
31973 eval "$as_ac_Header=yes"
31975 echo "$as_me: failed program was:" >&5
31976 sed 's/^/| /' conftest.$ac_ext >&5
31978 eval "$as_ac_Header=no"
31980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31983 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31984 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31985 cat >>confdefs.h <<_ACEOF
31986 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31998 if test "$wxUSE_OPENGL" = "yes"; then
31999 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32000 OPENGL_LIBS="-framework OpenGL -framework AGL"
32001 elif test "$wxUSE_MSW" = 1; then
32002 OPENGL_LIBS="-lopengl32 -lglu32"
32007 for ac_dir in $SEARCH_INCLUDE /usr/include;
32009 if test -f "$ac_dir/GL/gl.h"; then
32010 ac_find_includes=$ac_dir
32015 if test "$ac_find_includes" != "" ; then
32016 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32017 echo "${ECHO_T}found in $ac_find_includes" >&6
32019 if test "x$ac_find_includes" = "x/usr/include"; then
32020 ac_path_to_include=""
32022 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32024 if test $result = 0; then
32025 ac_path_to_include=""
32027 ac_path_to_include=" -I$ac_find_includes"
32031 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32034 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32035 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32036 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32037 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32038 echo $ECHO_N "(cached) $ECHO_C" >&6
32040 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32041 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32043 # Is the header compilable?
32044 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32045 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32046 cat >conftest.$ac_ext <<_ACEOF
32049 cat confdefs.h >>conftest.$ac_ext
32050 cat >>conftest.$ac_ext <<_ACEOF
32051 /* end confdefs.h. */
32052 $ac_includes_default
32055 rm -f conftest.$ac_objext
32056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32057 (eval $ac_compile) 2>conftest.er1
32059 grep -v '^ *+' conftest.er1 >conftest.err
32061 cat conftest.err >&5
32062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32063 (exit $ac_status); } &&
32064 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32066 (eval $ac_try) 2>&5
32068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32069 (exit $ac_status); }; } &&
32070 { ac_try='test -s conftest.$ac_objext'
32071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32072 (eval $ac_try) 2>&5
32074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32075 (exit $ac_status); }; }; then
32076 ac_header_compiler=yes
32078 echo "$as_me: failed program was:" >&5
32079 sed 's/^/| /' conftest.$ac_ext >&5
32081 ac_header_compiler=no
32083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32084 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32085 echo "${ECHO_T}$ac_header_compiler" >&6
32087 # Is the header present?
32088 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32089 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32090 cat >conftest.$ac_ext <<_ACEOF
32093 cat confdefs.h >>conftest.$ac_ext
32094 cat >>conftest.$ac_ext <<_ACEOF
32095 /* end confdefs.h. */
32098 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32099 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32101 grep -v '^ *+' conftest.er1 >conftest.err
32103 cat conftest.err >&5
32104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32105 (exit $ac_status); } >/dev/null; then
32106 if test -s conftest.err; then
32107 ac_cpp_err=$ac_cxx_preproc_warn_flag
32108 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32115 if test -z "$ac_cpp_err"; then
32116 ac_header_preproc=yes
32118 echo "$as_me: failed program was:" >&5
32119 sed 's/^/| /' conftest.$ac_ext >&5
32121 ac_header_preproc=no
32123 rm -f conftest.err conftest.$ac_ext
32124 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32125 echo "${ECHO_T}$ac_header_preproc" >&6
32127 # So? What about this header?
32128 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32130 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
32131 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32132 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
32133 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
32134 ac_header_preproc=yes
32137 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
32138 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
32139 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
32140 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
32141 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
32142 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
32143 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
32144 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
32145 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
32146 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
32147 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
32148 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
32151 ## ----------------------------------------- ##
32152 ## Report this to wx-dev@lists.wxwidgets.org ##
32153 ## ----------------------------------------- ##
32156 sed "s/^/$as_me: WARNING: /" >&2
32159 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32160 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32161 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32162 echo $ECHO_N "(cached) $ECHO_C" >&6
32164 ac_cv_header_GL_gl_h=$ac_header_preproc
32166 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32167 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32170 if test $ac_cv_header_GL_gl_h = yes; then
32174 echo "$as_me:$LINENO: checking for -lGL" >&5
32175 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
32178 for ac_dir in $SEARCH_LIB;
32180 for ac_extension in a so sl dylib dll.a; do
32181 if test -f "$ac_dir/libGL.$ac_extension"; then
32182 ac_find_libraries=$ac_dir
32188 if test "$ac_find_libraries" != "" ; then
32189 echo "$as_me:$LINENO: result: yes" >&5
32190 echo "${ECHO_T}yes" >&6
32193 if test "$ac_find_libraries" = "default location"; then
32196 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32198 if test $result = 0; then
32201 ac_path_to_link=" -L$ac_find_libraries"
32205 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32206 LDFLAGS_GL="$ac_path_to_link"
32209 echo "$as_me:$LINENO: checking for -lGLU" >&5
32210 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
32213 for ac_dir in $SEARCH_LIB;
32215 for ac_extension in a so sl dylib dll.a; do
32216 if test -f "$ac_dir/libGLU.$ac_extension"; then
32217 ac_find_libraries=$ac_dir
32223 if test "$ac_find_libraries" != "" ; then
32225 if test "$ac_find_libraries" = "default location"; then
32228 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32230 if test $result = 0; then
32233 ac_path_to_link=" -L$ac_find_libraries"
32237 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32238 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32239 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32243 OPENGL_LIBS="-lGL -lGLU"
32244 echo "$as_me:$LINENO: result: yes" >&5
32245 echo "${ECHO_T}yes" >&6
32247 echo "$as_me:$LINENO: result: no" >&5
32248 echo "${ECHO_T}no" >&6
32251 echo "$as_me:$LINENO: result: no" >&5
32252 echo "${ECHO_T}no" >&6
32255 if test "$found_gl" != 1; then
32256 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32257 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
32260 for ac_dir in $SEARCH_LIB;
32262 for ac_extension in a so sl dylib dll.a; do
32263 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32264 ac_find_libraries=$ac_dir
32270 if test "$ac_find_libraries" != "" ; then
32272 if test "$ac_find_libraries" = "default location"; then
32275 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32277 if test $result = 0; then
32280 ac_path_to_link=" -L$ac_find_libraries"
32284 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32285 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32286 echo "$as_me:$LINENO: result: yes" >&5
32287 echo "${ECHO_T}yes" >&6
32289 echo "$as_me:$LINENO: result: no" >&5
32290 echo "${ECHO_T}no" >&6
32298 if test "x$OPENGL_LIBS" = "x"; then
32299 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32300 echo "$as_me: error: OpenGL libraries not available" >&2;}
32301 { (exit 1); exit 1; }; }
32305 if test "$wxUSE_OPENGL" = "yes"; then
32307 cat >>confdefs.h <<\_ACEOF
32308 #define wxUSE_OPENGL 1
32311 cat >>confdefs.h <<\_ACEOF
32312 #define wxUSE_GLCANVAS 1
32315 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32320 if test -n "$TOOLKIT" ; then
32321 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32326 if test "$wxUSE_SHARED" = "yes"; then
32330 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32331 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32336 if test "$wxUSE_SHARED" = "yes"; then
32339 found_versioning=no
32342 if test $found_versioning = no ; then
32343 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32344 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
32345 if test "${wx_cv_version_script+set}" = set; then
32346 echo $ECHO_N "(cached) $ECHO_C" >&6
32349 echo "VER_1 { *; };" >conftest.sym
32350 echo "int main() { return 0; }" >conftest.cpp
32353 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32354 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32356 (eval $ac_try) 2>&5
32358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32359 (exit $ac_status); }; } ; then
32360 if test -s conftest.stderr ; then
32361 wx_cv_version_script=no
32363 wx_cv_version_script=yes
32366 wx_cv_version_script=no
32369 if test $wx_cv_version_script = yes
32371 echo "struct B { virtual ~B() { } }; \
32372 struct D : public B { }; \
32373 void F() { D d; }" > conftest.cpp
32376 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32377 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32379 (eval $ac_try) 2>&5
32381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32382 (exit $ac_status); }; } &&
32384 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32385 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32387 (eval $ac_try) 2>&5
32389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32390 (exit $ac_status); }; }
32393 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32394 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32396 (eval $ac_try) 2>&5
32398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32399 (exit $ac_status); }; }
32401 wx_cv_version_script=yes
32403 wx_cv_version_script=no
32408 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32409 rm -f conftest1.output conftest2.output conftest3.output
32412 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32413 echo "${ECHO_T}$wx_cv_version_script" >&6
32414 if test $wx_cv_version_script = yes ; then
32415 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
32421 *-*-linux* | *-*-gnu* )
32422 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
32423 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32427 if test "$GCC" = yes ; then
32428 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
32430 saveLdflags="$LDFLAGS"
32431 LDFLAGS="$saveLdflags -Wl,-rpath,/"
32432 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32433 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
32434 cat >conftest.$ac_ext <<_ACEOF
32437 cat confdefs.h >>conftest.$ac_ext
32438 cat >>conftest.$ac_ext <<_ACEOF
32439 /* end confdefs.h. */
32449 rm -f conftest.$ac_objext conftest$ac_exeext
32450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32451 (eval $ac_link) 2>conftest.er1
32453 grep -v '^ *+' conftest.er1 >conftest.err
32455 cat conftest.err >&5
32456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32457 (exit $ac_status); } &&
32458 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32460 (eval $ac_try) 2>&5
32462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32463 (exit $ac_status); }; } &&
32464 { ac_try='test -s conftest$ac_exeext'
32465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32466 (eval $ac_try) 2>&5
32468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32469 (exit $ac_status); }; }; then
32471 echo "$as_me:$LINENO: result: yes" >&5
32472 echo "${ECHO_T}yes" >&6
32473 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
32474 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32477 echo "$as_me: failed program was:" >&5
32478 sed 's/^/| /' conftest.$ac_ext >&5
32481 echo "$as_me:$LINENO: result: no" >&5
32482 echo "${ECHO_T}no" >&6
32483 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32484 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
32485 LDFLAGS="$saveLdflags -Wl,-R,/"
32486 cat >conftest.$ac_ext <<_ACEOF
32489 cat confdefs.h >>conftest.$ac_ext
32490 cat >>conftest.$ac_ext <<_ACEOF
32491 /* end confdefs.h. */
32501 rm -f conftest.$ac_objext conftest$ac_exeext
32502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32503 (eval $ac_link) 2>conftest.er1
32505 grep -v '^ *+' conftest.er1 >conftest.err
32507 cat conftest.err >&5
32508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32509 (exit $ac_status); } &&
32510 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32512 (eval $ac_try) 2>&5
32514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32515 (exit $ac_status); }; } &&
32516 { ac_try='test -s conftest$ac_exeext'
32517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32518 (eval $ac_try) 2>&5
32520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32521 (exit $ac_status); }; }; then
32523 echo "$as_me:$LINENO: result: yes" >&5
32524 echo "${ECHO_T}yes" >&6
32525 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
32526 WXCONFIG_RPATH="-Wl,-R,\$libdir"
32529 echo "$as_me: failed program was:" >&5
32530 sed 's/^/| /' conftest.$ac_ext >&5
32533 echo "$as_me:$LINENO: result: no" >&5
32534 echo "${ECHO_T}no" >&6
32537 rm -f conftest.err conftest.$ac_objext \
32538 conftest$ac_exeext conftest.$ac_ext
32541 rm -f conftest.err conftest.$ac_objext \
32542 conftest$ac_exeext conftest.$ac_ext
32543 LDFLAGS="$saveLdflags"
32545 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
32546 WXCONFIG_RPATH="-R\$libdir"
32551 install_name_tool=`which install_name_tool`
32552 if test "$install_name_tool" -a -x "$install_name_tool"; then
32553 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32554 cat <<EOF >change-install-names
32556 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32557 inst_cmd="install_name_tool "
32558 for i in \${libnames} ; do
32559 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32563 chmod +x change-install-names
32567 *-*-cygwin* | *-*-mingw32* )
32568 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32572 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
32573 WXCONFIG_RPATH="-Wl,+b,\$libdir"
32578 if test $wxUSE_RPATH = "no"; then
32579 SAMPLES_RPATH_FLAG=''
32580 SAMPLES_RPATH_POSTLINK=''
32588 config_linkage_component="-static"
32595 lib_unicode_suffix=
32597 if test "$wxUSE_UNICODE" = "yes"; then
32598 lib_unicode_suffix=u
32599 WX_CHARTYPE="unicode"
32604 WX_DEBUGTYPE="release"
32606 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32608 WX_DEBUGTYPE="debug"
32612 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
32613 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
32616 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32620 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32622 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32624 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32626 if test "$cross_compiling" = "yes"; then
32627 HOST_SUFFIX="-$host_alias"
32628 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
32629 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
32632 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32633 if test "${TOOLKIT_DIR}" = "os2"; then
32634 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32636 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32641 if test "$wxUSE_COCOA" = 1; then
32645 ac_cpp='$CPP $CPPFLAGS'
32646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32652 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32653 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
32654 cat >conftest.$ac_ext <<_ACEOF
32657 cat confdefs.h >>conftest.$ac_ext
32658 cat >>conftest.$ac_ext <<_ACEOF
32659 /* end confdefs.h. */
32660 #include <AppKit/NSEvent.h>
32661 #include <CoreFoundation/CoreFoundation.h>
32671 rm -f conftest.$ac_objext
32672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32673 (eval $ac_compile) 2>conftest.er1
32675 grep -v '^ *+' conftest.er1 >conftest.err
32677 cat conftest.err >&5
32678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32679 (exit $ac_status); } &&
32680 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32682 (eval $ac_try) 2>&5
32684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32685 (exit $ac_status); }; } &&
32686 { ac_try='test -s conftest.$ac_objext'
32687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32688 (eval $ac_try) 2>&5
32690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32691 (exit $ac_status); }; }; then
32692 echo "$as_me:$LINENO: result: no" >&5
32693 echo "${ECHO_T}no" >&6
32695 echo "$as_me: failed program was:" >&5
32696 sed 's/^/| /' conftest.$ac_ext >&5
32698 echo "$as_me:$LINENO: result: yes" >&5
32699 echo "${ECHO_T}yes" >&6
32700 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32701 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
32702 cat >conftest.$ac_ext <<_ACEOF
32705 cat confdefs.h >>conftest.$ac_ext
32706 cat >>conftest.$ac_ext <<_ACEOF
32707 /* end confdefs.h. */
32708 #define __Point__ 1
32709 #include <AppKit/NSEvent.h>
32710 #include <CoreFoundation/CoreFoundation.h>
32720 rm -f conftest.$ac_objext
32721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32722 (eval $ac_compile) 2>conftest.er1
32724 grep -v '^ *+' conftest.er1 >conftest.err
32726 cat conftest.err >&5
32727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32728 (exit $ac_status); } &&
32729 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32731 (eval $ac_try) 2>&5
32733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32734 (exit $ac_status); }; } &&
32735 { ac_try='test -s conftest.$ac_objext'
32736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32737 (eval $ac_try) 2>&5
32739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32740 (exit $ac_status); }; }; then
32741 echo "$as_me:$LINENO: result: yes" >&5
32742 echo "${ECHO_T}yes" >&6
32743 cat >>confdefs.h <<\_ACEOF
32744 #define __Point__ 1
32749 echo "$as_me: failed program was:" >&5
32750 sed 's/^/| /' conftest.$ac_ext >&5
32752 { { echo "$as_me:$LINENO: error: no
32753 See \`config.log' for more details." >&5
32754 echo "$as_me: error: no
32755 See \`config.log' for more details." >&2;}
32756 { (exit 1); exit 1; }; }
32759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32764 ac_cpp='$CXXCPP $CPPFLAGS'
32765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32771 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32772 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32773 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32775 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
32777 # Extract the first word of "Rez", so it can be a program name with args.
32778 set dummy Rez; ac_word=$2
32779 echo "$as_me:$LINENO: checking for $ac_word" >&5
32780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32781 if test "${ac_cv_prog_REZ+set}" = set; then
32782 echo $ECHO_N "(cached) $ECHO_C" >&6
32784 if test -n "$REZ"; then
32785 ac_cv_prog_REZ="$REZ" # Let the user override the test.
32787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32788 for as_dir in $PATH
32791 test -z "$as_dir" && as_dir=.
32792 for ac_exec_ext in '' $ac_executable_extensions; do
32793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32794 ac_cv_prog_REZ="Rez"
32795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32801 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
32804 REZ=$ac_cv_prog_REZ
32805 if test -n "$REZ"; then
32806 echo "$as_me:$LINENO: result: $REZ" >&5
32807 echo "${ECHO_T}$REZ" >&6
32809 echo "$as_me:$LINENO: result: no" >&5
32810 echo "${ECHO_T}no" >&6
32813 # Extract the first word of "DeRez", so it can be a program name with args.
32814 set dummy DeRez; ac_word=$2
32815 echo "$as_me:$LINENO: checking for $ac_word" >&5
32816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32817 if test "${ac_cv_prog_DEREZ+set}" = set; then
32818 echo $ECHO_N "(cached) $ECHO_C" >&6
32820 if test -n "$DEREZ"; then
32821 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
32823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32824 for as_dir in $PATH
32827 test -z "$as_dir" && as_dir=.
32828 for ac_exec_ext in '' $ac_executable_extensions; do
32829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32830 ac_cv_prog_DEREZ="DeRez"
32831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32837 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
32840 DEREZ=$ac_cv_prog_DEREZ
32841 if test -n "$DEREZ"; then
32842 echo "$as_me:$LINENO: result: $DEREZ" >&5
32843 echo "${ECHO_T}$DEREZ" >&6
32845 echo "$as_me:$LINENO: result: no" >&5
32846 echo "${ECHO_T}no" >&6
32849 # Extract the first word of "SetFile", so it can be a program name with args.
32850 set dummy SetFile; ac_word=$2
32851 echo "$as_me:$LINENO: checking for $ac_word" >&5
32852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32853 if test "${ac_cv_prog_SETFILE+set}" = set; then
32854 echo $ECHO_N "(cached) $ECHO_C" >&6
32856 if test -n "$SETFILE"; then
32857 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
32859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32860 for as_dir in $PATH
32863 test -z "$as_dir" && as_dir=.
32864 for ac_exec_ext in '' $ac_executable_extensions; do
32865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32866 ac_cv_prog_SETFILE="SetFile"
32867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32873 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
32876 SETFILE=$ac_cv_prog_SETFILE
32877 if test -n "$SETFILE"; then
32878 echo "$as_me:$LINENO: result: $SETFILE" >&5
32879 echo "${ECHO_T}$SETFILE" >&6
32881 echo "$as_me:$LINENO: result: no" >&5
32882 echo "${ECHO_T}no" >&6
32886 MACSETFILE="\$(SETFILE)"
32888 if test "$wxUSE_MAC" = 1; then
32889 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32891 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
32893 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32894 RESCOMP="echo -n \| $REZ"
32895 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32901 if test "$wxUSE_PM" = 1; then
32903 WXCONFIG_RESFLAGS="-ep"
32905 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
32907 POSTLINK_COMMAND="@true"
32914 echo "$as_me:$LINENO: checking for mode_t" >&5
32915 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
32916 if test "${ac_cv_type_mode_t+set}" = set; then
32917 echo $ECHO_N "(cached) $ECHO_C" >&6
32919 cat >conftest.$ac_ext <<_ACEOF
32922 cat confdefs.h >>conftest.$ac_ext
32923 cat >>conftest.$ac_ext <<_ACEOF
32924 /* end confdefs.h. */
32925 $ac_includes_default
32931 if (sizeof (mode_t))
32937 rm -f conftest.$ac_objext
32938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32939 (eval $ac_compile) 2>conftest.er1
32941 grep -v '^ *+' conftest.er1 >conftest.err
32943 cat conftest.err >&5
32944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32945 (exit $ac_status); } &&
32946 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32948 (eval $ac_try) 2>&5
32950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32951 (exit $ac_status); }; } &&
32952 { ac_try='test -s conftest.$ac_objext'
32953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32954 (eval $ac_try) 2>&5
32956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32957 (exit $ac_status); }; }; then
32958 ac_cv_type_mode_t=yes
32960 echo "$as_me: failed program was:" >&5
32961 sed 's/^/| /' conftest.$ac_ext >&5
32963 ac_cv_type_mode_t=no
32965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32967 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
32968 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
32969 if test $ac_cv_type_mode_t = yes; then
32973 cat >>confdefs.h <<_ACEOF
32979 echo "$as_me:$LINENO: checking for off_t" >&5
32980 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32981 if test "${ac_cv_type_off_t+set}" = set; then
32982 echo $ECHO_N "(cached) $ECHO_C" >&6
32984 cat >conftest.$ac_ext <<_ACEOF
32987 cat confdefs.h >>conftest.$ac_ext
32988 cat >>conftest.$ac_ext <<_ACEOF
32989 /* end confdefs.h. */
32990 $ac_includes_default
32996 if (sizeof (off_t))
33002 rm -f conftest.$ac_objext
33003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33004 (eval $ac_compile) 2>conftest.er1
33006 grep -v '^ *+' conftest.er1 >conftest.err
33008 cat conftest.err >&5
33009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33010 (exit $ac_status); } &&
33011 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33013 (eval $ac_try) 2>&5
33015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33016 (exit $ac_status); }; } &&
33017 { ac_try='test -s conftest.$ac_objext'
33018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33019 (eval $ac_try) 2>&5
33021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33022 (exit $ac_status); }; }; then
33023 ac_cv_type_off_t=yes
33025 echo "$as_me: failed program was:" >&5
33026 sed 's/^/| /' conftest.$ac_ext >&5
33028 ac_cv_type_off_t=no
33030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33032 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33033 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33034 if test $ac_cv_type_off_t = yes; then
33038 cat >>confdefs.h <<_ACEOF
33044 echo "$as_me:$LINENO: checking for pid_t" >&5
33045 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
33046 if test "${ac_cv_type_pid_t+set}" = set; then
33047 echo $ECHO_N "(cached) $ECHO_C" >&6
33049 cat >conftest.$ac_ext <<_ACEOF
33052 cat confdefs.h >>conftest.$ac_ext
33053 cat >>conftest.$ac_ext <<_ACEOF
33054 /* end confdefs.h. */
33055 $ac_includes_default
33061 if (sizeof (pid_t))
33067 rm -f conftest.$ac_objext
33068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33069 (eval $ac_compile) 2>conftest.er1
33071 grep -v '^ *+' conftest.er1 >conftest.err
33073 cat conftest.err >&5
33074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33075 (exit $ac_status); } &&
33076 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33078 (eval $ac_try) 2>&5
33080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33081 (exit $ac_status); }; } &&
33082 { ac_try='test -s conftest.$ac_objext'
33083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33084 (eval $ac_try) 2>&5
33086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33087 (exit $ac_status); }; }; then
33088 ac_cv_type_pid_t=yes
33090 echo "$as_me: failed program was:" >&5
33091 sed 's/^/| /' conftest.$ac_ext >&5
33093 ac_cv_type_pid_t=no
33095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33097 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33098 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
33099 if test $ac_cv_type_pid_t = yes; then
33103 cat >>confdefs.h <<_ACEOF
33109 echo "$as_me:$LINENO: checking for size_t" >&5
33110 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
33111 if test "${ac_cv_type_size_t+set}" = set; then
33112 echo $ECHO_N "(cached) $ECHO_C" >&6
33114 cat >conftest.$ac_ext <<_ACEOF
33117 cat confdefs.h >>conftest.$ac_ext
33118 cat >>conftest.$ac_ext <<_ACEOF
33119 /* end confdefs.h. */
33120 $ac_includes_default
33126 if (sizeof (size_t))
33132 rm -f conftest.$ac_objext
33133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33134 (eval $ac_compile) 2>conftest.er1
33136 grep -v '^ *+' conftest.er1 >conftest.err
33138 cat conftest.err >&5
33139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33140 (exit $ac_status); } &&
33141 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33143 (eval $ac_try) 2>&5
33145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33146 (exit $ac_status); }; } &&
33147 { ac_try='test -s conftest.$ac_objext'
33148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33149 (eval $ac_try) 2>&5
33151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33152 (exit $ac_status); }; }; then
33153 ac_cv_type_size_t=yes
33155 echo "$as_me: failed program was:" >&5
33156 sed 's/^/| /' conftest.$ac_ext >&5
33158 ac_cv_type_size_t=no
33160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33162 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33163 echo "${ECHO_T}$ac_cv_type_size_t" >&6
33164 if test $ac_cv_type_size_t = yes; then
33168 cat >>confdefs.h <<_ACEOF
33169 #define size_t unsigned
33174 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33175 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
33176 if test "${ac_cv_type_uid_t+set}" = set; then
33177 echo $ECHO_N "(cached) $ECHO_C" >&6
33179 cat >conftest.$ac_ext <<_ACEOF
33182 cat confdefs.h >>conftest.$ac_ext
33183 cat >>conftest.$ac_ext <<_ACEOF
33184 /* end confdefs.h. */
33185 #include <sys/types.h>
33188 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33189 $EGREP "uid_t" >/dev/null 2>&1; then
33190 ac_cv_type_uid_t=yes
33192 ac_cv_type_uid_t=no
33197 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33198 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
33199 if test $ac_cv_type_uid_t = no; then
33201 cat >>confdefs.h <<\_ACEOF
33206 cat >>confdefs.h <<\_ACEOF
33213 echo "$as_me:$LINENO: checking for ssize_t" >&5
33214 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
33215 if test "${ac_cv_type_ssize_t+set}" = set; then
33216 echo $ECHO_N "(cached) $ECHO_C" >&6
33218 cat >conftest.$ac_ext <<_ACEOF
33221 cat confdefs.h >>conftest.$ac_ext
33222 cat >>conftest.$ac_ext <<_ACEOF
33223 /* end confdefs.h. */
33224 $ac_includes_default
33230 if (sizeof (ssize_t))
33236 rm -f conftest.$ac_objext
33237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33238 (eval $ac_compile) 2>conftest.er1
33240 grep -v '^ *+' conftest.er1 >conftest.err
33242 cat conftest.err >&5
33243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33244 (exit $ac_status); } &&
33245 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33247 (eval $ac_try) 2>&5
33249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33250 (exit $ac_status); }; } &&
33251 { ac_try='test -s conftest.$ac_objext'
33252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33253 (eval $ac_try) 2>&5
33255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33256 (exit $ac_status); }; }; then
33257 ac_cv_type_ssize_t=yes
33259 echo "$as_me: failed program was:" >&5
33260 sed 's/^/| /' conftest.$ac_ext >&5
33262 ac_cv_type_ssize_t=no
33264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33266 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33267 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
33268 if test $ac_cv_type_ssize_t = yes; then
33270 cat >>confdefs.h <<_ACEOF
33271 #define HAVE_SSIZE_T 1
33278 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33279 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
33280 if test "${wx_cv_size_t_is_uint+set}" = set; then
33281 echo $ECHO_N "(cached) $ECHO_C" >&6
33284 cat >conftest.$ac_ext <<_ACEOF
33287 cat confdefs.h >>conftest.$ac_ext
33288 cat >>conftest.$ac_ext <<_ACEOF
33289 /* end confdefs.h. */
33290 #include <stddef.h>
33297 struct Foo { void foo(size_t); void foo(unsigned int); };
33305 rm -f conftest.$ac_objext
33306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33307 (eval $ac_compile) 2>conftest.er1
33309 grep -v '^ *+' conftest.er1 >conftest.err
33311 cat conftest.err >&5
33312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33313 (exit $ac_status); } &&
33314 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33316 (eval $ac_try) 2>&5
33318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33319 (exit $ac_status); }; } &&
33320 { ac_try='test -s conftest.$ac_objext'
33321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33322 (eval $ac_try) 2>&5
33324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33325 (exit $ac_status); }; }; then
33326 wx_cv_size_t_is_uint=no
33328 echo "$as_me: failed program was:" >&5
33329 sed 's/^/| /' conftest.$ac_ext >&5
33331 wx_cv_size_t_is_uint=yes
33334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33338 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33339 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
33341 if test "$wx_cv_size_t_is_uint" = "yes"; then
33342 cat >>confdefs.h <<\_ACEOF
33343 #define wxSIZE_T_IS_UINT 1
33347 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33348 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
33349 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33350 echo $ECHO_N "(cached) $ECHO_C" >&6
33352 cat >conftest.$ac_ext <<_ACEOF
33355 cat confdefs.h >>conftest.$ac_ext
33356 cat >>conftest.$ac_ext <<_ACEOF
33357 /* end confdefs.h. */
33358 #include <stddef.h>
33365 struct Foo { void foo(size_t); void foo(unsigned long); };
33373 rm -f conftest.$ac_objext
33374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33375 (eval $ac_compile) 2>conftest.er1
33377 grep -v '^ *+' conftest.er1 >conftest.err
33379 cat conftest.err >&5
33380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33381 (exit $ac_status); } &&
33382 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33384 (eval $ac_try) 2>&5
33386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33387 (exit $ac_status); }; } &&
33388 { ac_try='test -s conftest.$ac_objext'
33389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33390 (eval $ac_try) 2>&5
33392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33393 (exit $ac_status); }; }; then
33394 wx_cv_size_t_is_ulong=no
33396 echo "$as_me: failed program was:" >&5
33397 sed 's/^/| /' conftest.$ac_ext >&5
33399 wx_cv_size_t_is_ulong=yes
33402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33405 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33406 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
33408 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33409 cat >>confdefs.h <<\_ACEOF
33410 #define wxSIZE_T_IS_ULONG 1
33417 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33418 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
33419 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33420 echo $ECHO_N "(cached) $ECHO_C" >&6
33423 cat >conftest.$ac_ext <<_ACEOF
33426 cat confdefs.h >>conftest.$ac_ext
33427 cat >>conftest.$ac_ext <<_ACEOF
33428 /* end confdefs.h. */
33442 rm -f conftest.$ac_objext
33443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33444 (eval $ac_compile) 2>conftest.er1
33446 grep -v '^ *+' conftest.er1 >conftest.err
33448 cat conftest.err >&5
33449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33450 (exit $ac_status); } &&
33451 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33453 (eval $ac_try) 2>&5
33455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33456 (exit $ac_status); }; } &&
33457 { ac_try='test -s conftest.$ac_objext'
33458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33459 (eval $ac_try) 2>&5
33461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33462 (exit $ac_status); }; }; then
33464 wx_cv_struct_pw_gecos=yes
33467 echo "$as_me: failed program was:" >&5
33468 sed 's/^/| /' conftest.$ac_ext >&5
33471 wx_cv_struct_pw_gecos=no
33475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33479 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33480 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
33482 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33483 cat >>confdefs.h <<\_ACEOF
33484 #define HAVE_PW_GECOS 1
33490 if test "$wxUSE_WCHAR_T" = "yes"; then
33491 cat >>confdefs.h <<\_ACEOF
33492 #define wxUSE_WCHAR_T 1
33499 for ac_func in wcslen
33501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33502 echo "$as_me:$LINENO: checking for $ac_func" >&5
33503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33504 if eval "test \"\${$as_ac_var+set}\" = set"; then
33505 echo $ECHO_N "(cached) $ECHO_C" >&6
33507 cat >conftest.$ac_ext <<_ACEOF
33510 cat confdefs.h >>conftest.$ac_ext
33511 cat >>conftest.$ac_ext <<_ACEOF
33512 /* end confdefs.h. */
33513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33515 #define $ac_func innocuous_$ac_func
33517 /* System header to define __stub macros and hopefully few prototypes,
33518 which can conflict with char $ac_func (); below.
33519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33520 <limits.h> exists even on freestanding compilers. */
33523 # include <limits.h>
33525 # include <assert.h>
33530 /* Override any gcc2 internal prototype to avoid an error. */
33535 /* We use char because int might match the return type of a gcc2
33536 builtin and then its argument prototype would still apply. */
33538 /* The GNU C library defines this for functions which it implements
33539 to always fail with ENOSYS. Some functions are actually named
33540 something starting with __ and the normal name is an alias. */
33541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33544 char (*f) () = $ac_func;
33553 return f != $ac_func;
33558 rm -f conftest.$ac_objext conftest$ac_exeext
33559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33560 (eval $ac_link) 2>conftest.er1
33562 grep -v '^ *+' conftest.er1 >conftest.err
33564 cat conftest.err >&5
33565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33566 (exit $ac_status); } &&
33567 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33569 (eval $ac_try) 2>&5
33571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33572 (exit $ac_status); }; } &&
33573 { ac_try='test -s conftest$ac_exeext'
33574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33575 (eval $ac_try) 2>&5
33577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33578 (exit $ac_status); }; }; then
33579 eval "$as_ac_var=yes"
33581 echo "$as_me: failed program was:" >&5
33582 sed 's/^/| /' conftest.$ac_ext >&5
33584 eval "$as_ac_var=no"
33586 rm -f conftest.err conftest.$ac_objext \
33587 conftest$ac_exeext conftest.$ac_ext
33589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33591 if test `eval echo '${'$as_ac_var'}'` = yes; then
33592 cat >>confdefs.h <<_ACEOF
33593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33600 if test "$WCSLEN_FOUND" = 0; then
33601 if test "$TOOLKIT" = "MSW"; then
33602 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33603 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
33604 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33605 echo $ECHO_N "(cached) $ECHO_C" >&6
33607 ac_check_lib_save_LIBS=$LIBS
33608 LIBS="-lmsvcrt $LIBS"
33609 cat >conftest.$ac_ext <<_ACEOF
33612 cat confdefs.h >>conftest.$ac_ext
33613 cat >>conftest.$ac_ext <<_ACEOF
33614 /* end confdefs.h. */
33616 /* Override any gcc2 internal prototype to avoid an error. */
33620 /* We use char because int might match the return type of a gcc2
33621 builtin and then its argument prototype would still apply. */
33631 rm -f conftest.$ac_objext conftest$ac_exeext
33632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33633 (eval $ac_link) 2>conftest.er1
33635 grep -v '^ *+' conftest.er1 >conftest.err
33637 cat conftest.err >&5
33638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33639 (exit $ac_status); } &&
33640 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33642 (eval $ac_try) 2>&5
33644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33645 (exit $ac_status); }; } &&
33646 { ac_try='test -s conftest$ac_exeext'
33647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33648 (eval $ac_try) 2>&5
33650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33651 (exit $ac_status); }; }; then
33652 ac_cv_lib_msvcrt_wcslen=yes
33654 echo "$as_me: failed program was:" >&5
33655 sed 's/^/| /' conftest.$ac_ext >&5
33657 ac_cv_lib_msvcrt_wcslen=no
33659 rm -f conftest.err conftest.$ac_objext \
33660 conftest$ac_exeext conftest.$ac_ext
33661 LIBS=$ac_check_lib_save_LIBS
33663 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33664 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33665 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33670 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33671 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
33672 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33673 echo $ECHO_N "(cached) $ECHO_C" >&6
33675 ac_check_lib_save_LIBS=$LIBS
33677 cat >conftest.$ac_ext <<_ACEOF
33680 cat confdefs.h >>conftest.$ac_ext
33681 cat >>conftest.$ac_ext <<_ACEOF
33682 /* end confdefs.h. */
33684 /* Override any gcc2 internal prototype to avoid an error. */
33688 /* We use char because int might match the return type of a gcc2
33689 builtin and then its argument prototype would still apply. */
33699 rm -f conftest.$ac_objext conftest$ac_exeext
33700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33701 (eval $ac_link) 2>conftest.er1
33703 grep -v '^ *+' conftest.er1 >conftest.err
33705 cat conftest.err >&5
33706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33707 (exit $ac_status); } &&
33708 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33710 (eval $ac_try) 2>&5
33712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33713 (exit $ac_status); }; } &&
33714 { ac_try='test -s conftest$ac_exeext'
33715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33716 (eval $ac_try) 2>&5
33718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33719 (exit $ac_status); }; }; then
33720 ac_cv_lib_w_wcslen=yes
33722 echo "$as_me: failed program was:" >&5
33723 sed 's/^/| /' conftest.$ac_ext >&5
33725 ac_cv_lib_w_wcslen=no
33727 rm -f conftest.err conftest.$ac_objext \
33728 conftest$ac_exeext conftest.$ac_ext
33729 LIBS=$ac_check_lib_save_LIBS
33731 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33732 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33733 if test $ac_cv_lib_w_wcslen = yes; then
33743 if test "$WCSLEN_FOUND" = 1; then
33744 cat >>confdefs.h <<\_ACEOF
33745 #define HAVE_WCSLEN 1
33750 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33751 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33754 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33755 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33756 if test "${ac_cv_type_mbstate_t+set}" = set; then
33757 echo $ECHO_N "(cached) $ECHO_C" >&6
33759 cat >conftest.$ac_ext <<_ACEOF
33762 cat confdefs.h >>conftest.$ac_ext
33763 cat >>conftest.$ac_ext <<_ACEOF
33764 /* end confdefs.h. */
33770 if ((mbstate_t *) 0)
33772 if (sizeof (mbstate_t))
33778 rm -f conftest.$ac_objext
33779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33780 (eval $ac_compile) 2>conftest.er1
33782 grep -v '^ *+' conftest.er1 >conftest.err
33784 cat conftest.err >&5
33785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33786 (exit $ac_status); } &&
33787 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33789 (eval $ac_try) 2>&5
33791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33792 (exit $ac_status); }; } &&
33793 { ac_try='test -s conftest.$ac_objext'
33794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33795 (eval $ac_try) 2>&5
33797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33798 (exit $ac_status); }; }; then
33799 ac_cv_type_mbstate_t=yes
33801 echo "$as_me: failed program was:" >&5
33802 sed 's/^/| /' conftest.$ac_ext >&5
33804 ac_cv_type_mbstate_t=no
33806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33808 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33809 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33810 if test $ac_cv_type_mbstate_t = yes; then
33812 cat >>confdefs.h <<_ACEOF
33813 #define HAVE_MBSTATE_T 1
33817 for ac_func in wcsrtombs
33819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33820 echo "$as_me:$LINENO: checking for $ac_func" >&5
33821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33822 if eval "test \"\${$as_ac_var+set}\" = set"; then
33823 echo $ECHO_N "(cached) $ECHO_C" >&6
33825 cat >conftest.$ac_ext <<_ACEOF
33828 cat confdefs.h >>conftest.$ac_ext
33829 cat >>conftest.$ac_ext <<_ACEOF
33830 /* end confdefs.h. */
33831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33833 #define $ac_func innocuous_$ac_func
33835 /* System header to define __stub macros and hopefully few prototypes,
33836 which can conflict with char $ac_func (); below.
33837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33838 <limits.h> exists even on freestanding compilers. */
33841 # include <limits.h>
33843 # include <assert.h>
33848 /* Override any gcc2 internal prototype to avoid an error. */
33853 /* We use char because int might match the return type of a gcc2
33854 builtin and then its argument prototype would still apply. */
33856 /* The GNU C library defines this for functions which it implements
33857 to always fail with ENOSYS. Some functions are actually named
33858 something starting with __ and the normal name is an alias. */
33859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33862 char (*f) () = $ac_func;
33871 return f != $ac_func;
33876 rm -f conftest.$ac_objext conftest$ac_exeext
33877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33878 (eval $ac_link) 2>conftest.er1
33880 grep -v '^ *+' conftest.er1 >conftest.err
33882 cat conftest.err >&5
33883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33884 (exit $ac_status); } &&
33885 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33887 (eval $ac_try) 2>&5
33889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33890 (exit $ac_status); }; } &&
33891 { ac_try='test -s conftest$ac_exeext'
33892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33893 (eval $ac_try) 2>&5
33895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33896 (exit $ac_status); }; }; then
33897 eval "$as_ac_var=yes"
33899 echo "$as_me: failed program was:" >&5
33900 sed 's/^/| /' conftest.$ac_ext >&5
33902 eval "$as_ac_var=no"
33904 rm -f conftest.err conftest.$ac_objext \
33905 conftest$ac_exeext conftest.$ac_ext
33907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33909 if test `eval echo '${'$as_ac_var'}'` = yes; then
33910 cat >>confdefs.h <<_ACEOF
33911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33920 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33921 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33926 for ac_func in snprintf vsnprintf
33928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33929 echo "$as_me:$LINENO: checking for $ac_func" >&5
33930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33931 if eval "test \"\${$as_ac_var+set}\" = set"; then
33932 echo $ECHO_N "(cached) $ECHO_C" >&6
33934 cat >conftest.$ac_ext <<_ACEOF
33937 cat confdefs.h >>conftest.$ac_ext
33938 cat >>conftest.$ac_ext <<_ACEOF
33939 /* end confdefs.h. */
33940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33942 #define $ac_func innocuous_$ac_func
33944 /* System header to define __stub macros and hopefully few prototypes,
33945 which can conflict with char $ac_func (); below.
33946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33947 <limits.h> exists even on freestanding compilers. */
33950 # include <limits.h>
33952 # include <assert.h>
33957 /* Override any gcc2 internal prototype to avoid an error. */
33962 /* We use char because int might match the return type of a gcc2
33963 builtin and then its argument prototype would still apply. */
33965 /* The GNU C library defines this for functions which it implements
33966 to always fail with ENOSYS. Some functions are actually named
33967 something starting with __ and the normal name is an alias. */
33968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33971 char (*f) () = $ac_func;
33980 return f != $ac_func;
33985 rm -f conftest.$ac_objext conftest$ac_exeext
33986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33987 (eval $ac_link) 2>conftest.er1
33989 grep -v '^ *+' conftest.er1 >conftest.err
33991 cat conftest.err >&5
33992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33993 (exit $ac_status); } &&
33994 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33996 (eval $ac_try) 2>&5
33998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33999 (exit $ac_status); }; } &&
34000 { ac_try='test -s conftest$ac_exeext'
34001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34002 (eval $ac_try) 2>&5
34004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34005 (exit $ac_status); }; }; then
34006 eval "$as_ac_var=yes"
34008 echo "$as_me: failed program was:" >&5
34009 sed 's/^/| /' conftest.$ac_ext >&5
34011 eval "$as_ac_var=no"
34013 rm -f conftest.err conftest.$ac_objext \
34014 conftest$ac_exeext conftest.$ac_ext
34016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34018 if test `eval echo '${'$as_ac_var'}'` = yes; then
34019 cat >>confdefs.h <<_ACEOF
34020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34027 if test "$ac_cv_func_vsnprintf" = "yes"; then
34028 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34029 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
34030 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34031 echo $ECHO_N "(cached) $ECHO_C" >&6
34034 cat >conftest.$ac_ext <<_ACEOF
34037 cat confdefs.h >>conftest.$ac_ext
34038 cat >>conftest.$ac_ext <<_ACEOF
34039 /* end confdefs.h. */
34042 #include <stdarg.h>
34044 #if __MSL__ >= 0x6000
34046 using namespace std;
34056 vsnprintf(buf, 10u, "%s", ap);
34062 rm -f conftest.$ac_objext
34063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34064 (eval $ac_compile) 2>conftest.er1
34066 grep -v '^ *+' conftest.er1 >conftest.err
34068 cat conftest.err >&5
34069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34070 (exit $ac_status); } &&
34071 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34073 (eval $ac_try) 2>&5
34075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34076 (exit $ac_status); }; } &&
34077 { ac_try='test -s conftest.$ac_objext'
34078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34079 (eval $ac_try) 2>&5
34081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34082 (exit $ac_status); }; }; then
34083 wx_cv_func_vsnprintf_decl=yes
34085 echo "$as_me: failed program was:" >&5
34086 sed 's/^/| /' conftest.$ac_ext >&5
34088 wx_cv_func_vsnprintf_decl=no
34091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34095 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34096 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
34098 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34099 cat >>confdefs.h <<\_ACEOF
34100 #define HAVE_VSNPRINTF_DECL 1
34104 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34105 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
34106 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34107 echo $ECHO_N "(cached) $ECHO_C" >&6
34110 cat >conftest.$ac_ext <<_ACEOF
34113 cat confdefs.h >>conftest.$ac_ext
34114 cat >>conftest.$ac_ext <<_ACEOF
34115 /* end confdefs.h. */
34118 #include <stdarg.h>
34120 #if __MSL__ >= 0x6000
34122 using namespace std;
34132 const char *fmt = "%s";
34133 vsnprintf(buf, 10u, fmt, ap);
34139 rm -f conftest.$ac_objext
34140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34141 (eval $ac_compile) 2>conftest.er1
34143 grep -v '^ *+' conftest.er1 >conftest.err
34145 cat conftest.err >&5
34146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147 (exit $ac_status); } &&
34148 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34150 (eval $ac_try) 2>&5
34152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34153 (exit $ac_status); }; } &&
34154 { ac_try='test -s conftest.$ac_objext'
34155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34156 (eval $ac_try) 2>&5
34158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34159 (exit $ac_status); }; }; then
34160 wx_cv_func_broken_vsnprintf_decl=no
34162 echo "$as_me: failed program was:" >&5
34163 sed 's/^/| /' conftest.$ac_ext >&5
34165 wx_cv_func_broken_vsnprintf_decl=yes
34168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34172 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34173 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
34175 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34176 cat >>confdefs.h <<\_ACEOF
34177 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34184 if test "$ac_cv_func_snprintf" = "yes"; then
34185 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34186 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
34187 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34188 echo $ECHO_N "(cached) $ECHO_C" >&6
34191 cat >conftest.$ac_ext <<_ACEOF
34194 cat confdefs.h >>conftest.$ac_ext
34195 cat >>conftest.$ac_ext <<_ACEOF
34196 /* end confdefs.h. */
34199 #include <stdarg.h>
34201 #if __MSL__ >= 0x6000
34203 using namespace std;
34212 snprintf(buf, 10u, "%s", "wx");
34218 rm -f conftest.$ac_objext
34219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34220 (eval $ac_compile) 2>conftest.er1
34222 grep -v '^ *+' conftest.er1 >conftest.err
34224 cat conftest.err >&5
34225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34226 (exit $ac_status); } &&
34227 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34229 (eval $ac_try) 2>&5
34231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34232 (exit $ac_status); }; } &&
34233 { ac_try='test -s conftest.$ac_objext'
34234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34235 (eval $ac_try) 2>&5
34237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34238 (exit $ac_status); }; }; then
34239 wx_cv_func_snprintf_decl=yes
34241 echo "$as_me: failed program was:" >&5
34242 sed 's/^/| /' conftest.$ac_ext >&5
34244 wx_cv_func_snprintf_decl=no
34247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34251 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34252 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
34254 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34255 cat >>confdefs.h <<\_ACEOF
34256 #define HAVE_SNPRINTF_DECL 1
34260 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34261 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
34262 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34263 echo $ECHO_N "(cached) $ECHO_C" >&6
34266 cat >conftest.$ac_ext <<_ACEOF
34269 cat confdefs.h >>conftest.$ac_ext
34270 cat >>conftest.$ac_ext <<_ACEOF
34271 /* end confdefs.h. */
34274 #include <stdarg.h>
34276 #if __MSL__ >= 0x6000
34278 using namespace std;
34287 const char *fmt = "%s";
34288 snprintf(buf, 10u, fmt, "wx");
34294 rm -f conftest.$ac_objext
34295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34296 (eval $ac_compile) 2>conftest.er1
34298 grep -v '^ *+' conftest.er1 >conftest.err
34300 cat conftest.err >&5
34301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34302 (exit $ac_status); } &&
34303 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34305 (eval $ac_try) 2>&5
34307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34308 (exit $ac_status); }; } &&
34309 { ac_try='test -s conftest.$ac_objext'
34310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34311 (eval $ac_try) 2>&5
34313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34314 (exit $ac_status); }; }; then
34315 wx_cv_func_broken_snprintf_decl=no
34317 echo "$as_me: failed program was:" >&5
34318 sed 's/^/| /' conftest.$ac_ext >&5
34320 wx_cv_func_broken_snprintf_decl=yes
34323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34327 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34328 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
34330 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34331 cat >>confdefs.h <<\_ACEOF
34332 #define HAVE_BROKEN_SNPRINTF_DECL 1
34338 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34340 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34341 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
34342 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34343 echo $ECHO_N "(cached) $ECHO_C" >&6
34346 if test "$cross_compiling" = yes; then
34347 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
34348 See \`config.log' for more details." >&5
34349 echo "$as_me: error: cannot run test program while cross compiling
34350 See \`config.log' for more details." >&2;}
34351 { (exit 1); exit 1; }; }
34353 cat >conftest.$ac_ext <<_ACEOF
34356 cat confdefs.h >>conftest.$ac_ext
34357 cat >>conftest.$ac_ext <<_ACEOF
34358 /* end confdefs.h. */
34365 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
34366 if (strcmp ("2 3 1", buffer) == 0)
34372 rm -f conftest$ac_exeext
34373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34374 (eval $ac_link) 2>&5
34376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34377 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34379 (eval $ac_try) 2>&5
34381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34382 (exit $ac_status); }; }; then
34383 wx_cv_func_snprintf_pos_params=no
34385 echo "$as_me: program exited with status $ac_status" >&5
34386 echo "$as_me: failed program was:" >&5
34387 sed 's/^/| /' conftest.$ac_ext >&5
34389 ( exit $ac_status )
34390 wx_cv_func_snprintf_pos_params=yes
34393 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34398 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34399 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
34401 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34402 cat >>confdefs.h <<\_ACEOF
34403 #define HAVE_UNIX98_PRINTF 1
34411 if test "$wxUSE_UNICODE" = yes; then
34418 for ac_func in wputc wputchar putws fputws wprintf vswprintf
34420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34421 echo "$as_me:$LINENO: checking for $ac_func" >&5
34422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34423 if eval "test \"\${$as_ac_var+set}\" = set"; then
34424 echo $ECHO_N "(cached) $ECHO_C" >&6
34426 cat >conftest.$ac_ext <<_ACEOF
34429 cat confdefs.h >>conftest.$ac_ext
34430 cat >>conftest.$ac_ext <<_ACEOF
34431 /* end confdefs.h. */
34432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34434 #define $ac_func innocuous_$ac_func
34436 /* System header to define __stub macros and hopefully few prototypes,
34437 which can conflict with char $ac_func (); below.
34438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34439 <limits.h> exists even on freestanding compilers. */
34442 # include <limits.h>
34444 # include <assert.h>
34449 /* Override any gcc2 internal prototype to avoid an error. */
34454 /* We use char because int might match the return type of a gcc2
34455 builtin and then its argument prototype would still apply. */
34457 /* The GNU C library defines this for functions which it implements
34458 to always fail with ENOSYS. Some functions are actually named
34459 something starting with __ and the normal name is an alias. */
34460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34463 char (*f) () = $ac_func;
34472 return f != $ac_func;
34477 rm -f conftest.$ac_objext conftest$ac_exeext
34478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34479 (eval $ac_link) 2>conftest.er1
34481 grep -v '^ *+' conftest.er1 >conftest.err
34483 cat conftest.err >&5
34484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34485 (exit $ac_status); } &&
34486 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34488 (eval $ac_try) 2>&5
34490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34491 (exit $ac_status); }; } &&
34492 { ac_try='test -s conftest$ac_exeext'
34493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34494 (eval $ac_try) 2>&5
34496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34497 (exit $ac_status); }; }; then
34498 eval "$as_ac_var=yes"
34500 echo "$as_me: failed program was:" >&5
34501 sed 's/^/| /' conftest.$ac_ext >&5
34503 eval "$as_ac_var=no"
34505 rm -f conftest.err conftest.$ac_objext \
34506 conftest$ac_exeext conftest.$ac_ext
34508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34510 if test `eval echo '${'$as_ac_var'}'` = yes; then
34511 cat >>confdefs.h <<_ACEOF
34512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34519 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34520 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
34521 cat >conftest.$ac_ext <<_ACEOF
34524 cat confdefs.h >>conftest.$ac_ext
34525 cat >>conftest.$ac_ext <<_ACEOF
34526 /* end confdefs.h. */
34536 rm -f conftest.$ac_objext
34537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34538 (eval $ac_compile) 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_cxx_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_objext'
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 echo "$as_me:$LINENO: result: yes" >&5
34558 echo "${ECHO_T}yes" >&6
34559 cat >>confdefs.h <<\_ACEOF
34560 #define HAVE__VSNWPRINTF 1
34564 echo "$as_me: failed program was:" >&5
34565 sed 's/^/| /' conftest.$ac_ext >&5
34567 echo "$as_me:$LINENO: result: no" >&5
34568 echo "${ECHO_T}no" >&6
34570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
34573 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34575 for ac_func in fnmatch
34577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34578 echo "$as_me:$LINENO: checking for $ac_func" >&5
34579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34580 if eval "test \"\${$as_ac_var+set}\" = set"; then
34581 echo $ECHO_N "(cached) $ECHO_C" >&6
34583 cat >conftest.$ac_ext <<_ACEOF
34586 cat confdefs.h >>conftest.$ac_ext
34587 cat >>conftest.$ac_ext <<_ACEOF
34588 /* end confdefs.h. */
34589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34591 #define $ac_func innocuous_$ac_func
34593 /* System header to define __stub macros and hopefully few prototypes,
34594 which can conflict with char $ac_func (); below.
34595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34596 <limits.h> exists even on freestanding compilers. */
34599 # include <limits.h>
34601 # include <assert.h>
34606 /* Override any gcc2 internal prototype to avoid an error. */
34611 /* We use char because int might match the return type of a gcc2
34612 builtin and then its argument prototype would still apply. */
34614 /* The GNU C library defines this for functions which it implements
34615 to always fail with ENOSYS. Some functions are actually named
34616 something starting with __ and the normal name is an alias. */
34617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34620 char (*f) () = $ac_func;
34629 return f != $ac_func;
34634 rm -f conftest.$ac_objext conftest$ac_exeext
34635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34636 (eval $ac_link) 2>conftest.er1
34638 grep -v '^ *+' conftest.er1 >conftest.err
34640 cat conftest.err >&5
34641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34642 (exit $ac_status); } &&
34643 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34645 (eval $ac_try) 2>&5
34647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34648 (exit $ac_status); }; } &&
34649 { ac_try='test -s conftest$ac_exeext'
34650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34651 (eval $ac_try) 2>&5
34653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34654 (exit $ac_status); }; }; then
34655 eval "$as_ac_var=yes"
34657 echo "$as_me: failed program was:" >&5
34658 sed 's/^/| /' conftest.$ac_ext >&5
34660 eval "$as_ac_var=no"
34662 rm -f conftest.err conftest.$ac_objext \
34663 conftest$ac_exeext conftest.$ac_ext
34665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34667 if test `eval echo '${'$as_ac_var'}'` = yes; then
34668 cat >>confdefs.h <<_ACEOF
34669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34677 if test "$wxUSE_FILE" = "yes"; then
34679 for ac_func in fsync
34681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34682 echo "$as_me:$LINENO: checking for $ac_func" >&5
34683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34684 if eval "test \"\${$as_ac_var+set}\" = set"; then
34685 echo $ECHO_N "(cached) $ECHO_C" >&6
34687 cat >conftest.$ac_ext <<_ACEOF
34690 cat confdefs.h >>conftest.$ac_ext
34691 cat >>conftest.$ac_ext <<_ACEOF
34692 /* end confdefs.h. */
34693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34695 #define $ac_func innocuous_$ac_func
34697 /* System header to define __stub macros and hopefully few prototypes,
34698 which can conflict with char $ac_func (); below.
34699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34700 <limits.h> exists even on freestanding compilers. */
34703 # include <limits.h>
34705 # include <assert.h>
34710 /* Override any gcc2 internal prototype to avoid an error. */
34715 /* We use char because int might match the return type of a gcc2
34716 builtin and then its argument prototype would still apply. */
34718 /* The GNU C library defines this for functions which it implements
34719 to always fail with ENOSYS. Some functions are actually named
34720 something starting with __ and the normal name is an alias. */
34721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34724 char (*f) () = $ac_func;
34733 return f != $ac_func;
34738 rm -f conftest.$ac_objext conftest$ac_exeext
34739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34740 (eval $ac_link) 2>conftest.er1
34742 grep -v '^ *+' conftest.er1 >conftest.err
34744 cat conftest.err >&5
34745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34746 (exit $ac_status); } &&
34747 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34749 (eval $ac_try) 2>&5
34751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34752 (exit $ac_status); }; } &&
34753 { ac_try='test -s conftest$ac_exeext'
34754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34755 (eval $ac_try) 2>&5
34757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34758 (exit $ac_status); }; }; then
34759 eval "$as_ac_var=yes"
34761 echo "$as_me: failed program was:" >&5
34762 sed 's/^/| /' conftest.$ac_ext >&5
34764 eval "$as_ac_var=no"
34766 rm -f conftest.err conftest.$ac_objext \
34767 conftest$ac_exeext conftest.$ac_ext
34769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34771 if test `eval echo '${'$as_ac_var'}'` = yes; then
34772 cat >>confdefs.h <<_ACEOF
34773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34782 if test "$TOOLKIT" != "MSW"; then
34788 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
34789 if test "${with_libiconv_prefix+set}" = set; then
34790 withval="$with_libiconv_prefix"
34792 for dir in `echo "$withval" | tr : ' '`; do
34793 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
34794 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
34799 echo "$as_me:$LINENO: checking for iconv" >&5
34800 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
34801 if test "${am_cv_func_iconv+set}" = set; then
34802 echo $ECHO_N "(cached) $ECHO_C" >&6
34805 am_cv_func_iconv="no, consider installing GNU libiconv"
34807 cat >conftest.$ac_ext <<_ACEOF
34810 cat confdefs.h >>conftest.$ac_ext
34811 cat >>conftest.$ac_ext <<_ACEOF
34812 /* end confdefs.h. */
34813 #include <stdlib.h>
34818 iconv_t cd = iconv_open("","");
34819 iconv(cd,NULL,NULL,NULL,NULL);
34825 rm -f conftest.$ac_objext conftest$ac_exeext
34826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34827 (eval $ac_link) 2>conftest.er1
34829 grep -v '^ *+' conftest.er1 >conftest.err
34831 cat conftest.err >&5
34832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34833 (exit $ac_status); } &&
34834 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34836 (eval $ac_try) 2>&5
34838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34839 (exit $ac_status); }; } &&
34840 { ac_try='test -s conftest$ac_exeext'
34841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34842 (eval $ac_try) 2>&5
34844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34845 (exit $ac_status); }; }; then
34846 am_cv_func_iconv=yes
34848 echo "$as_me: failed program was:" >&5
34849 sed 's/^/| /' conftest.$ac_ext >&5
34852 rm -f conftest.err conftest.$ac_objext \
34853 conftest$ac_exeext conftest.$ac_ext
34854 if test "$am_cv_func_iconv" != yes; then
34855 am_save_LIBS="$LIBS"
34856 LIBS="$LIBS -liconv"
34857 cat >conftest.$ac_ext <<_ACEOF
34860 cat confdefs.h >>conftest.$ac_ext
34861 cat >>conftest.$ac_ext <<_ACEOF
34862 /* end confdefs.h. */
34863 #include <stdlib.h>
34868 iconv_t cd = iconv_open("","");
34869 iconv(cd,NULL,NULL,NULL,NULL);
34875 rm -f conftest.$ac_objext conftest$ac_exeext
34876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34877 (eval $ac_link) 2>conftest.er1
34879 grep -v '^ *+' conftest.er1 >conftest.err
34881 cat conftest.err >&5
34882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34883 (exit $ac_status); } &&
34884 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34886 (eval $ac_try) 2>&5
34888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34889 (exit $ac_status); }; } &&
34890 { ac_try='test -s conftest$ac_exeext'
34891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34892 (eval $ac_try) 2>&5
34894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34895 (exit $ac_status); }; }; then
34896 am_cv_lib_iconv=yes
34897 am_cv_func_iconv=yes
34899 echo "$as_me: failed program was:" >&5
34900 sed 's/^/| /' conftest.$ac_ext >&5
34903 rm -f conftest.err conftest.$ac_objext \
34904 conftest$ac_exeext conftest.$ac_ext
34905 LIBS="$am_save_LIBS"
34909 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
34910 echo "${ECHO_T}$am_cv_func_iconv" >&6
34911 if test "$am_cv_func_iconv" = yes; then
34913 cat >>confdefs.h <<\_ACEOF
34914 #define HAVE_ICONV 1
34917 echo "$as_me:$LINENO: checking if iconv needs const" >&5
34918 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
34919 if test "${wx_cv_func_iconv_const+set}" = set; then
34920 echo $ECHO_N "(cached) $ECHO_C" >&6
34922 cat >conftest.$ac_ext <<_ACEOF
34925 cat confdefs.h >>conftest.$ac_ext
34926 cat >>conftest.$ac_ext <<_ACEOF
34927 /* end confdefs.h. */
34929 #include <stdlib.h>
34935 #if defined(__STDC__) || defined(__cplusplus)
34936 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
34949 rm -f conftest.$ac_objext
34950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34951 (eval $ac_compile) 2>conftest.er1
34953 grep -v '^ *+' conftest.er1 >conftest.err
34955 cat conftest.err >&5
34956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34957 (exit $ac_status); } &&
34958 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34960 (eval $ac_try) 2>&5
34962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34963 (exit $ac_status); }; } &&
34964 { ac_try='test -s conftest.$ac_objext'
34965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34966 (eval $ac_try) 2>&5
34968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34969 (exit $ac_status); }; }; then
34970 wx_cv_func_iconv_const="no"
34972 echo "$as_me: failed program was:" >&5
34973 sed 's/^/| /' conftest.$ac_ext >&5
34975 wx_cv_func_iconv_const="yes"
34978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34981 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
34982 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
34985 if test "x$wx_cv_func_iconv_const" = "xyes"; then
34986 iconv_const="const"
34990 cat >>confdefs.h <<_ACEOF
34991 #define ICONV_CONST $iconv_const
34996 if test "$am_cv_lib_iconv" = yes; then
35001 LIBS="$LIBICONV $LIBS"
35003 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35005 for ac_func in sigaction
35007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35008 echo "$as_me:$LINENO: checking for $ac_func" >&5
35009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35010 if eval "test \"\${$as_ac_var+set}\" = set"; then
35011 echo $ECHO_N "(cached) $ECHO_C" >&6
35013 cat >conftest.$ac_ext <<_ACEOF
35016 cat confdefs.h >>conftest.$ac_ext
35017 cat >>conftest.$ac_ext <<_ACEOF
35018 /* end confdefs.h. */
35019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35021 #define $ac_func innocuous_$ac_func
35023 /* System header to define __stub macros and hopefully few prototypes,
35024 which can conflict with char $ac_func (); below.
35025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35026 <limits.h> exists even on freestanding compilers. */
35029 # include <limits.h>
35031 # include <assert.h>
35036 /* Override any gcc2 internal prototype to avoid an error. */
35041 /* We use char because int might match the return type of a gcc2
35042 builtin and then its argument prototype would still apply. */
35044 /* The GNU C library defines this for functions which it implements
35045 to always fail with ENOSYS. Some functions are actually named
35046 something starting with __ and the normal name is an alias. */
35047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35050 char (*f) () = $ac_func;
35059 return f != $ac_func;
35064 rm -f conftest.$ac_objext conftest$ac_exeext
35065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35066 (eval $ac_link) 2>conftest.er1
35068 grep -v '^ *+' conftest.er1 >conftest.err
35070 cat conftest.err >&5
35071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35072 (exit $ac_status); } &&
35073 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35075 (eval $ac_try) 2>&5
35077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35078 (exit $ac_status); }; } &&
35079 { ac_try='test -s conftest$ac_exeext'
35080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35081 (eval $ac_try) 2>&5
35083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35084 (exit $ac_status); }; }; then
35085 eval "$as_ac_var=yes"
35087 echo "$as_me: failed program was:" >&5
35088 sed 's/^/| /' conftest.$ac_ext >&5
35090 eval "$as_ac_var=no"
35092 rm -f conftest.err conftest.$ac_objext \
35093 conftest$ac_exeext conftest.$ac_ext
35095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35097 if test `eval echo '${'$as_ac_var'}'` = yes; then
35098 cat >>confdefs.h <<_ACEOF
35099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35106 if test "$ac_cv_func_sigaction" = "no"; then
35107 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35108 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35109 wxUSE_ON_FATAL_EXCEPTION=no
35112 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35113 echo "$as_me:$LINENO: checking for sa_handler type" >&5
35114 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
35115 if test "${wx_cv_type_sa_handler+set}" = set; then
35116 echo $ECHO_N "(cached) $ECHO_C" >&6
35119 cat >conftest.$ac_ext <<_ACEOF
35122 cat confdefs.h >>conftest.$ac_ext
35123 cat >>conftest.$ac_ext <<_ACEOF
35124 /* end confdefs.h. */
35125 #include <signal.h>
35130 extern void testSigHandler(int);
35132 struct sigaction sa;
35133 sa.sa_handler = testSigHandler;
35139 rm -f conftest.$ac_objext
35140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35141 (eval $ac_compile) 2>conftest.er1
35143 grep -v '^ *+' conftest.er1 >conftest.err
35145 cat conftest.err >&5
35146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35147 (exit $ac_status); } &&
35148 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35150 (eval $ac_try) 2>&5
35152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35153 (exit $ac_status); }; } &&
35154 { ac_try='test -s conftest.$ac_objext'
35155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35156 (eval $ac_try) 2>&5
35158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35159 (exit $ac_status); }; }; then
35161 wx_cv_type_sa_handler=int
35164 echo "$as_me: failed program was:" >&5
35165 sed 's/^/| /' conftest.$ac_ext >&5
35168 wx_cv_type_sa_handler=void
35171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35174 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35175 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
35177 cat >>confdefs.h <<_ACEOF
35178 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35184 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35185 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35186 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
35187 if test "${wx_cv_func_backtrace+set}" = set; then
35188 echo $ECHO_N "(cached) $ECHO_C" >&6
35191 cat >conftest.$ac_ext <<_ACEOF
35194 cat confdefs.h >>conftest.$ac_ext
35195 cat >>conftest.$ac_ext <<_ACEOF
35196 /* end confdefs.h. */
35197 #include <execinfo.h>
35205 backtrace(trace, 1);
35206 messages = backtrace_symbols(trace, 1);
35212 rm -f conftest.$ac_objext
35213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35214 (eval $ac_compile) 2>conftest.er1
35216 grep -v '^ *+' conftest.er1 >conftest.err
35218 cat conftest.err >&5
35219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35220 (exit $ac_status); } &&
35221 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35223 (eval $ac_try) 2>&5
35225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35226 (exit $ac_status); }; } &&
35227 { ac_try='test -s conftest.$ac_objext'
35228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35229 (eval $ac_try) 2>&5
35231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35232 (exit $ac_status); }; }; then
35233 wx_cv_func_backtrace=yes
35235 echo "$as_me: failed program was:" >&5
35236 sed 's/^/| /' conftest.$ac_ext >&5
35238 wx_cv_func_backtrace=no
35241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35245 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35246 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
35249 if test "$wx_cv_func_backtrace" = "no"; then
35250 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35251 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35252 wxUSE_STACKWALKER=no
35254 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35255 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
35256 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35257 echo $ECHO_N "(cached) $ECHO_C" >&6
35260 cat >conftest.$ac_ext <<_ACEOF
35263 cat confdefs.h >>conftest.$ac_ext
35264 cat >>conftest.$ac_ext <<_ACEOF
35265 /* end confdefs.h. */
35266 #include <cxxabi.h>
35272 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35278 rm -f conftest.$ac_objext conftest$ac_exeext
35279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35280 (eval $ac_link) 2>conftest.er1
35282 grep -v '^ *+' conftest.er1 >conftest.err
35284 cat conftest.err >&5
35285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35286 (exit $ac_status); } &&
35287 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35289 (eval $ac_try) 2>&5
35291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35292 (exit $ac_status); }; } &&
35293 { ac_try='test -s conftest$ac_exeext'
35294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35295 (eval $ac_try) 2>&5
35297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35298 (exit $ac_status); }; }; then
35299 wx_cv_func_cxa_demangle=yes
35301 echo "$as_me: failed program was:" >&5
35302 sed 's/^/| /' conftest.$ac_ext >&5
35304 wx_cv_func_cxa_demangle=no
35307 rm -f conftest.err conftest.$ac_objext \
35308 conftest$ac_exeext conftest.$ac_ext
35312 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35313 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
35315 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35316 cat >>confdefs.h <<\_ACEOF
35317 #define HAVE_CXA_DEMANGLE 1
35324 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35325 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35326 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35327 wxUSE_STACKWALKER=no
35333 for ac_func in mkstemp mktemp
35335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35336 echo "$as_me:$LINENO: checking for $ac_func" >&5
35337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35338 if eval "test \"\${$as_ac_var+set}\" = set"; then
35339 echo $ECHO_N "(cached) $ECHO_C" >&6
35341 cat >conftest.$ac_ext <<_ACEOF
35344 cat confdefs.h >>conftest.$ac_ext
35345 cat >>conftest.$ac_ext <<_ACEOF
35346 /* end confdefs.h. */
35347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35349 #define $ac_func innocuous_$ac_func
35351 /* System header to define __stub macros and hopefully few prototypes,
35352 which can conflict with char $ac_func (); below.
35353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35354 <limits.h> exists even on freestanding compilers. */
35357 # include <limits.h>
35359 # include <assert.h>
35364 /* Override any gcc2 internal prototype to avoid an error. */
35369 /* We use char because int might match the return type of a gcc2
35370 builtin and then its argument prototype would still apply. */
35372 /* The GNU C library defines this for functions which it implements
35373 to always fail with ENOSYS. Some functions are actually named
35374 something starting with __ and the normal name is an alias. */
35375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35378 char (*f) () = $ac_func;
35387 return f != $ac_func;
35392 rm -f conftest.$ac_objext conftest$ac_exeext
35393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35394 (eval $ac_link) 2>conftest.er1
35396 grep -v '^ *+' conftest.er1 >conftest.err
35398 cat conftest.err >&5
35399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35400 (exit $ac_status); } &&
35401 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35403 (eval $ac_try) 2>&5
35405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35406 (exit $ac_status); }; } &&
35407 { ac_try='test -s conftest$ac_exeext'
35408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35409 (eval $ac_try) 2>&5
35411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35412 (exit $ac_status); }; }; then
35413 eval "$as_ac_var=yes"
35415 echo "$as_me: failed program was:" >&5
35416 sed 's/^/| /' conftest.$ac_ext >&5
35418 eval "$as_ac_var=no"
35420 rm -f conftest.err conftest.$ac_objext \
35421 conftest$ac_exeext conftest.$ac_ext
35423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35425 if test `eval echo '${'$as_ac_var'}'` = yes; then
35426 cat >>confdefs.h <<_ACEOF
35427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35434 echo "$as_me:$LINENO: checking for statfs" >&5
35435 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
35436 if test "${wx_cv_func_statfs+set}" = set; then
35437 echo $ECHO_N "(cached) $ECHO_C" >&6
35439 cat >conftest.$ac_ext <<_ACEOF
35442 cat confdefs.h >>conftest.$ac_ext
35443 cat >>conftest.$ac_ext <<_ACEOF
35444 /* end confdefs.h. */
35446 #if defined(__BSD__)
35447 #include <sys/param.h>
35448 #include <sys/mount.h>
35450 #include <sys/vfs.h>
35468 rm -f conftest.$ac_objext
35469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35470 (eval $ac_compile) 2>conftest.er1
35472 grep -v '^ *+' conftest.er1 >conftest.err
35474 cat conftest.err >&5
35475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35476 (exit $ac_status); } &&
35477 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35479 (eval $ac_try) 2>&5
35481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35482 (exit $ac_status); }; } &&
35483 { ac_try='test -s conftest.$ac_objext'
35484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35485 (eval $ac_try) 2>&5
35487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35488 (exit $ac_status); }; }; then
35489 wx_cv_func_statfs=yes
35491 echo "$as_me: failed program was:" >&5
35492 sed 's/^/| /' conftest.$ac_ext >&5
35494 wx_cv_func_statfs=no
35497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35500 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35501 echo "${ECHO_T}$wx_cv_func_statfs" >&6
35503 if test "$wx_cv_func_statfs" = "yes"; then
35504 echo "$as_me:$LINENO: checking for statfs declaration" >&5
35505 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
35506 if test "${wx_cv_func_statfs_decl+set}" = set; then
35507 echo $ECHO_N "(cached) $ECHO_C" >&6
35509 cat >conftest.$ac_ext <<_ACEOF
35512 cat confdefs.h >>conftest.$ac_ext
35513 cat >>conftest.$ac_ext <<_ACEOF
35514 /* end confdefs.h. */
35516 #if defined(__BSD__)
35517 #include <sys/param.h>
35518 #include <sys/mount.h>
35520 #include <sys/vfs.h>
35534 rm -f conftest.$ac_objext
35535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35536 (eval $ac_compile) 2>conftest.er1
35538 grep -v '^ *+' conftest.er1 >conftest.err
35540 cat conftest.err >&5
35541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35542 (exit $ac_status); } &&
35543 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35545 (eval $ac_try) 2>&5
35547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35548 (exit $ac_status); }; } &&
35549 { ac_try='test -s conftest.$ac_objext'
35550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35551 (eval $ac_try) 2>&5
35553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35554 (exit $ac_status); }; }; then
35555 wx_cv_func_statfs_decl=yes
35557 echo "$as_me: failed program was:" >&5
35558 sed 's/^/| /' conftest.$ac_ext >&5
35560 wx_cv_func_statfs_decl=no
35563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35566 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35567 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
35569 if test "$wx_cv_func_statfs_decl" = "yes"; then
35570 cat >>confdefs.h <<\_ACEOF
35571 #define HAVE_STATFS_DECL 1
35576 wx_cv_type_statvfs_t="struct statfs"
35577 cat >>confdefs.h <<\_ACEOF
35578 #define HAVE_STATFS 1
35582 echo "$as_me:$LINENO: checking for statvfs" >&5
35583 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
35584 if test "${wx_cv_func_statvfs+set}" = set; then
35585 echo $ECHO_N "(cached) $ECHO_C" >&6
35587 cat >conftest.$ac_ext <<_ACEOF
35590 cat confdefs.h >>conftest.$ac_ext
35591 cat >>conftest.$ac_ext <<_ACEOF
35592 /* end confdefs.h. */
35594 #include <stddef.h>
35595 #include <sys/statvfs.h>
35601 statvfs("/", NULL);
35607 rm -f conftest.$ac_objext
35608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35609 (eval $ac_compile) 2>conftest.er1
35611 grep -v '^ *+' conftest.er1 >conftest.err
35613 cat conftest.err >&5
35614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35615 (exit $ac_status); } &&
35616 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35618 (eval $ac_try) 2>&5
35620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35621 (exit $ac_status); }; } &&
35622 { ac_try='test -s conftest.$ac_objext'
35623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35624 (eval $ac_try) 2>&5
35626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35627 (exit $ac_status); }; }; then
35628 wx_cv_func_statvfs=yes
35630 echo "$as_me: failed program was:" >&5
35631 sed 's/^/| /' conftest.$ac_ext >&5
35633 wx_cv_func_statvfs=no
35636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35639 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35640 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
35642 if test "$wx_cv_func_statvfs" = "yes"; then
35643 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35644 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
35645 if test "${wx_cv_type_statvfs_t+set}" = set; then
35646 echo $ECHO_N "(cached) $ECHO_C" >&6
35648 cat >conftest.$ac_ext <<_ACEOF
35651 cat confdefs.h >>conftest.$ac_ext
35652 cat >>conftest.$ac_ext <<_ACEOF
35653 /* end confdefs.h. */
35655 #include <sys/statvfs.h>
35672 rm -f conftest.$ac_objext
35673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35674 (eval $ac_compile) 2>conftest.er1
35676 grep -v '^ *+' conftest.er1 >conftest.err
35678 cat conftest.err >&5
35679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35680 (exit $ac_status); } &&
35681 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35683 (eval $ac_try) 2>&5
35685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35686 (exit $ac_status); }; } &&
35687 { ac_try='test -s conftest.$ac_objext'
35688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35689 (eval $ac_try) 2>&5
35691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35692 (exit $ac_status); }; }; then
35693 wx_cv_type_statvfs_t=statvfs_t
35695 echo "$as_me: failed program was:" >&5
35696 sed 's/^/| /' conftest.$ac_ext >&5
35699 cat >conftest.$ac_ext <<_ACEOF
35702 cat confdefs.h >>conftest.$ac_ext
35703 cat >>conftest.$ac_ext <<_ACEOF
35704 /* end confdefs.h. */
35706 #include <sys/statvfs.h>
35723 rm -f conftest.$ac_objext
35724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35725 (eval $ac_compile) 2>conftest.er1
35727 grep -v '^ *+' conftest.er1 >conftest.err
35729 cat conftest.err >&5
35730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35731 (exit $ac_status); } &&
35732 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35734 (eval $ac_try) 2>&5
35736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35737 (exit $ac_status); }; } &&
35738 { ac_try='test -s conftest.$ac_objext'
35739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35740 (eval $ac_try) 2>&5
35742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35743 (exit $ac_status); }; }; then
35744 wx_cv_type_statvfs_t="struct statvfs"
35746 echo "$as_me: failed program was:" >&5
35747 sed 's/^/| /' conftest.$ac_ext >&5
35749 wx_cv_type_statvfs_t="unknown"
35752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35759 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
35760 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
35762 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35763 cat >>confdefs.h <<\_ACEOF
35764 #define HAVE_STATVFS 1
35769 wx_cv_type_statvfs_t="unknown"
35773 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35774 cat >>confdefs.h <<_ACEOF
35775 #define WX_STATFS_T $wx_cv_type_statvfs_t
35779 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35780 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35783 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35786 for ac_func in fcntl flock
35788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35789 echo "$as_me:$LINENO: checking for $ac_func" >&5
35790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35791 if eval "test \"\${$as_ac_var+set}\" = set"; then
35792 echo $ECHO_N "(cached) $ECHO_C" >&6
35794 cat >conftest.$ac_ext <<_ACEOF
35797 cat confdefs.h >>conftest.$ac_ext
35798 cat >>conftest.$ac_ext <<_ACEOF
35799 /* end confdefs.h. */
35800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35802 #define $ac_func innocuous_$ac_func
35804 /* System header to define __stub macros and hopefully few prototypes,
35805 which can conflict with char $ac_func (); below.
35806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35807 <limits.h> exists even on freestanding compilers. */
35810 # include <limits.h>
35812 # include <assert.h>
35817 /* Override any gcc2 internal prototype to avoid an error. */
35822 /* We use char because int might match the return type of a gcc2
35823 builtin and then its argument prototype would still apply. */
35825 /* The GNU C library defines this for functions which it implements
35826 to always fail with ENOSYS. Some functions are actually named
35827 something starting with __ and the normal name is an alias. */
35828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35831 char (*f) () = $ac_func;
35840 return f != $ac_func;
35845 rm -f conftest.$ac_objext conftest$ac_exeext
35846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35847 (eval $ac_link) 2>conftest.er1
35849 grep -v '^ *+' conftest.er1 >conftest.err
35851 cat conftest.err >&5
35852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35853 (exit $ac_status); } &&
35854 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35856 (eval $ac_try) 2>&5
35858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35859 (exit $ac_status); }; } &&
35860 { ac_try='test -s conftest$ac_exeext'
35861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35862 (eval $ac_try) 2>&5
35864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35865 (exit $ac_status); }; }; then
35866 eval "$as_ac_var=yes"
35868 echo "$as_me: failed program was:" >&5
35869 sed 's/^/| /' conftest.$ac_ext >&5
35871 eval "$as_ac_var=no"
35873 rm -f conftest.err conftest.$ac_objext \
35874 conftest$ac_exeext conftest.$ac_ext
35876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35878 if test `eval echo '${'$as_ac_var'}'` = yes; then
35879 cat >>confdefs.h <<_ACEOF
35880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35887 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
35888 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
35889 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
35890 wxUSE_SNGLINST_CHECKER=no
35895 for ac_func in timegm
35897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35898 echo "$as_me:$LINENO: checking for $ac_func" >&5
35899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35900 if eval "test \"\${$as_ac_var+set}\" = set"; then
35901 echo $ECHO_N "(cached) $ECHO_C" >&6
35903 cat >conftest.$ac_ext <<_ACEOF
35906 cat confdefs.h >>conftest.$ac_ext
35907 cat >>conftest.$ac_ext <<_ACEOF
35908 /* end confdefs.h. */
35909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35911 #define $ac_func innocuous_$ac_func
35913 /* System header to define __stub macros and hopefully few prototypes,
35914 which can conflict with char $ac_func (); below.
35915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35916 <limits.h> exists even on freestanding compilers. */
35919 # include <limits.h>
35921 # include <assert.h>
35926 /* Override any gcc2 internal prototype to avoid an error. */
35931 /* We use char because int might match the return type of a gcc2
35932 builtin and then its argument prototype would still apply. */
35934 /* The GNU C library defines this for functions which it implements
35935 to always fail with ENOSYS. Some functions are actually named
35936 something starting with __ and the normal name is an alias. */
35937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35940 char (*f) () = $ac_func;
35949 return f != $ac_func;
35954 rm -f conftest.$ac_objext conftest$ac_exeext
35955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35956 (eval $ac_link) 2>conftest.er1
35958 grep -v '^ *+' conftest.er1 >conftest.err
35960 cat conftest.err >&5
35961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35962 (exit $ac_status); } &&
35963 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35965 (eval $ac_try) 2>&5
35967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35968 (exit $ac_status); }; } &&
35969 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
35975 eval "$as_ac_var=yes"
35977 echo "$as_me: failed program was:" >&5
35978 sed 's/^/| /' conftest.$ac_ext >&5
35980 eval "$as_ac_var=no"
35982 rm -f conftest.err conftest.$ac_objext \
35983 conftest$ac_exeext conftest.$ac_ext
35985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35987 if test `eval echo '${'$as_ac_var'}'` = yes; then
35988 cat >>confdefs.h <<_ACEOF
35989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35998 for ac_func in putenv setenv
36000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36001 echo "$as_me:$LINENO: checking for $ac_func" >&5
36002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36003 if eval "test \"\${$as_ac_var+set}\" = set"; then
36004 echo $ECHO_N "(cached) $ECHO_C" >&6
36006 cat >conftest.$ac_ext <<_ACEOF
36009 cat confdefs.h >>conftest.$ac_ext
36010 cat >>conftest.$ac_ext <<_ACEOF
36011 /* end confdefs.h. */
36012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36014 #define $ac_func innocuous_$ac_func
36016 /* System header to define __stub macros and hopefully few prototypes,
36017 which can conflict with char $ac_func (); below.
36018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36019 <limits.h> exists even on freestanding compilers. */
36022 # include <limits.h>
36024 # include <assert.h>
36029 /* Override any gcc2 internal prototype to avoid an error. */
36034 /* We use char because int might match the return type of a gcc2
36035 builtin and then its argument prototype would still apply. */
36037 /* The GNU C library defines this for functions which it implements
36038 to always fail with ENOSYS. Some functions are actually named
36039 something starting with __ and the normal name is an alias. */
36040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36043 char (*f) () = $ac_func;
36052 return f != $ac_func;
36057 rm -f conftest.$ac_objext conftest$ac_exeext
36058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36059 (eval $ac_link) 2>conftest.er1
36061 grep -v '^ *+' conftest.er1 >conftest.err
36063 cat conftest.err >&5
36064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36065 (exit $ac_status); } &&
36066 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36068 (eval $ac_try) 2>&5
36070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36071 (exit $ac_status); }; } &&
36072 { ac_try='test -s conftest$ac_exeext'
36073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36074 (eval $ac_try) 2>&5
36076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36077 (exit $ac_status); }; }; then
36078 eval "$as_ac_var=yes"
36080 echo "$as_me: failed program was:" >&5
36081 sed 's/^/| /' conftest.$ac_ext >&5
36083 eval "$as_ac_var=no"
36085 rm -f conftest.err conftest.$ac_objext \
36086 conftest$ac_exeext conftest.$ac_ext
36088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36090 if test `eval echo '${'$as_ac_var'}'` = yes; then
36091 cat >>confdefs.h <<_ACEOF
36092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36099 HAVE_SOME_SLEEP_FUNC=0
36100 if test "$USE_BEOS" = 1; then
36101 cat >>confdefs.h <<\_ACEOF
36102 #define HAVE_SLEEP 1
36105 HAVE_SOME_SLEEP_FUNC=1
36108 if test "$USE_DARWIN" = 1; then
36109 cat >>confdefs.h <<\_ACEOF
36110 #define HAVE_USLEEP 1
36113 HAVE_SOME_SLEEP_FUNC=1
36116 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36119 for ac_func in nanosleep
36121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36122 echo "$as_me:$LINENO: checking for $ac_func" >&5
36123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36124 if eval "test \"\${$as_ac_var+set}\" = set"; then
36125 echo $ECHO_N "(cached) $ECHO_C" >&6
36127 cat >conftest.$ac_ext <<_ACEOF
36130 cat confdefs.h >>conftest.$ac_ext
36131 cat >>conftest.$ac_ext <<_ACEOF
36132 /* end confdefs.h. */
36133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36135 #define $ac_func innocuous_$ac_func
36137 /* System header to define __stub macros and hopefully few prototypes,
36138 which can conflict with char $ac_func (); below.
36139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36140 <limits.h> exists even on freestanding compilers. */
36143 # include <limits.h>
36145 # include <assert.h>
36150 /* Override any gcc2 internal prototype to avoid an error. */
36155 /* We use char because int might match the return type of a gcc2
36156 builtin and then its argument prototype would still apply. */
36158 /* The GNU C library defines this for functions which it implements
36159 to always fail with ENOSYS. Some functions are actually named
36160 something starting with __ and the normal name is an alias. */
36161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36164 char (*f) () = $ac_func;
36173 return f != $ac_func;
36178 rm -f conftest.$ac_objext conftest$ac_exeext
36179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36180 (eval $ac_link) 2>conftest.er1
36182 grep -v '^ *+' conftest.er1 >conftest.err
36184 cat conftest.err >&5
36185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36186 (exit $ac_status); } &&
36187 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36189 (eval $ac_try) 2>&5
36191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36192 (exit $ac_status); }; } &&
36193 { ac_try='test -s conftest$ac_exeext'
36194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36195 (eval $ac_try) 2>&5
36197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36198 (exit $ac_status); }; }; then
36199 eval "$as_ac_var=yes"
36201 echo "$as_me: failed program was:" >&5
36202 sed 's/^/| /' conftest.$ac_ext >&5
36204 eval "$as_ac_var=no"
36206 rm -f conftest.err conftest.$ac_objext \
36207 conftest$ac_exeext conftest.$ac_ext
36209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36211 if test `eval echo '${'$as_ac_var'}'` = yes; then
36212 cat >>confdefs.h <<_ACEOF
36213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36215 cat >>confdefs.h <<\_ACEOF
36216 #define HAVE_NANOSLEEP 1
36221 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36222 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
36223 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36224 echo $ECHO_N "(cached) $ECHO_C" >&6
36226 ac_check_lib_save_LIBS=$LIBS
36227 LIBS="-lposix4 $LIBS"
36228 cat >conftest.$ac_ext <<_ACEOF
36231 cat confdefs.h >>conftest.$ac_ext
36232 cat >>conftest.$ac_ext <<_ACEOF
36233 /* end confdefs.h. */
36235 /* Override any gcc2 internal prototype to avoid an error. */
36239 /* We use char because int might match the return type of a gcc2
36240 builtin and then its argument prototype would still apply. */
36250 rm -f conftest.$ac_objext conftest$ac_exeext
36251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36252 (eval $ac_link) 2>conftest.er1
36254 grep -v '^ *+' conftest.er1 >conftest.err
36256 cat conftest.err >&5
36257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36258 (exit $ac_status); } &&
36259 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36261 (eval $ac_try) 2>&5
36263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36264 (exit $ac_status); }; } &&
36265 { ac_try='test -s conftest$ac_exeext'
36266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36267 (eval $ac_try) 2>&5
36269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36270 (exit $ac_status); }; }; then
36271 ac_cv_lib_posix4_nanosleep=yes
36273 echo "$as_me: failed program was:" >&5
36274 sed 's/^/| /' conftest.$ac_ext >&5
36276 ac_cv_lib_posix4_nanosleep=no
36278 rm -f conftest.err conftest.$ac_objext \
36279 conftest$ac_exeext conftest.$ac_ext
36280 LIBS=$ac_check_lib_save_LIBS
36282 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36283 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
36284 if test $ac_cv_lib_posix4_nanosleep = yes; then
36286 cat >>confdefs.h <<\_ACEOF
36287 #define HAVE_NANOSLEEP 1
36290 POSIX4_LINK=" -lposix4"
36295 for ac_func in usleep
36297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36298 echo "$as_me:$LINENO: checking for $ac_func" >&5
36299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36300 if eval "test \"\${$as_ac_var+set}\" = set"; then
36301 echo $ECHO_N "(cached) $ECHO_C" >&6
36303 cat >conftest.$ac_ext <<_ACEOF
36306 cat confdefs.h >>conftest.$ac_ext
36307 cat >>conftest.$ac_ext <<_ACEOF
36308 /* end confdefs.h. */
36309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36311 #define $ac_func innocuous_$ac_func
36313 /* System header to define __stub macros and hopefully few prototypes,
36314 which can conflict with char $ac_func (); below.
36315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36316 <limits.h> exists even on freestanding compilers. */
36319 # include <limits.h>
36321 # include <assert.h>
36326 /* Override any gcc2 internal prototype to avoid an error. */
36331 /* We use char because int might match the return type of a gcc2
36332 builtin and then its argument prototype would still apply. */
36334 /* The GNU C library defines this for functions which it implements
36335 to always fail with ENOSYS. Some functions are actually named
36336 something starting with __ and the normal name is an alias. */
36337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36340 char (*f) () = $ac_func;
36349 return f != $ac_func;
36354 rm -f conftest.$ac_objext conftest$ac_exeext
36355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36356 (eval $ac_link) 2>conftest.er1
36358 grep -v '^ *+' conftest.er1 >conftest.err
36360 cat conftest.err >&5
36361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36362 (exit $ac_status); } &&
36363 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36365 (eval $ac_try) 2>&5
36367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36368 (exit $ac_status); }; } &&
36369 { ac_try='test -s conftest$ac_exeext'
36370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36371 (eval $ac_try) 2>&5
36373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36374 (exit $ac_status); }; }; then
36375 eval "$as_ac_var=yes"
36377 echo "$as_me: failed program was:" >&5
36378 sed 's/^/| /' conftest.$ac_ext >&5
36380 eval "$as_ac_var=no"
36382 rm -f conftest.err conftest.$ac_objext \
36383 conftest$ac_exeext conftest.$ac_ext
36385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36387 if test `eval echo '${'$as_ac_var'}'` = yes; then
36388 cat >>confdefs.h <<_ACEOF
36389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36391 cat >>confdefs.h <<\_ACEOF
36392 #define HAVE_USLEEP 1
36396 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36397 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36415 for ac_func in uname gethostname
36417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36418 echo "$as_me:$LINENO: checking for $ac_func" >&5
36419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36420 if eval "test \"\${$as_ac_var+set}\" = set"; then
36421 echo $ECHO_N "(cached) $ECHO_C" >&6
36423 cat >conftest.$ac_ext <<_ACEOF
36426 cat confdefs.h >>conftest.$ac_ext
36427 cat >>conftest.$ac_ext <<_ACEOF
36428 /* end confdefs.h. */
36429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36431 #define $ac_func innocuous_$ac_func
36433 /* System header to define __stub macros and hopefully few prototypes,
36434 which can conflict with char $ac_func (); below.
36435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36436 <limits.h> exists even on freestanding compilers. */
36439 # include <limits.h>
36441 # include <assert.h>
36446 /* Override any gcc2 internal prototype to avoid an error. */
36451 /* We use char because int might match the return type of a gcc2
36452 builtin and then its argument prototype would still apply. */
36454 /* The GNU C library defines this for functions which it implements
36455 to always fail with ENOSYS. Some functions are actually named
36456 something starting with __ and the normal name is an alias. */
36457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36460 char (*f) () = $ac_func;
36469 return f != $ac_func;
36474 rm -f conftest.$ac_objext conftest$ac_exeext
36475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36476 (eval $ac_link) 2>conftest.er1
36478 grep -v '^ *+' conftest.er1 >conftest.err
36480 cat conftest.err >&5
36481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36482 (exit $ac_status); } &&
36483 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36485 (eval $ac_try) 2>&5
36487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36488 (exit $ac_status); }; } &&
36489 { ac_try='test -s conftest$ac_exeext'
36490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36491 (eval $ac_try) 2>&5
36493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36494 (exit $ac_status); }; }; then
36495 eval "$as_ac_var=yes"
36497 echo "$as_me: failed program was:" >&5
36498 sed 's/^/| /' conftest.$ac_ext >&5
36500 eval "$as_ac_var=no"
36502 rm -f conftest.err conftest.$ac_objext \
36503 conftest$ac_exeext conftest.$ac_ext
36505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36507 if test `eval echo '${'$as_ac_var'}'` = yes; then
36508 cat >>confdefs.h <<_ACEOF
36509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36517 for ac_func in strtok_r
36519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36520 echo "$as_me:$LINENO: checking for $ac_func" >&5
36521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36522 if eval "test \"\${$as_ac_var+set}\" = set"; then
36523 echo $ECHO_N "(cached) $ECHO_C" >&6
36525 cat >conftest.$ac_ext <<_ACEOF
36528 cat confdefs.h >>conftest.$ac_ext
36529 cat >>conftest.$ac_ext <<_ACEOF
36530 /* end confdefs.h. */
36531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36533 #define $ac_func innocuous_$ac_func
36535 /* System header to define __stub macros and hopefully few prototypes,
36536 which can conflict with char $ac_func (); below.
36537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36538 <limits.h> exists even on freestanding compilers. */
36541 # include <limits.h>
36543 # include <assert.h>
36548 /* Override any gcc2 internal prototype to avoid an error. */
36553 /* We use char because int might match the return type of a gcc2
36554 builtin and then its argument prototype would still apply. */
36556 /* The GNU C library defines this for functions which it implements
36557 to always fail with ENOSYS. Some functions are actually named
36558 something starting with __ and the normal name is an alias. */
36559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36562 char (*f) () = $ac_func;
36571 return f != $ac_func;
36576 rm -f conftest.$ac_objext conftest$ac_exeext
36577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36578 (eval $ac_link) 2>conftest.er1
36580 grep -v '^ *+' conftest.er1 >conftest.err
36582 cat conftest.err >&5
36583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36584 (exit $ac_status); } &&
36585 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36587 (eval $ac_try) 2>&5
36589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36590 (exit $ac_status); }; } &&
36591 { ac_try='test -s conftest$ac_exeext'
36592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36593 (eval $ac_try) 2>&5
36595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36596 (exit $ac_status); }; }; then
36597 eval "$as_ac_var=yes"
36599 echo "$as_me: failed program was:" >&5
36600 sed 's/^/| /' conftest.$ac_ext >&5
36602 eval "$as_ac_var=no"
36604 rm -f conftest.err conftest.$ac_objext \
36605 conftest$ac_exeext conftest.$ac_ext
36607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36609 if test `eval echo '${'$as_ac_var'}'` = yes; then
36610 cat >>confdefs.h <<_ACEOF
36611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36620 for ac_func in inet_addr
36622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36623 echo "$as_me:$LINENO: checking for $ac_func" >&5
36624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36625 if eval "test \"\${$as_ac_var+set}\" = set"; then
36626 echo $ECHO_N "(cached) $ECHO_C" >&6
36628 cat >conftest.$ac_ext <<_ACEOF
36631 cat confdefs.h >>conftest.$ac_ext
36632 cat >>conftest.$ac_ext <<_ACEOF
36633 /* end confdefs.h. */
36634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36636 #define $ac_func innocuous_$ac_func
36638 /* System header to define __stub macros and hopefully few prototypes,
36639 which can conflict with char $ac_func (); below.
36640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36641 <limits.h> exists even on freestanding compilers. */
36644 # include <limits.h>
36646 # include <assert.h>
36651 /* Override any gcc2 internal prototype to avoid an error. */
36656 /* We use char because int might match the return type of a gcc2
36657 builtin and then its argument prototype would still apply. */
36659 /* The GNU C library defines this for functions which it implements
36660 to always fail with ENOSYS. Some functions are actually named
36661 something starting with __ and the normal name is an alias. */
36662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36665 char (*f) () = $ac_func;
36674 return f != $ac_func;
36679 rm -f conftest.$ac_objext conftest$ac_exeext
36680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36681 (eval $ac_link) 2>conftest.er1
36683 grep -v '^ *+' conftest.er1 >conftest.err
36685 cat conftest.err >&5
36686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36687 (exit $ac_status); } &&
36688 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36690 (eval $ac_try) 2>&5
36692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36693 (exit $ac_status); }; } &&
36694 { ac_try='test -s conftest$ac_exeext'
36695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36696 (eval $ac_try) 2>&5
36698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36699 (exit $ac_status); }; }; then
36700 eval "$as_ac_var=yes"
36702 echo "$as_me: failed program was:" >&5
36703 sed 's/^/| /' conftest.$ac_ext >&5
36705 eval "$as_ac_var=no"
36707 rm -f conftest.err conftest.$ac_objext \
36708 conftest$ac_exeext conftest.$ac_ext
36710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36712 if test `eval echo '${'$as_ac_var'}'` = yes; then
36713 cat >>confdefs.h <<_ACEOF
36714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36716 cat >>confdefs.h <<\_ACEOF
36717 #define HAVE_INET_ADDR 1
36722 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36723 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36724 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36725 echo $ECHO_N "(cached) $ECHO_C" >&6
36727 ac_check_lib_save_LIBS=$LIBS
36729 cat >conftest.$ac_ext <<_ACEOF
36732 cat confdefs.h >>conftest.$ac_ext
36733 cat >>conftest.$ac_ext <<_ACEOF
36734 /* end confdefs.h. */
36736 /* Override any gcc2 internal prototype to avoid an error. */
36740 /* We use char because int might match the return type of a gcc2
36741 builtin and then its argument prototype would still apply. */
36751 rm -f conftest.$ac_objext conftest$ac_exeext
36752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36753 (eval $ac_link) 2>conftest.er1
36755 grep -v '^ *+' conftest.er1 >conftest.err
36757 cat conftest.err >&5
36758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36759 (exit $ac_status); } &&
36760 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36762 (eval $ac_try) 2>&5
36764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36765 (exit $ac_status); }; } &&
36766 { ac_try='test -s conftest$ac_exeext'
36767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36768 (eval $ac_try) 2>&5
36770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36771 (exit $ac_status); }; }; then
36772 ac_cv_lib_nsl_inet_addr=yes
36774 echo "$as_me: failed program was:" >&5
36775 sed 's/^/| /' conftest.$ac_ext >&5
36777 ac_cv_lib_nsl_inet_addr=no
36779 rm -f conftest.err conftest.$ac_objext \
36780 conftest$ac_exeext conftest.$ac_ext
36781 LIBS=$ac_check_lib_save_LIBS
36783 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36784 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36785 if test $ac_cv_lib_nsl_inet_addr = yes; then
36789 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36790 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36791 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36792 echo $ECHO_N "(cached) $ECHO_C" >&6
36794 ac_check_lib_save_LIBS=$LIBS
36795 LIBS="-lresolv $LIBS"
36796 cat >conftest.$ac_ext <<_ACEOF
36799 cat confdefs.h >>conftest.$ac_ext
36800 cat >>conftest.$ac_ext <<_ACEOF
36801 /* end confdefs.h. */
36803 /* Override any gcc2 internal prototype to avoid an error. */
36807 /* We use char because int might match the return type of a gcc2
36808 builtin and then its argument prototype would still apply. */
36818 rm -f conftest.$ac_objext conftest$ac_exeext
36819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36820 (eval $ac_link) 2>conftest.er1
36822 grep -v '^ *+' conftest.er1 >conftest.err
36824 cat conftest.err >&5
36825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36826 (exit $ac_status); } &&
36827 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36829 (eval $ac_try) 2>&5
36831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36832 (exit $ac_status); }; } &&
36833 { ac_try='test -s conftest$ac_exeext'
36834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36835 (eval $ac_try) 2>&5
36837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36838 (exit $ac_status); }; }; then
36839 ac_cv_lib_resolv_inet_addr=yes
36841 echo "$as_me: failed program was:" >&5
36842 sed 's/^/| /' conftest.$ac_ext >&5
36844 ac_cv_lib_resolv_inet_addr=no
36846 rm -f conftest.err conftest.$ac_objext \
36847 conftest$ac_exeext conftest.$ac_ext
36848 LIBS=$ac_check_lib_save_LIBS
36850 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
36851 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
36852 if test $ac_cv_lib_resolv_inet_addr = yes; then
36856 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
36857 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
36858 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
36859 echo $ECHO_N "(cached) $ECHO_C" >&6
36861 ac_check_lib_save_LIBS=$LIBS
36862 LIBS="-lsocket $LIBS"
36863 cat >conftest.$ac_ext <<_ACEOF
36866 cat confdefs.h >>conftest.$ac_ext
36867 cat >>conftest.$ac_ext <<_ACEOF
36868 /* end confdefs.h. */
36870 /* Override any gcc2 internal prototype to avoid an error. */
36874 /* We use char because int might match the return type of a gcc2
36875 builtin and then its argument prototype would still apply. */
36885 rm -f conftest.$ac_objext conftest$ac_exeext
36886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36887 (eval $ac_link) 2>conftest.er1
36889 grep -v '^ *+' conftest.er1 >conftest.err
36891 cat conftest.err >&5
36892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36893 (exit $ac_status); } &&
36894 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36896 (eval $ac_try) 2>&5
36898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36899 (exit $ac_status); }; } &&
36900 { ac_try='test -s conftest$ac_exeext'
36901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36902 (eval $ac_try) 2>&5
36904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36905 (exit $ac_status); }; }; then
36906 ac_cv_lib_socket_inet_addr=yes
36908 echo "$as_me: failed program was:" >&5
36909 sed 's/^/| /' conftest.$ac_ext >&5
36911 ac_cv_lib_socket_inet_addr=no
36913 rm -f conftest.err conftest.$ac_objext \
36914 conftest$ac_exeext conftest.$ac_ext
36915 LIBS=$ac_check_lib_save_LIBS
36917 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
36918 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
36919 if test $ac_cv_lib_socket_inet_addr = yes; then
36939 for ac_func in inet_aton
36941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36942 echo "$as_me:$LINENO: checking for $ac_func" >&5
36943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36944 if eval "test \"\${$as_ac_var+set}\" = set"; then
36945 echo $ECHO_N "(cached) $ECHO_C" >&6
36947 cat >conftest.$ac_ext <<_ACEOF
36950 cat confdefs.h >>conftest.$ac_ext
36951 cat >>conftest.$ac_ext <<_ACEOF
36952 /* end confdefs.h. */
36953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36955 #define $ac_func innocuous_$ac_func
36957 /* System header to define __stub macros and hopefully few prototypes,
36958 which can conflict with char $ac_func (); below.
36959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36960 <limits.h> exists even on freestanding compilers. */
36963 # include <limits.h>
36965 # include <assert.h>
36970 /* Override any gcc2 internal prototype to avoid an error. */
36975 /* We use char because int might match the return type of a gcc2
36976 builtin and then its argument prototype would still apply. */
36978 /* The GNU C library defines this for functions which it implements
36979 to always fail with ENOSYS. Some functions are actually named
36980 something starting with __ and the normal name is an alias. */
36981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36984 char (*f) () = $ac_func;
36993 return f != $ac_func;
36998 rm -f conftest.$ac_objext conftest$ac_exeext
36999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37000 (eval $ac_link) 2>conftest.er1
37002 grep -v '^ *+' conftest.er1 >conftest.err
37004 cat conftest.err >&5
37005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37006 (exit $ac_status); } &&
37007 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37009 (eval $ac_try) 2>&5
37011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37012 (exit $ac_status); }; } &&
37013 { ac_try='test -s conftest$ac_exeext'
37014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37015 (eval $ac_try) 2>&5
37017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37018 (exit $ac_status); }; }; then
37019 eval "$as_ac_var=yes"
37021 echo "$as_me: failed program was:" >&5
37022 sed 's/^/| /' conftest.$ac_ext >&5
37024 eval "$as_ac_var=no"
37026 rm -f conftest.err conftest.$ac_objext \
37027 conftest$ac_exeext conftest.$ac_ext
37029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37031 if test `eval echo '${'$as_ac_var'}'` = yes; then
37032 cat >>confdefs.h <<_ACEOF
37033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37035 cat >>confdefs.h <<\_ACEOF
37036 #define HAVE_INET_ATON 1
37041 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37042 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37043 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
37044 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
37045 echo $ECHO_N "(cached) $ECHO_C" >&6
37047 ac_check_lib_save_LIBS=$LIBS
37048 LIBS="-l$INET_LINK $LIBS"
37049 cat >conftest.$ac_ext <<_ACEOF
37052 cat confdefs.h >>conftest.$ac_ext
37053 cat >>conftest.$ac_ext <<_ACEOF
37054 /* end confdefs.h. */
37056 /* Override any gcc2 internal prototype to avoid an error. */
37060 /* We use char because int might match the return type of a gcc2
37061 builtin and then its argument prototype would still apply. */
37071 rm -f conftest.$ac_objext conftest$ac_exeext
37072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37073 (eval $ac_link) 2>conftest.er1
37075 grep -v '^ *+' conftest.er1 >conftest.err
37077 cat conftest.err >&5
37078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37079 (exit $ac_status); } &&
37080 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37082 (eval $ac_try) 2>&5
37084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37085 (exit $ac_status); }; } &&
37086 { ac_try='test -s conftest$ac_exeext'
37087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37088 (eval $ac_try) 2>&5
37090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37091 (exit $ac_status); }; }; then
37092 eval "$as_ac_Lib=yes"
37094 echo "$as_me: failed program was:" >&5
37095 sed 's/^/| /' conftest.$ac_ext >&5
37097 eval "$as_ac_Lib=no"
37099 rm -f conftest.err conftest.$ac_objext \
37100 conftest$ac_exeext conftest.$ac_ext
37101 LIBS=$ac_check_lib_save_LIBS
37103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
37104 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
37105 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37106 cat >>confdefs.h <<\_ACEOF
37107 #define HAVE_INET_ATON 1
37117 if test "x$INET_LINK" != "x"; then
37118 cat >>confdefs.h <<\_ACEOF
37119 #define HAVE_INET_ADDR 1
37122 INET_LINK=" -l$INET_LINK"
37130 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
37131 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
37132 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
37133 echo $ECHO_N "(cached) $ECHO_C" >&6
37135 ac_check_lib_save_LIBS=$LIBS
37137 cat >conftest.$ac_ext <<_ACEOF
37140 cat confdefs.h >>conftest.$ac_ext
37141 cat >>conftest.$ac_ext <<_ACEOF
37142 /* end confdefs.h. */
37144 /* Override any gcc2 internal prototype to avoid an error. */
37148 /* We use char because int might match the return type of a gcc2
37149 builtin and then its argument prototype would still apply. */
37159 rm -f conftest.$ac_objext conftest$ac_exeext
37160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37161 (eval $ac_link) 2>conftest.er1
37163 grep -v '^ *+' conftest.er1 >conftest.err
37165 cat conftest.err >&5
37166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37167 (exit $ac_status); } &&
37168 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37170 (eval $ac_try) 2>&5
37172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37173 (exit $ac_status); }; } &&
37174 { ac_try='test -s conftest$ac_exeext'
37175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37176 (eval $ac_try) 2>&5
37178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37179 (exit $ac_status); }; }; then
37180 ac_cv_lib_esd_esd_close=yes
37182 echo "$as_me: failed program was:" >&5
37183 sed 's/^/| /' conftest.$ac_ext >&5
37185 ac_cv_lib_esd_esd_close=no
37187 rm -f conftest.err conftest.$ac_objext \
37188 conftest$ac_exeext conftest.$ac_ext
37189 LIBS=$ac_check_lib_save_LIBS
37191 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
37192 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
37193 if test $ac_cv_lib_esd_esd_close = yes; then
37196 for ac_header in esd.h
37198 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37200 echo "$as_me:$LINENO: checking for $ac_header" >&5
37201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37203 echo $ECHO_N "(cached) $ECHO_C" >&6
37205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37208 # Is the header compilable?
37209 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37210 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37211 cat >conftest.$ac_ext <<_ACEOF
37214 cat confdefs.h >>conftest.$ac_ext
37215 cat >>conftest.$ac_ext <<_ACEOF
37216 /* end confdefs.h. */
37217 $ac_includes_default
37218 #include <$ac_header>
37220 rm -f conftest.$ac_objext
37221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37222 (eval $ac_compile) 2>conftest.er1
37224 grep -v '^ *+' conftest.er1 >conftest.err
37226 cat conftest.err >&5
37227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37228 (exit $ac_status); } &&
37229 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37231 (eval $ac_try) 2>&5
37233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37234 (exit $ac_status); }; } &&
37235 { ac_try='test -s conftest.$ac_objext'
37236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37237 (eval $ac_try) 2>&5
37239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37240 (exit $ac_status); }; }; then
37241 ac_header_compiler=yes
37243 echo "$as_me: failed program was:" >&5
37244 sed 's/^/| /' conftest.$ac_ext >&5
37246 ac_header_compiler=no
37248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37249 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37250 echo "${ECHO_T}$ac_header_compiler" >&6
37252 # Is the header present?
37253 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37254 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37255 cat >conftest.$ac_ext <<_ACEOF
37258 cat confdefs.h >>conftest.$ac_ext
37259 cat >>conftest.$ac_ext <<_ACEOF
37260 /* end confdefs.h. */
37261 #include <$ac_header>
37263 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37264 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37266 grep -v '^ *+' conftest.er1 >conftest.err
37268 cat conftest.err >&5
37269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37270 (exit $ac_status); } >/dev/null; then
37271 if test -s conftest.err; then
37272 ac_cpp_err=$ac_cxx_preproc_warn_flag
37273 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
37280 if test -z "$ac_cpp_err"; then
37281 ac_header_preproc=yes
37283 echo "$as_me: failed program was:" >&5
37284 sed 's/^/| /' conftest.$ac_ext >&5
37286 ac_header_preproc=no
37288 rm -f conftest.err conftest.$ac_ext
37289 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37290 echo "${ECHO_T}$ac_header_preproc" >&6
37292 # So? What about this header?
37293 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
37295 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37296 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37298 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37299 ac_header_preproc=yes
37302 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37303 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37304 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37305 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37306 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37307 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37308 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37309 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37311 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37312 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37313 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37316 ## ----------------------------------------- ##
37317 ## Report this to wx-dev@lists.wxwidgets.org ##
37318 ## ----------------------------------------- ##
37321 sed "s/^/$as_me: WARNING: /" >&2
37324 echo "$as_me:$LINENO: checking for $ac_header" >&5
37325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37327 echo $ECHO_N "(cached) $ECHO_C" >&6
37329 eval "$as_ac_Header=\$ac_header_preproc"
37331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37332 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37335 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37336 cat >>confdefs.h <<_ACEOF
37337 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37340 EXTRALIBS_ESD="-lesd"
37351 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
37352 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
37353 cat >conftest.$ac_ext <<_ACEOF
37356 cat confdefs.h >>conftest.$ac_ext
37357 cat >>conftest.$ac_ext <<_ACEOF
37358 /* end confdefs.h. */
37360 #include <linux/cdrom.h>
37363 #include <sys/cdio.h>
37369 struct cdrom_tocentry entry, old_entry;
37374 rm -f conftest.$ac_objext
37375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37376 (eval $ac_compile) 2>conftest.er1
37378 grep -v '^ *+' conftest.er1 >conftest.err
37380 cat conftest.err >&5
37381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37382 (exit $ac_status); } &&
37383 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37385 (eval $ac_try) 2>&5
37387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37388 (exit $ac_status); }; } &&
37389 { ac_try='test -s conftest.$ac_objext'
37390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37391 (eval $ac_try) 2>&5
37393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37394 (exit $ac_status); }; }; then
37395 echo "$as_me:$LINENO: result: yes" >&5
37396 echo "${ECHO_T}yes" >&6
37397 cat >>confdefs.h <<\_ACEOF
37398 #define HAVE_KNOWN_CDROM_INTERFACE 1
37402 echo "$as_me: failed program was:" >&5
37403 sed 's/^/| /' conftest.$ac_ext >&5
37405 echo "$as_me:$LINENO: result: no" >&5
37406 echo "${ECHO_T}no" >&6
37408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37411 cat >confcache <<\_ACEOF
37412 # This file is a shell script that caches the results of configure
37413 # tests run on this system so they can be shared between configure
37414 # scripts and configure runs, see configure's option --config-cache.
37415 # It is not useful on other systems. If it contains results you don't
37416 # want to keep, you may remove or edit it.
37418 # config.status only pays attention to the cache file if you give it
37419 # the --recheck option to rerun configure.
37421 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37422 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37423 # following values.
37427 # The following way of writing the cache mishandles newlines in values,
37428 # but we know of no workaround that is simple, portable, and efficient.
37429 # So, don't put newlines in cache variables' values.
37430 # Ultrix sh set writes to stderr and can't be redirected directly,
37431 # and sets the high bit in the cache file unless we assign to the vars.
37434 case `(ac_space=' '; set | grep ac_space) 2>&1` in
37436 # `set' does not quote correctly, so add quotes (double-quote
37437 # substitution turns \\\\ into \\, and sed turns \\ into \).
37440 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37443 # `set' quotes correctly as required by POSIX, so do not add quotes.
37445 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37452 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37454 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37456 if diff $cache_file confcache >/dev/null 2>&1; then :; else
37457 if test -w $cache_file; then
37458 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37459 cat confcache >$cache_file
37461 echo "not updating unwritable cache $cache_file"
37467 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37473 if test "$wxUSE_THREADS" = "yes" ; then
37474 if test "$USE_BEOS" = 1; then
37475 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37476 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37481 if test "$wxUSE_THREADS" = "yes" ; then
37484 THREAD_OPTS="-pthread"
37486 *-*-solaris2* | *-*-sunos4* )
37487 if test "x$GCC" = "xyes"; then
37488 THREAD_OPTS="-pthreads $THREAD_OPTS"
37490 THREAD_OPTS="-mt $THREAD_OPTS"
37494 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
37496 *-*-darwin* | *-*-cygwin* )
37500 THREAD_OPTS="pthreads"
37503 if test "x$GCC" = "xyes"; then
37504 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
37512 if test "x$GCC" = "xyes"; then
37518 if test "x$GCC" != "xyes"; then
37519 THREAD_OPTS="-Ethread"
37524 THREAD_OPTS="$THREAD_OPTS pthread none"
37527 for flag in $THREAD_OPTS; do
37530 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37531 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
37535 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37536 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
37537 THREADS_CXXFLAGS="$flag"
37541 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37542 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
37543 THREADS_LINK="-l$flag"
37548 save_CXXFLAGS="$CXXFLAGS"
37549 LIBS="$THREADS_LINK $LIBS"
37550 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
37552 cat >conftest.$ac_ext <<_ACEOF
37555 cat confdefs.h >>conftest.$ac_ext
37556 cat >>conftest.$ac_ext <<_ACEOF
37557 /* end confdefs.h. */
37558 #include <pthread.h>
37562 pthread_create(0,0,0,0);
37567 rm -f conftest.$ac_objext conftest$ac_exeext
37568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37569 (eval $ac_link) 2>conftest.er1
37571 grep -v '^ *+' conftest.er1 >conftest.err
37573 cat conftest.err >&5
37574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37575 (exit $ac_status); } &&
37576 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37578 (eval $ac_try) 2>&5
37580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37581 (exit $ac_status); }; } &&
37582 { ac_try='test -s conftest$ac_exeext'
37583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37584 (eval $ac_try) 2>&5
37586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37587 (exit $ac_status); }; }; then
37590 echo "$as_me: failed program was:" >&5
37591 sed 's/^/| /' conftest.$ac_ext >&5
37594 rm -f conftest.err conftest.$ac_objext \
37595 conftest$ac_exeext conftest.$ac_ext
37598 CXXFLAGS="$save_CXXFLAGS"
37600 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37601 echo "${ECHO_T}$THREADS_OK" >&6
37602 if test "x$THREADS_OK" = "xyes"; then
37607 THREADS_CXXFLAGS=""
37610 if test "x$THREADS_OK" != "xyes"; then
37612 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37613 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37615 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
37616 LIBS="$THREADS_LINK $LIBS"
37618 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37619 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37623 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37624 flag="-D_THREAD_SAFE"
37627 flag="-D_THREAD_SAFE"
37630 flag="-D_REENTRANT"
37631 if test "x$GCC" != "xyes"; then
37632 flag="$flag -D_RWSTD_MULTI_THREAD"
37635 *solaris* | alpha*-osf*)
37636 flag="-D_REENTRANT"
37639 echo "$as_me:$LINENO: result: ${flag}" >&5
37640 echo "${ECHO_T}${flag}" >&6
37641 if test "x$flag" != xno; then
37642 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
37645 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
37649 if test "$wxUSE_THREADS" = "yes" ; then
37651 for ac_func in thr_setconcurrency
37653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37654 echo "$as_me:$LINENO: checking for $ac_func" >&5
37655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37656 if eval "test \"\${$as_ac_var+set}\" = set"; then
37657 echo $ECHO_N "(cached) $ECHO_C" >&6
37659 cat >conftest.$ac_ext <<_ACEOF
37662 cat confdefs.h >>conftest.$ac_ext
37663 cat >>conftest.$ac_ext <<_ACEOF
37664 /* end confdefs.h. */
37665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37667 #define $ac_func innocuous_$ac_func
37669 /* System header to define __stub macros and hopefully few prototypes,
37670 which can conflict with char $ac_func (); below.
37671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37672 <limits.h> exists even on freestanding compilers. */
37675 # include <limits.h>
37677 # include <assert.h>
37682 /* Override any gcc2 internal prototype to avoid an error. */
37687 /* We use char because int might match the return type of a gcc2
37688 builtin and then its argument prototype would still apply. */
37690 /* The GNU C library defines this for functions which it implements
37691 to always fail with ENOSYS. Some functions are actually named
37692 something starting with __ and the normal name is an alias. */
37693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37696 char (*f) () = $ac_func;
37705 return f != $ac_func;
37710 rm -f conftest.$ac_objext conftest$ac_exeext
37711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37712 (eval $ac_link) 2>conftest.er1
37714 grep -v '^ *+' conftest.er1 >conftest.err
37716 cat conftest.err >&5
37717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37718 (exit $ac_status); } &&
37719 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37721 (eval $ac_try) 2>&5
37723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37724 (exit $ac_status); }; } &&
37725 { ac_try='test -s conftest$ac_exeext'
37726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37727 (eval $ac_try) 2>&5
37729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37730 (exit $ac_status); }; }; then
37731 eval "$as_ac_var=yes"
37733 echo "$as_me: failed program was:" >&5
37734 sed 's/^/| /' conftest.$ac_ext >&5
37736 eval "$as_ac_var=no"
37738 rm -f conftest.err conftest.$ac_objext \
37739 conftest$ac_exeext conftest.$ac_ext
37741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37743 if test `eval echo '${'$as_ac_var'}'` = yes; then
37744 cat >>confdefs.h <<_ACEOF
37745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37752 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37753 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37754 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37755 echo $ECHO_N "(cached) $ECHO_C" >&6
37758 cat >conftest.$ac_ext <<_ACEOF
37761 cat confdefs.h >>conftest.$ac_ext
37762 cat >>conftest.$ac_ext <<_ACEOF
37763 /* end confdefs.h. */
37764 #include <pthread.h>
37765 void ThreadCleanupFunc(void *p);
37772 pthread_cleanup_push(ThreadCleanupFunc, p);
37773 pthread_cleanup_pop(0);
37779 rm -f conftest.$ac_objext
37780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37781 (eval $ac_compile) 2>conftest.er1
37783 grep -v '^ *+' conftest.er1 >conftest.err
37785 cat conftest.err >&5
37786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37787 (exit $ac_status); } &&
37788 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37790 (eval $ac_try) 2>&5
37792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37793 (exit $ac_status); }; } &&
37794 { ac_try='test -s conftest.$ac_objext'
37795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37796 (eval $ac_try) 2>&5
37798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37799 (exit $ac_status); }; }; then
37801 wx_cv_func_pthread_cleanup=yes
37804 echo "$as_me: failed program was:" >&5
37805 sed 's/^/| /' conftest.$ac_ext >&5
37808 wx_cv_func_pthread_cleanup=no
37812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37815 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37816 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
37817 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37818 cat >>confdefs.h <<\_ACEOF
37819 #define wxHAVE_PTHREAD_CLEANUP 1
37825 for ac_header in sched.h
37827 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37829 echo "$as_me:$LINENO: checking for $ac_header" >&5
37830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37832 echo $ECHO_N "(cached) $ECHO_C" >&6
37834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37835 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37837 # Is the header compilable?
37838 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37839 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37840 cat >conftest.$ac_ext <<_ACEOF
37843 cat confdefs.h >>conftest.$ac_ext
37844 cat >>conftest.$ac_ext <<_ACEOF
37845 /* end confdefs.h. */
37846 $ac_includes_default
37847 #include <$ac_header>
37849 rm -f conftest.$ac_objext
37850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37851 (eval $ac_compile) 2>conftest.er1
37853 grep -v '^ *+' conftest.er1 >conftest.err
37855 cat conftest.err >&5
37856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37857 (exit $ac_status); } &&
37858 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37860 (eval $ac_try) 2>&5
37862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37863 (exit $ac_status); }; } &&
37864 { ac_try='test -s conftest.$ac_objext'
37865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37866 (eval $ac_try) 2>&5
37868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37869 (exit $ac_status); }; }; then
37870 ac_header_compiler=yes
37872 echo "$as_me: failed program was:" >&5
37873 sed 's/^/| /' conftest.$ac_ext >&5
37875 ac_header_compiler=no
37877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37878 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37879 echo "${ECHO_T}$ac_header_compiler" >&6
37881 # Is the header present?
37882 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37883 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37884 cat >conftest.$ac_ext <<_ACEOF
37887 cat confdefs.h >>conftest.$ac_ext
37888 cat >>conftest.$ac_ext <<_ACEOF
37889 /* end confdefs.h. */
37890 #include <$ac_header>
37892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37893 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37895 grep -v '^ *+' conftest.er1 >conftest.err
37897 cat conftest.err >&5
37898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37899 (exit $ac_status); } >/dev/null; then
37900 if test -s conftest.err; then
37901 ac_cpp_err=$ac_cxx_preproc_warn_flag
37902 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
37909 if test -z "$ac_cpp_err"; then
37910 ac_header_preproc=yes
37912 echo "$as_me: failed program was:" >&5
37913 sed 's/^/| /' conftest.$ac_ext >&5
37915 ac_header_preproc=no
37917 rm -f conftest.err conftest.$ac_ext
37918 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37919 echo "${ECHO_T}$ac_header_preproc" >&6
37921 # So? What about this header?
37922 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
37924 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37925 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37927 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37928 ac_header_preproc=yes
37931 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37932 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37933 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37934 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37935 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37936 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37937 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37938 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37939 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37940 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37941 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37942 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37945 ## ----------------------------------------- ##
37946 ## Report this to wx-dev@lists.wxwidgets.org ##
37947 ## ----------------------------------------- ##
37950 sed "s/^/$as_me: WARNING: /" >&2
37953 echo "$as_me:$LINENO: checking for $ac_header" >&5
37954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37956 echo $ECHO_N "(cached) $ECHO_C" >&6
37958 eval "$as_ac_Header=\$ac_header_preproc"
37960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37964 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37965 cat >>confdefs.h <<_ACEOF
37966 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37973 if test "$ac_cv_header_sched_h" = "yes"; then
37974 echo "$as_me:$LINENO: checking for sched_yield" >&5
37975 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
37976 if test "${ac_cv_func_sched_yield+set}" = set; then
37977 echo $ECHO_N "(cached) $ECHO_C" >&6
37979 cat >conftest.$ac_ext <<_ACEOF
37982 cat confdefs.h >>conftest.$ac_ext
37983 cat >>conftest.$ac_ext <<_ACEOF
37984 /* end confdefs.h. */
37985 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37987 #define sched_yield innocuous_sched_yield
37989 /* System header to define __stub macros and hopefully few prototypes,
37990 which can conflict with char sched_yield (); below.
37991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37992 <limits.h> exists even on freestanding compilers. */
37995 # include <limits.h>
37997 # include <assert.h>
38002 /* Override any gcc2 internal prototype to avoid an error. */
38007 /* We use char because int might match the return type of a gcc2
38008 builtin and then its argument prototype would still apply. */
38009 char sched_yield ();
38010 /* The GNU C library defines this for functions which it implements
38011 to always fail with ENOSYS. Some functions are actually named
38012 something starting with __ and the normal name is an alias. */
38013 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
38016 char (*f) () = sched_yield;
38025 return f != sched_yield;
38030 rm -f conftest.$ac_objext conftest$ac_exeext
38031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38032 (eval $ac_link) 2>conftest.er1
38034 grep -v '^ *+' conftest.er1 >conftest.err
38036 cat conftest.err >&5
38037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38038 (exit $ac_status); } &&
38039 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38041 (eval $ac_try) 2>&5
38043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38044 (exit $ac_status); }; } &&
38045 { ac_try='test -s conftest$ac_exeext'
38046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38047 (eval $ac_try) 2>&5
38049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38050 (exit $ac_status); }; }; then
38051 ac_cv_func_sched_yield=yes
38053 echo "$as_me: failed program was:" >&5
38054 sed 's/^/| /' conftest.$ac_ext >&5
38056 ac_cv_func_sched_yield=no
38058 rm -f conftest.err conftest.$ac_objext \
38059 conftest$ac_exeext conftest.$ac_ext
38061 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38062 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
38063 if test $ac_cv_func_sched_yield = yes; then
38064 cat >>confdefs.h <<\_ACEOF
38065 #define HAVE_SCHED_YIELD 1
38070 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38071 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
38072 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38073 echo $ECHO_N "(cached) $ECHO_C" >&6
38075 ac_check_lib_save_LIBS=$LIBS
38076 LIBS="-lposix4 $LIBS"
38077 cat >conftest.$ac_ext <<_ACEOF
38080 cat confdefs.h >>conftest.$ac_ext
38081 cat >>conftest.$ac_ext <<_ACEOF
38082 /* end confdefs.h. */
38084 /* Override any gcc2 internal prototype to avoid an error. */
38088 /* We use char because int might match the return type of a gcc2
38089 builtin and then its argument prototype would still apply. */
38090 char sched_yield ();
38099 rm -f conftest.$ac_objext conftest$ac_exeext
38100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38101 (eval $ac_link) 2>conftest.er1
38103 grep -v '^ *+' conftest.er1 >conftest.err
38105 cat conftest.err >&5
38106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38107 (exit $ac_status); } &&
38108 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38110 (eval $ac_try) 2>&5
38112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38113 (exit $ac_status); }; } &&
38114 { ac_try='test -s conftest$ac_exeext'
38115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38116 (eval $ac_try) 2>&5
38118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38119 (exit $ac_status); }; }; then
38120 ac_cv_lib_posix4_sched_yield=yes
38122 echo "$as_me: failed program was:" >&5
38123 sed 's/^/| /' conftest.$ac_ext >&5
38125 ac_cv_lib_posix4_sched_yield=no
38127 rm -f conftest.err conftest.$ac_objext \
38128 conftest$ac_exeext conftest.$ac_ext
38129 LIBS=$ac_check_lib_save_LIBS
38131 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38132 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
38133 if test $ac_cv_lib_posix4_sched_yield = yes; then
38134 cat >>confdefs.h <<\_ACEOF
38135 #define HAVE_SCHED_YIELD 1
38137 POSIX4_LINK=" -lposix4"
38139 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38140 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38151 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38152 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
38153 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38154 echo $ECHO_N "(cached) $ECHO_C" >&6
38156 cat >conftest.$ac_ext <<_ACEOF
38159 cat confdefs.h >>conftest.$ac_ext
38160 cat >>conftest.$ac_ext <<_ACEOF
38161 /* end confdefs.h. */
38162 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38164 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38166 /* System header to define __stub macros and hopefully few prototypes,
38167 which can conflict with char pthread_attr_getschedpolicy (); below.
38168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38169 <limits.h> exists even on freestanding compilers. */
38172 # include <limits.h>
38174 # include <assert.h>
38177 #undef pthread_attr_getschedpolicy
38179 /* Override any gcc2 internal prototype to avoid an error. */
38184 /* We use char because int might match the return type of a gcc2
38185 builtin and then its argument prototype would still apply. */
38186 char pthread_attr_getschedpolicy ();
38187 /* The GNU C library defines this for functions which it implements
38188 to always fail with ENOSYS. Some functions are actually named
38189 something starting with __ and the normal name is an alias. */
38190 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
38193 char (*f) () = pthread_attr_getschedpolicy;
38202 return f != pthread_attr_getschedpolicy;
38207 rm -f conftest.$ac_objext conftest$ac_exeext
38208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38209 (eval $ac_link) 2>conftest.er1
38211 grep -v '^ *+' conftest.er1 >conftest.err
38213 cat conftest.err >&5
38214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38215 (exit $ac_status); } &&
38216 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38218 (eval $ac_try) 2>&5
38220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38221 (exit $ac_status); }; } &&
38222 { ac_try='test -s conftest$ac_exeext'
38223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38224 (eval $ac_try) 2>&5
38226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38227 (exit $ac_status); }; }; then
38228 ac_cv_func_pthread_attr_getschedpolicy=yes
38230 echo "$as_me: failed program was:" >&5
38231 sed 's/^/| /' conftest.$ac_ext >&5
38233 ac_cv_func_pthread_attr_getschedpolicy=no
38235 rm -f conftest.err conftest.$ac_objext \
38236 conftest$ac_exeext conftest.$ac_ext
38238 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38239 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
38240 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38241 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38242 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
38243 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38244 echo $ECHO_N "(cached) $ECHO_C" >&6
38246 cat >conftest.$ac_ext <<_ACEOF
38249 cat confdefs.h >>conftest.$ac_ext
38250 cat >>conftest.$ac_ext <<_ACEOF
38251 /* end confdefs.h. */
38252 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38254 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38256 /* System header to define __stub macros and hopefully few prototypes,
38257 which can conflict with char pthread_attr_setschedparam (); below.
38258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38259 <limits.h> exists even on freestanding compilers. */
38262 # include <limits.h>
38264 # include <assert.h>
38267 #undef pthread_attr_setschedparam
38269 /* Override any gcc2 internal prototype to avoid an error. */
38274 /* We use char because int might match the return type of a gcc2
38275 builtin and then its argument prototype would still apply. */
38276 char pthread_attr_setschedparam ();
38277 /* The GNU C library defines this for functions which it implements
38278 to always fail with ENOSYS. Some functions are actually named
38279 something starting with __ and the normal name is an alias. */
38280 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
38283 char (*f) () = pthread_attr_setschedparam;
38292 return f != pthread_attr_setschedparam;
38297 rm -f conftest.$ac_objext conftest$ac_exeext
38298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38299 (eval $ac_link) 2>conftest.er1
38301 grep -v '^ *+' conftest.er1 >conftest.err
38303 cat conftest.err >&5
38304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38305 (exit $ac_status); } &&
38306 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38308 (eval $ac_try) 2>&5
38310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38311 (exit $ac_status); }; } &&
38312 { ac_try='test -s conftest$ac_exeext'
38313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38314 (eval $ac_try) 2>&5
38316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38317 (exit $ac_status); }; }; then
38318 ac_cv_func_pthread_attr_setschedparam=yes
38320 echo "$as_me: failed program was:" >&5
38321 sed 's/^/| /' conftest.$ac_ext >&5
38323 ac_cv_func_pthread_attr_setschedparam=no
38325 rm -f conftest.err conftest.$ac_objext \
38326 conftest$ac_exeext conftest.$ac_ext
38328 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38329 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
38330 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38331 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38332 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
38333 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38334 echo $ECHO_N "(cached) $ECHO_C" >&6
38336 cat >conftest.$ac_ext <<_ACEOF
38339 cat confdefs.h >>conftest.$ac_ext
38340 cat >>conftest.$ac_ext <<_ACEOF
38341 /* end confdefs.h. */
38342 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38344 #define sched_get_priority_max innocuous_sched_get_priority_max
38346 /* System header to define __stub macros and hopefully few prototypes,
38347 which can conflict with char sched_get_priority_max (); below.
38348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38349 <limits.h> exists even on freestanding compilers. */
38352 # include <limits.h>
38354 # include <assert.h>
38357 #undef sched_get_priority_max
38359 /* Override any gcc2 internal prototype to avoid an error. */
38364 /* We use char because int might match the return type of a gcc2
38365 builtin and then its argument prototype would still apply. */
38366 char sched_get_priority_max ();
38367 /* The GNU C library defines this for functions which it implements
38368 to always fail with ENOSYS. Some functions are actually named
38369 something starting with __ and the normal name is an alias. */
38370 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
38373 char (*f) () = sched_get_priority_max;
38382 return f != sched_get_priority_max;
38387 rm -f conftest.$ac_objext conftest$ac_exeext
38388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38389 (eval $ac_link) 2>conftest.er1
38391 grep -v '^ *+' conftest.er1 >conftest.err
38393 cat conftest.err >&5
38394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38395 (exit $ac_status); } &&
38396 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38398 (eval $ac_try) 2>&5
38400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38401 (exit $ac_status); }; } &&
38402 { ac_try='test -s conftest$ac_exeext'
38403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38404 (eval $ac_try) 2>&5
38406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38407 (exit $ac_status); }; }; then
38408 ac_cv_func_sched_get_priority_max=yes
38410 echo "$as_me: failed program was:" >&5
38411 sed 's/^/| /' conftest.$ac_ext >&5
38413 ac_cv_func_sched_get_priority_max=no
38415 rm -f conftest.err conftest.$ac_objext \
38416 conftest$ac_exeext conftest.$ac_ext
38418 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38419 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
38420 if test $ac_cv_func_sched_get_priority_max = yes; then
38423 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38424 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
38425 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38426 echo $ECHO_N "(cached) $ECHO_C" >&6
38428 ac_check_lib_save_LIBS=$LIBS
38429 LIBS="-lposix4 $LIBS"
38430 cat >conftest.$ac_ext <<_ACEOF
38433 cat confdefs.h >>conftest.$ac_ext
38434 cat >>conftest.$ac_ext <<_ACEOF
38435 /* end confdefs.h. */
38437 /* Override any gcc2 internal prototype to avoid an error. */
38441 /* We use char because int might match the return type of a gcc2
38442 builtin and then its argument prototype would still apply. */
38443 char sched_get_priority_max ();
38447 sched_get_priority_max ();
38452 rm -f conftest.$ac_objext conftest$ac_exeext
38453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38454 (eval $ac_link) 2>conftest.er1
38456 grep -v '^ *+' conftest.er1 >conftest.err
38458 cat conftest.err >&5
38459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38460 (exit $ac_status); } &&
38461 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38463 (eval $ac_try) 2>&5
38465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38466 (exit $ac_status); }; } &&
38467 { ac_try='test -s conftest$ac_exeext'
38468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38469 (eval $ac_try) 2>&5
38471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38472 (exit $ac_status); }; }; then
38473 ac_cv_lib_posix4_sched_get_priority_max=yes
38475 echo "$as_me: failed program was:" >&5
38476 sed 's/^/| /' conftest.$ac_ext >&5
38478 ac_cv_lib_posix4_sched_get_priority_max=no
38480 rm -f conftest.err conftest.$ac_objext \
38481 conftest$ac_exeext conftest.$ac_ext
38482 LIBS=$ac_check_lib_save_LIBS
38484 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38485 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
38486 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38489 POSIX4_LINK=" -lposix4"
38503 if test "$HAVE_PRIOR_FUNCS" = 1; then
38504 cat >>confdefs.h <<\_ACEOF
38505 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38509 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38510 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38513 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38514 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
38515 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38516 echo $ECHO_N "(cached) $ECHO_C" >&6
38518 cat >conftest.$ac_ext <<_ACEOF
38521 cat confdefs.h >>conftest.$ac_ext
38522 cat >>conftest.$ac_ext <<_ACEOF
38523 /* end confdefs.h. */
38524 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38526 #define pthread_cancel innocuous_pthread_cancel
38528 /* System header to define __stub macros and hopefully few prototypes,
38529 which can conflict with char pthread_cancel (); below.
38530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38531 <limits.h> exists even on freestanding compilers. */
38534 # include <limits.h>
38536 # include <assert.h>
38539 #undef pthread_cancel
38541 /* Override any gcc2 internal prototype to avoid an error. */
38546 /* We use char because int might match the return type of a gcc2
38547 builtin and then its argument prototype would still apply. */
38548 char pthread_cancel ();
38549 /* The GNU C library defines this for functions which it implements
38550 to always fail with ENOSYS. Some functions are actually named
38551 something starting with __ and the normal name is an alias. */
38552 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
38555 char (*f) () = pthread_cancel;
38564 return f != pthread_cancel;
38569 rm -f conftest.$ac_objext conftest$ac_exeext
38570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38571 (eval $ac_link) 2>conftest.er1
38573 grep -v '^ *+' conftest.er1 >conftest.err
38575 cat conftest.err >&5
38576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38577 (exit $ac_status); } &&
38578 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38580 (eval $ac_try) 2>&5
38582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38583 (exit $ac_status); }; } &&
38584 { ac_try='test -s conftest$ac_exeext'
38585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38586 (eval $ac_try) 2>&5
38588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38589 (exit $ac_status); }; }; then
38590 ac_cv_func_pthread_cancel=yes
38592 echo "$as_me: failed program was:" >&5
38593 sed 's/^/| /' conftest.$ac_ext >&5
38595 ac_cv_func_pthread_cancel=no
38597 rm -f conftest.err conftest.$ac_objext \
38598 conftest$ac_exeext conftest.$ac_ext
38600 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38601 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
38602 if test $ac_cv_func_pthread_cancel = yes; then
38603 cat >>confdefs.h <<\_ACEOF
38604 #define HAVE_PTHREAD_CANCEL 1
38608 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38609 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38613 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38614 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38615 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38616 echo $ECHO_N "(cached) $ECHO_C" >&6
38618 cat >conftest.$ac_ext <<_ACEOF
38621 cat confdefs.h >>conftest.$ac_ext
38622 cat >>conftest.$ac_ext <<_ACEOF
38623 /* end confdefs.h. */
38624 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38626 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38628 /* System header to define __stub macros and hopefully few prototypes,
38629 which can conflict with char pthread_attr_setstacksize (); below.
38630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38631 <limits.h> exists even on freestanding compilers. */
38634 # include <limits.h>
38636 # include <assert.h>
38639 #undef pthread_attr_setstacksize
38641 /* Override any gcc2 internal prototype to avoid an error. */
38646 /* We use char because int might match the return type of a gcc2
38647 builtin and then its argument prototype would still apply. */
38648 char pthread_attr_setstacksize ();
38649 /* The GNU C library defines this for functions which it implements
38650 to always fail with ENOSYS. Some functions are actually named
38651 something starting with __ and the normal name is an alias. */
38652 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38655 char (*f) () = pthread_attr_setstacksize;
38664 return f != pthread_attr_setstacksize;
38669 rm -f conftest.$ac_objext conftest$ac_exeext
38670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38671 (eval $ac_link) 2>conftest.er1
38673 grep -v '^ *+' conftest.er1 >conftest.err
38675 cat conftest.err >&5
38676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38677 (exit $ac_status); } &&
38678 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38680 (eval $ac_try) 2>&5
38682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38683 (exit $ac_status); }; } &&
38684 { ac_try='test -s conftest$ac_exeext'
38685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38686 (eval $ac_try) 2>&5
38688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38689 (exit $ac_status); }; }; then
38690 ac_cv_func_pthread_attr_setstacksize=yes
38692 echo "$as_me: failed program was:" >&5
38693 sed 's/^/| /' conftest.$ac_ext >&5
38695 ac_cv_func_pthread_attr_setstacksize=no
38697 rm -f conftest.err conftest.$ac_objext \
38698 conftest$ac_exeext conftest.$ac_ext
38700 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38701 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38702 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38703 cat >>confdefs.h <<\_ACEOF
38704 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38711 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38712 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38713 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38714 echo $ECHO_N "(cached) $ECHO_C" >&6
38717 cat >conftest.$ac_ext <<_ACEOF
38720 cat confdefs.h >>conftest.$ac_ext
38721 cat >>conftest.$ac_ext <<_ACEOF
38722 /* end confdefs.h. */
38723 #include <pthread.h>
38728 pthread_mutexattr_t attr;
38729 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38735 rm -f conftest.$ac_objext
38736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38737 (eval $ac_compile) 2>conftest.er1
38739 grep -v '^ *+' conftest.er1 >conftest.err
38741 cat conftest.err >&5
38742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38743 (exit $ac_status); } &&
38744 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38746 (eval $ac_try) 2>&5
38748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38749 (exit $ac_status); }; } &&
38750 { ac_try='test -s conftest.$ac_objext'
38751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38752 (eval $ac_try) 2>&5
38754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38755 (exit $ac_status); }; }; then
38756 wx_cv_type_pthread_mutexattr_t=yes
38758 echo "$as_me: failed program was:" >&5
38759 sed 's/^/| /' conftest.$ac_ext >&5
38761 wx_cv_type_pthread_mutexattr_t=no
38764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38767 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38768 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38770 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38771 cat >>confdefs.h <<\_ACEOF
38772 #define HAVE_PTHREAD_MUTEXATTR_T 1
38776 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38777 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38778 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38779 echo $ECHO_N "(cached) $ECHO_C" >&6
38782 cat >conftest.$ac_ext <<_ACEOF
38785 cat confdefs.h >>conftest.$ac_ext
38786 cat >>conftest.$ac_ext <<_ACEOF
38787 /* end confdefs.h. */
38788 #include <pthread.h>
38793 pthread_mutexattr_t attr;
38794 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38800 rm -f conftest.$ac_objext
38801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38802 (eval $ac_compile) 2>conftest.er1
38804 grep -v '^ *+' conftest.er1 >conftest.err
38806 cat conftest.err >&5
38807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38808 (exit $ac_status); } &&
38809 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38811 (eval $ac_try) 2>&5
38813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38814 (exit $ac_status); }; } &&
38815 { ac_try='test -s conftest.$ac_objext'
38816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38817 (eval $ac_try) 2>&5
38819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38820 (exit $ac_status); }; }; then
38821 wx_cv_func_pthread_mutexattr_settype_decl=yes
38823 echo "$as_me: failed program was:" >&5
38824 sed 's/^/| /' conftest.$ac_ext >&5
38826 wx_cv_func_pthread_mutexattr_settype_decl=no
38829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38832 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38833 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38834 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38835 cat >>confdefs.h <<\_ACEOF
38836 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38841 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38842 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38843 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38844 echo $ECHO_N "(cached) $ECHO_C" >&6
38847 cat >conftest.$ac_ext <<_ACEOF
38850 cat confdefs.h >>conftest.$ac_ext
38851 cat >>conftest.$ac_ext <<_ACEOF
38852 /* end confdefs.h. */
38853 #include <pthread.h>
38858 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38864 rm -f conftest.$ac_objext
38865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38866 (eval $ac_compile) 2>conftest.er1
38868 grep -v '^ *+' conftest.er1 >conftest.err
38870 cat conftest.err >&5
38871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38872 (exit $ac_status); } &&
38873 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38875 (eval $ac_try) 2>&5
38877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38878 (exit $ac_status); }; } &&
38879 { ac_try='test -s conftest.$ac_objext'
38880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38881 (eval $ac_try) 2>&5
38883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38884 (exit $ac_status); }; }; then
38886 wx_cv_type_pthread_rec_mutex_init=yes
38889 echo "$as_me: failed program was:" >&5
38890 sed 's/^/| /' conftest.$ac_ext >&5
38893 wx_cv_type_pthread_rec_mutex_init=no
38897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38900 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38901 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
38902 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38903 cat >>confdefs.h <<\_ACEOF
38904 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38908 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38909 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38915 if test "$wxUSE_THREADS" = "yes" ; then
38918 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38919 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
38920 if test "${wx_cv_cflags_mthread+set}" = set; then
38921 echo $ECHO_N "(cached) $ECHO_C" >&6
38924 CXXFLAGS_OLD="$CXXFLAGS"
38925 CXXFLAGS="-mthreads $CXXFLAGS"
38926 cat >conftest.$ac_ext <<_ACEOF
38929 cat confdefs.h >>conftest.$ac_ext
38930 cat >>conftest.$ac_ext <<_ACEOF
38931 /* end confdefs.h. */
38941 rm -f conftest.$ac_objext
38942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38943 (eval $ac_compile) 2>conftest.er1
38945 grep -v '^ *+' conftest.er1 >conftest.err
38947 cat conftest.err >&5
38948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38949 (exit $ac_status); } &&
38950 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38952 (eval $ac_try) 2>&5
38954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38955 (exit $ac_status); }; } &&
38956 { ac_try='test -s conftest.$ac_objext'
38957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38958 (eval $ac_try) 2>&5
38960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38961 (exit $ac_status); }; }; then
38962 wx_cv_cflags_mthread=yes
38964 echo "$as_me: failed program was:" >&5
38965 sed 's/^/| /' conftest.$ac_ext >&5
38967 wx_cv_cflags_mthread=no
38970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38974 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38975 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
38977 if test "$wx_cv_cflags_mthread" = "yes"; then
38978 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
38979 LDFLAGS="$LDFLAGS -mthreads"
38981 CXXFLAGS="$CXXFLAGS_OLD"
38985 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38986 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
38987 LDFLAGS="$LDFLAGS -Zmt"
38993 echo "$as_me:$LINENO: checking for localtime_r" >&5
38994 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
38995 if test "${ac_cv_func_localtime_r+set}" = set; then
38996 echo $ECHO_N "(cached) $ECHO_C" >&6
38998 cat >conftest.$ac_ext <<_ACEOF
39001 cat confdefs.h >>conftest.$ac_ext
39002 cat >>conftest.$ac_ext <<_ACEOF
39003 /* end confdefs.h. */
39004 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39006 #define localtime_r innocuous_localtime_r
39008 /* System header to define __stub macros and hopefully few prototypes,
39009 which can conflict with char localtime_r (); below.
39010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39011 <limits.h> exists even on freestanding compilers. */
39014 # include <limits.h>
39016 # include <assert.h>
39021 /* Override any gcc2 internal prototype to avoid an error. */
39026 /* We use char because int might match the return type of a gcc2
39027 builtin and then its argument prototype would still apply. */
39028 char localtime_r ();
39029 /* The GNU C library defines this for functions which it implements
39030 to always fail with ENOSYS. Some functions are actually named
39031 something starting with __ and the normal name is an alias. */
39032 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
39035 char (*f) () = localtime_r;
39044 return f != localtime_r;
39049 rm -f conftest.$ac_objext conftest$ac_exeext
39050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39051 (eval $ac_link) 2>conftest.er1
39053 grep -v '^ *+' conftest.er1 >conftest.err
39055 cat conftest.err >&5
39056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39057 (exit $ac_status); } &&
39058 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39060 (eval $ac_try) 2>&5
39062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39063 (exit $ac_status); }; } &&
39064 { ac_try='test -s conftest$ac_exeext'
39065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39066 (eval $ac_try) 2>&5
39068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39069 (exit $ac_status); }; }; then
39070 ac_cv_func_localtime_r=yes
39072 echo "$as_me: failed program was:" >&5
39073 sed 's/^/| /' conftest.$ac_ext >&5
39075 ac_cv_func_localtime_r=no
39077 rm -f conftest.err conftest.$ac_objext \
39078 conftest$ac_exeext conftest.$ac_ext
39080 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39081 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
39082 if test $ac_cv_func_localtime_r = yes; then
39083 cat >>confdefs.h <<\_ACEOF
39084 #define HAVE_LOCALTIME_R 1
39089 echo "$as_me:$LINENO: checking for gmtime_r" >&5
39090 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
39091 if test "${ac_cv_func_gmtime_r+set}" = set; then
39092 echo $ECHO_N "(cached) $ECHO_C" >&6
39094 cat >conftest.$ac_ext <<_ACEOF
39097 cat confdefs.h >>conftest.$ac_ext
39098 cat >>conftest.$ac_ext <<_ACEOF
39099 /* end confdefs.h. */
39100 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39102 #define gmtime_r innocuous_gmtime_r
39104 /* System header to define __stub macros and hopefully few prototypes,
39105 which can conflict with char gmtime_r (); below.
39106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39107 <limits.h> exists even on freestanding compilers. */
39110 # include <limits.h>
39112 # include <assert.h>
39117 /* Override any gcc2 internal prototype to avoid an error. */
39122 /* We use char because int might match the return type of a gcc2
39123 builtin and then its argument prototype would still apply. */
39125 /* The GNU C library defines this for functions which it implements
39126 to always fail with ENOSYS. Some functions are actually named
39127 something starting with __ and the normal name is an alias. */
39128 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
39131 char (*f) () = gmtime_r;
39140 return f != gmtime_r;
39145 rm -f conftest.$ac_objext conftest$ac_exeext
39146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39147 (eval $ac_link) 2>conftest.er1
39149 grep -v '^ *+' conftest.er1 >conftest.err
39151 cat conftest.err >&5
39152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39153 (exit $ac_status); } &&
39154 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39156 (eval $ac_try) 2>&5
39158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39159 (exit $ac_status); }; } &&
39160 { ac_try='test -s conftest$ac_exeext'
39161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39162 (eval $ac_try) 2>&5
39164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39165 (exit $ac_status); }; }; then
39166 ac_cv_func_gmtime_r=yes
39168 echo "$as_me: failed program was:" >&5
39169 sed 's/^/| /' conftest.$ac_ext >&5
39171 ac_cv_func_gmtime_r=no
39173 rm -f conftest.err conftest.$ac_objext \
39174 conftest$ac_exeext conftest.$ac_ext
39176 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39177 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
39178 if test $ac_cv_func_gmtime_r = yes; then
39179 cat >>confdefs.h <<\_ACEOF
39180 #define HAVE_GMTIME_R 1
39185 echo "$as_me:$LINENO: checking for readdir_r" >&5
39186 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
39187 if test "${ac_cv_func_readdir_r+set}" = set; then
39188 echo $ECHO_N "(cached) $ECHO_C" >&6
39190 cat >conftest.$ac_ext <<_ACEOF
39193 cat confdefs.h >>conftest.$ac_ext
39194 cat >>conftest.$ac_ext <<_ACEOF
39195 /* end confdefs.h. */
39196 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39198 #define readdir_r innocuous_readdir_r
39200 /* System header to define __stub macros and hopefully few prototypes,
39201 which can conflict with char readdir_r (); below.
39202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39203 <limits.h> exists even on freestanding compilers. */
39206 # include <limits.h>
39208 # include <assert.h>
39213 /* Override any gcc2 internal prototype to avoid an error. */
39218 /* We use char because int might match the return type of a gcc2
39219 builtin and then its argument prototype would still apply. */
39221 /* The GNU C library defines this for functions which it implements
39222 to always fail with ENOSYS. Some functions are actually named
39223 something starting with __ and the normal name is an alias. */
39224 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
39227 char (*f) () = readdir_r;
39236 return f != readdir_r;
39241 rm -f conftest.$ac_objext conftest$ac_exeext
39242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39243 (eval $ac_link) 2>conftest.er1
39245 grep -v '^ *+' conftest.er1 >conftest.err
39247 cat conftest.err >&5
39248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39249 (exit $ac_status); } &&
39250 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39252 (eval $ac_try) 2>&5
39254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39255 (exit $ac_status); }; } &&
39256 { ac_try='test -s conftest$ac_exeext'
39257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39258 (eval $ac_try) 2>&5
39260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39261 (exit $ac_status); }; }; then
39262 ac_cv_func_readdir_r=yes
39264 echo "$as_me: failed program was:" >&5
39265 sed 's/^/| /' conftest.$ac_ext >&5
39267 ac_cv_func_readdir_r=no
39269 rm -f conftest.err conftest.$ac_objext \
39270 conftest$ac_exeext conftest.$ac_ext
39272 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39273 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
39274 if test $ac_cv_func_readdir_r = yes; then
39275 cat >>confdefs.h <<\_ACEOF
39276 #define HAVE_READDIR_R 1
39285 ac_cpp='$CPP $CPPFLAGS'
39286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39290 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39291 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
39293 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39294 echo $ECHO_N "(cached) $ECHO_C" >&6
39298 ################################################################
39300 ac_cv_func_which_gethostbyname_r=unknown
39303 # ONE ARGUMENT (sanity check)
39306 # This should fail, as there is no variant of gethostbyname_r() that takes
39307 # a single argument. If it actually compiles, then we can assume that
39308 # netdb.h is not declaring the function, and the compiler is thereby
39309 # assuming an implicit prototype. In which case, we're out of luck.
39311 cat >conftest.$ac_ext <<_ACEOF
39314 cat confdefs.h >>conftest.$ac_ext
39315 cat >>conftest.$ac_ext <<_ACEOF
39316 /* end confdefs.h. */
39322 char *name = "www.gnu.org";
39323 (void)gethostbyname_r(name) /* ; */
39329 rm -f conftest.$ac_objext
39330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39331 (eval $ac_compile) 2>conftest.er1
39333 grep -v '^ *+' conftest.er1 >conftest.err
39335 cat conftest.err >&5
39336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39337 (exit $ac_status); } &&
39338 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39340 (eval $ac_try) 2>&5
39342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39343 (exit $ac_status); }; } &&
39344 { ac_try='test -s conftest.$ac_objext'
39345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39346 (eval $ac_try) 2>&5
39348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39349 (exit $ac_status); }; }; then
39350 ac_cv_func_which_gethostbyname_r=no
39352 echo "$as_me: failed program was:" >&5
39353 sed 's/^/| /' conftest.$ac_ext >&5
39356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39363 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39365 cat >conftest.$ac_ext <<_ACEOF
39368 cat confdefs.h >>conftest.$ac_ext
39369 cat >>conftest.$ac_ext <<_ACEOF
39370 /* end confdefs.h. */
39376 char *name = "www.gnu.org";
39377 struct hostent ret, *retp;
39381 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39387 rm -f conftest.$ac_objext
39388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39389 (eval $ac_compile) 2>conftest.er1
39391 grep -v '^ *+' conftest.er1 >conftest.err
39393 cat conftest.err >&5
39394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39395 (exit $ac_status); } &&
39396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39398 (eval $ac_try) 2>&5
39400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39401 (exit $ac_status); }; } &&
39402 { ac_try='test -s conftest.$ac_objext'
39403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39404 (eval $ac_try) 2>&5
39406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39407 (exit $ac_status); }; }; then
39408 ac_cv_func_which_gethostbyname_r=six
39410 echo "$as_me: failed program was:" >&5
39411 sed 's/^/| /' conftest.$ac_ext >&5
39414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39423 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39425 cat >conftest.$ac_ext <<_ACEOF
39428 cat confdefs.h >>conftest.$ac_ext
39429 cat >>conftest.$ac_ext <<_ACEOF
39430 /* end confdefs.h. */
39436 char *name = "www.gnu.org";
39437 struct hostent ret;
39441 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39447 rm -f conftest.$ac_objext
39448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39449 (eval $ac_compile) 2>conftest.er1
39451 grep -v '^ *+' conftest.er1 >conftest.err
39453 cat conftest.err >&5
39454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39455 (exit $ac_status); } &&
39456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39458 (eval $ac_try) 2>&5
39460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39461 (exit $ac_status); }; } &&
39462 { ac_try='test -s conftest.$ac_objext'
39463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39464 (eval $ac_try) 2>&5
39466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39467 (exit $ac_status); }; }; then
39468 ac_cv_func_which_gethostbyname_r=five
39470 echo "$as_me: failed program was:" >&5
39471 sed 's/^/| /' conftest.$ac_ext >&5
39474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39480 # (e.g. AIX, HP-UX, Tru64)
39483 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39485 cat >conftest.$ac_ext <<_ACEOF
39488 cat confdefs.h >>conftest.$ac_ext
39489 cat >>conftest.$ac_ext <<_ACEOF
39490 /* end confdefs.h. */
39496 char *name = "www.gnu.org";
39497 struct hostent ret;
39498 struct hostent_data data;
39499 (void)gethostbyname_r(name, &ret, &data) /* ; */
39505 rm -f conftest.$ac_objext
39506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39507 (eval $ac_compile) 2>conftest.er1
39509 grep -v '^ *+' conftest.er1 >conftest.err
39511 cat conftest.err >&5
39512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39513 (exit $ac_status); } &&
39514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39516 (eval $ac_try) 2>&5
39518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39519 (exit $ac_status); }; } &&
39520 { ac_try='test -s conftest.$ac_objext'
39521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39522 (eval $ac_try) 2>&5
39524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39525 (exit $ac_status); }; }; then
39526 ac_cv_func_which_gethostbyname_r=three
39528 echo "$as_me: failed program was:" >&5
39529 sed 's/^/| /' conftest.$ac_ext >&5
39532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39536 ################################################################
39541 case "$ac_cv_func_which_gethostbyname_r" in
39543 echo "$as_me:$LINENO: result: three" >&5
39544 echo "${ECHO_T}three" >&6
39545 cat >>confdefs.h <<\_ACEOF
39546 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39552 echo "$as_me:$LINENO: result: five" >&5
39553 echo "${ECHO_T}five" >&6
39554 cat >>confdefs.h <<\_ACEOF
39555 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39561 echo "$as_me:$LINENO: result: six" >&5
39562 echo "${ECHO_T}six" >&6
39563 cat >>confdefs.h <<\_ACEOF
39564 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39570 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39571 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
39575 echo "$as_me:$LINENO: result: can't tell" >&5
39576 echo "${ECHO_T}can't tell" >&6
39580 { { echo "$as_me:$LINENO: error: internal error" >&5
39581 echo "$as_me: error: internal error" >&2;}
39582 { (exit 1); exit 1; }; }
39587 ac_cpp='$CXXCPP $CPPFLAGS'
39588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39594 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39595 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39596 echo "$as_me:$LINENO: checking for gethostbyname" >&5
39597 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39598 if test "${ac_cv_func_gethostbyname+set}" = set; then
39599 echo $ECHO_N "(cached) $ECHO_C" >&6
39601 cat >conftest.$ac_ext <<_ACEOF
39604 cat confdefs.h >>conftest.$ac_ext
39605 cat >>conftest.$ac_ext <<_ACEOF
39606 /* end confdefs.h. */
39607 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39609 #define gethostbyname innocuous_gethostbyname
39611 /* System header to define __stub macros and hopefully few prototypes,
39612 which can conflict with char gethostbyname (); below.
39613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39614 <limits.h> exists even on freestanding compilers. */
39617 # include <limits.h>
39619 # include <assert.h>
39622 #undef gethostbyname
39624 /* Override any gcc2 internal prototype to avoid an error. */
39629 /* We use char because int might match the return type of a gcc2
39630 builtin and then its argument prototype would still apply. */
39631 char gethostbyname ();
39632 /* The GNU C library defines this for functions which it implements
39633 to always fail with ENOSYS. Some functions are actually named
39634 something starting with __ and the normal name is an alias. */
39635 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39638 char (*f) () = gethostbyname;
39647 return f != gethostbyname;
39652 rm -f conftest.$ac_objext conftest$ac_exeext
39653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39654 (eval $ac_link) 2>conftest.er1
39656 grep -v '^ *+' conftest.er1 >conftest.err
39658 cat conftest.err >&5
39659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39660 (exit $ac_status); } &&
39661 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39663 (eval $ac_try) 2>&5
39665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39666 (exit $ac_status); }; } &&
39667 { ac_try='test -s conftest$ac_exeext'
39668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39669 (eval $ac_try) 2>&5
39671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39672 (exit $ac_status); }; }; then
39673 ac_cv_func_gethostbyname=yes
39675 echo "$as_me: failed program was:" >&5
39676 sed 's/^/| /' conftest.$ac_ext >&5
39678 ac_cv_func_gethostbyname=no
39680 rm -f conftest.err conftest.$ac_objext \
39681 conftest$ac_exeext conftest.$ac_ext
39683 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39684 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39685 if test $ac_cv_func_gethostbyname = yes; then
39686 cat >>confdefs.h <<\_ACEOF
39687 #define HAVE_GETHOSTBYNAME 1
39693 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39694 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39695 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39696 echo $ECHO_N "(cached) $ECHO_C" >&6
39698 cat >conftest.$ac_ext <<_ACEOF
39701 cat confdefs.h >>conftest.$ac_ext
39702 cat >>conftest.$ac_ext <<_ACEOF
39703 /* end confdefs.h. */
39704 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39706 #define getservbyname_r innocuous_getservbyname_r
39708 /* System header to define __stub macros and hopefully few prototypes,
39709 which can conflict with char getservbyname_r (); below.
39710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39711 <limits.h> exists even on freestanding compilers. */
39714 # include <limits.h>
39716 # include <assert.h>
39719 #undef getservbyname_r
39721 /* Override any gcc2 internal prototype to avoid an error. */
39726 /* We use char because int might match the return type of a gcc2
39727 builtin and then its argument prototype would still apply. */
39728 char getservbyname_r ();
39729 /* The GNU C library defines this for functions which it implements
39730 to always fail with ENOSYS. Some functions are actually named
39731 something starting with __ and the normal name is an alias. */
39732 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
39735 char (*f) () = getservbyname_r;
39744 return f != getservbyname_r;
39749 rm -f conftest.$ac_objext conftest$ac_exeext
39750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39751 (eval $ac_link) 2>conftest.er1
39753 grep -v '^ *+' conftest.er1 >conftest.err
39755 cat conftest.err >&5
39756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39757 (exit $ac_status); } &&
39758 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39760 (eval $ac_try) 2>&5
39762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39763 (exit $ac_status); }; } &&
39764 { ac_try='test -s conftest$ac_exeext'
39765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39766 (eval $ac_try) 2>&5
39768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39769 (exit $ac_status); }; }; then
39770 ac_cv_func_getservbyname_r=yes
39772 echo "$as_me: failed program was:" >&5
39773 sed 's/^/| /' conftest.$ac_ext >&5
39775 ac_cv_func_getservbyname_r=no
39777 rm -f conftest.err conftest.$ac_objext \
39778 conftest$ac_exeext conftest.$ac_ext
39780 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39781 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
39782 if test $ac_cv_func_getservbyname_r = yes; then
39783 cat >conftest.$ac_ext <<_ACEOF
39786 cat confdefs.h >>conftest.$ac_ext
39787 cat >>conftest.$ac_ext <<_ACEOF
39788 /* end confdefs.h. */
39796 struct servent *se;
39797 struct servent_data data;
39798 (void) getservbyname_r(name, proto, se, &data);
39804 rm -f conftest.$ac_objext
39805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39806 (eval $ac_compile) 2>conftest.er1
39808 grep -v '^ *+' conftest.er1 >conftest.err
39810 cat conftest.err >&5
39811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39812 (exit $ac_status); } &&
39813 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39815 (eval $ac_try) 2>&5
39817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39818 (exit $ac_status); }; } &&
39819 { ac_try='test -s conftest.$ac_objext'
39820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39821 (eval $ac_try) 2>&5
39823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39824 (exit $ac_status); }; }; then
39825 ac_cv_func_which_getservbyname_r=four
39827 echo "$as_me: failed program was:" >&5
39828 sed 's/^/| /' conftest.$ac_ext >&5
39830 cat >conftest.$ac_ext <<_ACEOF
39833 cat confdefs.h >>conftest.$ac_ext
39834 cat >>conftest.$ac_ext <<_ACEOF
39835 /* end confdefs.h. */
39843 struct servent *se, *res;
39846 (void) getservbyname_r(name, proto, se, buffer, buflen, &res);
39852 rm -f conftest.$ac_objext
39853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39854 (eval $ac_compile) 2>conftest.er1
39856 grep -v '^ *+' conftest.er1 >conftest.err
39858 cat conftest.err >&5
39859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39860 (exit $ac_status); } &&
39861 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39863 (eval $ac_try) 2>&5
39865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39866 (exit $ac_status); }; } &&
39867 { ac_try='test -s conftest.$ac_objext'
39868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39869 (eval $ac_try) 2>&5
39871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39872 (exit $ac_status); }; }; then
39873 ac_cv_func_which_getservbyname_r=six
39875 echo "$as_me: failed program was:" >&5
39876 sed 's/^/| /' conftest.$ac_ext >&5
39878 cat >conftest.$ac_ext <<_ACEOF
39881 cat confdefs.h >>conftest.$ac_ext
39882 cat >>conftest.$ac_ext <<_ACEOF
39883 /* end confdefs.h. */
39891 struct servent *se;
39894 (void) getservbyname_r(name, proto, se, buffer, buflen)
39900 rm -f conftest.$ac_objext
39901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39902 (eval $ac_compile) 2>conftest.er1
39904 grep -v '^ *+' conftest.er1 >conftest.err
39906 cat conftest.err >&5
39907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39908 (exit $ac_status); } &&
39909 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39911 (eval $ac_try) 2>&5
39913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39914 (exit $ac_status); }; } &&
39915 { ac_try='test -s conftest.$ac_objext'
39916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39917 (eval $ac_try) 2>&5
39919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39920 (exit $ac_status); }; }; then
39921 ac_cv_func_which_getservbyname_r=five
39923 echo "$as_me: failed program was:" >&5
39924 sed 's/^/| /' conftest.$ac_ext >&5
39926 ac_cv_func_which_getservbyname_r=no
39929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39937 ac_cv_func_which_getservbyname_r=no
39941 if test $ac_cv_func_which_getservbyname_r = six; then
39942 cat >>confdefs.h <<\_ACEOF
39943 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39946 elif test $ac_cv_func_which_getservbyname_r = five; then
39947 cat >>confdefs.h <<\_ACEOF
39948 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39951 elif test $ac_cv_func_which_getservbyname_r = four; then
39952 cat >>confdefs.h <<\_ACEOF
39953 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39959 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39960 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39962 for ac_func in getservbyname
39964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39965 echo "$as_me:$LINENO: checking for $ac_func" >&5
39966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39967 if eval "test \"\${$as_ac_var+set}\" = set"; then
39968 echo $ECHO_N "(cached) $ECHO_C" >&6
39970 cat >conftest.$ac_ext <<_ACEOF
39973 cat confdefs.h >>conftest.$ac_ext
39974 cat >>conftest.$ac_ext <<_ACEOF
39975 /* end confdefs.h. */
39976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39978 #define $ac_func innocuous_$ac_func
39980 /* System header to define __stub macros and hopefully few prototypes,
39981 which can conflict with char $ac_func (); below.
39982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39983 <limits.h> exists even on freestanding compilers. */
39986 # include <limits.h>
39988 # include <assert.h>
39993 /* Override any gcc2 internal prototype to avoid an error. */
39998 /* We use char because int might match the return type of a gcc2
39999 builtin and then its argument prototype would still apply. */
40001 /* The GNU C library defines this for functions which it implements
40002 to always fail with ENOSYS. Some functions are actually named
40003 something starting with __ and the normal name is an alias. */
40004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40007 char (*f) () = $ac_func;
40016 return f != $ac_func;
40021 rm -f conftest.$ac_objext conftest$ac_exeext
40022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40023 (eval $ac_link) 2>conftest.er1
40025 grep -v '^ *+' conftest.er1 >conftest.err
40027 cat conftest.err >&5
40028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40029 (exit $ac_status); } &&
40030 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40032 (eval $ac_try) 2>&5
40034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40035 (exit $ac_status); }; } &&
40036 { ac_try='test -s conftest$ac_exeext'
40037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40038 (eval $ac_try) 2>&5
40040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40041 (exit $ac_status); }; }; then
40042 eval "$as_ac_var=yes"
40044 echo "$as_me: failed program was:" >&5
40045 sed 's/^/| /' conftest.$ac_ext >&5
40047 eval "$as_ac_var=no"
40049 rm -f conftest.err conftest.$ac_objext \
40050 conftest$ac_exeext conftest.$ac_ext
40052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40054 if test `eval echo '${'$as_ac_var'}'` = yes; then
40055 cat >>confdefs.h <<_ACEOF
40056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40058 cat >>confdefs.h <<\_ACEOF
40059 #define HAVE_GETSERVBYNAME 1
40067 if test "$wxUSE_THREADS" = "yes"; then
40068 cat >>confdefs.h <<\_ACEOF
40069 #define wxUSE_THREADS 1
40073 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40075 if test "$ac_cv_func_strtok_r" = "yes"; then
40076 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40077 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
40078 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40079 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40080 echo "$as_me:$LINENO: result: yes" >&5
40081 echo "${ECHO_T}yes" >&6
40083 echo "$as_me:$LINENO: result: no" >&5
40084 echo "${ECHO_T}no" >&6
40089 if test "$WXGTK20" = 1 ; then
40090 cat >>confdefs.h <<_ACEOF
40091 #define __WXGTK20__ $WXGTK20
40097 if test "$WXGTK12" = 1 ; then
40098 cat >>confdefs.h <<_ACEOF
40099 #define __WXGTK12__ $WXGTK12
40104 if test "$WXGTK127" = 1 ; then
40105 cat >>confdefs.h <<_ACEOF
40106 #define __WXGTK127__ $WXGTK127
40111 if test "$WXGPE" = 1 ; then
40112 cat >>confdefs.h <<_ACEOF
40113 #define __WXGPE__ $WXGPE
40119 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40124 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40125 wxUSE_DEBUG_INFO=yes
40126 if test "$GCC" = yes; then
40127 DEBUG_CFLAGS="-ggdb"
40131 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40132 cat >>confdefs.h <<\_ACEOF
40136 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40138 if test "$wxUSE_GTK" = 1 ; then
40139 if test "x$wxGTK_VERSION" = "x1" ; then
40140 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40145 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40146 cat >>confdefs.h <<\_ACEOF
40147 #define wxUSE_MEMORY_TRACING 1
40150 cat >>confdefs.h <<\_ACEOF
40151 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40154 cat >>confdefs.h <<\_ACEOF
40155 #define wxUSE_DEBUG_NEW_ALWAYS 1
40158 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40161 if test "$wxUSE_DMALLOC" = "yes" ; then
40162 DMALLOC_LIBS="-ldmallocthcxx"
40166 if test "$wxUSE_PROFILE" = "yes" ; then
40167 PROFILE_FLAGS=" -pg"
40170 if test "$GCC" = "yes" ; then
40171 if test "$wxUSE_NO_RTTI" = "yes" ; then
40172 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40174 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40175 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40177 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40178 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40183 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40186 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40192 if test "$wxUSE_OPTIMISE" = "no" ; then
40193 if test "$GCC" = yes ; then
40194 OPTIMISE_CFLAGS="-O0"
40197 if test "$GCC" = yes ; then
40199 *-pc-os2_emx | *-pc-os2-emx )
40200 OPTIMISE_CFLAGS="-O2"
40203 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40207 OPTIMISE_CFLAGS="-O"
40212 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
40213 cat >>confdefs.h <<\_ACEOF
40214 #define WXWIN_COMPATIBILITY_2_4 1
40218 WXWIN_COMPATIBILITY_2_6="yes"
40221 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
40222 cat >>confdefs.h <<\_ACEOF
40223 #define WXWIN_COMPATIBILITY_2_6 1
40229 if test "$wxUSE_GUI" = "yes"; then
40230 cat >>confdefs.h <<\_ACEOF
40231 #define wxUSE_GUI 1
40238 if test "$wxUSE_UNIX" = "yes"; then
40239 cat >>confdefs.h <<\_ACEOF
40240 #define wxUSE_UNIX 1
40246 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40250 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40251 if test "$USE_DARWIN" = 1; then
40253 elif test "$USE_DOS" = 1; then
40257 for ac_func in dlopen
40259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40260 echo "$as_me:$LINENO: checking for $ac_func" >&5
40261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40262 if eval "test \"\${$as_ac_var+set}\" = set"; then
40263 echo $ECHO_N "(cached) $ECHO_C" >&6
40265 cat >conftest.$ac_ext <<_ACEOF
40268 cat confdefs.h >>conftest.$ac_ext
40269 cat >>conftest.$ac_ext <<_ACEOF
40270 /* end confdefs.h. */
40271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40273 #define $ac_func innocuous_$ac_func
40275 /* System header to define __stub macros and hopefully few prototypes,
40276 which can conflict with char $ac_func (); below.
40277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40278 <limits.h> exists even on freestanding compilers. */
40281 # include <limits.h>
40283 # include <assert.h>
40288 /* Override any gcc2 internal prototype to avoid an error. */
40293 /* We use char because int might match the return type of a gcc2
40294 builtin and then its argument prototype would still apply. */
40296 /* The GNU C library defines this for functions which it implements
40297 to always fail with ENOSYS. Some functions are actually named
40298 something starting with __ and the normal name is an alias. */
40299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40302 char (*f) () = $ac_func;
40311 return f != $ac_func;
40316 rm -f conftest.$ac_objext conftest$ac_exeext
40317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40318 (eval $ac_link) 2>conftest.er1
40320 grep -v '^ *+' conftest.er1 >conftest.err
40322 cat conftest.err >&5
40323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40324 (exit $ac_status); } &&
40325 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40327 (eval $ac_try) 2>&5
40329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40330 (exit $ac_status); }; } &&
40331 { ac_try='test -s conftest$ac_exeext'
40332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40333 (eval $ac_try) 2>&5
40335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40336 (exit $ac_status); }; }; then
40337 eval "$as_ac_var=yes"
40339 echo "$as_me: failed program was:" >&5
40340 sed 's/^/| /' conftest.$ac_ext >&5
40342 eval "$as_ac_var=no"
40344 rm -f conftest.err conftest.$ac_objext \
40345 conftest$ac_exeext conftest.$ac_ext
40347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40349 if test `eval echo '${'$as_ac_var'}'` = yes; then
40350 cat >>confdefs.h <<_ACEOF
40351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40354 cat >>confdefs.h <<\_ACEOF
40355 #define HAVE_DLOPEN 1
40362 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40363 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
40364 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40365 echo $ECHO_N "(cached) $ECHO_C" >&6
40367 ac_check_lib_save_LIBS=$LIBS
40369 cat >conftest.$ac_ext <<_ACEOF
40372 cat confdefs.h >>conftest.$ac_ext
40373 cat >>conftest.$ac_ext <<_ACEOF
40374 /* end confdefs.h. */
40376 /* Override any gcc2 internal prototype to avoid an error. */
40380 /* We use char because int might match the return type of a gcc2
40381 builtin and then its argument prototype would still apply. */
40391 rm -f conftest.$ac_objext conftest$ac_exeext
40392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40393 (eval $ac_link) 2>conftest.er1
40395 grep -v '^ *+' conftest.er1 >conftest.err
40397 cat conftest.err >&5
40398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40399 (exit $ac_status); } &&
40400 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40402 (eval $ac_try) 2>&5
40404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40405 (exit $ac_status); }; } &&
40406 { ac_try='test -s conftest$ac_exeext'
40407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40408 (eval $ac_try) 2>&5
40410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40411 (exit $ac_status); }; }; then
40412 ac_cv_lib_dl_dlopen=yes
40414 echo "$as_me: failed program was:" >&5
40415 sed 's/^/| /' conftest.$ac_ext >&5
40417 ac_cv_lib_dl_dlopen=no
40419 rm -f conftest.err conftest.$ac_objext \
40420 conftest$ac_exeext conftest.$ac_ext
40421 LIBS=$ac_check_lib_save_LIBS
40423 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40424 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
40425 if test $ac_cv_lib_dl_dlopen = yes; then
40427 cat >>confdefs.h <<\_ACEOF
40428 #define HAVE_DLOPEN 1
40432 DL_LINK=" -ldl$DL_LINK"
40437 for ac_func in shl_load
40439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40440 echo "$as_me:$LINENO: checking for $ac_func" >&5
40441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40442 if eval "test \"\${$as_ac_var+set}\" = set"; then
40443 echo $ECHO_N "(cached) $ECHO_C" >&6
40445 cat >conftest.$ac_ext <<_ACEOF
40448 cat confdefs.h >>conftest.$ac_ext
40449 cat >>conftest.$ac_ext <<_ACEOF
40450 /* end confdefs.h. */
40451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40453 #define $ac_func innocuous_$ac_func
40455 /* System header to define __stub macros and hopefully few prototypes,
40456 which can conflict with char $ac_func (); below.
40457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40458 <limits.h> exists even on freestanding compilers. */
40461 # include <limits.h>
40463 # include <assert.h>
40468 /* Override any gcc2 internal prototype to avoid an error. */
40473 /* We use char because int might match the return type of a gcc2
40474 builtin and then its argument prototype would still apply. */
40476 /* The GNU C library defines this for functions which it implements
40477 to always fail with ENOSYS. Some functions are actually named
40478 something starting with __ and the normal name is an alias. */
40479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40482 char (*f) () = $ac_func;
40491 return f != $ac_func;
40496 rm -f conftest.$ac_objext conftest$ac_exeext
40497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40498 (eval $ac_link) 2>conftest.er1
40500 grep -v '^ *+' conftest.er1 >conftest.err
40502 cat conftest.err >&5
40503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40504 (exit $ac_status); } &&
40505 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40507 (eval $ac_try) 2>&5
40509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40510 (exit $ac_status); }; } &&
40511 { ac_try='test -s conftest$ac_exeext'
40512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40513 (eval $ac_try) 2>&5
40515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40516 (exit $ac_status); }; }; then
40517 eval "$as_ac_var=yes"
40519 echo "$as_me: failed program was:" >&5
40520 sed 's/^/| /' conftest.$ac_ext >&5
40522 eval "$as_ac_var=no"
40524 rm -f conftest.err conftest.$ac_objext \
40525 conftest$ac_exeext conftest.$ac_ext
40527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40529 if test `eval echo '${'$as_ac_var'}'` = yes; then
40530 cat >>confdefs.h <<_ACEOF
40531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40534 cat >>confdefs.h <<\_ACEOF
40535 #define HAVE_SHL_LOAD 1
40542 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40543 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
40544 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40545 echo $ECHO_N "(cached) $ECHO_C" >&6
40547 ac_check_lib_save_LIBS=$LIBS
40548 LIBS="-lshl_load $LIBS"
40549 cat >conftest.$ac_ext <<_ACEOF
40552 cat confdefs.h >>conftest.$ac_ext
40553 cat >>conftest.$ac_ext <<_ACEOF
40554 /* end confdefs.h. */
40556 /* Override any gcc2 internal prototype to avoid an error. */
40560 /* We use char because int might match the return type of a gcc2
40561 builtin and then its argument prototype would still apply. */
40571 rm -f conftest.$ac_objext conftest$ac_exeext
40572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40573 (eval $ac_link) 2>conftest.er1
40575 grep -v '^ *+' conftest.er1 >conftest.err
40577 cat conftest.err >&5
40578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40579 (exit $ac_status); } &&
40580 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40582 (eval $ac_try) 2>&5
40584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40585 (exit $ac_status); }; } &&
40586 { ac_try='test -s conftest$ac_exeext'
40587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40588 (eval $ac_try) 2>&5
40590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40591 (exit $ac_status); }; }; then
40592 ac_cv_lib_shl_load_dld=yes
40594 echo "$as_me: failed program was:" >&5
40595 sed 's/^/| /' conftest.$ac_ext >&5
40597 ac_cv_lib_shl_load_dld=no
40599 rm -f conftest.err conftest.$ac_objext \
40600 conftest$ac_exeext conftest.$ac_ext
40601 LIBS=$ac_check_lib_save_LIBS
40603 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40604 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40605 if test $ac_cv_lib_shl_load_dld = yes; then
40608 DL_LINK=" -ldld$DL_LINK"
40624 if test "$HAVE_DL_FUNCS" = 1; then
40626 for ac_func in dlerror
40628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40629 echo "$as_me:$LINENO: checking for $ac_func" >&5
40630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40631 if eval "test \"\${$as_ac_var+set}\" = set"; then
40632 echo $ECHO_N "(cached) $ECHO_C" >&6
40634 cat >conftest.$ac_ext <<_ACEOF
40637 cat confdefs.h >>conftest.$ac_ext
40638 cat >>conftest.$ac_ext <<_ACEOF
40639 /* end confdefs.h. */
40640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40642 #define $ac_func innocuous_$ac_func
40644 /* System header to define __stub macros and hopefully few prototypes,
40645 which can conflict with char $ac_func (); below.
40646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40647 <limits.h> exists even on freestanding compilers. */
40650 # include <limits.h>
40652 # include <assert.h>
40657 /* Override any gcc2 internal prototype to avoid an error. */
40662 /* We use char because int might match the return type of a gcc2
40663 builtin and then its argument prototype would still apply. */
40665 /* The GNU C library defines this for functions which it implements
40666 to always fail with ENOSYS. Some functions are actually named
40667 something starting with __ and the normal name is an alias. */
40668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40671 char (*f) () = $ac_func;
40680 return f != $ac_func;
40685 rm -f conftest.$ac_objext conftest$ac_exeext
40686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40687 (eval $ac_link) 2>conftest.er1
40689 grep -v '^ *+' conftest.er1 >conftest.err
40691 cat conftest.err >&5
40692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40693 (exit $ac_status); } &&
40694 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40696 (eval $ac_try) 2>&5
40698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40699 (exit $ac_status); }; } &&
40700 { ac_try='test -s conftest$ac_exeext'
40701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40702 (eval $ac_try) 2>&5
40704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40705 (exit $ac_status); }; }; then
40706 eval "$as_ac_var=yes"
40708 echo "$as_me: failed program was:" >&5
40709 sed 's/^/| /' conftest.$ac_ext >&5
40711 eval "$as_ac_var=no"
40713 rm -f conftest.err conftest.$ac_objext \
40714 conftest$ac_exeext conftest.$ac_ext
40716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40718 if test `eval echo '${'$as_ac_var'}'` = yes; then
40719 cat >>confdefs.h <<_ACEOF
40720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40722 cat >>confdefs.h <<\_ACEOF
40723 #define HAVE_DLERROR 1
40728 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40729 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40730 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40731 echo $ECHO_N "(cached) $ECHO_C" >&6
40733 ac_check_lib_save_LIBS=$LIBS
40735 cat >conftest.$ac_ext <<_ACEOF
40738 cat confdefs.h >>conftest.$ac_ext
40739 cat >>conftest.$ac_ext <<_ACEOF
40740 /* end confdefs.h. */
40742 /* Override any gcc2 internal prototype to avoid an error. */
40746 /* We use char because int might match the return type of a gcc2
40747 builtin and then its argument prototype would still apply. */
40757 rm -f conftest.$ac_objext conftest$ac_exeext
40758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40759 (eval $ac_link) 2>conftest.er1
40761 grep -v '^ *+' conftest.er1 >conftest.err
40763 cat conftest.err >&5
40764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40765 (exit $ac_status); } &&
40766 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40768 (eval $ac_try) 2>&5
40770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40771 (exit $ac_status); }; } &&
40772 { ac_try='test -s conftest$ac_exeext'
40773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40774 (eval $ac_try) 2>&5
40776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40777 (exit $ac_status); }; }; then
40778 ac_cv_lib_dl_dlerror=yes
40780 echo "$as_me: failed program was:" >&5
40781 sed 's/^/| /' conftest.$ac_ext >&5
40783 ac_cv_lib_dl_dlerror=no
40785 rm -f conftest.err conftest.$ac_objext \
40786 conftest$ac_exeext conftest.$ac_ext
40787 LIBS=$ac_check_lib_save_LIBS
40789 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40790 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
40791 if test $ac_cv_lib_dl_dlerror = yes; then
40792 cat >>confdefs.h <<\_ACEOF
40793 #define HAVE_DLERROR 1
40806 if test "$HAVE_DL_FUNCS" = 0; then
40807 if test "$HAVE_SHL_FUNCS" = 0; then
40808 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40809 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40810 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40811 wxUSE_DYNAMIC_LOADER=no
40812 wxUSE_DYNLIB_CLASS=no
40814 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40815 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40822 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40823 cat >>confdefs.h <<\_ACEOF
40824 #define wxUSE_DYNAMIC_LOADER 1
40828 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40829 cat >>confdefs.h <<\_ACEOF
40830 #define wxUSE_DYNLIB_CLASS 1
40837 if test "$wxUSE_PLUGINS" = "yes" ; then
40838 if test "$wxUSE_SHARED" = "no" ; then
40839 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40840 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40843 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40844 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40845 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40848 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40849 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40850 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40853 if test "$wxUSE_PLUGINS" = "yes" ; then
40854 cat >>confdefs.h <<\_ACEOF
40855 #define wxUSE_PLUGINS 1
40862 if test "$wxUSE_STL" = "yes"; then
40863 cat >>confdefs.h <<\_ACEOF
40864 #define wxUSE_STL 1
40869 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40870 cat >>confdefs.h <<\_ACEOF
40871 #define wxUSE_APPLE_IEEE 1
40876 if test "$wxUSE_TIMER" = "yes"; then
40877 cat >>confdefs.h <<\_ACEOF
40878 #define wxUSE_TIMER 1
40883 if test "$USE_UNIX" = "1" ; then
40884 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
40885 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
40886 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40887 echo $ECHO_N "(cached) $ECHO_C" >&6
40890 cat >conftest.$ac_ext <<_ACEOF
40893 cat confdefs.h >>conftest.$ac_ext
40894 cat >>conftest.$ac_ext <<_ACEOF
40895 /* end confdefs.h. */
40897 #include <sys/soundcard.h>
40903 ioctl(0, SNDCTL_DSP_SYNC, 0);
40909 rm -f conftest.$ac_objext conftest$ac_exeext
40910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40911 (eval $ac_link) 2>conftest.er1
40913 grep -v '^ *+' conftest.er1 >conftest.err
40915 cat conftest.err >&5
40916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40917 (exit $ac_status); } &&
40918 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40920 (eval $ac_try) 2>&5
40922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40923 (exit $ac_status); }; } &&
40924 { ac_try='test -s conftest$ac_exeext'
40925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40926 (eval $ac_try) 2>&5
40928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40929 (exit $ac_status); }; }; then
40930 ac_cv_header_sys_soundcard=yes
40932 echo "$as_me: failed program was:" >&5
40933 sed 's/^/| /' conftest.$ac_ext >&5
40937 LIBS="$saveLibs -lossaudio"
40938 cat >conftest.$ac_ext <<_ACEOF
40941 cat confdefs.h >>conftest.$ac_ext
40942 cat >>conftest.$ac_ext <<_ACEOF
40943 /* end confdefs.h. */
40945 #include <sys/soundcard.h>
40951 ioctl(0, SNDCTL_DSP_SYNC, 0);
40957 rm -f conftest.$ac_objext conftest$ac_exeext
40958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40959 (eval $ac_link) 2>conftest.er1
40961 grep -v '^ *+' conftest.er1 >conftest.err
40963 cat conftest.err >&5
40964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40965 (exit $ac_status); } &&
40966 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40968 (eval $ac_try) 2>&5
40970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40971 (exit $ac_status); }; } &&
40972 { ac_try='test -s conftest$ac_exeext'
40973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40974 (eval $ac_try) 2>&5
40976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40977 (exit $ac_status); }; }; then
40978 ac_cv_header_sys_soundcard=yes
40980 echo "$as_me: failed program was:" >&5
40981 sed 's/^/| /' conftest.$ac_ext >&5
40985 ac_cv_header_sys_soundcard=no
40989 rm -f conftest.err conftest.$ac_objext \
40990 conftest$ac_exeext conftest.$ac_ext
40994 rm -f conftest.err conftest.$ac_objext \
40995 conftest$ac_exeext conftest.$ac_ext
40998 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40999 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
41001 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41002 cat >>confdefs.h <<\_ACEOF
41003 #define HAVE_SYS_SOUNDCARD_H 1
41007 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
41011 if test "$wxUSE_SOUND" = "yes"; then
41012 if test "$USE_UNIX" = "1" ; then
41013 if test "$wxUSE_LIBSDL" != "no"; then
41015 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
41016 if test "${with_sdl_prefix+set}" = set; then
41017 withval="$with_sdl_prefix"
41018 sdl_prefix="$withval"
41023 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
41024 if test "${with_sdl_exec_prefix+set}" = set; then
41025 withval="$with_sdl_exec_prefix"
41026 sdl_exec_prefix="$withval"
41030 # Check whether --enable-sdltest or --disable-sdltest was given.
41031 if test "${enable_sdltest+set}" = set; then
41032 enableval="$enable_sdltest"
41038 if test x$sdl_exec_prefix != x ; then
41039 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41040 if test x${SDL_CONFIG+set} != xset ; then
41041 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41044 if test x$sdl_prefix != x ; then
41045 sdl_args="$sdl_args --prefix=$sdl_prefix"
41046 if test x${SDL_CONFIG+set} != xset ; then
41047 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41052 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41053 # Extract the first word of "sdl-config", so it can be a program name with args.
41054 set dummy sdl-config; ac_word=$2
41055 echo "$as_me:$LINENO: checking for $ac_word" >&5
41056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41057 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41058 echo $ECHO_N "(cached) $ECHO_C" >&6
41060 case $SDL_CONFIG in
41062 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41066 for as_dir in $PATH
41069 test -z "$as_dir" && as_dir=.
41070 for ac_exec_ext in '' $ac_executable_extensions; do
41071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41072 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41079 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41083 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41085 if test -n "$SDL_CONFIG"; then
41086 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41087 echo "${ECHO_T}$SDL_CONFIG" >&6
41089 echo "$as_me:$LINENO: result: no" >&5
41090 echo "${ECHO_T}no" >&6
41093 min_sdl_version=1.2.0
41094 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41095 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
41097 if test "$SDL_CONFIG" = "no" ; then
41100 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41101 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41103 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41104 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41105 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41106 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41107 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41108 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41109 if test "x$enable_sdltest" = "xyes" ; then
41110 ac_save_CFLAGS="$CFLAGS"
41111 ac_save_CXXFLAGS="$CXXFLAGS"
41112 ac_save_LIBS="$LIBS"
41113 CFLAGS="$CFLAGS $SDL_CFLAGS"
41114 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41115 LIBS="$LIBS $SDL_LIBS"
41117 if test "$cross_compiling" = yes; then
41118 echo $ac_n "cross compiling; assumed OK... $ac_c"
41120 cat >conftest.$ac_ext <<_ACEOF
41123 cat confdefs.h >>conftest.$ac_ext
41124 cat >>conftest.$ac_ext <<_ACEOF
41125 /* end confdefs.h. */
41128 #include <stdlib.h>
41129 #include <string.h>
41133 my_strdup (char *str)
41139 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41140 strcpy (new_str, str);
41148 int main (int argc, char *argv[])
41150 int major, minor, micro;
41153 /* This hangs on some systems (?)
41154 system ("touch conf.sdltest");
41156 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41158 /* HP/UX 9 (%@#!) writes to sscanf strings */
41159 tmp_version = my_strdup("$min_sdl_version");
41160 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41161 printf("%s, bad version string\n", "$min_sdl_version");
41165 if (($sdl_major_version > major) ||
41166 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41167 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41173 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41174 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41175 printf("*** best to upgrade to the required version.\n");
41176 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41177 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41178 printf("*** config.cache before re-running configure\n");
41185 rm -f conftest$ac_exeext
41186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41187 (eval $ac_link) 2>&5
41189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41190 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41192 (eval $ac_try) 2>&5
41194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41195 (exit $ac_status); }; }; then
41198 echo "$as_me: program exited with status $ac_status" >&5
41199 echo "$as_me: failed program was:" >&5
41200 sed 's/^/| /' conftest.$ac_ext >&5
41202 ( exit $ac_status )
41205 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41207 CFLAGS="$ac_save_CFLAGS"
41208 CXXFLAGS="$ac_save_CXXFLAGS"
41209 LIBS="$ac_save_LIBS"
41212 if test "x$no_sdl" = x ; then
41213 echo "$as_me:$LINENO: result: yes" >&5
41214 echo "${ECHO_T}yes" >&6
41216 EXTRALIBS_SDL="$SDL_LIBS"
41217 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41218 cat >>confdefs.h <<\_ACEOF
41219 #define wxUSE_LIBSDL 1
41224 echo "$as_me:$LINENO: result: no" >&5
41225 echo "${ECHO_T}no" >&6
41226 if test "$SDL_CONFIG" = "no" ; then
41227 echo "*** The sdl-config script installed by SDL could not be found"
41228 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41229 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41230 echo "*** full path to sdl-config."
41232 if test -f conf.sdltest ; then
41235 echo "*** Could not run SDL test program, checking why..."
41236 CFLAGS="$CFLAGS $SDL_CFLAGS"
41237 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41238 LIBS="$LIBS $SDL_LIBS"
41239 cat >conftest.$ac_ext <<_ACEOF
41242 cat confdefs.h >>conftest.$ac_ext
41243 cat >>conftest.$ac_ext <<_ACEOF
41244 /* end confdefs.h. */
41249 int main(int argc, char *argv[])
41252 #define main K_and_R_C_main
41262 rm -f conftest.$ac_objext conftest$ac_exeext
41263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41264 (eval $ac_link) 2>conftest.er1
41266 grep -v '^ *+' conftest.er1 >conftest.err
41268 cat conftest.err >&5
41269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41270 (exit $ac_status); } &&
41271 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41273 (eval $ac_try) 2>&5
41275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41276 (exit $ac_status); }; } &&
41277 { ac_try='test -s conftest$ac_exeext'
41278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41279 (eval $ac_try) 2>&5
41281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41282 (exit $ac_status); }; }; then
41283 echo "*** The test program compiled, but did not run. This usually means"
41284 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41285 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41286 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41287 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41288 echo "*** is required on your system"
41290 echo "*** If you have an old version installed, it is best to remove it, although"
41291 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41293 echo "$as_me: failed program was:" >&5
41294 sed 's/^/| /' conftest.$ac_ext >&5
41296 echo "*** The test program failed to compile or link. See the file config.log for the"
41297 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41298 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41299 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41301 rm -f conftest.err conftest.$ac_objext \
41302 conftest$ac_exeext conftest.$ac_ext
41303 CFLAGS="$ac_save_CFLAGS"
41304 CXXFLAGS="$ac_save_CXXFLAGS"
41305 LIBS="$ac_save_LIBS"
41316 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41322 cat >>confdefs.h <<\_ACEOF
41323 #define wxUSE_SOUND 1
41326 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41329 if test "$WXGTK20" = 1; then
41330 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41331 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41336 if test -z "$PKG_CONFIG"; then
41337 # Extract the first word of "pkg-config", so it can be a program name with args.
41338 set dummy pkg-config; ac_word=$2
41339 echo "$as_me:$LINENO: checking for $ac_word" >&5
41340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41341 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41342 echo $ECHO_N "(cached) $ECHO_C" >&6
41344 case $PKG_CONFIG in
41346 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41350 for as_dir in $PATH
41353 test -z "$as_dir" && as_dir=.
41354 for ac_exec_ext in '' $ac_executable_extensions; do
41355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41356 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41363 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
41367 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41369 if test -n "$PKG_CONFIG"; then
41370 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41371 echo "${ECHO_T}$PKG_CONFIG" >&6
41373 echo "$as_me:$LINENO: result: no" >&5
41374 echo "${ECHO_T}no" >&6
41379 if test "$PKG_CONFIG" = "no" ; then
41380 echo "*** The pkg-config script could not be found. Make sure it is"
41381 echo "*** in your path, or set the PKG_CONFIG environment variable"
41382 echo "*** to the full path to pkg-config."
41383 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41385 PKG_CONFIG_MIN_VERSION=0.9.0
41386 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41387 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
41388 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
41390 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
41391 echo "$as_me:$LINENO: result: yes" >&5
41392 echo "${ECHO_T}yes" >&6
41395 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
41396 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
41397 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
41398 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
41399 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
41401 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
41402 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
41403 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
41404 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
41405 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
41407 LIBGNOMEPRINTUI_CFLAGS=""
41408 LIBGNOMEPRINTUI_LIBS=""
41409 ## If we have a custom action on failure, don't print errors, but
41410 ## do set a variable so people can do so.
41411 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41418 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41419 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41423 if test $succeeded = yes; then
41425 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41426 cat >>confdefs.h <<\_ACEOF
41427 #define wxUSE_LIBGNOMEPRINT 1
41433 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41434 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41435 wxUSE_LIBGNOMEPRINT="no"
41444 if test "$WXGTK20" = 1; then
41445 if test "$wxUSE_MIMETYPE" = "yes" ; then
41446 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41451 if test -z "$PKG_CONFIG"; then
41452 # Extract the first word of "pkg-config", so it can be a program name with args.
41453 set dummy pkg-config; ac_word=$2
41454 echo "$as_me:$LINENO: checking for $ac_word" >&5
41455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41456 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41457 echo $ECHO_N "(cached) $ECHO_C" >&6
41459 case $PKG_CONFIG in
41461 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41465 for as_dir in $PATH
41468 test -z "$as_dir" && as_dir=.
41469 for ac_exec_ext in '' $ac_executable_extensions; do
41470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41471 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41478 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
41482 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41484 if test -n "$PKG_CONFIG"; then
41485 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41486 echo "${ECHO_T}$PKG_CONFIG" >&6
41488 echo "$as_me:$LINENO: result: no" >&5
41489 echo "${ECHO_T}no" >&6
41494 if test "$PKG_CONFIG" = "no" ; then
41495 echo "*** The pkg-config script could not be found. Make sure it is"
41496 echo "*** in your path, or set the PKG_CONFIG environment variable"
41497 echo "*** to the full path to pkg-config."
41498 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41500 PKG_CONFIG_MIN_VERSION=0.9.0
41501 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41502 echo "$as_me:$LINENO: checking for gnome-vfs-2.0 >= 2.0" >&5
41503 echo $ECHO_N "checking for gnome-vfs-2.0 >= 2.0... $ECHO_C" >&6
41505 if $PKG_CONFIG --exists "gnome-vfs-2.0 >= 2.0" ; then
41506 echo "$as_me:$LINENO: result: yes" >&5
41507 echo "${ECHO_T}yes" >&6
41510 echo "$as_me:$LINENO: checking GNOMEVFS_CFLAGS" >&5
41511 echo $ECHO_N "checking GNOMEVFS_CFLAGS... $ECHO_C" >&6
41512 GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0"`
41513 echo "$as_me:$LINENO: result: $GNOMEVFS_CFLAGS" >&5
41514 echo "${ECHO_T}$GNOMEVFS_CFLAGS" >&6
41516 echo "$as_me:$LINENO: checking GNOMEVFS_LIBS" >&5
41517 echo $ECHO_N "checking GNOMEVFS_LIBS... $ECHO_C" >&6
41518 GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0"`
41519 echo "$as_me:$LINENO: result: $GNOMEVFS_LIBS" >&5
41520 echo "${ECHO_T}$GNOMEVFS_LIBS" >&6
41524 ## If we have a custom action on failure, don't print errors, but
41525 ## do set a variable so people can do so.
41526 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41533 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41534 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41538 if test $succeeded = yes; then
41540 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41541 cat >>confdefs.h <<\_ACEOF
41542 #define wxUSE_LIBGNOMEVFS 1
41548 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41549 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41550 wxUSE_LIBGNOMEVFS="no"
41559 if test "$WXGTK20" = 1; then
41560 if test "$wxUSE_LIBHILDON" = "yes" ; then
41564 if test -z "$PKG_CONFIG"; then
41565 # Extract the first word of "pkg-config", so it can be a program name with args.
41566 set dummy pkg-config; ac_word=$2
41567 echo "$as_me:$LINENO: checking for $ac_word" >&5
41568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41569 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41570 echo $ECHO_N "(cached) $ECHO_C" >&6
41572 case $PKG_CONFIG in
41574 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41578 for as_dir in $PATH
41581 test -z "$as_dir" && as_dir=.
41582 for ac_exec_ext in '' $ac_executable_extensions; do
41583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41584 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41591 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
41595 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41597 if test -n "$PKG_CONFIG"; then
41598 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41599 echo "${ECHO_T}$PKG_CONFIG" >&6
41601 echo "$as_me:$LINENO: result: no" >&5
41602 echo "${ECHO_T}no" >&6
41607 if test "$PKG_CONFIG" = "no" ; then
41608 echo "*** The pkg-config script could not be found. Make sure it is"
41609 echo "*** in your path, or set the PKG_CONFIG environment variable"
41610 echo "*** to the full path to pkg-config."
41611 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41613 PKG_CONFIG_MIN_VERSION=0.9.0
41614 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41615 echo "$as_me:$LINENO: checking for hildon-lgpl >= 0.9" >&5
41616 echo $ECHO_N "checking for hildon-lgpl >= 0.9... $ECHO_C" >&6
41618 if $PKG_CONFIG --exists "hildon-lgpl >= 0.9" ; then
41619 echo "$as_me:$LINENO: result: yes" >&5
41620 echo "${ECHO_T}yes" >&6
41623 echo "$as_me:$LINENO: checking HILDON_CFLAGS" >&5
41624 echo $ECHO_N "checking HILDON_CFLAGS... $ECHO_C" >&6
41625 HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9"`
41626 echo "$as_me:$LINENO: result: $HILDON_CFLAGS" >&5
41627 echo "${ECHO_T}$HILDON_CFLAGS" >&6
41629 echo "$as_me:$LINENO: checking HILDON_LIBS" >&5
41630 echo $ECHO_N "checking HILDON_LIBS... $ECHO_C" >&6
41631 HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9"`
41632 echo "$as_me:$LINENO: result: $HILDON_LIBS" >&5
41633 echo "${ECHO_T}$HILDON_LIBS" >&6
41637 ## If we have a custom action on failure, don't print errors, but
41638 ## do set a variable so people can do so.
41639 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41646 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41647 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41651 if test $succeeded = yes; then
41653 EXTRALIBS_HILDON="$HILDON_LIBS"
41654 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41655 cat >>confdefs.h <<\_ACEOF
41656 #define wxUSE_LIBHILDON 1
41662 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41663 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41664 wxUSE_LIBHILDON="no"
41672 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41673 cat >>confdefs.h <<\_ACEOF
41674 #define wxUSE_CMDLINE_PARSER 1
41679 if test "$wxUSE_STOPWATCH" = "yes"; then
41680 cat >>confdefs.h <<\_ACEOF
41681 #define wxUSE_STOPWATCH 1
41686 if test "$wxUSE_DATETIME" = "yes"; then
41687 cat >>confdefs.h <<\_ACEOF
41688 #define wxUSE_DATETIME 1
41693 if test "$wxUSE_FILE" = "yes"; then
41694 cat >>confdefs.h <<\_ACEOF
41695 #define wxUSE_FILE 1
41700 if test "$wxUSE_FFILE" = "yes"; then
41701 cat >>confdefs.h <<\_ACEOF
41702 #define wxUSE_FFILE 1
41707 if test "$wxUSE_FILESYSTEM" = "yes"; then
41708 cat >>confdefs.h <<\_ACEOF
41709 #define wxUSE_FILESYSTEM 1
41714 if test "$wxUSE_FS_ZIP" = "yes"; then
41715 cat >>confdefs.h <<\_ACEOF
41716 #define wxUSE_FS_ZIP 1
41721 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41722 cat >>confdefs.h <<\_ACEOF
41723 #define wxUSE_ARCHIVE_STREAMS 1
41728 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41729 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41730 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41731 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41732 elif test "$wxUSE_ZLIB" = "no"; then
41733 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41734 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41736 cat >>confdefs.h <<\_ACEOF
41737 #define wxUSE_ZIPSTREAM 1
41743 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41744 if test "$USE_UNIX" != 1; then
41745 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41746 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41747 wxUSE_ON_FATAL_EXCEPTION=no
41749 cat >>confdefs.h <<\_ACEOF
41750 #define wxUSE_ON_FATAL_EXCEPTION 1
41756 if test "$wxUSE_STACKWALKER" = "yes"; then
41757 cat >>confdefs.h <<\_ACEOF
41758 #define wxUSE_STACKWALKER 1
41763 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41764 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41765 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41766 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41767 wxUSE_DEBUGREPORT=no
41769 cat >>confdefs.h <<\_ACEOF
41770 #define wxUSE_DEBUGREPORT 1
41773 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41774 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
41779 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41780 cat >>confdefs.h <<\_ACEOF
41781 #define wxUSE_SNGLINST_CHECKER 1
41786 if test "$wxUSE_BUSYINFO" = "yes"; then
41787 cat >>confdefs.h <<\_ACEOF
41788 #define wxUSE_BUSYINFO 1
41793 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41794 cat >>confdefs.h <<\_ACEOF
41795 #define wxUSE_STD_IOSTREAM 1
41800 if test "$wxUSE_STD_STRING" = "yes"; then
41801 cat >>confdefs.h <<\_ACEOF
41802 #define wxUSE_STD_STRING 1
41807 if test "$wxUSE_STDPATHS" = "yes"; then
41808 cat >>confdefs.h <<\_ACEOF
41809 #define wxUSE_STDPATHS 1
41814 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41815 cat >>confdefs.h <<\_ACEOF
41816 #define wxUSE_TEXTBUFFER 1
41821 if test "$wxUSE_TEXTFILE" = "yes"; then
41822 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41823 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41824 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41826 cat >>confdefs.h <<\_ACEOF
41827 #define wxUSE_TEXTFILE 1
41833 if test "$wxUSE_CONFIG" = "yes" ; then
41834 if test "$wxUSE_TEXTFILE" != "yes"; then
41835 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41836 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41838 cat >>confdefs.h <<\_ACEOF
41839 #define wxUSE_CONFIG 1
41842 cat >>confdefs.h <<\_ACEOF
41843 #define wxUSE_CONFIG_NATIVE 1
41846 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
41850 if test "$wxUSE_INTL" = "yes" ; then
41851 if test "$wxUSE_FILE" != "yes"; then
41852 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41853 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41855 cat >>confdefs.h <<\_ACEOF
41856 #define wxUSE_INTL 1
41859 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
41860 GUIDIST="$GUIDIST INTL_DIST"
41864 if test "$wxUSE_LOG" = "yes"; then
41865 cat >>confdefs.h <<\_ACEOF
41866 #define wxUSE_LOG 1
41870 if test "$wxUSE_LOGGUI" = "yes"; then
41871 cat >>confdefs.h <<\_ACEOF
41872 #define wxUSE_LOGGUI 1
41877 if test "$wxUSE_LOGWINDOW" = "yes"; then
41878 cat >>confdefs.h <<\_ACEOF
41879 #define wxUSE_LOGWINDOW 1
41884 if test "$wxUSE_LOGDIALOG" = "yes"; then
41885 cat >>confdefs.h <<\_ACEOF
41886 #define wxUSE_LOG_DIALOG 1
41891 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
41894 if test "$wxUSE_LONGLONG" = "yes"; then
41895 cat >>confdefs.h <<\_ACEOF
41896 #define wxUSE_LONGLONG 1
41901 if test "$wxUSE_GEOMETRY" = "yes"; then
41902 cat >>confdefs.h <<\_ACEOF
41903 #define wxUSE_GEOMETRY 1
41908 if test "$wxUSE_STREAMS" = "yes" ; then
41909 cat >>confdefs.h <<\_ACEOF
41910 #define wxUSE_STREAMS 1
41915 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
41916 cat >>confdefs.h <<\_ACEOF
41917 #define wxUSE_PRINTF_POS_PARAMS 1
41924 if test "$wxUSE_DATETIME" = "yes"; then
41926 for ac_func in strptime
41928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41929 echo "$as_me:$LINENO: checking for $ac_func" >&5
41930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41931 if eval "test \"\${$as_ac_var+set}\" = set"; then
41932 echo $ECHO_N "(cached) $ECHO_C" >&6
41934 cat >conftest.$ac_ext <<_ACEOF
41937 cat confdefs.h >>conftest.$ac_ext
41938 cat >>conftest.$ac_ext <<_ACEOF
41939 /* end confdefs.h. */
41940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41942 #define $ac_func innocuous_$ac_func
41944 /* System header to define __stub macros and hopefully few prototypes,
41945 which can conflict with char $ac_func (); below.
41946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41947 <limits.h> exists even on freestanding compilers. */
41950 # include <limits.h>
41952 # include <assert.h>
41957 /* Override any gcc2 internal prototype to avoid an error. */
41962 /* We use char because int might match the return type of a gcc2
41963 builtin and then its argument prototype would still apply. */
41965 /* The GNU C library defines this for functions which it implements
41966 to always fail with ENOSYS. Some functions are actually named
41967 something starting with __ and the normal name is an alias. */
41968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41971 char (*f) () = $ac_func;
41980 return f != $ac_func;
41985 rm -f conftest.$ac_objext conftest$ac_exeext
41986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41987 (eval $ac_link) 2>conftest.er1
41989 grep -v '^ *+' conftest.er1 >conftest.err
41991 cat conftest.err >&5
41992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41993 (exit $ac_status); } &&
41994 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41996 (eval $ac_try) 2>&5
41998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41999 (exit $ac_status); }; } &&
42000 { ac_try='test -s conftest$ac_exeext'
42001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42002 (eval $ac_try) 2>&5
42004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42005 (exit $ac_status); }; }; then
42006 eval "$as_ac_var=yes"
42008 echo "$as_me: failed program was:" >&5
42009 sed 's/^/| /' conftest.$ac_ext >&5
42011 eval "$as_ac_var=no"
42013 rm -f conftest.err conftest.$ac_objext \
42014 conftest$ac_exeext conftest.$ac_ext
42016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42018 if test `eval echo '${'$as_ac_var'}'` = yes; then
42019 cat >>confdefs.h <<_ACEOF
42020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42026 if test "$ac_cv_func_strptime" = "yes"; then
42027 echo "$as_me:$LINENO: checking for strptime declaration" >&5
42028 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
42029 if test "${wx_cv_func_strptime_decl+set}" = set; then
42030 echo $ECHO_N "(cached) $ECHO_C" >&6
42033 cat >conftest.$ac_ext <<_ACEOF
42036 cat confdefs.h >>conftest.$ac_ext
42037 cat >>conftest.$ac_ext <<_ACEOF
42038 /* end confdefs.h. */
42047 strptime("foo", "bar", &t);
42053 rm -f conftest.$ac_objext
42054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42055 (eval $ac_compile) 2>conftest.er1
42057 grep -v '^ *+' conftest.er1 >conftest.err
42059 cat conftest.err >&5
42060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42061 (exit $ac_status); } &&
42062 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42064 (eval $ac_try) 2>&5
42066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42067 (exit $ac_status); }; } &&
42068 { ac_try='test -s conftest.$ac_objext'
42069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42070 (eval $ac_try) 2>&5
42072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42073 (exit $ac_status); }; }; then
42074 wx_cv_func_strptime_decl=yes
42076 echo "$as_me: failed program was:" >&5
42077 sed 's/^/| /' conftest.$ac_ext >&5
42079 wx_cv_func_strptime_decl=no
42082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42086 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42087 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
42089 if test "$wx_cv_func_strptime_decl" = "yes"; then
42090 cat >>confdefs.h <<\_ACEOF
42091 #define HAVE_STRPTIME_DECL 1
42096 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42097 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
42098 if test "${wx_cv_var_timezone+set}" = set; then
42099 echo $ECHO_N "(cached) $ECHO_C" >&6
42102 cat >conftest.$ac_ext <<_ACEOF
42105 cat confdefs.h >>conftest.$ac_ext
42106 cat >>conftest.$ac_ext <<_ACEOF
42107 /* end confdefs.h. */
42122 rm -f conftest.$ac_objext
42123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42124 (eval $ac_compile) 2>conftest.er1
42126 grep -v '^ *+' conftest.er1 >conftest.err
42128 cat conftest.err >&5
42129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42130 (exit $ac_status); } &&
42131 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42133 (eval $ac_try) 2>&5
42135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42136 (exit $ac_status); }; } &&
42137 { ac_try='test -s conftest.$ac_objext'
42138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42139 (eval $ac_try) 2>&5
42141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42142 (exit $ac_status); }; }; then
42144 wx_cv_var_timezone=timezone
42147 echo "$as_me: failed program was:" >&5
42148 sed 's/^/| /' conftest.$ac_ext >&5
42151 cat >conftest.$ac_ext <<_ACEOF
42154 cat confdefs.h >>conftest.$ac_ext
42155 cat >>conftest.$ac_ext <<_ACEOF
42156 /* end confdefs.h. */
42171 rm -f conftest.$ac_objext
42172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42173 (eval $ac_compile) 2>conftest.er1
42175 grep -v '^ *+' conftest.er1 >conftest.err
42177 cat conftest.err >&5
42178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42179 (exit $ac_status); } &&
42180 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42182 (eval $ac_try) 2>&5
42184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42185 (exit $ac_status); }; } &&
42186 { ac_try='test -s conftest.$ac_objext'
42187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42188 (eval $ac_try) 2>&5
42190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42191 (exit $ac_status); }; }; then
42193 wx_cv_var_timezone=_timezone
42196 echo "$as_me: failed program was:" >&5
42197 sed 's/^/| /' conftest.$ac_ext >&5
42200 cat >conftest.$ac_ext <<_ACEOF
42203 cat confdefs.h >>conftest.$ac_ext
42204 cat >>conftest.$ac_ext <<_ACEOF
42205 /* end confdefs.h. */
42220 rm -f conftest.$ac_objext
42221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42222 (eval $ac_compile) 2>conftest.er1
42224 grep -v '^ *+' conftest.er1 >conftest.err
42226 cat conftest.err >&5
42227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42228 (exit $ac_status); } &&
42229 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42231 (eval $ac_try) 2>&5
42233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42234 (exit $ac_status); }; } &&
42235 { ac_try='test -s conftest.$ac_objext'
42236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42237 (eval $ac_try) 2>&5
42239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42240 (exit $ac_status); }; }; then
42242 wx_cv_var_timezone=__timezone
42245 echo "$as_me: failed program was:" >&5
42246 sed 's/^/| /' conftest.$ac_ext >&5
42249 if test "$USE_DOS" = 0 ; then
42250 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42251 echo "$as_me: WARNING: no timezone variable" >&2;}
42256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42268 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42269 echo "${ECHO_T}$wx_cv_var_timezone" >&6
42271 if test "x$wx_cv_var_timezone" != x ; then
42272 cat >>confdefs.h <<_ACEOF
42273 #define WX_TIMEZONE $wx_cv_var_timezone
42279 for ac_func in localtime
42281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42282 echo "$as_me:$LINENO: checking for $ac_func" >&5
42283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42284 if eval "test \"\${$as_ac_var+set}\" = set"; then
42285 echo $ECHO_N "(cached) $ECHO_C" >&6
42287 cat >conftest.$ac_ext <<_ACEOF
42290 cat confdefs.h >>conftest.$ac_ext
42291 cat >>conftest.$ac_ext <<_ACEOF
42292 /* end confdefs.h. */
42293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42295 #define $ac_func innocuous_$ac_func
42297 /* System header to define __stub macros and hopefully few prototypes,
42298 which can conflict with char $ac_func (); below.
42299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42300 <limits.h> exists even on freestanding compilers. */
42303 # include <limits.h>
42305 # include <assert.h>
42310 /* Override any gcc2 internal prototype to avoid an error. */
42315 /* We use char because int might match the return type of a gcc2
42316 builtin and then its argument prototype would still apply. */
42318 /* The GNU C library defines this for functions which it implements
42319 to always fail with ENOSYS. Some functions are actually named
42320 something starting with __ and the normal name is an alias. */
42321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42324 char (*f) () = $ac_func;
42333 return f != $ac_func;
42338 rm -f conftest.$ac_objext conftest$ac_exeext
42339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42340 (eval $ac_link) 2>conftest.er1
42342 grep -v '^ *+' conftest.er1 >conftest.err
42344 cat conftest.err >&5
42345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42346 (exit $ac_status); } &&
42347 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42349 (eval $ac_try) 2>&5
42351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42352 (exit $ac_status); }; } &&
42353 { ac_try='test -s conftest$ac_exeext'
42354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42355 (eval $ac_try) 2>&5
42357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42358 (exit $ac_status); }; }; then
42359 eval "$as_ac_var=yes"
42361 echo "$as_me: failed program was:" >&5
42362 sed 's/^/| /' conftest.$ac_ext >&5
42364 eval "$as_ac_var=no"
42366 rm -f conftest.err conftest.$ac_objext \
42367 conftest$ac_exeext conftest.$ac_ext
42369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42371 if test `eval echo '${'$as_ac_var'}'` = yes; then
42372 cat >>confdefs.h <<_ACEOF
42373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42380 if test "$ac_cv_func_localtime" = "yes"; then
42381 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42382 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
42383 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42384 echo $ECHO_N "(cached) $ECHO_C" >&6
42387 cat >conftest.$ac_ext <<_ACEOF
42390 cat confdefs.h >>conftest.$ac_ext
42391 cat >>conftest.$ac_ext <<_ACEOF
42392 /* end confdefs.h. */
42407 rm -f conftest.$ac_objext
42408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42409 (eval $ac_compile) 2>conftest.er1
42411 grep -v '^ *+' conftest.er1 >conftest.err
42413 cat conftest.err >&5
42414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42415 (exit $ac_status); } &&
42416 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42418 (eval $ac_try) 2>&5
42420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42421 (exit $ac_status); }; } &&
42422 { ac_try='test -s conftest.$ac_objext'
42423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42424 (eval $ac_try) 2>&5
42426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42427 (exit $ac_status); }; }; then
42429 wx_cv_struct_tm_has_gmtoff=yes
42432 echo "$as_me: failed program was:" >&5
42433 sed 's/^/| /' conftest.$ac_ext >&5
42435 wx_cv_struct_tm_has_gmtoff=no
42438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42441 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42442 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
42445 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42446 cat >>confdefs.h <<\_ACEOF
42447 #define WX_GMTOFF_IN_TM 1
42454 for ac_func in gettimeofday ftime
42456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42457 echo "$as_me:$LINENO: checking for $ac_func" >&5
42458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42459 if eval "test \"\${$as_ac_var+set}\" = set"; then
42460 echo $ECHO_N "(cached) $ECHO_C" >&6
42462 cat >conftest.$ac_ext <<_ACEOF
42465 cat confdefs.h >>conftest.$ac_ext
42466 cat >>conftest.$ac_ext <<_ACEOF
42467 /* end confdefs.h. */
42468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42470 #define $ac_func innocuous_$ac_func
42472 /* System header to define __stub macros and hopefully few prototypes,
42473 which can conflict with char $ac_func (); below.
42474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42475 <limits.h> exists even on freestanding compilers. */
42478 # include <limits.h>
42480 # include <assert.h>
42485 /* Override any gcc2 internal prototype to avoid an error. */
42490 /* We use char because int might match the return type of a gcc2
42491 builtin and then its argument prototype would still apply. */
42493 /* The GNU C library defines this for functions which it implements
42494 to always fail with ENOSYS. Some functions are actually named
42495 something starting with __ and the normal name is an alias. */
42496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42499 char (*f) () = $ac_func;
42508 return f != $ac_func;
42513 rm -f conftest.$ac_objext conftest$ac_exeext
42514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42515 (eval $ac_link) 2>conftest.er1
42517 grep -v '^ *+' conftest.er1 >conftest.err
42519 cat conftest.err >&5
42520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42521 (exit $ac_status); } &&
42522 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42524 (eval $ac_try) 2>&5
42526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42527 (exit $ac_status); }; } &&
42528 { ac_try='test -s conftest$ac_exeext'
42529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42530 (eval $ac_try) 2>&5
42532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42533 (exit $ac_status); }; }; then
42534 eval "$as_ac_var=yes"
42536 echo "$as_me: failed program was:" >&5
42537 sed 's/^/| /' conftest.$ac_ext >&5
42539 eval "$as_ac_var=no"
42541 rm -f conftest.err conftest.$ac_objext \
42542 conftest$ac_exeext conftest.$ac_ext
42544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42546 if test `eval echo '${'$as_ac_var'}'` = yes; then
42547 cat >>confdefs.h <<_ACEOF
42548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42555 if test "$ac_cv_func_gettimeofday" = "yes"; then
42556 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42557 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
42558 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42559 echo $ECHO_N "(cached) $ECHO_C" >&6
42562 cat >conftest.$ac_ext <<_ACEOF
42565 cat confdefs.h >>conftest.$ac_ext
42566 cat >>conftest.$ac_ext <<_ACEOF
42567 /* end confdefs.h. */
42569 #include <sys/time.h>
42570 #include <unistd.h>
42577 gettimeofday(&tv, NULL);
42583 rm -f conftest.$ac_objext
42584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42585 (eval $ac_compile) 2>conftest.er1
42587 grep -v '^ *+' conftest.er1 >conftest.err
42589 cat conftest.err >&5
42590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42591 (exit $ac_status); } &&
42592 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42594 (eval $ac_try) 2>&5
42596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42597 (exit $ac_status); }; } &&
42598 { ac_try='test -s conftest.$ac_objext'
42599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42600 (eval $ac_try) 2>&5
42602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42603 (exit $ac_status); }; }; then
42604 wx_cv_func_gettimeofday_has_2_args=yes
42606 echo "$as_me: failed program was:" >&5
42607 sed 's/^/| /' conftest.$ac_ext >&5
42609 cat >conftest.$ac_ext <<_ACEOF
42612 cat confdefs.h >>conftest.$ac_ext
42613 cat >>conftest.$ac_ext <<_ACEOF
42614 /* end confdefs.h. */
42616 #include <sys/time.h>
42617 #include <unistd.h>
42630 rm -f conftest.$ac_objext
42631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42632 (eval $ac_compile) 2>conftest.er1
42634 grep -v '^ *+' conftest.er1 >conftest.err
42636 cat conftest.err >&5
42637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42638 (exit $ac_status); } &&
42639 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42641 (eval $ac_try) 2>&5
42643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42644 (exit $ac_status); }; } &&
42645 { ac_try='test -s conftest.$ac_objext'
42646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42647 (eval $ac_try) 2>&5
42649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42650 (exit $ac_status); }; }; then
42651 wx_cv_func_gettimeofday_has_2_args=no
42653 echo "$as_me: failed program was:" >&5
42654 sed 's/^/| /' conftest.$ac_ext >&5
42657 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42658 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42659 wx_cv_func_gettimeofday_has_2_args=unknown
42663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42669 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42670 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
42672 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42673 cat >>confdefs.h <<\_ACEOF
42674 #define WX_GETTIMEOFDAY_NO_TZ 1
42680 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42684 if test "$wxUSE_SOCKETS" = "yes"; then
42685 if test "$wxUSE_MGL" = "1"; then
42686 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42687 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42692 if test "$wxUSE_SOCKETS" = "yes"; then
42693 if test "$TOOLKIT" != "MSW"; then
42694 echo "$as_me:$LINENO: checking for socket" >&5
42695 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42696 if test "${ac_cv_func_socket+set}" = set; then
42697 echo $ECHO_N "(cached) $ECHO_C" >&6
42699 cat >conftest.$ac_ext <<_ACEOF
42702 cat confdefs.h >>conftest.$ac_ext
42703 cat >>conftest.$ac_ext <<_ACEOF
42704 /* end confdefs.h. */
42705 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42707 #define socket innocuous_socket
42709 /* System header to define __stub macros and hopefully few prototypes,
42710 which can conflict with char socket (); below.
42711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42712 <limits.h> exists even on freestanding compilers. */
42715 # include <limits.h>
42717 # include <assert.h>
42722 /* Override any gcc2 internal prototype to avoid an error. */
42727 /* We use char because int might match the return type of a gcc2
42728 builtin and then its argument prototype would still apply. */
42730 /* The GNU C library defines this for functions which it implements
42731 to always fail with ENOSYS. Some functions are actually named
42732 something starting with __ and the normal name is an alias. */
42733 #if defined (__stub_socket) || defined (__stub___socket)
42736 char (*f) () = socket;
42745 return f != socket;
42750 rm -f conftest.$ac_objext conftest$ac_exeext
42751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42752 (eval $ac_link) 2>conftest.er1
42754 grep -v '^ *+' conftest.er1 >conftest.err
42756 cat conftest.err >&5
42757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42758 (exit $ac_status); } &&
42759 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42761 (eval $ac_try) 2>&5
42763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42764 (exit $ac_status); }; } &&
42765 { ac_try='test -s conftest$ac_exeext'
42766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42767 (eval $ac_try) 2>&5
42769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42770 (exit $ac_status); }; }; then
42771 ac_cv_func_socket=yes
42773 echo "$as_me: failed program was:" >&5
42774 sed 's/^/| /' conftest.$ac_ext >&5
42776 ac_cv_func_socket=no
42778 rm -f conftest.err conftest.$ac_objext \
42779 conftest$ac_exeext conftest.$ac_ext
42781 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42782 echo "${ECHO_T}$ac_cv_func_socket" >&6
42783 if test $ac_cv_func_socket = yes; then
42787 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42788 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
42789 if test "${ac_cv_lib_socket_socket+set}" = set; then
42790 echo $ECHO_N "(cached) $ECHO_C" >&6
42792 ac_check_lib_save_LIBS=$LIBS
42793 LIBS="-lsocket $LIBS"
42794 cat >conftest.$ac_ext <<_ACEOF
42797 cat confdefs.h >>conftest.$ac_ext
42798 cat >>conftest.$ac_ext <<_ACEOF
42799 /* end confdefs.h. */
42801 /* Override any gcc2 internal prototype to avoid an error. */
42805 /* We use char because int might match the return type of a gcc2
42806 builtin and then its argument prototype would still apply. */
42816 rm -f conftest.$ac_objext conftest$ac_exeext
42817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42818 (eval $ac_link) 2>conftest.er1
42820 grep -v '^ *+' conftest.er1 >conftest.err
42822 cat conftest.err >&5
42823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42824 (exit $ac_status); } &&
42825 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42827 (eval $ac_try) 2>&5
42829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42830 (exit $ac_status); }; } &&
42831 { ac_try='test -s conftest$ac_exeext'
42832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42833 (eval $ac_try) 2>&5
42835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42836 (exit $ac_status); }; }; then
42837 ac_cv_lib_socket_socket=yes
42839 echo "$as_me: failed program was:" >&5
42840 sed 's/^/| /' conftest.$ac_ext >&5
42842 ac_cv_lib_socket_socket=no
42844 rm -f conftest.err conftest.$ac_objext \
42845 conftest$ac_exeext conftest.$ac_ext
42846 LIBS=$ac_check_lib_save_LIBS
42848 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42849 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
42850 if test $ac_cv_lib_socket_socket = yes; then
42851 if test "$INET_LINK" != " -lsocket"; then
42852 INET_LINK="$INET_LINK -lsocket"
42856 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42857 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42870 if test "$wxUSE_SOCKETS" = "yes" ; then
42871 if test "$TOOLKIT" != "MSW"; then
42872 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42873 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
42874 if test "${wx_cv_type_getsockname3+set}" = set; then
42875 echo $ECHO_N "(cached) $ECHO_C" >&6
42878 cat >conftest.$ac_ext <<_ACEOF
42881 cat confdefs.h >>conftest.$ac_ext
42882 cat >>conftest.$ac_ext <<_ACEOF
42883 /* end confdefs.h. */
42885 #include <sys/types.h>
42886 #include <sys/socket.h>
42893 getsockname(0, 0, &len);
42899 rm -f conftest.$ac_objext
42900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42901 (eval $ac_compile) 2>conftest.er1
42903 grep -v '^ *+' conftest.er1 >conftest.err
42905 cat conftest.err >&5
42906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42907 (exit $ac_status); } &&
42908 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42910 (eval $ac_try) 2>&5
42912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42913 (exit $ac_status); }; } &&
42914 { ac_try='test -s conftest.$ac_objext'
42915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42916 (eval $ac_try) 2>&5
42918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42919 (exit $ac_status); }; }; then
42920 wx_cv_type_getsockname3=socklen_t
42922 echo "$as_me: failed program was:" >&5
42923 sed 's/^/| /' conftest.$ac_ext >&5
42926 CXXFLAGS_OLD="$CXXFLAGS"
42927 if test "$GCC" = yes ; then
42928 CXXFLAGS="-Werror $CXXFLAGS"
42931 cat >conftest.$ac_ext <<_ACEOF
42934 cat confdefs.h >>conftest.$ac_ext
42935 cat >>conftest.$ac_ext <<_ACEOF
42936 /* end confdefs.h. */
42938 #include <sys/types.h>
42939 #include <sys/socket.h>
42946 getsockname(0, 0, &len);
42952 rm -f conftest.$ac_objext
42953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42954 (eval $ac_compile) 2>conftest.er1
42956 grep -v '^ *+' conftest.er1 >conftest.err
42958 cat conftest.err >&5
42959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42960 (exit $ac_status); } &&
42961 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42963 (eval $ac_try) 2>&5
42965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42966 (exit $ac_status); }; } &&
42967 { ac_try='test -s conftest.$ac_objext'
42968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42969 (eval $ac_try) 2>&5
42971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42972 (exit $ac_status); }; }; then
42973 wx_cv_type_getsockname3=size_t
42975 echo "$as_me: failed program was:" >&5
42976 sed 's/^/| /' conftest.$ac_ext >&5
42978 cat >conftest.$ac_ext <<_ACEOF
42981 cat confdefs.h >>conftest.$ac_ext
42982 cat >>conftest.$ac_ext <<_ACEOF
42983 /* end confdefs.h. */
42985 #include <sys/types.h>
42986 #include <sys/socket.h>
42993 getsockname(0, 0, &len);
42999 rm -f conftest.$ac_objext
43000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43001 (eval $ac_compile) 2>conftest.er1
43003 grep -v '^ *+' conftest.er1 >conftest.err
43005 cat conftest.err >&5
43006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43007 (exit $ac_status); } &&
43008 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43010 (eval $ac_try) 2>&5
43012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43013 (exit $ac_status); }; } &&
43014 { ac_try='test -s conftest.$ac_objext'
43015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43016 (eval $ac_try) 2>&5
43018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43019 (exit $ac_status); }; }; then
43020 wx_cv_type_getsockname3=int
43022 echo "$as_me: failed program was:" >&5
43023 sed 's/^/| /' conftest.$ac_ext >&5
43025 wx_cv_type_getsockname3=unknown
43028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43033 CXXFLAGS="$CXXFLAGS_OLD"
43037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43040 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43041 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
43043 if test "$wx_cv_type_getsockname3" = "unknown"; then
43045 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43046 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43048 cat >>confdefs.h <<_ACEOF
43049 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43053 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43054 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
43055 if test "${wx_cv_type_getsockopt5+set}" = set; then
43056 echo $ECHO_N "(cached) $ECHO_C" >&6
43059 cat >conftest.$ac_ext <<_ACEOF
43062 cat confdefs.h >>conftest.$ac_ext
43063 cat >>conftest.$ac_ext <<_ACEOF
43064 /* end confdefs.h. */
43066 #include <sys/types.h>
43067 #include <sys/socket.h>
43074 getsockopt(0, 0, 0, 0, &len);
43080 rm -f conftest.$ac_objext
43081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43082 (eval $ac_compile) 2>conftest.er1
43084 grep -v '^ *+' conftest.er1 >conftest.err
43086 cat conftest.err >&5
43087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43088 (exit $ac_status); } &&
43089 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43091 (eval $ac_try) 2>&5
43093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43094 (exit $ac_status); }; } &&
43095 { ac_try='test -s conftest.$ac_objext'
43096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43097 (eval $ac_try) 2>&5
43099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43100 (exit $ac_status); }; }; then
43101 wx_cv_type_getsockopt5=socklen_t
43103 echo "$as_me: failed program was:" >&5
43104 sed 's/^/| /' conftest.$ac_ext >&5
43107 CXXFLAGS_OLD="$CXXFLAGS"
43108 if test "$GCC" = yes ; then
43109 CXXFLAGS="-Werror $CXXFLAGS"
43112 cat >conftest.$ac_ext <<_ACEOF
43115 cat confdefs.h >>conftest.$ac_ext
43116 cat >>conftest.$ac_ext <<_ACEOF
43117 /* end confdefs.h. */
43119 #include <sys/types.h>
43120 #include <sys/socket.h>
43127 getsockopt(0, 0, 0, 0, &len);
43133 rm -f conftest.$ac_objext
43134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43135 (eval $ac_compile) 2>conftest.er1
43137 grep -v '^ *+' conftest.er1 >conftest.err
43139 cat conftest.err >&5
43140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43141 (exit $ac_status); } &&
43142 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43144 (eval $ac_try) 2>&5
43146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43147 (exit $ac_status); }; } &&
43148 { ac_try='test -s conftest.$ac_objext'
43149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43150 (eval $ac_try) 2>&5
43152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43153 (exit $ac_status); }; }; then
43154 wx_cv_type_getsockopt5=size_t
43156 echo "$as_me: failed program was:" >&5
43157 sed 's/^/| /' conftest.$ac_ext >&5
43159 cat >conftest.$ac_ext <<_ACEOF
43162 cat confdefs.h >>conftest.$ac_ext
43163 cat >>conftest.$ac_ext <<_ACEOF
43164 /* end confdefs.h. */
43166 #include <sys/types.h>
43167 #include <sys/socket.h>
43174 getsockopt(0, 0, 0, 0, &len);
43180 rm -f conftest.$ac_objext
43181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43182 (eval $ac_compile) 2>conftest.er1
43184 grep -v '^ *+' conftest.er1 >conftest.err
43186 cat conftest.err >&5
43187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43188 (exit $ac_status); } &&
43189 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43191 (eval $ac_try) 2>&5
43193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43194 (exit $ac_status); }; } &&
43195 { ac_try='test -s conftest.$ac_objext'
43196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43197 (eval $ac_try) 2>&5
43199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43200 (exit $ac_status); }; }; then
43201 wx_cv_type_getsockopt5=int
43203 echo "$as_me: failed program was:" >&5
43204 sed 's/^/| /' conftest.$ac_ext >&5
43206 wx_cv_type_getsockopt5=unknown
43209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43214 CXXFLAGS="$CXXFLAGS_OLD"
43218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43221 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43222 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
43224 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43226 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43227 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43229 cat >>confdefs.h <<_ACEOF
43230 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43237 if test "$wxUSE_SOCKETS" = "yes" ; then
43238 cat >>confdefs.h <<\_ACEOF
43239 #define wxUSE_SOCKETS 1
43242 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43245 if test "$wxUSE_PROTOCOL" = "yes"; then
43246 if test "$wxUSE_SOCKETS" != "yes"; then
43247 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43248 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43253 if test "$wxUSE_PROTOCOL" = "yes"; then
43254 cat >>confdefs.h <<\_ACEOF
43255 #define wxUSE_PROTOCOL 1
43259 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43260 cat >>confdefs.h <<\_ACEOF
43261 #define wxUSE_PROTOCOL_HTTP 1
43265 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43266 cat >>confdefs.h <<\_ACEOF
43267 #define wxUSE_PROTOCOL_FTP 1
43271 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43272 cat >>confdefs.h <<\_ACEOF
43273 #define wxUSE_PROTOCOL_FILE 1
43278 if test "$wxUSE_FS_INET" = "yes"; then
43279 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43280 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43285 if test "$wxUSE_URL" = "yes"; then
43286 if test "$wxUSE_PROTOCOL" != "yes"; then
43287 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43288 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43291 if test "$wxUSE_URL" = "yes"; then
43292 cat >>confdefs.h <<\_ACEOF
43293 #define wxUSE_URL 1
43299 if test "$wxUSE_FS_INET" = "yes"; then
43300 cat >>confdefs.h <<\_ACEOF
43301 #define wxUSE_FS_INET 1
43307 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43310 if test "$TOOLKIT" = "MSW"; then
43313 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43314 if test "$USE_DARWIN" = 1; then
43315 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43316 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
43317 cat >conftest.$ac_ext <<_ACEOF
43320 cat confdefs.h >>conftest.$ac_ext
43321 cat >>conftest.$ac_ext <<_ACEOF
43322 /* end confdefs.h. */
43323 #include <IOKit/hid/IOHIDLib.h>
43327 IOHIDQueueInterface *qi = NULL;
43328 IOHIDCallbackFunction cb = NULL;
43329 qi->setEventCallout(NULL, cb, NULL, NULL);
43334 rm -f conftest.$ac_objext
43335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43336 (eval $ac_compile) 2>conftest.er1
43338 grep -v '^ *+' conftest.er1 >conftest.err
43340 cat conftest.err >&5
43341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43342 (exit $ac_status); } &&
43343 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43345 (eval $ac_try) 2>&5
43347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43348 (exit $ac_status); }; } &&
43349 { ac_try='test -s conftest.$ac_objext'
43350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43351 (eval $ac_try) 2>&5
43353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43354 (exit $ac_status); }; }; then
43358 echo "$as_me: failed program was:" >&5
43359 sed 's/^/| /' conftest.$ac_ext >&5
43362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43363 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43364 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
43369 for ac_header in linux/joystick.h
43371 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43373 echo "$as_me:$LINENO: checking for $ac_header" >&5
43374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43376 echo $ECHO_N "(cached) $ECHO_C" >&6
43378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43381 # Is the header compilable?
43382 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43383 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43384 cat >conftest.$ac_ext <<_ACEOF
43387 cat confdefs.h >>conftest.$ac_ext
43388 cat >>conftest.$ac_ext <<_ACEOF
43389 /* end confdefs.h. */
43390 $ac_includes_default
43391 #include <$ac_header>
43393 rm -f conftest.$ac_objext
43394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43395 (eval $ac_compile) 2>conftest.er1
43397 grep -v '^ *+' conftest.er1 >conftest.err
43399 cat conftest.err >&5
43400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43401 (exit $ac_status); } &&
43402 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43404 (eval $ac_try) 2>&5
43406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43407 (exit $ac_status); }; } &&
43408 { ac_try='test -s conftest.$ac_objext'
43409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43410 (eval $ac_try) 2>&5
43412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43413 (exit $ac_status); }; }; then
43414 ac_header_compiler=yes
43416 echo "$as_me: failed program was:" >&5
43417 sed 's/^/| /' conftest.$ac_ext >&5
43419 ac_header_compiler=no
43421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43422 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43423 echo "${ECHO_T}$ac_header_compiler" >&6
43425 # Is the header present?
43426 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43427 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43428 cat >conftest.$ac_ext <<_ACEOF
43431 cat confdefs.h >>conftest.$ac_ext
43432 cat >>conftest.$ac_ext <<_ACEOF
43433 /* end confdefs.h. */
43434 #include <$ac_header>
43436 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43437 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43439 grep -v '^ *+' conftest.er1 >conftest.err
43441 cat conftest.err >&5
43442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43443 (exit $ac_status); } >/dev/null; then
43444 if test -s conftest.err; then
43445 ac_cpp_err=$ac_cxx_preproc_warn_flag
43446 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
43453 if test -z "$ac_cpp_err"; then
43454 ac_header_preproc=yes
43456 echo "$as_me: failed program was:" >&5
43457 sed 's/^/| /' conftest.$ac_ext >&5
43459 ac_header_preproc=no
43461 rm -f conftest.err conftest.$ac_ext
43462 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43463 echo "${ECHO_T}$ac_header_preproc" >&6
43465 # So? What about this header?
43466 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43468 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43469 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43471 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43472 ac_header_preproc=yes
43475 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43476 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43477 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43478 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43479 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43480 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43481 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43482 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43484 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43485 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43486 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43489 ## ----------------------------------------- ##
43490 ## Report this to wx-dev@lists.wxwidgets.org ##
43491 ## ----------------------------------------- ##
43494 sed "s/^/$as_me: WARNING: /" >&2
43497 echo "$as_me:$LINENO: checking for $ac_header" >&5
43498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43500 echo $ECHO_N "(cached) $ECHO_C" >&6
43502 eval "$as_ac_Header=\$ac_header_preproc"
43504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43508 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43509 cat >>confdefs.h <<_ACEOF
43510 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43519 if test "$wxUSE_JOYSTICK" = "yes"; then
43520 cat >>confdefs.h <<\_ACEOF
43521 #define wxUSE_JOYSTICK 1
43524 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43526 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43527 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43533 if test "$wxUSE_FONTMAP" = "yes" ; then
43534 cat >>confdefs.h <<\_ACEOF
43535 #define wxUSE_FONTMAP 1
43540 if test "$wxUSE_UNICODE" = "yes" ; then
43541 cat >>confdefs.h <<\_ACEOF
43542 #define wxUSE_UNICODE 1
43546 if test "$USE_WIN32" != 1; then
43547 wxUSE_UNICODE_MSLU=no
43550 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43551 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43552 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
43553 if test "${ac_cv_lib_unicows_main+set}" = set; then
43554 echo $ECHO_N "(cached) $ECHO_C" >&6
43556 ac_check_lib_save_LIBS=$LIBS
43557 LIBS="-lunicows $LIBS"
43558 cat >conftest.$ac_ext <<_ACEOF
43561 cat confdefs.h >>conftest.$ac_ext
43562 cat >>conftest.$ac_ext <<_ACEOF
43563 /* end confdefs.h. */
43574 rm -f conftest.$ac_objext conftest$ac_exeext
43575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43576 (eval $ac_link) 2>conftest.er1
43578 grep -v '^ *+' conftest.er1 >conftest.err
43580 cat conftest.err >&5
43581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43582 (exit $ac_status); } &&
43583 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43585 (eval $ac_try) 2>&5
43587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43588 (exit $ac_status); }; } &&
43589 { ac_try='test -s conftest$ac_exeext'
43590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43591 (eval $ac_try) 2>&5
43593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43594 (exit $ac_status); }; }; then
43595 ac_cv_lib_unicows_main=yes
43597 echo "$as_me: failed program was:" >&5
43598 sed 's/^/| /' conftest.$ac_ext >&5
43600 ac_cv_lib_unicows_main=no
43602 rm -f conftest.err conftest.$ac_objext \
43603 conftest$ac_exeext conftest.$ac_ext
43604 LIBS=$ac_check_lib_save_LIBS
43606 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43607 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
43608 if test $ac_cv_lib_unicows_main = yes; then
43610 cat >>confdefs.h <<\_ACEOF
43611 #define wxUSE_UNICODE_MSLU 1
43617 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43618 Applications will only run on Windows NT/2000/XP!" >&5
43619 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43620 Applications will only run on Windows NT/2000/XP!" >&2;}
43621 wxUSE_UNICODE_MSLU=no
43628 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43629 cat >>confdefs.h <<\_ACEOF
43630 #define wxUSE_EXPERIMENTAL_PRINTF 1
43636 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43637 cat >>confdefs.h <<\_ACEOF
43638 #define wxUSE_POSTSCRIPT 1
43643 cat >>confdefs.h <<\_ACEOF
43644 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43648 cat >>confdefs.h <<\_ACEOF
43649 #define wxUSE_NORMALIZED_PS_FONTS 1
43654 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43655 cat >>confdefs.h <<\_ACEOF
43656 #define wxUSE_CONSTRAINTS 1
43659 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43662 if test "$wxUSE_MDI" = "yes"; then
43663 cat >>confdefs.h <<\_ACEOF
43664 #define wxUSE_MDI 1
43668 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43669 cat >>confdefs.h <<\_ACEOF
43670 #define wxUSE_MDI_ARCHITECTURE 1
43673 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43677 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43678 cat >>confdefs.h <<\_ACEOF
43679 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43682 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43683 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43684 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43688 if test "$wxUSE_HELP" = "yes"; then
43689 cat >>confdefs.h <<\_ACEOF
43690 #define wxUSE_HELP 1
43693 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43695 if test "$wxUSE_MSW" = 1; then
43696 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43697 cat >>confdefs.h <<\_ACEOF
43698 #define wxUSE_MS_HTML_HELP 1
43704 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43705 if test "$wxUSE_HTML" = "yes"; then
43706 cat >>confdefs.h <<\_ACEOF
43707 #define wxUSE_WXHTML_HELP 1
43711 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43712 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43713 wxUSE_WXHTML_HELP=no
43718 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43719 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43720 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43721 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43723 cat >>confdefs.h <<\_ACEOF
43724 #define wxUSE_PRINTING_ARCHITECTURE 1
43728 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43731 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
43732 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
43733 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
43734 { (exit 1); exit 1; }; }
43738 if test "$wxUSE_METAFILE" = "yes"; then
43739 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43740 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43741 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43747 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43748 -o "$wxUSE_CLIPBOARD" = "yes" \
43749 -o "$wxUSE_OLE" = "yes" \
43750 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43752 for ac_header in ole2.h
43754 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43755 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43756 echo "$as_me:$LINENO: checking for $ac_header" >&5
43757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43758 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43759 echo $ECHO_N "(cached) $ECHO_C" >&6
43761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43762 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43764 # Is the header compilable?
43765 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43766 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43767 cat >conftest.$ac_ext <<_ACEOF
43770 cat confdefs.h >>conftest.$ac_ext
43771 cat >>conftest.$ac_ext <<_ACEOF
43772 /* end confdefs.h. */
43773 $ac_includes_default
43774 #include <$ac_header>
43776 rm -f conftest.$ac_objext
43777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43778 (eval $ac_compile) 2>conftest.er1
43780 grep -v '^ *+' conftest.er1 >conftest.err
43782 cat conftest.err >&5
43783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43784 (exit $ac_status); } &&
43785 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43787 (eval $ac_try) 2>&5
43789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43790 (exit $ac_status); }; } &&
43791 { ac_try='test -s conftest.$ac_objext'
43792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43793 (eval $ac_try) 2>&5
43795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43796 (exit $ac_status); }; }; then
43797 ac_header_compiler=yes
43799 echo "$as_me: failed program was:" >&5
43800 sed 's/^/| /' conftest.$ac_ext >&5
43802 ac_header_compiler=no
43804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43805 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43806 echo "${ECHO_T}$ac_header_compiler" >&6
43808 # Is the header present?
43809 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43810 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43811 cat >conftest.$ac_ext <<_ACEOF
43814 cat confdefs.h >>conftest.$ac_ext
43815 cat >>conftest.$ac_ext <<_ACEOF
43816 /* end confdefs.h. */
43817 #include <$ac_header>
43819 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43820 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43822 grep -v '^ *+' conftest.er1 >conftest.err
43824 cat conftest.err >&5
43825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43826 (exit $ac_status); } >/dev/null; then
43827 if test -s conftest.err; then
43828 ac_cpp_err=$ac_cxx_preproc_warn_flag
43829 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
43836 if test -z "$ac_cpp_err"; then
43837 ac_header_preproc=yes
43839 echo "$as_me: failed program was:" >&5
43840 sed 's/^/| /' conftest.$ac_ext >&5
43842 ac_header_preproc=no
43844 rm -f conftest.err conftest.$ac_ext
43845 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43846 echo "${ECHO_T}$ac_header_preproc" >&6
43848 # So? What about this header?
43849 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43851 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43852 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43853 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43854 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43855 ac_header_preproc=yes
43858 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43859 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43860 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43861 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43862 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43863 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43864 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43865 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43866 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43867 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43868 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43869 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43872 ## ----------------------------------------- ##
43873 ## Report this to wx-dev@lists.wxwidgets.org ##
43874 ## ----------------------------------------- ##
43877 sed "s/^/$as_me: WARNING: /" >&2
43880 echo "$as_me:$LINENO: checking for $ac_header" >&5
43881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43883 echo $ECHO_N "(cached) $ECHO_C" >&6
43885 eval "$as_ac_Header=\$ac_header_preproc"
43887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43888 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43891 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43892 cat >>confdefs.h <<_ACEOF
43893 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43901 if test "$ac_cv_header_ole2_h" = "yes" ; then
43902 if test "$GCC" = yes ; then
43903 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43904 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
43905 cat >conftest.$ac_ext <<_ACEOF
43908 cat confdefs.h >>conftest.$ac_ext
43909 cat >>conftest.$ac_ext <<_ACEOF
43910 /* end confdefs.h. */
43911 #include <windows.h>
43921 rm -f conftest.$ac_objext
43922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43923 (eval $ac_compile) 2>conftest.er1
43925 grep -v '^ *+' conftest.er1 >conftest.err
43927 cat conftest.err >&5
43928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43929 (exit $ac_status); } &&
43930 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43932 (eval $ac_try) 2>&5
43934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43935 (exit $ac_status); }; } &&
43936 { ac_try='test -s conftest.$ac_objext'
43937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43938 (eval $ac_try) 2>&5
43940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43941 (exit $ac_status); }; }; then
43942 echo "$as_me:$LINENO: result: no" >&5
43943 echo "${ECHO_T}no" >&6
43945 echo "$as_me: failed program was:" >&5
43946 sed 's/^/| /' conftest.$ac_ext >&5
43948 echo "$as_me:$LINENO: result: yes" >&5
43949 echo "${ECHO_T}yes" >&6
43950 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43953 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43954 if test "$wxUSE_OLE" = "yes" ; then
43955 cat >>confdefs.h <<\_ACEOF
43956 #define wxUSE_OLE 1
43959 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
43963 if test "$wxUSE_DATAOBJ" = "yes" ; then
43964 cat >>confdefs.h <<\_ACEOF
43965 #define wxUSE_DATAOBJ 1
43970 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43971 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43974 wxUSE_DRAG_AND_DROP=no
43979 if test "$wxUSE_METAFILE" = "yes"; then
43980 cat >>confdefs.h <<\_ACEOF
43981 #define wxUSE_METAFILE 1
43985 cat >>confdefs.h <<\_ACEOF
43986 #define wxUSE_ENH_METAFILE 1
43992 if test "$wxUSE_IPC" = "yes"; then
43993 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43994 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43995 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43999 if test "$wxUSE_IPC" = "yes"; then
44000 cat >>confdefs.h <<\_ACEOF
44001 #define wxUSE_IPC 1
44004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44008 if test "$wxUSE_DATAOBJ" = "yes"; then
44009 if test "$wxUSE_MGL" = 1; then
44010 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
44011 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
44014 cat >>confdefs.h <<\_ACEOF
44015 #define wxUSE_DATAOBJ 1
44020 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44021 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44023 wxUSE_DRAG_AND_DROP=no
44026 if test "$wxUSE_CLIPBOARD" = "yes"; then
44027 if test "$wxUSE_MGL" = 1; then
44028 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
44029 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
44033 if test "$wxUSE_CLIPBOARD" = "yes"; then
44034 cat >>confdefs.h <<\_ACEOF
44035 #define wxUSE_CLIPBOARD 1
44041 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44042 if test "$wxUSE_GTK" = 1; then
44043 if test "$WXGTK12" != 1; then
44044 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44045 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44046 wxUSE_DRAG_AND_DROP=no
44050 if test "$wxUSE_MOTIF" = 1; then
44051 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
44052 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
44053 wxUSE_DRAG_AND_DROP=no
44056 if test "$wxUSE_X11" = 1; then
44057 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
44058 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
44059 wxUSE_DRAG_AND_DROP=no
44062 if test "$wxUSE_MGL" = 1; then
44063 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
44064 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
44065 wxUSE_DRAG_AND_DROP=no
44068 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44069 cat >>confdefs.h <<\_ACEOF
44070 #define wxUSE_DRAG_AND_DROP 1
44077 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44078 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44081 if test "$wxUSE_SPLINES" = "yes" ; then
44082 cat >>confdefs.h <<\_ACEOF
44083 #define wxUSE_SPLINES 1
44088 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44089 cat >>confdefs.h <<\_ACEOF
44090 #define wxUSE_MOUSEWHEEL 1
44097 if test "$wxUSE_CONTROLS" = "yes"; then
44101 if test "$wxUSE_ACCEL" = "yes"; then
44102 cat >>confdefs.h <<\_ACEOF
44103 #define wxUSE_ACCEL 1
44109 if test "$wxUSE_BUTTON" = "yes"; then
44110 cat >>confdefs.h <<\_ACEOF
44111 #define wxUSE_BUTTON 1
44117 if test "$wxUSE_BMPBUTTON" = "yes"; then
44118 cat >>confdefs.h <<\_ACEOF
44119 #define wxUSE_BMPBUTTON 1
44125 if test "$wxUSE_CALCTRL" = "yes"; then
44126 cat >>confdefs.h <<\_ACEOF
44127 #define wxUSE_CALENDARCTRL 1
44131 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44134 if test "$wxUSE_CARET" = "yes"; then
44135 cat >>confdefs.h <<\_ACEOF
44136 #define wxUSE_CARET 1
44140 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44143 if test "$wxUSE_COMBOBOX" = "yes"; then
44144 cat >>confdefs.h <<\_ACEOF
44145 #define wxUSE_COMBOBOX 1
44151 if test "$wxUSE_COMBOCTRL" = "yes"; then
44152 cat >>confdefs.h <<\_ACEOF
44153 #define wxUSE_COMBOCTRL 1
44159 if test "$wxUSE_CHOICE" = "yes"; then
44160 cat >>confdefs.h <<\_ACEOF
44161 #define wxUSE_CHOICE 1
44167 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44168 cat >>confdefs.h <<\_ACEOF
44169 #define wxUSE_CHOICEBOOK 1
44175 if test "$wxUSE_CHECKBOX" = "yes"; then
44176 cat >>confdefs.h <<\_ACEOF
44177 #define wxUSE_CHECKBOX 1
44183 if test "$wxUSE_CHECKLST" = "yes"; then
44184 cat >>confdefs.h <<\_ACEOF
44185 #define wxUSE_CHECKLISTBOX 1
44189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44192 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44193 cat >>confdefs.h <<\_ACEOF
44194 #define wxUSE_COLOURPICKERCTRL 1
44200 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44201 cat >>confdefs.h <<\_ACEOF
44202 #define wxUSE_DATEPICKCTRL 1
44208 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44209 cat >>confdefs.h <<\_ACEOF
44210 #define wxUSE_DIRPICKERCTRL 1
44216 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44217 cat >>confdefs.h <<\_ACEOF
44218 #define wxUSE_FILEPICKERCTRL 1
44224 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44225 cat >>confdefs.h <<\_ACEOF
44226 #define wxUSE_FONTPICKERCTRL 1
44232 if test "$wxUSE_DISPLAY" = "yes"; then
44233 cat >>confdefs.h <<\_ACEOF
44234 #define wxUSE_DISPLAY 1
44237 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44240 if test "$wxUSE_GAUGE" = "yes"; then
44241 cat >>confdefs.h <<\_ACEOF
44242 #define wxUSE_GAUGE 1
44248 if test "$wxUSE_GRID" = "yes"; then
44249 cat >>confdefs.h <<\_ACEOF
44250 #define wxUSE_GRID 1
44254 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44257 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44258 cat >>confdefs.h <<\_ACEOF
44259 #define wxUSE_HYPERLINKCTRL 1
44265 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44266 cat >>confdefs.h <<\_ACEOF
44267 #define wxUSE_DATAVIEWCTRL 1
44271 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44274 if test "$wxUSE_IMAGLIST" = "yes"; then
44275 cat >>confdefs.h <<\_ACEOF
44276 #define wxUSE_IMAGLIST 1
44281 if test "$wxUSE_LISTBOOK" = "yes"; then
44282 cat >>confdefs.h <<\_ACEOF
44283 #define wxUSE_LISTBOOK 1
44289 if test "$wxUSE_LISTBOX" = "yes"; then
44290 cat >>confdefs.h <<\_ACEOF
44291 #define wxUSE_LISTBOX 1
44295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44298 if test "$wxUSE_LISTCTRL" = "yes"; then
44299 if test "$wxUSE_IMAGLIST" = "yes"; then
44300 cat >>confdefs.h <<\_ACEOF
44301 #define wxUSE_LISTCTRL 1
44305 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44307 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44308 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44312 if test "$wxUSE_NOTEBOOK" = "yes"; then
44313 cat >>confdefs.h <<\_ACEOF
44314 #define wxUSE_NOTEBOOK 1
44318 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44321 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44322 cat >>confdefs.h <<\_ACEOF
44323 #define wxUSE_ODCOMBOBOX 1
44327 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44331 if test "$wxUSE_RADIOBOX" = "yes"; then
44332 cat >>confdefs.h <<\_ACEOF
44333 #define wxUSE_RADIOBOX 1
44339 if test "$wxUSE_RADIOBTN" = "yes"; then
44340 cat >>confdefs.h <<\_ACEOF
44341 #define wxUSE_RADIOBTN 1
44347 if test "$wxUSE_SASH" = "yes"; then
44348 cat >>confdefs.h <<\_ACEOF
44349 #define wxUSE_SASH 1
44352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44355 if test "$wxUSE_SCROLLBAR" = "yes"; then
44356 cat >>confdefs.h <<\_ACEOF
44357 #define wxUSE_SCROLLBAR 1
44361 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44364 if test "$wxUSE_SLIDER" = "yes"; then
44365 cat >>confdefs.h <<\_ACEOF
44366 #define wxUSE_SLIDER 1
44372 if test "$wxUSE_SPINBTN" = "yes"; then
44373 cat >>confdefs.h <<\_ACEOF
44374 #define wxUSE_SPINBTN 1
44380 if test "$wxUSE_SPINCTRL" = "yes"; then
44381 cat >>confdefs.h <<\_ACEOF
44382 #define wxUSE_SPINCTRL 1
44388 if test "$wxUSE_SPLITTER" = "yes"; then
44389 cat >>confdefs.h <<\_ACEOF
44390 #define wxUSE_SPLITTER 1
44393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44396 if test "$wxUSE_STATBMP" = "yes"; then
44397 cat >>confdefs.h <<\_ACEOF
44398 #define wxUSE_STATBMP 1
44404 if test "$wxUSE_STATBOX" = "yes"; then
44405 cat >>confdefs.h <<\_ACEOF
44406 #define wxUSE_STATBOX 1
44412 if test "$wxUSE_STATTEXT" = "yes"; then
44413 cat >>confdefs.h <<\_ACEOF
44414 #define wxUSE_STATTEXT 1
44420 if test "$wxUSE_STATLINE" = "yes"; then
44421 cat >>confdefs.h <<\_ACEOF
44422 #define wxUSE_STATLINE 1
44428 if test "$wxUSE_STATUSBAR" = "yes"; then
44429 cat >>confdefs.h <<\_ACEOF
44430 #define wxUSE_NATIVE_STATUSBAR 1
44433 cat >>confdefs.h <<\_ACEOF
44434 #define wxUSE_STATUSBAR 1
44439 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44442 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44443 cat >>confdefs.h <<\_ACEOF
44444 #define wxUSE_TAB_DIALOG 1
44449 if test "$wxUSE_TEXTCTRL" = "yes"; then
44450 cat >>confdefs.h <<\_ACEOF
44451 #define wxUSE_TEXTCTRL 1
44455 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44458 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44459 if test "$wxUSE_COCOA" = 1 ; then
44460 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44461 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44465 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44466 cat >>confdefs.h <<\_ACEOF
44467 #define wxUSE_TOGGLEBTN 1
44474 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
44475 cat >>confdefs.h <<\_ACEOF
44476 #define wxUSE_TOOLBAR_SIMPLE 1
44479 wxUSE_TOOLBAR="yes"
44483 if test "$wxUSE_TOOLBAR" = "yes"; then
44484 cat >>confdefs.h <<\_ACEOF
44485 #define wxUSE_TOOLBAR 1
44490 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
44491 wxUSE_TOOLBAR_NATIVE="yes"
44494 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
44495 cat >>confdefs.h <<\_ACEOF
44496 #define wxUSE_TOOLBAR_NATIVE 1
44502 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44505 if test "$wxUSE_TOOLTIPS" = "yes"; then
44506 if test "$wxUSE_MOTIF" = 1; then
44507 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44508 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44510 if test "$wxUSE_UNIVERSAL" = "yes"; then
44511 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44512 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44514 cat >>confdefs.h <<\_ACEOF
44515 #define wxUSE_TOOLTIPS 1
44522 if test "$wxUSE_TREEBOOK" = "yes"; then
44523 cat >>confdefs.h <<\_ACEOF
44524 #define wxUSE_TREEBOOK 1
44530 if test "$wxUSE_TOOLBOOK" = "yes"; then
44531 cat >>confdefs.h <<\_ACEOF
44532 #define wxUSE_TOOLBOOK 1
44538 if test "$wxUSE_TREECTRL" = "yes"; then
44539 if test "$wxUSE_IMAGLIST" = "yes"; then
44540 cat >>confdefs.h <<\_ACEOF
44541 #define wxUSE_TREECTRL 1
44545 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44547 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44548 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44552 if test "$wxUSE_POPUPWIN" = "yes"; then
44553 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44554 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44555 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44557 if test "$wxUSE_PM" = 1; then
44558 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44559 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44561 cat >>confdefs.h <<\_ACEOF
44562 #define wxUSE_POPUPWIN 1
44565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44572 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44573 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44574 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
44575 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
44577 cat >>confdefs.h <<\_ACEOF
44578 #define wxUSE_DIALUP_MANAGER 1
44581 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44585 if test "$wxUSE_TIPWINDOW" = "yes"; then
44586 if test "$wxUSE_PM" = 1; then
44587 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44588 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44590 cat >>confdefs.h <<\_ACEOF
44591 #define wxUSE_TIPWINDOW 1
44597 if test "$USES_CONTROLS" = 1; then
44598 cat >>confdefs.h <<\_ACEOF
44599 #define wxUSE_CONTROLS 1
44605 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44606 cat >>confdefs.h <<\_ACEOF
44607 #define wxUSE_ACCESSIBILITY 1
44610 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44613 if test "$wxUSE_DC_CACHEING" = "yes"; then
44614 cat >>confdefs.h <<\_ACEOF
44615 #define wxUSE_DC_CACHEING 1
44620 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44621 cat >>confdefs.h <<\_ACEOF
44622 #define wxUSE_DRAGIMAGE 1
44625 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44628 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44629 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44630 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44631 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44633 cat >>confdefs.h <<\_ACEOF
44634 #define wxUSE_EXCEPTIONS 1
44637 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44642 if test "$wxUSE_HTML" = "yes"; then
44643 cat >>confdefs.h <<\_ACEOF
44644 #define wxUSE_HTML 1
44648 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44649 if test "$wxUSE_MAC" = 1; then
44650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44653 if test "$wxUSE_WEBKIT" = "yes"; then
44654 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44655 old_CPPFLAGS="$CPPFLAGS"
44656 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44657 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44658 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
44659 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44660 echo $ECHO_N "(cached) $ECHO_C" >&6
44662 cat >conftest.$ac_ext <<_ACEOF
44665 cat confdefs.h >>conftest.$ac_ext
44666 cat >>conftest.$ac_ext <<_ACEOF
44667 /* end confdefs.h. */
44668 #include <Carbon/Carbon.h>
44670 #include <WebKit/HIWebView.h>
44672 rm -f conftest.$ac_objext
44673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44674 (eval $ac_compile) 2>conftest.er1
44676 grep -v '^ *+' conftest.er1 >conftest.err
44678 cat conftest.err >&5
44679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44680 (exit $ac_status); } &&
44681 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44683 (eval $ac_try) 2>&5
44685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44686 (exit $ac_status); }; } &&
44687 { ac_try='test -s conftest.$ac_objext'
44688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44689 (eval $ac_try) 2>&5
44691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44692 (exit $ac_status); }; }; then
44693 ac_cv_header_WebKit_HIWebView_h=yes
44695 echo "$as_me: failed program was:" >&5
44696 sed 's/^/| /' conftest.$ac_ext >&5
44698 ac_cv_header_WebKit_HIWebView_h=no
44700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44702 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44703 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44704 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44706 cat >>confdefs.h <<\_ACEOF
44707 #define wxUSE_WEBKIT 1
44710 WEBKIT_LINK="-framework WebKit"
44714 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44715 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44721 CPPFLAGS="$old_CPPFLAGS"
44722 elif test "$wxUSE_COCOA" = 1; then
44723 cat >>confdefs.h <<\_ACEOF
44724 #define wxUSE_WEBKIT 1
44733 if test "$wxUSE_XRC" = "yes"; then
44734 if test "$wxUSE_XML" != "yes"; then
44735 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44736 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44739 cat >>confdefs.h <<\_ACEOF
44740 #define wxUSE_XRC 1
44744 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44749 if test "$wxUSE_AUI" = "yes"; then
44750 cat >>confdefs.h <<\_ACEOF
44751 #define wxUSE_AUI 1
44755 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
44758 if test "$wxUSE_MENUS" = "yes"; then
44759 cat >>confdefs.h <<\_ACEOF
44760 #define wxUSE_MENUS 1
44763 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44766 if test "$wxUSE_METAFILE" = "yes"; then
44767 cat >>confdefs.h <<\_ACEOF
44768 #define wxUSE_METAFILE 1
44773 if test "$wxUSE_MIMETYPE" = "yes"; then
44774 cat >>confdefs.h <<\_ACEOF
44775 #define wxUSE_MIMETYPE 1
44780 if test "$wxUSE_MINIFRAME" = "yes"; then
44781 cat >>confdefs.h <<\_ACEOF
44782 #define wxUSE_MINIFRAME 1
44785 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44788 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44789 cat >>confdefs.h <<\_ACEOF
44790 #define wxUSE_SYSTEM_OPTIONS 1
44793 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44794 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44795 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44800 if test "$wxUSE_VALIDATORS" = "yes"; then
44801 cat >>confdefs.h <<\_ACEOF
44802 #define wxUSE_VALIDATORS 1
44805 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44808 if test "$wxUSE_PALETTE" = "yes" ; then
44809 cat >>confdefs.h <<\_ACEOF
44810 #define wxUSE_PALETTE 1
44815 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44816 LIBS=" -lunicows $LIBS"
44820 if test "$wxUSE_RICHTEXT" = "yes"; then
44821 cat >>confdefs.h <<\_ACEOF
44822 #define wxUSE_RICHTEXT 1
44826 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
44830 if test "$wxUSE_IMAGE" = "yes" ; then
44831 cat >>confdefs.h <<\_ACEOF
44832 #define wxUSE_IMAGE 1
44836 if test "$wxUSE_GIF" = "yes" ; then
44837 cat >>confdefs.h <<\_ACEOF
44838 #define wxUSE_GIF 1
44843 if test "$wxUSE_PCX" = "yes" ; then
44844 cat >>confdefs.h <<\_ACEOF
44845 #define wxUSE_PCX 1
44850 if test "$wxUSE_IFF" = "yes" ; then
44851 cat >>confdefs.h <<\_ACEOF
44852 #define wxUSE_IFF 1
44857 if test "$wxUSE_PNM" = "yes" ; then
44858 cat >>confdefs.h <<\_ACEOF
44859 #define wxUSE_PNM 1
44864 if test "$wxUSE_XPM" = "yes" ; then
44865 cat >>confdefs.h <<\_ACEOF
44866 #define wxUSE_XPM 1
44871 if test "$wxUSE_ICO_CUR" = "yes" ; then
44872 cat >>confdefs.h <<\_ACEOF
44873 #define wxUSE_ICO_CUR 1
44880 if test "$wxUSE_CHOICEDLG" = "yes"; then
44881 cat >>confdefs.h <<\_ACEOF
44882 #define wxUSE_CHOICEDLG 1
44887 if test "$wxUSE_COLOURDLG" = "yes"; then
44888 cat >>confdefs.h <<\_ACEOF
44889 #define wxUSE_COLOURDLG 1
44894 if test "$wxUSE_FILEDLG" = "yes"; then
44895 cat >>confdefs.h <<\_ACEOF
44896 #define wxUSE_FILEDLG 1
44901 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44902 cat >>confdefs.h <<\_ACEOF
44903 #define wxUSE_FINDREPLDLG 1
44908 if test "$wxUSE_FONTDLG" = "yes"; then
44909 cat >>confdefs.h <<\_ACEOF
44910 #define wxUSE_FONTDLG 1
44915 if test "$wxUSE_DIRDLG" = "yes"; then
44916 if test "$wxUSE_TREECTRL" != "yes"; then
44917 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44918 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44920 cat >>confdefs.h <<\_ACEOF
44921 #define wxUSE_DIRDLG 1
44927 if test "$wxUSE_MSGDLG" = "yes"; then
44928 cat >>confdefs.h <<\_ACEOF
44929 #define wxUSE_MSGDLG 1
44934 if test "$wxUSE_NUMBERDLG" = "yes"; then
44935 cat >>confdefs.h <<\_ACEOF
44936 #define wxUSE_NUMBERDLG 1
44941 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44942 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44943 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44944 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44946 cat >>confdefs.h <<\_ACEOF
44947 #define wxUSE_PROGRESSDLG 1
44953 if test "$wxUSE_SPLASH" = "yes"; then
44954 cat >>confdefs.h <<\_ACEOF
44955 #define wxUSE_SPLASH 1
44958 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
44961 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44962 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44963 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44964 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44966 cat >>confdefs.h <<\_ACEOF
44967 #define wxUSE_STARTUP_TIPS 1
44973 if test "$wxUSE_TEXTDLG" = "yes"; then
44974 cat >>confdefs.h <<\_ACEOF
44975 #define wxUSE_TEXTDLG 1
44980 if test "$wxUSE_WIZARDDLG" = "yes"; then
44981 cat >>confdefs.h <<\_ACEOF
44982 #define wxUSE_WIZARDDLG 1
44985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
44991 if test "$wxUSE_MEDIACTRL" = "yes"; then
44994 if test "$wxUSE_GTK" = 1; then
44995 wxUSE_GSTREAMER="no"
44997 GST_VERSION_MAJOR=0
44998 GST_VERSION_MINOR=10
44999 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45001 if test "$wxUSE_GSTREAMER8" = "no"; then
45005 if test -z "$PKG_CONFIG"; then
45006 # Extract the first word of "pkg-config", so it can be a program name with args.
45007 set dummy pkg-config; ac_word=$2
45008 echo "$as_me:$LINENO: checking for $ac_word" >&5
45009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45010 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45011 echo $ECHO_N "(cached) $ECHO_C" >&6
45013 case $PKG_CONFIG in
45015 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
45018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45019 for as_dir in $PATH
45022 test -z "$as_dir" && as_dir=.
45023 for ac_exec_ext in '' $ac_executable_extensions; do
45024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45025 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45032 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
45036 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
45038 if test -n "$PKG_CONFIG"; then
45039 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45040 echo "${ECHO_T}$PKG_CONFIG" >&6
45042 echo "$as_me:$LINENO: result: no" >&5
45043 echo "${ECHO_T}no" >&6
45048 if test "$PKG_CONFIG" = "no" ; then
45049 echo "*** The pkg-config script could not be found. Make sure it is"
45050 echo "*** in your path, or set the PKG_CONFIG environment variable"
45051 echo "*** to the full path to pkg-config."
45052 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
45054 PKG_CONFIG_MIN_VERSION=0.9.0
45055 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
45056 echo "$as_me:$LINENO: checking for gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" >&5
45057 echo $ECHO_N "checking for gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0... $ECHO_C" >&6
45059 if $PKG_CONFIG --exists "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" ; then
45060 echo "$as_me:$LINENO: result: yes" >&5
45061 echo "${ECHO_T}yes" >&6
45064 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
45065 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
45066 GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45067 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
45068 echo "${ECHO_T}$GST_CFLAGS" >&6
45070 echo "$as_me:$LINENO: checking GST_LIBS" >&5
45071 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
45072 GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45073 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
45074 echo "${ECHO_T}$GST_LIBS" >&6
45078 ## If we have a custom action on failure, don't print errors, but
45079 ## do set a variable so people can do so.
45080 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45087 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
45088 echo "*** See http://www.freedesktop.org/software/pkgconfig"
45092 if test $succeeded = yes; then
45094 wxUSE_GSTREAMER="yes"
45095 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45099 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45100 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45101 GST_VERSION_MINOR=8
45107 GST_VERSION_MINOR=8
45110 if test $GST_VERSION_MINOR = "8"; then
45111 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45115 if test -z "$PKG_CONFIG"; then
45116 # Extract the first word of "pkg-config", so it can be a program name with args.
45117 set dummy pkg-config; ac_word=$2
45118 echo "$as_me:$LINENO: checking for $ac_word" >&5
45119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45120 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45121 echo $ECHO_N "(cached) $ECHO_C" >&6
45123 case $PKG_CONFIG in
45125 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
45128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45129 for as_dir in $PATH
45132 test -z "$as_dir" && as_dir=.
45133 for ac_exec_ext in '' $ac_executable_extensions; do
45134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45135 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45142 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
45146 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
45148 if test -n "$PKG_CONFIG"; then
45149 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45150 echo "${ECHO_T}$PKG_CONFIG" >&6
45152 echo "$as_me:$LINENO: result: no" >&5
45153 echo "${ECHO_T}no" >&6
45158 if test "$PKG_CONFIG" = "no" ; then
45159 echo "*** The pkg-config script could not be found. Make sure it is"
45160 echo "*** in your path, or set the PKG_CONFIG environment variable"
45161 echo "*** to the full path to pkg-config."
45162 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
45164 PKG_CONFIG_MIN_VERSION=0.9.0
45165 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
45166 echo "$as_me:$LINENO: checking for gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" >&5
45167 echo $ECHO_N "checking for gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION... $ECHO_C" >&6
45169 if $PKG_CONFIG --exists "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" ; then
45170 echo "$as_me:$LINENO: result: yes" >&5
45171 echo "${ECHO_T}yes" >&6
45174 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
45175 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
45176 GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45177 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
45178 echo "${ECHO_T}$GST_CFLAGS" >&6
45180 echo "$as_me:$LINENO: checking GST_LIBS" >&5
45181 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
45182 GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45183 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
45184 echo "${ECHO_T}$GST_LIBS" >&6
45188 ## If we have a custom action on failure, don't print errors, but
45189 ## do set a variable so people can do so.
45190 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45197 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
45198 echo "*** See http://www.freedesktop.org/software/pkgconfig"
45202 if test $succeeded = yes; then
45203 wxUSE_GSTREAMER="yes"
45206 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45207 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45214 if test "$wxUSE_GSTREAMER" = "yes"; then
45217 if "$GCC" = yes; then
45218 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45219 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45223 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45224 LIBS="$GST_LIBS $LIBS"
45226 cat >>confdefs.h <<\_ACEOF
45227 #define wxUSE_GSTREAMER 1
45235 if test $USE_MEDIA = 1; then
45236 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45237 cat >>confdefs.h <<\_ACEOF
45238 #define wxUSE_MEDIACTRL 1
45245 if test "$cross_compiling" = "yes"; then
45248 OSINFO=`uname -s -r -m`
45249 OSINFO="\"$OSINFO\""
45252 cat >>confdefs.h <<_ACEOF
45253 #define WXWIN_OS_DESCRIPTION $OSINFO
45258 if test "x$prefix" != "xNONE"; then
45261 wxPREFIX=$ac_default_prefix
45264 cat >>confdefs.h <<_ACEOF
45265 #define wxINSTALL_PREFIX "$wxPREFIX"
45271 CORE_BASE_LIBS="net base"
45272 CORE_GUI_LIBS="adv core"
45274 if test "$wxUSE_XML" = "yes" ; then
45275 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45277 if test "$wxUSE_ODBC" != "no" ; then
45278 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45279 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45281 if test "$wxUSE_HTML" = "yes" ; then
45282 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45284 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45285 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45287 if test "$wxUSE_XRC" = "yes" ; then
45288 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45290 if test "$wxUSE_AUI" = "yes" ; then
45291 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45294 if test "$wxUSE_GUI" != "yes"; then
45303 ac_cpp='$CPP $CPPFLAGS'
45304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45310 if test "$wxUSE_MAC" = 1 ; then
45311 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45312 if test "$USE_DARWIN" = 1; then
45313 LDFLAGS="$LDFLAGS -framework QuickTime"
45315 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45318 if test "$USE_DARWIN" = 1; then
45319 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45321 LDFLAGS="$LDFLAGS -lCarbonLib"
45324 if test "$wxUSE_COCOA" = 1 ; then
45325 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45326 if test "$wxUSE_MEDIACTRL" = "yes"; then
45327 LDFLAGS="$LDFLAGS -framework QuickTime"
45330 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45331 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45334 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45336 if test "$wxUSE_GUI" = "yes"; then
45339 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45340 dynamic erase event exec font image minimal mobile \
45341 mobile/wxedit mobile/styles propsize render \
45342 rotate shaped vscroll widgets"
45344 if test "$wxUSE_MONOLITHIC" != "yes"; then
45345 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45347 if test "$TOOLKIT" = "MSW"; then
45348 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45349 if test "$wxUSE_UNIVERSAL" != "yes"; then
45350 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45353 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45354 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45357 SAMPLES_SUBDIRS="console"
45361 if test "x$INTELCC" = "xyes" ; then
45362 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45363 elif test "$GCC" = yes ; then
45364 CWARNINGS="-Wall -Wundef"
45367 if test "x$INTELCXX" = "xyes" ; then
45368 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45369 elif test "$GXX" = yes ; then
45370 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45374 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45375 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45378 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45379 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
45380 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45383 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45384 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45385 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45387 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45390 if test "x$MWCC" = "xyes"; then
45392 CC="$CC -cwd source -I-"
45393 CXX="$CXX -cwd source -I-"
45398 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45399 EXTRALIBS_XML="$EXPAT_LINK"
45400 EXTRALIBS_HTML="$MSPACK_LINK"
45401 EXTRALIBS_ODBC="$ODBC_LINK"
45402 if test "$wxUSE_GUI" = "yes"; then
45403 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45405 if test "$wxUSE_OPENGL" = "yes"; then
45406 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45409 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45411 WXCONFIG_LIBS="$LIBS"
45413 if test "$wxUSE_REGEX" = "builtin" ; then
45414 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45416 if test "$wxUSE_EXPAT" = "builtin" ; then
45417 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45419 if test "$wxUSE_ODBC" = "builtin" ; then
45420 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45422 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45423 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45425 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45426 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45428 if test "$wxUSE_LIBPNG" = "builtin" ; then
45429 wxconfig_3rdparty="png $wxconfig_3rdparty"
45431 if test "$wxUSE_ZLIB" = "builtin" ; then
45432 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45435 for i in $wxconfig_3rdparty ; do
45436 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45440 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45454 if test $wxUSE_MONOLITHIC = "yes" ; then
45460 if test $wxUSE_PLUGINS = "yes" ; then
45466 if test $wxUSE_ODBC != "no" ; then
45472 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45478 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45508 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45519 TOOLKIT_USER="GTK+"
45520 if test "$WXGTK20" = 1; then
45521 TOOLKIT_USER="$TOOLKIT_USER 2"
45526 TOOLKIT_USER=$TOOLKIT_LOWERCASE
45530 if test "$wxUSE_WINE" = "yes"; then
45531 BAKEFILE_FORCE_PLATFORM=win32
45534 if test "$wxUSE_MAC" = 1 ; then
45535 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
45536 CXXFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CXXFLAGS"
45537 CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CFLAGS"
45538 LDFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $LDFLAGS"
45541 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45542 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45543 # TODO: how can we avoid a hardwired reference to the SDK, above? (Someone used -lSystemStubs to avoid it)
45549 if test "x$BAKEFILE_HOST" = "x"; then
45550 if test "x${host}" = "x" ; then
45551 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45552 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45553 { (exit 1); exit 1; }; }
45556 BAKEFILE_HOST="${host}"
45559 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45561 if test -n "$ac_tool_prefix"; then
45562 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45563 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45564 echo "$as_me:$LINENO: checking for $ac_word" >&5
45565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45566 if test "${ac_cv_prog_RANLIB+set}" = set; then
45567 echo $ECHO_N "(cached) $ECHO_C" >&6
45569 if test -n "$RANLIB"; then
45570 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45573 for as_dir in $PATH
45576 test -z "$as_dir" && as_dir=.
45577 for ac_exec_ext in '' $ac_executable_extensions; do
45578 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45579 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45588 RANLIB=$ac_cv_prog_RANLIB
45589 if test -n "$RANLIB"; then
45590 echo "$as_me:$LINENO: result: $RANLIB" >&5
45591 echo "${ECHO_T}$RANLIB" >&6
45593 echo "$as_me:$LINENO: result: no" >&5
45594 echo "${ECHO_T}no" >&6
45598 if test -z "$ac_cv_prog_RANLIB"; then
45599 ac_ct_RANLIB=$RANLIB
45600 # Extract the first word of "ranlib", so it can be a program name with args.
45601 set dummy ranlib; ac_word=$2
45602 echo "$as_me:$LINENO: checking for $ac_word" >&5
45603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45604 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45605 echo $ECHO_N "(cached) $ECHO_C" >&6
45607 if test -n "$ac_ct_RANLIB"; then
45608 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45611 for as_dir in $PATH
45614 test -z "$as_dir" && as_dir=.
45615 for ac_exec_ext in '' $ac_executable_extensions; do
45616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45617 ac_cv_prog_ac_ct_RANLIB="ranlib"
45618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45624 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
45627 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45628 if test -n "$ac_ct_RANLIB"; then
45629 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45630 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45632 echo "$as_me:$LINENO: result: no" >&5
45633 echo "${ECHO_T}no" >&6
45636 RANLIB=$ac_ct_RANLIB
45638 RANLIB="$ac_cv_prog_RANLIB"
45641 # Find a good install program. We prefer a C program (faster),
45642 # so one script is as good as another. But avoid the broken or
45643 # incompatible versions:
45644 # SysV /etc/install, /usr/sbin/install
45645 # SunOS /usr/etc/install
45646 # IRIX /sbin/install
45648 # AmigaOS /C/install, which installs bootblocks on floppy discs
45649 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45650 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45651 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45652 # OS/2's system install, which has a completely different semantic
45653 # ./install, which can be erroneously created by make from ./install.sh.
45654 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45655 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45656 if test -z "$INSTALL"; then
45657 if test "${ac_cv_path_install+set}" = set; then
45658 echo $ECHO_N "(cached) $ECHO_C" >&6
45660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45661 for as_dir in $PATH
45664 test -z "$as_dir" && as_dir=.
45665 # Account for people who put trailing slashes in PATH elements.
45667 ./ | .// | /cC/* | \
45668 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45669 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45672 # OSF1 and SCO ODT 3.0 have their own names for install.
45673 # Don't use installbsd from OSF since it installs stuff as root
45675 for ac_prog in ginstall scoinst install; do
45676 for ac_exec_ext in '' $ac_executable_extensions; do
45677 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45678 if test $ac_prog = install &&
45679 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45680 # AIX install. It has an incompatible calling convention.
45682 elif test $ac_prog = install &&
45683 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45684 # program-specific install script used by HP pwplus--don't use.
45687 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45699 if test "${ac_cv_path_install+set}" = set; then
45700 INSTALL=$ac_cv_path_install
45702 # As a last resort, use the slow shell script. We don't cache a
45703 # path for INSTALL within a source directory, because that will
45704 # break other packages using the cache if that directory is
45705 # removed, or if the path is relative.
45706 INSTALL=$ac_install_sh
45709 echo "$as_me:$LINENO: result: $INSTALL" >&5
45710 echo "${ECHO_T}$INSTALL" >&6
45712 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45713 # It thinks the first close brace ends the variable substitution.
45714 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45716 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45718 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45720 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45721 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45723 if test "$LN_S" = "ln -s"; then
45724 echo "$as_me:$LINENO: result: yes" >&5
45725 echo "${ECHO_T}yes" >&6
45727 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45728 echo "${ECHO_T}no, using $LN_S" >&6
45732 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45733 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45734 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
45735 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45736 echo $ECHO_N "(cached) $ECHO_C" >&6
45738 cat >conftest.make <<\_ACEOF
45740 @echo 'ac_maketemp="$(MAKE)"'
45742 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45743 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45744 if test -n "$ac_maketemp"; then
45745 eval ac_cv_prog_make_${ac_make}_set=yes
45747 eval ac_cv_prog_make_${ac_make}_set=no
45749 rm -f conftest.make
45751 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45752 echo "$as_me:$LINENO: result: yes" >&5
45753 echo "${ECHO_T}yes" >&6
45756 echo "$as_me:$LINENO: result: no" >&5
45757 echo "${ECHO_T}no" >&6
45758 SET_MAKE="MAKE=${MAKE-make}"
45763 if test -n "$ac_tool_prefix"; then
45764 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45765 set dummy ${ac_tool_prefix}ar; ac_word=$2
45766 echo "$as_me:$LINENO: checking for $ac_word" >&5
45767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45768 if test "${ac_cv_prog_AR+set}" = set; then
45769 echo $ECHO_N "(cached) $ECHO_C" >&6
45771 if test -n "$AR"; then
45772 ac_cv_prog_AR="$AR" # Let the user override the test.
45774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45775 for as_dir in $PATH
45778 test -z "$as_dir" && as_dir=.
45779 for ac_exec_ext in '' $ac_executable_extensions; do
45780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45781 ac_cv_prog_AR="${ac_tool_prefix}ar"
45782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45791 if test -n "$AR"; then
45792 echo "$as_me:$LINENO: result: $AR" >&5
45793 echo "${ECHO_T}$AR" >&6
45795 echo "$as_me:$LINENO: result: no" >&5
45796 echo "${ECHO_T}no" >&6
45800 if test -z "$ac_cv_prog_AR"; then
45802 # Extract the first word of "ar", so it can be a program name with args.
45803 set dummy ar; ac_word=$2
45804 echo "$as_me:$LINENO: checking for $ac_word" >&5
45805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45806 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45807 echo $ECHO_N "(cached) $ECHO_C" >&6
45809 if test -n "$ac_ct_AR"; then
45810 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
45812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45813 for as_dir in $PATH
45816 test -z "$as_dir" && as_dir=.
45817 for ac_exec_ext in '' $ac_executable_extensions; do
45818 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45819 ac_cv_prog_ac_ct_AR="ar"
45820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45826 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
45829 ac_ct_AR=$ac_cv_prog_ac_ct_AR
45830 if test -n "$ac_ct_AR"; then
45831 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45832 echo "${ECHO_T}$ac_ct_AR" >&6
45834 echo "$as_me:$LINENO: result: no" >&5
45835 echo "${ECHO_T}no" >&6
45840 AR="$ac_cv_prog_AR"
45843 if test -n "$ac_tool_prefix"; then
45844 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45845 set dummy ${ac_tool_prefix}strip; ac_word=$2
45846 echo "$as_me:$LINENO: checking for $ac_word" >&5
45847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45848 if test "${ac_cv_prog_STRIP+set}" = set; then
45849 echo $ECHO_N "(cached) $ECHO_C" >&6
45851 if test -n "$STRIP"; then
45852 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
45854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45855 for as_dir in $PATH
45858 test -z "$as_dir" && as_dir=.
45859 for ac_exec_ext in '' $ac_executable_extensions; do
45860 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45861 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
45862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45870 STRIP=$ac_cv_prog_STRIP
45871 if test -n "$STRIP"; then
45872 echo "$as_me:$LINENO: result: $STRIP" >&5
45873 echo "${ECHO_T}$STRIP" >&6
45875 echo "$as_me:$LINENO: result: no" >&5
45876 echo "${ECHO_T}no" >&6
45880 if test -z "$ac_cv_prog_STRIP"; then
45882 # Extract the first word of "strip", so it can be a program name with args.
45883 set dummy strip; ac_word=$2
45884 echo "$as_me:$LINENO: checking for $ac_word" >&5
45885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45886 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45887 echo $ECHO_N "(cached) $ECHO_C" >&6
45889 if test -n "$ac_ct_STRIP"; then
45890 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
45892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45893 for as_dir in $PATH
45896 test -z "$as_dir" && as_dir=.
45897 for ac_exec_ext in '' $ac_executable_extensions; do
45898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45899 ac_cv_prog_ac_ct_STRIP="strip"
45900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45906 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
45909 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
45910 if test -n "$ac_ct_STRIP"; then
45911 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45912 echo "${ECHO_T}$ac_ct_STRIP" >&6
45914 echo "$as_me:$LINENO: result: no" >&5
45915 echo "${ECHO_T}no" >&6
45920 STRIP="$ac_cv_prog_STRIP"
45923 if test -n "$ac_tool_prefix"; then
45924 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45925 set dummy ${ac_tool_prefix}nm; ac_word=$2
45926 echo "$as_me:$LINENO: checking for $ac_word" >&5
45927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45928 if test "${ac_cv_prog_NM+set}" = set; then
45929 echo $ECHO_N "(cached) $ECHO_C" >&6
45931 if test -n "$NM"; then
45932 ac_cv_prog_NM="$NM" # Let the user override the test.
45934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45935 for as_dir in $PATH
45938 test -z "$as_dir" && as_dir=.
45939 for ac_exec_ext in '' $ac_executable_extensions; do
45940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45941 ac_cv_prog_NM="${ac_tool_prefix}nm"
45942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45951 if test -n "$NM"; then
45952 echo "$as_me:$LINENO: result: $NM" >&5
45953 echo "${ECHO_T}$NM" >&6
45955 echo "$as_me:$LINENO: result: no" >&5
45956 echo "${ECHO_T}no" >&6
45960 if test -z "$ac_cv_prog_NM"; then
45962 # Extract the first word of "nm", so it can be a program name with args.
45963 set dummy nm; ac_word=$2
45964 echo "$as_me:$LINENO: checking for $ac_word" >&5
45965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45966 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
45967 echo $ECHO_N "(cached) $ECHO_C" >&6
45969 if test -n "$ac_ct_NM"; then
45970 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
45972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45973 for as_dir in $PATH
45976 test -z "$as_dir" && as_dir=.
45977 for ac_exec_ext in '' $ac_executable_extensions; do
45978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45979 ac_cv_prog_ac_ct_NM="nm"
45980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45986 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
45989 ac_ct_NM=$ac_cv_prog_ac_ct_NM
45990 if test -n "$ac_ct_NM"; then
45991 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
45992 echo "${ECHO_T}$ac_ct_NM" >&6
45994 echo "$as_me:$LINENO: result: no" >&5
45995 echo "${ECHO_T}no" >&6
46000 NM="$ac_cv_prog_NM"
46004 case ${BAKEFILE_HOST} in
46006 INSTALL_DIR="mkdir -p"
46008 *) INSTALL_DIR="$INSTALL -d"
46014 case ${BAKEFILE_HOST} in
46015 *-*-cygwin* | *-*-mingw32* )
46016 LDFLAGS_GUI="-mwindows"
46022 echo "$as_me:$LINENO: checking if make is GNU make" >&5
46023 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
46024 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46025 echo $ECHO_N "(cached) $ECHO_C" >&6
46028 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46029 egrep -s GNU > /dev/null); then
46030 bakefile_cv_prog_makeisgnu="yes"
46032 bakefile_cv_prog_makeisgnu="no"
46036 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46037 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
46039 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46056 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46057 case "${BAKEFILE_HOST}" in
46064 *-pc-os2_emx | *-pc-os2-emx )
46074 powerpc-apple-macos* )
46083 case "$BAKEFILE_FORCE_PLATFORM" in
46104 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
46105 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
46106 { (exit 1); exit 1; }; }
46121 # Check whether --enable-omf or --disable-omf was given.
46122 if test "${enable_omf+set}" = set; then
46123 enableval="$enable_omf"
46124 bk_os2_use_omf="$enableval"
46127 case "${BAKEFILE_HOST}" in
46129 if test "x$GCC" = "xyes"; then
46130 CFLAGS="$CFLAGS -fno-common"
46131 CXXFLAGS="$CXXFLAGS -fno-common"
46133 if test "x$XLCC" = "xyes"; then
46134 CFLAGS="$CFLAGS -qnocommon"
46135 CXXFLAGS="$CXXFLAGS -qnocommon"
46139 *-pc-os2_emx | *-pc-os2-emx )
46140 if test "x$bk_os2_use_omf" = "xyes" ; then
46143 LDFLAGS="-Zomf $LDFLAGS"
46144 CFLAGS="-Zomf $CFLAGS"
46145 CXXFLAGS="-Zomf $CXXFLAGS"
46153 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46159 SO_SUFFIX_MODULE="so"
46164 DLLPREFIX_MODULE=""
46168 case "${BAKEFILE_HOST}" in
46171 SO_SUFFIX_MODULE="sl"
46175 SO_SUFFIX_MODULE="a"
46179 SO_SUFFIX_MODULE="dll"
46180 DLLIMP_SUFFIX="dll.a"
46187 SO_SUFFIX_MODULE="dll"
46188 DLLIMP_SUFFIX="dll.a"
46198 *-pc-os2_emx | *-pc-os2-emx )
46200 SO_SUFFIX_MODULE="dll"
46201 DLLIMP_SUFFIX=$OS2_LIBEXT
46205 LIBEXT=".$OS2_LIBEXT"
46210 SO_SUFFIX_MODULE="bundle"
46214 if test "x$DLLIMP_SUFFIX" = "x" ; then
46215 DLLIMP_SUFFIX="$SO_SUFFIX"
46230 if test "x$GCC" = "xyes"; then
46234 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46235 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46238 case "${BAKEFILE_HOST}" in
46240 if test "x$GCC" != "xyes"; then
46241 LDFLAGS="$LDFLAGS -L/usr/lib"
46243 SHARED_LD_CC="${CC} -b -o"
46244 SHARED_LD_CXX="${CXX} -b -o"
46250 if test "x$GCC" != "xyes"; then
46251 echo "$as_me:$LINENO: checking for Intel compiler" >&5
46252 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
46253 if test "${bakefile_cv_prog_icc+set}" = set; then
46254 echo $ECHO_N "(cached) $ECHO_C" >&6
46257 cat >conftest.$ac_ext <<_ACEOF
46260 cat confdefs.h >>conftest.$ac_ext
46261 cat >>conftest.$ac_ext <<_ACEOF
46262 /* end confdefs.h. */
46268 #ifndef __INTEL_COMPILER
46276 rm -f conftest.$ac_objext
46277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46278 (eval $ac_compile) 2>conftest.er1
46280 grep -v '^ *+' conftest.er1 >conftest.err
46282 cat conftest.err >&5
46283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46284 (exit $ac_status); } &&
46285 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46287 (eval $ac_try) 2>&5
46289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46290 (exit $ac_status); }; } &&
46291 { ac_try='test -s conftest.$ac_objext'
46292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46293 (eval $ac_try) 2>&5
46295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46296 (exit $ac_status); }; }; then
46297 bakefile_cv_prog_icc=yes
46299 echo "$as_me: failed program was:" >&5
46300 sed 's/^/| /' conftest.$ac_ext >&5
46302 bakefile_cv_prog_icc=no
46305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46308 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46309 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46310 if test "$bakefile_cv_prog_icc" = "yes"; then
46317 if test "x$GCC" != xyes ; then
46318 SHARED_LD_CC="${CC} -G -o"
46319 SHARED_LD_CXX="${CXX} -G -o"
46327 cat <<EOF >shared-ld-sh
46329 #-----------------------------------------------------------------------------
46330 #-- Name: distrib/mac/shared-ld-sh
46331 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46332 #-- Author: Gilles Depeyrot
46333 #-- Copyright: (c) 2002 Gilles Depeyrot
46334 #-- Licence: any use permitted
46335 #-----------------------------------------------------------------------------
46340 linking_flag="-dynamiclib"
46341 ldargs="-r -keep_private_externs -nostdlib"
46343 while test ${D}# -gt 0; do
46350 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46351 # collect these options and values
46352 args="${D}{args} ${D}1 ${D}2"
46357 # collect these load args
46358 ldargs="${D}{ldargs} ${D}1"
46361 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46362 # collect these options
46363 args="${D}{args} ${D}1"
46366 -dynamiclib|-bundle)
46367 linking_flag="${D}1"
46371 echo "shared-ld: unhandled option '${D}1'"
46375 *.o | *.a | *.dylib)
46376 # collect object files
46377 objects="${D}{objects} ${D}1"
46381 echo "shared-ld: unhandled argument '${D}1'"
46392 # Link one module containing all the others
46394 if test ${D}{verbose} = 1; then
46395 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46397 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46401 # Link the shared library from the single module created, but only if the
46402 # previous command didn't fail:
46404 if test ${D}{status} = 0; then
46405 if test ${D}{verbose} = 1; then
46406 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46408 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46413 # Remove intermediate module
46415 rm -f master.${D}${D}.o
46420 chmod +x shared-ld-sh
46422 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46423 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46426 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46427 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46428 if test "${bakefile_cv_gcc31+set}" = set; then
46429 echo $ECHO_N "(cached) $ECHO_C" >&6
46432 cat >conftest.$ac_ext <<_ACEOF
46435 cat confdefs.h >>conftest.$ac_ext
46436 cat >>conftest.$ac_ext <<_ACEOF
46437 /* end confdefs.h. */
46443 #if (__GNUC__ < 3) || \
46444 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46452 rm -f conftest.$ac_objext
46453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46454 (eval $ac_compile) 2>conftest.er1
46456 grep -v '^ *+' conftest.er1 >conftest.err
46458 cat conftest.err >&5
46459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46460 (exit $ac_status); } &&
46461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46463 (eval $ac_try) 2>&5
46465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46466 (exit $ac_status); }; } &&
46467 { ac_try='test -s conftest.$ac_objext'
46468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46469 (eval $ac_try) 2>&5
46471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46472 (exit $ac_status); }; }; then
46474 bakefile_cv_gcc31=yes
46477 echo "$as_me: failed program was:" >&5
46478 sed 's/^/| /' conftest.$ac_ext >&5
46481 bakefile_cv_gcc31=no
46485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46488 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46489 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46490 if test "$bakefile_cv_gcc31" = "no"; then
46491 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46492 SHARED_LD_CXX="$SHARED_LD_CC"
46494 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46495 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46498 if test "x$GCC" == "xyes"; then
46499 PIC_FLAG="-dynamic -fPIC"
46501 if test "x$XLCC" = "xyes"; then
46502 PIC_FLAG="-dynamic -DPIC"
46507 if test "x$GCC" = "xyes"; then
46510 case "${BAKEFILE_HOST}" in
46512 LD_EXPFULL="-Wl,-bexpfull"
46516 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46517 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46519 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46520 set dummy makeC++SharedLib; ac_word=$2
46521 echo "$as_me:$LINENO: checking for $ac_word" >&5
46522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46523 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46524 echo $ECHO_N "(cached) $ECHO_C" >&6
46526 if test -n "$AIX_CXX_LD"; then
46527 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46530 for as_dir in $PATH
46533 test -z "$as_dir" && as_dir=.
46534 for ac_exec_ext in '' $ac_executable_extensions; do
46535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46536 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46543 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46546 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46547 if test -n "$AIX_CXX_LD"; then
46548 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46549 echo "${ECHO_T}$AIX_CXX_LD" >&6
46551 echo "$as_me:$LINENO: result: no" >&5
46552 echo "${ECHO_T}no" >&6
46555 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46556 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46561 SHARED_LD_CC="${LD} -nostart -o"
46562 SHARED_LD_CXX="${LD} -nostart -o"
46566 if test "x$GCC" != "xyes"; then
46571 *-*-cygwin* | *-*-mingw32* )
46573 SHARED_LD_CC="\$(CC) -shared -o"
46574 SHARED_LD_CXX="\$(CXX) -shared -o"
46578 *-pc-os2_emx | *-pc-os2-emx )
46579 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46580 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46584 cat <<EOF >dllar.sh
46587 # dllar - a tool to build both a .dll and an .a file
46588 # from a set of object (.o) files for EMX/OS2.
46590 # Written by Andrew Zabolotny, bit@freya.etu.ru
46591 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46593 # This script will accept a set of files on the command line.
46594 # All the public symbols from the .o files will be exported into
46595 # a .DEF file, then linker will be run (through gcc) against them to
46596 # build a shared library consisting of all given .o files. All libraries
46597 # (.a) will be first decompressed into component .o files then act as
46598 # described above. You can optionally give a description (-d "description")
46599 # which will be put into .DLL. To see the list of accepted options (as well
46600 # as command-line format) simply run this program without options. The .DLL
46601 # is built to be imported by name (there is no guarantee that new versions
46602 # of the library you build will have same ordinals for same symbols).
46604 # dllar is free software; you can redistribute it and/or modify
46605 # it under the terms of the GNU General Public License as published by
46606 # the Free Software Foundation; either version 2, or (at your option)
46607 # any later version.
46609 # dllar is distributed in the hope that it will be useful,
46610 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46611 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46612 # GNU General Public License for more details.
46614 # You should have received a copy of the GNU General Public License
46615 # along with dllar; see the file COPYING. If not, write to the Free
46616 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46619 # To successfuly run this program you will need:
46620 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46621 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46623 # (used to build the .dll)
46625 # (used to create .def file from .o files)
46627 # (used to create .a file from .def file)
46628 # - GNU text utilites (cat, sort, uniq)
46629 # used to process emxexp output
46630 # - GNU file utilities (mv, rm)
46632 # - lxlite (optional, see flag below)
46633 # (used for general .dll cleanup)
46640 # basnam, variant of basename, which does _not_ remove the path, _iff_
46641 # second argument (suffix to remove) is given
46645 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46648 echo ${D}1 | sed 's/'${D}2'${D}//'
46651 echo "error in basnam ${D}*"
46657 # Cleanup temporary files and output
46660 for i in ${D}inputFiles ; do
46663 rm -rf \`basnam ${D}i !\`
46670 # Kill result in case of failure as there is just to many stupid make/nmake
46671 # things out there which doesn't do this.
46672 if [ ${D}# -eq 0 ]; then
46673 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46677 # Print usage and exit script with rc=1.
46679 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46680 echo ' [-name-mangler-script script.sh]'
46681 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46682 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46683 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46684 echo ' [*.o] [*.a]'
46685 echo '*> "output_file" should have no extension.'
46686 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46687 echo ' The import library name is derived from this and is set to "name".a,'
46688 echo ' unless overridden by -import'
46689 echo '*> "importlib_name" should have no extension.'
46690 echo ' If it has the .o, or .a extension, it is automatically removed.'
46691 echo ' This name is used as the import library name and may be longer and'
46692 echo ' more descriptive than the DLL name which has to follow the old '
46693 echo ' 8.3 convention of FAT.'
46694 echo '*> "script.sh may be given to override the output_file name by a'
46695 echo ' different name. It is mainly useful if the regular make process'
46696 echo ' of some package does not take into account OS/2 restriction of'
46697 echo ' DLL name lengths. It takes the importlib name as input and is'
46698 echo ' supposed to procude a shorter name as output. The script should'
46699 echo ' expect to get importlib_name without extension and should produce'
46700 echo ' a (max.) 8 letter name without extension.'
46701 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46702 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46703 echo ' These flags will be put at the start of GCC command line.'
46704 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46705 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46706 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46707 echo ' If the last character of a symbol is "*", all symbols beginning'
46708 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46709 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46710 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46711 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46712 echo ' C runtime DLLs.'
46713 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46714 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46715 echo ' unchanged to GCC at the end of command line.'
46716 echo '*> If you create a DLL from a library and you do not specify -o,'
46717 echo ' the basename for DLL and import library will be set to library name,'
46718 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46719 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46720 echo ' library will be renamed into gcc_s.a.'
46723 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46724 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46729 # Execute a command.
46730 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46731 # @Uses Whatever CleanUp() uses.
46737 if [ ${D}rcCmd -ne 0 ]; then
46738 echo "command failed, exit code="${D}rcCmd
46753 CFLAGS="-s -Zcrtdll"
46755 EXPORT_BY_ORDINALS=0
46760 case ${D}curDirS in
46764 curDirS=${D}{curDirS}"/"
46767 # Parse commandline
46770 while [ ${D}1 ]; do
46773 EXPORT_BY_ORDINALS=1;
46783 -name-mangler-script)
46804 exclude_symbols=${D}{exclude_symbols}${D}1" "
46808 library_flags=${D}{library_flags}${D}1" "
46827 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46830 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46831 if [ ${D}omfLinking -eq 1 ]; then
46832 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46834 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46839 if [ ${D}libsToLink -ne 0 ]; then
46840 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46842 for file in ${D}1 ; do
46843 if [ -f ${D}file ]; then
46844 inputFiles="${D}{inputFiles} ${D}file"
46848 if [ ${D}found -eq 0 ]; then
46849 echo "ERROR: No file(s) found: "${D}1
46856 done # iterate cmdline words
46859 if [ -z "${D}inputFiles" ]; then
46860 echo "dllar: no input files"
46864 # Now extract all .o files from .a files
46866 for file in ${D}inputFiles ; do
46877 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46882 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46884 if [ ${D}? -ne 0 ]; then
46885 echo "Failed to create subdirectory ./${D}dirname"
46889 # Append '!' to indicate archive
46890 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46891 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46894 for subfile in ${D}dirname/*.o* ; do
46895 if [ -f ${D}subfile ]; then
46897 if [ -s ${D}subfile ]; then
46898 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46899 newInputFiles="${D}newInputFiles ${D}subfile"
46903 if [ ${D}found -eq 0 ]; then
46904 echo "WARNING: there are no files in archive \\'${D}file\\'"
46908 newInputFiles="${D}{newInputFiles} ${D}file"
46912 inputFiles="${D}newInputFiles"
46914 # Output filename(s).
46916 if [ -z ${D}outFile ]; then
46918 set outFile ${D}inputFiles; outFile=${D}2
46921 # If it is an archive, remove the '!' and the '_%' suffixes
46922 case ${D}outFile in
46924 outFile=\`basnam ${D}outFile _%!\`
46929 case ${D}outFile in
46931 outFile=\`basnam ${D}outFile .dll\`
46934 outFile=\`basnam ${D}outFile .DLL\`
46937 outFile=\`basnam ${D}outFile .o\`
46940 outFile=\`basnam ${D}outFile .obj\`
46943 outFile=\`basnam ${D}outFile .a\`
46946 outFile=\`basnam ${D}outFile .lib\`
46951 case ${D}outimpFile in
46953 outimpFile=\`basnam ${D}outimpFile .a\`
46956 outimpFile=\`basnam ${D}outimpFile .lib\`
46961 if [ -z ${D}outimpFile ]; then
46962 outimpFile=${D}outFile
46964 defFile="${D}{outFile}.def"
46965 arcFile="${D}{outimpFile}.a"
46966 arcFile2="${D}{outimpFile}.lib"
46968 #create ${D}dllFile as something matching 8.3 restrictions,
46969 if [ -z ${D}renameScript ] ; then
46970 dllFile="${D}outFile"
46972 dllFile=\`${D}renameScript ${D}outimpFile\`
46975 if [ ${D}do_backup -ne 0 ] ; then
46976 if [ -f ${D}arcFile ] ; then
46977 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
46979 if [ -f ${D}arcFile2 ] ; then
46980 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
46984 # Extract public symbols from all the object files.
46985 tmpdefFile=${D}{defFile}_%
46986 rm -f ${D}tmpdefFile
46987 for file in ${D}inputFiles ; do
46992 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
46997 # Create the def file.
46999 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47000 dllFile="${D}{dllFile}.dll"
47001 if [ ! -z ${D}description ]; then
47002 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47004 echo "EXPORTS" >> ${D}defFile
47006 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47007 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47009 # Checks if the export is ok or not.
47010 for word in ${D}exclude_symbols; do
47011 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47012 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47016 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47017 sed "=" < ${D}tmpdefFile | \\
47021 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47023 ' > ${D}{tmpdefFile}%
47024 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47026 rm -f ${D}{tmpdefFile}%
47028 cat ${D}tmpdefFile >> ${D}defFile
47029 rm -f ${D}tmpdefFile
47031 # Do linking, create implib, and apply lxlite.
47033 for file in ${D}inputFiles ; do
47038 gccCmdl="${D}gccCmdl ${D}file"
47042 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47043 touch "${D}{outFile}.dll"
47045 doCommand "emximp -o ${D}arcFile ${D}defFile"
47046 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47048 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47051 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47053 doCommand "emxomf -s -l ${D}arcFile"
47063 powerpc-apple-macos* | \
47064 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47074 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47075 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47076 { (exit 1); exit 1; }; }
47079 if test "x$PIC_FLAG" != "x" ; then
47080 PIC_FLAG="$PIC_FLAG -DPIC"
47083 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47084 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47086 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47087 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47106 case "${BAKEFILE_HOST}" in
47107 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47108 SONAME_FLAG="-Wl,-soname,"
47142 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
47143 if test "${enable_dependency_tracking+set}" = set; then
47144 enableval="$enable_dependency_tracking"
47145 bk_use_trackdeps="$enableval"
47148 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47149 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
47151 if test "x$bk_use_trackdeps" = "xno" ; then
47153 echo "$as_me:$LINENO: result: disabled" >&5
47154 echo "${ECHO_T}disabled" >&6
47158 if test "x$GCC" = "xyes"; then
47160 case "${BAKEFILE_HOST}" in
47162 DEPSFLAG="-no-cpp-precomp -MMD"
47168 echo "$as_me:$LINENO: result: gcc" >&5
47169 echo "${ECHO_T}gcc" >&6
47170 elif test "x$MWCC" = "xyes"; then
47173 echo "$as_me:$LINENO: result: mwcc" >&5
47174 echo "${ECHO_T}mwcc" >&6
47175 elif test "x$SUNCC" = "xyes"; then
47178 echo "$as_me:$LINENO: result: Sun cc" >&5
47179 echo "${ECHO_T}Sun cc" >&6
47180 elif test "x$SGICC" = "xyes"; then
47183 echo "$as_me:$LINENO: result: SGI cc" >&5
47184 echo "${ECHO_T}SGI cc" >&6
47185 elif test "x$HPCC" = "xyes"; then
47188 echo "$as_me:$LINENO: result: HP cc" >&5
47189 echo "${ECHO_T}HP cc" >&6
47190 elif test "x$COMPAQCC" = "xyes"; then
47193 echo "$as_me:$LINENO: result: Compaq cc" >&5
47194 echo "${ECHO_T}Compaq cc" >&6
47197 echo "$as_me:$LINENO: result: none" >&5
47198 echo "${ECHO_T}none" >&6
47201 if test $DEPS_TRACKING = 1 ; then
47207 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47208 # script. It is used to track C/C++ files dependencies in portable way.
47210 # Permission is given to use this file in any way.
47212 DEPSMODE=${DEPSMODE}
47214 DEPSFLAG="${DEPSFLAG}"
47216 mkdir -p ${D}DEPSDIR
47218 if test ${D}DEPSMODE = gcc ; then
47219 ${D}* ${D}{DEPSFLAG}
47221 if test ${D}{status} != 0 ; then
47224 # move created file to the location we want it in:
47225 while test ${D}# -gt 0; do
47239 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47240 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47241 if test -f ${D}depfile ; then
47242 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47245 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47246 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47247 if test ! -f ${D}depfile ; then
47248 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47249 depfile="${D}objfile.d"
47251 if test -f ${D}depfile ; then
47252 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47257 elif test ${D}DEPSMODE = mwcc ; then
47258 ${D}* || exit ${D}?
47259 # Run mwcc again with -MM and redirect into the dep file we want
47260 # NOTE: We can't use shift here because we need ${D}* to be valid
47262 for arg in ${D}* ; do
47263 if test "${D}prevarg" = "-o"; then
47276 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47278 elif test ${D}DEPSMODE = unixcc; then
47279 ${D}* || exit ${D}?
47280 # Run compiler again with deps flag and redirect into the dep file.
47281 # It doesn't work if the '-o FILE' option is used, but without it the
47282 # dependency file will contain the wrong name for the object. So it is
47283 # removed from the command line, and the dep file is fixed with sed.
47285 while test ${D}# -gt 0; do
47292 eval arg${D}#=\\${D}1
47293 cmd="${D}cmd \\${D}arg${D}#"
47298 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47313 case ${BAKEFILE_HOST} in
47314 *-*-cygwin* | *-*-mingw32* )
47315 if test -n "$ac_tool_prefix"; then
47316 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47317 set dummy ${ac_tool_prefix}windres; ac_word=$2
47318 echo "$as_me:$LINENO: checking for $ac_word" >&5
47319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47320 if test "${ac_cv_prog_WINDRES+set}" = set; then
47321 echo $ECHO_N "(cached) $ECHO_C" >&6
47323 if test -n "$WINDRES"; then
47324 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47327 for as_dir in $PATH
47330 test -z "$as_dir" && as_dir=.
47331 for ac_exec_ext in '' $ac_executable_extensions; do
47332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47333 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47342 WINDRES=$ac_cv_prog_WINDRES
47343 if test -n "$WINDRES"; then
47344 echo "$as_me:$LINENO: result: $WINDRES" >&5
47345 echo "${ECHO_T}$WINDRES" >&6
47347 echo "$as_me:$LINENO: result: no" >&5
47348 echo "${ECHO_T}no" >&6
47352 if test -z "$ac_cv_prog_WINDRES"; then
47353 ac_ct_WINDRES=$WINDRES
47354 # Extract the first word of "windres", so it can be a program name with args.
47355 set dummy windres; ac_word=$2
47356 echo "$as_me:$LINENO: checking for $ac_word" >&5
47357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47358 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47359 echo $ECHO_N "(cached) $ECHO_C" >&6
47361 if test -n "$ac_ct_WINDRES"; then
47362 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47365 for as_dir in $PATH
47368 test -z "$as_dir" && as_dir=.
47369 for ac_exec_ext in '' $ac_executable_extensions; do
47370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47371 ac_cv_prog_ac_ct_WINDRES="windres"
47372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47380 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47381 if test -n "$ac_ct_WINDRES"; then
47382 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47383 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47385 echo "$as_me:$LINENO: result: no" >&5
47386 echo "${ECHO_T}no" >&6
47389 WINDRES=$ac_ct_WINDRES
47391 WINDRES="$ac_cv_prog_WINDRES"
47396 *-*-darwin* | powerpc-apple-macos* )
47397 # Extract the first word of "Rez", so it can be a program name with args.
47398 set dummy Rez; ac_word=$2
47399 echo "$as_me:$LINENO: checking for $ac_word" >&5
47400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47401 if test "${ac_cv_prog_REZ+set}" = set; then
47402 echo $ECHO_N "(cached) $ECHO_C" >&6
47404 if test -n "$REZ"; then
47405 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47408 for as_dir in $PATH
47411 test -z "$as_dir" && as_dir=.
47412 for ac_exec_ext in '' $ac_executable_extensions; do
47413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47414 ac_cv_prog_REZ="Rez"
47415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47421 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47424 REZ=$ac_cv_prog_REZ
47425 if test -n "$REZ"; then
47426 echo "$as_me:$LINENO: result: $REZ" >&5
47427 echo "${ECHO_T}$REZ" >&6
47429 echo "$as_me:$LINENO: result: no" >&5
47430 echo "${ECHO_T}no" >&6
47433 # Extract the first word of "SetFile", so it can be a program name with args.
47434 set dummy SetFile; ac_word=$2
47435 echo "$as_me:$LINENO: checking for $ac_word" >&5
47436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47437 if test "${ac_cv_prog_SETFILE+set}" = set; then
47438 echo $ECHO_N "(cached) $ECHO_C" >&6
47440 if test -n "$SETFILE"; then
47441 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47444 for as_dir in $PATH
47447 test -z "$as_dir" && as_dir=.
47448 for ac_exec_ext in '' $ac_executable_extensions; do
47449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47450 ac_cv_prog_SETFILE="SetFile"
47451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47457 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47460 SETFILE=$ac_cv_prog_SETFILE
47461 if test -n "$SETFILE"; then
47462 echo "$as_me:$LINENO: result: $SETFILE" >&5
47463 echo "${ECHO_T}$SETFILE" >&6
47465 echo "$as_me:$LINENO: result: no" >&5
47466 echo "${ECHO_T}no" >&6
47477 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
47480 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
47484 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47485 if test "${enable_precomp_headers+set}" = set; then
47486 enableval="$enable_precomp_headers"
47487 bk_use_pch="$enableval"
47494 case ${BAKEFILE_HOST} in
47500 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47501 if test "x$GCC" = "xyes"; then
47502 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47503 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47504 cat >conftest.$ac_ext <<_ACEOF
47507 cat confdefs.h >>conftest.$ac_ext
47508 cat >>conftest.$ac_ext <<_ACEOF
47509 /* end confdefs.h. */
47515 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47516 There is no PCH support
47519 There is no PCH support
47521 #if (__GNUC__ == 3) && \
47522 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47523 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47524 ( defined(__INTEL_COMPILER) )
47525 There is no PCH support
47532 rm -f conftest.$ac_objext
47533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47534 (eval $ac_compile) 2>conftest.er1
47536 grep -v '^ *+' conftest.er1 >conftest.err
47538 cat conftest.err >&5
47539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47540 (exit $ac_status); } &&
47541 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47543 (eval $ac_try) 2>&5
47545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47546 (exit $ac_status); }; } &&
47547 { ac_try='test -s conftest.$ac_objext'
47548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47549 (eval $ac_try) 2>&5
47551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47552 (exit $ac_status); }; }; then
47554 echo "$as_me:$LINENO: result: yes" >&5
47555 echo "${ECHO_T}yes" >&6
47559 echo "$as_me: failed program was:" >&5
47560 sed 's/^/| /' conftest.$ac_ext >&5
47563 cat >conftest.$ac_ext <<_ACEOF
47566 cat confdefs.h >>conftest.$ac_ext
47567 cat >>conftest.$ac_ext <<_ACEOF
47568 /* end confdefs.h. */
47574 #if !defined(__INTEL_COMPILER) || \
47575 (__INTEL_COMPILER < 800)
47576 There is no PCH support
47583 rm -f conftest.$ac_objext
47584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47585 (eval $ac_compile) 2>conftest.er1
47587 grep -v '^ *+' conftest.er1 >conftest.err
47589 cat conftest.err >&5
47590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47591 (exit $ac_status); } &&
47592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47594 (eval $ac_try) 2>&5
47596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47597 (exit $ac_status); }; } &&
47598 { ac_try='test -s conftest.$ac_objext'
47599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47600 (eval $ac_try) 2>&5
47602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47603 (exit $ac_status); }; }; then
47605 echo "$as_me:$LINENO: result: yes" >&5
47606 echo "${ECHO_T}yes" >&6
47610 echo "$as_me: failed program was:" >&5
47611 sed 's/^/| /' conftest.$ac_ext >&5
47614 echo "$as_me:$LINENO: result: no" >&5
47615 echo "${ECHO_T}no" >&6
47618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47622 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47626 cat <<EOF >bk-make-pch
47629 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47630 # script. It is used to generated precompiled headers.
47632 # Permission is given to use this file in any way.
47642 while test ${D}{#} -gt 0; do
47646 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47647 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47648 headerfile="${D}{incdir}/${D}{header}"
47651 -use-pch|-use_pch )
47656 if test ${D}add_to_cmdline = 1 ; then
47657 compiler="${D}{compiler} ${D}{1}"
47662 if test "x${D}{headerfile}" = "x" ; then
47663 echo "error: can't find header ${D}{header} in include paths" >&2
47665 if test -f ${D}{outfile} ; then
47666 rm -f ${D}{outfile}
47668 mkdir -p \`dirname ${D}{outfile}\`
47670 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47672 if test "x${GCC_PCH}" = "x1" ; then
47673 # can do this because gcc is >= 3.4:
47674 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47675 elif test "x${ICC_PCH}" = "x1" ; then
47676 filename=pch_gen-${D}${D}
47677 file=${D}{filename}.c
47678 dfile=${D}{filename}.d
47679 cat > ${D}file <<EOT
47680 #include "${D}header"
47682 # using -MF icc complains about differing command lines in creation/use
47683 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47684 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47685 rm -f ${D}file ${D}dfile ${D}{filename}.o
47691 chmod +x bk-make-pch
47699 COND_BUILD_DEBUG="#"
47700 if test "x$BUILD" = "xdebug" ; then
47701 COND_BUILD_DEBUG=""
47704 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47705 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47706 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47709 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47710 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47711 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47714 COND_BUILD_DEBUG_UNICODE_0="#"
47715 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47716 COND_BUILD_DEBUG_UNICODE_0=""
47719 COND_BUILD_DEBUG_UNICODE_1="#"
47720 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47721 COND_BUILD_DEBUG_UNICODE_1=""
47724 COND_BUILD_RELEASE="#"
47725 if test "x$BUILD" = "xrelease" ; then
47726 COND_BUILD_RELEASE=""
47729 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47730 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47731 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47734 COND_BUILD_RELEASE_UNICODE_0="#"
47735 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47736 COND_BUILD_RELEASE_UNICODE_0=""
47739 COND_BUILD_RELEASE_UNICODE_1="#"
47740 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47741 COND_BUILD_RELEASE_UNICODE_1=""
47744 COND_DEBUG_FLAG_1="#"
47745 if test "x$DEBUG_FLAG" = "x1" ; then
47746 COND_DEBUG_FLAG_1=""
47749 COND_DEBUG_INFO_0="#"
47750 if test "x$DEBUG_INFO" = "x0" ; then
47751 COND_DEBUG_INFO_0=""
47754 COND_DEBUG_INFO_1="#"
47755 if test "x$DEBUG_INFO" = "x1" ; then
47756 COND_DEBUG_INFO_1=""
47759 COND_DEPS_TRACKING_0="#"
47760 if test "x$DEPS_TRACKING" = "x0" ; then
47761 COND_DEPS_TRACKING_0=""
47764 COND_DEPS_TRACKING_1="#"
47765 if test "x$DEPS_TRACKING" = "x1" ; then
47766 COND_DEPS_TRACKING_1=""
47770 if test "x$GCC_PCH" = "x1" ; then
47775 if test "x$ICC_PCH" = "x1" ; then
47779 COND_MONOLITHIC_0="#"
47780 if test "x$MONOLITHIC" = "x0" ; then
47781 COND_MONOLITHIC_0=""
47784 COND_MONOLITHIC_0_SHARED_0="#"
47785 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47786 COND_MONOLITHIC_0_SHARED_0=""
47789 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
47790 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
47791 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
47794 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
47795 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47796 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
47799 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
47800 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47801 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
47804 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
47805 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47806 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
47809 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
47810 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47811 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
47814 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
47815 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47816 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
47819 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
47820 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47821 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
47824 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
47825 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
47826 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
47829 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
47830 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47831 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
47834 COND_MONOLITHIC_0_SHARED_1="#"
47835 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47836 COND_MONOLITHIC_0_SHARED_1=""
47839 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
47840 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
47841 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
47844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
47845 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47846 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
47849 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
47850 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47851 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
47854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
47855 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
47859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
47860 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
47864 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
47865 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47866 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
47869 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
47870 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47871 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
47874 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
47875 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
47876 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
47879 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
47880 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47881 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
47884 COND_MONOLITHIC_0_USE_MEDIA_1="#"
47885 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
47886 COND_MONOLITHIC_0_USE_MEDIA_1=""
47889 COND_MONOLITHIC_0_USE_ODBC_1="#"
47890 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
47891 COND_MONOLITHIC_0_USE_ODBC_1=""
47894 COND_MONOLITHIC_1="#"
47895 if test "x$MONOLITHIC" = "x1" ; then
47896 COND_MONOLITHIC_1=""
47899 COND_MONOLITHIC_1_SHARED_0="#"
47900 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
47901 COND_MONOLITHIC_1_SHARED_0=""
47904 COND_MONOLITHIC_1_SHARED_1="#"
47905 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
47906 COND_MONOLITHIC_1_SHARED_1=""
47909 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
47910 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
47911 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
47914 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
47915 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
47916 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
47919 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
47920 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47921 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
47924 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
47925 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47926 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
47929 COND_PLATFORM_MACOSX_1="#"
47930 if test "x$PLATFORM_MACOSX" = "x1" ; then
47931 COND_PLATFORM_MACOSX_1=""
47934 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
47935 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
47936 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
47939 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
47940 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
47941 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
47944 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
47945 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
47946 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
47949 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
47950 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
47951 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
47954 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
47955 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47956 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
47959 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
47960 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47961 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
47964 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
47965 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
47966 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
47969 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
47970 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
47971 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
47974 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
47975 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
47976 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
47979 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
47980 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47981 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
47984 COND_PLATFORM_MACOS_1="#"
47985 if test "x$PLATFORM_MACOS" = "x1" ; then
47986 COND_PLATFORM_MACOS_1=""
47989 COND_PLATFORM_MAC_1="#"
47990 if test "x$PLATFORM_MAC" = "x1" ; then
47991 COND_PLATFORM_MAC_1=""
47994 COND_PLATFORM_MSDOS_0="#"
47995 if test "x$PLATFORM_MSDOS" = "x0" ; then
47996 COND_PLATFORM_MSDOS_0=""
47999 COND_PLATFORM_MSDOS_1="#"
48000 if test "x$PLATFORM_MSDOS" = "x1" ; then
48001 COND_PLATFORM_MSDOS_1=""
48004 COND_PLATFORM_OS2_1="#"
48005 if test "x$PLATFORM_OS2" = "x1" ; then
48006 COND_PLATFORM_OS2_1=""
48009 COND_PLATFORM_UNIX_0="#"
48010 if test "x$PLATFORM_UNIX" = "x0" ; then
48011 COND_PLATFORM_UNIX_0=""
48014 COND_PLATFORM_UNIX_1="#"
48015 if test "x$PLATFORM_UNIX" = "x1" ; then
48016 COND_PLATFORM_UNIX_1=""
48019 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48020 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48021 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48024 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48025 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48026 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48029 COND_PLATFORM_WIN32_0="#"
48030 if test "x$PLATFORM_WIN32" = "x0" ; then
48031 COND_PLATFORM_WIN32_0=""
48034 COND_PLATFORM_WIN32_1="#"
48035 if test "x$PLATFORM_WIN32" = "x1" ; then
48036 COND_PLATFORM_WIN32_1=""
48040 if test "x$SHARED" = "x0" ; then
48044 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48045 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48046 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48049 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48050 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48051 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48054 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48055 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48056 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48059 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48060 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48061 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48064 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48065 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48066 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48069 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48070 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48071 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48074 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48075 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48076 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48079 COND_SHARED_0_USE_XRC_1="#"
48080 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48081 COND_SHARED_0_USE_XRC_1=""
48084 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48085 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48086 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48089 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48090 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48091 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48094 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48095 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48096 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48099 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48100 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48101 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48105 if test "x$SHARED" = "x1" ; then
48109 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48110 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48111 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48114 COND_SHARED_1_USE_XRC_1="#"
48115 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48116 COND_SHARED_1_USE_XRC_1=""
48120 if test "x$TOOLKIT" = "x" ; then
48124 COND_TOOLKIT_COCOA="#"
48125 if test "x$TOOLKIT" = "xCOCOA" ; then
48126 COND_TOOLKIT_COCOA=""
48129 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48130 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48131 COND_TOOLKIT_COCOA_USE_GUI_1=""
48134 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48135 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48136 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48139 COND_TOOLKIT_GTK="#"
48140 if test "x$TOOLKIT" = "xGTK" ; then
48141 COND_TOOLKIT_GTK=""
48144 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48145 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48146 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48149 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48150 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48151 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48154 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48155 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48156 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48159 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48160 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48161 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48164 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48165 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48166 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48169 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48170 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48171 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48174 COND_TOOLKIT_GTK_USE_GUI_1="#"
48175 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48176 COND_TOOLKIT_GTK_USE_GUI_1=""
48179 COND_TOOLKIT_MAC="#"
48180 if test "x$TOOLKIT" = "xMAC" ; then
48181 COND_TOOLKIT_MAC=""
48184 COND_TOOLKIT_MAC_USE_GUI_1="#"
48185 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48186 COND_TOOLKIT_MAC_USE_GUI_1=""
48189 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48190 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48191 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48194 COND_TOOLKIT_MGL="#"
48195 if test "x$TOOLKIT" = "xMGL" ; then
48196 COND_TOOLKIT_MGL=""
48199 COND_TOOLKIT_MGL_USE_GUI_1="#"
48200 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48201 COND_TOOLKIT_MGL_USE_GUI_1=""
48204 COND_TOOLKIT_MOTIF="#"
48205 if test "x$TOOLKIT" = "xMOTIF" ; then
48206 COND_TOOLKIT_MOTIF=""
48209 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48210 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48211 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48214 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48215 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48216 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48219 COND_TOOLKIT_MSW="#"
48220 if test "x$TOOLKIT" = "xMSW" ; then
48221 COND_TOOLKIT_MSW=""
48224 COND_TOOLKIT_MSW_USE_GUI_1="#"
48225 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48226 COND_TOOLKIT_MSW_USE_GUI_1=""
48229 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48230 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48231 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48234 COND_TOOLKIT_MSW_WXUNIV_0="#"
48235 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48236 COND_TOOLKIT_MSW_WXUNIV_0=""
48239 COND_TOOLKIT_PM="#"
48240 if test "x$TOOLKIT" = "xPM" ; then
48244 COND_TOOLKIT_PM_USE_GUI_1="#"
48245 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48246 COND_TOOLKIT_PM_USE_GUI_1=""
48249 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48250 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48251 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48254 COND_TOOLKIT_WINCE="#"
48255 if test "x$TOOLKIT" = "xWINCE" ; then
48256 COND_TOOLKIT_WINCE=""
48259 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48260 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48261 COND_TOOLKIT_WINCE_USE_GUI_1=""
48264 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48265 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48266 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48269 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48270 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48271 COND_TOOLKIT_WINCE_WXUNIV_0=""
48274 COND_TOOLKIT_X11="#"
48275 if test "x$TOOLKIT" = "xX11" ; then
48276 COND_TOOLKIT_X11=""
48279 COND_TOOLKIT_X11_USE_GUI_1="#"
48280 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48281 COND_TOOLKIT_X11_USE_GUI_1=""
48285 if test "x$UNICODE" = "x1" ; then
48289 COND_USE_EXCEPTIONS_0="#"
48290 if test "x$USE_EXCEPTIONS" = "x0" ; then
48291 COND_USE_EXCEPTIONS_0=""
48294 COND_USE_EXCEPTIONS_1="#"
48295 if test "x$USE_EXCEPTIONS" = "x1" ; then
48296 COND_USE_EXCEPTIONS_1=""
48300 if test "x$USE_GUI" = "x0" ; then
48305 if test "x$USE_GUI" = "x1" ; then
48309 COND_USE_GUI_1_WXUNIV_0="#"
48310 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48311 COND_USE_GUI_1_WXUNIV_0=""
48314 COND_USE_GUI_1_WXUNIV_1="#"
48315 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48316 COND_USE_GUI_1_WXUNIV_1=""
48319 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48320 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48321 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48324 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48325 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48326 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48329 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48330 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48331 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48334 COND_USE_ODBC_1="#"
48335 if test "x$USE_ODBC" = "x1" ; then
48339 COND_USE_OPENGL_1="#"
48340 if test "x$USE_OPENGL" = "x1" ; then
48341 COND_USE_OPENGL_1=""
48345 if test "x$USE_PCH" = "x1" ; then
48349 COND_USE_PLUGINS_0="#"
48350 if test "x$USE_PLUGINS" = "x0" ; then
48351 COND_USE_PLUGINS_0=""
48354 COND_USE_RTTI_0="#"
48355 if test "x$USE_RTTI" = "x0" ; then
48359 COND_USE_RTTI_1="#"
48360 if test "x$USE_RTTI" = "x1" ; then
48364 COND_USE_SOSYMLINKS_1="#"
48365 if test "x$USE_SOSYMLINKS" = "x1" ; then
48366 COND_USE_SOSYMLINKS_1=""
48369 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48370 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48371 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48374 COND_USE_SOVERLINUX_1="#"
48375 if test "x$USE_SOVERLINUX" = "x1" ; then
48376 COND_USE_SOVERLINUX_1=""
48379 COND_USE_SOVERSION_0="#"
48380 if test "x$USE_SOVERSION" = "x0" ; then
48381 COND_USE_SOVERSION_0=""
48384 COND_USE_SOVERSOLARIS_1="#"
48385 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48386 COND_USE_SOVERSOLARIS_1=""
48389 COND_USE_THREADS_0="#"
48390 if test "x$USE_THREADS" = "x0" ; then
48391 COND_USE_THREADS_0=""
48394 COND_USE_THREADS_1="#"
48395 if test "x$USE_THREADS" = "x1" ; then
48396 COND_USE_THREADS_1=""
48400 if test "x$USE_XRC" = "x1" ; then
48404 COND_WINDOWS_IMPLIB_1="#"
48405 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48406 COND_WINDOWS_IMPLIB_1=""
48409 COND_WITH_PLUGIN_SDL_1="#"
48410 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48411 COND_WITH_PLUGIN_SDL_1=""
48415 if test "x$WXUNIV" = "x0" ; then
48420 if test "x$WXUNIV" = "x1" ; then
48424 COND_WXUSE_EXPAT_BUILTIN="#"
48425 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48426 COND_WXUSE_EXPAT_BUILTIN=""
48429 COND_WXUSE_LIBJPEG_BUILTIN="#"
48430 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48431 COND_WXUSE_LIBJPEG_BUILTIN=""
48434 COND_WXUSE_LIBPNG_BUILTIN="#"
48435 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48436 COND_WXUSE_LIBPNG_BUILTIN=""
48439 COND_WXUSE_LIBTIFF_BUILTIN="#"
48440 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48441 COND_WXUSE_LIBTIFF_BUILTIN=""
48444 COND_WXUSE_ODBC_BUILTIN="#"
48445 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48446 COND_WXUSE_ODBC_BUILTIN=""
48449 COND_WXUSE_REGEX_BUILTIN="#"
48450 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48451 COND_WXUSE_REGEX_BUILTIN=""
48454 COND_WXUSE_ZLIB_BUILTIN="#"
48455 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48456 COND_WXUSE_ZLIB_BUILTIN=""
48461 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48462 { { 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
48463 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;}
48464 { (exit 1); exit 1; }; }
48467 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48468 { { 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
48469 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;}
48470 { (exit 1); exit 1; }; }
48475 if test "$wxUSE_MAC" = 1 ; then
48476 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
48477 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48483 if test "$wxUSE_SHARED" = "yes"; then
48485 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48486 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48489 *-pc-os2_emx | *-pc-os2-emx )
48490 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48491 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48492 cp -p ${srcdir}/src/os2/dllnames.sh .
48493 cp -p ${srcdir}/src/os2/dllar.sh .
48498 EXE_LINKER="$CXX -o"
48501 if test "$wxUSE_OMF" = "yes"; then
48503 *-pc-os2_emx | *-pc-os2-emx )
48504 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
48505 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48506 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48511 if test $GCC_PCH = 1 ; then
48512 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48515 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48517 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48579 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48580 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48581 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
48582 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48583 echo $ECHO_N "(cached) $ECHO_C" >&6
48585 cat >conftest.make <<\_ACEOF
48587 @echo 'ac_maketemp="$(MAKE)"'
48589 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48590 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48591 if test -n "$ac_maketemp"; then
48592 eval ac_cv_prog_make_${ac_make}_set=yes
48594 eval ac_cv_prog_make_${ac_make}_set=no
48596 rm -f conftest.make
48598 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48599 echo "$as_me:$LINENO: result: yes" >&5
48600 echo "${ECHO_T}yes" >&6
48603 echo "$as_me:$LINENO: result: no" >&5
48604 echo "${ECHO_T}no" >&6
48605 SET_MAKE="MAKE=${MAKE-make}"
48610 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48613 if test "$USE_WIN32" = 1; then
48614 ac_config_commands="$ac_config_commands
48620 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48623 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48626 ac_config_files="$ac_config_files version-script Makefile"
48629 ac_config_commands="$ac_config_commands wx-config"
48633 if test "$wxWITH_SUBDIRS" != "no"; then
48634 if test "$wxUSE_GUI" = "yes"; then
48635 SUBDIRS="samples demos utils contrib"
48636 else SUBDIRS="samples utils"
48641 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48642 if test "${with_cppunit_prefix+set}" = set; then
48643 withval="$with_cppunit_prefix"
48644 cppunit_config_prefix="$withval"
48646 cppunit_config_prefix=""
48649 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48650 if test "${with_cppunit_exec_prefix+set}" = set; then
48651 withval="$with_cppunit_exec_prefix"
48652 cppunit_config_exec_prefix="$withval"
48654 cppunit_config_exec_prefix=""
48657 if test x$cppunit_config_exec_prefix != x ; then
48658 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48659 if test x${CPPUNIT_CONFIG+set} != xset ; then
48660 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
48663 if test x$cppunit_config_prefix != x ; then
48664 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
48665 if test x${CPPUNIT_CONFIG+set} != xset ; then
48666 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
48670 # Extract the first word of "cppunit-config", so it can be a program name with args.
48671 set dummy cppunit-config; ac_word=$2
48672 echo "$as_me:$LINENO: checking for $ac_word" >&5
48673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48674 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48675 echo $ECHO_N "(cached) $ECHO_C" >&6
48677 case $CPPUNIT_CONFIG in
48679 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48683 for as_dir in $PATH
48686 test -z "$as_dir" && as_dir=.
48687 for ac_exec_ext in '' $ac_executable_extensions; do
48688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48689 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48696 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
48700 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
48702 if test -n "$CPPUNIT_CONFIG"; then
48703 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48704 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48706 echo "$as_me:$LINENO: result: no" >&5
48707 echo "${ECHO_T}no" >&6
48710 cppunit_version_min=1.8.0
48712 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48713 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48715 if test "$CPPUNIT_CONFIG" = "no" ; then
48718 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
48719 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
48720 cppunit_version=`$CPPUNIT_CONFIG --version`
48722 cppunit_major_version=`echo $cppunit_version | \
48723 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48724 cppunit_minor_version=`echo $cppunit_version | \
48725 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48726 cppunit_micro_version=`echo $cppunit_version | \
48727 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48729 cppunit_major_min=`echo $cppunit_version_min | \
48730 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48731 cppunit_minor_min=`echo $cppunit_version_min | \
48732 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48733 cppunit_micro_min=`echo $cppunit_version_min | \
48734 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48736 cppunit_version_proper=`expr \
48737 $cppunit_major_version \> $cppunit_major_min \| \
48738 $cppunit_major_version \= $cppunit_major_min \& \
48739 $cppunit_minor_version \> $cppunit_minor_min \| \
48740 $cppunit_major_version \= $cppunit_major_min \& \
48741 $cppunit_minor_version \= $cppunit_minor_min \& \
48742 $cppunit_micro_version \>= $cppunit_micro_min `
48744 if test "$cppunit_version_proper" = "1" ; then
48745 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48746 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48748 echo "$as_me:$LINENO: result: no" >&5
48749 echo "${ECHO_T}no" >&6
48754 if test "x$no_cppunit" = x ; then
48755 SUBDIRS="$SUBDIRS tests"
48766 for subdir in `echo $SUBDIRS`; do
48767 if test -d ${srcdir}/${subdir} ; then
48768 if test "$wxUSE_GUI" = "yes"; then
48769 if test ${subdir} = "samples"; then
48770 makefiles="samples/Makefile.in $makefiles"
48771 for sample in `echo $SAMPLES_SUBDIRS`; do
48772 if test -d $srcdir/samples/$sample; then
48773 makefiles="samples/$sample/Makefile.in $makefiles"
48777 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
48778 eval "disabled=\$$disabled_var"
48779 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
48780 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
48782 else if test ${subdir} = "samples"; then
48783 makefiles="samples/Makefile.in samples/console/Makefile.in"
48784 elif test ${subdir} = "utils"; then
48786 for util in HelpGen tex2rtf ; do
48787 if test -d $srcdir/utils/$util ; then
48788 makefiles="utils/$util/Makefile.in \
48789 utils/$util/src/Makefile.in \
48793 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
48797 for mkin in $makefiles ; do
48798 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48799 ac_config_files="$ac_config_files $mk"
48805 cat >confcache <<\_ACEOF
48806 # This file is a shell script that caches the results of configure
48807 # tests run on this system so they can be shared between configure
48808 # scripts and configure runs, see configure's option --config-cache.
48809 # It is not useful on other systems. If it contains results you don't
48810 # want to keep, you may remove or edit it.
48812 # config.status only pays attention to the cache file if you give it
48813 # the --recheck option to rerun configure.
48815 # `ac_cv_env_foo' variables (set or unset) will be overridden when
48816 # loading this file, other *unset* `ac_cv_foo' will be assigned the
48817 # following values.
48821 # The following way of writing the cache mishandles newlines in values,
48822 # but we know of no workaround that is simple, portable, and efficient.
48823 # So, don't put newlines in cache variables' values.
48824 # Ultrix sh set writes to stderr and can't be redirected directly,
48825 # and sets the high bit in the cache file unless we assign to the vars.
48828 case `(ac_space=' '; set | grep ac_space) 2>&1` in
48830 # `set' does not quote correctly, so add quotes (double-quote
48831 # substitution turns \\\\ into \\, and sed turns \\ into \).
48834 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48837 # `set' quotes correctly as required by POSIX, so do not add quotes.
48839 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
48846 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48848 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48850 if diff $cache_file confcache >/dev/null 2>&1; then :; else
48851 if test -w $cache_file; then
48852 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
48853 cat confcache >$cache_file
48855 echo "not updating unwritable cache $cache_file"
48860 test "x$prefix" = xNONE && prefix=$ac_default_prefix
48861 # Let make expand exec_prefix.
48862 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
48864 # VPATH may cause trouble with some makes, so we remove $(srcdir),
48865 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
48866 # trailing colons and then remove the whole line if VPATH becomes empty
48867 # (actually we leave an empty line to preserve line numbers).
48868 if test "x$srcdir" = x.; then
48869 ac_vpsub='/^[ ]*VPATH[ ]*=/{
48870 s/:*\$(srcdir):*/:/;
48871 s/:*\${srcdir}:*/:/;
48873 s/^\([^=]*=[ ]*\):*/\1/;
48879 DEFS=-DHAVE_CONFIG_H
48883 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
48884 # 1. Remove the extension, and $U if already installed.
48885 ac_i=`echo "$ac_i" |
48886 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
48888 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
48889 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
48891 LIBOBJS=$ac_libobjs
48893 LTLIBOBJS=$ac_ltlibobjs
48897 : ${CONFIG_STATUS=./config.status}
48898 ac_clean_files_save=$ac_clean_files
48899 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
48900 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
48901 echo "$as_me: creating $CONFIG_STATUS" >&6;}
48902 cat >$CONFIG_STATUS <<_ACEOF
48904 # Generated by $as_me.
48905 # Run this file to recreate the current configuration.
48906 # Compiler output produced by configure, useful for debugging
48907 # configure, is in config.log if it exists.
48910 ac_cs_recheck=false
48912 SHELL=\${CONFIG_SHELL-$SHELL}
48915 cat >>$CONFIG_STATUS <<\_ACEOF
48916 ## --------------------- ##
48917 ## M4sh Initialization. ##
48918 ## --------------------- ##
48920 # Be Bourne compatible
48921 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
48924 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
48925 # is contrary to our usage. Disable this feature.
48926 alias -g '${1+"$@"}'='"$@"'
48927 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
48930 DUALCASE=1; export DUALCASE # for MKS sh
48932 # Support unset when possible.
48933 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
48940 # Work around bugs in pre-3.0 UWIN ksh.
48941 $as_unset ENV MAIL MAILPATH
48948 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
48949 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
48950 LC_TELEPHONE LC_TIME
48952 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48953 eval $as_var=C; export $as_var
48959 # Required to use basename.
48960 if expr a : '\(a\)' >/dev/null 2>&1; then
48966 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
48967 as_basename=basename
48973 # Name of the executable.
48974 as_me=`$as_basename "$0" ||
48975 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
48976 X"$0" : 'X\(//\)$' \| \
48977 X"$0" : 'X\(/\)$' \| \
48978 . : '\(.\)' 2>/dev/null ||
48980 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
48981 /^X\/\(\/\/\)$/{ s//\1/; q; }
48982 /^X\/\(\/\).*/{ s//\1/; q; }
48986 # PATH needs CR, and LINENO needs CR and PATH.
48987 # Avoid depending upon Character Ranges.
48988 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
48989 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
48990 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
48991 as_cr_digits='0123456789'
48992 as_cr_alnum=$as_cr_Letters$as_cr_digits
48994 # The user is always right.
48995 if test "${PATH_SEPARATOR+set}" != set; then
48996 echo "#! /bin/sh" >conf$$.sh
48997 echo "exit 0" >>conf$$.sh
48999 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49008 as_lineno_1=$LINENO
49009 as_lineno_2=$LINENO
49010 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49011 test "x$as_lineno_1" != "x$as_lineno_2" &&
49012 test "x$as_lineno_3" = "x$as_lineno_2" || {
49013 # Find who we are. Look in the path if we contain no path at all
49016 *[\\/]* ) as_myself=$0 ;;
49017 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49018 for as_dir in $PATH
49021 test -z "$as_dir" && as_dir=.
49022 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49027 # We did not find ourselves, most probably we were run as `sh COMMAND'
49028 # in which case we are not to be found in the path.
49029 if test "x$as_myself" = x; then
49032 if test ! -f "$as_myself"; then
49033 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
49034 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
49035 { (exit 1); exit 1; }; }
49037 case $CONFIG_SHELL in
49039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49040 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
49043 test -z "$as_dir" && as_dir=.
49044 for as_base in sh bash ksh sh5; do
49047 if ("$as_dir/$as_base" -c '
49048 as_lineno_1=$LINENO
49049 as_lineno_2=$LINENO
49050 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49051 test "x$as_lineno_1" != "x$as_lineno_2" &&
49052 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
49053 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
49054 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
49055 CONFIG_SHELL=$as_dir/$as_base
49056 export CONFIG_SHELL
49057 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
49065 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49066 # uniformly replaced by the line number. The first 'sed' inserts a
49067 # line-number line before each line; the second 'sed' does the real
49068 # work. The second script uses 'N' to pair each line-number line
49069 # with the numbered line, and appends trailing '-' during
49070 # substitution so that $LINENO is not a special case at line end.
49071 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49072 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
49073 sed '=' <$as_myself |
49078 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
49081 s,^['$as_cr_digits']*\n,,
49082 ' >$as_me.lineno &&
49083 chmod +x $as_me.lineno ||
49084 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
49085 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
49086 { (exit 1); exit 1; }; }
49088 # Don't try to exec as it changes $[0], causing all sort of problems
49089 # (the dirname of $[0] is not the place where we might find the
49090 # original and so on. Autoconf is especially sensible to this).
49092 # Exit status is that of the last command.
49097 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
49098 *c*,-n*) ECHO_N= ECHO_C='
49100 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
49101 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
49104 if expr a : '\(a\)' >/dev/null 2>&1; then
49110 rm -f conf$$ conf$$.exe conf$$.file
49112 if ln -s conf$$.file conf$$ 2>/dev/null; then
49113 # We could just check for DJGPP; but this test a) works b) is more generic
49114 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
49115 if test -f conf$$.exe; then
49116 # Don't use ln at all; we don't have any links
49121 elif ln conf$$.file conf$$ 2>/dev/null; then
49126 rm -f conf$$ conf$$.exe conf$$.file
49128 if mkdir -p . 2>/dev/null; then
49131 test -d ./-p && rmdir ./-p
49135 as_executable_p="test -f"
49137 # Sed expression to map a string onto a valid CPP name.
49138 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49140 # Sed expression to map a string onto a valid variable name.
49141 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49145 # We need space, tab and new line, in precisely that order.
49155 # Open the log real soon, to keep \$[0] and so on meaningful, and to
49156 # report actual input values of CONFIG_FILES etc. instead of their
49157 # values after options handling. Logging --version etc. is OK.
49161 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49162 ## Running $as_me. ##
49167 This file was extended by wxWidgets $as_me 2.7.0, which was
49168 generated by GNU Autoconf 2.59. Invocation command line was
49170 CONFIG_FILES = $CONFIG_FILES
49171 CONFIG_HEADERS = $CONFIG_HEADERS
49172 CONFIG_LINKS = $CONFIG_LINKS
49173 CONFIG_COMMANDS = $CONFIG_COMMANDS
49177 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
49181 # Files that config.status was made for.
49182 if test -n "$ac_config_files"; then
49183 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
49186 if test -n "$ac_config_headers"; then
49187 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
49190 if test -n "$ac_config_links"; then
49191 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
49194 if test -n "$ac_config_commands"; then
49195 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
49198 cat >>$CONFIG_STATUS <<\_ACEOF
49201 \`$as_me' instantiates files from templates according to the
49202 current configuration.
49204 Usage: $0 [OPTIONS] [FILE]...
49206 -h, --help print this help, then exit
49207 -V, --version print version number, then exit
49208 -q, --quiet do not print progress messages
49209 -d, --debug don't remove temporary files
49210 --recheck update $as_me by reconfiguring in the same conditions
49211 --file=FILE[:TEMPLATE]
49212 instantiate the configuration file FILE
49213 --header=FILE[:TEMPLATE]
49214 instantiate the configuration header FILE
49216 Configuration files:
49219 Configuration headers:
49222 Configuration commands:
49225 Report bugs to <bug-autoconf@gnu.org>."
49228 cat >>$CONFIG_STATUS <<_ACEOF
49230 wxWidgets config.status 2.7.0
49231 configured by $0, generated by GNU Autoconf 2.59,
49232 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
49234 Copyright (C) 2003 Free Software Foundation, Inc.
49235 This config.status script is free software; the Free Software Foundation
49236 gives unlimited permission to copy, distribute and modify it."
49241 cat >>$CONFIG_STATUS <<\_ACEOF
49242 # If no file are specified by the user, then we need to provide default
49243 # value. By we need to know if files were specified by the user.
49249 ac_option=`expr "x$1" : 'x\([^=]*\)='`
49250 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
49258 *) # This is not an option, so the user has probably given explicit
49261 ac_need_defaults=false;;
49265 # Handling of the options.
49267 cat >>$CONFIG_STATUS <<\_ACEOF
49268 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49270 --version | --vers* | -V )
49271 echo "$ac_cs_version"; exit 0 ;;
49273 # Conflict between --help and --header
49274 { { echo "$as_me:$LINENO: error: ambiguous option: $1
49275 Try \`$0 --help' for more information." >&5
49276 echo "$as_me: error: ambiguous option: $1
49277 Try \`$0 --help' for more information." >&2;}
49278 { (exit 1); exit 1; }; };;
49279 --help | --hel | -h )
49280 echo "$ac_cs_usage"; exit 0 ;;
49281 --debug | --d* | -d )
49283 --file | --fil | --fi | --f )
49285 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49286 ac_need_defaults=false;;
49287 --header | --heade | --head | --hea )
49289 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49290 ac_need_defaults=false;;
49291 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49292 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49295 # This is an error.
49296 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
49297 Try \`$0 --help' for more information." >&5
49298 echo "$as_me: error: unrecognized option: $1
49299 Try \`$0 --help' for more information." >&2;}
49300 { (exit 1); exit 1; }; } ;;
49302 *) ac_config_targets="$ac_config_targets $1" ;;
49308 ac_configure_extra_args=
49310 if $ac_cs_silent; then
49312 ac_configure_extra_args="$ac_configure_extra_args --silent"
49316 cat >>$CONFIG_STATUS <<_ACEOF
49317 if \$ac_cs_recheck; then
49318 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49319 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49324 cat >>$CONFIG_STATUS <<_ACEOF
49326 # INIT-COMMANDS section.
49331 infile="$srcdir/include/wx/msw/genrcdefs.h"
49332 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49335 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49336 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49337 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49345 cat >>$CONFIG_STATUS <<\_ACEOF
49346 for ac_config_target in $ac_config_targets
49348 case "$ac_config_target" in
49349 # Handling of arguments.
49350 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49351 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49352 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
49353 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
49354 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
49355 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
49356 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
49357 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49358 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49359 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49360 { (exit 1); exit 1; }; };;
49364 # If the user did not use the arguments to specify the items to instantiate,
49365 # then the envvar interface is used. Set only those that are not.
49366 # We use the long form for the default assignment because of an extremely
49367 # bizarre bug on SunOS 4.1.3.
49368 if $ac_need_defaults; then
49369 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49370 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49371 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49374 # Have a temporary directory for convenience. Make it in the build tree
49375 # simply because there is no reason to put it here, and in addition,
49376 # creating and moving files from /tmp can sometimes cause problems.
49377 # Create a temporary directory, and hook for its removal unless debugging.
49380 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
49381 trap '{ (exit 1); exit 1; }' 1 2 13 15
49384 # Create a (secure) tmp directory for tmp files.
49387 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
49388 test -n "$tmp" && test -d "$tmp"
49391 tmp=./confstat$$-$RANDOM
49392 (umask 077 && mkdir $tmp)
49395 echo "$me: cannot create a temporary directory in ." >&2
49396 { (exit 1); exit 1; }
49401 cat >>$CONFIG_STATUS <<_ACEOF
49404 # CONFIG_FILES section.
49407 # No need to generate the scripts if there are no CONFIG_FILES.
49408 # This happens for instance when ./config.status config.h
49409 if test -n "\$CONFIG_FILES"; then
49410 # Protect against being on the right side of a sed subst in config.status.
49411 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
49412 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
49413 s,@SHELL@,$SHELL,;t t
49414 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
49415 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
49416 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
49417 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
49418 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
49419 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
49420 s,@exec_prefix@,$exec_prefix,;t t
49421 s,@prefix@,$prefix,;t t
49422 s,@program_transform_name@,$program_transform_name,;t t
49423 s,@bindir@,$bindir,;t t
49424 s,@sbindir@,$sbindir,;t t
49425 s,@libexecdir@,$libexecdir,;t t
49426 s,@datadir@,$datadir,;t t
49427 s,@sysconfdir@,$sysconfdir,;t t
49428 s,@sharedstatedir@,$sharedstatedir,;t t
49429 s,@localstatedir@,$localstatedir,;t t
49430 s,@libdir@,$libdir,;t t
49431 s,@includedir@,$includedir,;t t
49432 s,@oldincludedir@,$oldincludedir,;t t
49433 s,@infodir@,$infodir,;t t
49434 s,@mandir@,$mandir,;t t
49435 s,@build_alias@,$build_alias,;t t
49436 s,@host_alias@,$host_alias,;t t
49437 s,@target_alias@,$target_alias,;t t
49438 s,@DEFS@,$DEFS,;t t
49439 s,@ECHO_C@,$ECHO_C,;t t
49440 s,@ECHO_N@,$ECHO_N,;t t
49441 s,@ECHO_T@,$ECHO_T,;t t
49442 s,@LIBS@,$LIBS,;t t
49443 s,@build@,$build,;t t
49444 s,@build_cpu@,$build_cpu,;t t
49445 s,@build_vendor@,$build_vendor,;t t
49446 s,@build_os@,$build_os,;t t
49447 s,@host@,$host,;t t
49448 s,@host_cpu@,$host_cpu,;t t
49449 s,@host_vendor@,$host_vendor,;t t
49450 s,@host_os@,$host_os,;t t
49451 s,@target@,$target,;t t
49452 s,@target_cpu@,$target_cpu,;t t
49453 s,@target_vendor@,$target_vendor,;t t
49454 s,@target_os@,$target_os,;t t
49456 s,@CFLAGS@,$CFLAGS,;t t
49457 s,@LDFLAGS@,$LDFLAGS,;t t
49458 s,@CPPFLAGS@,$CPPFLAGS,;t t
49459 s,@ac_ct_CC@,$ac_ct_CC,;t t
49460 s,@EXEEXT@,$EXEEXT,;t t
49461 s,@OBJEXT@,$OBJEXT,;t t
49463 s,@EGREP@,$EGREP,;t t
49465 s,@CXXFLAGS@,$CXXFLAGS,;t t
49466 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49467 s,@RANLIB@,$RANLIB,;t t
49468 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49470 s,@ac_ct_AR@,$ac_ct_AR,;t t
49471 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49472 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49473 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49474 s,@STRIP@,$STRIP,;t t
49475 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49476 s,@WINDRES@,$WINDRES,;t t
49477 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49478 s,@DLLTOOL@,$DLLTOOL,;t t
49479 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49480 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49481 s,@LN_S@,$LN_S,;t t
49482 s,@CXXCPP@,$CXXCPP,;t t
49483 s,@subdirs@,$subdirs,;t t
49484 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49485 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49486 s,@GTK_LIBS@,$GTK_LIBS,;t t
49487 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49488 s,@X_CFLAGS@,$X_CFLAGS,;t t
49489 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49490 s,@X_LIBS@,$X_LIBS,;t t
49491 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49492 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49493 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49494 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49495 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49496 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49497 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49499 s,@DEREZ@,$DEREZ,;t t
49500 s,@SETFILE@,$SETFILE,;t t
49501 s,@LIBICONV@,$LIBICONV,;t t
49502 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
49503 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49504 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49505 s,@SDL_LIBS@,$SDL_LIBS,;t t
49506 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49507 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49508 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
49509 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
49510 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49511 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49512 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
49513 s,@GST_LIBS@,$GST_LIBS,;t t
49514 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49515 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49516 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49517 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49518 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49519 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49520 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49521 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49522 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49523 s,@VENDOR@,$VENDOR,;t t
49524 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49525 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49526 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49527 s,@WXUNIV@,$WXUNIV,;t t
49528 s,@MONOLITHIC@,$MONOLITHIC,;t t
49529 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49530 s,@EXTRALIBS@,$EXTRALIBS,;t t
49531 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49532 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49533 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49534 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49535 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49536 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49537 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49538 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49539 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
49540 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49541 s,@UNICODE@,$UNICODE,;t t
49542 s,@BUILD@,$BUILD,;t t
49543 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49544 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49545 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49546 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49547 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49548 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49549 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49550 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49551 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49552 s,@SET_MAKE@,$SET_MAKE,;t t
49553 s,@MAKE_SET@,$MAKE_SET,;t t
49555 s,@ac_ct_NM@,$ac_ct_NM,;t t
49556 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49557 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49558 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49559 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49560 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49561 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49562 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49563 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49564 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49565 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49566 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49567 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49568 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49569 s,@LIBPREFIX@,$LIBPREFIX,;t t
49570 s,@LIBEXT@,$LIBEXT,;t t
49571 s,@DLLPREFIX@,$DLLPREFIX,;t t
49572 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49573 s,@dlldir@,$dlldir,;t t
49574 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49575 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49576 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49577 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49578 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49579 s,@PIC_FLAG@,$PIC_FLAG,;t t
49580 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49581 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49582 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49583 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49584 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49585 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49586 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49587 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49588 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49589 s,@GCC_PCH@,$GCC_PCH,;t t
49590 s,@ICC_PCH@,$ICC_PCH,;t t
49591 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49592 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49593 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49594 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49595 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49596 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49597 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49598 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49599 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49600 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49601 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49602 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49603 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49604 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49605 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49606 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
49607 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49608 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49609 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
49610 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49611 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
49612 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1,;t t
49613 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
49614 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
49615 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49616 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
49617 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49618 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49619 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
49620 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49621 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
49622 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1,;t t
49623 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
49624 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
49625 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49626 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
49627 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49628 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
49629 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49630 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49631 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49632 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49633 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49634 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49635 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49636 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49637 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49638 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49639 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49640 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49641 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49642 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49643 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
49644 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49645 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49646 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49647 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49648 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49649 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49650 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
49651 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49652 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49653 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49654 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49655 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49656 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49657 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49658 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49659 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49660 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49661 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49662 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49663 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49664 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49665 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49666 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49667 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49668 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49669 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49670 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49671 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49672 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49673 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49674 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49675 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49676 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49677 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49678 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49679 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49680 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49681 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49682 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49683 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0,;t t
49684 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49685 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49686 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49687 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49688 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49689 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49690 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49691 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49692 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49693 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49694 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49695 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49696 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49697 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49698 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49699 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49700 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49701 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49702 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49703 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49704 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49705 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49706 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49707 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49708 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49709 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49710 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49711 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49712 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49713 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49714 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49715 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49716 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49717 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49718 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49719 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49720 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
49721 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49722 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49723 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49724 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49725 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49726 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49727 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49728 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49729 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49730 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49731 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49732 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49733 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49734 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49735 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49736 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49737 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49738 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49739 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49740 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49741 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49742 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49743 s,@SHARED@,$SHARED,;t t
49744 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49745 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49746 s,@USE_GUI@,$USE_GUI,;t t
49747 s,@AFMINSTALL@,$AFMINSTALL,;t t
49748 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
49749 s,@TOOLKIT@,$TOOLKIT,;t t
49750 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
49751 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
49752 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
49753 s,@cross_compiling@,$cross_compiling,;t t
49754 s,@WIDGET_SET@,$WIDGET_SET,;t t
49755 s,@WX_RELEASE@,$WX_RELEASE,;t t
49756 s,@WX_VERSION@,$WX_VERSION,;t t
49757 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
49758 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
49759 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
49760 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
49761 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
49762 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
49763 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
49764 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
49765 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
49766 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
49767 s,@EXE_LINKER@,$EXE_LINKER,;t t
49768 s,@GUIDIST@,$GUIDIST,;t t
49769 s,@DISTDIR@,$DISTDIR,;t t
49770 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
49771 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
49772 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
49773 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
49774 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
49775 s,@RESCOMP@,$RESCOMP,;t t
49776 s,@RESFLAGS@,$RESFLAGS,;t t
49777 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
49778 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
49779 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
49780 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
49781 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
49782 s,@MACSETFILE@,$MACSETFILE,;t t
49784 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
49785 s,@LIBOBJS@,$LIBOBJS,;t t
49786 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
49791 cat >>$CONFIG_STATUS <<\_ACEOF
49792 # Split the substitutions into bite-sized pieces for seds with
49793 # small command number limits, like on Digital OSF/1 and HP-UX.
49794 ac_max_sed_lines=48
49795 ac_sed_frag=1 # Number of current file.
49796 ac_beg=1 # First line for current file.
49797 ac_end=$ac_max_sed_lines # Line after last line for current file.
49800 while $ac_more_lines; do
49801 if test $ac_beg -gt 1; then
49802 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
49804 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
49806 if test ! -s $tmp/subs.frag; then
49807 ac_more_lines=false
49809 # The purpose of the label and of the branching condition is to
49810 # speed up the sed processing (if there are no `@' at all, there
49811 # is no need to browse any of the substitutions).
49812 # These are the two extra sed commands mentioned above.
49814 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
49815 if test -z "$ac_sed_cmds"; then
49816 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
49818 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
49820 ac_sed_frag=`expr $ac_sed_frag + 1`
49822 ac_end=`expr $ac_end + $ac_max_sed_lines`
49825 if test -z "$ac_sed_cmds"; then
49828 fi # test -n "$CONFIG_FILES"
49831 cat >>$CONFIG_STATUS <<\_ACEOF
49832 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
49833 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49835 - | *:- | *:-:* ) # input from stdin
49837 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
49838 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
49839 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
49840 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
49841 * ) ac_file_in=$ac_file.in ;;
49844 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
49845 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
49846 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49847 X"$ac_file" : 'X\(//\)[^/]' \| \
49848 X"$ac_file" : 'X\(//\)$' \| \
49849 X"$ac_file" : 'X\(/\)' \| \
49850 . : '\(.\)' 2>/dev/null ||
49852 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49853 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49854 /^X\(\/\/\)$/{ s//\1/; q; }
49855 /^X\(\/\).*/{ s//\1/; q; }
49857 { if $as_mkdir_p; then
49862 while test ! -d "$as_dir"; do
49863 as_dirs="$as_dir $as_dirs"
49864 as_dir=`(dirname "$as_dir") 2>/dev/null ||
49865 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49866 X"$as_dir" : 'X\(//\)[^/]' \| \
49867 X"$as_dir" : 'X\(//\)$' \| \
49868 X"$as_dir" : 'X\(/\)' \| \
49869 . : '\(.\)' 2>/dev/null ||
49871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49872 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49873 /^X\(\/\/\)$/{ s//\1/; q; }
49874 /^X\(\/\).*/{ s//\1/; q; }
49877 test ! -n "$as_dirs" || mkdir $as_dirs
49878 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49879 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49880 { (exit 1); exit 1; }; }; }
49884 if test "$ac_dir" != .; then
49885 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49886 # A "../" for each directory in $ac_dir_suffix.
49887 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49889 ac_dir_suffix= ac_top_builddir=
49893 .) # No --srcdir option. We are building in place.
49895 if test -z "$ac_top_builddir"; then
49898 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
49900 [\\/]* | ?:[\\/]* ) # Absolute path.
49901 ac_srcdir=$srcdir$ac_dir_suffix;
49902 ac_top_srcdir=$srcdir ;;
49903 *) # Relative path.
49904 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
49905 ac_top_srcdir=$ac_top_builddir$srcdir ;;
49908 # Do not use `cd foo && pwd` to compute absolute paths, because
49909 # the directories may not exist.
49911 .) ac_abs_builddir="$ac_dir";;
49914 .) ac_abs_builddir=`pwd`;;
49915 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
49916 *) ac_abs_builddir=`pwd`/"$ac_dir";;
49919 case $ac_abs_builddir in
49920 .) ac_abs_top_builddir=${ac_top_builddir}.;;
49922 case ${ac_top_builddir}. in
49923 .) ac_abs_top_builddir=$ac_abs_builddir;;
49924 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
49925 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
49928 case $ac_abs_builddir in
49929 .) ac_abs_srcdir=$ac_srcdir;;
49932 .) ac_abs_srcdir=$ac_abs_builddir;;
49933 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
49934 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
49937 case $ac_abs_builddir in
49938 .) ac_abs_top_srcdir=$ac_top_srcdir;;
49940 case $ac_top_srcdir in
49941 .) ac_abs_top_srcdir=$ac_abs_builddir;;
49942 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
49943 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
49949 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
49950 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
49953 # Let's still pretend it is `configure' which instantiates (i.e., don't
49954 # use $as_me), people would be surprised to read:
49955 # /* config.h. Generated by config.status. */
49956 if test x"$ac_file" = x-; then
49959 configure_input="$ac_file. "
49961 configure_input=$configure_input"Generated from `echo $ac_file_in |
49962 sed 's,.*/,,'` by configure."
49964 # First look for the input files in the build tree, otherwise in the
49966 ac_file_inputs=`IFS=:
49967 for f in $ac_file_in; do
49969 -) echo $tmp/stdin ;;
49971 # Absolute (can't be DOS-style, as IFS=:)
49972 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49973 echo "$as_me: error: cannot find input file: $f" >&2;}
49974 { (exit 1); exit 1; }; }
49977 if test -f "$f"; then
49980 elif test -f "$srcdir/$f"; then
49985 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49986 echo "$as_me: error: cannot find input file: $f" >&2;}
49987 { (exit 1); exit 1; }; }
49990 done` || { (exit 1); exit 1; }
49992 if test x"$ac_file" != x-; then
49993 { echo "$as_me:$LINENO: creating $ac_file" >&5
49994 echo "$as_me: creating $ac_file" >&6;}
49998 cat >>$CONFIG_STATUS <<_ACEOF
50002 cat >>$CONFIG_STATUS <<\_ACEOF
50004 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50005 s,@configure_input@,$configure_input,;t t
50006 s,@srcdir@,$ac_srcdir,;t t
50007 s,@abs_srcdir@,$ac_abs_srcdir,;t t
50008 s,@top_srcdir@,$ac_top_srcdir,;t t
50009 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
50010 s,@builddir@,$ac_builddir,;t t
50011 s,@abs_builddir@,$ac_abs_builddir,;t t
50012 s,@top_builddir@,$ac_top_builddir,;t t
50013 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
50014 s,@INSTALL@,$ac_INSTALL,;t t
50015 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
50017 if test x"$ac_file" != x-; then
50018 mv $tmp/out $ac_file
50024 # Run the commands associated with the file.
50026 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50027 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50031 cat >>$CONFIG_STATUS <<\_ACEOF
50034 # CONFIG_HEADER section.
50037 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
50038 # NAME is the cpp macro being defined and VALUE is the value it is being given.
50040 # ac_d sets the value in "#define NAME VALUE" lines.
50041 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
50042 ac_dB='[ ].*$,\1#\2'
50045 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
50046 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
50047 ac_uB='$,\1#\2define\3'
50051 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
50052 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50054 - | *:- | *:-:* ) # input from stdin
50056 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50057 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50058 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50059 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50060 * ) ac_file_in=$ac_file.in ;;
50063 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
50064 echo "$as_me: creating $ac_file" >&6;}
50066 # First look for the input files in the build tree, otherwise in the
50068 ac_file_inputs=`IFS=:
50069 for f in $ac_file_in; do
50071 -) echo $tmp/stdin ;;
50073 # Absolute (can't be DOS-style, as IFS=:)
50074 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50075 echo "$as_me: error: cannot find input file: $f" >&2;}
50076 { (exit 1); exit 1; }; }
50077 # Do quote $f, to prevent DOS paths from being IFS'd.
50080 if test -f "$f"; then
50083 elif test -f "$srcdir/$f"; then
50088 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50089 echo "$as_me: error: cannot find input file: $f" >&2;}
50090 { (exit 1); exit 1; }; }
50093 done` || { (exit 1); exit 1; }
50094 # Remove the trailing spaces.
50095 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
50099 # Transform confdefs.h into two sed scripts, `conftest.defines' and
50100 # `conftest.undefs', that substitutes the proper values into
50101 # config.h.in to produce config.h. The first handles `#define'
50102 # templates, and the second `#undef' templates.
50103 # And first: Protect against being on the right side of a sed subst in
50104 # config.status. Protect against being in an unquoted here document
50105 # in config.status.
50106 rm -f conftest.defines conftest.undefs
50107 # Using a here document instead of a string reduces the quoting nightmare.
50108 # Putting comments in sed scripts is not portable.
50110 # `end' is used to avoid that the second main sed command (meant for
50111 # 0-ary CPP macros) applies to n-ary macro definitions.
50112 # See the Autoconf documentation for `clear'.
50113 cat >confdef2sed.sed <<\_ACEOF
50118 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
50120 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
50123 # If some macros were called several times there might be several times
50124 # the same #defines, which is useless. Nevertheless, we may not want to
50125 # sort them, since we want the *last* AC-DEFINE to be honored.
50126 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
50127 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
50128 rm -f confdef2sed.sed
50130 # This sed command replaces #undef with comments. This is necessary, for
50131 # example, in the case of _POSIX_SOURCE, which is predefined and required
50132 # on some systems where configure will not decide to define it.
50133 cat >>conftest.undefs <<\_ACEOF
50134 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
50137 # Break up conftest.defines because some shells have a limit on the size
50138 # of here documents, and old seds have small limits too (100 cmds).
50139 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
50140 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
50141 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
50142 echo ' :' >>$CONFIG_STATUS
50143 rm -f conftest.tail
50144 while grep . conftest.defines >/dev/null
50146 # Write a limited-size here document to $tmp/defines.sed.
50147 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
50148 # Speed up: don't consider the non `#define' lines.
50149 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
50150 # Work around the forget-to-reset-the-flag bug.
50151 echo 't clr' >>$CONFIG_STATUS
50152 echo ': clr' >>$CONFIG_STATUS
50153 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
50155 sed -f $tmp/defines.sed $tmp/in >$tmp/out
50157 mv $tmp/out $tmp/in
50159 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
50160 rm -f conftest.defines
50161 mv conftest.tail conftest.defines
50163 rm -f conftest.defines
50164 echo ' fi # grep' >>$CONFIG_STATUS
50165 echo >>$CONFIG_STATUS
50167 # Break up conftest.undefs because some shells have a limit on the size
50168 # of here documents, and old seds have small limits too (100 cmds).
50169 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
50170 rm -f conftest.tail
50171 while grep . conftest.undefs >/dev/null
50173 # Write a limited-size here document to $tmp/undefs.sed.
50174 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
50175 # Speed up: don't consider the non `#undef'
50176 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
50177 # Work around the forget-to-reset-the-flag bug.
50178 echo 't clr' >>$CONFIG_STATUS
50179 echo ': clr' >>$CONFIG_STATUS
50180 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
50182 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
50184 mv $tmp/out $tmp/in
50186 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
50187 rm -f conftest.undefs
50188 mv conftest.tail conftest.undefs
50190 rm -f conftest.undefs
50192 cat >>$CONFIG_STATUS <<\_ACEOF
50193 # Let's still pretend it is `configure' which instantiates (i.e., don't
50194 # use $as_me), people would be surprised to read:
50195 # /* config.h. Generated by config.status. */
50196 if test x"$ac_file" = x-; then
50197 echo "/* Generated by configure. */" >$tmp/config.h
50199 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
50201 cat $tmp/in >>$tmp/config.h
50203 if test x"$ac_file" != x-; then
50204 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
50205 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50206 echo "$as_me: $ac_file is unchanged" >&6;}
50208 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
50209 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50210 X"$ac_file" : 'X\(//\)[^/]' \| \
50211 X"$ac_file" : 'X\(//\)$' \| \
50212 X"$ac_file" : 'X\(/\)' \| \
50213 . : '\(.\)' 2>/dev/null ||
50215 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50216 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50217 /^X\(\/\/\)$/{ s//\1/; q; }
50218 /^X\(\/\).*/{ s//\1/; q; }
50220 { if $as_mkdir_p; then
50225 while test ! -d "$as_dir"; do
50226 as_dirs="$as_dir $as_dirs"
50227 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50228 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50229 X"$as_dir" : 'X\(//\)[^/]' \| \
50230 X"$as_dir" : 'X\(//\)$' \| \
50231 X"$as_dir" : 'X\(/\)' \| \
50232 . : '\(.\)' 2>/dev/null ||
50234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50235 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50236 /^X\(\/\/\)$/{ s//\1/; q; }
50237 /^X\(\/\).*/{ s//\1/; q; }
50240 test ! -n "$as_dirs" || mkdir $as_dirs
50241 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50242 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50243 { (exit 1); exit 1; }; }; }
50246 mv $tmp/config.h $ac_file
50250 rm -f $tmp/config.h
50254 cat >>$CONFIG_STATUS <<\_ACEOF
50257 # CONFIG_COMMANDS section.
50259 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
50260 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
50261 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
50262 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
50263 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50264 X"$ac_dest" : 'X\(//\)[^/]' \| \
50265 X"$ac_dest" : 'X\(//\)$' \| \
50266 X"$ac_dest" : 'X\(/\)' \| \
50267 . : '\(.\)' 2>/dev/null ||
50269 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50270 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50271 /^X\(\/\/\)$/{ s//\1/; q; }
50272 /^X\(\/\).*/{ s//\1/; q; }
50274 { if $as_mkdir_p; then
50279 while test ! -d "$as_dir"; do
50280 as_dirs="$as_dir $as_dirs"
50281 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50282 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50283 X"$as_dir" : 'X\(//\)[^/]' \| \
50284 X"$as_dir" : 'X\(//\)$' \| \
50285 X"$as_dir" : 'X\(/\)' \| \
50286 . : '\(.\)' 2>/dev/null ||
50288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50289 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50290 /^X\(\/\/\)$/{ s//\1/; q; }
50291 /^X\(\/\).*/{ s//\1/; q; }
50294 test ! -n "$as_dirs" || mkdir $as_dirs
50295 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50296 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50297 { (exit 1); exit 1; }; }; }
50301 if test "$ac_dir" != .; then
50302 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50303 # A "../" for each directory in $ac_dir_suffix.
50304 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50306 ac_dir_suffix= ac_top_builddir=
50310 .) # No --srcdir option. We are building in place.
50312 if test -z "$ac_top_builddir"; then
50315 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50317 [\\/]* | ?:[\\/]* ) # Absolute path.
50318 ac_srcdir=$srcdir$ac_dir_suffix;
50319 ac_top_srcdir=$srcdir ;;
50320 *) # Relative path.
50321 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50322 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50325 # Do not use `cd foo && pwd` to compute absolute paths, because
50326 # the directories may not exist.
50328 .) ac_abs_builddir="$ac_dir";;
50331 .) ac_abs_builddir=`pwd`;;
50332 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50333 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50336 case $ac_abs_builddir in
50337 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50339 case ${ac_top_builddir}. in
50340 .) ac_abs_top_builddir=$ac_abs_builddir;;
50341 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50342 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50345 case $ac_abs_builddir in
50346 .) ac_abs_srcdir=$ac_srcdir;;
50349 .) ac_abs_srcdir=$ac_abs_builddir;;
50350 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50351 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50354 case $ac_abs_builddir in
50355 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50357 case $ac_top_srcdir in
50358 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50359 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50360 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50365 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
50366 echo "$as_me: executing $ac_dest commands" >&6;}
50369 mkdir -p $outdir &&
50370 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50372 wx-config ) rm -f wx-config
50373 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
50379 cat >>$CONFIG_STATUS <<\_ACEOF
50381 { (exit 0); exit 0; }
50383 chmod +x $CONFIG_STATUS
50384 ac_clean_files=$ac_clean_files_save
50387 # configure is writing to config.log, and then calls config.status.
50388 # config.status does its own redirection, appending to config.log.
50389 # Unfortunately, on DOS this fails, as config.log is still kept open
50390 # by configure, so config.status won't be able to write to it; its
50391 # output is simply discarded. So we exec the FD to /dev/null,
50392 # effectively closing config.log, so it can be properly (re)opened and
50393 # appended to by config.status. When coming back to configure, we
50394 # need to make the FD available again.
50395 if test "$no_create" != yes; then
50397 ac_config_status_args=
50398 test "$silent" = yes &&
50399 ac_config_status_args="$ac_config_status_args --quiet"
50401 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50403 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50404 # would make configure fail if this is the last instruction.
50405 $ac_cs_success || { (exit 1); exit 1; }
50409 # CONFIG_SUBDIRS section.
50411 if test "$no_recursion" != yes; then
50413 # Remove --cache-file and --srcdir arguments so they do not pile up.
50414 ac_sub_configure_args=
50416 for ac_arg in $ac_configure_args; do
50417 if test -n "$ac_prev"; then
50422 -cache-file | --cache-file | --cache-fil | --cache-fi \
50423 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50424 ac_prev=cache_file ;;
50425 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50426 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50429 --config-cache | -C)
50431 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50433 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50435 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50437 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50439 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
50443 # Always prepend --prefix to ensure using the same prefix
50444 # in subdir configurations.
50445 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
50448 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
50450 # Do not complain, so a configure script can configure whichever
50451 # parts of a large source tree are present.
50452 test -d $srcdir/$ac_dir || continue
50454 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50455 echo "$as_me: configuring in $ac_dir" >&6;}
50456 { if $as_mkdir_p; then
50461 while test ! -d "$as_dir"; do
50462 as_dirs="$as_dir $as_dirs"
50463 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50464 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50465 X"$as_dir" : 'X\(//\)[^/]' \| \
50466 X"$as_dir" : 'X\(//\)$' \| \
50467 X"$as_dir" : 'X\(/\)' \| \
50468 . : '\(.\)' 2>/dev/null ||
50470 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50471 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50472 /^X\(\/\/\)$/{ s//\1/; q; }
50473 /^X\(\/\).*/{ s//\1/; q; }
50476 test ! -n "$as_dirs" || mkdir $as_dirs
50477 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50478 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50479 { (exit 1); exit 1; }; }; }
50483 if test "$ac_dir" != .; then
50484 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50485 # A "../" for each directory in $ac_dir_suffix.
50486 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50488 ac_dir_suffix= ac_top_builddir=
50492 .) # No --srcdir option. We are building in place.
50494 if test -z "$ac_top_builddir"; then
50497 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50499 [\\/]* | ?:[\\/]* ) # Absolute path.
50500 ac_srcdir=$srcdir$ac_dir_suffix;
50501 ac_top_srcdir=$srcdir ;;
50502 *) # Relative path.
50503 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50504 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50507 # Do not use `cd foo && pwd` to compute absolute paths, because
50508 # the directories may not exist.
50510 .) ac_abs_builddir="$ac_dir";;
50513 .) ac_abs_builddir=`pwd`;;
50514 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50515 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50518 case $ac_abs_builddir in
50519 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50521 case ${ac_top_builddir}. in
50522 .) ac_abs_top_builddir=$ac_abs_builddir;;
50523 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50524 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50527 case $ac_abs_builddir in
50528 .) ac_abs_srcdir=$ac_srcdir;;
50531 .) ac_abs_srcdir=$ac_abs_builddir;;
50532 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50533 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50536 case $ac_abs_builddir in
50537 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50539 case $ac_top_srcdir in
50540 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50541 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50542 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50549 # Check for guested configure; otherwise get Cygnus style configure.
50550 if test -f $ac_srcdir/configure.gnu; then
50551 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
50552 elif test -f $ac_srcdir/configure; then
50553 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
50554 elif test -f $ac_srcdir/configure.in; then
50555 ac_sub_configure=$ac_configure
50557 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50558 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50562 # The recursion is here.
50563 if test -n "$ac_sub_configure"; then
50564 # Make the cache file name correct relative to the subdirectory.
50565 case $cache_file in
50566 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
50567 *) # Relative path.
50568 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
50571 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50572 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50573 # The eval makes quoting arguments work.
50574 eval $ac_sub_configure $ac_sub_configure_args \
50575 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50576 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50577 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50578 { (exit 1); exit 1; }; }
50587 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50589 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
50590 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50592 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50593 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50594 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50596 echo " What level of wxWidgets compatibility should be enabled?"
50597 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
50598 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
50600 echo " Which libraries should wxWidgets use?"
50601 echo " jpeg ${wxUSE_LIBJPEG-none}"
50602 echo " png ${wxUSE_LIBPNG-none}"
50603 echo " regex ${wxUSE_REGEX}"
50604 echo " tiff ${wxUSE_LIBTIFF-none}"
50605 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50606 echo " xpm ${wxUSE_LIBXPM-none}"
50608 echo " zlib ${wxUSE_ZLIB}"
50609 echo " odbc ${wxUSE_ODBC}"
50610 echo " expat ${wxUSE_EXPAT}"
50611 echo " libmspack ${wxUSE_LIBMSPACK}"
50612 echo " sdl ${wxUSE_LIBSDL}"
50613 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
50614 echo " gnomevfs ${wxUSE_LIBGNOMEVFS-none}"
50615 echo " hildon ${wxUSE_LIBHILDON-none}"