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.1.
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.1'
274 PACKAGE_STRING='wxWidgets 2.7.1'
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 ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS 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 CAIRO_CFLAGS CAIRO_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_DFB COND_TOOLKIT_DFB_USE_GUI_1 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
789 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
793 ac_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value=$HILDON_LIBS
849 ac_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
850 ac_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
851 ac_cv_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
852 ac_cv_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
853 ac_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
854 ac_env_CAIRO_LIBS_value=$CAIRO_LIBS
855 ac_cv_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
856 ac_cv_env_CAIRO_LIBS_value=$CAIRO_LIBS
857 ac_env_GST_CFLAGS_set=${GST_CFLAGS+set}
858 ac_env_GST_CFLAGS_value=$GST_CFLAGS
859 ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
860 ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
861 ac_env_GST_LIBS_set=${GST_LIBS+set}
862 ac_env_GST_LIBS_value=$GST_LIBS
863 ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
864 ac_cv_env_GST_LIBS_value=$GST_LIBS
867 # Report the --help message.
869 if test "$ac_init_help" = "long"; then
870 # Omit some internal or obsolete options to make the list less imposing.
871 # This message is too long to be a string in the A/UX 3.1 sh.
873 \`configure' configures wxWidgets 2.7.1 to adapt to many kinds of systems.
875 Usage: $0 [OPTION]... [VAR=VALUE]...
877 To assign environment variables (e.g., CC, CFLAGS...), specify them as
878 VAR=VALUE. See below for descriptions of some of the useful variables.
880 Defaults for the options are specified in brackets.
883 -h, --help display this help and exit
884 --help=short display options specific to this package
885 --help=recursive display the short help of all the included packages
886 -V, --version display version information and exit
887 -q, --quiet, --silent do not print \`checking...' messages
888 --cache-file=FILE cache test results in FILE [disabled]
889 -C, --config-cache alias for \`--cache-file=config.cache'
890 -n, --no-create do not create output files
891 --srcdir=DIR find the sources in DIR [configure dir or \`..']
896 Installation directories:
897 --prefix=PREFIX install architecture-independent files in PREFIX
899 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
902 By default, \`make install' will install all the files in
903 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
904 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
905 for instance \`--prefix=\$HOME'.
907 For better control, use the options below.
909 Fine tuning of the installation directories:
910 --bindir=DIR user executables [EPREFIX/bin]
911 --sbindir=DIR system admin executables [EPREFIX/sbin]
912 --libexecdir=DIR program executables [EPREFIX/libexec]
913 --datadir=DIR read-only architecture-independent data [PREFIX/share]
914 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
915 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
916 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
917 --libdir=DIR object code libraries [EPREFIX/lib]
918 --includedir=DIR C header files [PREFIX/include]
919 --oldincludedir=DIR C header files for non-gcc [/usr/include]
920 --infodir=DIR info documentation [PREFIX/info]
921 --mandir=DIR man documentation [PREFIX/man]
927 --x-includes=DIR X include files are in DIR
928 --x-libraries=DIR X library files are in DIR
931 --build=BUILD configure for building on BUILD [guessed]
932 --host=HOST cross-compile to build programs to run on HOST [BUILD]
933 --target=TARGET configure for building compilers for TARGET [HOST]
937 if test -n "$ac_init_help"; then
938 case $ac_init_help in
939 short | recursive ) echo "Configuration of wxWidgets 2.7.1:";;
944 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
945 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
946 --enable-gui use GUI classes
947 --enable-monolithic build wxWidgets as single library
948 --enable-plugins build parts of wxWidgets as loadable components
949 --enable-universal use wxWidgets GUI controls instead of native ones
950 --enable-nanox use NanoX
951 --disable-gtk2 use GTK+ 1.2 instead of 2.0
952 --enable-gpe use GNOME PDA Environment features if possible
953 --enable-shared create shared library code
954 --enable-optimise create optimised code
955 --enable-debug same as debug_flag and debug_info
956 --enable-stl use STL for containers
957 --enable-omf use OMF object format
958 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
959 --enable-debug_info create code with debugging information
960 --enable-debug_gdb create code with extra GDB debugging information
961 --enable-debug_cntxt use wxDebugContext
962 --enable-mem_tracing create code with memory tracing
963 --enable-profile create code with profiling information
964 --enable-no_rtti create code without RTTI information
965 --enable-no_exceptions create code without C++ exceptions handling
966 --enable-permissive compile code disregarding strict ANSI
967 --enable-no_deps create code without dependency information
968 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
969 --enable-compat24 enable wxWidgets 2.4 compatibility
970 --disable-compat26 disable wxWidgets 2.6 compatibility
971 --disable-rpath disable use of rpath for uninstalled builds
972 --enable-intl use internationalization system
973 --enable-config use wxConfig (and derived) classes
974 --enable-protocols use wxProtocol and derived classes
975 --enable-ftp use wxFTP (requires wxProtocol
976 --enable-http use wxHTTP (requires wxProtocol
977 --enable-fileproto use wxFileProto class (requires wxProtocol
978 --enable-sockets use socket/network classes
979 --enable-ole use OLE classes (Win32 only)
980 --enable-dataobj use data object classes
981 --enable-ipc use interprocess communication (wxSocket etc.)
982 --enable-apple_ieee use the Apple IEEE codec
983 --enable-arcstream use wxArchive streams
984 --enable-backtrace use wxStackWalker class for getting backtraces
985 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
986 --enable-cmdline use wxCmdLineParser class
987 --enable-datetime use wxDateTime class
988 --enable-debugreport use wxDebugReport class
989 --enable-dialupman use dialup network classes
990 --enable-dynlib use wxLibrary class for DLL loading
991 --enable-dynamicloader use (new) wxDynamicLibrary class
992 --enable-exceptions build exception-safe library
993 --enable-ffile use wxFFile class
994 --enable-file use wxFile class
995 --enable-filesystem use virtual file systems classes
996 --enable-fontmap use font encodings conversion classes
997 --enable-fs_inet use virtual HTTP/FTP filesystems
998 --enable-fs_zip use virtual ZIP filesystems
999 --enable-geometry use geometry class
1000 --enable-log use logging system
1001 --enable-longlong use wxLongLong class
1002 --enable-mimetype use wxMimeTypesManager
1003 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1004 --enable-snglinst use wxSingleInstanceChecker class
1005 --enable-std_iostreams use standard C++ stream classes
1006 --enable-std_string use standard C++ string classes
1007 --enable-stdpaths use wxStandardPaths class
1008 --enable-stopwatch use wxStopWatch class
1009 --enable-streams use wxStream etc classes
1010 --enable-sysoptions use wxSystemOptions
1011 --enable-textbuf use wxTextBuffer class
1012 --enable-textfile use wxTextFile class
1013 --enable-timer use wxTimer class
1014 --enable-unicode compile wxString with Unicode support
1015 --enable-sound use wxSound class
1016 --enable-mediactrl use wxMediaCtrl class
1017 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1018 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1019 --enable-zipstream use wxZip streams
1020 --enable-url use wxURL class
1021 --enable-variant use wxVariant class
1022 --enable-protocol use wxProtocol class
1023 --enable-protocol-http HTTP support in wxProtocol
1024 --enable-protocol-ftp FTP support in wxProtocol
1025 --enable-protocol-file FILE support in wxProtocol
1026 --enable-threads use threads
1027 --enable-docview use document view architecture
1028 --enable-help use help subsystem
1029 --enable-mshtmlhelp use MS HTML Help (win32)
1030 --enable-html use wxHTML sub-library
1031 --enable-htmlhelp use wxHTML-based help
1032 --enable-xrc use XRC resources sub-library
1033 --enable-aui use AUI docking library
1034 --enable-constraints use layout-constraints system
1035 --enable-printarch use printing architecture
1036 --enable-mdi use multiple document interface architecture
1037 --enable-mdidoc use docview architecture with MDI
1038 --enable-loggui use standard GUI logger
1039 --enable-logwin use wxLogWindow
1040 --enable-logdialog use wxLogDialog
1041 --enable-webkit use wxWebKitCtrl (Mac)
1042 --enable-richtext use wxRichTextCtrl
1043 --enable-graphics_ctx use graphics context 2D drawing API
1044 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1045 --enable-prologio not available; see contrib
1046 --enable-resources not available; see contrib
1047 --enable-clipboard use wxClipboard class
1048 --enable-dnd use Drag'n'Drop classes
1049 --enable-metafile use win32 metafiles
1050 --enable-controls use all usual controls
1051 --enable-accel use accelerators
1052 --enable-animatectrl use wxAnimationCtrl class
1053 --enable-button use wxButton class
1054 --enable-bmpbutton use wxBitmapButton class
1055 --enable-bmpcombobox use wxBitmapComboBox class
1056 --enable-calendar use wxCalendarCtrl class
1057 --enable-caret use wxCaret class
1058 --enable-checkbox use wxCheckBox class
1059 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1060 --enable-choice use wxChoice class
1061 --enable-choicebook use wxChoicebook class
1062 --enable-colourpicker use wxColourPickerCtrl class
1063 --enable-combobox use wxComboBox class
1064 --enable-comboctrl use wxComboCtrl class
1065 --enable-datepick use wxDatePickerCtrl class
1066 --enable-dirpicker use wxDirPickerCtrl class
1067 --enable-display use wxDisplay class
1068 --enable-detect_sm use code to detect X11 session manager
1069 --enable-filepicker use wxFilePickerCtrl class
1070 --enable-fontpicker use wxFontPickerCtrl class
1071 --enable-gauge use wxGauge class
1072 --enable-grid use wxGrid class
1073 --enable-dataviewctrl, use wxDataViewCtrl class
1074 --enable-hyperlink use wxHyperlinkCtrl class
1075 --enable-imaglist use wxImageList class
1076 --enable-listbook use wxListbook class
1077 --enable-listbox use wxListBox class
1078 --enable-listctrl use wxListCtrl class
1079 --enable-notebook use wxNotebook class
1080 --enable-odcombobox use wxOwnerDrawnComboBox class
1081 --enable-radiobox use wxRadioBox class
1082 --enable-radiobtn use wxRadioButton class
1083 --enable-sash use wxSashWindow class
1084 --enable-scrollbar use wxScrollBar class and scrollable windows
1085 --enable-slider use wxSlider class
1086 --enable-spinbtn use wxSpinButton class
1087 --enable-spinctrl use wxSpinCtrl class
1088 --enable-splitter use wxSplitterWindow class
1089 --enable-statbmp use wxStaticBitmap class
1090 --enable-statbox use wxStaticBox class
1091 --enable-statline use wxStaticLine class
1092 --enable-stattext use wxStaticText class
1093 --enable-statusbar use wxStatusBar class
1094 --enable-tabdialog use wxTabControl class
1095 --enable-textctrl use wxTextCtrl class
1096 --enable-togglebtn use wxToggleButton class
1097 --enable-toolbar use wxToolBar class
1098 --enable-tbarnative use native wxToolBar class
1099 --enable-treebook use wxTreebook class
1100 --enable-toolbook use wxToolbook class
1101 --enable-treectrl use wxTreeCtrl class
1102 --enable-tipwindow use wxTipWindow class
1103 --enable-popupwin use wxPopUpWindow class
1104 --enable-commondlg use all common dialogs
1105 --enable-aboutdlg use wxAboutBox
1106 --enable-choicedlg use wxChoiceDialog
1107 --enable-coldlg use wxColourDialog
1108 --enable-filedlg use wxFileDialog
1109 --enable-finddlg use wxFindReplaceDialog
1110 --enable-fontdlg use wxFontDialog
1111 --enable-dirdlg use wxDirDialog
1112 --enable-msgdlg use wxMessageDialog
1113 --enable-numberdlg use wxNumberEntryDialog
1114 --enable-splash use wxSplashScreen
1115 --enable-textdlg use wxTextDialog
1116 --enable-tipdlg use startup tips
1117 --enable-progressdlg use wxProgressDialog
1118 --enable-wizarddlg use wxWizard
1119 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1120 --enable-miniframe use wxMiniFrame class
1121 --enable-tooltips use wxToolTip class
1122 --enable-splines use spline drawing code
1123 --enable-mousewheel use mousewheel
1124 --enable-validators use wxValidator and derived classes
1125 --enable-busyinfo use wxBusyInfo
1126 --enable-joystick use wxJoystick
1127 --enable-metafiles use wxMetaFile (Win32 only)
1128 --enable-dragimage use wxDragImage
1129 --enable-accessibility enable accessibility support
1130 --enable-dccache cache temporary wxDC objects (Win32 only)
1131 --enable-palette use wxPalette class
1132 --enable-image use wxImage class
1133 --enable-gif use gif images (GIF file format)
1134 --enable-pcx use pcx images (PCX file format)
1135 --enable-iff use iff images (IFF file format)
1136 --enable-pnm use pnm images (PNM file format)
1137 --enable-xpm use xpm images (XPM file format)
1138 --enable-icocur use Windows ICO and CUR formats
1139 --enable-official_build official build of wxWidgets (win32 DLL only)
1140 --enable-vendor=VENDOR vendor name (win32 DLL only)
1141 --disable-largefile omit support for large files
1142 --disable-gtktest do not try to compile and run a test GTK+ program
1143 --disable-gtktest Do not try to compile and run a test GTK program
1144 --disable-sdltest Do not try to compile and run a test SDL program
1145 --enable-omf use OMF object format (OS/2)
1146 --disable-dependency-tracking
1147 don't use dependency tracking even if the compiler
1149 --disable-precomp-headers
1150 don't use precompiled headers even if compiler can
1153 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1154 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1155 --without-subdirs don't generate makefiles for samples/demos/...
1156 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1157 --with-motif use Motif/Lesstif
1158 --with-mac use Mac OS X
1159 --with-cocoa use Cocoa
1160 --with-wine use Wine
1161 --with-msw use MS-Windows
1162 --with-pm use OS/2 Presentation Manager
1163 --with-mgl use SciTech MGL
1164 --with-directfb use DirectFB
1165 --with-microwin use MicroWindows
1167 --with-libpng use libpng (PNG image format)
1168 --with-libjpeg use libjpeg (JPEG file format)
1169 --with-libtiff use libtiff (TIFF file format)
1170 --with-libxpm use libxpm (XPM file format)
1171 --with-libmspack use libmspack (CHM help files loading)
1172 --with-sdl use SDL for audio on Unix
1173 --with-gnomeprint use GNOME print for printing under GNOME
1174 --with-gnomevfs use GNOME VFS for associating MIME types
1175 --with-hildon use Hildon framework for Nokia 770
1176 --with-opengl use OpenGL (or Mesa)
1177 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1178 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1179 --with-regex enable support for wxRegEx class
1180 --with-zlib use zlib for LZW compression
1181 --with-odbc use the IODBC and wxODBC classes
1182 --with-expat enable XML support using expat parser
1183 --with-flavour=NAME specify a name to identify this build
1184 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1185 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1186 --with-x use the X Window System
1187 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1188 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1189 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1190 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1191 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1193 Some influential environment variables:
1194 CC C compiler command
1195 CFLAGS C compiler flags
1196 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1197 nonstandard directory <lib dir>
1198 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1199 headers in a nonstandard directory <include dir>
1201 CXX C++ compiler command
1202 CXXFLAGS C++ compiler flags
1203 CXXCPP C++ preprocessor
1204 PKG_CONFIG path to pkg-config utility
1206 C compiler flags for DIRECTFB, overriding pkg-config
1208 linker flags for DIRECTFB, overriding pkg-config
1210 C compiler flags for PANGOX, overriding pkg-config
1211 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1213 C compiler flags for PANGOFT2, overriding pkg-config
1215 linker flags for PANGOFT2, overriding pkg-config
1217 C compiler flags for PANGOXFT, overriding pkg-config
1219 linker flags for PANGOXFT, overriding pkg-config
1220 LIBGNOMEPRINTUI_CFLAGS
1221 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1222 LIBGNOMEPRINTUI_LIBS
1223 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1225 C compiler flags for GNOMEVFS, overriding pkg-config
1227 linker flags for GNOMEVFS, overriding pkg-config
1229 C compiler flags for HILDON, overriding pkg-config
1230 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1232 C compiler flags for CAIRO, overriding pkg-config
1233 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1234 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1235 GST_LIBS linker flags for GST, overriding pkg-config
1237 Use these variables to override the choices made by `configure' or to help
1238 it to find libraries and programs with nonstandard names/locations.
1240 Report bugs to <wx-dev@lists.wxwidgets.org>.
1244 if test "$ac_init_help" = "recursive"; then
1245 # If there are subdirs, report their specific --help.
1247 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1248 test -d $ac_dir || continue
1251 if test "$ac_dir" != .; then
1252 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1253 # A "../" for each directory in $ac_dir_suffix.
1254 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1256 ac_dir_suffix= ac_top_builddir=
1260 .) # No --srcdir option. We are building in place.
1262 if test -z "$ac_top_builddir"; then
1265 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1267 [\\/]* | ?:[\\/]* ) # Absolute path.
1268 ac_srcdir=$srcdir$ac_dir_suffix;
1269 ac_top_srcdir=$srcdir ;;
1271 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1272 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1275 # Do not use `cd foo && pwd` to compute absolute paths, because
1276 # the directories may not exist.
1278 .) ac_abs_builddir="$ac_dir";;
1281 .) ac_abs_builddir=`pwd`;;
1282 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1283 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1286 case $ac_abs_builddir in
1287 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1289 case ${ac_top_builddir}. in
1290 .) ac_abs_top_builddir=$ac_abs_builddir;;
1291 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1292 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1295 case $ac_abs_builddir in
1296 .) ac_abs_srcdir=$ac_srcdir;;
1299 .) ac_abs_srcdir=$ac_abs_builddir;;
1300 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1301 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1304 case $ac_abs_builddir in
1305 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1307 case $ac_top_srcdir in
1308 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1309 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1310 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1315 # Check for guested configure; otherwise get Cygnus style configure.
1316 if test -f $ac_srcdir/configure.gnu; then
1318 $SHELL $ac_srcdir/configure.gnu --help=recursive
1319 elif test -f $ac_srcdir/configure; then
1321 $SHELL $ac_srcdir/configure --help=recursive
1322 elif test -f $ac_srcdir/configure.ac ||
1323 test -f $ac_srcdir/configure.in; then
1325 $ac_configure --help
1327 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1333 test -n "$ac_init_help" && exit 0
1334 if $ac_init_version; then
1336 wxWidgets configure 2.7.1
1337 generated by GNU Autoconf 2.59
1339 Copyright (C) 2003 Free Software Foundation, Inc.
1340 This configure script is free software; the Free Software Foundation
1341 gives unlimited permission to copy, distribute and modify it.
1347 This file contains any messages produced by compilers while
1348 running configure, to aid debugging if configure makes a mistake.
1350 It was created by wxWidgets $as_me 2.7.1, which was
1351 generated by GNU Autoconf 2.59. Invocation command line was
1362 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1363 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1364 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1365 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1366 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1368 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1369 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1371 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1372 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1373 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1374 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1375 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1376 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1377 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1385 test -z "$as_dir" && as_dir=.
1386 echo "PATH: $as_dir"
1401 # Keep a trace of the command line.
1402 # Strip out --no-create and --no-recursion so they do not pile up.
1403 # Strip out --silent because we don't want to record it for future runs.
1404 # Also quote any args containing shell meta-characters.
1405 # Make two passes to allow for proper duplicate-argument suppression.
1410 ac_must_keep_next=false
1416 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1417 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1418 | -silent | --silent | --silen | --sile | --sil)
1420 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1421 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1424 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1426 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1427 if test $ac_must_keep_next = true; then
1428 ac_must_keep_next=false # Got value, back to normal.
1431 *=* | --config-cache | -C | -disable-* | --disable-* \
1432 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1433 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1434 | -with-* | --with-* | -without-* | --without-* | --x)
1435 case "$ac_configure_args0 " in
1436 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1439 -* ) ac_must_keep_next=true ;;
1442 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1443 # Get rid of the leading space.
1449 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1450 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1452 # When interrupted or exit'd, cleanup temporary files, and complete
1453 # config.log. We remove comments because anyway the quotes in there
1454 # would cause problems or look ugly.
1455 # WARNING: Be sure not to use single quotes in there, as some shells,
1456 # such as our DU 5.0 friend, will then `close' the trap.
1457 trap 'exit_status=$?
1458 # Save into config.log some information that might help in debugging.
1463 ## ---------------- ##
1464 ## Cache variables. ##
1465 ## ---------------- ##
1468 # The following way of writing the cache mishandles newlines in values,
1471 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1474 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1475 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1479 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1486 ## ----------------- ##
1487 ## Output variables. ##
1488 ## ----------------- ##
1491 for ac_var in $ac_subst_vars
1493 eval ac_val=$`echo $ac_var`
1494 echo "$ac_var='"'"'$ac_val'"'"'"
1498 if test -n "$ac_subst_files"; then
1505 for ac_var in $ac_subst_files
1507 eval ac_val=$`echo $ac_var`
1508 echo "$ac_var='"'"'$ac_val'"'"'"
1513 if test -s confdefs.h; then
1520 sed "/^$/d" confdefs.h | sort
1523 test "$ac_signal" != 0 &&
1524 echo "$as_me: caught signal $ac_signal"
1525 echo "$as_me: exit $exit_status"
1527 rm -f core *.core &&
1528 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1531 for ac_signal in 1 2 13 15; do
1532 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1536 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1537 rm -rf conftest* confdefs.h
1538 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1541 # Predefined preprocessor variables.
1543 cat >>confdefs.h <<_ACEOF
1544 #define PACKAGE_NAME "$PACKAGE_NAME"
1548 cat >>confdefs.h <<_ACEOF
1549 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1553 cat >>confdefs.h <<_ACEOF
1554 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1558 cat >>confdefs.h <<_ACEOF
1559 #define PACKAGE_STRING "$PACKAGE_STRING"
1563 cat >>confdefs.h <<_ACEOF
1564 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1568 # Let the site file select an alternate cache file if it wants to.
1569 # Prefer explicitly selected file to automatically selected ones.
1570 if test -z "$CONFIG_SITE"; then
1571 if test "x$prefix" != xNONE; then
1572 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1574 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1577 for ac_site_file in $CONFIG_SITE; do
1578 if test -r "$ac_site_file"; then
1579 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1580 echo "$as_me: loading site script $ac_site_file" >&6;}
1581 sed 's/^/| /' "$ac_site_file" >&5
1586 if test -r "$cache_file"; then
1587 # Some versions of bash will fail to source /dev/null (special
1588 # files actually), so we avoid doing that.
1589 if test -f "$cache_file"; then
1590 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1591 echo "$as_me: loading cache $cache_file" >&6;}
1593 [\\/]* | ?:[\\/]* ) . $cache_file;;
1594 *) . ./$cache_file;;
1598 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1599 echo "$as_me: creating cache $cache_file" >&6;}
1603 # Check that the precious variables saved in the cache have kept the same
1605 ac_cache_corrupted=false
1606 for ac_var in `(set) 2>&1 |
1607 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1608 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1609 eval ac_new_set=\$ac_env_${ac_var}_set
1610 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1611 eval ac_new_val="\$ac_env_${ac_var}_value"
1612 case $ac_old_set,$ac_new_set in
1614 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1615 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1616 ac_cache_corrupted=: ;;
1618 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1619 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1620 ac_cache_corrupted=: ;;
1623 if test "x$ac_old_val" != "x$ac_new_val"; then
1624 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1625 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1626 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1627 echo "$as_me: former value: $ac_old_val" >&2;}
1628 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1629 echo "$as_me: current value: $ac_new_val" >&2;}
1630 ac_cache_corrupted=:
1633 # Pass precious variables to config.status.
1634 if test "$ac_new_set" = set; then
1636 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1637 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1638 *) ac_arg=$ac_var=$ac_new_val ;;
1640 case " $ac_configure_args " in
1641 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1642 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1646 if $ac_cache_corrupted; then
1647 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1648 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1649 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1650 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1651 { (exit 1); exit 1; }; }
1655 ac_cpp='$CPP $CPPFLAGS'
1656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1690 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1691 if test -f $ac_dir/install-sh; then
1693 ac_install_sh="$ac_aux_dir/install-sh -c"
1695 elif test -f $ac_dir/install.sh; then
1697 ac_install_sh="$ac_aux_dir/install.sh -c"
1699 elif test -f $ac_dir/shtool; then
1701 ac_install_sh="$ac_aux_dir/shtool install -c"
1705 if test -z "$ac_aux_dir"; then
1706 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1707 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1708 { (exit 1); exit 1; }; }
1710 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1711 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1712 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1714 # Make sure we can run config.sub.
1715 $ac_config_sub sun4 >/dev/null 2>&1 ||
1716 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1717 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1718 { (exit 1); exit 1; }; }
1720 echo "$as_me:$LINENO: checking build system type" >&5
1721 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1722 if test "${ac_cv_build+set}" = set; then
1723 echo $ECHO_N "(cached) $ECHO_C" >&6
1725 ac_cv_build_alias=$build_alias
1726 test -z "$ac_cv_build_alias" &&
1727 ac_cv_build_alias=`$ac_config_guess`
1728 test -z "$ac_cv_build_alias" &&
1729 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1730 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1731 { (exit 1); exit 1; }; }
1732 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1733 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1734 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1735 { (exit 1); exit 1; }; }
1738 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1739 echo "${ECHO_T}$ac_cv_build" >&6
1741 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1742 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1743 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1746 echo "$as_me:$LINENO: checking host system type" >&5
1747 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1748 if test "${ac_cv_host+set}" = set; then
1749 echo $ECHO_N "(cached) $ECHO_C" >&6
1751 ac_cv_host_alias=$host_alias
1752 test -z "$ac_cv_host_alias" &&
1753 ac_cv_host_alias=$ac_cv_build_alias
1754 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1755 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1756 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1757 { (exit 1); exit 1; }; }
1760 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1761 echo "${ECHO_T}$ac_cv_host" >&6
1763 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1764 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1765 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1768 echo "$as_me:$LINENO: checking target system type" >&5
1769 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1770 if test "${ac_cv_target+set}" = set; then
1771 echo $ECHO_N "(cached) $ECHO_C" >&6
1773 ac_cv_target_alias=$target_alias
1774 test "x$ac_cv_target_alias" = "x" &&
1775 ac_cv_target_alias=$ac_cv_host_alias
1776 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1777 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1778 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1779 { (exit 1); exit 1; }; }
1782 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1783 echo "${ECHO_T}$ac_cv_target" >&6
1784 target=$ac_cv_target
1785 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1786 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1787 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1790 # The aliases save the names the user supplied, while $host etc.
1791 # will get canonicalized.
1792 test -n "$target_alias" &&
1793 test "$program_prefix$program_suffix$program_transform_name" = \
1795 program_prefix=${target_alias}-
1799 wx_major_version_number=2
1800 wx_minor_version_number=7
1802 wx_subrelease_number=1
1804 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1805 WX_VERSION=$WX_RELEASE.$wx_release_number
1806 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1808 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1821 USE_BSD= USE_DARWIN= USE_FREEBSD=
1827 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1833 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1835 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1837 DEFAULT_wxUSE_COCOA=0
1841 DEFAULT_wxUSE_MICROWIN=0
1842 DEFAULT_wxUSE_MOTIF=0
1848 DEFAULT_DEFAULT_wxUSE_COCOA=0
1849 DEFAULT_DEFAULT_wxUSE_GTK=0
1850 DEFAULT_DEFAULT_wxUSE_MAC=0
1851 DEFAULT_DEFAULT_wxUSE_MGL=0
1852 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1853 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1854 DEFAULT_DEFAULT_wxUSE_MSW=0
1855 DEFAULT_DEFAULT_wxUSE_PM=0
1856 DEFAULT_DEFAULT_wxUSE_X11=0
1857 DEFAULT_DEFAULT_wxUSE_DFB=0
1862 SAMPLES_RPATH_POSTLINK=
1864 DEFAULT_STD_FLAG=yes
1869 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1870 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1872 cat >>confdefs.h <<\_ACEOF
1877 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1881 cat >>confdefs.h <<\_ACEOF
1886 if test "x$TMP" = "xalpha"; then
1888 cat >>confdefs.h <<\_ACEOF
1893 DEFAULT_DEFAULT_wxUSE_GTK=1
1895 *-*-gnu* | *-*-k*bsd*-gnu )
1898 if test "x$TMP" = "xalpha"; then
1900 cat >>confdefs.h <<\_ACEOF
1905 DEFAULT_DEFAULT_wxUSE_GTK=1
1907 *-*-irix5* | *-*-irix6* )
1910 cat >>confdefs.h <<\_ACEOF
1914 cat >>confdefs.h <<\_ACEOF
1918 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1924 cat >>confdefs.h <<\_ACEOF
1928 cat >>confdefs.h <<\_ACEOF
1929 #define __SOLARIS__ 1
1932 cat >>confdefs.h <<\_ACEOF
1936 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1937 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1943 cat >>confdefs.h <<\_ACEOF
1947 cat >>confdefs.h <<\_ACEOF
1951 cat >>confdefs.h <<\_ACEOF
1955 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1960 cat >>confdefs.h <<\_ACEOF
1961 #define __FREEBSD__ 1
1964 cat >>confdefs.h <<\_ACEOF
1968 DEFAULT_DEFAULT_wxUSE_GTK=1
1970 *-*-openbsd*|*-*-mirbsd*)
1973 cat >>confdefs.h <<\_ACEOF
1974 #define __OPENBSD__ 1
1977 cat >>confdefs.h <<\_ACEOF
1981 DEFAULT_DEFAULT_wxUSE_GTK=1
1986 cat >>confdefs.h <<\_ACEOF
1987 #define __NETBSD__ 1
1990 cat >>confdefs.h <<\_ACEOF
1994 DEFAULT_DEFAULT_wxUSE_GTK=1
1995 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1997 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2002 cat >>confdefs.h <<\_ACEOF
2006 cat >>confdefs.h <<\_ACEOF
2010 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2011 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2016 cat >>confdefs.h <<\_ACEOF
2020 cat >>confdefs.h <<\_ACEOF
2024 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2029 cat >>confdefs.h <<\_ACEOF
2033 cat >>confdefs.h <<\_ACEOF
2037 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2044 cat >>confdefs.h <<\_ACEOF
2048 cat >>confdefs.h <<\_ACEOF
2052 cat >>confdefs.h <<\_ACEOF
2056 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2063 cat >>confdefs.h <<\_ACEOF
2064 #define __UNIXWARE__ 1
2069 *-*-cygwin* | *-*-mingw32* )
2072 DEFAULT_DEFAULT_wxUSE_MSW=1
2079 cat >>confdefs.h <<\_ACEOF
2084 DEFAULT_DEFAULT_wxUSE_MGL=1
2087 *-pc-os2_emx | *-pc-os2-emx )
2088 cat >>confdefs.h <<\_ACEOF
2093 cat >>confdefs.h <<\_ACEOF
2098 DEFAULT_DEFAULT_wxUSE_PM=1
2100 LDFLAGS="$LDFLAGS -Zcrtdll"
2101 ac_executable_extensions=".exe"
2102 export ac_executable_extensions
2106 for ac_dir in $PATH; do
2108 if test -z "$ac_TEMP_PATH"; then
2109 ac_TEMP_PATH="$ac_dir"
2111 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2114 export PATH="$ac_TEMP_PATH"
2123 cat >>confdefs.h <<\_ACEOF
2127 cat >>confdefs.h <<\_ACEOF
2128 #define __DARWIN__ 1
2131 cat >>confdefs.h <<\_ACEOF
2132 #define TARGET_CARBON 1
2135 DEFAULT_DEFAULT_wxUSE_MAC=1
2138 powerpc-apple-macos* )
2140 ac_cv_c_bigendian=yes
2142 DEFAULT_DEFAULT_wxUSE_MAC=1
2148 cat >>confdefs.h <<\_ACEOF
2155 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2156 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2157 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2158 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2160 DEFAULT_DEFAULT_wxUSE_X11=1
2161 DEFAULT_wxUSE_SHARED=no
2167 wx_arg_cache_file="configarg.cache"
2168 echo "loading argument cache $wx_arg_cache_file"
2169 rm -f ${wx_arg_cache_file}.tmp
2170 touch ${wx_arg_cache_file}.tmp
2171 touch ${wx_arg_cache_file}
2175 if test $DEBUG_CONFIGURE = 1; then
2176 DEFAULT_wxUSE_UNIVERSAL=no
2177 DEFAULT_wxUSE_STL=no
2179 DEFAULT_wxUSE_NANOX=no
2181 DEFAULT_wxUSE_THREADS=yes
2183 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2184 DEFAULT_wxUSE_OPTIMISE=no
2185 DEFAULT_wxUSE_PROFILE=no
2186 DEFAULT_wxUSE_NO_DEPS=no
2187 DEFAULT_wxUSE_NO_RTTI=no
2188 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2189 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2190 DEFAULT_wxUSE_RPATH=yes
2191 DEFAULT_wxUSE_PERMISSIVE=no
2192 DEFAULT_wxUSE_DEBUG_FLAG=yes
2193 DEFAULT_wxUSE_DEBUG_INFO=yes
2194 DEFAULT_wxUSE_DEBUG_GDB=yes
2195 DEFAULT_wxUSE_MEM_TRACING=no
2196 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2197 DEFAULT_wxUSE_DMALLOC=no
2198 DEFAULT_wxUSE_APPLE_IEEE=no
2200 DEFAULT_wxUSE_EXCEPTIONS=no
2201 DEFAULT_wxUSE_LOG=yes
2202 DEFAULT_wxUSE_LOGWINDOW=no
2203 DEFAULT_wxUSE_LOGGUI=no
2204 DEFAULT_wxUSE_LOGDIALOG=no
2206 DEFAULT_wxUSE_GUI=yes
2207 DEFAULT_wxUSE_CONTROLS=no
2209 DEFAULT_wxUSE_REGEX=no
2210 DEFAULT_wxUSE_XML=no
2211 DEFAULT_wxUSE_EXPAT=no
2212 DEFAULT_wxUSE_ZLIB=no
2213 DEFAULT_wxUSE_LIBPNG=no
2214 DEFAULT_wxUSE_LIBJPEG=no
2215 DEFAULT_wxUSE_LIBTIFF=no
2216 DEFAULT_wxUSE_LIBXPM=no
2217 DEFAULT_wxUSE_LIBMSPACK=no
2218 DEFAULT_wxUSE_LIBSDL=no
2219 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2220 DEFAULT_wxUSE_LIBGNOMEVFS=no
2221 DEFAULT_wxUSE_LIBHILDON=no
2222 DEFAULT_wxUSE_ODBC=no
2223 DEFAULT_wxUSE_OPENGL=no
2225 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2226 DEFAULT_wxUSE_STACKWALKER=no
2227 DEFAULT_wxUSE_DEBUGREPORT=no
2228 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2229 DEFAULT_wxUSE_STD_IOSTREAM=no
2230 DEFAULT_wxUSE_STD_STRING=no
2231 DEFAULT_wxUSE_CMDLINE_PARSER=no
2232 DEFAULT_wxUSE_DATETIME=no
2233 DEFAULT_wxUSE_TIMER=no
2234 DEFAULT_wxUSE_STOPWATCH=no
2235 DEFAULT_wxUSE_FILE=no
2236 DEFAULT_wxUSE_FFILE=no
2237 DEFAULT_wxUSE_STDPATHS=no
2238 DEFAULT_wxUSE_TEXTBUFFER=no
2239 DEFAULT_wxUSE_TEXTFILE=no
2240 DEFAULT_wxUSE_SOUND=no
2241 DEFAULT_wxUSE_MEDIACTRL=no
2242 DEFAULT_wxUSE_GSTREAMER8=no
2243 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2244 DEFAULT_wxUSE_INTL=no
2245 DEFAULT_wxUSE_CONFIG=no
2246 DEFAULT_wxUSE_FONTMAP=no
2247 DEFAULT_wxUSE_STREAMS=no
2248 DEFAULT_wxUSE_SOCKETS=no
2249 DEFAULT_wxUSE_OLE=no
2250 DEFAULT_wxUSE_DATAOBJ=no
2251 DEFAULT_wxUSE_DIALUP_MANAGER=no
2252 DEFAULT_wxUSE_JOYSTICK=no
2253 DEFAULT_wxUSE_DYNLIB_CLASS=no
2254 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2255 DEFAULT_wxUSE_LONGLONG=no
2256 DEFAULT_wxUSE_GEOMETRY=no
2258 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2259 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2260 DEFAULT_wxUSE_POSTSCRIPT=no
2262 DEFAULT_wxUSE_CLIPBOARD=no
2263 DEFAULT_wxUSE_TOOLTIPS=no
2264 DEFAULT_wxUSE_DRAG_AND_DROP=no
2265 DEFAULT_wxUSE_DRAGIMAGE=no
2266 DEFAULT_wxUSE_SPLINES=no
2267 DEFAULT_wxUSE_MOUSEWHEEL=no
2269 DEFAULT_wxUSE_MDI=no
2270 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2271 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2272 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2274 DEFAULT_wxUSE_RESOURCES=no
2275 DEFAULT_wxUSE_CONSTRAINTS=no
2276 DEFAULT_wxUSE_IPC=no
2277 DEFAULT_wxUSE_HELP=no
2278 DEFAULT_wxUSE_MS_HTML_HELP=no
2279 DEFAULT_wxUSE_WXHTML_HELP=no
2280 DEFAULT_wxUSE_TREELAYOUT=no
2281 DEFAULT_wxUSE_METAFILE=no
2282 DEFAULT_wxUSE_MIMETYPE=no
2283 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2284 DEFAULT_wxUSE_PROTOCOL=no
2285 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2286 DEFAULT_wxUSE_PROTOCOL_FTP=no
2287 DEFAULT_wxUSE_PROTOCOL_FILE=no
2288 DEFAULT_wxUSE_URL=no
2289 DEFAULT_wxUSE_VARIANT=no
2291 DEFAULT_wxUSE_ABOUTDLG=no
2292 DEFAULT_wxUSE_COMMONDLGS=no
2293 DEFAULT_wxUSE_CHOICEDLG=no
2294 DEFAULT_wxUSE_COLOURDLG=no
2295 DEFAULT_wxUSE_DIRDLG=no
2296 DEFAULT_wxUSE_FILEDLG=no
2297 DEFAULT_wxUSE_FINDREPLDLG=no
2298 DEFAULT_wxUSE_FONTDLG=no
2299 DEFAULT_wxUSE_MSGDLG=no
2300 DEFAULT_wxUSE_NUMBERDLG=no
2301 DEFAULT_wxUSE_TEXTDLG=no
2302 DEFAULT_wxUSE_SPLASH=no
2303 DEFAULT_wxUSE_STARTUP_TIPS=no
2304 DEFAULT_wxUSE_PROGRESSDLG=no
2305 DEFAULT_wxUSE_WIZARDDLG=no
2307 DEFAULT_wxUSE_MENUS=no
2308 DEFAULT_wxUSE_MINIFRAME=no
2309 DEFAULT_wxUSE_HTML=no
2310 DEFAULT_wxUSE_RICHTEXT=no
2311 DEFAULT_wxUSE_XRC=no
2312 DEFAULT_wxUSE_AUI=no
2313 DEFAULT_wxUSE_WEBKIT=no
2314 DEFAULT_wxUSE_FILESYSTEM=no
2315 DEFAULT_wxUSE_FS_INET=no
2316 DEFAULT_wxUSE_FS_ZIP=no
2317 DEFAULT_wxUSE_BUSYINFO=no
2318 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2319 DEFAULT_wxUSE_ZIPSTREAM=no
2320 DEFAULT_wxUSE_VALIDATORS=no
2322 DEFAULT_wxUSE_ACCEL=no
2323 DEFAULT_wxUSE_ANIMATIONCTRL=no
2324 DEFAULT_wxUSE_BUTTON=no
2325 DEFAULT_wxUSE_BMPBUTTON=no
2326 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2327 DEFAULT_wxUSE_CALCTRL=no
2328 DEFAULT_wxUSE_CARET=no
2329 DEFAULT_wxUSE_CHECKBOX=no
2330 DEFAULT_wxUSE_CHECKLST=no
2331 DEFAULT_wxUSE_CHOICE=no
2332 DEFAULT_wxUSE_CHOICEBOOK=no
2333 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2334 DEFAULT_wxUSE_COMBOBOX=no
2335 DEFAULT_wxUSE_COMBOCTRL=no
2336 DEFAULT_wxUSE_DATEPICKCTRL=no
2337 DEFAULT_wxUSE_DISPLAY=no
2338 DEFAULT_wxUSE_DETECT_SM=no
2339 DEFAULT_wxUSE_DIRPICKERCTRL=no
2340 DEFAULT_wxUSE_FILEPICKERCTRL=no
2341 DEFAULT_wxUSE_FONTPICKERCTRL=no
2342 DEFAULT_wxUSE_GAUGE=no
2343 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2344 DEFAULT_wxUSE_GRID=no
2345 DEFAULT_wxUSE_HYPERLINKCTRL=no
2346 DEFAULT_wxUSE_DATAVIEWCTRL=no
2347 DEFAULT_wxUSE_IMAGLIST=no
2348 DEFAULT_wxUSE_LISTBOOK=no
2349 DEFAULT_wxUSE_LISTBOX=no
2350 DEFAULT_wxUSE_LISTCTRL=no
2351 DEFAULT_wxUSE_NOTEBOOK=no
2352 DEFAULT_wxUSE_ODCOMBOBOX=no
2353 DEFAULT_wxUSE_RADIOBOX=no
2354 DEFAULT_wxUSE_RADIOBTN=no
2355 DEFAULT_wxUSE_SASH=no
2356 DEFAULT_wxUSE_SCROLLBAR=no
2357 DEFAULT_wxUSE_SLIDER=no
2358 DEFAULT_wxUSE_SPINBTN=no
2359 DEFAULT_wxUSE_SPINCTRL=no
2360 DEFAULT_wxUSE_SPLITTER=no
2361 DEFAULT_wxUSE_STATBMP=no
2362 DEFAULT_wxUSE_STATBOX=no
2363 DEFAULT_wxUSE_STATLINE=no
2364 DEFAULT_wxUSE_STATTEXT=no
2365 DEFAULT_wxUSE_STATUSBAR=yes
2366 DEFAULT_wxUSE_TAB_DIALOG=no
2367 DEFAULT_wxUSE_TEXTCTRL=no
2368 DEFAULT_wxUSE_TOGGLEBTN=no
2369 DEFAULT_wxUSE_TOOLBAR=no
2370 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2371 DEFAULT_wxUSE_TREEBOOK=no
2372 DEFAULT_wxUSE_TOOLBOOK=no
2373 DEFAULT_wxUSE_TREECTRL=no
2374 DEFAULT_wxUSE_POPUPWIN=no
2375 DEFAULT_wxUSE_TIPWINDOW=no
2377 DEFAULT_wxUSE_UNICODE=no
2378 DEFAULT_wxUSE_UNICODE_MSLU=no
2379 DEFAULT_wxUSE_WCSRTOMBS=no
2381 DEFAULT_wxUSE_PALETTE=no
2382 DEFAULT_wxUSE_IMAGE=no
2383 DEFAULT_wxUSE_GIF=no
2384 DEFAULT_wxUSE_PCX=no
2385 DEFAULT_wxUSE_PNM=no
2386 DEFAULT_wxUSE_IFF=no
2387 DEFAULT_wxUSE_XPM=no
2388 DEFAULT_wxUSE_ICO_CUR=no
2389 DEFAULT_wxUSE_ACCESSIBILITY=no
2391 DEFAULT_wxUSE_MONOLITHIC=no
2392 DEFAULT_wxUSE_PLUGINS=no
2393 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2395 DEFAULT_wxUSE_UNIVERSAL=no
2396 DEFAULT_wxUSE_STL=no
2398 DEFAULT_wxUSE_NANOX=no
2400 DEFAULT_wxUSE_THREADS=yes
2402 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2403 DEFAULT_wxUSE_OPTIMISE=yes
2404 DEFAULT_wxUSE_PROFILE=no
2405 DEFAULT_wxUSE_NO_DEPS=no
2406 DEFAULT_wxUSE_NO_RTTI=no
2407 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2408 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2409 DEFAULT_wxUSE_RPATH=yes
2410 DEFAULT_wxUSE_PERMISSIVE=no
2411 DEFAULT_wxUSE_DEBUG_FLAG=no
2412 DEFAULT_wxUSE_DEBUG_INFO=no
2413 DEFAULT_wxUSE_DEBUG_GDB=no
2414 DEFAULT_wxUSE_MEM_TRACING=no
2415 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2416 DEFAULT_wxUSE_DMALLOC=no
2417 DEFAULT_wxUSE_APPLE_IEEE=yes
2419 DEFAULT_wxUSE_EXCEPTIONS=yes
2420 DEFAULT_wxUSE_LOG=yes
2421 DEFAULT_wxUSE_LOGWINDOW=yes
2422 DEFAULT_wxUSE_LOGGUI=yes
2423 DEFAULT_wxUSE_LOGDIALOG=yes
2425 DEFAULT_wxUSE_GUI=yes
2427 DEFAULT_wxUSE_REGEX=yes
2428 DEFAULT_wxUSE_XML=yes
2429 DEFAULT_wxUSE_EXPAT=yes
2430 DEFAULT_wxUSE_ZLIB=yes
2431 DEFAULT_wxUSE_LIBPNG=yes
2432 DEFAULT_wxUSE_LIBJPEG=yes
2433 DEFAULT_wxUSE_LIBTIFF=yes
2434 DEFAULT_wxUSE_LIBXPM=yes
2435 DEFAULT_wxUSE_LIBMSPACK=yes
2436 DEFAULT_wxUSE_LIBSDL=no
2437 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2438 DEFAULT_wxUSE_LIBGNOMEVFS=no
2439 DEFAULT_wxUSE_LIBHILDON=no
2440 DEFAULT_wxUSE_ODBC=no
2441 DEFAULT_wxUSE_OPENGL=no
2443 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2444 DEFAULT_wxUSE_STACKWALKER=yes
2445 DEFAULT_wxUSE_DEBUGREPORT=yes
2446 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2447 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2448 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2449 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2450 DEFAULT_wxUSE_DATETIME=yes
2451 DEFAULT_wxUSE_TIMER=yes
2452 DEFAULT_wxUSE_STOPWATCH=yes
2453 DEFAULT_wxUSE_FILE=yes
2454 DEFAULT_wxUSE_FFILE=yes
2455 DEFAULT_wxUSE_STDPATHS=yes
2456 DEFAULT_wxUSE_TEXTBUFFER=yes
2457 DEFAULT_wxUSE_TEXTFILE=yes
2458 DEFAULT_wxUSE_SOUND=yes
2459 DEFAULT_wxUSE_MEDIACTRL=no
2460 DEFAULT_wxUSE_GSTREAMER8=no
2461 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2462 DEFAULT_wxUSE_INTL=yes
2463 DEFAULT_wxUSE_CONFIG=yes
2464 DEFAULT_wxUSE_FONTMAP=yes
2465 DEFAULT_wxUSE_STREAMS=yes
2466 DEFAULT_wxUSE_SOCKETS=yes
2467 DEFAULT_wxUSE_OLE=yes
2468 DEFAULT_wxUSE_DATAOBJ=yes
2469 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2470 DEFAULT_wxUSE_JOYSTICK=yes
2471 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2472 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2473 DEFAULT_wxUSE_LONGLONG=yes
2474 DEFAULT_wxUSE_GEOMETRY=yes
2476 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2477 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2478 DEFAULT_wxUSE_POSTSCRIPT=yes
2480 DEFAULT_wxUSE_CLIPBOARD=yes
2481 DEFAULT_wxUSE_TOOLTIPS=yes
2482 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2483 DEFAULT_wxUSE_DRAGIMAGE=yes
2484 DEFAULT_wxUSE_SPLINES=yes
2485 DEFAULT_wxUSE_MOUSEWHEEL=yes
2487 DEFAULT_wxUSE_MDI=yes
2488 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2489 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2490 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2492 DEFAULT_wxUSE_RESOURCES=no
2493 DEFAULT_wxUSE_CONSTRAINTS=yes
2494 DEFAULT_wxUSE_IPC=yes
2495 DEFAULT_wxUSE_HELP=yes
2496 DEFAULT_wxUSE_MS_HTML_HELP=yes
2497 DEFAULT_wxUSE_WXHTML_HELP=yes
2498 DEFAULT_wxUSE_TREELAYOUT=yes
2499 DEFAULT_wxUSE_METAFILE=yes
2500 DEFAULT_wxUSE_MIMETYPE=yes
2501 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2502 DEFAULT_wxUSE_PROTOCOL=yes
2503 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2504 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2505 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2506 DEFAULT_wxUSE_URL=yes
2507 DEFAULT_wxUSE_VARIANT=yes
2509 DEFAULT_wxUSE_ABOUTDLG=yes
2510 DEFAULT_wxUSE_COMMONDLGS=yes
2511 DEFAULT_wxUSE_CHOICEDLG=yes
2512 DEFAULT_wxUSE_COLOURDLG=yes
2513 DEFAULT_wxUSE_DIRDLG=yes
2514 DEFAULT_wxUSE_FILEDLG=yes
2515 DEFAULT_wxUSE_FINDREPLDLG=yes
2516 DEFAULT_wxUSE_FONTDLG=yes
2517 DEFAULT_wxUSE_MSGDLG=yes
2518 DEFAULT_wxUSE_NUMBERDLG=yes
2519 DEFAULT_wxUSE_TEXTDLG=yes
2520 DEFAULT_wxUSE_SPLASH=yes
2521 DEFAULT_wxUSE_STARTUP_TIPS=yes
2522 DEFAULT_wxUSE_PROGRESSDLG=yes
2523 DEFAULT_wxUSE_WIZARDDLG=yes
2525 DEFAULT_wxUSE_MENUS=yes
2526 DEFAULT_wxUSE_MINIFRAME=yes
2527 DEFAULT_wxUSE_HTML=yes
2528 DEFAULT_wxUSE_RICHTEXT=yes
2529 DEFAULT_wxUSE_XRC=yes
2530 DEFAULT_wxUSE_AUI=yes
2531 DEFAULT_wxUSE_WEBKIT=yes
2532 DEFAULT_wxUSE_FILESYSTEM=yes
2533 DEFAULT_wxUSE_FS_INET=yes
2534 DEFAULT_wxUSE_FS_ZIP=yes
2535 DEFAULT_wxUSE_BUSYINFO=yes
2536 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2537 DEFAULT_wxUSE_ZIPSTREAM=yes
2538 DEFAULT_wxUSE_VALIDATORS=yes
2540 DEFAULT_wxUSE_ACCEL=yes
2541 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2542 DEFAULT_wxUSE_BUTTON=yes
2543 DEFAULT_wxUSE_BMPBUTTON=yes
2544 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2545 DEFAULT_wxUSE_CALCTRL=yes
2546 DEFAULT_wxUSE_CARET=yes
2547 DEFAULT_wxUSE_CHECKBOX=yes
2548 DEFAULT_wxUSE_CHECKLST=yes
2549 DEFAULT_wxUSE_CHOICE=yes
2550 DEFAULT_wxUSE_CHOICEBOOK=yes
2551 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2552 DEFAULT_wxUSE_COMBOBOX=yes
2553 DEFAULT_wxUSE_COMBOCTRL=yes
2554 DEFAULT_wxUSE_DATEPICKCTRL=yes
2555 DEFAULT_wxUSE_DISPLAY=yes
2556 DEFAULT_wxUSE_DETECT_SM=yes
2557 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2558 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2559 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2560 DEFAULT_wxUSE_GAUGE=yes
2561 DEFAULT_wxUSE_GRID=yes
2562 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2563 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2564 DEFAULT_wxUSE_DATAVIEWCTRL=no
2565 DEFAULT_wxUSE_IMAGLIST=yes
2566 DEFAULT_wxUSE_LISTBOOK=yes
2567 DEFAULT_wxUSE_LISTBOX=yes
2568 DEFAULT_wxUSE_LISTCTRL=yes
2569 DEFAULT_wxUSE_NOTEBOOK=yes
2570 DEFAULT_wxUSE_ODCOMBOBOX=yes
2571 DEFAULT_wxUSE_RADIOBOX=yes
2572 DEFAULT_wxUSE_RADIOBTN=yes
2573 DEFAULT_wxUSE_SASH=yes
2574 DEFAULT_wxUSE_SCROLLBAR=yes
2575 DEFAULT_wxUSE_SLIDER=yes
2576 DEFAULT_wxUSE_SPINBTN=yes
2577 DEFAULT_wxUSE_SPINCTRL=yes
2578 DEFAULT_wxUSE_SPLITTER=yes
2579 DEFAULT_wxUSE_STATBMP=yes
2580 DEFAULT_wxUSE_STATBOX=yes
2581 DEFAULT_wxUSE_STATLINE=yes
2582 DEFAULT_wxUSE_STATTEXT=yes
2583 DEFAULT_wxUSE_STATUSBAR=yes
2584 DEFAULT_wxUSE_TAB_DIALOG=no
2585 DEFAULT_wxUSE_TEXTCTRL=yes
2586 DEFAULT_wxUSE_TOGGLEBTN=yes
2587 DEFAULT_wxUSE_TOOLBAR=yes
2588 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2589 DEFAULT_wxUSE_TREEBOOK=yes
2590 DEFAULT_wxUSE_TOOLBOOK=yes
2591 DEFAULT_wxUSE_TREECTRL=yes
2592 DEFAULT_wxUSE_POPUPWIN=yes
2593 DEFAULT_wxUSE_TIPWINDOW=yes
2595 DEFAULT_wxUSE_UNICODE=no
2596 DEFAULT_wxUSE_UNICODE_MSLU=yes
2597 DEFAULT_wxUSE_WCSRTOMBS=no
2599 DEFAULT_wxUSE_PALETTE=yes
2600 DEFAULT_wxUSE_IMAGE=yes
2601 DEFAULT_wxUSE_GIF=yes
2602 DEFAULT_wxUSE_PCX=yes
2603 DEFAULT_wxUSE_IFF=no
2604 DEFAULT_wxUSE_PNM=yes
2605 DEFAULT_wxUSE_XPM=yes
2606 DEFAULT_wxUSE_ICO_CUR=yes
2607 DEFAULT_wxUSE_ACCESSIBILITY=no
2609 DEFAULT_wxUSE_MONOLITHIC=no
2610 DEFAULT_wxUSE_PLUGINS=no
2611 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2613 DEFAULT_wxUSE_GTK2=yes
2619 for toolkit in `echo $ALL_TOOLKITS`; do
2620 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2621 if test "x$LINE" != "x" ; then
2622 has_toolkit_in_cache=1
2623 eval "DEFAULT_$LINE"
2624 eval "CACHE_$toolkit=1"
2626 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2627 if test "x$LINE" != "x" ; then
2628 eval "DEFAULT_$LINE"
2636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2637 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2639 # Check whether --enable-gui or --disable-gui was given.
2640 if test "${enable_gui+set}" = set; then
2641 enableval="$enable_gui"
2643 if test "$enableval" = yes; then
2644 ac_cv_use_gui='wxUSE_GUI=yes'
2646 ac_cv_use_gui='wxUSE_GUI=no'
2651 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2652 if test "x$LINE" != x ; then
2653 eval "DEFAULT_$LINE"
2658 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2662 eval "$ac_cv_use_gui"
2663 if test "$no_cache" != 1; then
2664 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2667 if test "$wxUSE_GUI" = yes; then
2668 echo "$as_me:$LINENO: result: yes" >&5
2669 echo "${ECHO_T}yes" >&6
2671 echo "$as_me:$LINENO: result: no" >&5
2672 echo "${ECHO_T}no" >&6
2677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2678 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2680 # Check whether --enable-monolithic or --disable-monolithic was given.
2681 if test "${enable_monolithic+set}" = set; then
2682 enableval="$enable_monolithic"
2684 if test "$enableval" = yes; then
2685 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2687 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2692 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2693 if test "x$LINE" != x ; then
2694 eval "DEFAULT_$LINE"
2699 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2703 eval "$ac_cv_use_monolithic"
2704 if test "$no_cache" != 1; then
2705 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2708 if test "$wxUSE_MONOLITHIC" = yes; then
2709 echo "$as_me:$LINENO: result: yes" >&5
2710 echo "${ECHO_T}yes" >&6
2712 echo "$as_me:$LINENO: result: no" >&5
2713 echo "${ECHO_T}no" >&6
2718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2719 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2721 # Check whether --enable-plugins or --disable-plugins was given.
2722 if test "${enable_plugins+set}" = set; then
2723 enableval="$enable_plugins"
2725 if test "$enableval" = yes; then
2726 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2728 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2733 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2734 if test "x$LINE" != x ; then
2735 eval "DEFAULT_$LINE"
2740 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2744 eval "$ac_cv_use_plugins"
2745 if test "$no_cache" != 1; then
2746 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2749 if test "$wxUSE_PLUGINS" = yes; then
2750 echo "$as_me:$LINENO: result: yes" >&5
2751 echo "${ECHO_T}yes" >&6
2753 echo "$as_me:$LINENO: result: no" >&5
2754 echo "${ECHO_T}no" >&6
2759 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2760 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2763 # Check whether --with-subdirs or --without-subdirs was given.
2764 if test "${with_subdirs+set}" = set; then
2765 withval="$with_subdirs"
2767 if test "$withval" = yes; then
2768 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2770 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2775 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2776 if test "x$LINE" != x ; then
2777 eval "DEFAULT_$LINE"
2782 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2786 eval "$ac_cv_use_subdirs"
2787 if test "$no_cache" != 1; then
2788 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2791 if test "$wxWITH_SUBDIRS" = yes; then
2792 echo "$as_me:$LINENO: result: yes" >&5
2793 echo "${ECHO_T}yes" >&6
2795 echo "$as_me:$LINENO: result: no" >&5
2796 echo "${ECHO_T}no" >&6
2800 if test "$wxUSE_GUI" = "yes"; then
2804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2805 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2807 # Check whether --enable-universal or --disable-universal was given.
2808 if test "${enable_universal+set}" = set; then
2809 enableval="$enable_universal"
2811 if test "$enableval" = yes; then
2812 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2814 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2819 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2820 if test "x$LINE" != x ; then
2821 eval "DEFAULT_$LINE"
2826 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2830 eval "$ac_cv_use_universal"
2831 if test "$no_cache" != 1; then
2832 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2835 if test "$wxUSE_UNIVERSAL" = yes; then
2836 echo "$as_me:$LINENO: result: yes" >&5
2837 echo "${ECHO_T}yes" >&6
2839 echo "$as_me:$LINENO: result: no" >&5
2840 echo "${ECHO_T}no" >&6
2844 # Check whether --with-gtk or --without-gtk was given.
2845 if test "${with_gtk+set}" = set; then
2847 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2850 # Check whether --with-motif or --without-motif was given.
2851 if test "${with_motif+set}" = set; then
2852 withval="$with_motif"
2853 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2856 # Check whether --with-mac or --without-mac was given.
2857 if test "${with_mac+set}" = set; then
2859 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2862 # Check whether --with-cocoa or --without-cocoa was given.
2863 if test "${with_cocoa+set}" = set; then
2864 withval="$with_cocoa"
2865 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2868 # Check whether --with-wine or --without-wine was given.
2869 if test "${with_wine+set}" = set; then
2870 withval="$with_wine"
2871 wxUSE_WINE="$withval" CACHE_WINE=1
2874 # Check whether --with-msw or --without-msw was given.
2875 if test "${with_msw+set}" = set; then
2877 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2880 # Check whether --with-pm or --without-pm was given.
2881 if test "${with_pm+set}" = set; then
2883 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2886 # Check whether --with-mgl or --without-mgl was given.
2887 if test "${with_mgl+set}" = set; then
2889 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2892 # Check whether --with-directfb or --without-directfb was given.
2893 if test "${with_directfb+set}" = set; then
2894 withval="$with_directfb"
2895 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2898 # Check whether --with-microwin or --without-microwin was given.
2899 if test "${with_microwin+set}" = set; then
2900 withval="$with_microwin"
2901 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2904 # Check whether --with-x11 or --without-x11 was given.
2905 if test "${with_x11+set}" = set; then
2907 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2912 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2914 # Check whether --enable-nanox or --disable-nanox was given.
2915 if test "${enable_nanox+set}" = set; then
2916 enableval="$enable_nanox"
2918 if test "$enableval" = yes; then
2919 ac_cv_use_nanox='wxUSE_NANOX=yes'
2921 ac_cv_use_nanox='wxUSE_NANOX=no'
2926 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2927 if test "x$LINE" != x ; then
2928 eval "DEFAULT_$LINE"
2933 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2937 eval "$ac_cv_use_nanox"
2938 if test "$no_cache" != 1; then
2939 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2942 if test "$wxUSE_NANOX" = yes; then
2943 echo "$as_me:$LINENO: result: yes" >&5
2944 echo "${ECHO_T}yes" >&6
2946 echo "$as_me:$LINENO: result: no" >&5
2947 echo "${ECHO_T}no" >&6
2951 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2952 if test "${enable_gtk2+set}" = set; then
2953 enableval="$enable_gtk2"
2954 wxUSE_GTK2="$enableval"
2958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2959 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2961 # Check whether --enable-gpe or --disable-gpe was given.
2962 if test "${enable_gpe+set}" = set; then
2963 enableval="$enable_gpe"
2965 if test "$enableval" = yes; then
2966 ac_cv_use_gpe='wxUSE_GPE=yes'
2968 ac_cv_use_gpe='wxUSE_GPE=no'
2973 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2974 if test "x$LINE" != x ; then
2975 eval "DEFAULT_$LINE"
2980 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2984 eval "$ac_cv_use_gpe"
2985 if test "$no_cache" != 1; then
2986 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2989 if test "$wxUSE_GPE" = yes; then
2990 echo "$as_me:$LINENO: result: yes" >&5
2991 echo "${ECHO_T}yes" >&6
2993 echo "$as_me:$LINENO: result: no" >&5
2994 echo "${ECHO_T}no" >&6
2999 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3000 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3003 # Check whether --with-libpng or --without-libpng was given.
3004 if test "${with_libpng+set}" = set; then
3005 withval="$with_libpng"
3007 if test "$withval" = yes; then
3008 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3009 elif test "$withval" = no; then
3010 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3011 elif test "$withval" = sys; then
3012 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3013 elif test "$withval" = builtin; then
3014 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3016 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3017 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3018 { (exit 1); exit 1; }; }
3023 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3024 if test "x$LINE" != x ; then
3025 eval "DEFAULT_$LINE"
3030 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3034 eval "$ac_cv_use_libpng"
3035 if test "$no_cache" != 1; then
3036 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3039 if test "$wxUSE_LIBPNG" = yes; then
3040 echo "$as_me:$LINENO: result: yes" >&5
3041 echo "${ECHO_T}yes" >&6
3042 elif test "$wxUSE_LIBPNG" = no; then
3043 echo "$as_me:$LINENO: result: no" >&5
3044 echo "${ECHO_T}no" >&6
3045 elif test "$wxUSE_LIBPNG" = sys; then
3046 echo "$as_me:$LINENO: result: system version" >&5
3047 echo "${ECHO_T}system version" >&6
3048 elif test "$wxUSE_LIBPNG" = builtin; then
3049 echo "$as_me:$LINENO: result: builtin version" >&5
3050 echo "${ECHO_T}builtin version" >&6
3052 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3053 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3054 { (exit 1); exit 1; }; }
3058 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3059 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3062 # Check whether --with-libjpeg or --without-libjpeg was given.
3063 if test "${with_libjpeg+set}" = set; then
3064 withval="$with_libjpeg"
3066 if test "$withval" = yes; then
3067 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3068 elif test "$withval" = no; then
3069 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3070 elif test "$withval" = sys; then
3071 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3072 elif test "$withval" = builtin; then
3073 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3075 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3076 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3077 { (exit 1); exit 1; }; }
3082 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3083 if test "x$LINE" != x ; then
3084 eval "DEFAULT_$LINE"
3089 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3093 eval "$ac_cv_use_libjpeg"
3094 if test "$no_cache" != 1; then
3095 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3098 if test "$wxUSE_LIBJPEG" = yes; then
3099 echo "$as_me:$LINENO: result: yes" >&5
3100 echo "${ECHO_T}yes" >&6
3101 elif test "$wxUSE_LIBJPEG" = no; then
3102 echo "$as_me:$LINENO: result: no" >&5
3103 echo "${ECHO_T}no" >&6
3104 elif test "$wxUSE_LIBJPEG" = sys; then
3105 echo "$as_me:$LINENO: result: system version" >&5
3106 echo "${ECHO_T}system version" >&6
3107 elif test "$wxUSE_LIBJPEG" = builtin; then
3108 echo "$as_me:$LINENO: result: builtin version" >&5
3109 echo "${ECHO_T}builtin version" >&6
3111 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3112 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3113 { (exit 1); exit 1; }; }
3117 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3118 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3121 # Check whether --with-libtiff or --without-libtiff was given.
3122 if test "${with_libtiff+set}" = set; then
3123 withval="$with_libtiff"
3125 if test "$withval" = yes; then
3126 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3127 elif test "$withval" = no; then
3128 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3129 elif test "$withval" = sys; then
3130 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3131 elif test "$withval" = builtin; then
3132 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3134 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3135 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3136 { (exit 1); exit 1; }; }
3141 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3142 if test "x$LINE" != x ; then
3143 eval "DEFAULT_$LINE"
3148 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3152 eval "$ac_cv_use_libtiff"
3153 if test "$no_cache" != 1; then
3154 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3157 if test "$wxUSE_LIBTIFF" = yes; then
3158 echo "$as_me:$LINENO: result: yes" >&5
3159 echo "${ECHO_T}yes" >&6
3160 elif test "$wxUSE_LIBTIFF" = no; then
3161 echo "$as_me:$LINENO: result: no" >&5
3162 echo "${ECHO_T}no" >&6
3163 elif test "$wxUSE_LIBTIFF" = sys; then
3164 echo "$as_me:$LINENO: result: system version" >&5
3165 echo "${ECHO_T}system version" >&6
3166 elif test "$wxUSE_LIBTIFF" = builtin; then
3167 echo "$as_me:$LINENO: result: builtin version" >&5
3168 echo "${ECHO_T}builtin version" >&6
3170 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3171 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3172 { (exit 1); exit 1; }; }
3176 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3177 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3180 # Check whether --with-libxpm or --without-libxpm was given.
3181 if test "${with_libxpm+set}" = set; then
3182 withval="$with_libxpm"
3184 if test "$withval" = yes; then
3185 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3186 elif test "$withval" = no; then
3187 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3188 elif test "$withval" = sys; then
3189 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3190 elif test "$withval" = builtin; then
3191 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3193 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3194 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3195 { (exit 1); exit 1; }; }
3200 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3201 if test "x$LINE" != x ; then
3202 eval "DEFAULT_$LINE"
3207 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3211 eval "$ac_cv_use_libxpm"
3212 if test "$no_cache" != 1; then
3213 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3216 if test "$wxUSE_LIBXPM" = yes; then
3217 echo "$as_me:$LINENO: result: yes" >&5
3218 echo "${ECHO_T}yes" >&6
3219 elif test "$wxUSE_LIBXPM" = no; then
3220 echo "$as_me:$LINENO: result: no" >&5
3221 echo "${ECHO_T}no" >&6
3222 elif test "$wxUSE_LIBXPM" = sys; then
3223 echo "$as_me:$LINENO: result: system version" >&5
3224 echo "${ECHO_T}system version" >&6
3225 elif test "$wxUSE_LIBXPM" = builtin; then
3226 echo "$as_me:$LINENO: result: builtin version" >&5
3227 echo "${ECHO_T}builtin version" >&6
3229 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3230 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3231 { (exit 1); exit 1; }; }
3236 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3237 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3240 # Check whether --with-libmspack or --without-libmspack was given.
3241 if test "${with_libmspack+set}" = set; then
3242 withval="$with_libmspack"
3244 if test "$withval" = yes; then
3245 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3247 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3252 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3253 if test "x$LINE" != x ; then
3254 eval "DEFAULT_$LINE"
3259 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3263 eval "$ac_cv_use_libmspack"
3264 if test "$no_cache" != 1; then
3265 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3268 if test "$wxUSE_LIBMSPACK" = yes; then
3269 echo "$as_me:$LINENO: result: yes" >&5
3270 echo "${ECHO_T}yes" >&6
3272 echo "$as_me:$LINENO: result: no" >&5
3273 echo "${ECHO_T}no" >&6
3278 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3279 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3282 # Check whether --with-sdl or --without-sdl was given.
3283 if test "${with_sdl+set}" = set; then
3286 if test "$withval" = yes; then
3287 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3289 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3294 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3295 if test "x$LINE" != x ; then
3296 eval "DEFAULT_$LINE"
3301 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3305 eval "$ac_cv_use_sdl"
3306 if test "$no_cache" != 1; then
3307 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3310 if test "$wxUSE_LIBSDL" = yes; then
3311 echo "$as_me:$LINENO: result: yes" >&5
3312 echo "${ECHO_T}yes" >&6
3314 echo "$as_me:$LINENO: result: no" >&5
3315 echo "${ECHO_T}no" >&6
3320 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3321 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3324 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3325 if test "${with_gnomeprint+set}" = set; then
3326 withval="$with_gnomeprint"
3328 if test "$withval" = yes; then
3329 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3331 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3336 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3337 if test "x$LINE" != x ; then
3338 eval "DEFAULT_$LINE"
3343 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3347 eval "$ac_cv_use_gnomeprint"
3348 if test "$no_cache" != 1; then
3349 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3352 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3353 echo "$as_me:$LINENO: result: yes" >&5
3354 echo "${ECHO_T}yes" >&6
3356 echo "$as_me:$LINENO: result: no" >&5
3357 echo "${ECHO_T}no" >&6
3362 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3363 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3366 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3367 if test "${with_gnomevfs+set}" = set; then
3368 withval="$with_gnomevfs"
3370 if test "$withval" = yes; then
3371 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3373 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3378 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3379 if test "x$LINE" != x ; then
3380 eval "DEFAULT_$LINE"
3385 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3389 eval "$ac_cv_use_gnomevfs"
3390 if test "$no_cache" != 1; then
3391 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3394 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3395 echo "$as_me:$LINENO: result: yes" >&5
3396 echo "${ECHO_T}yes" >&6
3398 echo "$as_me:$LINENO: result: no" >&5
3399 echo "${ECHO_T}no" >&6
3404 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3405 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3408 # Check whether --with-hildon or --without-hildon was given.
3409 if test "${with_hildon+set}" = set; then
3410 withval="$with_hildon"
3412 if test "$withval" = yes; then
3413 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3415 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3420 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3421 if test "x$LINE" != x ; then
3422 eval "DEFAULT_$LINE"
3427 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3431 eval "$ac_cv_use_hildon"
3432 if test "$no_cache" != 1; then
3433 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3436 if test "$wxUSE_LIBHILDON" = yes; then
3437 echo "$as_me:$LINENO: result: yes" >&5
3438 echo "${ECHO_T}yes" >&6
3440 echo "$as_me:$LINENO: result: no" >&5
3441 echo "${ECHO_T}no" >&6
3446 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3447 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3450 # Check whether --with-opengl or --without-opengl was given.
3451 if test "${with_opengl+set}" = set; then
3452 withval="$with_opengl"
3454 if test "$withval" = yes; then
3455 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3457 ac_cv_use_opengl='wxUSE_OPENGL=no'
3462 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3463 if test "x$LINE" != x ; then
3464 eval "DEFAULT_$LINE"
3469 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3473 eval "$ac_cv_use_opengl"
3474 if test "$no_cache" != 1; then
3475 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3478 if test "$wxUSE_OPENGL" = yes; then
3479 echo "$as_me:$LINENO: result: yes" >&5
3480 echo "${ECHO_T}yes" >&6
3482 echo "$as_me:$LINENO: result: no" >&5
3483 echo "${ECHO_T}no" >&6
3487 if test "$wxUSE_UNIVERSAL" = "yes"; then
3489 # Check whether --with-themes or --without-themes was given.
3490 if test "${with_themes+set}" = set; then
3491 withval="$with_themes"
3492 wxUNIV_THEMES="$withval"
3500 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3501 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3504 # Check whether --with-dmalloc or --without-dmalloc was given.
3505 if test "${with_dmalloc+set}" = set; then
3506 withval="$with_dmalloc"
3508 if test "$withval" = yes; then
3509 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3511 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3516 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3517 if test "x$LINE" != x ; then
3518 eval "DEFAULT_$LINE"
3523 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3527 eval "$ac_cv_use_dmalloc"
3528 if test "$no_cache" != 1; then
3529 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3532 if test "$wxUSE_DMALLOC" = yes; then
3533 echo "$as_me:$LINENO: result: yes" >&5
3534 echo "${ECHO_T}yes" >&6
3536 echo "$as_me:$LINENO: result: no" >&5
3537 echo "${ECHO_T}no" >&6
3541 echo "$as_me:$LINENO: checking for --with-regex" >&5
3542 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3545 # Check whether --with-regex or --without-regex was given.
3546 if test "${with_regex+set}" = set; then
3547 withval="$with_regex"
3549 if test "$withval" = yes; then
3550 ac_cv_use_regex='wxUSE_REGEX=yes'
3551 elif test "$withval" = no; then
3552 ac_cv_use_regex='wxUSE_REGEX=no'
3553 elif test "$withval" = sys; then
3554 ac_cv_use_regex='wxUSE_REGEX=sys'
3555 elif test "$withval" = builtin; then
3556 ac_cv_use_regex='wxUSE_REGEX=builtin'
3558 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3559 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3560 { (exit 1); exit 1; }; }
3565 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3566 if test "x$LINE" != x ; then
3567 eval "DEFAULT_$LINE"
3572 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3576 eval "$ac_cv_use_regex"
3577 if test "$no_cache" != 1; then
3578 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3581 if test "$wxUSE_REGEX" = yes; then
3582 echo "$as_me:$LINENO: result: yes" >&5
3583 echo "${ECHO_T}yes" >&6
3584 elif test "$wxUSE_REGEX" = no; then
3585 echo "$as_me:$LINENO: result: no" >&5
3586 echo "${ECHO_T}no" >&6
3587 elif test "$wxUSE_REGEX" = sys; then
3588 echo "$as_me:$LINENO: result: system version" >&5
3589 echo "${ECHO_T}system version" >&6
3590 elif test "$wxUSE_REGEX" = builtin; then
3591 echo "$as_me:$LINENO: result: builtin version" >&5
3592 echo "${ECHO_T}builtin version" >&6
3594 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3595 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3596 { (exit 1); exit 1; }; }
3600 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3601 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3604 # Check whether --with-zlib or --without-zlib was given.
3605 if test "${with_zlib+set}" = set; then
3606 withval="$with_zlib"
3608 if test "$withval" = yes; then
3609 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3610 elif test "$withval" = no; then
3611 ac_cv_use_zlib='wxUSE_ZLIB=no'
3612 elif test "$withval" = sys; then
3613 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3614 elif test "$withval" = builtin; then
3615 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3617 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3618 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3619 { (exit 1); exit 1; }; }
3624 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3625 if test "x$LINE" != x ; then
3626 eval "DEFAULT_$LINE"
3631 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3635 eval "$ac_cv_use_zlib"
3636 if test "$no_cache" != 1; then
3637 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3640 if test "$wxUSE_ZLIB" = yes; then
3641 echo "$as_me:$LINENO: result: yes" >&5
3642 echo "${ECHO_T}yes" >&6
3643 elif test "$wxUSE_ZLIB" = no; then
3644 echo "$as_me:$LINENO: result: no" >&5
3645 echo "${ECHO_T}no" >&6
3646 elif test "$wxUSE_ZLIB" = sys; then
3647 echo "$as_me:$LINENO: result: system version" >&5
3648 echo "${ECHO_T}system version" >&6
3649 elif test "$wxUSE_ZLIB" = builtin; then
3650 echo "$as_me:$LINENO: result: builtin version" >&5
3651 echo "${ECHO_T}builtin version" >&6
3653 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3654 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3655 { (exit 1); exit 1; }; }
3659 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3660 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3663 # Check whether --with-odbc or --without-odbc was given.
3664 if test "${with_odbc+set}" = set; then
3665 withval="$with_odbc"
3667 if test "$withval" = yes; then
3668 ac_cv_use_odbc='wxUSE_ODBC=yes'
3669 elif test "$withval" = no; then
3670 ac_cv_use_odbc='wxUSE_ODBC=no'
3671 elif test "$withval" = sys; then
3672 ac_cv_use_odbc='wxUSE_ODBC=sys'
3673 elif test "$withval" = builtin; then
3674 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3676 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3677 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3678 { (exit 1); exit 1; }; }
3683 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3684 if test "x$LINE" != x ; then
3685 eval "DEFAULT_$LINE"
3690 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3694 eval "$ac_cv_use_odbc"
3695 if test "$no_cache" != 1; then
3696 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3699 if test "$wxUSE_ODBC" = yes; then
3700 echo "$as_me:$LINENO: result: yes" >&5
3701 echo "${ECHO_T}yes" >&6
3702 elif test "$wxUSE_ODBC" = no; then
3703 echo "$as_me:$LINENO: result: no" >&5
3704 echo "${ECHO_T}no" >&6
3705 elif test "$wxUSE_ODBC" = sys; then
3706 echo "$as_me:$LINENO: result: system version" >&5
3707 echo "${ECHO_T}system version" >&6
3708 elif test "$wxUSE_ODBC" = builtin; then
3709 echo "$as_me:$LINENO: result: builtin version" >&5
3710 echo "${ECHO_T}builtin version" >&6
3712 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3713 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3714 { (exit 1); exit 1; }; }
3718 echo "$as_me:$LINENO: checking for --with-expat" >&5
3719 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3722 # Check whether --with-expat or --without-expat was given.
3723 if test "${with_expat+set}" = set; then
3724 withval="$with_expat"
3726 if test "$withval" = yes; then
3727 ac_cv_use_expat='wxUSE_EXPAT=yes'
3728 elif test "$withval" = no; then
3729 ac_cv_use_expat='wxUSE_EXPAT=no'
3730 elif test "$withval" = sys; then
3731 ac_cv_use_expat='wxUSE_EXPAT=sys'
3732 elif test "$withval" = builtin; then
3733 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3735 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3736 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3737 { (exit 1); exit 1; }; }
3742 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3743 if test "x$LINE" != x ; then
3744 eval "DEFAULT_$LINE"
3749 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3753 eval "$ac_cv_use_expat"
3754 if test "$no_cache" != 1; then
3755 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3758 if test "$wxUSE_EXPAT" = yes; then
3759 echo "$as_me:$LINENO: result: yes" >&5
3760 echo "${ECHO_T}yes" >&6
3761 elif test "$wxUSE_EXPAT" = no; then
3762 echo "$as_me:$LINENO: result: no" >&5
3763 echo "${ECHO_T}no" >&6
3764 elif test "$wxUSE_EXPAT" = sys; then
3765 echo "$as_me:$LINENO: result: system version" >&5
3766 echo "${ECHO_T}system version" >&6
3767 elif test "$wxUSE_EXPAT" = builtin; then
3768 echo "$as_me:$LINENO: result: builtin version" >&5
3769 echo "${ECHO_T}builtin version" >&6
3771 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3772 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3773 { (exit 1); exit 1; }; }
3780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3781 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3783 # Check whether --enable-shared or --disable-shared was given.
3784 if test "${enable_shared+set}" = set; then
3785 enableval="$enable_shared"
3787 if test "$enableval" = yes; then
3788 ac_cv_use_shared='wxUSE_SHARED=yes'
3790 ac_cv_use_shared='wxUSE_SHARED=no'
3795 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3796 if test "x$LINE" != x ; then
3797 eval "DEFAULT_$LINE"
3802 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3806 eval "$ac_cv_use_shared"
3807 if test "$no_cache" != 1; then
3808 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3811 if test "$wxUSE_SHARED" = yes; then
3812 echo "$as_me:$LINENO: result: yes" >&5
3813 echo "${ECHO_T}yes" >&6
3815 echo "$as_me:$LINENO: result: no" >&5
3816 echo "${ECHO_T}no" >&6
3821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3822 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3824 # Check whether --enable-optimise or --disable-optimise was given.
3825 if test "${enable_optimise+set}" = set; then
3826 enableval="$enable_optimise"
3828 if test "$enableval" = yes; then
3829 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3831 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3836 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3837 if test "x$LINE" != x ; then
3838 eval "DEFAULT_$LINE"
3843 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3847 eval "$ac_cv_use_optimise"
3848 if test "$no_cache" != 1; then
3849 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3852 if test "$wxUSE_OPTIMISE" = yes; then
3853 echo "$as_me:$LINENO: result: yes" >&5
3854 echo "${ECHO_T}yes" >&6
3856 echo "$as_me:$LINENO: result: no" >&5
3857 echo "${ECHO_T}no" >&6
3862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3863 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3865 # Check whether --enable-debug or --disable-debug was given.
3866 if test "${enable_debug+set}" = set; then
3867 enableval="$enable_debug"
3869 if test "$enableval" = yes; then
3870 ac_cv_use_debug='wxUSE_DEBUG=yes'
3872 ac_cv_use_debug='wxUSE_DEBUG=no'
3877 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3878 if test "x$LINE" != x ; then
3879 eval "DEFAULT_$LINE"
3884 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3888 eval "$ac_cv_use_debug"
3889 if test "$no_cache" != 1; then
3890 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3893 if test "$wxUSE_DEBUG" = yes; then
3894 echo "$as_me:$LINENO: result: yes" >&5
3895 echo "${ECHO_T}yes" >&6
3897 echo "$as_me:$LINENO: result: no" >&5
3898 echo "${ECHO_T}no" >&6
3903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3904 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3906 # Check whether --enable-stl or --disable-stl was given.
3907 if test "${enable_stl+set}" = set; then
3908 enableval="$enable_stl"
3910 if test "$enableval" = yes; then
3911 ac_cv_use_stl='wxUSE_STL=yes'
3913 ac_cv_use_stl='wxUSE_STL=no'
3918 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3919 if test "x$LINE" != x ; then
3920 eval "DEFAULT_$LINE"
3925 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3929 eval "$ac_cv_use_stl"
3930 if test "$no_cache" != 1; then
3931 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3934 if test "$wxUSE_STL" = yes; then
3935 echo "$as_me:$LINENO: result: yes" >&5
3936 echo "${ECHO_T}yes" >&6
3938 echo "$as_me:$LINENO: result: no" >&5
3939 echo "${ECHO_T}no" >&6
3942 if test "$USE_OS2" = "1"; then
3943 DEFAULT_wxUSE_OMF=no
3946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3947 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3949 # Check whether --enable-omf or --disable-omf was given.
3950 if test "${enable_omf+set}" = set; then
3951 enableval="$enable_omf"
3953 if test "$enableval" = yes; then
3954 ac_cv_use_omf='wxUSE_OMF=yes'
3956 ac_cv_use_omf='wxUSE_OMF=no'
3961 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3962 if test "x$LINE" != x ; then
3963 eval "DEFAULT_$LINE"
3968 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3972 eval "$ac_cv_use_omf"
3973 if test "$no_cache" != 1; then
3974 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3977 if test "$wxUSE_OMF" = yes; then
3978 echo "$as_me:$LINENO: result: yes" >&5
3979 echo "${ECHO_T}yes" >&6
3981 echo "$as_me:$LINENO: result: no" >&5
3982 echo "${ECHO_T}no" >&6
3987 if test "$wxUSE_DEBUG" = "yes"; then
3988 DEFAULT_wxUSE_DEBUG_FLAG=yes
3989 DEFAULT_wxUSE_DEBUG_INFO=yes
3991 elif test "$wxUSE_DEBUG" = "no"; then
3992 DEFAULT_wxUSE_DEBUG_FLAG=no
3993 DEFAULT_wxUSE_DEBUG_INFO=no
3999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4000 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4002 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4003 if test "${enable_debug_flag+set}" = set; then
4004 enableval="$enable_debug_flag"
4006 if test "$enableval" = yes; then
4007 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4009 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4014 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4015 if test "x$LINE" != x ; then
4016 eval "DEFAULT_$LINE"
4021 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4025 eval "$ac_cv_use_debug_flag"
4026 if test "$no_cache" != 1; then
4027 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4030 if test "$wxUSE_DEBUG_FLAG" = yes; then
4031 echo "$as_me:$LINENO: result: yes" >&5
4032 echo "${ECHO_T}yes" >&6
4034 echo "$as_me:$LINENO: result: no" >&5
4035 echo "${ECHO_T}no" >&6
4040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4041 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4043 # Check whether --enable-debug_info or --disable-debug_info was given.
4044 if test "${enable_debug_info+set}" = set; then
4045 enableval="$enable_debug_info"
4047 if test "$enableval" = yes; then
4048 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4050 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4055 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4056 if test "x$LINE" != x ; then
4057 eval "DEFAULT_$LINE"
4062 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4066 eval "$ac_cv_use_debug_info"
4067 if test "$no_cache" != 1; then
4068 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4071 if test "$wxUSE_DEBUG_INFO" = yes; then
4072 echo "$as_me:$LINENO: result: yes" >&5
4073 echo "${ECHO_T}yes" >&6
4075 echo "$as_me:$LINENO: result: no" >&5
4076 echo "${ECHO_T}no" >&6
4081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4082 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4084 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4085 if test "${enable_debug_gdb+set}" = set; then
4086 enableval="$enable_debug_gdb"
4088 if test "$enableval" = yes; then
4089 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4091 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4096 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4097 if test "x$LINE" != x ; then
4098 eval "DEFAULT_$LINE"
4103 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4107 eval "$ac_cv_use_debug_gdb"
4108 if test "$no_cache" != 1; then
4109 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4112 if test "$wxUSE_DEBUG_GDB" = yes; then
4113 echo "$as_me:$LINENO: result: yes" >&5
4114 echo "${ECHO_T}yes" >&6
4116 echo "$as_me:$LINENO: result: no" >&5
4117 echo "${ECHO_T}no" >&6
4122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4123 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4125 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4126 if test "${enable_debug_cntxt+set}" = set; then
4127 enableval="$enable_debug_cntxt"
4129 if test "$enableval" = yes; then
4130 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4132 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4137 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4138 if test "x$LINE" != x ; then
4139 eval "DEFAULT_$LINE"
4144 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4148 eval "$ac_cv_use_debug_cntxt"
4149 if test "$no_cache" != 1; then
4150 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4153 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4154 echo "$as_me:$LINENO: result: yes" >&5
4155 echo "${ECHO_T}yes" >&6
4157 echo "$as_me:$LINENO: result: no" >&5
4158 echo "${ECHO_T}no" >&6
4163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4164 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4166 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4167 if test "${enable_mem_tracing+set}" = set; then
4168 enableval="$enable_mem_tracing"
4170 if test "$enableval" = yes; then
4171 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4173 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4178 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4179 if test "x$LINE" != x ; then
4180 eval "DEFAULT_$LINE"
4185 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4189 eval "$ac_cv_use_mem_tracing"
4190 if test "$no_cache" != 1; then
4191 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4194 if test "$wxUSE_MEM_TRACING" = yes; then
4195 echo "$as_me:$LINENO: result: yes" >&5
4196 echo "${ECHO_T}yes" >&6
4198 echo "$as_me:$LINENO: result: no" >&5
4199 echo "${ECHO_T}no" >&6
4204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4205 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4207 # Check whether --enable-profile or --disable-profile was given.
4208 if test "${enable_profile+set}" = set; then
4209 enableval="$enable_profile"
4211 if test "$enableval" = yes; then
4212 ac_cv_use_profile='wxUSE_PROFILE=yes'
4214 ac_cv_use_profile='wxUSE_PROFILE=no'
4219 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4220 if test "x$LINE" != x ; then
4221 eval "DEFAULT_$LINE"
4226 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4230 eval "$ac_cv_use_profile"
4231 if test "$no_cache" != 1; then
4232 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4235 if test "$wxUSE_PROFILE" = yes; then
4236 echo "$as_me:$LINENO: result: yes" >&5
4237 echo "${ECHO_T}yes" >&6
4239 echo "$as_me:$LINENO: result: no" >&5
4240 echo "${ECHO_T}no" >&6
4245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4246 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4248 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4249 if test "${enable_no_rtti+set}" = set; then
4250 enableval="$enable_no_rtti"
4252 if test "$enableval" = yes; then
4253 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4255 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4260 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4261 if test "x$LINE" != x ; then
4262 eval "DEFAULT_$LINE"
4267 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4271 eval "$ac_cv_use_no_rtti"
4272 if test "$no_cache" != 1; then
4273 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4276 if test "$wxUSE_NO_RTTI" = yes; then
4277 echo "$as_me:$LINENO: result: yes" >&5
4278 echo "${ECHO_T}yes" >&6
4280 echo "$as_me:$LINENO: result: no" >&5
4281 echo "${ECHO_T}no" >&6
4286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4287 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4289 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4290 if test "${enable_no_exceptions+set}" = set; then
4291 enableval="$enable_no_exceptions"
4293 if test "$enableval" = yes; then
4294 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4296 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4301 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4302 if test "x$LINE" != x ; then
4303 eval "DEFAULT_$LINE"
4308 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4312 eval "$ac_cv_use_no_exceptions"
4313 if test "$no_cache" != 1; then
4314 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4317 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4318 echo "$as_me:$LINENO: result: yes" >&5
4319 echo "${ECHO_T}yes" >&6
4321 echo "$as_me:$LINENO: result: no" >&5
4322 echo "${ECHO_T}no" >&6
4327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4328 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4330 # Check whether --enable-permissive or --disable-permissive was given.
4331 if test "${enable_permissive+set}" = set; then
4332 enableval="$enable_permissive"
4334 if test "$enableval" = yes; then
4335 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4337 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4342 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4343 if test "x$LINE" != x ; then
4344 eval "DEFAULT_$LINE"
4349 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4353 eval "$ac_cv_use_permissive"
4354 if test "$no_cache" != 1; then
4355 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4358 if test "$wxUSE_PERMISSIVE" = yes; then
4359 echo "$as_me:$LINENO: result: yes" >&5
4360 echo "${ECHO_T}yes" >&6
4362 echo "$as_me:$LINENO: result: no" >&5
4363 echo "${ECHO_T}no" >&6
4368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4369 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4371 # Check whether --enable-no_deps or --disable-no_deps was given.
4372 if test "${enable_no_deps+set}" = set; then
4373 enableval="$enable_no_deps"
4375 if test "$enableval" = yes; then
4376 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4378 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4383 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4384 if test "x$LINE" != x ; then
4385 eval "DEFAULT_$LINE"
4390 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4394 eval "$ac_cv_use_no_deps"
4395 if test "$no_cache" != 1; then
4396 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4399 if test "$wxUSE_NO_DEPS" = yes; then
4400 echo "$as_me:$LINENO: result: yes" >&5
4401 echo "${ECHO_T}yes" >&6
4403 echo "$as_me:$LINENO: result: no" >&5
4404 echo "${ECHO_T}no" >&6
4409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4410 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4412 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4413 if test "${enable_universal_binary+set}" = set; then
4414 enableval="$enable_universal_binary"
4416 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4420 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4421 if test "x$LINE" != x ; then
4422 eval "DEFAULT_$LINE"
4423 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4426 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4431 eval "$wx_cv_use_universal_binary"
4432 if test "$no_cache" != 1; then
4433 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4436 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4437 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4443 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4445 # Check whether --enable-compat24 or --disable-compat24 was given.
4446 if test "${enable_compat24+set}" = set; then
4447 enableval="$enable_compat24"
4449 if test "$enableval" = yes; then
4450 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4452 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4457 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4458 if test "x$LINE" != x ; then
4459 eval "DEFAULT_$LINE"
4464 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4468 eval "$ac_cv_use_compat24"
4469 if test "$no_cache" != 1; then
4470 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4473 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4474 echo "$as_me:$LINENO: result: yes" >&5
4475 echo "${ECHO_T}yes" >&6
4477 echo "$as_me:$LINENO: result: no" >&5
4478 echo "${ECHO_T}no" >&6
4482 enablestring=disable
4483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4484 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4486 # Check whether --enable-compat26 or --disable-compat26 was given.
4487 if test "${enable_compat26+set}" = set; then
4488 enableval="$enable_compat26"
4490 if test "$enableval" = yes; then
4491 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4493 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4498 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4499 if test "x$LINE" != x ; then
4500 eval "DEFAULT_$LINE"
4505 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4509 eval "$ac_cv_use_compat26"
4510 if test "$no_cache" != 1; then
4511 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4514 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4515 echo "$as_me:$LINENO: result: yes" >&5
4516 echo "${ECHO_T}yes" >&6
4518 echo "$as_me:$LINENO: result: no" >&5
4519 echo "${ECHO_T}no" >&6
4525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4526 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4528 # Check whether --enable-rpath or --disable-rpath was given.
4529 if test "${enable_rpath+set}" = set; then
4530 enableval="$enable_rpath"
4532 if test "$enableval" = yes; then
4533 ac_cv_use_rpath='wxUSE_RPATH=yes'
4535 ac_cv_use_rpath='wxUSE_RPATH=no'
4540 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4541 if test "x$LINE" != x ; then
4542 eval "DEFAULT_$LINE"
4547 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4551 eval "$ac_cv_use_rpath"
4552 if test "$no_cache" != 1; then
4553 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4556 if test "$wxUSE_RPATH" = yes; then
4557 echo "$as_me:$LINENO: result: yes" >&5
4558 echo "${ECHO_T}yes" >&6
4560 echo "$as_me:$LINENO: result: no" >&5
4561 echo "${ECHO_T}no" >&6
4569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4570 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4572 # Check whether --enable-intl or --disable-intl was given.
4573 if test "${enable_intl+set}" = set; then
4574 enableval="$enable_intl"
4576 if test "$enableval" = yes; then
4577 ac_cv_use_intl='wxUSE_INTL=yes'
4579 ac_cv_use_intl='wxUSE_INTL=no'
4584 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4585 if test "x$LINE" != x ; then
4586 eval "DEFAULT_$LINE"
4591 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4595 eval "$ac_cv_use_intl"
4596 if test "$no_cache" != 1; then
4597 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4600 if test "$wxUSE_INTL" = yes; then
4601 echo "$as_me:$LINENO: result: yes" >&5
4602 echo "${ECHO_T}yes" >&6
4604 echo "$as_me:$LINENO: result: no" >&5
4605 echo "${ECHO_T}no" >&6
4610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4611 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4613 # Check whether --enable-config or --disable-config was given.
4614 if test "${enable_config+set}" = set; then
4615 enableval="$enable_config"
4617 if test "$enableval" = yes; then
4618 ac_cv_use_config='wxUSE_CONFIG=yes'
4620 ac_cv_use_config='wxUSE_CONFIG=no'
4625 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4626 if test "x$LINE" != x ; then
4627 eval "DEFAULT_$LINE"
4632 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4636 eval "$ac_cv_use_config"
4637 if test "$no_cache" != 1; then
4638 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4641 if test "$wxUSE_CONFIG" = yes; then
4642 echo "$as_me:$LINENO: result: yes" >&5
4643 echo "${ECHO_T}yes" >&6
4645 echo "$as_me:$LINENO: result: no" >&5
4646 echo "${ECHO_T}no" >&6
4652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4653 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4655 # Check whether --enable-protocols or --disable-protocols was given.
4656 if test "${enable_protocols+set}" = set; then
4657 enableval="$enable_protocols"
4659 if test "$enableval" = yes; then
4660 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4662 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4667 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4668 if test "x$LINE" != x ; then
4669 eval "DEFAULT_$LINE"
4674 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4678 eval "$ac_cv_use_protocols"
4679 if test "$no_cache" != 1; then
4680 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4683 if test "$wxUSE_PROTOCOL" = yes; then
4684 echo "$as_me:$LINENO: result: yes" >&5
4685 echo "${ECHO_T}yes" >&6
4687 echo "$as_me:$LINENO: result: no" >&5
4688 echo "${ECHO_T}no" >&6
4693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4694 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4696 # Check whether --enable-ftp or --disable-ftp was given.
4697 if test "${enable_ftp+set}" = set; then
4698 enableval="$enable_ftp"
4700 if test "$enableval" = yes; then
4701 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4703 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4708 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4709 if test "x$LINE" != x ; then
4710 eval "DEFAULT_$LINE"
4715 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4719 eval "$ac_cv_use_ftp"
4720 if test "$no_cache" != 1; then
4721 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4724 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4725 echo "$as_me:$LINENO: result: yes" >&5
4726 echo "${ECHO_T}yes" >&6
4728 echo "$as_me:$LINENO: result: no" >&5
4729 echo "${ECHO_T}no" >&6
4734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4735 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4737 # Check whether --enable-http or --disable-http was given.
4738 if test "${enable_http+set}" = set; then
4739 enableval="$enable_http"
4741 if test "$enableval" = yes; then
4742 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4744 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4749 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4750 if test "x$LINE" != x ; then
4751 eval "DEFAULT_$LINE"
4756 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4760 eval "$ac_cv_use_http"
4761 if test "$no_cache" != 1; then
4762 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4765 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4766 echo "$as_me:$LINENO: result: yes" >&5
4767 echo "${ECHO_T}yes" >&6
4769 echo "$as_me:$LINENO: result: no" >&5
4770 echo "${ECHO_T}no" >&6
4775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4776 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4778 # Check whether --enable-fileproto or --disable-fileproto was given.
4779 if test "${enable_fileproto+set}" = set; then
4780 enableval="$enable_fileproto"
4782 if test "$enableval" = yes; then
4783 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4785 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4790 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4791 if test "x$LINE" != x ; then
4792 eval "DEFAULT_$LINE"
4797 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4801 eval "$ac_cv_use_fileproto"
4802 if test "$no_cache" != 1; then
4803 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4806 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4807 echo "$as_me:$LINENO: result: yes" >&5
4808 echo "${ECHO_T}yes" >&6
4810 echo "$as_me:$LINENO: result: no" >&5
4811 echo "${ECHO_T}no" >&6
4816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4817 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4819 # Check whether --enable-sockets or --disable-sockets was given.
4820 if test "${enable_sockets+set}" = set; then
4821 enableval="$enable_sockets"
4823 if test "$enableval" = yes; then
4824 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4826 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4831 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4832 if test "x$LINE" != x ; then
4833 eval "DEFAULT_$LINE"
4838 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4842 eval "$ac_cv_use_sockets"
4843 if test "$no_cache" != 1; then
4844 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4847 if test "$wxUSE_SOCKETS" = yes; then
4848 echo "$as_me:$LINENO: result: yes" >&5
4849 echo "${ECHO_T}yes" >&6
4851 echo "$as_me:$LINENO: result: no" >&5
4852 echo "${ECHO_T}no" >&6
4857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4858 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4860 # Check whether --enable-ole or --disable-ole was given.
4861 if test "${enable_ole+set}" = set; then
4862 enableval="$enable_ole"
4864 if test "$enableval" = yes; then
4865 ac_cv_use_ole='wxUSE_OLE=yes'
4867 ac_cv_use_ole='wxUSE_OLE=no'
4872 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4873 if test "x$LINE" != x ; then
4874 eval "DEFAULT_$LINE"
4879 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4883 eval "$ac_cv_use_ole"
4884 if test "$no_cache" != 1; then
4885 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4888 if test "$wxUSE_OLE" = yes; then
4889 echo "$as_me:$LINENO: result: yes" >&5
4890 echo "${ECHO_T}yes" >&6
4892 echo "$as_me:$LINENO: result: no" >&5
4893 echo "${ECHO_T}no" >&6
4898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4899 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4901 # Check whether --enable-dataobj or --disable-dataobj was given.
4902 if test "${enable_dataobj+set}" = set; then
4903 enableval="$enable_dataobj"
4905 if test "$enableval" = yes; then
4906 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4908 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4913 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4914 if test "x$LINE" != x ; then
4915 eval "DEFAULT_$LINE"
4920 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4924 eval "$ac_cv_use_dataobj"
4925 if test "$no_cache" != 1; then
4926 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4929 if test "$wxUSE_DATAOBJ" = yes; then
4930 echo "$as_me:$LINENO: result: yes" >&5
4931 echo "${ECHO_T}yes" >&6
4933 echo "$as_me:$LINENO: result: no" >&5
4934 echo "${ECHO_T}no" >&6
4940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4941 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4943 # Check whether --enable-ipc or --disable-ipc was given.
4944 if test "${enable_ipc+set}" = set; then
4945 enableval="$enable_ipc"
4947 if test "$enableval" = yes; then
4948 ac_cv_use_ipc='wxUSE_IPC=yes'
4950 ac_cv_use_ipc='wxUSE_IPC=no'
4955 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4956 if test "x$LINE" != x ; then
4957 eval "DEFAULT_$LINE"
4962 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4966 eval "$ac_cv_use_ipc"
4967 if test "$no_cache" != 1; then
4968 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4971 if test "$wxUSE_IPC" = yes; then
4972 echo "$as_me:$LINENO: result: yes" >&5
4973 echo "${ECHO_T}yes" >&6
4975 echo "$as_me:$LINENO: result: no" >&5
4976 echo "${ECHO_T}no" >&6
4982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4983 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4985 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4986 if test "${enable_apple_ieee+set}" = set; then
4987 enableval="$enable_apple_ieee"
4989 if test "$enableval" = yes; then
4990 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4992 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4997 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4998 if test "x$LINE" != x ; then
4999 eval "DEFAULT_$LINE"
5004 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5008 eval "$ac_cv_use_apple_ieee"
5009 if test "$no_cache" != 1; then
5010 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5013 if test "$wxUSE_APPLE_IEEE" = yes; then
5014 echo "$as_me:$LINENO: result: yes" >&5
5015 echo "${ECHO_T}yes" >&6
5017 echo "$as_me:$LINENO: result: no" >&5
5018 echo "${ECHO_T}no" >&6
5023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5024 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5026 # Check whether --enable-arcstream or --disable-arcstream was given.
5027 if test "${enable_arcstream+set}" = set; then
5028 enableval="$enable_arcstream"
5030 if test "$enableval" = yes; then
5031 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5033 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5038 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5039 if test "x$LINE" != x ; then
5040 eval "DEFAULT_$LINE"
5045 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5049 eval "$ac_cv_use_arcstream"
5050 if test "$no_cache" != 1; then
5051 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5054 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5055 echo "$as_me:$LINENO: result: yes" >&5
5056 echo "${ECHO_T}yes" >&6
5058 echo "$as_me:$LINENO: result: no" >&5
5059 echo "${ECHO_T}no" >&6
5064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5065 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5067 # Check whether --enable-backtrace or --disable-backtrace was given.
5068 if test "${enable_backtrace+set}" = set; then
5069 enableval="$enable_backtrace"
5071 if test "$enableval" = yes; then
5072 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5074 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5079 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5080 if test "x$LINE" != x ; then
5081 eval "DEFAULT_$LINE"
5086 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5090 eval "$ac_cv_use_backtrace"
5091 if test "$no_cache" != 1; then
5092 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5095 if test "$wxUSE_STACKWALKER" = yes; then
5096 echo "$as_me:$LINENO: result: yes" >&5
5097 echo "${ECHO_T}yes" >&6
5099 echo "$as_me:$LINENO: result: no" >&5
5100 echo "${ECHO_T}no" >&6
5105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5106 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5108 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5109 if test "${enable_catch_segvs+set}" = set; then
5110 enableval="$enable_catch_segvs"
5112 if test "$enableval" = yes; then
5113 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5115 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5120 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5121 if test "x$LINE" != x ; then
5122 eval "DEFAULT_$LINE"
5127 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5131 eval "$ac_cv_use_catch_segvs"
5132 if test "$no_cache" != 1; then
5133 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5136 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5137 echo "$as_me:$LINENO: result: yes" >&5
5138 echo "${ECHO_T}yes" >&6
5140 echo "$as_me:$LINENO: result: no" >&5
5141 echo "${ECHO_T}no" >&6
5146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5147 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5149 # Check whether --enable-cmdline or --disable-cmdline was given.
5150 if test "${enable_cmdline+set}" = set; then
5151 enableval="$enable_cmdline"
5153 if test "$enableval" = yes; then
5154 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5156 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5161 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5162 if test "x$LINE" != x ; then
5163 eval "DEFAULT_$LINE"
5168 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5172 eval "$ac_cv_use_cmdline"
5173 if test "$no_cache" != 1; then
5174 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5177 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5178 echo "$as_me:$LINENO: result: yes" >&5
5179 echo "${ECHO_T}yes" >&6
5181 echo "$as_me:$LINENO: result: no" >&5
5182 echo "${ECHO_T}no" >&6
5187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5188 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5190 # Check whether --enable-datetime or --disable-datetime was given.
5191 if test "${enable_datetime+set}" = set; then
5192 enableval="$enable_datetime"
5194 if test "$enableval" = yes; then
5195 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5197 ac_cv_use_datetime='wxUSE_DATETIME=no'
5202 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5203 if test "x$LINE" != x ; then
5204 eval "DEFAULT_$LINE"
5209 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5213 eval "$ac_cv_use_datetime"
5214 if test "$no_cache" != 1; then
5215 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5218 if test "$wxUSE_DATETIME" = yes; then
5219 echo "$as_me:$LINENO: result: yes" >&5
5220 echo "${ECHO_T}yes" >&6
5222 echo "$as_me:$LINENO: result: no" >&5
5223 echo "${ECHO_T}no" >&6
5228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5229 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5231 # Check whether --enable-debugreport or --disable-debugreport was given.
5232 if test "${enable_debugreport+set}" = set; then
5233 enableval="$enable_debugreport"
5235 if test "$enableval" = yes; then
5236 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5238 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5243 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5244 if test "x$LINE" != x ; then
5245 eval "DEFAULT_$LINE"
5250 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5254 eval "$ac_cv_use_debugreport"
5255 if test "$no_cache" != 1; then
5256 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5259 if test "$wxUSE_DEBUGREPORT" = yes; then
5260 echo "$as_me:$LINENO: result: yes" >&5
5261 echo "${ECHO_T}yes" >&6
5263 echo "$as_me:$LINENO: result: no" >&5
5264 echo "${ECHO_T}no" >&6
5269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5270 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5272 # Check whether --enable-dialupman or --disable-dialupman was given.
5273 if test "${enable_dialupman+set}" = set; then
5274 enableval="$enable_dialupman"
5276 if test "$enableval" = yes; then
5277 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5279 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5284 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5285 if test "x$LINE" != x ; then
5286 eval "DEFAULT_$LINE"
5291 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5295 eval "$ac_cv_use_dialupman"
5296 if test "$no_cache" != 1; then
5297 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5300 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5301 echo "$as_me:$LINENO: result: yes" >&5
5302 echo "${ECHO_T}yes" >&6
5304 echo "$as_me:$LINENO: result: no" >&5
5305 echo "${ECHO_T}no" >&6
5310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5311 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5313 # Check whether --enable-dynlib or --disable-dynlib was given.
5314 if test "${enable_dynlib+set}" = set; then
5315 enableval="$enable_dynlib"
5317 if test "$enableval" = yes; then
5318 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5320 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5325 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5326 if test "x$LINE" != x ; then
5327 eval "DEFAULT_$LINE"
5332 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5336 eval "$ac_cv_use_dynlib"
5337 if test "$no_cache" != 1; then
5338 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5341 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5342 echo "$as_me:$LINENO: result: yes" >&5
5343 echo "${ECHO_T}yes" >&6
5345 echo "$as_me:$LINENO: result: no" >&5
5346 echo "${ECHO_T}no" >&6
5351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5352 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5354 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5355 if test "${enable_dynamicloader+set}" = set; then
5356 enableval="$enable_dynamicloader"
5358 if test "$enableval" = yes; then
5359 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5361 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5366 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5367 if test "x$LINE" != x ; then
5368 eval "DEFAULT_$LINE"
5373 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5377 eval "$ac_cv_use_dynamicloader"
5378 if test "$no_cache" != 1; then
5379 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5382 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5383 echo "$as_me:$LINENO: result: yes" >&5
5384 echo "${ECHO_T}yes" >&6
5386 echo "$as_me:$LINENO: result: no" >&5
5387 echo "${ECHO_T}no" >&6
5392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5393 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5395 # Check whether --enable-exceptions or --disable-exceptions was given.
5396 if test "${enable_exceptions+set}" = set; then
5397 enableval="$enable_exceptions"
5399 if test "$enableval" = yes; then
5400 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5402 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5407 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5408 if test "x$LINE" != x ; then
5409 eval "DEFAULT_$LINE"
5414 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5418 eval "$ac_cv_use_exceptions"
5419 if test "$no_cache" != 1; then
5420 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5423 if test "$wxUSE_EXCEPTIONS" = yes; then
5424 echo "$as_me:$LINENO: result: yes" >&5
5425 echo "${ECHO_T}yes" >&6
5427 echo "$as_me:$LINENO: result: no" >&5
5428 echo "${ECHO_T}no" >&6
5433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5434 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5436 # Check whether --enable-ffile or --disable-ffile was given.
5437 if test "${enable_ffile+set}" = set; then
5438 enableval="$enable_ffile"
5440 if test "$enableval" = yes; then
5441 ac_cv_use_ffile='wxUSE_FFILE=yes'
5443 ac_cv_use_ffile='wxUSE_FFILE=no'
5448 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5449 if test "x$LINE" != x ; then
5450 eval "DEFAULT_$LINE"
5455 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5459 eval "$ac_cv_use_ffile"
5460 if test "$no_cache" != 1; then
5461 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5464 if test "$wxUSE_FFILE" = yes; then
5465 echo "$as_me:$LINENO: result: yes" >&5
5466 echo "${ECHO_T}yes" >&6
5468 echo "$as_me:$LINENO: result: no" >&5
5469 echo "${ECHO_T}no" >&6
5474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5475 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5477 # Check whether --enable-file or --disable-file was given.
5478 if test "${enable_file+set}" = set; then
5479 enableval="$enable_file"
5481 if test "$enableval" = yes; then
5482 ac_cv_use_file='wxUSE_FILE=yes'
5484 ac_cv_use_file='wxUSE_FILE=no'
5489 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5490 if test "x$LINE" != x ; then
5491 eval "DEFAULT_$LINE"
5496 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5500 eval "$ac_cv_use_file"
5501 if test "$no_cache" != 1; then
5502 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5505 if test "$wxUSE_FILE" = yes; then
5506 echo "$as_me:$LINENO: result: yes" >&5
5507 echo "${ECHO_T}yes" >&6
5509 echo "$as_me:$LINENO: result: no" >&5
5510 echo "${ECHO_T}no" >&6
5515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5516 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5518 # Check whether --enable-filesystem or --disable-filesystem was given.
5519 if test "${enable_filesystem+set}" = set; then
5520 enableval="$enable_filesystem"
5522 if test "$enableval" = yes; then
5523 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5525 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5530 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5531 if test "x$LINE" != x ; then
5532 eval "DEFAULT_$LINE"
5537 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5541 eval "$ac_cv_use_filesystem"
5542 if test "$no_cache" != 1; then
5543 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5546 if test "$wxUSE_FILESYSTEM" = yes; then
5547 echo "$as_me:$LINENO: result: yes" >&5
5548 echo "${ECHO_T}yes" >&6
5550 echo "$as_me:$LINENO: result: no" >&5
5551 echo "${ECHO_T}no" >&6
5556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5557 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5559 # Check whether --enable-fontmap or --disable-fontmap was given.
5560 if test "${enable_fontmap+set}" = set; then
5561 enableval="$enable_fontmap"
5563 if test "$enableval" = yes; then
5564 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5566 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5571 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5572 if test "x$LINE" != x ; then
5573 eval "DEFAULT_$LINE"
5578 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5582 eval "$ac_cv_use_fontmap"
5583 if test "$no_cache" != 1; then
5584 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5587 if test "$wxUSE_FONTMAP" = yes; then
5588 echo "$as_me:$LINENO: result: yes" >&5
5589 echo "${ECHO_T}yes" >&6
5591 echo "$as_me:$LINENO: result: no" >&5
5592 echo "${ECHO_T}no" >&6
5597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5598 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5600 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5601 if test "${enable_fs_inet+set}" = set; then
5602 enableval="$enable_fs_inet"
5604 if test "$enableval" = yes; then
5605 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5607 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5612 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5613 if test "x$LINE" != x ; then
5614 eval "DEFAULT_$LINE"
5619 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5623 eval "$ac_cv_use_fs_inet"
5624 if test "$no_cache" != 1; then
5625 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5628 if test "$wxUSE_FS_INET" = yes; then
5629 echo "$as_me:$LINENO: result: yes" >&5
5630 echo "${ECHO_T}yes" >&6
5632 echo "$as_me:$LINENO: result: no" >&5
5633 echo "${ECHO_T}no" >&6
5638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5639 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5641 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5642 if test "${enable_fs_zip+set}" = set; then
5643 enableval="$enable_fs_zip"
5645 if test "$enableval" = yes; then
5646 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5648 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5653 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5654 if test "x$LINE" != x ; then
5655 eval "DEFAULT_$LINE"
5660 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5664 eval "$ac_cv_use_fs_zip"
5665 if test "$no_cache" != 1; then
5666 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5669 if test "$wxUSE_FS_ZIP" = yes; then
5670 echo "$as_me:$LINENO: result: yes" >&5
5671 echo "${ECHO_T}yes" >&6
5673 echo "$as_me:$LINENO: result: no" >&5
5674 echo "${ECHO_T}no" >&6
5679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5680 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5682 # Check whether --enable-geometry or --disable-geometry was given.
5683 if test "${enable_geometry+set}" = set; then
5684 enableval="$enable_geometry"
5686 if test "$enableval" = yes; then
5687 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5689 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5694 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5695 if test "x$LINE" != x ; then
5696 eval "DEFAULT_$LINE"
5701 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5705 eval "$ac_cv_use_geometry"
5706 if test "$no_cache" != 1; then
5707 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5710 if test "$wxUSE_GEOMETRY" = yes; then
5711 echo "$as_me:$LINENO: result: yes" >&5
5712 echo "${ECHO_T}yes" >&6
5714 echo "$as_me:$LINENO: result: no" >&5
5715 echo "${ECHO_T}no" >&6
5720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5721 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5723 # Check whether --enable-log or --disable-log was given.
5724 if test "${enable_log+set}" = set; then
5725 enableval="$enable_log"
5727 if test "$enableval" = yes; then
5728 ac_cv_use_log='wxUSE_LOG=yes'
5730 ac_cv_use_log='wxUSE_LOG=no'
5735 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5736 if test "x$LINE" != x ; then
5737 eval "DEFAULT_$LINE"
5742 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5746 eval "$ac_cv_use_log"
5747 if test "$no_cache" != 1; then
5748 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5751 if test "$wxUSE_LOG" = yes; then
5752 echo "$as_me:$LINENO: result: yes" >&5
5753 echo "${ECHO_T}yes" >&6
5755 echo "$as_me:$LINENO: result: no" >&5
5756 echo "${ECHO_T}no" >&6
5761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5762 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5764 # Check whether --enable-longlong or --disable-longlong was given.
5765 if test "${enable_longlong+set}" = set; then
5766 enableval="$enable_longlong"
5768 if test "$enableval" = yes; then
5769 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5771 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5776 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5777 if test "x$LINE" != x ; then
5778 eval "DEFAULT_$LINE"
5783 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5787 eval "$ac_cv_use_longlong"
5788 if test "$no_cache" != 1; then
5789 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5792 if test "$wxUSE_LONGLONG" = yes; then
5793 echo "$as_me:$LINENO: result: yes" >&5
5794 echo "${ECHO_T}yes" >&6
5796 echo "$as_me:$LINENO: result: no" >&5
5797 echo "${ECHO_T}no" >&6
5802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5803 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5805 # Check whether --enable-mimetype or --disable-mimetype was given.
5806 if test "${enable_mimetype+set}" = set; then
5807 enableval="$enable_mimetype"
5809 if test "$enableval" = yes; then
5810 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5812 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5817 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5818 if test "x$LINE" != x ; then
5819 eval "DEFAULT_$LINE"
5824 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5828 eval "$ac_cv_use_mimetype"
5829 if test "$no_cache" != 1; then
5830 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5833 if test "$wxUSE_MIMETYPE" = yes; then
5834 echo "$as_me:$LINENO: result: yes" >&5
5835 echo "${ECHO_T}yes" >&6
5837 echo "$as_me:$LINENO: result: no" >&5
5838 echo "${ECHO_T}no" >&6
5843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5844 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5846 # Check whether --enable-mslu or --disable-mslu was given.
5847 if test "${enable_mslu+set}" = set; then
5848 enableval="$enable_mslu"
5850 if test "$enableval" = yes; then
5851 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5853 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5858 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5859 if test "x$LINE" != x ; then
5860 eval "DEFAULT_$LINE"
5865 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5869 eval "$ac_cv_use_mslu"
5870 if test "$no_cache" != 1; then
5871 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5874 if test "$wxUSE_UNICODE_MSLU" = yes; then
5875 echo "$as_me:$LINENO: result: yes" >&5
5876 echo "${ECHO_T}yes" >&6
5878 echo "$as_me:$LINENO: result: no" >&5
5879 echo "${ECHO_T}no" >&6
5884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5885 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5887 # Check whether --enable-snglinst or --disable-snglinst was given.
5888 if test "${enable_snglinst+set}" = set; then
5889 enableval="$enable_snglinst"
5891 if test "$enableval" = yes; then
5892 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5894 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5899 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5900 if test "x$LINE" != x ; then
5901 eval "DEFAULT_$LINE"
5906 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5910 eval "$ac_cv_use_snglinst"
5911 if test "$no_cache" != 1; then
5912 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5915 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5916 echo "$as_me:$LINENO: result: yes" >&5
5917 echo "${ECHO_T}yes" >&6
5919 echo "$as_me:$LINENO: result: no" >&5
5920 echo "${ECHO_T}no" >&6
5925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5926 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5928 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5929 if test "${enable_std_iostreams+set}" = set; then
5930 enableval="$enable_std_iostreams"
5932 if test "$enableval" = yes; then
5933 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5935 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5940 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5941 if test "x$LINE" != x ; then
5942 eval "DEFAULT_$LINE"
5947 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5951 eval "$ac_cv_use_std_iostreams"
5952 if test "$no_cache" != 1; then
5953 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5956 if test "$wxUSE_STD_IOSTREAM" = yes; then
5957 echo "$as_me:$LINENO: result: yes" >&5
5958 echo "${ECHO_T}yes" >&6
5960 echo "$as_me:$LINENO: result: no" >&5
5961 echo "${ECHO_T}no" >&6
5966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5967 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5969 # Check whether --enable-std_string or --disable-std_string was given.
5970 if test "${enable_std_string+set}" = set; then
5971 enableval="$enable_std_string"
5973 if test "$enableval" = yes; then
5974 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5976 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5981 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5982 if test "x$LINE" != x ; then
5983 eval "DEFAULT_$LINE"
5988 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5992 eval "$ac_cv_use_std_string"
5993 if test "$no_cache" != 1; then
5994 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5997 if test "$wxUSE_STD_STRING" = yes; then
5998 echo "$as_me:$LINENO: result: yes" >&5
5999 echo "${ECHO_T}yes" >&6
6001 echo "$as_me:$LINENO: result: no" >&5
6002 echo "${ECHO_T}no" >&6
6007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6008 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6010 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6011 if test "${enable_stdpaths+set}" = set; then
6012 enableval="$enable_stdpaths"
6014 if test "$enableval" = yes; then
6015 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6017 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6022 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6023 if test "x$LINE" != x ; then
6024 eval "DEFAULT_$LINE"
6029 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6033 eval "$ac_cv_use_stdpaths"
6034 if test "$no_cache" != 1; then
6035 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6038 if test "$wxUSE_STDPATHS" = yes; then
6039 echo "$as_me:$LINENO: result: yes" >&5
6040 echo "${ECHO_T}yes" >&6
6042 echo "$as_me:$LINENO: result: no" >&5
6043 echo "${ECHO_T}no" >&6
6048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6049 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6051 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6052 if test "${enable_stopwatch+set}" = set; then
6053 enableval="$enable_stopwatch"
6055 if test "$enableval" = yes; then
6056 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6058 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6063 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6064 if test "x$LINE" != x ; then
6065 eval "DEFAULT_$LINE"
6070 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6074 eval "$ac_cv_use_stopwatch"
6075 if test "$no_cache" != 1; then
6076 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6079 if test "$wxUSE_STOPWATCH" = yes; then
6080 echo "$as_me:$LINENO: result: yes" >&5
6081 echo "${ECHO_T}yes" >&6
6083 echo "$as_me:$LINENO: result: no" >&5
6084 echo "${ECHO_T}no" >&6
6089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6090 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6092 # Check whether --enable-streams or --disable-streams was given.
6093 if test "${enable_streams+set}" = set; then
6094 enableval="$enable_streams"
6096 if test "$enableval" = yes; then
6097 ac_cv_use_streams='wxUSE_STREAMS=yes'
6099 ac_cv_use_streams='wxUSE_STREAMS=no'
6104 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6105 if test "x$LINE" != x ; then
6106 eval "DEFAULT_$LINE"
6111 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6115 eval "$ac_cv_use_streams"
6116 if test "$no_cache" != 1; then
6117 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6120 if test "$wxUSE_STREAMS" = yes; then
6121 echo "$as_me:$LINENO: result: yes" >&5
6122 echo "${ECHO_T}yes" >&6
6124 echo "$as_me:$LINENO: result: no" >&5
6125 echo "${ECHO_T}no" >&6
6130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6131 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6133 # Check whether --enable-system_options or --disable-system_options was given.
6134 if test "${enable_system_options+set}" = set; then
6135 enableval="$enable_system_options"
6137 if test "$enableval" = yes; then
6138 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6140 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6145 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6146 if test "x$LINE" != x ; then
6147 eval "DEFAULT_$LINE"
6152 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6156 eval "$ac_cv_use_system_options"
6157 if test "$no_cache" != 1; then
6158 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6161 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6162 echo "$as_me:$LINENO: result: yes" >&5
6163 echo "${ECHO_T}yes" >&6
6165 echo "$as_me:$LINENO: result: no" >&5
6166 echo "${ECHO_T}no" >&6
6171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6172 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6174 # Check whether --enable-textbuf or --disable-textbuf was given.
6175 if test "${enable_textbuf+set}" = set; then
6176 enableval="$enable_textbuf"
6178 if test "$enableval" = yes; then
6179 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6181 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6186 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6187 if test "x$LINE" != x ; then
6188 eval "DEFAULT_$LINE"
6193 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6197 eval "$ac_cv_use_textbuf"
6198 if test "$no_cache" != 1; then
6199 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6202 if test "$wxUSE_TEXTBUFFER" = yes; then
6203 echo "$as_me:$LINENO: result: yes" >&5
6204 echo "${ECHO_T}yes" >&6
6206 echo "$as_me:$LINENO: result: no" >&5
6207 echo "${ECHO_T}no" >&6
6212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6213 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6215 # Check whether --enable-textfile or --disable-textfile was given.
6216 if test "${enable_textfile+set}" = set; then
6217 enableval="$enable_textfile"
6219 if test "$enableval" = yes; then
6220 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6222 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6227 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6228 if test "x$LINE" != x ; then
6229 eval "DEFAULT_$LINE"
6234 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6238 eval "$ac_cv_use_textfile"
6239 if test "$no_cache" != 1; then
6240 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6243 if test "$wxUSE_TEXTFILE" = yes; then
6244 echo "$as_me:$LINENO: result: yes" >&5
6245 echo "${ECHO_T}yes" >&6
6247 echo "$as_me:$LINENO: result: no" >&5
6248 echo "${ECHO_T}no" >&6
6253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6254 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6256 # Check whether --enable-timer or --disable-timer was given.
6257 if test "${enable_timer+set}" = set; then
6258 enableval="$enable_timer"
6260 if test "$enableval" = yes; then
6261 ac_cv_use_timer='wxUSE_TIMER=yes'
6263 ac_cv_use_timer='wxUSE_TIMER=no'
6268 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6269 if test "x$LINE" != x ; then
6270 eval "DEFAULT_$LINE"
6275 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6279 eval "$ac_cv_use_timer"
6280 if test "$no_cache" != 1; then
6281 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6284 if test "$wxUSE_TIMER" = yes; then
6285 echo "$as_me:$LINENO: result: yes" >&5
6286 echo "${ECHO_T}yes" >&6
6288 echo "$as_me:$LINENO: result: no" >&5
6289 echo "${ECHO_T}no" >&6
6294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6295 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6297 # Check whether --enable-unicode or --disable-unicode was given.
6298 if test "${enable_unicode+set}" = set; then
6299 enableval="$enable_unicode"
6301 if test "$enableval" = yes; then
6302 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6304 ac_cv_use_unicode='wxUSE_UNICODE=no'
6309 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6310 if test "x$LINE" != x ; then
6311 eval "DEFAULT_$LINE"
6316 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6320 eval "$ac_cv_use_unicode"
6321 if test "$no_cache" != 1; then
6322 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6325 if test "$wxUSE_UNICODE" = yes; then
6326 echo "$as_me:$LINENO: result: yes" >&5
6327 echo "${ECHO_T}yes" >&6
6329 echo "$as_me:$LINENO: result: no" >&5
6330 echo "${ECHO_T}no" >&6
6335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6336 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6338 # Check whether --enable-sound or --disable-sound was given.
6339 if test "${enable_sound+set}" = set; then
6340 enableval="$enable_sound"
6342 if test "$enableval" = yes; then
6343 ac_cv_use_sound='wxUSE_SOUND=yes'
6345 ac_cv_use_sound='wxUSE_SOUND=no'
6350 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6351 if test "x$LINE" != x ; then
6352 eval "DEFAULT_$LINE"
6357 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6361 eval "$ac_cv_use_sound"
6362 if test "$no_cache" != 1; then
6363 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6366 if test "$wxUSE_SOUND" = yes; then
6367 echo "$as_me:$LINENO: result: yes" >&5
6368 echo "${ECHO_T}yes" >&6
6370 echo "$as_me:$LINENO: result: no" >&5
6371 echo "${ECHO_T}no" >&6
6376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6377 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6379 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6380 if test "${enable_mediactrl+set}" = set; then
6381 enableval="$enable_mediactrl"
6383 if test "$enableval" = yes; then
6384 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6386 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6391 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6392 if test "x$LINE" != x ; then
6393 eval "DEFAULT_$LINE"
6398 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6402 eval "$ac_cv_use_mediactrl"
6403 if test "$no_cache" != 1; then
6404 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6407 if test "$wxUSE_MEDIACTRL" = yes; then
6408 echo "$as_me:$LINENO: result: yes" >&5
6409 echo "${ECHO_T}yes" >&6
6411 echo "$as_me:$LINENO: result: no" >&5
6412 echo "${ECHO_T}no" >&6
6417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6418 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6420 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6421 if test "${enable_gstreamer8+set}" = set; then
6422 enableval="$enable_gstreamer8"
6424 if test "$enableval" = yes; then
6425 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6427 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6432 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6433 if test "x$LINE" != x ; then
6434 eval "DEFAULT_$LINE"
6439 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6443 eval "$ac_cv_use_gstreamer8"
6444 if test "$no_cache" != 1; then
6445 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6448 if test "$wxUSE_GSTREAMER8" = yes; then
6449 echo "$as_me:$LINENO: result: yes" >&5
6450 echo "${ECHO_T}yes" >&6
6452 echo "$as_me:$LINENO: result: no" >&5
6453 echo "${ECHO_T}no" >&6
6458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6459 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6461 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6462 if test "${enable_printfposparam+set}" = set; then
6463 enableval="$enable_printfposparam"
6465 if test "$enableval" = yes; then
6466 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6468 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6473 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6474 if test "x$LINE" != x ; then
6475 eval "DEFAULT_$LINE"
6480 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6484 eval "$ac_cv_use_printfposparam"
6485 if test "$no_cache" != 1; then
6486 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6489 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6490 echo "$as_me:$LINENO: result: yes" >&5
6491 echo "${ECHO_T}yes" >&6
6493 echo "$as_me:$LINENO: result: no" >&5
6494 echo "${ECHO_T}no" >&6
6499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6500 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6502 # Check whether --enable-zipstream or --disable-zipstream was given.
6503 if test "${enable_zipstream+set}" = set; then
6504 enableval="$enable_zipstream"
6506 if test "$enableval" = yes; then
6507 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6509 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6514 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6515 if test "x$LINE" != x ; then
6516 eval "DEFAULT_$LINE"
6521 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6525 eval "$ac_cv_use_zipstream"
6526 if test "$no_cache" != 1; then
6527 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6530 if test "$wxUSE_ZIPSTREAM" = yes; then
6531 echo "$as_me:$LINENO: result: yes" >&5
6532 echo "${ECHO_T}yes" >&6
6534 echo "$as_me:$LINENO: result: no" >&5
6535 echo "${ECHO_T}no" >&6
6541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6542 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6544 # Check whether --enable-url or --disable-url was given.
6545 if test "${enable_url+set}" = set; then
6546 enableval="$enable_url"
6548 if test "$enableval" = yes; then
6549 ac_cv_use_url='wxUSE_URL=yes'
6551 ac_cv_use_url='wxUSE_URL=no'
6556 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6557 if test "x$LINE" != x ; then
6558 eval "DEFAULT_$LINE"
6563 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6567 eval "$ac_cv_use_url"
6568 if test "$no_cache" != 1; then
6569 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6572 if test "$wxUSE_URL" = yes; then
6573 echo "$as_me:$LINENO: result: yes" >&5
6574 echo "${ECHO_T}yes" >&6
6576 echo "$as_me:$LINENO: result: no" >&5
6577 echo "${ECHO_T}no" >&6
6582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6583 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6585 # Check whether --enable-variant or --disable-variant was given.
6586 if test "${enable_variant+set}" = set; then
6587 enableval="$enable_variant"
6589 if test "$enableval" = yes; then
6590 ac_cv_use_variant='wxUSE_VARIANT=yes'
6592 ac_cv_use_variant='wxUSE_VARIANT=no'
6597 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6598 if test "x$LINE" != x ; then
6599 eval "DEFAULT_$LINE"
6604 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6608 eval "$ac_cv_use_variant"
6609 if test "$no_cache" != 1; then
6610 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6613 if test "$wxUSE_VARIANT" = yes; then
6614 echo "$as_me:$LINENO: result: yes" >&5
6615 echo "${ECHO_T}yes" >&6
6617 echo "$as_me:$LINENO: result: no" >&5
6618 echo "${ECHO_T}no" >&6
6623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6624 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6626 # Check whether --enable-protocol or --disable-protocol was given.
6627 if test "${enable_protocol+set}" = set; then
6628 enableval="$enable_protocol"
6630 if test "$enableval" = yes; then
6631 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6633 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6638 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6639 if test "x$LINE" != x ; then
6640 eval "DEFAULT_$LINE"
6645 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6649 eval "$ac_cv_use_protocol"
6650 if test "$no_cache" != 1; then
6651 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6654 if test "$wxUSE_PROTOCOL" = yes; then
6655 echo "$as_me:$LINENO: result: yes" >&5
6656 echo "${ECHO_T}yes" >&6
6658 echo "$as_me:$LINENO: result: no" >&5
6659 echo "${ECHO_T}no" >&6
6664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6665 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6667 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6668 if test "${enable_protocol_http+set}" = set; then
6669 enableval="$enable_protocol_http"
6671 if test "$enableval" = yes; then
6672 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6674 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6679 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6680 if test "x$LINE" != x ; then
6681 eval "DEFAULT_$LINE"
6686 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6690 eval "$ac_cv_use_protocol_http"
6691 if test "$no_cache" != 1; then
6692 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6695 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6696 echo "$as_me:$LINENO: result: yes" >&5
6697 echo "${ECHO_T}yes" >&6
6699 echo "$as_me:$LINENO: result: no" >&5
6700 echo "${ECHO_T}no" >&6
6705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6706 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6708 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6709 if test "${enable_protocol_ftp+set}" = set; then
6710 enableval="$enable_protocol_ftp"
6712 if test "$enableval" = yes; then
6713 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6715 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6720 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6721 if test "x$LINE" != x ; then
6722 eval "DEFAULT_$LINE"
6727 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6731 eval "$ac_cv_use_protocol_ftp"
6732 if test "$no_cache" != 1; then
6733 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6736 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6737 echo "$as_me:$LINENO: result: yes" >&5
6738 echo "${ECHO_T}yes" >&6
6740 echo "$as_me:$LINENO: result: no" >&5
6741 echo "${ECHO_T}no" >&6
6746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6747 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6749 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6750 if test "${enable_protocol_file+set}" = set; then
6751 enableval="$enable_protocol_file"
6753 if test "$enableval" = yes; then
6754 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6756 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6761 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6762 if test "x$LINE" != x ; then
6763 eval "DEFAULT_$LINE"
6768 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6772 eval "$ac_cv_use_protocol_file"
6773 if test "$no_cache" != 1; then
6774 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6777 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6778 echo "$as_me:$LINENO: result: yes" >&5
6779 echo "${ECHO_T}yes" >&6
6781 echo "$as_me:$LINENO: result: no" >&5
6782 echo "${ECHO_T}no" >&6
6790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6791 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6793 # Check whether --enable-threads or --disable-threads was given.
6794 if test "${enable_threads+set}" = set; then
6795 enableval="$enable_threads"
6797 if test "$enableval" = yes; then
6798 ac_cv_use_threads='wxUSE_THREADS=yes'
6800 ac_cv_use_threads='wxUSE_THREADS=no'
6805 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6806 if test "x$LINE" != x ; then
6807 eval "DEFAULT_$LINE"
6812 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6816 eval "$ac_cv_use_threads"
6817 if test "$no_cache" != 1; then
6818 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6821 if test "$wxUSE_THREADS" = yes; then
6822 echo "$as_me:$LINENO: result: yes" >&5
6823 echo "${ECHO_T}yes" >&6
6825 echo "$as_me:$LINENO: result: no" >&5
6826 echo "${ECHO_T}no" >&6
6830 if test "$wxUSE_GUI" = "yes"; then
6835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6836 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6838 # Check whether --enable-docview or --disable-docview was given.
6839 if test "${enable_docview+set}" = set; then
6840 enableval="$enable_docview"
6842 if test "$enableval" = yes; then
6843 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6845 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6850 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6851 if test "x$LINE" != x ; then
6852 eval "DEFAULT_$LINE"
6857 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6861 eval "$ac_cv_use_docview"
6862 if test "$no_cache" != 1; then
6863 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6866 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6867 echo "$as_me:$LINENO: result: yes" >&5
6868 echo "${ECHO_T}yes" >&6
6870 echo "$as_me:$LINENO: result: no" >&5
6871 echo "${ECHO_T}no" >&6
6876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6877 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6879 # Check whether --enable-help or --disable-help was given.
6880 if test "${enable_help+set}" = set; then
6881 enableval="$enable_help"
6883 if test "$enableval" = yes; then
6884 ac_cv_use_help='wxUSE_HELP=yes'
6886 ac_cv_use_help='wxUSE_HELP=no'
6891 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6892 if test "x$LINE" != x ; then
6893 eval "DEFAULT_$LINE"
6898 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6902 eval "$ac_cv_use_help"
6903 if test "$no_cache" != 1; then
6904 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6907 if test "$wxUSE_HELP" = yes; then
6908 echo "$as_me:$LINENO: result: yes" >&5
6909 echo "${ECHO_T}yes" >&6
6911 echo "$as_me:$LINENO: result: no" >&5
6912 echo "${ECHO_T}no" >&6
6917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6918 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6920 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6921 if test "${enable_mshtmlhelp+set}" = set; then
6922 enableval="$enable_mshtmlhelp"
6924 if test "$enableval" = yes; then
6925 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6927 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6932 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6933 if test "x$LINE" != x ; then
6934 eval "DEFAULT_$LINE"
6939 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6943 eval "$ac_cv_use_mshtmlhelp"
6944 if test "$no_cache" != 1; then
6945 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6948 if test "$wxUSE_MS_HTML_HELP" = yes; then
6949 echo "$as_me:$LINENO: result: yes" >&5
6950 echo "${ECHO_T}yes" >&6
6952 echo "$as_me:$LINENO: result: no" >&5
6953 echo "${ECHO_T}no" >&6
6958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6959 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6961 # Check whether --enable-html or --disable-html was given.
6962 if test "${enable_html+set}" = set; then
6963 enableval="$enable_html"
6965 if test "$enableval" = yes; then
6966 ac_cv_use_html='wxUSE_HTML=yes'
6968 ac_cv_use_html='wxUSE_HTML=no'
6973 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6974 if test "x$LINE" != x ; then
6975 eval "DEFAULT_$LINE"
6980 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6984 eval "$ac_cv_use_html"
6985 if test "$no_cache" != 1; then
6986 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6989 if test "$wxUSE_HTML" = yes; then
6990 echo "$as_me:$LINENO: result: yes" >&5
6991 echo "${ECHO_T}yes" >&6
6993 echo "$as_me:$LINENO: result: no" >&5
6994 echo "${ECHO_T}no" >&6
6999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7000 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7002 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7003 if test "${enable_htmlhelp+set}" = set; then
7004 enableval="$enable_htmlhelp"
7006 if test "$enableval" = yes; then
7007 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7009 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7014 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7015 if test "x$LINE" != x ; then
7016 eval "DEFAULT_$LINE"
7021 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7025 eval "$ac_cv_use_htmlhelp"
7026 if test "$no_cache" != 1; then
7027 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7030 if test "$wxUSE_WXHTML_HELP" = yes; then
7031 echo "$as_me:$LINENO: result: yes" >&5
7032 echo "${ECHO_T}yes" >&6
7034 echo "$as_me:$LINENO: result: no" >&5
7035 echo "${ECHO_T}no" >&6
7040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7041 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7043 # Check whether --enable-xrc or --disable-xrc was given.
7044 if test "${enable_xrc+set}" = set; then
7045 enableval="$enable_xrc"
7047 if test "$enableval" = yes; then
7048 ac_cv_use_xrc='wxUSE_XRC=yes'
7050 ac_cv_use_xrc='wxUSE_XRC=no'
7055 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7056 if test "x$LINE" != x ; then
7057 eval "DEFAULT_$LINE"
7062 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7066 eval "$ac_cv_use_xrc"
7067 if test "$no_cache" != 1; then
7068 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7071 if test "$wxUSE_XRC" = yes; then
7072 echo "$as_me:$LINENO: result: yes" >&5
7073 echo "${ECHO_T}yes" >&6
7075 echo "$as_me:$LINENO: result: no" >&5
7076 echo "${ECHO_T}no" >&6
7081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7082 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7084 # Check whether --enable-aui or --disable-aui was given.
7085 if test "${enable_aui+set}" = set; then
7086 enableval="$enable_aui"
7088 if test "$enableval" = yes; then
7089 ac_cv_use_aui='wxUSE_AUI=yes'
7091 ac_cv_use_aui='wxUSE_AUI=no'
7096 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7097 if test "x$LINE" != x ; then
7098 eval "DEFAULT_$LINE"
7103 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7107 eval "$ac_cv_use_aui"
7108 if test "$no_cache" != 1; then
7109 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7112 if test "$wxUSE_AUI" = yes; then
7113 echo "$as_me:$LINENO: result: yes" >&5
7114 echo "${ECHO_T}yes" >&6
7116 echo "$as_me:$LINENO: result: no" >&5
7117 echo "${ECHO_T}no" >&6
7122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7123 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7125 # Check whether --enable-constraints or --disable-constraints was given.
7126 if test "${enable_constraints+set}" = set; then
7127 enableval="$enable_constraints"
7129 if test "$enableval" = yes; then
7130 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7132 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7137 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7138 if test "x$LINE" != x ; then
7139 eval "DEFAULT_$LINE"
7144 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7148 eval "$ac_cv_use_constraints"
7149 if test "$no_cache" != 1; then
7150 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7153 if test "$wxUSE_CONSTRAINTS" = yes; then
7154 echo "$as_me:$LINENO: result: yes" >&5
7155 echo "${ECHO_T}yes" >&6
7157 echo "$as_me:$LINENO: result: no" >&5
7158 echo "${ECHO_T}no" >&6
7163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7164 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7166 # Check whether --enable-printarch or --disable-printarch was given.
7167 if test "${enable_printarch+set}" = set; then
7168 enableval="$enable_printarch"
7170 if test "$enableval" = yes; then
7171 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7173 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7178 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7179 if test "x$LINE" != x ; then
7180 eval "DEFAULT_$LINE"
7185 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7189 eval "$ac_cv_use_printarch"
7190 if test "$no_cache" != 1; then
7191 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7194 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7195 echo "$as_me:$LINENO: result: yes" >&5
7196 echo "${ECHO_T}yes" >&6
7198 echo "$as_me:$LINENO: result: no" >&5
7199 echo "${ECHO_T}no" >&6
7204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7205 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7207 # Check whether --enable-mdi or --disable-mdi was given.
7208 if test "${enable_mdi+set}" = set; then
7209 enableval="$enable_mdi"
7211 if test "$enableval" = yes; then
7212 ac_cv_use_mdi='wxUSE_MDI=yes'
7214 ac_cv_use_mdi='wxUSE_MDI=no'
7219 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7220 if test "x$LINE" != x ; then
7221 eval "DEFAULT_$LINE"
7226 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7230 eval "$ac_cv_use_mdi"
7231 if test "$no_cache" != 1; then
7232 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7235 if test "$wxUSE_MDI" = yes; then
7236 echo "$as_me:$LINENO: result: yes" >&5
7237 echo "${ECHO_T}yes" >&6
7239 echo "$as_me:$LINENO: result: no" >&5
7240 echo "${ECHO_T}no" >&6
7245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7246 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7248 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7249 if test "${enable_mdidoc+set}" = set; then
7250 enableval="$enable_mdidoc"
7252 if test "$enableval" = yes; then
7253 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7255 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7260 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7261 if test "x$LINE" != x ; then
7262 eval "DEFAULT_$LINE"
7267 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7271 eval "$ac_cv_use_mdidoc"
7272 if test "$no_cache" != 1; then
7273 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7276 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7277 echo "$as_me:$LINENO: result: yes" >&5
7278 echo "${ECHO_T}yes" >&6
7280 echo "$as_me:$LINENO: result: no" >&5
7281 echo "${ECHO_T}no" >&6
7286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7287 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7289 # Check whether --enable-loggui or --disable-loggui was given.
7290 if test "${enable_loggui+set}" = set; then
7291 enableval="$enable_loggui"
7293 if test "$enableval" = yes; then
7294 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7296 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7301 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7302 if test "x$LINE" != x ; then
7303 eval "DEFAULT_$LINE"
7308 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7312 eval "$ac_cv_use_loggui"
7313 if test "$no_cache" != 1; then
7314 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7317 if test "$wxUSE_LOGGUI" = yes; then
7318 echo "$as_me:$LINENO: result: yes" >&5
7319 echo "${ECHO_T}yes" >&6
7321 echo "$as_me:$LINENO: result: no" >&5
7322 echo "${ECHO_T}no" >&6
7327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7328 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7330 # Check whether --enable-logwin or --disable-logwin was given.
7331 if test "${enable_logwin+set}" = set; then
7332 enableval="$enable_logwin"
7334 if test "$enableval" = yes; then
7335 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7337 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7342 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7343 if test "x$LINE" != x ; then
7344 eval "DEFAULT_$LINE"
7349 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7353 eval "$ac_cv_use_logwin"
7354 if test "$no_cache" != 1; then
7355 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7358 if test "$wxUSE_LOGWINDOW" = yes; then
7359 echo "$as_me:$LINENO: result: yes" >&5
7360 echo "${ECHO_T}yes" >&6
7362 echo "$as_me:$LINENO: result: no" >&5
7363 echo "${ECHO_T}no" >&6
7368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7369 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7371 # Check whether --enable-logdialog or --disable-logdialog was given.
7372 if test "${enable_logdialog+set}" = set; then
7373 enableval="$enable_logdialog"
7375 if test "$enableval" = yes; then
7376 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7378 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7383 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7384 if test "x$LINE" != x ; then
7385 eval "DEFAULT_$LINE"
7390 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7394 eval "$ac_cv_use_logdialog"
7395 if test "$no_cache" != 1; then
7396 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7399 if test "$wxUSE_LOGDIALOG" = yes; then
7400 echo "$as_me:$LINENO: result: yes" >&5
7401 echo "${ECHO_T}yes" >&6
7403 echo "$as_me:$LINENO: result: no" >&5
7404 echo "${ECHO_T}no" >&6
7409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7410 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7412 # Check whether --enable-webkit or --disable-webkit was given.
7413 if test "${enable_webkit+set}" = set; then
7414 enableval="$enable_webkit"
7416 if test "$enableval" = yes; then
7417 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7419 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7424 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7425 if test "x$LINE" != x ; then
7426 eval "DEFAULT_$LINE"
7431 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7435 eval "$ac_cv_use_webkit"
7436 if test "$no_cache" != 1; then
7437 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7440 if test "$wxUSE_WEBKIT" = yes; then
7441 echo "$as_me:$LINENO: result: yes" >&5
7442 echo "${ECHO_T}yes" >&6
7444 echo "$as_me:$LINENO: result: no" >&5
7445 echo "${ECHO_T}no" >&6
7450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7451 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7453 # Check whether --enable-html or --disable-html was given.
7454 if test "${enable_html+set}" = set; then
7455 enableval="$enable_html"
7457 if test "$enableval" = yes; then
7458 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7460 ac_cv_use_html='wxUSE_RICHTEXT=no'
7465 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7466 if test "x$LINE" != x ; then
7467 eval "DEFAULT_$LINE"
7472 ac_cv_use_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7476 eval "$ac_cv_use_html"
7477 if test "$no_cache" != 1; then
7478 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7481 if test "$wxUSE_RICHTEXT" = yes; then
7482 echo "$as_me:$LINENO: result: yes" >&5
7483 echo "${ECHO_T}yes" >&6
7485 echo "$as_me:$LINENO: result: no" >&5
7486 echo "${ECHO_T}no" >&6
7491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7492 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7494 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7495 if test "${enable_graphics_ctx+set}" = set; then
7496 enableval="$enable_graphics_ctx"
7498 if test "$enableval" = yes; then
7499 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7501 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7506 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7507 if test "x$LINE" != x ; then
7508 eval "DEFAULT_$LINE"
7513 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7517 eval "$ac_cv_use_graphics_ctx"
7518 if test "$no_cache" != 1; then
7519 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7522 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7523 echo "$as_me:$LINENO: result: yes" >&5
7524 echo "${ECHO_T}yes" >&6
7526 echo "$as_me:$LINENO: result: no" >&5
7527 echo "${ECHO_T}no" >&6
7533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7534 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7536 # Check whether --enable-postscript or --disable-postscript was given.
7537 if test "${enable_postscript+set}" = set; then
7538 enableval="$enable_postscript"
7540 if test "$enableval" = yes; then
7541 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7543 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7548 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7549 if test "x$LINE" != x ; then
7550 eval "DEFAULT_$LINE"
7555 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7559 eval "$ac_cv_use_postscript"
7560 if test "$no_cache" != 1; then
7561 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7564 if test "$wxUSE_POSTSCRIPT" = yes; then
7565 echo "$as_me:$LINENO: result: yes" >&5
7566 echo "${ECHO_T}yes" >&6
7568 echo "$as_me:$LINENO: result: no" >&5
7569 echo "${ECHO_T}no" >&6
7577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7578 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7580 # Check whether --enable-prologio or --disable-prologio was given.
7581 if test "${enable_prologio+set}" = set; then
7582 enableval="$enable_prologio"
7584 if test "$enableval" = yes; then
7585 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7587 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7592 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7593 if test "x$LINE" != x ; then
7594 eval "DEFAULT_$LINE"
7599 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7603 eval "$ac_cv_use_prologio"
7604 if test "$no_cache" != 1; then
7605 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7608 if test "$wxUSE_PROLOGIO" = yes; then
7609 echo "$as_me:$LINENO: result: yes" >&5
7610 echo "${ECHO_T}yes" >&6
7612 echo "$as_me:$LINENO: result: no" >&5
7613 echo "${ECHO_T}no" >&6
7618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7619 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7621 # Check whether --enable-resources or --disable-resources was given.
7622 if test "${enable_resources+set}" = set; then
7623 enableval="$enable_resources"
7625 if test "$enableval" = yes; then
7626 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7628 ac_cv_use_resources='wxUSE_RESOURCES=no'
7633 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7634 if test "x$LINE" != x ; then
7635 eval "DEFAULT_$LINE"
7640 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7644 eval "$ac_cv_use_resources"
7645 if test "$no_cache" != 1; then
7646 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7649 if test "$wxUSE_RESOURCES" = yes; then
7650 echo "$as_me:$LINENO: result: yes" >&5
7651 echo "${ECHO_T}yes" >&6
7653 echo "$as_me:$LINENO: result: no" >&5
7654 echo "${ECHO_T}no" >&6
7661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7662 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7664 # Check whether --enable-clipboard or --disable-clipboard was given.
7665 if test "${enable_clipboard+set}" = set; then
7666 enableval="$enable_clipboard"
7668 if test "$enableval" = yes; then
7669 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7671 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7676 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7677 if test "x$LINE" != x ; then
7678 eval "DEFAULT_$LINE"
7683 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7687 eval "$ac_cv_use_clipboard"
7688 if test "$no_cache" != 1; then
7689 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7692 if test "$wxUSE_CLIPBOARD" = yes; then
7693 echo "$as_me:$LINENO: result: yes" >&5
7694 echo "${ECHO_T}yes" >&6
7696 echo "$as_me:$LINENO: result: no" >&5
7697 echo "${ECHO_T}no" >&6
7702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7703 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7705 # Check whether --enable-dnd or --disable-dnd was given.
7706 if test "${enable_dnd+set}" = set; then
7707 enableval="$enable_dnd"
7709 if test "$enableval" = yes; then
7710 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7712 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7717 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7718 if test "x$LINE" != x ; then
7719 eval "DEFAULT_$LINE"
7724 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7728 eval "$ac_cv_use_dnd"
7729 if test "$no_cache" != 1; then
7730 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7733 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7734 echo "$as_me:$LINENO: result: yes" >&5
7735 echo "${ECHO_T}yes" >&6
7737 echo "$as_me:$LINENO: result: no" >&5
7738 echo "${ECHO_T}no" >&6
7743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7744 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7746 # Check whether --enable-metafile or --disable-metafile was given.
7747 if test "${enable_metafile+set}" = set; then
7748 enableval="$enable_metafile"
7750 if test "$enableval" = yes; then
7751 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7753 ac_cv_use_metafile='wxUSE_METAFILE=no'
7758 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7759 if test "x$LINE" != x ; then
7760 eval "DEFAULT_$LINE"
7765 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7769 eval "$ac_cv_use_metafile"
7770 if test "$no_cache" != 1; then
7771 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7774 if test "$wxUSE_METAFILE" = yes; then
7775 echo "$as_me:$LINENO: result: yes" >&5
7776 echo "${ECHO_T}yes" >&6
7778 echo "$as_me:$LINENO: result: no" >&5
7779 echo "${ECHO_T}no" >&6
7787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7788 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7790 # Check whether --enable-controls or --disable-controls was given.
7791 if test "${enable_controls+set}" = set; then
7792 enableval="$enable_controls"
7794 if test "$enableval" = yes; then
7795 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7797 ac_cv_use_controls='wxUSE_CONTROLS=no'
7802 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7803 if test "x$LINE" != x ; then
7804 eval "DEFAULT_$LINE"
7809 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7813 eval "$ac_cv_use_controls"
7814 if test "$no_cache" != 1; then
7815 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7818 if test "$wxUSE_CONTROLS" = yes; then
7819 echo "$as_me:$LINENO: result: yes" >&5
7820 echo "${ECHO_T}yes" >&6
7822 echo "$as_me:$LINENO: result: no" >&5
7823 echo "${ECHO_T}no" >&6
7827 if test "$wxUSE_CONTROLS" = "yes"; then
7828 DEFAULT_wxUSE_ACCEL=yes
7829 DEFAULT_wxUSE_ANIMATIONCTRL=yes
7830 DEFAULT_wxUSE_BMPBUTTON=yes
7831 DEFAULT_wxUSE_BUTTON=yes
7832 DEFAULT_wxUSE_CALCTRL=yes
7833 DEFAULT_wxUSE_CARET=yes
7834 DEFAULT_wxUSE_COMBOBOX=yes
7835 DEFAULT_wxUSE_CHECKBOX=yes
7836 DEFAULT_wxUSE_CHECKLISTBOX=yes
7837 DEFAULT_wxUSE_CHOICE=yes
7838 DEFAULT_wxUSE_CHOICEBOOK=yes
7839 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7840 DEFAULT_wxUSE_COMBOBOX=yes
7841 DEFAULT_wxUSE_DATEPICKCTRL=yes
7842 DEFAULT_wxUSE_DISPLAY=yes
7843 DEFAULT_wxUSE_DETECT_SM=yes
7844 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7845 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7846 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7847 DEFAULT_wxUSE_GAUGE=yes
7848 DEFAULT_wxUSE_GRID=yes
7849 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7850 DEFAULT_wxUSE_DATAVIEWCTRL=no
7851 DEFAULT_wxUSE_IMAGLIST=yes
7852 DEFAULT_wxUSE_LISTBOOK=yes
7853 DEFAULT_wxUSE_LISTBOX=yes
7854 DEFAULT_wxUSE_LISTCTRL=yes
7855 DEFAULT_wxUSE_NOTEBOOK=yes
7856 DEFAULT_wxUSE_RADIOBOX=yes
7857 DEFAULT_wxUSE_RADIOBTN=yes
7858 DEFAULT_wxUSE_SASH=yes
7859 DEFAULT_wxUSE_SCROLLBAR=yes
7860 DEFAULT_wxUSE_SLIDER=yes
7861 DEFAULT_wxUSE_SPINBTN=yes
7862 DEFAULT_wxUSE_SPINCTRL=yes
7863 DEFAULT_wxUSE_SPLITTER=yes
7864 DEFAULT_wxUSE_STATBMP=yes
7865 DEFAULT_wxUSE_STATBOX=yes
7866 DEFAULT_wxUSE_STATLINE=yes
7867 DEFAULT_wxUSE_STATUSBAR=yes
7868 DEFAULT_wxUSE_TAB_DIALOG=yes
7869 DEFAULT_wxUSE_TOGGLEBTN=yes
7870 DEFAULT_wxUSE_TOOLBAR=yes
7871 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7872 DEFAULT_wxUSE_TOOLTIPS=yes
7873 DEFAULT_wxUSE_TREEBOOK=yes
7874 DEFAULT_wxUSE_TOOLBOOK=yes
7875 DEFAULT_wxUSE_TREECTRL=yes
7876 DEFAULT_wxUSE_POPUPWIN=yes
7877 DEFAULT_wxUSE_TIPWINDOW=yes
7878 elif test "$wxUSE_CONTROLS" = "no"; then
7879 DEFAULT_wxUSE_ACCEL=no
7880 DEFAULT_wxUSE_ANIMATIONCTRL=no
7881 DEFAULT_wxUSE_BMPBUTTON=no
7882 DEFAULT_wxUSE_BUTTON=no
7883 DEFAULT_wxUSE_CALCTRL=no
7884 DEFAULT_wxUSE_CARET=no
7885 DEFAULT_wxUSE_COMBOBOX=no
7886 DEFAULT_wxUSE_CHECKBOX=no
7887 DEFAULT_wxUSE_CHECKLISTBOX=no
7888 DEFAULT_wxUSE_CHOICE=no
7889 DEFAULT_wxUSE_CHOICEBOOK=no
7890 DEFAULT_wxUSE_COLOURPICKERCTRL=no
7891 DEFAULT_wxUSE_COMBOBOX=no
7892 DEFAULT_wxUSE_DATEPICKCTRL=no
7893 DEFAULT_wxUSE_DISPLAY=no
7894 DEFAULT_wxUSE_DETECT_SM=no
7895 DEFAULT_wxUSE_DIRPICKERCTRL=no
7896 DEFAULT_wxUSE_FILEPICKERCTRL=no
7897 DEFAULT_wxUSE_FONTPICKERCTRL=no
7898 DEFAULT_wxUSE_GAUGE=no
7899 DEFAULT_wxUSE_GRID=no
7900 DEFAULT_wxUSE_HYPERLINKCTRL=no
7901 DEFAULT_wxUSE_DATAVIEWCTRL=no
7902 DEFAULT_wxUSE_IMAGLIST=no
7903 DEFAULT_wxUSE_LISTBOOK=no
7904 DEFAULT_wxUSE_LISTBOX=no
7905 DEFAULT_wxUSE_LISTCTRL=no
7906 DEFAULT_wxUSE_NOTEBOOK=no
7907 DEFAULT_wxUSE_RADIOBOX=no
7908 DEFAULT_wxUSE_RADIOBTN=no
7909 DEFAULT_wxUSE_SASH=no
7910 DEFAULT_wxUSE_SCROLLBAR=no
7911 DEFAULT_wxUSE_SLIDER=no
7912 DEFAULT_wxUSE_SPINBTN=no
7913 DEFAULT_wxUSE_SPINCTRL=no
7914 DEFAULT_wxUSE_SPLITTER=no
7915 DEFAULT_wxUSE_STATBMP=no
7916 DEFAULT_wxUSE_STATBOX=no
7917 DEFAULT_wxUSE_STATLINE=no
7918 DEFAULT_wxUSE_STATUSBAR=no
7919 DEFAULT_wxUSE_TAB_DIALOG=no
7920 DEFAULT_wxUSE_TOGGLEBTN=no
7921 DEFAULT_wxUSE_TOOLBAR=no
7922 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7923 DEFAULT_wxUSE_TOOLTIPS=no
7924 DEFAULT_wxUSE_TREEBOOK=no
7925 DEFAULT_wxUSE_TOOLBOOK=no
7926 DEFAULT_wxUSE_TREECTRL=no
7927 DEFAULT_wxUSE_POPUPWIN=no
7928 DEFAULT_wxUSE_TIPWINDOW=no
7933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7934 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7936 # Check whether --enable-accel or --disable-accel was given.
7937 if test "${enable_accel+set}" = set; then
7938 enableval="$enable_accel"
7940 if test "$enableval" = yes; then
7941 ac_cv_use_accel='wxUSE_ACCEL=yes'
7943 ac_cv_use_accel='wxUSE_ACCEL=no'
7948 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7949 if test "x$LINE" != x ; then
7950 eval "DEFAULT_$LINE"
7955 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7959 eval "$ac_cv_use_accel"
7960 if test "$no_cache" != 1; then
7961 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7964 if test "$wxUSE_ACCEL" = yes; then
7965 echo "$as_me:$LINENO: result: yes" >&5
7966 echo "${ECHO_T}yes" >&6
7968 echo "$as_me:$LINENO: result: no" >&5
7969 echo "${ECHO_T}no" >&6
7974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
7975 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
7977 # Check whether --enable-animatectrl or --disable-animatectrl was given.
7978 if test "${enable_animatectrl+set}" = set; then
7979 enableval="$enable_animatectrl"
7981 if test "$enableval" = yes; then
7982 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
7984 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
7989 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
7990 if test "x$LINE" != x ; then
7991 eval "DEFAULT_$LINE"
7996 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8000 eval "$ac_cv_use_animatectrl"
8001 if test "$no_cache" != 1; then
8002 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8005 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8006 echo "$as_me:$LINENO: result: yes" >&5
8007 echo "${ECHO_T}yes" >&6
8009 echo "$as_me:$LINENO: result: no" >&5
8010 echo "${ECHO_T}no" >&6
8015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8016 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8018 # Check whether --enable-button or --disable-button was given.
8019 if test "${enable_button+set}" = set; then
8020 enableval="$enable_button"
8022 if test "$enableval" = yes; then
8023 ac_cv_use_button='wxUSE_BUTTON=yes'
8025 ac_cv_use_button='wxUSE_BUTTON=no'
8030 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8031 if test "x$LINE" != x ; then
8032 eval "DEFAULT_$LINE"
8037 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8041 eval "$ac_cv_use_button"
8042 if test "$no_cache" != 1; then
8043 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8046 if test "$wxUSE_BUTTON" = yes; then
8047 echo "$as_me:$LINENO: result: yes" >&5
8048 echo "${ECHO_T}yes" >&6
8050 echo "$as_me:$LINENO: result: no" >&5
8051 echo "${ECHO_T}no" >&6
8056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8057 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8059 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8060 if test "${enable_bmpbutton+set}" = set; then
8061 enableval="$enable_bmpbutton"
8063 if test "$enableval" = yes; then
8064 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8066 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8071 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8072 if test "x$LINE" != x ; then
8073 eval "DEFAULT_$LINE"
8078 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8082 eval "$ac_cv_use_bmpbutton"
8083 if test "$no_cache" != 1; then
8084 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8087 if test "$wxUSE_BMPBUTTON" = yes; then
8088 echo "$as_me:$LINENO: result: yes" >&5
8089 echo "${ECHO_T}yes" >&6
8091 echo "$as_me:$LINENO: result: no" >&5
8092 echo "${ECHO_T}no" >&6
8097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8098 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8100 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8101 if test "${enable_bmpcombobox+set}" = set; then
8102 enableval="$enable_bmpcombobox"
8104 if test "$enableval" = yes; then
8105 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8107 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8112 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8113 if test "x$LINE" != x ; then
8114 eval "DEFAULT_$LINE"
8119 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8123 eval "$ac_cv_use_bmpcombobox"
8124 if test "$no_cache" != 1; then
8125 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8128 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8129 echo "$as_me:$LINENO: result: yes" >&5
8130 echo "${ECHO_T}yes" >&6
8132 echo "$as_me:$LINENO: result: no" >&5
8133 echo "${ECHO_T}no" >&6
8138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8139 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8141 # Check whether --enable-calendar or --disable-calendar was given.
8142 if test "${enable_calendar+set}" = set; then
8143 enableval="$enable_calendar"
8145 if test "$enableval" = yes; then
8146 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8148 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8153 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8154 if test "x$LINE" != x ; then
8155 eval "DEFAULT_$LINE"
8160 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8164 eval "$ac_cv_use_calendar"
8165 if test "$no_cache" != 1; then
8166 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8169 if test "$wxUSE_CALCTRL" = yes; then
8170 echo "$as_me:$LINENO: result: yes" >&5
8171 echo "${ECHO_T}yes" >&6
8173 echo "$as_me:$LINENO: result: no" >&5
8174 echo "${ECHO_T}no" >&6
8179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8180 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8182 # Check whether --enable-caret or --disable-caret was given.
8183 if test "${enable_caret+set}" = set; then
8184 enableval="$enable_caret"
8186 if test "$enableval" = yes; then
8187 ac_cv_use_caret='wxUSE_CARET=yes'
8189 ac_cv_use_caret='wxUSE_CARET=no'
8194 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8195 if test "x$LINE" != x ; then
8196 eval "DEFAULT_$LINE"
8201 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8205 eval "$ac_cv_use_caret"
8206 if test "$no_cache" != 1; then
8207 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8210 if test "$wxUSE_CARET" = yes; then
8211 echo "$as_me:$LINENO: result: yes" >&5
8212 echo "${ECHO_T}yes" >&6
8214 echo "$as_me:$LINENO: result: no" >&5
8215 echo "${ECHO_T}no" >&6
8220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8221 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8223 # Check whether --enable-checkbox or --disable-checkbox was given.
8224 if test "${enable_checkbox+set}" = set; then
8225 enableval="$enable_checkbox"
8227 if test "$enableval" = yes; then
8228 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8230 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8235 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8236 if test "x$LINE" != x ; then
8237 eval "DEFAULT_$LINE"
8242 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8246 eval "$ac_cv_use_checkbox"
8247 if test "$no_cache" != 1; then
8248 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8251 if test "$wxUSE_CHECKBOX" = yes; then
8252 echo "$as_me:$LINENO: result: yes" >&5
8253 echo "${ECHO_T}yes" >&6
8255 echo "$as_me:$LINENO: result: no" >&5
8256 echo "${ECHO_T}no" >&6
8261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8262 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8264 # Check whether --enable-checklst or --disable-checklst was given.
8265 if test "${enable_checklst+set}" = set; then
8266 enableval="$enable_checklst"
8268 if test "$enableval" = yes; then
8269 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8271 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8276 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8277 if test "x$LINE" != x ; then
8278 eval "DEFAULT_$LINE"
8283 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8287 eval "$ac_cv_use_checklst"
8288 if test "$no_cache" != 1; then
8289 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8292 if test "$wxUSE_CHECKLST" = yes; then
8293 echo "$as_me:$LINENO: result: yes" >&5
8294 echo "${ECHO_T}yes" >&6
8296 echo "$as_me:$LINENO: result: no" >&5
8297 echo "${ECHO_T}no" >&6
8302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8303 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8305 # Check whether --enable-choice or --disable-choice was given.
8306 if test "${enable_choice+set}" = set; then
8307 enableval="$enable_choice"
8309 if test "$enableval" = yes; then
8310 ac_cv_use_choice='wxUSE_CHOICE=yes'
8312 ac_cv_use_choice='wxUSE_CHOICE=no'
8317 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8318 if test "x$LINE" != x ; then
8319 eval "DEFAULT_$LINE"
8324 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8328 eval "$ac_cv_use_choice"
8329 if test "$no_cache" != 1; then
8330 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8333 if test "$wxUSE_CHOICE" = yes; then
8334 echo "$as_me:$LINENO: result: yes" >&5
8335 echo "${ECHO_T}yes" >&6
8337 echo "$as_me:$LINENO: result: no" >&5
8338 echo "${ECHO_T}no" >&6
8343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8344 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8346 # Check whether --enable-choicebook or --disable-choicebook was given.
8347 if test "${enable_choicebook+set}" = set; then
8348 enableval="$enable_choicebook"
8350 if test "$enableval" = yes; then
8351 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8353 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8358 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8359 if test "x$LINE" != x ; then
8360 eval "DEFAULT_$LINE"
8365 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8369 eval "$ac_cv_use_choicebook"
8370 if test "$no_cache" != 1; then
8371 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8374 if test "$wxUSE_CHOICEBOOK" = yes; then
8375 echo "$as_me:$LINENO: result: yes" >&5
8376 echo "${ECHO_T}yes" >&6
8378 echo "$as_me:$LINENO: result: no" >&5
8379 echo "${ECHO_T}no" >&6
8384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8385 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8387 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8388 if test "${enable_colourpicker+set}" = set; then
8389 enableval="$enable_colourpicker"
8391 if test "$enableval" = yes; then
8392 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8394 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8399 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8400 if test "x$LINE" != x ; then
8401 eval "DEFAULT_$LINE"
8406 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8410 eval "$ac_cv_use_colourpicker"
8411 if test "$no_cache" != 1; then
8412 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8415 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8416 echo "$as_me:$LINENO: result: yes" >&5
8417 echo "${ECHO_T}yes" >&6
8419 echo "$as_me:$LINENO: result: no" >&5
8420 echo "${ECHO_T}no" >&6
8425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8426 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8428 # Check whether --enable-combobox or --disable-combobox was given.
8429 if test "${enable_combobox+set}" = set; then
8430 enableval="$enable_combobox"
8432 if test "$enableval" = yes; then
8433 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8435 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8440 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8441 if test "x$LINE" != x ; then
8442 eval "DEFAULT_$LINE"
8447 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8451 eval "$ac_cv_use_combobox"
8452 if test "$no_cache" != 1; then
8453 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8456 if test "$wxUSE_COMBOBOX" = yes; then
8457 echo "$as_me:$LINENO: result: yes" >&5
8458 echo "${ECHO_T}yes" >&6
8460 echo "$as_me:$LINENO: result: no" >&5
8461 echo "${ECHO_T}no" >&6
8466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8467 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8469 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8470 if test "${enable_comboctrl+set}" = set; then
8471 enableval="$enable_comboctrl"
8473 if test "$enableval" = yes; then
8474 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8476 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8481 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8482 if test "x$LINE" != x ; then
8483 eval "DEFAULT_$LINE"
8488 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8492 eval "$ac_cv_use_comboctrl"
8493 if test "$no_cache" != 1; then
8494 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8497 if test "$wxUSE_COMBOCTRL" = yes; then
8498 echo "$as_me:$LINENO: result: yes" >&5
8499 echo "${ECHO_T}yes" >&6
8501 echo "$as_me:$LINENO: result: no" >&5
8502 echo "${ECHO_T}no" >&6
8507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8508 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8510 # Check whether --enable-datepick or --disable-datepick was given.
8511 if test "${enable_datepick+set}" = set; then
8512 enableval="$enable_datepick"
8514 if test "$enableval" = yes; then
8515 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8517 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8522 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8523 if test "x$LINE" != x ; then
8524 eval "DEFAULT_$LINE"
8529 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8533 eval "$ac_cv_use_datepick"
8534 if test "$no_cache" != 1; then
8535 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8538 if test "$wxUSE_DATEPICKCTRL" = yes; then
8539 echo "$as_me:$LINENO: result: yes" >&5
8540 echo "${ECHO_T}yes" >&6
8542 echo "$as_me:$LINENO: result: no" >&5
8543 echo "${ECHO_T}no" >&6
8548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8549 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8551 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8552 if test "${enable_dirpicker+set}" = set; then
8553 enableval="$enable_dirpicker"
8555 if test "$enableval" = yes; then
8556 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8558 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8563 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8564 if test "x$LINE" != x ; then
8565 eval "DEFAULT_$LINE"
8570 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8574 eval "$ac_cv_use_dirpicker"
8575 if test "$no_cache" != 1; then
8576 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8579 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8580 echo "$as_me:$LINENO: result: yes" >&5
8581 echo "${ECHO_T}yes" >&6
8583 echo "$as_me:$LINENO: result: no" >&5
8584 echo "${ECHO_T}no" >&6
8589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8590 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8592 # Check whether --enable-display or --disable-display was given.
8593 if test "${enable_display+set}" = set; then
8594 enableval="$enable_display"
8596 if test "$enableval" = yes; then
8597 ac_cv_use_display='wxUSE_DISPLAY=yes'
8599 ac_cv_use_display='wxUSE_DISPLAY=no'
8604 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8605 if test "x$LINE" != x ; then
8606 eval "DEFAULT_$LINE"
8611 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8615 eval "$ac_cv_use_display"
8616 if test "$no_cache" != 1; then
8617 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8620 if test "$wxUSE_DISPLAY" = yes; then
8621 echo "$as_me:$LINENO: result: yes" >&5
8622 echo "${ECHO_T}yes" >&6
8624 echo "$as_me:$LINENO: result: no" >&5
8625 echo "${ECHO_T}no" >&6
8630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8631 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8633 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8634 if test "${enable_detect_sm+set}" = set; then
8635 enableval="$enable_detect_sm"
8637 if test "$enableval" = yes; then
8638 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
8640 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
8645 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8646 if test "x$LINE" != x ; then
8647 eval "DEFAULT_$LINE"
8652 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8656 eval "$ac_cv_use_detect_sm"
8657 if test "$no_cache" != 1; then
8658 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8661 if test "$wxUSE_DETECT_SM" = yes; then
8662 echo "$as_me:$LINENO: result: yes" >&5
8663 echo "${ECHO_T}yes" >&6
8665 echo "$as_me:$LINENO: result: no" >&5
8666 echo "${ECHO_T}no" >&6
8671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8672 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8674 # Check whether --enable-filepicker or --disable-filepicker was given.
8675 if test "${enable_filepicker+set}" = set; then
8676 enableval="$enable_filepicker"
8678 if test "$enableval" = yes; then
8679 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8681 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8686 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8687 if test "x$LINE" != x ; then
8688 eval "DEFAULT_$LINE"
8693 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8697 eval "$ac_cv_use_filepicker"
8698 if test "$no_cache" != 1; then
8699 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8702 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8703 echo "$as_me:$LINENO: result: yes" >&5
8704 echo "${ECHO_T}yes" >&6
8706 echo "$as_me:$LINENO: result: no" >&5
8707 echo "${ECHO_T}no" >&6
8712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8713 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8715 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8716 if test "${enable_fontpicker+set}" = set; then
8717 enableval="$enable_fontpicker"
8719 if test "$enableval" = yes; then
8720 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8722 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8727 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8728 if test "x$LINE" != x ; then
8729 eval "DEFAULT_$LINE"
8734 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8738 eval "$ac_cv_use_fontpicker"
8739 if test "$no_cache" != 1; then
8740 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8743 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8744 echo "$as_me:$LINENO: result: yes" >&5
8745 echo "${ECHO_T}yes" >&6
8747 echo "$as_me:$LINENO: result: no" >&5
8748 echo "${ECHO_T}no" >&6
8753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8754 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8756 # Check whether --enable-gauge or --disable-gauge was given.
8757 if test "${enable_gauge+set}" = set; then
8758 enableval="$enable_gauge"
8760 if test "$enableval" = yes; then
8761 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8763 ac_cv_use_gauge='wxUSE_GAUGE=no'
8768 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8769 if test "x$LINE" != x ; then
8770 eval "DEFAULT_$LINE"
8775 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8779 eval "$ac_cv_use_gauge"
8780 if test "$no_cache" != 1; then
8781 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8784 if test "$wxUSE_GAUGE" = yes; then
8785 echo "$as_me:$LINENO: result: yes" >&5
8786 echo "${ECHO_T}yes" >&6
8788 echo "$as_me:$LINENO: result: no" >&5
8789 echo "${ECHO_T}no" >&6
8794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8795 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8797 # Check whether --enable-grid or --disable-grid was given.
8798 if test "${enable_grid+set}" = set; then
8799 enableval="$enable_grid"
8801 if test "$enableval" = yes; then
8802 ac_cv_use_grid='wxUSE_GRID=yes'
8804 ac_cv_use_grid='wxUSE_GRID=no'
8809 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8810 if test "x$LINE" != x ; then
8811 eval "DEFAULT_$LINE"
8816 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8820 eval "$ac_cv_use_grid"
8821 if test "$no_cache" != 1; then
8822 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8825 if test "$wxUSE_GRID" = yes; then
8826 echo "$as_me:$LINENO: result: yes" >&5
8827 echo "${ECHO_T}yes" >&6
8829 echo "$as_me:$LINENO: result: no" >&5
8830 echo "${ECHO_T}no" >&6
8835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8836 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8838 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8839 if test "${enable_dataviewctrl+set}" = set; then
8840 enableval="$enable_dataviewctrl"
8842 if test "$enableval" = yes; then
8843 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8845 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8850 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8851 if test "x$LINE" != x ; then
8852 eval "DEFAULT_$LINE"
8857 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8861 eval "$ac_cv_use_dataviewctrl"
8862 if test "$no_cache" != 1; then
8863 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8866 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8867 echo "$as_me:$LINENO: result: yes" >&5
8868 echo "${ECHO_T}yes" >&6
8870 echo "$as_me:$LINENO: result: no" >&5
8871 echo "${ECHO_T}no" >&6
8876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8877 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8879 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8880 if test "${enable_hyperlink+set}" = set; then
8881 enableval="$enable_hyperlink"
8883 if test "$enableval" = yes; then
8884 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
8886 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
8891 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8892 if test "x$LINE" != x ; then
8893 eval "DEFAULT_$LINE"
8898 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8902 eval "$ac_cv_use_hyperlink"
8903 if test "$no_cache" != 1; then
8904 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8907 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8908 echo "$as_me:$LINENO: result: yes" >&5
8909 echo "${ECHO_T}yes" >&6
8911 echo "$as_me:$LINENO: result: no" >&5
8912 echo "${ECHO_T}no" >&6
8917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8918 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8920 # Check whether --enable-imaglist or --disable-imaglist was given.
8921 if test "${enable_imaglist+set}" = set; then
8922 enableval="$enable_imaglist"
8924 if test "$enableval" = yes; then
8925 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
8927 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
8932 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8933 if test "x$LINE" != x ; then
8934 eval "DEFAULT_$LINE"
8939 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8943 eval "$ac_cv_use_imaglist"
8944 if test "$no_cache" != 1; then
8945 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8948 if test "$wxUSE_IMAGLIST" = yes; then
8949 echo "$as_me:$LINENO: result: yes" >&5
8950 echo "${ECHO_T}yes" >&6
8952 echo "$as_me:$LINENO: result: no" >&5
8953 echo "${ECHO_T}no" >&6
8958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8959 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8961 # Check whether --enable-listbook or --disable-listbook was given.
8962 if test "${enable_listbook+set}" = set; then
8963 enableval="$enable_listbook"
8965 if test "$enableval" = yes; then
8966 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
8968 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
8973 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8974 if test "x$LINE" != x ; then
8975 eval "DEFAULT_$LINE"
8980 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8984 eval "$ac_cv_use_listbook"
8985 if test "$no_cache" != 1; then
8986 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8989 if test "$wxUSE_LISTBOOK" = yes; then
8990 echo "$as_me:$LINENO: result: yes" >&5
8991 echo "${ECHO_T}yes" >&6
8993 echo "$as_me:$LINENO: result: no" >&5
8994 echo "${ECHO_T}no" >&6
8999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9000 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9002 # Check whether --enable-listbox or --disable-listbox was given.
9003 if test "${enable_listbox+set}" = set; then
9004 enableval="$enable_listbox"
9006 if test "$enableval" = yes; then
9007 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9009 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9014 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9015 if test "x$LINE" != x ; then
9016 eval "DEFAULT_$LINE"
9021 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9025 eval "$ac_cv_use_listbox"
9026 if test "$no_cache" != 1; then
9027 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9030 if test "$wxUSE_LISTBOX" = yes; then
9031 echo "$as_me:$LINENO: result: yes" >&5
9032 echo "${ECHO_T}yes" >&6
9034 echo "$as_me:$LINENO: result: no" >&5
9035 echo "${ECHO_T}no" >&6
9040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9041 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9043 # Check whether --enable-listctrl or --disable-listctrl was given.
9044 if test "${enable_listctrl+set}" = set; then
9045 enableval="$enable_listctrl"
9047 if test "$enableval" = yes; then
9048 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9050 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9055 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9056 if test "x$LINE" != x ; then
9057 eval "DEFAULT_$LINE"
9062 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9066 eval "$ac_cv_use_listctrl"
9067 if test "$no_cache" != 1; then
9068 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9071 if test "$wxUSE_LISTCTRL" = yes; then
9072 echo "$as_me:$LINENO: result: yes" >&5
9073 echo "${ECHO_T}yes" >&6
9075 echo "$as_me:$LINENO: result: no" >&5
9076 echo "${ECHO_T}no" >&6
9081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9082 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9084 # Check whether --enable-notebook or --disable-notebook was given.
9085 if test "${enable_notebook+set}" = set; then
9086 enableval="$enable_notebook"
9088 if test "$enableval" = yes; then
9089 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9091 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9096 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9097 if test "x$LINE" != x ; then
9098 eval "DEFAULT_$LINE"
9103 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9107 eval "$ac_cv_use_notebook"
9108 if test "$no_cache" != 1; then
9109 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9112 if test "$wxUSE_NOTEBOOK" = yes; then
9113 echo "$as_me:$LINENO: result: yes" >&5
9114 echo "${ECHO_T}yes" >&6
9116 echo "$as_me:$LINENO: result: no" >&5
9117 echo "${ECHO_T}no" >&6
9122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9123 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9125 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9126 if test "${enable_odcombobox+set}" = set; then
9127 enableval="$enable_odcombobox"
9129 if test "$enableval" = yes; then
9130 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9132 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9137 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9138 if test "x$LINE" != x ; then
9139 eval "DEFAULT_$LINE"
9144 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9148 eval "$ac_cv_use_odcombobox"
9149 if test "$no_cache" != 1; then
9150 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9153 if test "$wxUSE_ODCOMBOBOX" = yes; then
9154 echo "$as_me:$LINENO: result: yes" >&5
9155 echo "${ECHO_T}yes" >&6
9157 echo "$as_me:$LINENO: result: no" >&5
9158 echo "${ECHO_T}no" >&6
9163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9164 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9166 # Check whether --enable-radiobox or --disable-radiobox was given.
9167 if test "${enable_radiobox+set}" = set; then
9168 enableval="$enable_radiobox"
9170 if test "$enableval" = yes; then
9171 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9173 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9178 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9179 if test "x$LINE" != x ; then
9180 eval "DEFAULT_$LINE"
9185 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9189 eval "$ac_cv_use_radiobox"
9190 if test "$no_cache" != 1; then
9191 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9194 if test "$wxUSE_RADIOBOX" = yes; then
9195 echo "$as_me:$LINENO: result: yes" >&5
9196 echo "${ECHO_T}yes" >&6
9198 echo "$as_me:$LINENO: result: no" >&5
9199 echo "${ECHO_T}no" >&6
9204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9205 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9207 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9208 if test "${enable_radiobtn+set}" = set; then
9209 enableval="$enable_radiobtn"
9211 if test "$enableval" = yes; then
9212 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9214 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9219 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9220 if test "x$LINE" != x ; then
9221 eval "DEFAULT_$LINE"
9226 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9230 eval "$ac_cv_use_radiobtn"
9231 if test "$no_cache" != 1; then
9232 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9235 if test "$wxUSE_RADIOBTN" = yes; then
9236 echo "$as_me:$LINENO: result: yes" >&5
9237 echo "${ECHO_T}yes" >&6
9239 echo "$as_me:$LINENO: result: no" >&5
9240 echo "${ECHO_T}no" >&6
9245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9246 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9248 # Check whether --enable-sash or --disable-sash was given.
9249 if test "${enable_sash+set}" = set; then
9250 enableval="$enable_sash"
9252 if test "$enableval" = yes; then
9253 ac_cv_use_sash='wxUSE_SASH=yes'
9255 ac_cv_use_sash='wxUSE_SASH=no'
9260 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9261 if test "x$LINE" != x ; then
9262 eval "DEFAULT_$LINE"
9267 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9271 eval "$ac_cv_use_sash"
9272 if test "$no_cache" != 1; then
9273 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9276 if test "$wxUSE_SASH" = yes; then
9277 echo "$as_me:$LINENO: result: yes" >&5
9278 echo "${ECHO_T}yes" >&6
9280 echo "$as_me:$LINENO: result: no" >&5
9281 echo "${ECHO_T}no" >&6
9286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9287 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9289 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9290 if test "${enable_scrollbar+set}" = set; then
9291 enableval="$enable_scrollbar"
9293 if test "$enableval" = yes; then
9294 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9296 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9301 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9302 if test "x$LINE" != x ; then
9303 eval "DEFAULT_$LINE"
9308 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9312 eval "$ac_cv_use_scrollbar"
9313 if test "$no_cache" != 1; then
9314 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9317 if test "$wxUSE_SCROLLBAR" = yes; then
9318 echo "$as_me:$LINENO: result: yes" >&5
9319 echo "${ECHO_T}yes" >&6
9321 echo "$as_me:$LINENO: result: no" >&5
9322 echo "${ECHO_T}no" >&6
9327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9328 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9330 # Check whether --enable-slider or --disable-slider was given.
9331 if test "${enable_slider+set}" = set; then
9332 enableval="$enable_slider"
9334 if test "$enableval" = yes; then
9335 ac_cv_use_slider='wxUSE_SLIDER=yes'
9337 ac_cv_use_slider='wxUSE_SLIDER=no'
9342 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9343 if test "x$LINE" != x ; then
9344 eval "DEFAULT_$LINE"
9349 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9353 eval "$ac_cv_use_slider"
9354 if test "$no_cache" != 1; then
9355 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9358 if test "$wxUSE_SLIDER" = yes; then
9359 echo "$as_me:$LINENO: result: yes" >&5
9360 echo "${ECHO_T}yes" >&6
9362 echo "$as_me:$LINENO: result: no" >&5
9363 echo "${ECHO_T}no" >&6
9368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9369 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9371 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9372 if test "${enable_spinbtn+set}" = set; then
9373 enableval="$enable_spinbtn"
9375 if test "$enableval" = yes; then
9376 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9378 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9383 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9384 if test "x$LINE" != x ; then
9385 eval "DEFAULT_$LINE"
9390 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9394 eval "$ac_cv_use_spinbtn"
9395 if test "$no_cache" != 1; then
9396 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9399 if test "$wxUSE_SPINBTN" = yes; then
9400 echo "$as_me:$LINENO: result: yes" >&5
9401 echo "${ECHO_T}yes" >&6
9403 echo "$as_me:$LINENO: result: no" >&5
9404 echo "${ECHO_T}no" >&6
9409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9410 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9412 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9413 if test "${enable_spinctrl+set}" = set; then
9414 enableval="$enable_spinctrl"
9416 if test "$enableval" = yes; then
9417 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9419 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9424 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9425 if test "x$LINE" != x ; then
9426 eval "DEFAULT_$LINE"
9431 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9435 eval "$ac_cv_use_spinctrl"
9436 if test "$no_cache" != 1; then
9437 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9440 if test "$wxUSE_SPINCTRL" = yes; then
9441 echo "$as_me:$LINENO: result: yes" >&5
9442 echo "${ECHO_T}yes" >&6
9444 echo "$as_me:$LINENO: result: no" >&5
9445 echo "${ECHO_T}no" >&6
9450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9451 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9453 # Check whether --enable-splitter or --disable-splitter was given.
9454 if test "${enable_splitter+set}" = set; then
9455 enableval="$enable_splitter"
9457 if test "$enableval" = yes; then
9458 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9460 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9465 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9466 if test "x$LINE" != x ; then
9467 eval "DEFAULT_$LINE"
9472 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9476 eval "$ac_cv_use_splitter"
9477 if test "$no_cache" != 1; then
9478 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9481 if test "$wxUSE_SPLITTER" = yes; then
9482 echo "$as_me:$LINENO: result: yes" >&5
9483 echo "${ECHO_T}yes" >&6
9485 echo "$as_me:$LINENO: result: no" >&5
9486 echo "${ECHO_T}no" >&6
9491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9492 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9494 # Check whether --enable-statbmp or --disable-statbmp was given.
9495 if test "${enable_statbmp+set}" = set; then
9496 enableval="$enable_statbmp"
9498 if test "$enableval" = yes; then
9499 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9501 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9506 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9507 if test "x$LINE" != x ; then
9508 eval "DEFAULT_$LINE"
9513 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9517 eval "$ac_cv_use_statbmp"
9518 if test "$no_cache" != 1; then
9519 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9522 if test "$wxUSE_STATBMP" = yes; then
9523 echo "$as_me:$LINENO: result: yes" >&5
9524 echo "${ECHO_T}yes" >&6
9526 echo "$as_me:$LINENO: result: no" >&5
9527 echo "${ECHO_T}no" >&6
9532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9533 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9535 # Check whether --enable-statbox or --disable-statbox was given.
9536 if test "${enable_statbox+set}" = set; then
9537 enableval="$enable_statbox"
9539 if test "$enableval" = yes; then
9540 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9542 ac_cv_use_statbox='wxUSE_STATBOX=no'
9547 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9548 if test "x$LINE" != x ; then
9549 eval "DEFAULT_$LINE"
9554 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9558 eval "$ac_cv_use_statbox"
9559 if test "$no_cache" != 1; then
9560 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9563 if test "$wxUSE_STATBOX" = yes; then
9564 echo "$as_me:$LINENO: result: yes" >&5
9565 echo "${ECHO_T}yes" >&6
9567 echo "$as_me:$LINENO: result: no" >&5
9568 echo "${ECHO_T}no" >&6
9573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9574 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9576 # Check whether --enable-statline or --disable-statline was given.
9577 if test "${enable_statline+set}" = set; then
9578 enableval="$enable_statline"
9580 if test "$enableval" = yes; then
9581 ac_cv_use_statline='wxUSE_STATLINE=yes'
9583 ac_cv_use_statline='wxUSE_STATLINE=no'
9588 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9589 if test "x$LINE" != x ; then
9590 eval "DEFAULT_$LINE"
9595 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9599 eval "$ac_cv_use_statline"
9600 if test "$no_cache" != 1; then
9601 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9604 if test "$wxUSE_STATLINE" = yes; then
9605 echo "$as_me:$LINENO: result: yes" >&5
9606 echo "${ECHO_T}yes" >&6
9608 echo "$as_me:$LINENO: result: no" >&5
9609 echo "${ECHO_T}no" >&6
9614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9615 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9617 # Check whether --enable-stattext or --disable-stattext was given.
9618 if test "${enable_stattext+set}" = set; then
9619 enableval="$enable_stattext"
9621 if test "$enableval" = yes; then
9622 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9624 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9629 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9630 if test "x$LINE" != x ; then
9631 eval "DEFAULT_$LINE"
9636 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9640 eval "$ac_cv_use_stattext"
9641 if test "$no_cache" != 1; then
9642 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9645 if test "$wxUSE_STATTEXT" = yes; then
9646 echo "$as_me:$LINENO: result: yes" >&5
9647 echo "${ECHO_T}yes" >&6
9649 echo "$as_me:$LINENO: result: no" >&5
9650 echo "${ECHO_T}no" >&6
9655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9656 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9658 # Check whether --enable-statusbar or --disable-statusbar was given.
9659 if test "${enable_statusbar+set}" = set; then
9660 enableval="$enable_statusbar"
9662 if test "$enableval" = yes; then
9663 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9665 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9670 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9671 if test "x$LINE" != x ; then
9672 eval "DEFAULT_$LINE"
9677 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9681 eval "$ac_cv_use_statusbar"
9682 if test "$no_cache" != 1; then
9683 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9686 if test "$wxUSE_STATUSBAR" = yes; then
9687 echo "$as_me:$LINENO: result: yes" >&5
9688 echo "${ECHO_T}yes" >&6
9690 echo "$as_me:$LINENO: result: no" >&5
9691 echo "${ECHO_T}no" >&6
9696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9697 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9699 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9700 if test "${enable_tabdialog+set}" = set; then
9701 enableval="$enable_tabdialog"
9703 if test "$enableval" = yes; then
9704 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9706 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9711 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9712 if test "x$LINE" != x ; then
9713 eval "DEFAULT_$LINE"
9718 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9722 eval "$ac_cv_use_tabdialog"
9723 if test "$no_cache" != 1; then
9724 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9727 if test "$wxUSE_TAB_DIALOG" = yes; then
9728 echo "$as_me:$LINENO: result: yes" >&5
9729 echo "${ECHO_T}yes" >&6
9731 echo "$as_me:$LINENO: result: no" >&5
9732 echo "${ECHO_T}no" >&6
9737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9738 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9740 # Check whether --enable-textctrl or --disable-textctrl was given.
9741 if test "${enable_textctrl+set}" = set; then
9742 enableval="$enable_textctrl"
9744 if test "$enableval" = yes; then
9745 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9747 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9752 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9753 if test "x$LINE" != x ; then
9754 eval "DEFAULT_$LINE"
9759 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9763 eval "$ac_cv_use_textctrl"
9764 if test "$no_cache" != 1; then
9765 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9768 if test "$wxUSE_TEXTCTRL" = yes; then
9769 echo "$as_me:$LINENO: result: yes" >&5
9770 echo "${ECHO_T}yes" >&6
9772 echo "$as_me:$LINENO: result: no" >&5
9773 echo "${ECHO_T}no" >&6
9778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9779 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9781 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9782 if test "${enable_togglebtn+set}" = set; then
9783 enableval="$enable_togglebtn"
9785 if test "$enableval" = yes; then
9786 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9788 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9793 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9794 if test "x$LINE" != x ; then
9795 eval "DEFAULT_$LINE"
9800 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9804 eval "$ac_cv_use_togglebtn"
9805 if test "$no_cache" != 1; then
9806 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9809 if test "$wxUSE_TOGGLEBTN" = yes; then
9810 echo "$as_me:$LINENO: result: yes" >&5
9811 echo "${ECHO_T}yes" >&6
9813 echo "$as_me:$LINENO: result: no" >&5
9814 echo "${ECHO_T}no" >&6
9819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9820 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9822 # Check whether --enable-toolbar or --disable-toolbar was given.
9823 if test "${enable_toolbar+set}" = set; then
9824 enableval="$enable_toolbar"
9826 if test "$enableval" = yes; then
9827 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9829 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9834 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9835 if test "x$LINE" != x ; then
9836 eval "DEFAULT_$LINE"
9841 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9845 eval "$ac_cv_use_toolbar"
9846 if test "$no_cache" != 1; then
9847 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9850 if test "$wxUSE_TOOLBAR" = yes; then
9851 echo "$as_me:$LINENO: result: yes" >&5
9852 echo "${ECHO_T}yes" >&6
9854 echo "$as_me:$LINENO: result: no" >&5
9855 echo "${ECHO_T}no" >&6
9860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9861 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9863 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9864 if test "${enable_tbarnative+set}" = set; then
9865 enableval="$enable_tbarnative"
9867 if test "$enableval" = yes; then
9868 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
9870 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
9875 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9876 if test "x$LINE" != x ; then
9877 eval "DEFAULT_$LINE"
9882 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9886 eval "$ac_cv_use_tbarnative"
9887 if test "$no_cache" != 1; then
9888 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9891 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9892 echo "$as_me:$LINENO: result: yes" >&5
9893 echo "${ECHO_T}yes" >&6
9895 echo "$as_me:$LINENO: result: no" >&5
9896 echo "${ECHO_T}no" >&6
9901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9902 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9904 # Check whether --enable-treebook or --disable-treebook was given.
9905 if test "${enable_treebook+set}" = set; then
9906 enableval="$enable_treebook"
9908 if test "$enableval" = yes; then
9909 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
9911 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
9916 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9917 if test "x$LINE" != x ; then
9918 eval "DEFAULT_$LINE"
9923 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9927 eval "$ac_cv_use_treebook"
9928 if test "$no_cache" != 1; then
9929 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9932 if test "$wxUSE_TREEBOOK" = yes; then
9933 echo "$as_me:$LINENO: result: yes" >&5
9934 echo "${ECHO_T}yes" >&6
9936 echo "$as_me:$LINENO: result: no" >&5
9937 echo "${ECHO_T}no" >&6
9942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9943 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9945 # Check whether --enable-toolbook or --disable-toolbook was given.
9946 if test "${enable_toolbook+set}" = set; then
9947 enableval="$enable_toolbook"
9949 if test "$enableval" = yes; then
9950 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
9952 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
9957 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9958 if test "x$LINE" != x ; then
9959 eval "DEFAULT_$LINE"
9964 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9968 eval "$ac_cv_use_toolbook"
9969 if test "$no_cache" != 1; then
9970 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9973 if test "$wxUSE_TOOLBOOK" = yes; then
9974 echo "$as_me:$LINENO: result: yes" >&5
9975 echo "${ECHO_T}yes" >&6
9977 echo "$as_me:$LINENO: result: no" >&5
9978 echo "${ECHO_T}no" >&6
9983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9984 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9986 # Check whether --enable-treectrl or --disable-treectrl was given.
9987 if test "${enable_treectrl+set}" = set; then
9988 enableval="$enable_treectrl"
9990 if test "$enableval" = yes; then
9991 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
9993 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
9998 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9999 if test "x$LINE" != x ; then
10000 eval "DEFAULT_$LINE"
10005 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10009 eval "$ac_cv_use_treectrl"
10010 if test "$no_cache" != 1; then
10011 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10014 if test "$wxUSE_TREECTRL" = yes; then
10015 echo "$as_me:$LINENO: result: yes" >&5
10016 echo "${ECHO_T}yes" >&6
10018 echo "$as_me:$LINENO: result: no" >&5
10019 echo "${ECHO_T}no" >&6
10024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10025 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10027 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10028 if test "${enable_tipwindow+set}" = set; then
10029 enableval="$enable_tipwindow"
10031 if test "$enableval" = yes; then
10032 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10034 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10039 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10040 if test "x$LINE" != x ; then
10041 eval "DEFAULT_$LINE"
10046 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10050 eval "$ac_cv_use_tipwindow"
10051 if test "$no_cache" != 1; then
10052 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10055 if test "$wxUSE_TIPWINDOW" = yes; then
10056 echo "$as_me:$LINENO: result: yes" >&5
10057 echo "${ECHO_T}yes" >&6
10059 echo "$as_me:$LINENO: result: no" >&5
10060 echo "${ECHO_T}no" >&6
10065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10066 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10068 # Check whether --enable-popupwin or --disable-popupwin was given.
10069 if test "${enable_popupwin+set}" = set; then
10070 enableval="$enable_popupwin"
10072 if test "$enableval" = yes; then
10073 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10075 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10080 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10081 if test "x$LINE" != x ; then
10082 eval "DEFAULT_$LINE"
10087 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10091 eval "$ac_cv_use_popupwin"
10092 if test "$no_cache" != 1; then
10093 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10096 if test "$wxUSE_POPUPWIN" = yes; then
10097 echo "$as_me:$LINENO: result: yes" >&5
10098 echo "${ECHO_T}yes" >&6
10100 echo "$as_me:$LINENO: result: no" >&5
10101 echo "${ECHO_T}no" >&6
10108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10109 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10111 # Check whether --enable-commondlg or --disable-commondlg was given.
10112 if test "${enable_commondlg+set}" = set; then
10113 enableval="$enable_commondlg"
10115 if test "$enableval" = yes; then
10116 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10118 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10123 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10124 if test "x$LINE" != x ; then
10125 eval "DEFAULT_$LINE"
10130 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10134 eval "$ac_cv_use_commondlg"
10135 if test "$no_cache" != 1; then
10136 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10139 if test "$wxUSE_COMMONDLGS" = yes; then
10140 echo "$as_me:$LINENO: result: yes" >&5
10141 echo "${ECHO_T}yes" >&6
10143 echo "$as_me:$LINENO: result: no" >&5
10144 echo "${ECHO_T}no" >&6
10149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10150 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10152 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10153 if test "${enable_aboutdlg+set}" = set; then
10154 enableval="$enable_aboutdlg"
10156 if test "$enableval" = yes; then
10157 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10159 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10164 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10165 if test "x$LINE" != x ; then
10166 eval "DEFAULT_$LINE"
10171 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10175 eval "$ac_cv_use_aboutdlg"
10176 if test "$no_cache" != 1; then
10177 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10180 if test "$wxUSE_ABOUTDLG" = yes; then
10181 echo "$as_me:$LINENO: result: yes" >&5
10182 echo "${ECHO_T}yes" >&6
10184 echo "$as_me:$LINENO: result: no" >&5
10185 echo "${ECHO_T}no" >&6
10190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10191 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10193 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10194 if test "${enable_choicedlg+set}" = set; then
10195 enableval="$enable_choicedlg"
10197 if test "$enableval" = yes; then
10198 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10200 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10205 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10206 if test "x$LINE" != x ; then
10207 eval "DEFAULT_$LINE"
10212 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10216 eval "$ac_cv_use_choicedlg"
10217 if test "$no_cache" != 1; then
10218 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10221 if test "$wxUSE_CHOICEDLG" = yes; then
10222 echo "$as_me:$LINENO: result: yes" >&5
10223 echo "${ECHO_T}yes" >&6
10225 echo "$as_me:$LINENO: result: no" >&5
10226 echo "${ECHO_T}no" >&6
10231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10232 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10234 # Check whether --enable-coldlg or --disable-coldlg was given.
10235 if test "${enable_coldlg+set}" = set; then
10236 enableval="$enable_coldlg"
10238 if test "$enableval" = yes; then
10239 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10241 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10246 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10247 if test "x$LINE" != x ; then
10248 eval "DEFAULT_$LINE"
10253 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10257 eval "$ac_cv_use_coldlg"
10258 if test "$no_cache" != 1; then
10259 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10262 if test "$wxUSE_COLOURDLG" = yes; then
10263 echo "$as_me:$LINENO: result: yes" >&5
10264 echo "${ECHO_T}yes" >&6
10266 echo "$as_me:$LINENO: result: no" >&5
10267 echo "${ECHO_T}no" >&6
10272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10273 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10275 # Check whether --enable-filedlg or --disable-filedlg was given.
10276 if test "${enable_filedlg+set}" = set; then
10277 enableval="$enable_filedlg"
10279 if test "$enableval" = yes; then
10280 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10282 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10287 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10288 if test "x$LINE" != x ; then
10289 eval "DEFAULT_$LINE"
10294 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10298 eval "$ac_cv_use_filedlg"
10299 if test "$no_cache" != 1; then
10300 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10303 if test "$wxUSE_FILEDLG" = yes; then
10304 echo "$as_me:$LINENO: result: yes" >&5
10305 echo "${ECHO_T}yes" >&6
10307 echo "$as_me:$LINENO: result: no" >&5
10308 echo "${ECHO_T}no" >&6
10313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10314 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10316 # Check whether --enable-finddlg or --disable-finddlg was given.
10317 if test "${enable_finddlg+set}" = set; then
10318 enableval="$enable_finddlg"
10320 if test "$enableval" = yes; then
10321 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10323 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10328 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10329 if test "x$LINE" != x ; then
10330 eval "DEFAULT_$LINE"
10335 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10339 eval "$ac_cv_use_finddlg"
10340 if test "$no_cache" != 1; then
10341 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10344 if test "$wxUSE_FINDREPLDLG" = yes; then
10345 echo "$as_me:$LINENO: result: yes" >&5
10346 echo "${ECHO_T}yes" >&6
10348 echo "$as_me:$LINENO: result: no" >&5
10349 echo "${ECHO_T}no" >&6
10354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10355 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10357 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10358 if test "${enable_fontdlg+set}" = set; then
10359 enableval="$enable_fontdlg"
10361 if test "$enableval" = yes; then
10362 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10364 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10369 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10370 if test "x$LINE" != x ; then
10371 eval "DEFAULT_$LINE"
10376 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10380 eval "$ac_cv_use_fontdlg"
10381 if test "$no_cache" != 1; then
10382 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10385 if test "$wxUSE_FONTDLG" = yes; then
10386 echo "$as_me:$LINENO: result: yes" >&5
10387 echo "${ECHO_T}yes" >&6
10389 echo "$as_me:$LINENO: result: no" >&5
10390 echo "${ECHO_T}no" >&6
10395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10396 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10398 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10399 if test "${enable_dirdlg+set}" = set; then
10400 enableval="$enable_dirdlg"
10402 if test "$enableval" = yes; then
10403 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10405 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10410 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10411 if test "x$LINE" != x ; then
10412 eval "DEFAULT_$LINE"
10417 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10421 eval "$ac_cv_use_dirdlg"
10422 if test "$no_cache" != 1; then
10423 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10426 if test "$wxUSE_DIRDLG" = yes; then
10427 echo "$as_me:$LINENO: result: yes" >&5
10428 echo "${ECHO_T}yes" >&6
10430 echo "$as_me:$LINENO: result: no" >&5
10431 echo "${ECHO_T}no" >&6
10436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10437 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10439 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10440 if test "${enable_msgdlg+set}" = set; then
10441 enableval="$enable_msgdlg"
10443 if test "$enableval" = yes; then
10444 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10446 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10451 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10452 if test "x$LINE" != x ; then
10453 eval "DEFAULT_$LINE"
10458 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10462 eval "$ac_cv_use_msgdlg"
10463 if test "$no_cache" != 1; then
10464 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10467 if test "$wxUSE_MSGDLG" = yes; then
10468 echo "$as_me:$LINENO: result: yes" >&5
10469 echo "${ECHO_T}yes" >&6
10471 echo "$as_me:$LINENO: result: no" >&5
10472 echo "${ECHO_T}no" >&6
10477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10478 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10480 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10481 if test "${enable_numberdlg+set}" = set; then
10482 enableval="$enable_numberdlg"
10484 if test "$enableval" = yes; then
10485 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10487 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10492 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10493 if test "x$LINE" != x ; then
10494 eval "DEFAULT_$LINE"
10499 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10503 eval "$ac_cv_use_numberdlg"
10504 if test "$no_cache" != 1; then
10505 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10508 if test "$wxUSE_NUMBERDLG" = yes; then
10509 echo "$as_me:$LINENO: result: yes" >&5
10510 echo "${ECHO_T}yes" >&6
10512 echo "$as_me:$LINENO: result: no" >&5
10513 echo "${ECHO_T}no" >&6
10518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10519 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10521 # Check whether --enable-splash or --disable-splash was given.
10522 if test "${enable_splash+set}" = set; then
10523 enableval="$enable_splash"
10525 if test "$enableval" = yes; then
10526 ac_cv_use_splash='wxUSE_SPLASH=yes'
10528 ac_cv_use_splash='wxUSE_SPLASH=no'
10533 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10534 if test "x$LINE" != x ; then
10535 eval "DEFAULT_$LINE"
10540 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10544 eval "$ac_cv_use_splash"
10545 if test "$no_cache" != 1; then
10546 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10549 if test "$wxUSE_SPLASH" = yes; then
10550 echo "$as_me:$LINENO: result: yes" >&5
10551 echo "${ECHO_T}yes" >&6
10553 echo "$as_me:$LINENO: result: no" >&5
10554 echo "${ECHO_T}no" >&6
10559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10560 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10562 # Check whether --enable-textdlg or --disable-textdlg was given.
10563 if test "${enable_textdlg+set}" = set; then
10564 enableval="$enable_textdlg"
10566 if test "$enableval" = yes; then
10567 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10569 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10574 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10575 if test "x$LINE" != x ; then
10576 eval "DEFAULT_$LINE"
10581 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10585 eval "$ac_cv_use_textdlg"
10586 if test "$no_cache" != 1; then
10587 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10590 if test "$wxUSE_TEXTDLG" = yes; then
10591 echo "$as_me:$LINENO: result: yes" >&5
10592 echo "${ECHO_T}yes" >&6
10594 echo "$as_me:$LINENO: result: no" >&5
10595 echo "${ECHO_T}no" >&6
10600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10601 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10603 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10604 if test "${enable_tipdlg+set}" = set; then
10605 enableval="$enable_tipdlg"
10607 if test "$enableval" = yes; then
10608 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10610 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10615 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10616 if test "x$LINE" != x ; then
10617 eval "DEFAULT_$LINE"
10622 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10626 eval "$ac_cv_use_tipdlg"
10627 if test "$no_cache" != 1; then
10628 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10631 if test "$wxUSE_STARTUP_TIPS" = yes; then
10632 echo "$as_me:$LINENO: result: yes" >&5
10633 echo "${ECHO_T}yes" >&6
10635 echo "$as_me:$LINENO: result: no" >&5
10636 echo "${ECHO_T}no" >&6
10641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10642 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10644 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10645 if test "${enable_progressdlg+set}" = set; then
10646 enableval="$enable_progressdlg"
10648 if test "$enableval" = yes; then
10649 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10651 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10656 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10657 if test "x$LINE" != x ; then
10658 eval "DEFAULT_$LINE"
10663 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10667 eval "$ac_cv_use_progressdlg"
10668 if test "$no_cache" != 1; then
10669 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10672 if test "$wxUSE_PROGRESSDLG" = yes; then
10673 echo "$as_me:$LINENO: result: yes" >&5
10674 echo "${ECHO_T}yes" >&6
10676 echo "$as_me:$LINENO: result: no" >&5
10677 echo "${ECHO_T}no" >&6
10682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10683 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10685 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10686 if test "${enable_wizarddlg+set}" = set; then
10687 enableval="$enable_wizarddlg"
10689 if test "$enableval" = yes; then
10690 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10692 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10697 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10698 if test "x$LINE" != x ; then
10699 eval "DEFAULT_$LINE"
10704 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10708 eval "$ac_cv_use_wizarddlg"
10709 if test "$no_cache" != 1; then
10710 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10713 if test "$wxUSE_WIZARDDLG" = yes; then
10714 echo "$as_me:$LINENO: result: yes" >&5
10715 echo "${ECHO_T}yes" >&6
10717 echo "$as_me:$LINENO: result: no" >&5
10718 echo "${ECHO_T}no" >&6
10725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10726 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10728 # Check whether --enable-menus or --disable-menus was given.
10729 if test "${enable_menus+set}" = set; then
10730 enableval="$enable_menus"
10732 if test "$enableval" = yes; then
10733 ac_cv_use_menus='wxUSE_MENUS=yes'
10735 ac_cv_use_menus='wxUSE_MENUS=no'
10740 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10741 if test "x$LINE" != x ; then
10742 eval "DEFAULT_$LINE"
10747 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10751 eval "$ac_cv_use_menus"
10752 if test "$no_cache" != 1; then
10753 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10756 if test "$wxUSE_MENUS" = yes; then
10757 echo "$as_me:$LINENO: result: yes" >&5
10758 echo "${ECHO_T}yes" >&6
10760 echo "$as_me:$LINENO: result: no" >&5
10761 echo "${ECHO_T}no" >&6
10766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10767 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10769 # Check whether --enable-miniframe or --disable-miniframe was given.
10770 if test "${enable_miniframe+set}" = set; then
10771 enableval="$enable_miniframe"
10773 if test "$enableval" = yes; then
10774 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10776 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10781 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10782 if test "x$LINE" != x ; then
10783 eval "DEFAULT_$LINE"
10788 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10792 eval "$ac_cv_use_miniframe"
10793 if test "$no_cache" != 1; then
10794 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10797 if test "$wxUSE_MINIFRAME" = yes; then
10798 echo "$as_me:$LINENO: result: yes" >&5
10799 echo "${ECHO_T}yes" >&6
10801 echo "$as_me:$LINENO: result: no" >&5
10802 echo "${ECHO_T}no" >&6
10807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10808 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10810 # Check whether --enable-tooltips or --disable-tooltips was given.
10811 if test "${enable_tooltips+set}" = set; then
10812 enableval="$enable_tooltips"
10814 if test "$enableval" = yes; then
10815 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10817 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10822 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10823 if test "x$LINE" != x ; then
10824 eval "DEFAULT_$LINE"
10829 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10833 eval "$ac_cv_use_tooltips"
10834 if test "$no_cache" != 1; then
10835 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10838 if test "$wxUSE_TOOLTIPS" = yes; then
10839 echo "$as_me:$LINENO: result: yes" >&5
10840 echo "${ECHO_T}yes" >&6
10842 echo "$as_me:$LINENO: result: no" >&5
10843 echo "${ECHO_T}no" >&6
10848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10849 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10851 # Check whether --enable-splines or --disable-splines was given.
10852 if test "${enable_splines+set}" = set; then
10853 enableval="$enable_splines"
10855 if test "$enableval" = yes; then
10856 ac_cv_use_splines='wxUSE_SPLINES=yes'
10858 ac_cv_use_splines='wxUSE_SPLINES=no'
10863 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10864 if test "x$LINE" != x ; then
10865 eval "DEFAULT_$LINE"
10870 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10874 eval "$ac_cv_use_splines"
10875 if test "$no_cache" != 1; then
10876 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10879 if test "$wxUSE_SPLINES" = yes; then
10880 echo "$as_me:$LINENO: result: yes" >&5
10881 echo "${ECHO_T}yes" >&6
10883 echo "$as_me:$LINENO: result: no" >&5
10884 echo "${ECHO_T}no" >&6
10889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10890 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10892 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10893 if test "${enable_mousewheel+set}" = set; then
10894 enableval="$enable_mousewheel"
10896 if test "$enableval" = yes; then
10897 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
10899 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
10904 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10905 if test "x$LINE" != x ; then
10906 eval "DEFAULT_$LINE"
10911 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10915 eval "$ac_cv_use_mousewheel"
10916 if test "$no_cache" != 1; then
10917 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10920 if test "$wxUSE_MOUSEWHEEL" = yes; then
10921 echo "$as_me:$LINENO: result: yes" >&5
10922 echo "${ECHO_T}yes" >&6
10924 echo "$as_me:$LINENO: result: no" >&5
10925 echo "${ECHO_T}no" >&6
10930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10931 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10933 # Check whether --enable-validators or --disable-validators was given.
10934 if test "${enable_validators+set}" = set; then
10935 enableval="$enable_validators"
10937 if test "$enableval" = yes; then
10938 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
10940 ac_cv_use_validators='wxUSE_VALIDATORS=no'
10945 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10946 if test "x$LINE" != x ; then
10947 eval "DEFAULT_$LINE"
10952 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10956 eval "$ac_cv_use_validators"
10957 if test "$no_cache" != 1; then
10958 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10961 if test "$wxUSE_VALIDATORS" = yes; then
10962 echo "$as_me:$LINENO: result: yes" >&5
10963 echo "${ECHO_T}yes" >&6
10965 echo "$as_me:$LINENO: result: no" >&5
10966 echo "${ECHO_T}no" >&6
10971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10972 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10974 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10975 if test "${enable_busyinfo+set}" = set; then
10976 enableval="$enable_busyinfo"
10978 if test "$enableval" = yes; then
10979 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
10981 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
10986 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10987 if test "x$LINE" != x ; then
10988 eval "DEFAULT_$LINE"
10993 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10997 eval "$ac_cv_use_busyinfo"
10998 if test "$no_cache" != 1; then
10999 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11002 if test "$wxUSE_BUSYINFO" = yes; then
11003 echo "$as_me:$LINENO: result: yes" >&5
11004 echo "${ECHO_T}yes" >&6
11006 echo "$as_me:$LINENO: result: no" >&5
11007 echo "${ECHO_T}no" >&6
11012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11013 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11015 # Check whether --enable-joystick or --disable-joystick was given.
11016 if test "${enable_joystick+set}" = set; then
11017 enableval="$enable_joystick"
11019 if test "$enableval" = yes; then
11020 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11022 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11027 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11028 if test "x$LINE" != x ; then
11029 eval "DEFAULT_$LINE"
11034 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11038 eval "$ac_cv_use_joystick"
11039 if test "$no_cache" != 1; then
11040 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11043 if test "$wxUSE_JOYSTICK" = yes; then
11044 echo "$as_me:$LINENO: result: yes" >&5
11045 echo "${ECHO_T}yes" >&6
11047 echo "$as_me:$LINENO: result: no" >&5
11048 echo "${ECHO_T}no" >&6
11053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11054 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11056 # Check whether --enable-metafile or --disable-metafile was given.
11057 if test "${enable_metafile+set}" = set; then
11058 enableval="$enable_metafile"
11060 if test "$enableval" = yes; then
11061 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11063 ac_cv_use_metafile='wxUSE_METAFILE=no'
11068 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11069 if test "x$LINE" != x ; then
11070 eval "DEFAULT_$LINE"
11075 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11079 eval "$ac_cv_use_metafile"
11080 if test "$no_cache" != 1; then
11081 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11084 if test "$wxUSE_METAFILE" = yes; then
11085 echo "$as_me:$LINENO: result: yes" >&5
11086 echo "${ECHO_T}yes" >&6
11088 echo "$as_me:$LINENO: result: no" >&5
11089 echo "${ECHO_T}no" >&6
11094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11095 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11097 # Check whether --enable-dragimage or --disable-dragimage was given.
11098 if test "${enable_dragimage+set}" = set; then
11099 enableval="$enable_dragimage"
11101 if test "$enableval" = yes; then
11102 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11104 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11109 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11110 if test "x$LINE" != x ; then
11111 eval "DEFAULT_$LINE"
11116 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11120 eval "$ac_cv_use_dragimage"
11121 if test "$no_cache" != 1; then
11122 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11125 if test "$wxUSE_DRAGIMAGE" = yes; then
11126 echo "$as_me:$LINENO: result: yes" >&5
11127 echo "${ECHO_T}yes" >&6
11129 echo "$as_me:$LINENO: result: no" >&5
11130 echo "${ECHO_T}no" >&6
11135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11136 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11138 # Check whether --enable-accessibility or --disable-accessibility was given.
11139 if test "${enable_accessibility+set}" = set; then
11140 enableval="$enable_accessibility"
11142 if test "$enableval" = yes; then
11143 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11145 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11150 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11151 if test "x$LINE" != x ; then
11152 eval "DEFAULT_$LINE"
11157 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11161 eval "$ac_cv_use_accessibility"
11162 if test "$no_cache" != 1; then
11163 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11166 if test "$wxUSE_ACCESSIBILITY" = yes; then
11167 echo "$as_me:$LINENO: result: yes" >&5
11168 echo "${ECHO_T}yes" >&6
11170 echo "$as_me:$LINENO: result: no" >&5
11171 echo "${ECHO_T}no" >&6
11175 if test "$wxUSE_MSW" = "1"; then
11178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11179 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11181 # Check whether --enable-dccache or --disable-dccache was given.
11182 if test "${enable_dccache+set}" = set; then
11183 enableval="$enable_dccache"
11185 if test "$enableval" = yes; then
11186 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11188 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11193 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11194 if test "x$LINE" != x ; then
11195 eval "DEFAULT_$LINE"
11200 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11204 eval "$ac_cv_use_dccache"
11205 if test "$no_cache" != 1; then
11206 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11209 if test "$wxUSE_DC_CACHEING" = yes; then
11210 echo "$as_me:$LINENO: result: yes" >&5
11211 echo "${ECHO_T}yes" >&6
11213 echo "$as_me:$LINENO: result: no" >&5
11214 echo "${ECHO_T}no" >&6
11222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11223 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11225 # Check whether --enable-palette or --disable-palette was given.
11226 if test "${enable_palette+set}" = set; then
11227 enableval="$enable_palette"
11229 if test "$enableval" = yes; then
11230 ac_cv_use_palette='wxUSE_PALETTE=yes'
11232 ac_cv_use_palette='wxUSE_PALETTE=no'
11237 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11238 if test "x$LINE" != x ; then
11239 eval "DEFAULT_$LINE"
11244 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11248 eval "$ac_cv_use_palette"
11249 if test "$no_cache" != 1; then
11250 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11253 if test "$wxUSE_PALETTE" = yes; then
11254 echo "$as_me:$LINENO: result: yes" >&5
11255 echo "${ECHO_T}yes" >&6
11257 echo "$as_me:$LINENO: result: no" >&5
11258 echo "${ECHO_T}no" >&6
11263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11264 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11266 # Check whether --enable-image or --disable-image was given.
11267 if test "${enable_image+set}" = set; then
11268 enableval="$enable_image"
11270 if test "$enableval" = yes; then
11271 ac_cv_use_image='wxUSE_IMAGE=yes'
11273 ac_cv_use_image='wxUSE_IMAGE=no'
11278 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11279 if test "x$LINE" != x ; then
11280 eval "DEFAULT_$LINE"
11285 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11289 eval "$ac_cv_use_image"
11290 if test "$no_cache" != 1; then
11291 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11294 if test "$wxUSE_IMAGE" = yes; then
11295 echo "$as_me:$LINENO: result: yes" >&5
11296 echo "${ECHO_T}yes" >&6
11298 echo "$as_me:$LINENO: result: no" >&5
11299 echo "${ECHO_T}no" >&6
11304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11305 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11307 # Check whether --enable-gif or --disable-gif was given.
11308 if test "${enable_gif+set}" = set; then
11309 enableval="$enable_gif"
11311 if test "$enableval" = yes; then
11312 ac_cv_use_gif='wxUSE_GIF=yes'
11314 ac_cv_use_gif='wxUSE_GIF=no'
11319 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11320 if test "x$LINE" != x ; then
11321 eval "DEFAULT_$LINE"
11326 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11330 eval "$ac_cv_use_gif"
11331 if test "$no_cache" != 1; then
11332 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11335 if test "$wxUSE_GIF" = yes; then
11336 echo "$as_me:$LINENO: result: yes" >&5
11337 echo "${ECHO_T}yes" >&6
11339 echo "$as_me:$LINENO: result: no" >&5
11340 echo "${ECHO_T}no" >&6
11345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11346 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11348 # Check whether --enable-pcx or --disable-pcx was given.
11349 if test "${enable_pcx+set}" = set; then
11350 enableval="$enable_pcx"
11352 if test "$enableval" = yes; then
11353 ac_cv_use_pcx='wxUSE_PCX=yes'
11355 ac_cv_use_pcx='wxUSE_PCX=no'
11360 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11361 if test "x$LINE" != x ; then
11362 eval "DEFAULT_$LINE"
11367 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11371 eval "$ac_cv_use_pcx"
11372 if test "$no_cache" != 1; then
11373 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11376 if test "$wxUSE_PCX" = yes; then
11377 echo "$as_me:$LINENO: result: yes" >&5
11378 echo "${ECHO_T}yes" >&6
11380 echo "$as_me:$LINENO: result: no" >&5
11381 echo "${ECHO_T}no" >&6
11386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11387 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11389 # Check whether --enable-iff or --disable-iff was given.
11390 if test "${enable_iff+set}" = set; then
11391 enableval="$enable_iff"
11393 if test "$enableval" = yes; then
11394 ac_cv_use_iff='wxUSE_IFF=yes'
11396 ac_cv_use_iff='wxUSE_IFF=no'
11401 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11402 if test "x$LINE" != x ; then
11403 eval "DEFAULT_$LINE"
11408 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11412 eval "$ac_cv_use_iff"
11413 if test "$no_cache" != 1; then
11414 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11417 if test "$wxUSE_IFF" = yes; then
11418 echo "$as_me:$LINENO: result: yes" >&5
11419 echo "${ECHO_T}yes" >&6
11421 echo "$as_me:$LINENO: result: no" >&5
11422 echo "${ECHO_T}no" >&6
11427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11428 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11430 # Check whether --enable-pnm or --disable-pnm was given.
11431 if test "${enable_pnm+set}" = set; then
11432 enableval="$enable_pnm"
11434 if test "$enableval" = yes; then
11435 ac_cv_use_pnm='wxUSE_PNM=yes'
11437 ac_cv_use_pnm='wxUSE_PNM=no'
11442 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11443 if test "x$LINE" != x ; then
11444 eval "DEFAULT_$LINE"
11449 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11453 eval "$ac_cv_use_pnm"
11454 if test "$no_cache" != 1; then
11455 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11458 if test "$wxUSE_PNM" = yes; then
11459 echo "$as_me:$LINENO: result: yes" >&5
11460 echo "${ECHO_T}yes" >&6
11462 echo "$as_me:$LINENO: result: no" >&5
11463 echo "${ECHO_T}no" >&6
11468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11469 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11471 # Check whether --enable-xpm or --disable-xpm was given.
11472 if test "${enable_xpm+set}" = set; then
11473 enableval="$enable_xpm"
11475 if test "$enableval" = yes; then
11476 ac_cv_use_xpm='wxUSE_XPM=yes'
11478 ac_cv_use_xpm='wxUSE_XPM=no'
11483 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11484 if test "x$LINE" != x ; then
11485 eval "DEFAULT_$LINE"
11490 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11494 eval "$ac_cv_use_xpm"
11495 if test "$no_cache" != 1; then
11496 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11499 if test "$wxUSE_XPM" = yes; then
11500 echo "$as_me:$LINENO: result: yes" >&5
11501 echo "${ECHO_T}yes" >&6
11503 echo "$as_me:$LINENO: result: no" >&5
11504 echo "${ECHO_T}no" >&6
11509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11510 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11512 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11513 if test "${enable_ico_cur+set}" = set; then
11514 enableval="$enable_ico_cur"
11516 if test "$enableval" = yes; then
11517 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11519 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11524 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11525 if test "x$LINE" != x ; then
11526 eval "DEFAULT_$LINE"
11531 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11535 eval "$ac_cv_use_ico_cur"
11536 if test "$no_cache" != 1; then
11537 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11540 if test "$wxUSE_ICO_CUR" = yes; then
11541 echo "$as_me:$LINENO: result: yes" >&5
11542 echo "${ECHO_T}yes" >&6
11544 echo "$as_me:$LINENO: result: no" >&5
11545 echo "${ECHO_T}no" >&6
11553 # Check whether --with-flavour or --without-flavour was given.
11554 if test "${with_flavour+set}" = set; then
11555 withval="$with_flavour"
11556 WX_FLAVOUR="$withval"
11562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11563 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11565 # Check whether --enable-official_build or --disable-official_build was given.
11566 if test "${enable_official_build+set}" = set; then
11567 enableval="$enable_official_build"
11569 if test "$enableval" = yes; then
11570 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11572 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11577 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11578 if test "x$LINE" != x ; then
11579 eval "DEFAULT_$LINE"
11584 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11588 eval "$ac_cv_use_official_build"
11589 if test "$no_cache" != 1; then
11590 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11593 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11594 echo "$as_me:$LINENO: result: yes" >&5
11595 echo "${ECHO_T}yes" >&6
11597 echo "$as_me:$LINENO: result: no" >&5
11598 echo "${ECHO_T}no" >&6
11601 # Check whether --enable-vendor or --disable-vendor was given.
11602 if test "${enable_vendor+set}" = set; then
11603 enableval="$enable_vendor"
11604 VENDOR="$enableval"
11606 if test "x$VENDOR" = "x"; then
11613 echo "saving argument cache $wx_arg_cache_file"
11614 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11618 echo "$as_me:$LINENO: checking for toolkit" >&5
11619 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11621 # In Wine, we need to default to MSW, not GTK or MOTIF
11622 if test "$wxUSE_WINE" = "yes"; then
11623 DEFAULT_DEFAULT_wxUSE_GTK=0
11624 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11625 DEFAULT_DEFAULT_wxUSE_MSW=1
11630 if test "$wxUSE_GUI" = "yes"; then
11632 if test "$USE_BEOS" = 1; then
11633 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11634 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11635 { (exit 1); exit 1; }; }
11638 if test "$TOOLKIT_GIVEN" = 1; then
11639 for toolkit in `echo $ALL_TOOLKITS`; do
11641 eval "value=\$${var}"
11642 if test "x$value" = "xno"; then
11644 elif test "x$value" != "x"; then
11648 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11649 eval "wx${toolkit}_VERSION=$value"
11653 for toolkit in `echo $ALL_TOOLKITS`; do
11654 if test "$has_toolkit_in_cache" != 1; then
11655 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11657 var=DEFAULT_wxUSE_$toolkit
11659 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11660 if test "x$version" != "x"; then
11661 eval "wx${toolkit}_VERSION=$version"
11664 eval "wxUSE_$toolkit=\$${var}"
11668 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11669 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11670 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11673 *-pc-os2_emx | *-pc-os2-emx )
11674 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11677 case "$NUM_TOOLKITS" in
11681 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11682 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11683 { (exit 1); exit 1; }; }
11686 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11687 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11688 { (exit 1); exit 1; }; }
11691 # to be removed when --disable-gtk2 isn't needed
11692 if test "x$wxUSE_GTK2" = "xyes"; then
11694 elif test "x$wxUSE_GTK2" = "xno"; then
11698 for toolkit in `echo $ALL_TOOLKITS`; do
11700 eval "value=\$${var}"
11701 if test "x$value" != x; then
11702 cache_var=CACHE_$toolkit
11703 eval "cache=\$${cache_var}"
11704 if test "$cache" = 1; then
11705 echo "$var=$value" >> ${wx_arg_cache_file}
11706 eval "version=\$wx${toolkit}_VERSION"
11707 if test "x$version" != "x"; then
11708 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11711 if test "$value" = 1; then
11712 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11713 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11714 echo "${ECHO_T}$toolkit_echo" >&6
11719 if test "x$host_alias" != "x"; then
11720 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11721 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11723 echo "$as_me:$LINENO: result: base only" >&5
11724 echo "${ECHO_T}base only" >&6
11729 doesnt_want_win32=0
11732 if test "$wxUSE_MSW" = 1 ; then
11734 BAKEFILE_FORCE_PLATFORM=win32
11736 doesnt_want_win32=1
11744 if test "$wxUSE_WINE" = "yes"; then
11748 LDFLAGS_GUI="-mwindows"
11751 if test "$wants_win32" = 1 ; then
11754 cat >>confdefs.h <<\_ACEOF
11755 #define __WIN32__ 1
11758 cat >>confdefs.h <<\_ACEOF
11759 #define __WIN95__ 1
11762 cat >>confdefs.h <<\_ACEOF
11763 #define __WINDOWS__ 1
11766 cat >>confdefs.h <<\_ACEOF
11767 #define __GNUWIN32__ 1
11770 cat >>confdefs.h <<\_ACEOF
11774 cat >>confdefs.h <<\_ACEOF
11775 #define WINVER 0x0400
11779 if test "$doesnt_want_win32" = 1 ; then
11784 if test "$USE_UNIX" = 1 ; then
11786 cat >>confdefs.h <<\_ACEOF
11793 cat >confcache <<\_ACEOF
11794 # This file is a shell script that caches the results of configure
11795 # tests run on this system so they can be shared between configure
11796 # scripts and configure runs, see configure's option --config-cache.
11797 # It is not useful on other systems. If it contains results you don't
11798 # want to keep, you may remove or edit it.
11800 # config.status only pays attention to the cache file if you give it
11801 # the --recheck option to rerun configure.
11803 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11804 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11805 # following values.
11809 # The following way of writing the cache mishandles newlines in values,
11810 # but we know of no workaround that is simple, portable, and efficient.
11811 # So, don't put newlines in cache variables' values.
11812 # Ultrix sh set writes to stderr and can't be redirected directly,
11813 # and sets the high bit in the cache file unless we assign to the vars.
11816 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11818 # `set' does not quote correctly, so add quotes (double-quote
11819 # substitution turns \\\\ into \\, and sed turns \\ into \).
11822 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11825 # `set' quotes correctly as required by POSIX, so do not add quotes.
11827 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11834 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11836 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11838 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11839 if test -w $cache_file; then
11840 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11841 cat confcache >$cache_file
11843 echo "not updating unwritable cache $cache_file"
11853 ac_cpp='$CPP $CPPFLAGS'
11854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11857 if test -n "$ac_tool_prefix"; then
11858 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11859 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11860 echo "$as_me:$LINENO: checking for $ac_word" >&5
11861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11862 if test "${ac_cv_prog_CC+set}" = set; then
11863 echo $ECHO_N "(cached) $ECHO_C" >&6
11865 if test -n "$CC"; then
11866 ac_cv_prog_CC="$CC" # Let the user override the test.
11868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11869 for as_dir in $PATH
11872 test -z "$as_dir" && as_dir=.
11873 for ac_exec_ext in '' $ac_executable_extensions; do
11874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11875 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11885 if test -n "$CC"; then
11886 echo "$as_me:$LINENO: result: $CC" >&5
11887 echo "${ECHO_T}$CC" >&6
11889 echo "$as_me:$LINENO: result: no" >&5
11890 echo "${ECHO_T}no" >&6
11894 if test -z "$ac_cv_prog_CC"; then
11896 # Extract the first word of "gcc", so it can be a program name with args.
11897 set dummy gcc; ac_word=$2
11898 echo "$as_me:$LINENO: checking for $ac_word" >&5
11899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11900 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11901 echo $ECHO_N "(cached) $ECHO_C" >&6
11903 if test -n "$ac_ct_CC"; then
11904 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11907 for as_dir in $PATH
11910 test -z "$as_dir" && as_dir=.
11911 for ac_exec_ext in '' $ac_executable_extensions; do
11912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11913 ac_cv_prog_ac_ct_CC="gcc"
11914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11922 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11923 if test -n "$ac_ct_CC"; then
11924 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11925 echo "${ECHO_T}$ac_ct_CC" >&6
11927 echo "$as_me:$LINENO: result: no" >&5
11928 echo "${ECHO_T}no" >&6
11933 CC="$ac_cv_prog_CC"
11936 if test -z "$CC"; then
11937 if test -n "$ac_tool_prefix"; then
11938 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11939 set dummy ${ac_tool_prefix}cc; ac_word=$2
11940 echo "$as_me:$LINENO: checking for $ac_word" >&5
11941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11942 if test "${ac_cv_prog_CC+set}" = set; then
11943 echo $ECHO_N "(cached) $ECHO_C" >&6
11945 if test -n "$CC"; then
11946 ac_cv_prog_CC="$CC" # Let the user override the test.
11948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11949 for as_dir in $PATH
11952 test -z "$as_dir" && as_dir=.
11953 for ac_exec_ext in '' $ac_executable_extensions; do
11954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11955 ac_cv_prog_CC="${ac_tool_prefix}cc"
11956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11965 if test -n "$CC"; then
11966 echo "$as_me:$LINENO: result: $CC" >&5
11967 echo "${ECHO_T}$CC" >&6
11969 echo "$as_me:$LINENO: result: no" >&5
11970 echo "${ECHO_T}no" >&6
11974 if test -z "$ac_cv_prog_CC"; then
11976 # Extract the first word of "cc", so it can be a program name with args.
11977 set dummy cc; ac_word=$2
11978 echo "$as_me:$LINENO: checking for $ac_word" >&5
11979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11980 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11981 echo $ECHO_N "(cached) $ECHO_C" >&6
11983 if test -n "$ac_ct_CC"; then
11984 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11987 for as_dir in $PATH
11990 test -z "$as_dir" && as_dir=.
11991 for ac_exec_ext in '' $ac_executable_extensions; do
11992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11993 ac_cv_prog_ac_ct_CC="cc"
11994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12002 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12003 if test -n "$ac_ct_CC"; then
12004 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12005 echo "${ECHO_T}$ac_ct_CC" >&6
12007 echo "$as_me:$LINENO: result: no" >&5
12008 echo "${ECHO_T}no" >&6
12013 CC="$ac_cv_prog_CC"
12017 if test -z "$CC"; then
12018 # Extract the first word of "cc", so it can be a program name with args.
12019 set dummy cc; ac_word=$2
12020 echo "$as_me:$LINENO: checking for $ac_word" >&5
12021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12022 if test "${ac_cv_prog_CC+set}" = set; then
12023 echo $ECHO_N "(cached) $ECHO_C" >&6
12025 if test -n "$CC"; then
12026 ac_cv_prog_CC="$CC" # Let the user override the test.
12028 ac_prog_rejected=no
12029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12030 for as_dir in $PATH
12033 test -z "$as_dir" && as_dir=.
12034 for ac_exec_ext in '' $ac_executable_extensions; do
12035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12036 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12037 ac_prog_rejected=yes
12041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12047 if test $ac_prog_rejected = yes; then
12048 # We found a bogon in the path, so make sure we never use it.
12049 set dummy $ac_cv_prog_CC
12051 if test $# != 0; then
12052 # We chose a different compiler from the bogus one.
12053 # However, it has the same basename, so the bogon will be chosen
12054 # first if we set CC to just the basename; use the full file name.
12056 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12062 if test -n "$CC"; then
12063 echo "$as_me:$LINENO: result: $CC" >&5
12064 echo "${ECHO_T}$CC" >&6
12066 echo "$as_me:$LINENO: result: no" >&5
12067 echo "${ECHO_T}no" >&6
12071 if test -z "$CC"; then
12072 if test -n "$ac_tool_prefix"; then
12075 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12076 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12077 echo "$as_me:$LINENO: checking for $ac_word" >&5
12078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12079 if test "${ac_cv_prog_CC+set}" = set; then
12080 echo $ECHO_N "(cached) $ECHO_C" >&6
12082 if test -n "$CC"; then
12083 ac_cv_prog_CC="$CC" # Let the user override the test.
12085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12086 for as_dir in $PATH
12089 test -z "$as_dir" && as_dir=.
12090 for ac_exec_ext in '' $ac_executable_extensions; do
12091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12092 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12102 if test -n "$CC"; then
12103 echo "$as_me:$LINENO: result: $CC" >&5
12104 echo "${ECHO_T}$CC" >&6
12106 echo "$as_me:$LINENO: result: no" >&5
12107 echo "${ECHO_T}no" >&6
12110 test -n "$CC" && break
12113 if test -z "$CC"; then
12117 # Extract the first word of "$ac_prog", so it can be a program name with args.
12118 set dummy $ac_prog; ac_word=$2
12119 echo "$as_me:$LINENO: checking for $ac_word" >&5
12120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12121 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12122 echo $ECHO_N "(cached) $ECHO_C" >&6
12124 if test -n "$ac_ct_CC"; then
12125 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12128 for as_dir in $PATH
12131 test -z "$as_dir" && as_dir=.
12132 for ac_exec_ext in '' $ac_executable_extensions; do
12133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12134 ac_cv_prog_ac_ct_CC="$ac_prog"
12135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12143 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12144 if test -n "$ac_ct_CC"; then
12145 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12146 echo "${ECHO_T}$ac_ct_CC" >&6
12148 echo "$as_me:$LINENO: result: no" >&5
12149 echo "${ECHO_T}no" >&6
12152 test -n "$ac_ct_CC" && break
12161 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12162 See \`config.log' for more details." >&5
12163 echo "$as_me: error: no acceptable C compiler found in \$PATH
12164 See \`config.log' for more details." >&2;}
12165 { (exit 1); exit 1; }; }
12167 # Provide some information about the compiler.
12168 echo "$as_me:$LINENO:" \
12169 "checking for C compiler version" >&5
12170 ac_compiler=`set X $ac_compile; echo $2`
12171 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12172 (eval $ac_compiler --version </dev/null >&5) 2>&5
12174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12175 (exit $ac_status); }
12176 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12177 (eval $ac_compiler -v </dev/null >&5) 2>&5
12179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12180 (exit $ac_status); }
12181 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12182 (eval $ac_compiler -V </dev/null >&5) 2>&5
12184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12185 (exit $ac_status); }
12187 cat >conftest.$ac_ext <<_ACEOF
12190 cat confdefs.h >>conftest.$ac_ext
12191 cat >>conftest.$ac_ext <<_ACEOF
12192 /* end confdefs.h. */
12202 ac_clean_files_save=$ac_clean_files
12203 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12204 # Try to create an executable without -o first, disregard a.out.
12205 # It will help us diagnose broken compilers, and finding out an intuition
12207 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12208 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12209 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12210 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12211 (eval $ac_link_default) 2>&5
12213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12214 (exit $ac_status); }; then
12215 # Find the output, starting from the most likely. This scheme is
12216 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12219 # Be careful to initialize this variable, since it used to be cached.
12220 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12222 # b.out is created by i960 compilers.
12223 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12225 test -f "$ac_file" || continue
12227 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12230 # This is the source file.
12233 # We found the default executable, but exeext='' is most
12237 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12238 # FIXME: I believe we export ac_cv_exeext for Libtool,
12239 # but it would be cool to find out if it's true. Does anybody
12240 # maintain Libtool? --akim.
12241 export ac_cv_exeext
12248 echo "$as_me: failed program was:" >&5
12249 sed 's/^/| /' conftest.$ac_ext >&5
12251 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12252 See \`config.log' for more details." >&5
12253 echo "$as_me: error: C compiler cannot create executables
12254 See \`config.log' for more details." >&2;}
12255 { (exit 77); exit 77; }; }
12258 ac_exeext=$ac_cv_exeext
12259 echo "$as_me:$LINENO: result: $ac_file" >&5
12260 echo "${ECHO_T}$ac_file" >&6
12262 # Check the compiler produces executables we can run. If not, either
12263 # the compiler is broken, or we cross compile.
12264 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12265 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12266 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12267 # If not cross compiling, check that we can run a simple program.
12268 if test "$cross_compiling" != yes; then
12269 if { ac_try='./$ac_file'
12270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12271 (eval $ac_try) 2>&5
12273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12274 (exit $ac_status); }; }; then
12277 if test "$cross_compiling" = maybe; then
12278 cross_compiling=yes
12280 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12281 If you meant to cross compile, use \`--host'.
12282 See \`config.log' for more details." >&5
12283 echo "$as_me: error: cannot run C compiled programs.
12284 If you meant to cross compile, use \`--host'.
12285 See \`config.log' for more details." >&2;}
12286 { (exit 1); exit 1; }; }
12290 echo "$as_me:$LINENO: result: yes" >&5
12291 echo "${ECHO_T}yes" >&6
12293 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12294 ac_clean_files=$ac_clean_files_save
12295 # Check the compiler produces executables we can run. If not, either
12296 # the compiler is broken, or we cross compile.
12297 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12298 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12299 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12300 echo "${ECHO_T}$cross_compiling" >&6
12302 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12303 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12305 (eval $ac_link) 2>&5
12307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12308 (exit $ac_status); }; then
12309 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12310 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12311 # work properly (i.e., refer to `conftest.exe'), while it won't with
12313 for ac_file in conftest.exe conftest conftest.*; do
12314 test -f "$ac_file" || continue
12316 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12317 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12318 export ac_cv_exeext
12324 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12325 See \`config.log' for more details." >&5
12326 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12327 See \`config.log' for more details." >&2;}
12328 { (exit 1); exit 1; }; }
12331 rm -f conftest$ac_cv_exeext
12332 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12333 echo "${ECHO_T}$ac_cv_exeext" >&6
12335 rm -f conftest.$ac_ext
12336 EXEEXT=$ac_cv_exeext
12338 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12339 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12340 if test "${ac_cv_objext+set}" = set; then
12341 echo $ECHO_N "(cached) $ECHO_C" >&6
12343 cat >conftest.$ac_ext <<_ACEOF
12346 cat confdefs.h >>conftest.$ac_ext
12347 cat >>conftest.$ac_ext <<_ACEOF
12348 /* end confdefs.h. */
12358 rm -f conftest.o conftest.obj
12359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12360 (eval $ac_compile) 2>&5
12362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363 (exit $ac_status); }; then
12364 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12366 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12367 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12372 echo "$as_me: failed program was:" >&5
12373 sed 's/^/| /' conftest.$ac_ext >&5
12375 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12376 See \`config.log' for more details." >&5
12377 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12378 See \`config.log' for more details." >&2;}
12379 { (exit 1); exit 1; }; }
12382 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12384 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12385 echo "${ECHO_T}$ac_cv_objext" >&6
12386 OBJEXT=$ac_cv_objext
12388 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12389 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12390 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12391 echo $ECHO_N "(cached) $ECHO_C" >&6
12393 cat >conftest.$ac_ext <<_ACEOF
12396 cat confdefs.h >>conftest.$ac_ext
12397 cat >>conftest.$ac_ext <<_ACEOF
12398 /* end confdefs.h. */
12411 rm -f conftest.$ac_objext
12412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12413 (eval $ac_compile) 2>conftest.er1
12415 grep -v '^ *+' conftest.er1 >conftest.err
12417 cat conftest.err >&5
12418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12419 (exit $ac_status); } &&
12420 { ac_try='test -z "$ac_c_werror_flag"
12421 || test ! -s conftest.err'
12422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12423 (eval $ac_try) 2>&5
12425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426 (exit $ac_status); }; } &&
12427 { ac_try='test -s conftest.$ac_objext'
12428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12429 (eval $ac_try) 2>&5
12431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12432 (exit $ac_status); }; }; then
12433 ac_compiler_gnu=yes
12435 echo "$as_me: failed program was:" >&5
12436 sed 's/^/| /' conftest.$ac_ext >&5
12440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12441 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12444 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12445 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12446 GCC=`test $ac_compiler_gnu = yes && echo yes`
12447 ac_test_CFLAGS=${CFLAGS+set}
12448 ac_save_CFLAGS=$CFLAGS
12450 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12451 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12452 if test "${ac_cv_prog_cc_g+set}" = set; then
12453 echo $ECHO_N "(cached) $ECHO_C" >&6
12455 cat >conftest.$ac_ext <<_ACEOF
12458 cat confdefs.h >>conftest.$ac_ext
12459 cat >>conftest.$ac_ext <<_ACEOF
12460 /* end confdefs.h. */
12470 rm -f conftest.$ac_objext
12471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12472 (eval $ac_compile) 2>conftest.er1
12474 grep -v '^ *+' conftest.er1 >conftest.err
12476 cat conftest.err >&5
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); } &&
12479 { ac_try='test -z "$ac_c_werror_flag"
12480 || test ! -s conftest.err'
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); }; } &&
12486 { ac_try='test -s conftest.$ac_objext'
12487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12488 (eval $ac_try) 2>&5
12490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12491 (exit $ac_status); }; }; then
12492 ac_cv_prog_cc_g=yes
12494 echo "$as_me: failed program was:" >&5
12495 sed 's/^/| /' conftest.$ac_ext >&5
12499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12501 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12502 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12503 if test "$ac_test_CFLAGS" = set; then
12504 CFLAGS=$ac_save_CFLAGS
12505 elif test $ac_cv_prog_cc_g = yes; then
12506 if test "$GCC" = yes; then
12512 if test "$GCC" = yes; then
12518 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12519 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12520 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12521 echo $ECHO_N "(cached) $ECHO_C" >&6
12523 ac_cv_prog_cc_stdc=no
12525 cat >conftest.$ac_ext <<_ACEOF
12528 cat confdefs.h >>conftest.$ac_ext
12529 cat >>conftest.$ac_ext <<_ACEOF
12530 /* end confdefs.h. */
12531 #include <stdarg.h>
12533 #include <sys/types.h>
12534 #include <sys/stat.h>
12535 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12536 struct buf { int x; };
12537 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12538 static char *e (p, i)
12544 static char *f (char * (*g) (char **, int), char **p, ...)
12549 s = g (p, va_arg (v,int));
12554 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12555 function prototypes and stuff, but not '\xHH' hex character constants.
12556 These don't provoke an error unfortunately, instead are silently treated
12557 as 'x'. The following induces an error, until -std1 is added to get
12558 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12559 array size at least. It's necessary to write '\x00'==0 to get something
12560 that's true only with -std1. */
12561 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12563 int test (int i, double x);
12564 struct s1 {int (*f) (int a);};
12565 struct s2 {int (*f) (double a);};
12566 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12572 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12577 # Don't try gcc -ansi; that turns off useful extensions and
12578 # breaks some systems' header files.
12579 # AIX -qlanglvl=ansi
12580 # Ultrix and OSF/1 -std1
12581 # HP-UX 10.20 and later -Ae
12582 # HP-UX older versions -Aa -D_HPUX_SOURCE
12583 # SVR4 -Xc -D__EXTENSIONS__
12584 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12586 CC="$ac_save_CC $ac_arg"
12587 rm -f conftest.$ac_objext
12588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12589 (eval $ac_compile) 2>conftest.er1
12591 grep -v '^ *+' conftest.er1 >conftest.err
12593 cat conftest.err >&5
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); } &&
12596 { ac_try='test -z "$ac_c_werror_flag"
12597 || test ! -s conftest.err'
12598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12599 (eval $ac_try) 2>&5
12601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12602 (exit $ac_status); }; } &&
12603 { ac_try='test -s conftest.$ac_objext'
12604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12605 (eval $ac_try) 2>&5
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608 (exit $ac_status); }; }; then
12609 ac_cv_prog_cc_stdc=$ac_arg
12612 echo "$as_me: failed program was:" >&5
12613 sed 's/^/| /' conftest.$ac_ext >&5
12616 rm -f conftest.err conftest.$ac_objext
12618 rm -f conftest.$ac_ext conftest.$ac_objext
12623 case "x$ac_cv_prog_cc_stdc" in
12625 echo "$as_me:$LINENO: result: none needed" >&5
12626 echo "${ECHO_T}none needed" >&6 ;;
12628 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12629 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12630 CC="$CC $ac_cv_prog_cc_stdc" ;;
12633 # Some people use a C++ compiler to compile C. Since we use `exit',
12634 # in C++ we need to declare it. In case someone uses the same compiler
12635 # for both compiling C and C++ we need to have the C++ compiler decide
12636 # the declaration of exit, since it's the most demanding environment.
12637 cat >conftest.$ac_ext <<_ACEOF
12638 #ifndef __cplusplus
12642 rm -f conftest.$ac_objext
12643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12644 (eval $ac_compile) 2>conftest.er1
12646 grep -v '^ *+' conftest.er1 >conftest.err
12648 cat conftest.err >&5
12649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12650 (exit $ac_status); } &&
12651 { ac_try='test -z "$ac_c_werror_flag"
12652 || test ! -s conftest.err'
12653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12654 (eval $ac_try) 2>&5
12656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12657 (exit $ac_status); }; } &&
12658 { ac_try='test -s conftest.$ac_objext'
12659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12660 (eval $ac_try) 2>&5
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); }; }; then
12664 for ac_declaration in \
12666 'extern "C" void std::exit (int) throw (); using std::exit;' \
12667 'extern "C" void std::exit (int); using std::exit;' \
12668 'extern "C" void exit (int) throw ();' \
12669 'extern "C" void exit (int);' \
12672 cat >conftest.$ac_ext <<_ACEOF
12675 cat confdefs.h >>conftest.$ac_ext
12676 cat >>conftest.$ac_ext <<_ACEOF
12677 /* end confdefs.h. */
12679 #include <stdlib.h>
12688 rm -f conftest.$ac_objext
12689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12690 (eval $ac_compile) 2>conftest.er1
12692 grep -v '^ *+' conftest.er1 >conftest.err
12694 cat conftest.err >&5
12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12696 (exit $ac_status); } &&
12697 { ac_try='test -z "$ac_c_werror_flag"
12698 || test ! -s conftest.err'
12699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12700 (eval $ac_try) 2>&5
12702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12703 (exit $ac_status); }; } &&
12704 { ac_try='test -s conftest.$ac_objext'
12705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12706 (eval $ac_try) 2>&5
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); }; }; then
12712 echo "$as_me: failed program was:" >&5
12713 sed 's/^/| /' conftest.$ac_ext >&5
12717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12718 cat >conftest.$ac_ext <<_ACEOF
12721 cat confdefs.h >>conftest.$ac_ext
12722 cat >>conftest.$ac_ext <<_ACEOF
12723 /* end confdefs.h. */
12733 rm -f conftest.$ac_objext
12734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12735 (eval $ac_compile) 2>conftest.er1
12737 grep -v '^ *+' conftest.er1 >conftest.err
12739 cat conftest.err >&5
12740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12741 (exit $ac_status); } &&
12742 { ac_try='test -z "$ac_c_werror_flag"
12743 || test ! -s conftest.err'
12744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12745 (eval $ac_try) 2>&5
12747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12748 (exit $ac_status); }; } &&
12749 { ac_try='test -s conftest.$ac_objext'
12750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12751 (eval $ac_try) 2>&5
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); }; }; then
12757 echo "$as_me: failed program was:" >&5
12758 sed 's/^/| /' conftest.$ac_ext >&5
12761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12764 if test -n "$ac_declaration"; then
12765 echo '#ifdef __cplusplus' >>confdefs.h
12766 echo $ac_declaration >>confdefs.h
12767 echo '#endif' >>confdefs.h
12771 echo "$as_me: failed program was:" >&5
12772 sed 's/^/| /' conftest.$ac_ext >&5
12775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12777 ac_cpp='$CPP $CPPFLAGS'
12778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12785 ac_cpp='$CPP $CPPFLAGS'
12786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12790 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12791 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12792 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12793 echo $ECHO_N "(cached) $ECHO_C" >&6
12795 cat >conftest.$ac_ext <<_ACEOF
12798 cat confdefs.h >>conftest.$ac_ext
12799 cat >>conftest.$ac_ext <<_ACEOF
12800 /* end confdefs.h. */
12806 #ifndef __INTEL_COMPILER
12814 rm -f conftest.$ac_objext
12815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12816 (eval $ac_compile) 2>conftest.er1
12818 grep -v '^ *+' conftest.er1 >conftest.err
12820 cat conftest.err >&5
12821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822 (exit $ac_status); } &&
12823 { ac_try='test -z "$ac_c_werror_flag"
12824 || test ! -s conftest.err'
12825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12826 (eval $ac_try) 2>&5
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); }; } &&
12830 { ac_try='test -s conftest.$ac_objext'
12831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12832 (eval $ac_try) 2>&5
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); }; }; then
12836 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12838 echo "$as_me: failed program was:" >&5
12839 sed 's/^/| /' conftest.$ac_ext >&5
12841 bakefile_cv_c_compiler___INTEL_COMPILER=no
12844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12848 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12849 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12851 ac_cpp='$CPP $CPPFLAGS'
12852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12856 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12863 if test "x$GCC" != "xyes"; then
12864 if test "xCC" = "xC"; then
12865 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12866 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12867 if test "${bakefile_cv_c_exto+set}" = set; then
12868 echo $ECHO_N "(cached) $ECHO_C" >&6
12870 cat >conftest.$ac_ext <<_ACEOF
12873 cat confdefs.h >>conftest.$ac_ext
12874 cat >>conftest.$ac_ext <<_ACEOF
12875 /* end confdefs.h. */
12885 rm -f conftest.$ac_objext conftest.$ac_ext.o
12886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12887 (eval $ac_compile) 2>&5
12889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12890 (exit $ac_status); }; then
12891 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12893 conftest.$ac_ext.o)
12894 bakefile_cv_c_exto="-ext o"
12901 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12902 See \`config.log' for more details." >&5
12903 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12904 See \`config.log' for more details." >&2;}
12905 { (exit 1); exit 1; }; }
12909 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12912 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12913 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12914 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12915 if test "c" = "c"; then
12916 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
12918 if test "c" = "cxx"; then
12919 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
12923 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12924 unset ac_cv_prog_cc_g
12925 ac_test_CFLAGS=${CFLAGS+set}
12926 ac_save_CFLAGS=$CFLAGS
12928 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12929 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12930 if test "${ac_cv_prog_cc_g+set}" = set; then
12931 echo $ECHO_N "(cached) $ECHO_C" >&6
12933 cat >conftest.$ac_ext <<_ACEOF
12936 cat confdefs.h >>conftest.$ac_ext
12937 cat >>conftest.$ac_ext <<_ACEOF
12938 /* end confdefs.h. */
12948 rm -f conftest.$ac_objext
12949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12950 (eval $ac_compile) 2>conftest.er1
12952 grep -v '^ *+' conftest.er1 >conftest.err
12954 cat conftest.err >&5
12955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12956 (exit $ac_status); } &&
12957 { ac_try='test -z "$ac_c_werror_flag"
12958 || test ! -s conftest.err'
12959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12960 (eval $ac_try) 2>&5
12962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12963 (exit $ac_status); }; } &&
12964 { ac_try='test -s conftest.$ac_objext'
12965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12966 (eval $ac_try) 2>&5
12968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12969 (exit $ac_status); }; }; then
12970 ac_cv_prog_cc_g=yes
12972 echo "$as_me: failed program was:" >&5
12973 sed 's/^/| /' conftest.$ac_ext >&5
12977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12979 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12980 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12981 if test "$ac_test_CFLAGS" = set; then
12982 CFLAGS=$ac_save_CFLAGS
12983 elif test $ac_cv_prog_cc_g = yes; then
12984 if test "$GCC" = yes; then
12990 if test "$GCC" = yes; then
13002 ac_cpp='$CPP $CPPFLAGS'
13003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13007 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13008 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13009 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13010 echo $ECHO_N "(cached) $ECHO_C" >&6
13012 cat >conftest.$ac_ext <<_ACEOF
13015 cat confdefs.h >>conftest.$ac_ext
13016 cat >>conftest.$ac_ext <<_ACEOF
13017 /* end confdefs.h. */
13030 rm -f conftest.$ac_objext
13031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13032 (eval $ac_compile) 2>conftest.er1
13034 grep -v '^ *+' conftest.er1 >conftest.err
13036 cat conftest.err >&5
13037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13038 (exit $ac_status); } &&
13039 { ac_try='test -z "$ac_c_werror_flag"
13040 || test ! -s conftest.err'
13041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13042 (eval $ac_try) 2>&5
13044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13045 (exit $ac_status); }; } &&
13046 { ac_try='test -s conftest.$ac_objext'
13047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13048 (eval $ac_try) 2>&5
13050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13051 (exit $ac_status); }; }; then
13052 bakefile_compiler_xlc=yes
13054 echo "$as_me: failed program was:" >&5
13055 sed 's/^/| /' conftest.$ac_ext >&5
13057 bakefile_compiler_xlc=no
13059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13060 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13063 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13064 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13066 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13068 ac_cpp='$CPP $CPPFLAGS'
13069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13078 ac_cpp='$CPP $CPPFLAGS'
13079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13083 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13084 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13085 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13086 echo $ECHO_N "(cached) $ECHO_C" >&6
13088 cat >conftest.$ac_ext <<_ACEOF
13091 cat confdefs.h >>conftest.$ac_ext
13092 cat >>conftest.$ac_ext <<_ACEOF
13093 /* end confdefs.h. */
13106 rm -f conftest.$ac_objext
13107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13108 (eval $ac_compile) 2>conftest.er1
13110 grep -v '^ *+' conftest.er1 >conftest.err
13112 cat conftest.err >&5
13113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114 (exit $ac_status); } &&
13115 { ac_try='test -z "$ac_c_werror_flag"
13116 || test ! -s conftest.err'
13117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13118 (eval $ac_try) 2>&5
13120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13121 (exit $ac_status); }; } &&
13122 { ac_try='test -s conftest.$ac_objext'
13123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13124 (eval $ac_try) 2>&5
13126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13127 (exit $ac_status); }; }; then
13128 bakefile_compiler_mwerks=yes
13130 echo "$as_me: failed program was:" >&5
13131 sed 's/^/| /' conftest.$ac_ext >&5
13133 bakefile_compiler_mwerks=no
13135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13136 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13139 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13140 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13142 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13144 ac_cpp='$CPP $CPPFLAGS'
13145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13151 ac_cpp='$CPP $CPPFLAGS'
13152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13156 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13157 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13158 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13159 echo $ECHO_N "(cached) $ECHO_C" >&6
13161 cat >conftest.$ac_ext <<_ACEOF
13164 cat confdefs.h >>conftest.$ac_ext
13165 cat >>conftest.$ac_ext <<_ACEOF
13166 /* end confdefs.h. */
13179 rm -f conftest.$ac_objext
13180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13181 (eval $ac_compile) 2>conftest.er1
13183 grep -v '^ *+' conftest.er1 >conftest.err
13185 cat conftest.err >&5
13186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13187 (exit $ac_status); } &&
13188 { ac_try='test -z "$ac_c_werror_flag"
13189 || test ! -s conftest.err'
13190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13191 (eval $ac_try) 2>&5
13193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13194 (exit $ac_status); }; } &&
13195 { ac_try='test -s conftest.$ac_objext'
13196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13197 (eval $ac_try) 2>&5
13199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13200 (exit $ac_status); }; }; then
13201 bakefile_compiler_xlc=yes
13203 echo "$as_me: failed program was:" >&5
13204 sed 's/^/| /' conftest.$ac_ext >&5
13206 bakefile_compiler_xlc=no
13208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13209 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13212 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13213 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13215 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13217 ac_cpp='$CPP $CPPFLAGS'
13218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13229 ac_cpp='$CPP $CPPFLAGS'
13230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13234 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13235 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13236 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13237 echo $ECHO_N "(cached) $ECHO_C" >&6
13239 cat >conftest.$ac_ext <<_ACEOF
13242 cat confdefs.h >>conftest.$ac_ext
13243 cat >>conftest.$ac_ext <<_ACEOF
13244 /* end confdefs.h. */
13250 #ifndef _SGI_COMPILER_VERSION
13258 rm -f conftest.$ac_objext
13259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13260 (eval $ac_compile) 2>conftest.er1
13262 grep -v '^ *+' conftest.er1 >conftest.err
13264 cat conftest.err >&5
13265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13266 (exit $ac_status); } &&
13267 { ac_try='test -z "$ac_c_werror_flag"
13268 || test ! -s conftest.err'
13269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13270 (eval $ac_try) 2>&5
13272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13273 (exit $ac_status); }; } &&
13274 { ac_try='test -s conftest.$ac_objext'
13275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13276 (eval $ac_try) 2>&5
13278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13279 (exit $ac_status); }; }; then
13280 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13282 echo "$as_me: failed program was:" >&5
13283 sed 's/^/| /' conftest.$ac_ext >&5
13285 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13292 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13293 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13295 ac_cpp='$CPP $CPPFLAGS'
13296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13300 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13313 ac_cpp='$CPP $CPPFLAGS'
13314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13318 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13319 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13320 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13321 echo $ECHO_N "(cached) $ECHO_C" >&6
13323 cat >conftest.$ac_ext <<_ACEOF
13326 cat confdefs.h >>conftest.$ac_ext
13327 cat >>conftest.$ac_ext <<_ACEOF
13328 /* end confdefs.h. */
13342 rm -f conftest.$ac_objext
13343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13344 (eval $ac_compile) 2>conftest.er1
13346 grep -v '^ *+' conftest.er1 >conftest.err
13348 cat conftest.err >&5
13349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13350 (exit $ac_status); } &&
13351 { ac_try='test -z "$ac_c_werror_flag"
13352 || test ! -s conftest.err'
13353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13354 (eval $ac_try) 2>&5
13356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13357 (exit $ac_status); }; } &&
13358 { ac_try='test -s conftest.$ac_objext'
13359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13360 (eval $ac_try) 2>&5
13362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363 (exit $ac_status); }; }; then
13364 bakefile_cv_c_compiler___HP_cc=yes
13366 echo "$as_me: failed program was:" >&5
13367 sed 's/^/| /' conftest.$ac_ext >&5
13369 bakefile_cv_c_compiler___HP_cc=no
13372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13376 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13377 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13379 ac_cpp='$CPP $CPPFLAGS'
13380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13384 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13397 ac_cpp='$CPP $CPPFLAGS'
13398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13402 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13403 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13404 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13405 echo $ECHO_N "(cached) $ECHO_C" >&6
13407 cat >conftest.$ac_ext <<_ACEOF
13410 cat confdefs.h >>conftest.$ac_ext
13411 cat >>conftest.$ac_ext <<_ACEOF
13412 /* end confdefs.h. */
13426 rm -f conftest.$ac_objext
13427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13428 (eval $ac_compile) 2>conftest.er1
13430 grep -v '^ *+' conftest.er1 >conftest.err
13432 cat conftest.err >&5
13433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13434 (exit $ac_status); } &&
13435 { ac_try='test -z "$ac_c_werror_flag"
13436 || test ! -s conftest.err'
13437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13438 (eval $ac_try) 2>&5
13440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13441 (exit $ac_status); }; } &&
13442 { ac_try='test -s conftest.$ac_objext'
13443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13444 (eval $ac_try) 2>&5
13446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13447 (exit $ac_status); }; }; then
13448 bakefile_cv_c_compiler___DECC=yes
13450 echo "$as_me: failed program was:" >&5
13451 sed 's/^/| /' conftest.$ac_ext >&5
13453 bakefile_cv_c_compiler___DECC=no
13456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13460 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13461 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13463 ac_cpp='$CPP $CPPFLAGS'
13464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13468 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13481 ac_cpp='$CPP $CPPFLAGS'
13482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13486 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13487 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13488 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13489 echo $ECHO_N "(cached) $ECHO_C" >&6
13491 cat >conftest.$ac_ext <<_ACEOF
13494 cat confdefs.h >>conftest.$ac_ext
13495 cat >>conftest.$ac_ext <<_ACEOF
13496 /* end confdefs.h. */
13510 rm -f conftest.$ac_objext
13511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13512 (eval $ac_compile) 2>conftest.er1
13514 grep -v '^ *+' conftest.er1 >conftest.err
13516 cat conftest.err >&5
13517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13518 (exit $ac_status); } &&
13519 { ac_try='test -z "$ac_c_werror_flag"
13520 || test ! -s conftest.err'
13521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13522 (eval $ac_try) 2>&5
13524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13525 (exit $ac_status); }; } &&
13526 { ac_try='test -s conftest.$ac_objext'
13527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13528 (eval $ac_try) 2>&5
13530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13531 (exit $ac_status); }; }; then
13532 bakefile_cv_c_compiler___SUNPRO_C=yes
13534 echo "$as_me: failed program was:" >&5
13535 sed 's/^/| /' conftest.$ac_ext >&5
13537 bakefile_cv_c_compiler___SUNPRO_C=no
13540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13544 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13545 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13547 ac_cpp='$CPP $CPPFLAGS'
13548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13552 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13566 ac_cpp='$CPP $CPPFLAGS'
13567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13570 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13571 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13572 # On Suns, sometimes $CPP names a directory.
13573 if test -n "$CPP" && test -d "$CPP"; then
13576 if test -z "$CPP"; then
13577 if test "${ac_cv_prog_CPP+set}" = set; then
13578 echo $ECHO_N "(cached) $ECHO_C" >&6
13580 # Double quotes because CPP needs to be expanded
13581 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13583 ac_preproc_ok=false
13584 for ac_c_preproc_warn_flag in '' yes
13586 # Use a header file that comes with gcc, so configuring glibc
13587 # with a fresh cross-compiler works.
13588 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13589 # <limits.h> exists even on freestanding compilers.
13590 # On the NeXT, cc -E runs the code through the compiler's parser,
13591 # not just through cpp. "Syntax error" is here to catch this case.
13592 cat >conftest.$ac_ext <<_ACEOF
13595 cat confdefs.h >>conftest.$ac_ext
13596 cat >>conftest.$ac_ext <<_ACEOF
13597 /* end confdefs.h. */
13599 # include <limits.h>
13601 # include <assert.h>
13605 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13606 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13608 grep -v '^ *+' conftest.er1 >conftest.err
13610 cat conftest.err >&5
13611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13612 (exit $ac_status); } >/dev/null; then
13613 if test -s conftest.err; then
13614 ac_cpp_err=$ac_c_preproc_warn_flag
13615 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13622 if test -z "$ac_cpp_err"; then
13625 echo "$as_me: failed program was:" >&5
13626 sed 's/^/| /' conftest.$ac_ext >&5
13628 # Broken: fails on valid input.
13631 rm -f conftest.err conftest.$ac_ext
13633 # OK, works on sane cases. Now check whether non-existent headers
13634 # can be detected and how.
13635 cat >conftest.$ac_ext <<_ACEOF
13638 cat confdefs.h >>conftest.$ac_ext
13639 cat >>conftest.$ac_ext <<_ACEOF
13640 /* end confdefs.h. */
13641 #include <ac_nonexistent.h>
13643 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13644 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13646 grep -v '^ *+' conftest.er1 >conftest.err
13648 cat conftest.err >&5
13649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13650 (exit $ac_status); } >/dev/null; then
13651 if test -s conftest.err; then
13652 ac_cpp_err=$ac_c_preproc_warn_flag
13653 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13660 if test -z "$ac_cpp_err"; then
13661 # Broken: success on invalid input.
13664 echo "$as_me: failed program was:" >&5
13665 sed 's/^/| /' conftest.$ac_ext >&5
13667 # Passes both tests.
13671 rm -f conftest.err conftest.$ac_ext
13674 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13675 rm -f conftest.err conftest.$ac_ext
13676 if $ac_preproc_ok; then
13681 ac_cv_prog_CPP=$CPP
13684 CPP=$ac_cv_prog_CPP
13686 ac_cv_prog_CPP=$CPP
13688 echo "$as_me:$LINENO: result: $CPP" >&5
13689 echo "${ECHO_T}$CPP" >&6
13690 ac_preproc_ok=false
13691 for ac_c_preproc_warn_flag in '' yes
13693 # Use a header file that comes with gcc, so configuring glibc
13694 # with a fresh cross-compiler works.
13695 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13696 # <limits.h> exists even on freestanding compilers.
13697 # On the NeXT, cc -E runs the code through the compiler's parser,
13698 # not just through cpp. "Syntax error" is here to catch this case.
13699 cat >conftest.$ac_ext <<_ACEOF
13702 cat confdefs.h >>conftest.$ac_ext
13703 cat >>conftest.$ac_ext <<_ACEOF
13704 /* end confdefs.h. */
13706 # include <limits.h>
13708 # include <assert.h>
13712 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13713 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13715 grep -v '^ *+' conftest.er1 >conftest.err
13717 cat conftest.err >&5
13718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 (exit $ac_status); } >/dev/null; then
13720 if test -s conftest.err; then
13721 ac_cpp_err=$ac_c_preproc_warn_flag
13722 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13729 if test -z "$ac_cpp_err"; then
13732 echo "$as_me: failed program was:" >&5
13733 sed 's/^/| /' conftest.$ac_ext >&5
13735 # Broken: fails on valid input.
13738 rm -f conftest.err conftest.$ac_ext
13740 # OK, works on sane cases. Now check whether non-existent headers
13741 # can be detected and how.
13742 cat >conftest.$ac_ext <<_ACEOF
13745 cat confdefs.h >>conftest.$ac_ext
13746 cat >>conftest.$ac_ext <<_ACEOF
13747 /* end confdefs.h. */
13748 #include <ac_nonexistent.h>
13750 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13751 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13753 grep -v '^ *+' conftest.er1 >conftest.err
13755 cat conftest.err >&5
13756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13757 (exit $ac_status); } >/dev/null; then
13758 if test -s conftest.err; then
13759 ac_cpp_err=$ac_c_preproc_warn_flag
13760 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13767 if test -z "$ac_cpp_err"; then
13768 # Broken: success on invalid input.
13771 echo "$as_me: failed program was:" >&5
13772 sed 's/^/| /' conftest.$ac_ext >&5
13774 # Passes both tests.
13778 rm -f conftest.err conftest.$ac_ext
13781 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13782 rm -f conftest.err conftest.$ac_ext
13783 if $ac_preproc_ok; then
13786 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13787 See \`config.log' for more details." >&5
13788 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13789 See \`config.log' for more details." >&2;}
13790 { (exit 1); exit 1; }; }
13794 ac_cpp='$CPP $CPPFLAGS'
13795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13800 echo "$as_me:$LINENO: checking for egrep" >&5
13801 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13802 if test "${ac_cv_prog_egrep+set}" = set; then
13803 echo $ECHO_N "(cached) $ECHO_C" >&6
13805 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13806 then ac_cv_prog_egrep='grep -E'
13807 else ac_cv_prog_egrep='egrep'
13810 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13811 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13812 EGREP=$ac_cv_prog_egrep
13815 if test $ac_cv_c_compiler_gnu = yes; then
13816 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13817 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13818 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13819 echo $ECHO_N "(cached) $ECHO_C" >&6
13821 ac_pattern="Autoconf.*'x'"
13822 cat >conftest.$ac_ext <<_ACEOF
13825 cat confdefs.h >>conftest.$ac_ext
13826 cat >>conftest.$ac_ext <<_ACEOF
13827 /* end confdefs.h. */
13831 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13832 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13833 ac_cv_prog_gcc_traditional=yes
13835 ac_cv_prog_gcc_traditional=no
13840 if test $ac_cv_prog_gcc_traditional = no; then
13841 cat >conftest.$ac_ext <<_ACEOF
13844 cat confdefs.h >>conftest.$ac_ext
13845 cat >>conftest.$ac_ext <<_ACEOF
13846 /* end confdefs.h. */
13847 #include <termio.h>
13850 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13851 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13852 ac_cv_prog_gcc_traditional=yes
13858 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13859 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13860 if test $ac_cv_prog_gcc_traditional = yes; then
13861 CC="$CC -traditional"
13867 ac_cpp='$CXXCPP $CPPFLAGS'
13868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13873 CXXFLAGS=${CXXFLAGS:=}
13878 ac_cpp='$CXXCPP $CPPFLAGS'
13879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13882 if test -n "$ac_tool_prefix"; then
13883 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13885 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13886 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13887 echo "$as_me:$LINENO: checking for $ac_word" >&5
13888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13889 if test "${ac_cv_prog_CXX+set}" = set; then
13890 echo $ECHO_N "(cached) $ECHO_C" >&6
13892 if test -n "$CXX"; then
13893 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13896 for as_dir in $PATH
13899 test -z "$as_dir" && as_dir=.
13900 for ac_exec_ext in '' $ac_executable_extensions; do
13901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13902 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13911 CXX=$ac_cv_prog_CXX
13912 if test -n "$CXX"; then
13913 echo "$as_me:$LINENO: result: $CXX" >&5
13914 echo "${ECHO_T}$CXX" >&6
13916 echo "$as_me:$LINENO: result: no" >&5
13917 echo "${ECHO_T}no" >&6
13920 test -n "$CXX" && break
13923 if test -z "$CXX"; then
13925 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13927 # Extract the first word of "$ac_prog", so it can be a program name with args.
13928 set dummy $ac_prog; ac_word=$2
13929 echo "$as_me:$LINENO: checking for $ac_word" >&5
13930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13931 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13932 echo $ECHO_N "(cached) $ECHO_C" >&6
13934 if test -n "$ac_ct_CXX"; then
13935 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13938 for as_dir in $PATH
13941 test -z "$as_dir" && as_dir=.
13942 for ac_exec_ext in '' $ac_executable_extensions; do
13943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13944 ac_cv_prog_ac_ct_CXX="$ac_prog"
13945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13953 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13954 if test -n "$ac_ct_CXX"; then
13955 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13956 echo "${ECHO_T}$ac_ct_CXX" >&6
13958 echo "$as_me:$LINENO: result: no" >&5
13959 echo "${ECHO_T}no" >&6
13962 test -n "$ac_ct_CXX" && break
13964 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
13970 # Provide some information about the compiler.
13971 echo "$as_me:$LINENO:" \
13972 "checking for C++ compiler version" >&5
13973 ac_compiler=`set X $ac_compile; echo $2`
13974 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13975 (eval $ac_compiler --version </dev/null >&5) 2>&5
13977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13978 (exit $ac_status); }
13979 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13980 (eval $ac_compiler -v </dev/null >&5) 2>&5
13982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13983 (exit $ac_status); }
13984 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13985 (eval $ac_compiler -V </dev/null >&5) 2>&5
13987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988 (exit $ac_status); }
13990 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13991 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13992 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13993 echo $ECHO_N "(cached) $ECHO_C" >&6
13995 cat >conftest.$ac_ext <<_ACEOF
13998 cat confdefs.h >>conftest.$ac_ext
13999 cat >>conftest.$ac_ext <<_ACEOF
14000 /* end confdefs.h. */
14013 rm -f conftest.$ac_objext
14014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14015 (eval $ac_compile) 2>conftest.er1
14017 grep -v '^ *+' conftest.er1 >conftest.err
14019 cat conftest.err >&5
14020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14021 (exit $ac_status); } &&
14022 { ac_try='test -z "$ac_cxx_werror_flag"
14023 || test ! -s conftest.err'
14024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14025 (eval $ac_try) 2>&5
14027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14028 (exit $ac_status); }; } &&
14029 { ac_try='test -s conftest.$ac_objext'
14030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14031 (eval $ac_try) 2>&5
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); }; }; then
14035 ac_compiler_gnu=yes
14037 echo "$as_me: failed program was:" >&5
14038 sed 's/^/| /' conftest.$ac_ext >&5
14042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14043 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14046 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14047 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14048 GXX=`test $ac_compiler_gnu = yes && echo yes`
14049 ac_test_CXXFLAGS=${CXXFLAGS+set}
14050 ac_save_CXXFLAGS=$CXXFLAGS
14052 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14053 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14054 if test "${ac_cv_prog_cxx_g+set}" = set; then
14055 echo $ECHO_N "(cached) $ECHO_C" >&6
14057 cat >conftest.$ac_ext <<_ACEOF
14060 cat confdefs.h >>conftest.$ac_ext
14061 cat >>conftest.$ac_ext <<_ACEOF
14062 /* end confdefs.h. */
14072 rm -f conftest.$ac_objext
14073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14074 (eval $ac_compile) 2>conftest.er1
14076 grep -v '^ *+' conftest.er1 >conftest.err
14078 cat conftest.err >&5
14079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); } &&
14081 { ac_try='test -z "$ac_cxx_werror_flag"
14082 || test ! -s conftest.err'
14083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14084 (eval $ac_try) 2>&5
14086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14087 (exit $ac_status); }; } &&
14088 { ac_try='test -s conftest.$ac_objext'
14089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14090 (eval $ac_try) 2>&5
14092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14093 (exit $ac_status); }; }; then
14094 ac_cv_prog_cxx_g=yes
14096 echo "$as_me: failed program was:" >&5
14097 sed 's/^/| /' conftest.$ac_ext >&5
14099 ac_cv_prog_cxx_g=no
14101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14103 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14104 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14105 if test "$ac_test_CXXFLAGS" = set; then
14106 CXXFLAGS=$ac_save_CXXFLAGS
14107 elif test $ac_cv_prog_cxx_g = yes; then
14108 if test "$GXX" = yes; then
14114 if test "$GXX" = yes; then
14120 for ac_declaration in \
14122 'extern "C" void std::exit (int) throw (); using std::exit;' \
14123 'extern "C" void std::exit (int); using std::exit;' \
14124 'extern "C" void exit (int) throw ();' \
14125 'extern "C" void exit (int);' \
14128 cat >conftest.$ac_ext <<_ACEOF
14131 cat confdefs.h >>conftest.$ac_ext
14132 cat >>conftest.$ac_ext <<_ACEOF
14133 /* end confdefs.h. */
14135 #include <stdlib.h>
14144 rm -f conftest.$ac_objext
14145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14146 (eval $ac_compile) 2>conftest.er1
14148 grep -v '^ *+' conftest.er1 >conftest.err
14150 cat conftest.err >&5
14151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14152 (exit $ac_status); } &&
14153 { ac_try='test -z "$ac_cxx_werror_flag"
14154 || test ! -s conftest.err'
14155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14156 (eval $ac_try) 2>&5
14158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14159 (exit $ac_status); }; } &&
14160 { ac_try='test -s conftest.$ac_objext'
14161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14162 (eval $ac_try) 2>&5
14164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14165 (exit $ac_status); }; }; then
14168 echo "$as_me: failed program was:" >&5
14169 sed 's/^/| /' conftest.$ac_ext >&5
14173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14174 cat >conftest.$ac_ext <<_ACEOF
14177 cat confdefs.h >>conftest.$ac_ext
14178 cat >>conftest.$ac_ext <<_ACEOF
14179 /* end confdefs.h. */
14189 rm -f conftest.$ac_objext
14190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14191 (eval $ac_compile) 2>conftest.er1
14193 grep -v '^ *+' conftest.er1 >conftest.err
14195 cat conftest.err >&5
14196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14197 (exit $ac_status); } &&
14198 { ac_try='test -z "$ac_cxx_werror_flag"
14199 || test ! -s conftest.err'
14200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14201 (eval $ac_try) 2>&5
14203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204 (exit $ac_status); }; } &&
14205 { ac_try='test -s conftest.$ac_objext'
14206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14207 (eval $ac_try) 2>&5
14209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210 (exit $ac_status); }; }; then
14213 echo "$as_me: failed program was:" >&5
14214 sed 's/^/| /' conftest.$ac_ext >&5
14217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14220 if test -n "$ac_declaration"; then
14221 echo '#ifdef __cplusplus' >>confdefs.h
14222 echo $ac_declaration >>confdefs.h
14223 echo '#endif' >>confdefs.h
14227 ac_cpp='$CXXCPP $CPPFLAGS'
14228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14230 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 Intel C++ compiler" >&5
14241 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14242 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+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. */
14256 #ifndef __INTEL_COMPILER
14264 rm -f conftest.$ac_objext
14265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14266 (eval $ac_compile) 2>conftest.er1
14268 grep -v '^ *+' conftest.er1 >conftest.err
14270 cat conftest.err >&5
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); } &&
14273 { ac_try='test -z "$ac_cxx_werror_flag"
14274 || test ! -s conftest.err'
14275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14276 (eval $ac_try) 2>&5
14278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279 (exit $ac_status); }; } &&
14280 { ac_try='test -s conftest.$ac_objext'
14281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14282 (eval $ac_try) 2>&5
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); }; }; then
14286 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14288 echo "$as_me: failed program was:" >&5
14289 sed 's/^/| /' conftest.$ac_ext >&5
14291 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14298 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14299 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14301 ac_cpp='$CXXCPP $CPPFLAGS'
14302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14306 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14313 if test "x$GCXX" != "xyes"; then
14314 if test "xCXX" = "xC"; then
14315 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14316 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14317 if test "${bakefile_cv_cxx_exto+set}" = set; then
14318 echo $ECHO_N "(cached) $ECHO_C" >&6
14320 cat >conftest.$ac_ext <<_ACEOF
14323 cat confdefs.h >>conftest.$ac_ext
14324 cat >>conftest.$ac_ext <<_ACEOF
14325 /* end confdefs.h. */
14335 rm -f conftest.$ac_objext conftest.$ac_ext.o
14336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14337 (eval $ac_compile) 2>&5
14339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14340 (exit $ac_status); }; then
14341 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14343 conftest.$ac_ext.o)
14344 bakefile_cv_cxx_exto="-ext o"
14351 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14352 See \`config.log' for more details." >&5
14353 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14354 See \`config.log' for more details." >&2;}
14355 { (exit 1); exit 1; }; }
14359 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14362 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14363 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14364 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14365 if test "cxx" = "c"; then
14366 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
14368 if test "cxx" = "cxx"; then
14369 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
14373 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14374 unset ac_cv_prog_cc_g
14375 ac_test_CFLAGS=${CFLAGS+set}
14376 ac_save_CFLAGS=$CFLAGS
14378 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14379 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14380 if test "${ac_cv_prog_cc_g+set}" = set; then
14381 echo $ECHO_N "(cached) $ECHO_C" >&6
14383 cat >conftest.$ac_ext <<_ACEOF
14386 cat confdefs.h >>conftest.$ac_ext
14387 cat >>conftest.$ac_ext <<_ACEOF
14388 /* end confdefs.h. */
14398 rm -f conftest.$ac_objext
14399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14400 (eval $ac_compile) 2>conftest.er1
14402 grep -v '^ *+' conftest.er1 >conftest.err
14404 cat conftest.err >&5
14405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14406 (exit $ac_status); } &&
14407 { ac_try='test -z "$ac_cxx_werror_flag"
14408 || test ! -s conftest.err'
14409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14410 (eval $ac_try) 2>&5
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 (exit $ac_status); }; } &&
14414 { ac_try='test -s conftest.$ac_objext'
14415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14416 (eval $ac_try) 2>&5
14418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14419 (exit $ac_status); }; }; then
14420 ac_cv_prog_cc_g=yes
14422 echo "$as_me: failed program was:" >&5
14423 sed 's/^/| /' conftest.$ac_ext >&5
14427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14429 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14430 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14431 if test "$ac_test_CFLAGS" = set; then
14432 CFLAGS=$ac_save_CFLAGS
14433 elif test $ac_cv_prog_cc_g = yes; then
14434 if test "$GCC" = yes; then
14440 if test "$GCC" = yes; then
14452 ac_cpp='$CXXCPP $CPPFLAGS'
14453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14457 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14458 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14459 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14460 echo $ECHO_N "(cached) $ECHO_C" >&6
14462 cat >conftest.$ac_ext <<_ACEOF
14465 cat confdefs.h >>conftest.$ac_ext
14466 cat >>conftest.$ac_ext <<_ACEOF
14467 /* end confdefs.h. */
14480 rm -f conftest.$ac_objext
14481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14482 (eval $ac_compile) 2>conftest.er1
14484 grep -v '^ *+' conftest.er1 >conftest.err
14486 cat conftest.err >&5
14487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14488 (exit $ac_status); } &&
14489 { ac_try='test -z "$ac_cxx_werror_flag"
14490 || test ! -s conftest.err'
14491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14492 (eval $ac_try) 2>&5
14494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14495 (exit $ac_status); }; } &&
14496 { ac_try='test -s conftest.$ac_objext'
14497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14498 (eval $ac_try) 2>&5
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); }; }; then
14502 bakefile_compiler_xlc=yes
14504 echo "$as_me: failed program was:" >&5
14505 sed 's/^/| /' conftest.$ac_ext >&5
14507 bakefile_compiler_xlc=no
14509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14510 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14513 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14514 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14516 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14518 ac_cpp='$CXXCPP $CPPFLAGS'
14519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14528 ac_cpp='$CXXCPP $CPPFLAGS'
14529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14533 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14534 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14535 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14536 echo $ECHO_N "(cached) $ECHO_C" >&6
14538 cat >conftest.$ac_ext <<_ACEOF
14541 cat confdefs.h >>conftest.$ac_ext
14542 cat >>conftest.$ac_ext <<_ACEOF
14543 /* end confdefs.h. */
14556 rm -f conftest.$ac_objext
14557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14558 (eval $ac_compile) 2>conftest.er1
14560 grep -v '^ *+' conftest.er1 >conftest.err
14562 cat conftest.err >&5
14563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14564 (exit $ac_status); } &&
14565 { ac_try='test -z "$ac_cxx_werror_flag"
14566 || test ! -s conftest.err'
14567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14568 (eval $ac_try) 2>&5
14570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14571 (exit $ac_status); }; } &&
14572 { ac_try='test -s conftest.$ac_objext'
14573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14574 (eval $ac_try) 2>&5
14576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 (exit $ac_status); }; }; then
14578 bakefile_compiler_mwerks=yes
14580 echo "$as_me: failed program was:" >&5
14581 sed 's/^/| /' conftest.$ac_ext >&5
14583 bakefile_compiler_mwerks=no
14585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14586 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14589 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14590 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14592 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14594 ac_cpp='$CXXCPP $CPPFLAGS'
14595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14601 ac_cpp='$CXXCPP $CPPFLAGS'
14602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14606 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14607 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14608 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14609 echo $ECHO_N "(cached) $ECHO_C" >&6
14611 cat >conftest.$ac_ext <<_ACEOF
14614 cat confdefs.h >>conftest.$ac_ext
14615 cat >>conftest.$ac_ext <<_ACEOF
14616 /* end confdefs.h. */
14629 rm -f conftest.$ac_objext
14630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14631 (eval $ac_compile) 2>conftest.er1
14633 grep -v '^ *+' conftest.er1 >conftest.err
14635 cat conftest.err >&5
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); } &&
14638 { ac_try='test -z "$ac_cxx_werror_flag"
14639 || test ! -s conftest.err'
14640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14641 (eval $ac_try) 2>&5
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); }; } &&
14645 { ac_try='test -s conftest.$ac_objext'
14646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14647 (eval $ac_try) 2>&5
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); }; }; then
14651 bakefile_compiler_xlc=yes
14653 echo "$as_me: failed program was:" >&5
14654 sed 's/^/| /' conftest.$ac_ext >&5
14656 bakefile_compiler_xlc=no
14658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14659 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14662 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14663 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14665 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14667 ac_cpp='$CXXCPP $CPPFLAGS'
14668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14679 ac_cpp='$CXXCPP $CPPFLAGS'
14680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14684 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14685 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14686 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14687 echo $ECHO_N "(cached) $ECHO_C" >&6
14689 cat >conftest.$ac_ext <<_ACEOF
14692 cat confdefs.h >>conftest.$ac_ext
14693 cat >>conftest.$ac_ext <<_ACEOF
14694 /* end confdefs.h. */
14700 #ifndef _SGI_COMPILER_VERSION
14708 rm -f conftest.$ac_objext
14709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14710 (eval $ac_compile) 2>conftest.er1
14712 grep -v '^ *+' conftest.er1 >conftest.err
14714 cat conftest.err >&5
14715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14716 (exit $ac_status); } &&
14717 { ac_try='test -z "$ac_cxx_werror_flag"
14718 || test ! -s conftest.err'
14719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14720 (eval $ac_try) 2>&5
14722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14723 (exit $ac_status); }; } &&
14724 { ac_try='test -s conftest.$ac_objext'
14725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14726 (eval $ac_try) 2>&5
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); }; }; then
14730 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14732 echo "$as_me: failed program was:" >&5
14733 sed 's/^/| /' conftest.$ac_ext >&5
14735 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14742 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14743 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14745 ac_cpp='$CXXCPP $CPPFLAGS'
14746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14750 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14763 ac_cpp='$CXXCPP $CPPFLAGS'
14764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14768 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14769 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14770 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14771 echo $ECHO_N "(cached) $ECHO_C" >&6
14773 cat >conftest.$ac_ext <<_ACEOF
14776 cat confdefs.h >>conftest.$ac_ext
14777 cat >>conftest.$ac_ext <<_ACEOF
14778 /* end confdefs.h. */
14792 rm -f conftest.$ac_objext
14793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14794 (eval $ac_compile) 2>conftest.er1
14796 grep -v '^ *+' conftest.er1 >conftest.err
14798 cat conftest.err >&5
14799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14800 (exit $ac_status); } &&
14801 { ac_try='test -z "$ac_cxx_werror_flag"
14802 || test ! -s conftest.err'
14803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14804 (eval $ac_try) 2>&5
14806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807 (exit $ac_status); }; } &&
14808 { ac_try='test -s conftest.$ac_objext'
14809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810 (eval $ac_try) 2>&5
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); }; }; then
14814 bakefile_cv_cxx_compiler___HP_aCC=yes
14816 echo "$as_me: failed program was:" >&5
14817 sed 's/^/| /' conftest.$ac_ext >&5
14819 bakefile_cv_cxx_compiler___HP_aCC=no
14822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14826 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14827 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14829 ac_cpp='$CXXCPP $CPPFLAGS'
14830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14834 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14847 ac_cpp='$CXXCPP $CPPFLAGS'
14848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14852 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14853 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14854 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14855 echo $ECHO_N "(cached) $ECHO_C" >&6
14857 cat >conftest.$ac_ext <<_ACEOF
14860 cat confdefs.h >>conftest.$ac_ext
14861 cat >>conftest.$ac_ext <<_ACEOF
14862 /* end confdefs.h. */
14876 rm -f conftest.$ac_objext
14877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14878 (eval $ac_compile) 2>conftest.er1
14880 grep -v '^ *+' conftest.er1 >conftest.err
14882 cat conftest.err >&5
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); } &&
14885 { ac_try='test -z "$ac_cxx_werror_flag"
14886 || test ! -s conftest.err'
14887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14888 (eval $ac_try) 2>&5
14890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14891 (exit $ac_status); }; } &&
14892 { ac_try='test -s conftest.$ac_objext'
14893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14894 (eval $ac_try) 2>&5
14896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14897 (exit $ac_status); }; }; then
14898 bakefile_cv_cxx_compiler___DECCXX=yes
14900 echo "$as_me: failed program was:" >&5
14901 sed 's/^/| /' conftest.$ac_ext >&5
14903 bakefile_cv_cxx_compiler___DECCXX=no
14906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14910 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14911 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14913 ac_cpp='$CXXCPP $CPPFLAGS'
14914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14918 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14931 ac_cpp='$CXXCPP $CPPFLAGS'
14932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14936 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14937 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14938 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14939 echo $ECHO_N "(cached) $ECHO_C" >&6
14941 cat >conftest.$ac_ext <<_ACEOF
14944 cat confdefs.h >>conftest.$ac_ext
14945 cat >>conftest.$ac_ext <<_ACEOF
14946 /* end confdefs.h. */
14952 #ifndef __SUNPRO_CC
14960 rm -f conftest.$ac_objext
14961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14962 (eval $ac_compile) 2>conftest.er1
14964 grep -v '^ *+' conftest.er1 >conftest.err
14966 cat conftest.err >&5
14967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14968 (exit $ac_status); } &&
14969 { ac_try='test -z "$ac_cxx_werror_flag"
14970 || test ! -s conftest.err'
14971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14972 (eval $ac_try) 2>&5
14974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14975 (exit $ac_status); }; } &&
14976 { ac_try='test -s conftest.$ac_objext'
14977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14978 (eval $ac_try) 2>&5
14980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); }; }; then
14982 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
14984 echo "$as_me: failed program was:" >&5
14985 sed 's/^/| /' conftest.$ac_ext >&5
14987 bakefile_cv_cxx_compiler___SUNPRO_CC=no
14990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14994 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14995 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14997 ac_cpp='$CXXCPP $CPPFLAGS'
14998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15002 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
15015 if test -n "$ac_tool_prefix"; then
15016 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15017 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15018 echo "$as_me:$LINENO: checking for $ac_word" >&5
15019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15020 if test "${ac_cv_prog_RANLIB+set}" = set; then
15021 echo $ECHO_N "(cached) $ECHO_C" >&6
15023 if test -n "$RANLIB"; then
15024 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15027 for as_dir in $PATH
15030 test -z "$as_dir" && as_dir=.
15031 for ac_exec_ext in '' $ac_executable_extensions; do
15032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15033 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15042 RANLIB=$ac_cv_prog_RANLIB
15043 if test -n "$RANLIB"; then
15044 echo "$as_me:$LINENO: result: $RANLIB" >&5
15045 echo "${ECHO_T}$RANLIB" >&6
15047 echo "$as_me:$LINENO: result: no" >&5
15048 echo "${ECHO_T}no" >&6
15052 if test -z "$ac_cv_prog_RANLIB"; then
15053 ac_ct_RANLIB=$RANLIB
15054 # Extract the first word of "ranlib", so it can be a program name with args.
15055 set dummy ranlib; ac_word=$2
15056 echo "$as_me:$LINENO: checking for $ac_word" >&5
15057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15058 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15059 echo $ECHO_N "(cached) $ECHO_C" >&6
15061 if test -n "$ac_ct_RANLIB"; then
15062 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15065 for as_dir in $PATH
15068 test -z "$as_dir" && as_dir=.
15069 for ac_exec_ext in '' $ac_executable_extensions; do
15070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15071 ac_cv_prog_ac_ct_RANLIB="ranlib"
15072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15078 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15081 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15082 if test -n "$ac_ct_RANLIB"; then
15083 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15084 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15086 echo "$as_me:$LINENO: result: no" >&5
15087 echo "${ECHO_T}no" >&6
15090 RANLIB=$ac_ct_RANLIB
15092 RANLIB="$ac_cv_prog_RANLIB"
15096 if test -n "$ac_tool_prefix"; then
15097 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15098 set dummy ${ac_tool_prefix}ar; ac_word=$2
15099 echo "$as_me:$LINENO: checking for $ac_word" >&5
15100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15101 if test "${ac_cv_prog_AR+set}" = set; then
15102 echo $ECHO_N "(cached) $ECHO_C" >&6
15104 if test -n "$AR"; then
15105 ac_cv_prog_AR="$AR" # Let the user override the test.
15107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15108 for as_dir in $PATH
15111 test -z "$as_dir" && as_dir=.
15112 for ac_exec_ext in '' $ac_executable_extensions; do
15113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15114 ac_cv_prog_AR="${ac_tool_prefix}ar"
15115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15124 if test -n "$AR"; then
15125 echo "$as_me:$LINENO: result: $AR" >&5
15126 echo "${ECHO_T}$AR" >&6
15128 echo "$as_me:$LINENO: result: no" >&5
15129 echo "${ECHO_T}no" >&6
15133 if test -z "$ac_cv_prog_AR"; then
15135 # Extract the first word of "ar", so it can be a program name with args.
15136 set dummy ar; ac_word=$2
15137 echo "$as_me:$LINENO: checking for $ac_word" >&5
15138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15139 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15140 echo $ECHO_N "(cached) $ECHO_C" >&6
15142 if test -n "$ac_ct_AR"; then
15143 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15146 for as_dir in $PATH
15149 test -z "$as_dir" && as_dir=.
15150 for ac_exec_ext in '' $ac_executable_extensions; do
15151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15152 ac_cv_prog_ac_ct_AR="ar"
15153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15161 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15162 if test -n "$ac_ct_AR"; then
15163 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15164 echo "${ECHO_T}$ac_ct_AR" >&6
15166 echo "$as_me:$LINENO: result: no" >&5
15167 echo "${ECHO_T}no" >&6
15172 AR="$ac_cv_prog_AR"
15175 if test "x$AR" = "x" ; then
15176 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15177 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15178 { (exit 1); exit 1; }; }
15181 # Find a good install program. We prefer a C program (faster),
15182 # so one script is as good as another. But avoid the broken or
15183 # incompatible versions:
15184 # SysV /etc/install, /usr/sbin/install
15185 # SunOS /usr/etc/install
15186 # IRIX /sbin/install
15188 # AmigaOS /C/install, which installs bootblocks on floppy discs
15189 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15190 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15191 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15192 # OS/2's system install, which has a completely different semantic
15193 # ./install, which can be erroneously created by make from ./install.sh.
15194 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15195 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15196 if test -z "$INSTALL"; then
15197 if test "${ac_cv_path_install+set}" = set; then
15198 echo $ECHO_N "(cached) $ECHO_C" >&6
15200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15201 for as_dir in $PATH
15204 test -z "$as_dir" && as_dir=.
15205 # Account for people who put trailing slashes in PATH elements.
15207 ./ | .// | /cC/* | \
15208 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15209 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15212 # OSF1 and SCO ODT 3.0 have their own names for install.
15213 # Don't use installbsd from OSF since it installs stuff as root
15215 for ac_prog in ginstall scoinst install; do
15216 for ac_exec_ext in '' $ac_executable_extensions; do
15217 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15218 if test $ac_prog = install &&
15219 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15220 # AIX install. It has an incompatible calling convention.
15222 elif test $ac_prog = install &&
15223 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15224 # program-specific install script used by HP pwplus--don't use.
15227 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15239 if test "${ac_cv_path_install+set}" = set; then
15240 INSTALL=$ac_cv_path_install
15242 # As a last resort, use the slow shell script. We don't cache a
15243 # path for INSTALL within a source directory, because that will
15244 # break other packages using the cache if that directory is
15245 # removed, or if the path is relative.
15246 INSTALL=$ac_install_sh
15249 echo "$as_me:$LINENO: result: $INSTALL" >&5
15250 echo "${ECHO_T}$INSTALL" >&6
15252 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15253 # It thinks the first close brace ends the variable substitution.
15254 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15256 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15258 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15264 ?:* ) # Drive letter, considered as absolute.
15267 INSTALL=`pwd`/${INSTALL} ;;
15274 INSTALL_PROGRAM="cp -fp"
15275 INSTALL_DATA="cp -fp"
15281 if test -n "$ac_tool_prefix"; then
15282 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15283 set dummy ${ac_tool_prefix}strip; ac_word=$2
15284 echo "$as_me:$LINENO: checking for $ac_word" >&5
15285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15286 if test "${ac_cv_prog_STRIP+set}" = set; then
15287 echo $ECHO_N "(cached) $ECHO_C" >&6
15289 if test -n "$STRIP"; then
15290 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15293 for as_dir in $PATH
15296 test -z "$as_dir" && as_dir=.
15297 for ac_exec_ext in '' $ac_executable_extensions; do
15298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15299 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15308 STRIP=$ac_cv_prog_STRIP
15309 if test -n "$STRIP"; then
15310 echo "$as_me:$LINENO: result: $STRIP" >&5
15311 echo "${ECHO_T}$STRIP" >&6
15313 echo "$as_me:$LINENO: result: no" >&5
15314 echo "${ECHO_T}no" >&6
15318 if test -z "$ac_cv_prog_STRIP"; then
15320 # Extract the first word of "strip", so it can be a program name with args.
15321 set dummy strip; ac_word=$2
15322 echo "$as_me:$LINENO: checking for $ac_word" >&5
15323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15324 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15325 echo $ECHO_N "(cached) $ECHO_C" >&6
15327 if test -n "$ac_ct_STRIP"; then
15328 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15331 for as_dir in $PATH
15334 test -z "$as_dir" && as_dir=.
15335 for ac_exec_ext in '' $ac_executable_extensions; do
15336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15337 ac_cv_prog_ac_ct_STRIP="strip"
15338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15344 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15347 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15348 if test -n "$ac_ct_STRIP"; then
15349 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15350 echo "${ECHO_T}$ac_ct_STRIP" >&6
15352 echo "$as_me:$LINENO: result: no" >&5
15353 echo "${ECHO_T}no" >&6
15358 STRIP="$ac_cv_prog_STRIP"
15362 if test "$wxUSE_WINE" = "yes"; then
15363 if test -n "$ac_tool_prefix"; then
15364 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15365 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15366 echo "$as_me:$LINENO: checking for $ac_word" >&5
15367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15368 if test "${ac_cv_prog_WINDRES+set}" = set; then
15369 echo $ECHO_N "(cached) $ECHO_C" >&6
15371 if test -n "$WINDRES"; then
15372 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15375 for as_dir in $PATH
15378 test -z "$as_dir" && as_dir=.
15379 for ac_exec_ext in '' $ac_executable_extensions; do
15380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15381 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15390 WINDRES=$ac_cv_prog_WINDRES
15391 if test -n "$WINDRES"; then
15392 echo "$as_me:$LINENO: result: $WINDRES" >&5
15393 echo "${ECHO_T}$WINDRES" >&6
15395 echo "$as_me:$LINENO: result: no" >&5
15396 echo "${ECHO_T}no" >&6
15400 if test -z "$ac_cv_prog_WINDRES"; then
15401 ac_ct_WINDRES=$WINDRES
15402 # Extract the first word of "wrc", so it can be a program name with args.
15403 set dummy wrc; ac_word=$2
15404 echo "$as_me:$LINENO: checking for $ac_word" >&5
15405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15406 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15407 echo $ECHO_N "(cached) $ECHO_C" >&6
15409 if test -n "$ac_ct_WINDRES"; then
15410 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15413 for as_dir in $PATH
15416 test -z "$as_dir" && as_dir=.
15417 for ac_exec_ext in '' $ac_executable_extensions; do
15418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15419 ac_cv_prog_ac_ct_WINDRES="wrc"
15420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15428 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15429 if test -n "$ac_ct_WINDRES"; then
15430 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15431 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15433 echo "$as_me:$LINENO: result: no" >&5
15434 echo "${ECHO_T}no" >&6
15437 WINDRES=$ac_ct_WINDRES
15439 WINDRES="$ac_cv_prog_WINDRES"
15445 *-*-cygwin* | *-*-mingw32* )
15446 if test -n "$ac_tool_prefix"; then
15447 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15448 set dummy ${ac_tool_prefix}windres; ac_word=$2
15449 echo "$as_me:$LINENO: checking for $ac_word" >&5
15450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15451 if test "${ac_cv_prog_WINDRES+set}" = set; then
15452 echo $ECHO_N "(cached) $ECHO_C" >&6
15454 if test -n "$WINDRES"; then
15455 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15458 for as_dir in $PATH
15461 test -z "$as_dir" && as_dir=.
15462 for ac_exec_ext in '' $ac_executable_extensions; do
15463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15464 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15473 WINDRES=$ac_cv_prog_WINDRES
15474 if test -n "$WINDRES"; then
15475 echo "$as_me:$LINENO: result: $WINDRES" >&5
15476 echo "${ECHO_T}$WINDRES" >&6
15478 echo "$as_me:$LINENO: result: no" >&5
15479 echo "${ECHO_T}no" >&6
15483 if test -z "$ac_cv_prog_WINDRES"; then
15484 ac_ct_WINDRES=$WINDRES
15485 # Extract the first word of "windres", so it can be a program name with args.
15486 set dummy windres; ac_word=$2
15487 echo "$as_me:$LINENO: checking for $ac_word" >&5
15488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15489 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15490 echo $ECHO_N "(cached) $ECHO_C" >&6
15492 if test -n "$ac_ct_WINDRES"; then
15493 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15496 for as_dir in $PATH
15499 test -z "$as_dir" && as_dir=.
15500 for ac_exec_ext in '' $ac_executable_extensions; do
15501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15502 ac_cv_prog_ac_ct_WINDRES="windres"
15503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15511 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15512 if test -n "$ac_ct_WINDRES"; then
15513 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15514 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15516 echo "$as_me:$LINENO: result: no" >&5
15517 echo "${ECHO_T}no" >&6
15520 WINDRES=$ac_ct_WINDRES
15522 WINDRES="$ac_cv_prog_WINDRES"
15526 if test -n "$ac_tool_prefix"; then
15527 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15528 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15529 echo "$as_me:$LINENO: checking for $ac_word" >&5
15530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15531 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15532 echo $ECHO_N "(cached) $ECHO_C" >&6
15534 if test -n "$DLLTOOL"; then
15535 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15538 for as_dir in $PATH
15541 test -z "$as_dir" && as_dir=.
15542 for ac_exec_ext in '' $ac_executable_extensions; do
15543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15544 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15553 DLLTOOL=$ac_cv_prog_DLLTOOL
15554 if test -n "$DLLTOOL"; then
15555 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15556 echo "${ECHO_T}$DLLTOOL" >&6
15558 echo "$as_me:$LINENO: result: no" >&5
15559 echo "${ECHO_T}no" >&6
15563 if test -z "$ac_cv_prog_DLLTOOL"; then
15564 ac_ct_DLLTOOL=$DLLTOOL
15565 # Extract the first word of "dlltool", so it can be a program name with args.
15566 set dummy dlltool; ac_word=$2
15567 echo "$as_me:$LINENO: checking for $ac_word" >&5
15568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15569 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15570 echo $ECHO_N "(cached) $ECHO_C" >&6
15572 if test -n "$ac_ct_DLLTOOL"; then
15573 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15576 for as_dir in $PATH
15579 test -z "$as_dir" && as_dir=.
15580 for ac_exec_ext in '' $ac_executable_extensions; do
15581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15582 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15591 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15592 if test -n "$ac_ct_DLLTOOL"; then
15593 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15594 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15596 echo "$as_me:$LINENO: result: no" >&5
15597 echo "${ECHO_T}no" >&6
15600 DLLTOOL=$ac_ct_DLLTOOL
15602 DLLTOOL="$ac_cv_prog_DLLTOOL"
15609 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15610 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15611 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15612 echo $ECHO_N "(cached) $ECHO_C" >&6
15615 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15616 egrep -s GNU > /dev/null); then
15617 wx_cv_prog_makeisgnu="yes"
15619 wx_cv_prog_makeisgnu="no"
15623 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15624 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15626 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15634 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15635 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15636 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15637 if test "${wx_cv_prog_makevpath+set}" = set; then
15638 echo $ECHO_N "(cached) $ECHO_C" >&6
15641 cat - << EOF > confMake
15647 if test ! -d sub ; then
15650 echo dummy > sub/file
15651 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15653 rm -f sub/file check final_file confMake
15655 if test "$RESULT" = 0; then
15656 wx_cv_prog_makevpath="yes"
15658 wx_cv_prog_makevpath="no"
15662 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15663 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15665 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15666 { { echo "$as_me:$LINENO: error:
15667 You need a make-utility that is able to use the variable
15669 If your version of make does not support VPATH correctly,
15670 please install GNU-make (possibly as gmake), and start
15671 configure with the following command:
15672 export MAKE=gmake; ./configure for sh-type shells
15673 setenv MAKE gmake; ./configure for csh-type shells
15674 Also please do remember to use gmake in this case every time
15675 you are trying to compile.
15677 echo "$as_me: error:
15678 You need a make-utility that is able to use the variable
15680 If your version of make does not support VPATH correctly,
15681 please install GNU-make (possibly as gmake), and start
15682 configure with the following command:
15683 export MAKE=gmake; ./configure for sh-type shells
15684 setenv MAKE gmake; ./configure for csh-type shells
15685 Also please do remember to use gmake in this case every time
15686 you are trying to compile.
15688 { (exit 1); exit 1; }; }
15690 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15691 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15693 if test "$LN_S" = "ln -s"; then
15694 echo "$as_me:$LINENO: result: yes" >&5
15695 echo "${ECHO_T}yes" >&6
15697 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15698 echo "${ECHO_T}no, using $LN_S" >&6
15704 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15705 CXXFLAGS="-qunique $CXXFLAGS"
15709 powerpc-*-darwin* )
15710 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15711 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15712 cat >conftest.$ac_ext <<_ACEOF
15715 cat confdefs.h >>conftest.$ac_ext
15716 cat >>conftest.$ac_ext <<_ACEOF
15717 /* end confdefs.h. */
15722 #ifndef __POWERPC__
15723 choke me for lack of PowerPC
15730 rm -f conftest.$ac_objext
15731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15732 (eval $ac_compile) 2>conftest.er1
15734 grep -v '^ *+' conftest.er1 >conftest.err
15736 cat conftest.err >&5
15737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15738 (exit $ac_status); } &&
15739 { ac_try='test -z "$ac_cxx_werror_flag"
15740 || test ! -s conftest.err'
15741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15742 (eval $ac_try) 2>&5
15744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15745 (exit $ac_status); }; } &&
15746 { ac_try='test -s conftest.$ac_objext'
15747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15748 (eval $ac_try) 2>&5
15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751 (exit $ac_status); }; }; then
15752 echo "$as_me:$LINENO: result: yes" >&5
15753 echo "${ECHO_T}yes" >&6
15755 echo "$as_me: failed program was:" >&5
15756 sed 's/^/| /' conftest.$ac_ext >&5
15758 echo "$as_me:$LINENO: result: no" >&5
15759 echo "${ECHO_T}no" >&6
15760 cat >>confdefs.h <<\_ACEOF
15761 #define __POWERPC__ 1
15766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15772 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15773 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15774 cat >conftest.$ac_ext <<_ACEOF
15777 cat confdefs.h >>conftest.$ac_ext
15778 cat >>conftest.$ac_ext <<_ACEOF
15779 /* end confdefs.h. */
15780 #include <CoreFoundation/CFBase.h>
15790 rm -f conftest.$ac_objext
15791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15792 (eval $ac_compile) 2>conftest.er1
15794 grep -v '^ *+' conftest.er1 >conftest.err
15796 cat conftest.err >&5
15797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15798 (exit $ac_status); } &&
15799 { ac_try='test -z "$ac_cxx_werror_flag"
15800 || test ! -s conftest.err'
15801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15802 (eval $ac_try) 2>&5
15804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15805 (exit $ac_status); }; } &&
15806 { ac_try='test -s conftest.$ac_objext'
15807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15808 (eval $ac_try) 2>&5
15810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15811 (exit $ac_status); }; }; then
15812 echo "$as_me:$LINENO: result: yes" >&5
15813 echo "${ECHO_T}yes" >&6
15815 echo "$as_me: failed program was:" >&5
15816 sed 's/^/| /' conftest.$ac_ext >&5
15818 echo "$as_me:$LINENO: result: no" >&5
15819 echo "${ECHO_T}no" >&6
15820 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15821 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15822 cat >conftest.$ac_ext <<_ACEOF
15825 cat confdefs.h >>conftest.$ac_ext
15826 cat >>conftest.$ac_ext <<_ACEOF
15827 /* end confdefs.h. */
15828 #define __CF_USE_FRAMEWORK_INCLUDES__
15829 #include <CoreFoundation/CFBase.h>
15839 rm -f conftest.$ac_objext
15840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15841 (eval $ac_compile) 2>conftest.er1
15843 grep -v '^ *+' conftest.er1 >conftest.err
15845 cat conftest.err >&5
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); } &&
15848 { ac_try='test -z "$ac_cxx_werror_flag"
15849 || test ! -s conftest.err'
15850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15851 (eval $ac_try) 2>&5
15853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15854 (exit $ac_status); }; } &&
15855 { ac_try='test -s conftest.$ac_objext'
15856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15857 (eval $ac_try) 2>&5
15859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15860 (exit $ac_status); }; }; then
15861 echo "$as_me:$LINENO: result: yes" >&5
15862 echo "${ECHO_T}yes" >&6
15863 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15865 echo "$as_me: failed program was:" >&5
15866 sed 's/^/| /' conftest.$ac_ext >&5
15868 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15869 See \`config.log' for more details." >&5
15870 echo "$as_me: error: no. CoreFoundation not available.
15871 See \`config.log' for more details." >&2;}
15872 { (exit 1); exit 1; }; }
15875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15884 *-pc-os2_emx | *-pc-os2-emx )
15886 ac_cpp='$CPP $CPPFLAGS'
15887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15891 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15892 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15893 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15894 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15895 echo $ECHO_N "(cached) $ECHO_C" >&6
15897 ac_check_lib_save_LIBS=$LIBS
15898 LIBS="-lcExt $LIBS"
15899 cat >conftest.$ac_ext <<_ACEOF
15902 cat confdefs.h >>conftest.$ac_ext
15903 cat >>conftest.$ac_ext <<_ACEOF
15904 /* end confdefs.h. */
15906 /* Override any gcc2 internal prototype to avoid an error. */
15910 /* We use char because int might match the return type of a gcc2
15911 builtin and then its argument prototype would still apply. */
15921 rm -f conftest.$ac_objext conftest$ac_exeext
15922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15923 (eval $ac_link) 2>conftest.er1
15925 grep -v '^ *+' conftest.er1 >conftest.err
15927 cat conftest.err >&5
15928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 (exit $ac_status); } &&
15930 { ac_try='test -z "$ac_c_werror_flag"
15931 || test ! -s conftest.err'
15932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15933 (eval $ac_try) 2>&5
15935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15936 (exit $ac_status); }; } &&
15937 { ac_try='test -s conftest$ac_exeext'
15938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15939 (eval $ac_try) 2>&5
15941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15942 (exit $ac_status); }; }; then
15943 ac_cv_lib_cExt_drand48=yes
15945 echo "$as_me: failed program was:" >&5
15946 sed 's/^/| /' conftest.$ac_ext >&5
15948 ac_cv_lib_cExt_drand48=no
15950 rm -f conftest.err conftest.$ac_objext \
15951 conftest$ac_exeext conftest.$ac_ext
15952 LIBS=$ac_check_lib_save_LIBS
15954 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15955 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15956 if test $ac_cv_lib_cExt_drand48 = yes; then
15957 LIBS="$LIBS -lcExt"
15961 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
15963 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15964 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15965 if test "${wx_cv_gccversion+set}" = set; then
15966 echo $ECHO_N "(cached) $ECHO_C" >&6
15969 if test "$cross_compiling" = yes; then
15970 wx_cv_gccversion="EMX2"
15973 cat >conftest.$ac_ext <<_ACEOF
15976 cat confdefs.h >>conftest.$ac_ext
15977 cat >>conftest.$ac_ext <<_ACEOF
15978 /* end confdefs.h. */
15984 FILE *f=fopen("conftestval", "w");
15989 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15991 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16001 rm -f conftest$ac_exeext
16002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16003 (eval $ac_link) 2>&5
16005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16006 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16008 (eval $ac_try) 2>&5
16010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011 (exit $ac_status); }; }; then
16012 wx_cv_gccversion=`cat conftestval`
16014 echo "$as_me: program exited with status $ac_status" >&5
16015 echo "$as_me: failed program was:" >&5
16016 sed 's/^/| /' conftest.$ac_ext >&5
16018 ( exit $ac_status )
16019 wx_cv_gccversion="EMX2"
16021 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16025 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16026 echo "${ECHO_T}$wx_cv_gccversion" >&6
16028 ac_cpp='$CXXCPP $CPPFLAGS'
16029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16033 if test "$wx_cv_gccversion" = "EMX2"; then
16034 LIBS="$LIBS -lstdcpp"
16035 LDFLAGS="$LDFLAGS -Zsysv-signals"
16037 if test "$wx_cv_gccversion" = "EMX3"; then
16038 LIBS="$LIBS -lstdcxx -lgcc"
16039 LDFLAGS="$LDFLAGS -Zsysv-signals"
16041 LIBS="$LIBS -lstdc++"
16044 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16045 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16046 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16053 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16054 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16055 if test "${ac_cv_string_strcasecmp+set}" = set; then
16056 echo $ECHO_N "(cached) $ECHO_C" >&6
16059 cat >conftest.$ac_ext <<_ACEOF
16062 cat confdefs.h >>conftest.$ac_ext
16063 cat >>conftest.$ac_ext <<_ACEOF
16064 /* end confdefs.h. */
16066 #include <string.h>
16072 strcasecmp("foo", "bar");
16078 rm -f conftest.$ac_objext conftest$ac_exeext
16079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16080 (eval $ac_link) 2>conftest.er1
16082 grep -v '^ *+' conftest.er1 >conftest.err
16084 cat conftest.err >&5
16085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086 (exit $ac_status); } &&
16087 { ac_try='test -z "$ac_cxx_werror_flag"
16088 || test ! -s conftest.err'
16089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16090 (eval $ac_try) 2>&5
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); }; } &&
16094 { ac_try='test -s conftest$ac_exeext'
16095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16096 (eval $ac_try) 2>&5
16098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16099 (exit $ac_status); }; }; then
16100 ac_cv_string_strcasecmp=yes
16102 echo "$as_me: failed program was:" >&5
16103 sed 's/^/| /' conftest.$ac_ext >&5
16105 ac_cv_string_strcasecmp=no
16108 rm -f conftest.err conftest.$ac_objext \
16109 conftest$ac_exeext conftest.$ac_ext
16112 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16113 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16115 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16116 cat >>confdefs.h <<\_ACEOF
16117 #define HAVE_STRCASECMP_IN_STRING_H 1
16121 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16122 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16123 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16124 echo $ECHO_N "(cached) $ECHO_C" >&6
16127 cat >conftest.$ac_ext <<_ACEOF
16130 cat confdefs.h >>conftest.$ac_ext
16131 cat >>conftest.$ac_ext <<_ACEOF
16132 /* end confdefs.h. */
16134 #include <strings.h>
16140 strcasecmp("foo", "bar");
16146 rm -f conftest.$ac_objext conftest$ac_exeext
16147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16148 (eval $ac_link) 2>conftest.er1
16150 grep -v '^ *+' conftest.er1 >conftest.err
16152 cat conftest.err >&5
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); } &&
16155 { ac_try='test -z "$ac_cxx_werror_flag"
16156 || test ! -s conftest.err'
16157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16158 (eval $ac_try) 2>&5
16160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16161 (exit $ac_status); }; } &&
16162 { ac_try='test -s conftest$ac_exeext'
16163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16164 (eval $ac_try) 2>&5
16166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16167 (exit $ac_status); }; }; then
16168 ac_cv_strings_strcasecmp=yes
16170 echo "$as_me: failed program was:" >&5
16171 sed 's/^/| /' conftest.$ac_ext >&5
16173 ac_cv_strings_strcasecmp=no
16176 rm -f conftest.err conftest.$ac_objext \
16177 conftest$ac_exeext conftest.$ac_ext
16180 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16181 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16183 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16184 cat >>confdefs.h <<\_ACEOF
16185 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16189 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16190 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16191 { (exit 1); exit 1; }; }
16200 ac_cpp='$CXXCPP $CPPFLAGS'
16201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16204 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16205 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16206 if test -z "$CXXCPP"; then
16207 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16208 echo $ECHO_N "(cached) $ECHO_C" >&6
16210 # Double quotes because CXXCPP needs to be expanded
16211 for CXXCPP in "$CXX -E" "/lib/cpp"
16213 ac_preproc_ok=false
16214 for ac_cxx_preproc_warn_flag in '' yes
16216 # Use a header file that comes with gcc, so configuring glibc
16217 # with a fresh cross-compiler works.
16218 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16219 # <limits.h> exists even on freestanding compilers.
16220 # On the NeXT, cc -E runs the code through the compiler's parser,
16221 # not just through cpp. "Syntax error" is here to catch this case.
16222 cat >conftest.$ac_ext <<_ACEOF
16225 cat confdefs.h >>conftest.$ac_ext
16226 cat >>conftest.$ac_ext <<_ACEOF
16227 /* end confdefs.h. */
16229 # include <limits.h>
16231 # include <assert.h>
16235 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16236 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16238 grep -v '^ *+' conftest.er1 >conftest.err
16240 cat conftest.err >&5
16241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16242 (exit $ac_status); } >/dev/null; then
16243 if test -s conftest.err; then
16244 ac_cpp_err=$ac_cxx_preproc_warn_flag
16245 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16252 if test -z "$ac_cpp_err"; then
16255 echo "$as_me: failed program was:" >&5
16256 sed 's/^/| /' conftest.$ac_ext >&5
16258 # Broken: fails on valid input.
16261 rm -f conftest.err conftest.$ac_ext
16263 # OK, works on sane cases. Now check whether non-existent headers
16264 # can be detected and how.
16265 cat >conftest.$ac_ext <<_ACEOF
16268 cat confdefs.h >>conftest.$ac_ext
16269 cat >>conftest.$ac_ext <<_ACEOF
16270 /* end confdefs.h. */
16271 #include <ac_nonexistent.h>
16273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16274 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16276 grep -v '^ *+' conftest.er1 >conftest.err
16278 cat conftest.err >&5
16279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16280 (exit $ac_status); } >/dev/null; then
16281 if test -s conftest.err; then
16282 ac_cpp_err=$ac_cxx_preproc_warn_flag
16283 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16290 if test -z "$ac_cpp_err"; then
16291 # Broken: success on invalid input.
16294 echo "$as_me: failed program was:" >&5
16295 sed 's/^/| /' conftest.$ac_ext >&5
16297 # Passes both tests.
16301 rm -f conftest.err conftest.$ac_ext
16304 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16305 rm -f conftest.err conftest.$ac_ext
16306 if $ac_preproc_ok; then
16311 ac_cv_prog_CXXCPP=$CXXCPP
16314 CXXCPP=$ac_cv_prog_CXXCPP
16316 ac_cv_prog_CXXCPP=$CXXCPP
16318 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16319 echo "${ECHO_T}$CXXCPP" >&6
16320 ac_preproc_ok=false
16321 for ac_cxx_preproc_warn_flag in '' yes
16323 # Use a header file that comes with gcc, so configuring glibc
16324 # with a fresh cross-compiler works.
16325 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16326 # <limits.h> exists even on freestanding compilers.
16327 # On the NeXT, cc -E runs the code through the compiler's parser,
16328 # not just through cpp. "Syntax error" is here to catch this case.
16329 cat >conftest.$ac_ext <<_ACEOF
16332 cat confdefs.h >>conftest.$ac_ext
16333 cat >>conftest.$ac_ext <<_ACEOF
16334 /* end confdefs.h. */
16336 # include <limits.h>
16338 # include <assert.h>
16342 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16343 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16345 grep -v '^ *+' conftest.er1 >conftest.err
16347 cat conftest.err >&5
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); } >/dev/null; then
16350 if test -s conftest.err; then
16351 ac_cpp_err=$ac_cxx_preproc_warn_flag
16352 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16359 if test -z "$ac_cpp_err"; then
16362 echo "$as_me: failed program was:" >&5
16363 sed 's/^/| /' conftest.$ac_ext >&5
16365 # Broken: fails on valid input.
16368 rm -f conftest.err conftest.$ac_ext
16370 # OK, works on sane cases. Now check whether non-existent headers
16371 # can be detected and how.
16372 cat >conftest.$ac_ext <<_ACEOF
16375 cat confdefs.h >>conftest.$ac_ext
16376 cat >>conftest.$ac_ext <<_ACEOF
16377 /* end confdefs.h. */
16378 #include <ac_nonexistent.h>
16380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16381 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16383 grep -v '^ *+' conftest.er1 >conftest.err
16385 cat conftest.err >&5
16386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16387 (exit $ac_status); } >/dev/null; then
16388 if test -s conftest.err; then
16389 ac_cpp_err=$ac_cxx_preproc_warn_flag
16390 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16397 if test -z "$ac_cpp_err"; then
16398 # Broken: success on invalid input.
16401 echo "$as_me: failed program was:" >&5
16402 sed 's/^/| /' conftest.$ac_ext >&5
16404 # Passes both tests.
16408 rm -f conftest.err conftest.$ac_ext
16411 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16412 rm -f conftest.err conftest.$ac_ext
16413 if $ac_preproc_ok; then
16416 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16417 See \`config.log' for more details." >&5
16418 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16419 See \`config.log' for more details." >&2;}
16420 { (exit 1); exit 1; }; }
16424 ac_cpp='$CXXCPP $CPPFLAGS'
16425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16430 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16431 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16432 if test "${ac_cv_header_stdc+set}" = set; then
16433 echo $ECHO_N "(cached) $ECHO_C" >&6
16435 cat >conftest.$ac_ext <<_ACEOF
16438 cat confdefs.h >>conftest.$ac_ext
16439 cat >>conftest.$ac_ext <<_ACEOF
16440 /* end confdefs.h. */
16441 #include <stdlib.h>
16442 #include <stdarg.h>
16443 #include <string.h>
16454 rm -f conftest.$ac_objext
16455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16456 (eval $ac_compile) 2>conftest.er1
16458 grep -v '^ *+' conftest.er1 >conftest.err
16460 cat conftest.err >&5
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); } &&
16463 { ac_try='test -z "$ac_cxx_werror_flag"
16464 || test ! -s conftest.err'
16465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16466 (eval $ac_try) 2>&5
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); }; } &&
16470 { ac_try='test -s conftest.$ac_objext'
16471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16472 (eval $ac_try) 2>&5
16474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16475 (exit $ac_status); }; }; then
16476 ac_cv_header_stdc=yes
16478 echo "$as_me: failed program was:" >&5
16479 sed 's/^/| /' conftest.$ac_ext >&5
16481 ac_cv_header_stdc=no
16483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16485 if test $ac_cv_header_stdc = yes; then
16486 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16487 cat >conftest.$ac_ext <<_ACEOF
16490 cat confdefs.h >>conftest.$ac_ext
16491 cat >>conftest.$ac_ext <<_ACEOF
16492 /* end confdefs.h. */
16493 #include <string.h>
16496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16497 $EGREP "memchr" >/dev/null 2>&1; then
16500 ac_cv_header_stdc=no
16506 if test $ac_cv_header_stdc = yes; then
16507 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16508 cat >conftest.$ac_ext <<_ACEOF
16511 cat confdefs.h >>conftest.$ac_ext
16512 cat >>conftest.$ac_ext <<_ACEOF
16513 /* end confdefs.h. */
16514 #include <stdlib.h>
16517 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16518 $EGREP "free" >/dev/null 2>&1; then
16521 ac_cv_header_stdc=no
16527 if test $ac_cv_header_stdc = yes; then
16528 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16529 if test "$cross_compiling" = yes; then
16532 cat >conftest.$ac_ext <<_ACEOF
16535 cat confdefs.h >>conftest.$ac_ext
16536 cat >>conftest.$ac_ext <<_ACEOF
16537 /* end confdefs.h. */
16539 #if ((' ' & 0x0FF) == 0x020)
16540 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16541 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16543 # define ISLOWER(c) \
16544 (('a' <= (c) && (c) <= 'i') \
16545 || ('j' <= (c) && (c) <= 'r') \
16546 || ('s' <= (c) && (c) <= 'z'))
16547 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16550 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16555 for (i = 0; i < 256; i++)
16556 if (XOR (islower (i), ISLOWER (i))
16557 || toupper (i) != TOUPPER (i))
16562 rm -f conftest$ac_exeext
16563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16564 (eval $ac_link) 2>&5
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16569 (eval $ac_try) 2>&5
16571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572 (exit $ac_status); }; }; then
16575 echo "$as_me: program exited with status $ac_status" >&5
16576 echo "$as_me: failed program was:" >&5
16577 sed 's/^/| /' conftest.$ac_ext >&5
16579 ( exit $ac_status )
16580 ac_cv_header_stdc=no
16582 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16586 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16587 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16588 if test $ac_cv_header_stdc = yes; then
16590 cat >>confdefs.h <<\_ACEOF
16591 #define STDC_HEADERS 1
16596 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16606 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16607 inttypes.h stdint.h unistd.h
16609 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16610 echo "$as_me:$LINENO: checking for $ac_header" >&5
16611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16613 echo $ECHO_N "(cached) $ECHO_C" >&6
16615 cat >conftest.$ac_ext <<_ACEOF
16618 cat confdefs.h >>conftest.$ac_ext
16619 cat >>conftest.$ac_ext <<_ACEOF
16620 /* end confdefs.h. */
16621 $ac_includes_default
16623 #include <$ac_header>
16625 rm -f conftest.$ac_objext
16626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16627 (eval $ac_compile) 2>conftest.er1
16629 grep -v '^ *+' conftest.er1 >conftest.err
16631 cat conftest.err >&5
16632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16633 (exit $ac_status); } &&
16634 { ac_try='test -z "$ac_cxx_werror_flag"
16635 || test ! -s conftest.err'
16636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16637 (eval $ac_try) 2>&5
16639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16640 (exit $ac_status); }; } &&
16641 { ac_try='test -s conftest.$ac_objext'
16642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16643 (eval $ac_try) 2>&5
16645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646 (exit $ac_status); }; }; then
16647 eval "$as_ac_Header=yes"
16649 echo "$as_me: failed program was:" >&5
16650 sed 's/^/| /' conftest.$ac_ext >&5
16652 eval "$as_ac_Header=no"
16654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16658 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16659 cat >>confdefs.h <<_ACEOF
16660 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16669 for ac_header in stdlib.h
16671 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16673 echo "$as_me:$LINENO: checking for $ac_header" >&5
16674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16676 echo $ECHO_N "(cached) $ECHO_C" >&6
16678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16679 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16681 # Is the header compilable?
16682 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16683 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16684 cat >conftest.$ac_ext <<_ACEOF
16687 cat confdefs.h >>conftest.$ac_ext
16688 cat >>conftest.$ac_ext <<_ACEOF
16689 /* end confdefs.h. */
16690 $ac_includes_default
16691 #include <$ac_header>
16693 rm -f conftest.$ac_objext
16694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16695 (eval $ac_compile) 2>conftest.er1
16697 grep -v '^ *+' conftest.er1 >conftest.err
16699 cat conftest.err >&5
16700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701 (exit $ac_status); } &&
16702 { ac_try='test -z "$ac_cxx_werror_flag"
16703 || test ! -s conftest.err'
16704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16705 (eval $ac_try) 2>&5
16707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); }; } &&
16709 { ac_try='test -s conftest.$ac_objext'
16710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16711 (eval $ac_try) 2>&5
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); }; }; then
16715 ac_header_compiler=yes
16717 echo "$as_me: failed program was:" >&5
16718 sed 's/^/| /' conftest.$ac_ext >&5
16720 ac_header_compiler=no
16722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16723 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16724 echo "${ECHO_T}$ac_header_compiler" >&6
16726 # Is the header present?
16727 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16728 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16729 cat >conftest.$ac_ext <<_ACEOF
16732 cat confdefs.h >>conftest.$ac_ext
16733 cat >>conftest.$ac_ext <<_ACEOF
16734 /* end confdefs.h. */
16735 #include <$ac_header>
16737 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16738 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16740 grep -v '^ *+' conftest.er1 >conftest.err
16742 cat conftest.err >&5
16743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16744 (exit $ac_status); } >/dev/null; then
16745 if test -s conftest.err; then
16746 ac_cpp_err=$ac_cxx_preproc_warn_flag
16747 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16754 if test -z "$ac_cpp_err"; then
16755 ac_header_preproc=yes
16757 echo "$as_me: failed program was:" >&5
16758 sed 's/^/| /' conftest.$ac_ext >&5
16760 ac_header_preproc=no
16762 rm -f conftest.err conftest.$ac_ext
16763 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16764 echo "${ECHO_T}$ac_header_preproc" >&6
16766 # So? What about this header?
16767 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16769 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16770 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16771 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16772 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16773 ac_header_preproc=yes
16776 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16777 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16778 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16779 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16780 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16781 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16782 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16783 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16784 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16785 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16786 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16787 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16790 ## ----------------------------------------- ##
16791 ## Report this to wx-dev@lists.wxwidgets.org ##
16792 ## ----------------------------------------- ##
16795 sed "s/^/$as_me: WARNING: /" >&2
16798 echo "$as_me:$LINENO: checking for $ac_header" >&5
16799 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16801 echo $ECHO_N "(cached) $ECHO_C" >&6
16803 eval "$as_ac_Header=\$ac_header_preproc"
16805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16806 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16810 cat >>confdefs.h <<_ACEOF
16811 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16819 for ac_header in malloc.h
16821 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16823 echo "$as_me:$LINENO: checking for $ac_header" >&5
16824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16826 echo $ECHO_N "(cached) $ECHO_C" >&6
16828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16831 # Is the header compilable?
16832 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16833 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16834 cat >conftest.$ac_ext <<_ACEOF
16837 cat confdefs.h >>conftest.$ac_ext
16838 cat >>conftest.$ac_ext <<_ACEOF
16839 /* end confdefs.h. */
16840 $ac_includes_default
16841 #include <$ac_header>
16843 rm -f conftest.$ac_objext
16844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16845 (eval $ac_compile) 2>conftest.er1
16847 grep -v '^ *+' conftest.er1 >conftest.err
16849 cat conftest.err >&5
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); } &&
16852 { ac_try='test -z "$ac_cxx_werror_flag"
16853 || test ! -s conftest.err'
16854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16855 (eval $ac_try) 2>&5
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); }; } &&
16859 { ac_try='test -s conftest.$ac_objext'
16860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16861 (eval $ac_try) 2>&5
16863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16864 (exit $ac_status); }; }; then
16865 ac_header_compiler=yes
16867 echo "$as_me: failed program was:" >&5
16868 sed 's/^/| /' conftest.$ac_ext >&5
16870 ac_header_compiler=no
16872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16873 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16874 echo "${ECHO_T}$ac_header_compiler" >&6
16876 # Is the header present?
16877 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16878 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16879 cat >conftest.$ac_ext <<_ACEOF
16882 cat confdefs.h >>conftest.$ac_ext
16883 cat >>conftest.$ac_ext <<_ACEOF
16884 /* end confdefs.h. */
16885 #include <$ac_header>
16887 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16888 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16890 grep -v '^ *+' conftest.er1 >conftest.err
16892 cat conftest.err >&5
16893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16894 (exit $ac_status); } >/dev/null; then
16895 if test -s conftest.err; then
16896 ac_cpp_err=$ac_cxx_preproc_warn_flag
16897 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16904 if test -z "$ac_cpp_err"; then
16905 ac_header_preproc=yes
16907 echo "$as_me: failed program was:" >&5
16908 sed 's/^/| /' conftest.$ac_ext >&5
16910 ac_header_preproc=no
16912 rm -f conftest.err conftest.$ac_ext
16913 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16914 echo "${ECHO_T}$ac_header_preproc" >&6
16916 # So? What about this header?
16917 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16919 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16920 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16921 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16922 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16923 ac_header_preproc=yes
16926 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16927 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16928 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16929 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16930 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16931 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16932 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16933 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16934 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16935 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16936 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16937 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16940 ## ----------------------------------------- ##
16941 ## Report this to wx-dev@lists.wxwidgets.org ##
16942 ## ----------------------------------------- ##
16945 sed "s/^/$as_me: WARNING: /" >&2
16948 echo "$as_me:$LINENO: checking for $ac_header" >&5
16949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16951 echo $ECHO_N "(cached) $ECHO_C" >&6
16953 eval "$as_ac_Header=\$ac_header_preproc"
16955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16956 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16959 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16960 cat >>confdefs.h <<_ACEOF
16961 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16969 for ac_header in unistd.h
16971 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16973 echo "$as_me:$LINENO: checking for $ac_header" >&5
16974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16976 echo $ECHO_N "(cached) $ECHO_C" >&6
16978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16979 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16981 # Is the header compilable?
16982 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16983 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16984 cat >conftest.$ac_ext <<_ACEOF
16987 cat confdefs.h >>conftest.$ac_ext
16988 cat >>conftest.$ac_ext <<_ACEOF
16989 /* end confdefs.h. */
16990 $ac_includes_default
16991 #include <$ac_header>
16993 rm -f conftest.$ac_objext
16994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16995 (eval $ac_compile) 2>conftest.er1
16997 grep -v '^ *+' conftest.er1 >conftest.err
16999 cat conftest.err >&5
17000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17001 (exit $ac_status); } &&
17002 { ac_try='test -z "$ac_cxx_werror_flag"
17003 || test ! -s conftest.err'
17004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17005 (eval $ac_try) 2>&5
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); }; } &&
17009 { ac_try='test -s conftest.$ac_objext'
17010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17011 (eval $ac_try) 2>&5
17013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17014 (exit $ac_status); }; }; then
17015 ac_header_compiler=yes
17017 echo "$as_me: failed program was:" >&5
17018 sed 's/^/| /' conftest.$ac_ext >&5
17020 ac_header_compiler=no
17022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17023 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17024 echo "${ECHO_T}$ac_header_compiler" >&6
17026 # Is the header present?
17027 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17028 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17029 cat >conftest.$ac_ext <<_ACEOF
17032 cat confdefs.h >>conftest.$ac_ext
17033 cat >>conftest.$ac_ext <<_ACEOF
17034 /* end confdefs.h. */
17035 #include <$ac_header>
17037 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17038 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17040 grep -v '^ *+' conftest.er1 >conftest.err
17042 cat conftest.err >&5
17043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17044 (exit $ac_status); } >/dev/null; then
17045 if test -s conftest.err; then
17046 ac_cpp_err=$ac_cxx_preproc_warn_flag
17047 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17054 if test -z "$ac_cpp_err"; then
17055 ac_header_preproc=yes
17057 echo "$as_me: failed program was:" >&5
17058 sed 's/^/| /' conftest.$ac_ext >&5
17060 ac_header_preproc=no
17062 rm -f conftest.err conftest.$ac_ext
17063 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17064 echo "${ECHO_T}$ac_header_preproc" >&6
17066 # So? What about this header?
17067 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17069 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17070 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17071 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17072 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17073 ac_header_preproc=yes
17076 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17077 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17078 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17079 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17080 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17081 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17082 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17083 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17084 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17085 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17086 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17087 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17090 ## ----------------------------------------- ##
17091 ## Report this to wx-dev@lists.wxwidgets.org ##
17092 ## ----------------------------------------- ##
17095 sed "s/^/$as_me: WARNING: /" >&2
17098 echo "$as_me:$LINENO: checking for $ac_header" >&5
17099 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17101 echo $ECHO_N "(cached) $ECHO_C" >&6
17103 eval "$as_ac_Header=\$ac_header_preproc"
17105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17106 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17109 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17110 cat >>confdefs.h <<_ACEOF
17111 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17119 for ac_header in wchar.h
17121 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17123 echo "$as_me:$LINENO: checking for $ac_header" >&5
17124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17126 echo $ECHO_N "(cached) $ECHO_C" >&6
17128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17131 # Is the header compilable?
17132 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17133 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17134 cat >conftest.$ac_ext <<_ACEOF
17137 cat confdefs.h >>conftest.$ac_ext
17138 cat >>conftest.$ac_ext <<_ACEOF
17139 /* end confdefs.h. */
17140 $ac_includes_default
17141 #include <$ac_header>
17143 rm -f conftest.$ac_objext
17144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17145 (eval $ac_compile) 2>conftest.er1
17147 grep -v '^ *+' conftest.er1 >conftest.err
17149 cat conftest.err >&5
17150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17151 (exit $ac_status); } &&
17152 { ac_try='test -z "$ac_cxx_werror_flag"
17153 || test ! -s conftest.err'
17154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17155 (eval $ac_try) 2>&5
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); }; } &&
17159 { ac_try='test -s conftest.$ac_objext'
17160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17161 (eval $ac_try) 2>&5
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); }; }; then
17165 ac_header_compiler=yes
17167 echo "$as_me: failed program was:" >&5
17168 sed 's/^/| /' conftest.$ac_ext >&5
17170 ac_header_compiler=no
17172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17173 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17174 echo "${ECHO_T}$ac_header_compiler" >&6
17176 # Is the header present?
17177 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17178 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17179 cat >conftest.$ac_ext <<_ACEOF
17182 cat confdefs.h >>conftest.$ac_ext
17183 cat >>conftest.$ac_ext <<_ACEOF
17184 /* end confdefs.h. */
17185 #include <$ac_header>
17187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17188 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17190 grep -v '^ *+' conftest.er1 >conftest.err
17192 cat conftest.err >&5
17193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17194 (exit $ac_status); } >/dev/null; then
17195 if test -s conftest.err; then
17196 ac_cpp_err=$ac_cxx_preproc_warn_flag
17197 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17204 if test -z "$ac_cpp_err"; then
17205 ac_header_preproc=yes
17207 echo "$as_me: failed program was:" >&5
17208 sed 's/^/| /' conftest.$ac_ext >&5
17210 ac_header_preproc=no
17212 rm -f conftest.err conftest.$ac_ext
17213 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17214 echo "${ECHO_T}$ac_header_preproc" >&6
17216 # So? What about this header?
17217 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17219 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17220 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17221 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17222 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17223 ac_header_preproc=yes
17226 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17227 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17228 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17229 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17230 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17231 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17232 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17233 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17234 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17235 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17236 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17237 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17240 ## ----------------------------------------- ##
17241 ## Report this to wx-dev@lists.wxwidgets.org ##
17242 ## ----------------------------------------- ##
17245 sed "s/^/$as_me: WARNING: /" >&2
17248 echo "$as_me:$LINENO: checking for $ac_header" >&5
17249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17251 echo $ECHO_N "(cached) $ECHO_C" >&6
17253 eval "$as_ac_Header=\$ac_header_preproc"
17255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17256 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17259 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17260 cat >>confdefs.h <<_ACEOF
17261 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17269 if test "$ac_cv_header_wchar_h" != "yes"; then
17271 for ac_header in wcstr.h
17273 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17275 echo "$as_me:$LINENO: checking for $ac_header" >&5
17276 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17277 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17278 echo $ECHO_N "(cached) $ECHO_C" >&6
17280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17281 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17283 # Is the header compilable?
17284 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17285 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17286 cat >conftest.$ac_ext <<_ACEOF
17289 cat confdefs.h >>conftest.$ac_ext
17290 cat >>conftest.$ac_ext <<_ACEOF
17291 /* end confdefs.h. */
17292 $ac_includes_default
17293 #include <$ac_header>
17295 rm -f conftest.$ac_objext
17296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17297 (eval $ac_compile) 2>conftest.er1
17299 grep -v '^ *+' conftest.er1 >conftest.err
17301 cat conftest.err >&5
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); } &&
17304 { ac_try='test -z "$ac_cxx_werror_flag"
17305 || test ! -s conftest.err'
17306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17307 (eval $ac_try) 2>&5
17309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 (exit $ac_status); }; } &&
17311 { ac_try='test -s conftest.$ac_objext'
17312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17313 (eval $ac_try) 2>&5
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); }; }; then
17317 ac_header_compiler=yes
17319 echo "$as_me: failed program was:" >&5
17320 sed 's/^/| /' conftest.$ac_ext >&5
17322 ac_header_compiler=no
17324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17325 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17326 echo "${ECHO_T}$ac_header_compiler" >&6
17328 # Is the header present?
17329 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17330 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17331 cat >conftest.$ac_ext <<_ACEOF
17334 cat confdefs.h >>conftest.$ac_ext
17335 cat >>conftest.$ac_ext <<_ACEOF
17336 /* end confdefs.h. */
17337 #include <$ac_header>
17339 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17340 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17342 grep -v '^ *+' conftest.er1 >conftest.err
17344 cat conftest.err >&5
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); } >/dev/null; then
17347 if test -s conftest.err; then
17348 ac_cpp_err=$ac_cxx_preproc_warn_flag
17349 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17356 if test -z "$ac_cpp_err"; then
17357 ac_header_preproc=yes
17359 echo "$as_me: failed program was:" >&5
17360 sed 's/^/| /' conftest.$ac_ext >&5
17362 ac_header_preproc=no
17364 rm -f conftest.err conftest.$ac_ext
17365 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17366 echo "${ECHO_T}$ac_header_preproc" >&6
17368 # So? What about this header?
17369 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17371 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17372 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17373 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17374 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17375 ac_header_preproc=yes
17378 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17379 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17380 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17381 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17382 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17383 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17384 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17385 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17386 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17387 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17388 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17389 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17392 ## ----------------------------------------- ##
17393 ## Report this to wx-dev@lists.wxwidgets.org ##
17394 ## ----------------------------------------- ##
17397 sed "s/^/$as_me: WARNING: /" >&2
17400 echo "$as_me:$LINENO: checking for $ac_header" >&5
17401 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17402 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17403 echo $ECHO_N "(cached) $ECHO_C" >&6
17405 eval "$as_ac_Header=\$ac_header_preproc"
17407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17408 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17411 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17412 cat >>confdefs.h <<_ACEOF
17413 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17423 for ac_header in fnmatch.h
17425 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17426 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17427 echo "$as_me:$LINENO: checking for $ac_header" >&5
17428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17430 echo $ECHO_N "(cached) $ECHO_C" >&6
17432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17435 # Is the header compilable?
17436 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17437 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17438 cat >conftest.$ac_ext <<_ACEOF
17441 cat confdefs.h >>conftest.$ac_ext
17442 cat >>conftest.$ac_ext <<_ACEOF
17443 /* end confdefs.h. */
17444 $ac_includes_default
17445 #include <$ac_header>
17447 rm -f conftest.$ac_objext
17448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17449 (eval $ac_compile) 2>conftest.er1
17451 grep -v '^ *+' conftest.er1 >conftest.err
17453 cat conftest.err >&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); } &&
17456 { ac_try='test -z "$ac_cxx_werror_flag"
17457 || test ! -s conftest.err'
17458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17459 (eval $ac_try) 2>&5
17461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462 (exit $ac_status); }; } &&
17463 { ac_try='test -s conftest.$ac_objext'
17464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17465 (eval $ac_try) 2>&5
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); }; }; then
17469 ac_header_compiler=yes
17471 echo "$as_me: failed program was:" >&5
17472 sed 's/^/| /' conftest.$ac_ext >&5
17474 ac_header_compiler=no
17476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17477 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17478 echo "${ECHO_T}$ac_header_compiler" >&6
17480 # Is the header present?
17481 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17482 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17483 cat >conftest.$ac_ext <<_ACEOF
17486 cat confdefs.h >>conftest.$ac_ext
17487 cat >>conftest.$ac_ext <<_ACEOF
17488 /* end confdefs.h. */
17489 #include <$ac_header>
17491 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17492 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17494 grep -v '^ *+' conftest.er1 >conftest.err
17496 cat conftest.err >&5
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); } >/dev/null; then
17499 if test -s conftest.err; then
17500 ac_cpp_err=$ac_cxx_preproc_warn_flag
17501 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17508 if test -z "$ac_cpp_err"; then
17509 ac_header_preproc=yes
17511 echo "$as_me: failed program was:" >&5
17512 sed 's/^/| /' conftest.$ac_ext >&5
17514 ac_header_preproc=no
17516 rm -f conftest.err conftest.$ac_ext
17517 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17518 echo "${ECHO_T}$ac_header_preproc" >&6
17520 # So? What about this header?
17521 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17523 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17524 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17525 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17526 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17527 ac_header_preproc=yes
17530 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17531 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17532 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17533 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17534 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17535 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17536 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17537 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17539 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17540 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17541 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17544 ## ----------------------------------------- ##
17545 ## Report this to wx-dev@lists.wxwidgets.org ##
17546 ## ----------------------------------------- ##
17549 sed "s/^/$as_me: WARNING: /" >&2
17552 echo "$as_me:$LINENO: checking for $ac_header" >&5
17553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17555 echo $ECHO_N "(cached) $ECHO_C" >&6
17557 eval "$as_ac_Header=\$ac_header_preproc"
17559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17560 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17563 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17564 cat >>confdefs.h <<_ACEOF
17565 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17574 for ac_header in langinfo.h
17576 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17578 echo "$as_me:$LINENO: checking for $ac_header" >&5
17579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17581 echo $ECHO_N "(cached) $ECHO_C" >&6
17583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17586 # Is the header compilable?
17587 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17588 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17589 cat >conftest.$ac_ext <<_ACEOF
17592 cat confdefs.h >>conftest.$ac_ext
17593 cat >>conftest.$ac_ext <<_ACEOF
17594 /* end confdefs.h. */
17595 $ac_includes_default
17596 #include <$ac_header>
17598 rm -f conftest.$ac_objext
17599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17600 (eval $ac_compile) 2>conftest.er1
17602 grep -v '^ *+' conftest.er1 >conftest.err
17604 cat conftest.err >&5
17605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17606 (exit $ac_status); } &&
17607 { ac_try='test -z "$ac_cxx_werror_flag"
17608 || test ! -s conftest.err'
17609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17610 (eval $ac_try) 2>&5
17612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17613 (exit $ac_status); }; } &&
17614 { ac_try='test -s conftest.$ac_objext'
17615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17616 (eval $ac_try) 2>&5
17618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17619 (exit $ac_status); }; }; then
17620 ac_header_compiler=yes
17622 echo "$as_me: failed program was:" >&5
17623 sed 's/^/| /' conftest.$ac_ext >&5
17625 ac_header_compiler=no
17627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17628 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17629 echo "${ECHO_T}$ac_header_compiler" >&6
17631 # Is the header present?
17632 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17633 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17634 cat >conftest.$ac_ext <<_ACEOF
17637 cat confdefs.h >>conftest.$ac_ext
17638 cat >>conftest.$ac_ext <<_ACEOF
17639 /* end confdefs.h. */
17640 #include <$ac_header>
17642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17643 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17645 grep -v '^ *+' conftest.er1 >conftest.err
17647 cat conftest.err >&5
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); } >/dev/null; then
17650 if test -s conftest.err; then
17651 ac_cpp_err=$ac_cxx_preproc_warn_flag
17652 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17659 if test -z "$ac_cpp_err"; then
17660 ac_header_preproc=yes
17662 echo "$as_me: failed program was:" >&5
17663 sed 's/^/| /' conftest.$ac_ext >&5
17665 ac_header_preproc=no
17667 rm -f conftest.err conftest.$ac_ext
17668 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17669 echo "${ECHO_T}$ac_header_preproc" >&6
17671 # So? What about this header?
17672 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17674 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17675 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17677 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17678 ac_header_preproc=yes
17681 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17682 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17683 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17684 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17685 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17686 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17687 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17688 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17690 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17691 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17692 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17695 ## ----------------------------------------- ##
17696 ## Report this to wx-dev@lists.wxwidgets.org ##
17697 ## ----------------------------------------- ##
17700 sed "s/^/$as_me: WARNING: /" >&2
17703 echo "$as_me:$LINENO: checking for $ac_header" >&5
17704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17706 echo $ECHO_N "(cached) $ECHO_C" >&6
17708 eval "$as_ac_Header=\$ac_header_preproc"
17710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17711 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17715 cat >>confdefs.h <<_ACEOF
17716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17725 *-pc-os2_emx | *-pc-os2-emx )
17726 if test $ac_cv_header_langinfo_h = "yes" \
17727 -a \( "$wx_cv_gccversion" = "EMX2" \
17728 -o "$wx_cv_gccversion" = "EMX3" \
17729 -o "$wx_cv_gccversion" = "Innotek5" \); then
17730 LIBS="$LIBS -lintl"
17735 if test "$USE_UNIX" = 1 ; then
17737 for ac_header in sys/select.h
17739 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17741 echo "$as_me:$LINENO: checking for $ac_header" >&5
17742 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17744 echo $ECHO_N "(cached) $ECHO_C" >&6
17746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17747 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17749 # Is the header compilable?
17750 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17751 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17752 cat >conftest.$ac_ext <<_ACEOF
17755 cat confdefs.h >>conftest.$ac_ext
17756 cat >>conftest.$ac_ext <<_ACEOF
17757 /* end confdefs.h. */
17758 $ac_includes_default
17759 #include <$ac_header>
17761 rm -f conftest.$ac_objext
17762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17763 (eval $ac_compile) 2>conftest.er1
17765 grep -v '^ *+' conftest.er1 >conftest.err
17767 cat conftest.err >&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); } &&
17770 { ac_try='test -z "$ac_cxx_werror_flag"
17771 || test ! -s conftest.err'
17772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17773 (eval $ac_try) 2>&5
17775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776 (exit $ac_status); }; } &&
17777 { ac_try='test -s conftest.$ac_objext'
17778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17779 (eval $ac_try) 2>&5
17781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 (exit $ac_status); }; }; then
17783 ac_header_compiler=yes
17785 echo "$as_me: failed program was:" >&5
17786 sed 's/^/| /' conftest.$ac_ext >&5
17788 ac_header_compiler=no
17790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17791 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17792 echo "${ECHO_T}$ac_header_compiler" >&6
17794 # Is the header present?
17795 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17796 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17797 cat >conftest.$ac_ext <<_ACEOF
17800 cat confdefs.h >>conftest.$ac_ext
17801 cat >>conftest.$ac_ext <<_ACEOF
17802 /* end confdefs.h. */
17803 #include <$ac_header>
17805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17806 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17808 grep -v '^ *+' conftest.er1 >conftest.err
17810 cat conftest.err >&5
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); } >/dev/null; then
17813 if test -s conftest.err; then
17814 ac_cpp_err=$ac_cxx_preproc_warn_flag
17815 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17822 if test -z "$ac_cpp_err"; then
17823 ac_header_preproc=yes
17825 echo "$as_me: failed program was:" >&5
17826 sed 's/^/| /' conftest.$ac_ext >&5
17828 ac_header_preproc=no
17830 rm -f conftest.err conftest.$ac_ext
17831 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17832 echo "${ECHO_T}$ac_header_preproc" >&6
17834 # So? What about this header?
17835 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17837 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17838 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17840 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17841 ac_header_preproc=yes
17844 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17845 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17846 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17847 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17848 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17849 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17850 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17851 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17852 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17853 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17854 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17855 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17858 ## ----------------------------------------- ##
17859 ## Report this to wx-dev@lists.wxwidgets.org ##
17860 ## ----------------------------------------- ##
17863 sed "s/^/$as_me: WARNING: /" >&2
17866 echo "$as_me:$LINENO: checking for $ac_header" >&5
17867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17869 echo $ECHO_N "(cached) $ECHO_C" >&6
17871 eval "$as_ac_Header=\$ac_header_preproc"
17873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17874 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17877 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17878 cat >>confdefs.h <<_ACEOF
17879 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17889 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17890 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17891 if test "${ac_cv_c_const+set}" = set; then
17892 echo $ECHO_N "(cached) $ECHO_C" >&6
17894 cat >conftest.$ac_ext <<_ACEOF
17897 cat confdefs.h >>conftest.$ac_ext
17898 cat >>conftest.$ac_ext <<_ACEOF
17899 /* end confdefs.h. */
17904 /* FIXME: Include the comments suggested by Paul. */
17905 #ifndef __cplusplus
17906 /* Ultrix mips cc rejects this. */
17907 typedef int charset[2];
17909 /* SunOS 4.1.1 cc rejects this. */
17910 char const *const *ccp;
17912 /* NEC SVR4.0.2 mips cc rejects this. */
17913 struct point {int x, y;};
17914 static struct point const zero = {0,0};
17915 /* AIX XL C 1.02.0.0 rejects this.
17916 It does not let you subtract one const X* pointer from another in
17917 an arm of an if-expression whose if-part is not a constant
17919 const char *g = "string";
17920 ccp = &g + (g ? g-g : 0);
17921 /* HPUX 7.0 cc rejects these. */
17924 ccp = (char const *const *) p;
17925 { /* SCO 3.2v4 cc rejects this. */
17927 char const *s = 0 ? (char *) 0 : (char const *) 0;
17931 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17932 int x[] = {25, 17};
17933 const int *foo = &x[0];
17936 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17937 typedef const int *iptr;
17941 { /* AIX XL C 1.02.0.0 rejects this saying
17942 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17943 struct s { int j; const int *ap[3]; };
17944 struct s *b; b->j = 5;
17946 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17947 const int foo = 10;
17955 rm -f conftest.$ac_objext
17956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17957 (eval $ac_compile) 2>conftest.er1
17959 grep -v '^ *+' conftest.er1 >conftest.err
17961 cat conftest.err >&5
17962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963 (exit $ac_status); } &&
17964 { ac_try='test -z "$ac_cxx_werror_flag"
17965 || 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
17979 echo "$as_me: failed program was:" >&5
17980 sed 's/^/| /' conftest.$ac_ext >&5
17984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17986 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17987 echo "${ECHO_T}$ac_cv_c_const" >&6
17988 if test $ac_cv_c_const = no; then
17990 cat >>confdefs.h <<\_ACEOF
17996 echo "$as_me:$LINENO: checking for inline" >&5
17997 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17998 if test "${ac_cv_c_inline+set}" = set; then
17999 echo $ECHO_N "(cached) $ECHO_C" >&6
18002 for ac_kw in inline __inline__ __inline; do
18003 cat >conftest.$ac_ext <<_ACEOF
18006 cat confdefs.h >>conftest.$ac_ext
18007 cat >>conftest.$ac_ext <<_ACEOF
18008 /* end confdefs.h. */
18009 #ifndef __cplusplus
18011 static $ac_kw foo_t static_foo () {return 0; }
18012 $ac_kw foo_t foo () {return 0; }
18016 rm -f conftest.$ac_objext
18017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18018 (eval $ac_compile) 2>conftest.er1
18020 grep -v '^ *+' conftest.er1 >conftest.err
18022 cat conftest.err >&5
18023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18024 (exit $ac_status); } &&
18025 { ac_try='test -z "$ac_cxx_werror_flag"
18026 || test ! -s conftest.err'
18027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18028 (eval $ac_try) 2>&5
18030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18031 (exit $ac_status); }; } &&
18032 { ac_try='test -s conftest.$ac_objext'
18033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18034 (eval $ac_try) 2>&5
18036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18037 (exit $ac_status); }; }; then
18038 ac_cv_c_inline=$ac_kw; break
18040 echo "$as_me: failed program was:" >&5
18041 sed 's/^/| /' conftest.$ac_ext >&5
18044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18048 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18049 echo "${ECHO_T}$ac_cv_c_inline" >&6
18052 case $ac_cv_c_inline in
18055 case $ac_cv_c_inline in
18057 *) ac_val=$ac_cv_c_inline;;
18059 cat >>confdefs.h <<_ACEOF
18060 #ifndef __cplusplus
18061 #define inline $ac_val
18068 echo "$as_me:$LINENO: checking for char" >&5
18069 echo $ECHO_N "checking for char... $ECHO_C" >&6
18070 if test "${ac_cv_type_char+set}" = set; then
18071 echo $ECHO_N "(cached) $ECHO_C" >&6
18073 cat >conftest.$ac_ext <<_ACEOF
18076 cat confdefs.h >>conftest.$ac_ext
18077 cat >>conftest.$ac_ext <<_ACEOF
18078 /* end confdefs.h. */
18079 $ac_includes_default
18091 rm -f conftest.$ac_objext
18092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18093 (eval $ac_compile) 2>conftest.er1
18095 grep -v '^ *+' conftest.er1 >conftest.err
18097 cat conftest.err >&5
18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099 (exit $ac_status); } &&
18100 { ac_try='test -z "$ac_cxx_werror_flag"
18101 || test ! -s conftest.err'
18102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18103 (eval $ac_try) 2>&5
18105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18106 (exit $ac_status); }; } &&
18107 { ac_try='test -s conftest.$ac_objext'
18108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18109 (eval $ac_try) 2>&5
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); }; }; then
18113 ac_cv_type_char=yes
18115 echo "$as_me: failed program was:" >&5
18116 sed 's/^/| /' conftest.$ac_ext >&5
18120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18122 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18123 echo "${ECHO_T}$ac_cv_type_char" >&6
18125 echo "$as_me:$LINENO: checking size of char" >&5
18126 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18127 if test "${ac_cv_sizeof_char+set}" = set; then
18128 echo $ECHO_N "(cached) $ECHO_C" >&6
18130 if test "$ac_cv_type_char" = yes; then
18131 # The cast to unsigned long works around a bug in the HP C Compiler
18132 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18133 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18134 # This bug is HP SR number 8606223364.
18135 if test "$cross_compiling" = yes; then
18136 # Depending upon the size, compute the lo and hi bounds.
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 (char))) >= 0)];
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"
18164 || test ! -s conftest.err'
18165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18166 (eval $ac_try) 2>&5
18168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18169 (exit $ac_status); }; } &&
18170 { ac_try='test -s conftest.$ac_objext'
18171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18172 (eval $ac_try) 2>&5
18174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175 (exit $ac_status); }; }; then
18178 cat >conftest.$ac_ext <<_ACEOF
18181 cat confdefs.h >>conftest.$ac_ext
18182 cat >>conftest.$ac_ext <<_ACEOF
18183 /* end confdefs.h. */
18184 $ac_includes_default
18188 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18195 rm -f conftest.$ac_objext
18196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18197 (eval $ac_compile) 2>conftest.er1
18199 grep -v '^ *+' conftest.er1 >conftest.err
18201 cat conftest.err >&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); } &&
18204 { ac_try='test -z "$ac_cxx_werror_flag"
18205 || test ! -s conftest.err'
18206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18207 (eval $ac_try) 2>&5
18209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210 (exit $ac_status); }; } &&
18211 { ac_try='test -s conftest.$ac_objext'
18212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18213 (eval $ac_try) 2>&5
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); }; }; then
18217 ac_hi=$ac_mid; break
18219 echo "$as_me: failed program was:" >&5
18220 sed 's/^/| /' conftest.$ac_ext >&5
18222 ac_lo=`expr $ac_mid + 1`
18223 if test $ac_lo -le $ac_mid; then
18227 ac_mid=`expr 2 '*' $ac_mid + 1`
18229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18232 echo "$as_me: failed program was:" >&5
18233 sed 's/^/| /' conftest.$ac_ext >&5
18235 cat >conftest.$ac_ext <<_ACEOF
18238 cat confdefs.h >>conftest.$ac_ext
18239 cat >>conftest.$ac_ext <<_ACEOF
18240 /* end confdefs.h. */
18241 $ac_includes_default
18245 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18252 rm -f conftest.$ac_objext
18253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18254 (eval $ac_compile) 2>conftest.er1
18256 grep -v '^ *+' conftest.er1 >conftest.err
18258 cat conftest.err >&5
18259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18260 (exit $ac_status); } &&
18261 { ac_try='test -z "$ac_cxx_werror_flag"
18262 || test ! -s conftest.err'
18263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18264 (eval $ac_try) 2>&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); }; } &&
18268 { ac_try='test -s conftest.$ac_objext'
18269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18270 (eval $ac_try) 2>&5
18272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273 (exit $ac_status); }; }; then
18276 cat >conftest.$ac_ext <<_ACEOF
18279 cat confdefs.h >>conftest.$ac_ext
18280 cat >>conftest.$ac_ext <<_ACEOF
18281 /* end confdefs.h. */
18282 $ac_includes_default
18286 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18293 rm -f conftest.$ac_objext
18294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18295 (eval $ac_compile) 2>conftest.er1
18297 grep -v '^ *+' conftest.er1 >conftest.err
18299 cat conftest.err >&5
18300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18301 (exit $ac_status); } &&
18302 { ac_try='test -z "$ac_cxx_werror_flag"
18303 || test ! -s conftest.err'
18304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18305 (eval $ac_try) 2>&5
18307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18308 (exit $ac_status); }; } &&
18309 { ac_try='test -s conftest.$ac_objext'
18310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18311 (eval $ac_try) 2>&5
18313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18314 (exit $ac_status); }; }; then
18315 ac_lo=$ac_mid; break
18317 echo "$as_me: failed program was:" >&5
18318 sed 's/^/| /' conftest.$ac_ext >&5
18320 ac_hi=`expr '(' $ac_mid ')' - 1`
18321 if test $ac_mid -le $ac_hi; then
18325 ac_mid=`expr 2 '*' $ac_mid`
18327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18330 echo "$as_me: failed program was:" >&5
18331 sed 's/^/| /' conftest.$ac_ext >&5
18335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18338 # Binary search between lo and hi bounds.
18339 while test "x$ac_lo" != "x$ac_hi"; do
18340 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18341 cat >conftest.$ac_ext <<_ACEOF
18344 cat confdefs.h >>conftest.$ac_ext
18345 cat >>conftest.$ac_ext <<_ACEOF
18346 /* end confdefs.h. */
18347 $ac_includes_default
18351 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18358 rm -f conftest.$ac_objext
18359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18360 (eval $ac_compile) 2>conftest.er1
18362 grep -v '^ *+' conftest.er1 >conftest.err
18364 cat conftest.err >&5
18365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18366 (exit $ac_status); } &&
18367 { ac_try='test -z "$ac_cxx_werror_flag"
18368 || test ! -s conftest.err'
18369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18370 (eval $ac_try) 2>&5
18372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18373 (exit $ac_status); }; } &&
18374 { ac_try='test -s conftest.$ac_objext'
18375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18376 (eval $ac_try) 2>&5
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); }; }; then
18382 echo "$as_me: failed program was:" >&5
18383 sed 's/^/| /' conftest.$ac_ext >&5
18385 ac_lo=`expr '(' $ac_mid ')' + 1`
18387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18390 ?*) ac_cv_sizeof_char=$ac_lo;;
18391 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18392 See \`config.log' for more details." >&5
18393 echo "$as_me: error: cannot compute sizeof (char), 77
18394 See \`config.log' for more details." >&2;}
18395 { (exit 1); exit 1; }; } ;;
18398 if test "$cross_compiling" = yes; then
18399 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18400 See \`config.log' for more details." >&5
18401 echo "$as_me: error: cannot run test program while cross compiling
18402 See \`config.log' for more details." >&2;}
18403 { (exit 1); exit 1; }; }
18405 cat >conftest.$ac_ext <<_ACEOF
18408 cat confdefs.h >>conftest.$ac_ext
18409 cat >>conftest.$ac_ext <<_ACEOF
18410 /* end confdefs.h. */
18411 $ac_includes_default
18412 long longval () { return (long) (sizeof (char)); }
18413 unsigned long ulongval () { return (long) (sizeof (char)); }
18415 #include <stdlib.h>
18420 FILE *f = fopen ("conftest.val", "w");
18423 if (((long) (sizeof (char))) < 0)
18425 long i = longval ();
18426 if (i != ((long) (sizeof (char))))
18428 fprintf (f, "%ld\n", i);
18432 unsigned long i = ulongval ();
18433 if (i != ((long) (sizeof (char))))
18435 fprintf (f, "%lu\n", i);
18437 exit (ferror (f) || fclose (f) != 0);
18443 rm -f conftest$ac_exeext
18444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18445 (eval $ac_link) 2>&5
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18450 (eval $ac_try) 2>&5
18452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18453 (exit $ac_status); }; }; then
18454 ac_cv_sizeof_char=`cat conftest.val`
18456 echo "$as_me: program exited with status $ac_status" >&5
18457 echo "$as_me: failed program was:" >&5
18458 sed 's/^/| /' conftest.$ac_ext >&5
18460 ( exit $ac_status )
18461 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18462 See \`config.log' for more details." >&5
18463 echo "$as_me: error: cannot compute sizeof (char), 77
18464 See \`config.log' for more details." >&2;}
18465 { (exit 1); exit 1; }; }
18467 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18472 ac_cv_sizeof_char=0
18475 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18476 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18477 cat >>confdefs.h <<_ACEOF
18478 #define SIZEOF_CHAR $ac_cv_sizeof_char
18482 echo "$as_me:$LINENO: checking for short" >&5
18483 echo $ECHO_N "checking for short... $ECHO_C" >&6
18484 if test "${ac_cv_type_short+set}" = set; then
18485 echo $ECHO_N "(cached) $ECHO_C" >&6
18487 cat >conftest.$ac_ext <<_ACEOF
18490 cat confdefs.h >>conftest.$ac_ext
18491 cat >>conftest.$ac_ext <<_ACEOF
18492 /* end confdefs.h. */
18493 $ac_includes_default
18499 if (sizeof (short))
18505 rm -f conftest.$ac_objext
18506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18507 (eval $ac_compile) 2>conftest.er1
18509 grep -v '^ *+' conftest.er1 >conftest.err
18511 cat conftest.err >&5
18512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18513 (exit $ac_status); } &&
18514 { ac_try='test -z "$ac_cxx_werror_flag"
18515 || test ! -s conftest.err'
18516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18517 (eval $ac_try) 2>&5
18519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18520 (exit $ac_status); }; } &&
18521 { ac_try='test -s conftest.$ac_objext'
18522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18523 (eval $ac_try) 2>&5
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); }; }; then
18527 ac_cv_type_short=yes
18529 echo "$as_me: failed program was:" >&5
18530 sed 's/^/| /' conftest.$ac_ext >&5
18532 ac_cv_type_short=no
18534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18536 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18537 echo "${ECHO_T}$ac_cv_type_short" >&6
18539 echo "$as_me:$LINENO: checking size of short" >&5
18540 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18541 if test "${ac_cv_sizeof_short+set}" = set; then
18542 echo $ECHO_N "(cached) $ECHO_C" >&6
18544 if test "$ac_cv_type_short" = yes; then
18545 # The cast to unsigned long works around a bug in the HP C Compiler
18546 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18547 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18548 # This bug is HP SR number 8606223364.
18549 if test "$cross_compiling" = yes; then
18550 # Depending upon the size, compute the lo and hi bounds.
18551 cat >conftest.$ac_ext <<_ACEOF
18554 cat confdefs.h >>conftest.$ac_ext
18555 cat >>conftest.$ac_ext <<_ACEOF
18556 /* end confdefs.h. */
18557 $ac_includes_default
18561 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18568 rm -f conftest.$ac_objext
18569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18570 (eval $ac_compile) 2>conftest.er1
18572 grep -v '^ *+' conftest.er1 >conftest.err
18574 cat conftest.err >&5
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); } &&
18577 { ac_try='test -z "$ac_cxx_werror_flag"
18578 || test ! -s conftest.err'
18579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18580 (eval $ac_try) 2>&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); }; } &&
18584 { ac_try='test -s conftest.$ac_objext'
18585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18586 (eval $ac_try) 2>&5
18588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18589 (exit $ac_status); }; }; then
18592 cat >conftest.$ac_ext <<_ACEOF
18595 cat confdefs.h >>conftest.$ac_ext
18596 cat >>conftest.$ac_ext <<_ACEOF
18597 /* end confdefs.h. */
18598 $ac_includes_default
18602 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18609 rm -f conftest.$ac_objext
18610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18611 (eval $ac_compile) 2>conftest.er1
18613 grep -v '^ *+' conftest.er1 >conftest.err
18615 cat conftest.err >&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } &&
18618 { ac_try='test -z "$ac_cxx_werror_flag"
18619 || test ! -s conftest.err'
18620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18621 (eval $ac_try) 2>&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); }; } &&
18625 { ac_try='test -s conftest.$ac_objext'
18626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18627 (eval $ac_try) 2>&5
18629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630 (exit $ac_status); }; }; then
18631 ac_hi=$ac_mid; break
18633 echo "$as_me: failed program was:" >&5
18634 sed 's/^/| /' conftest.$ac_ext >&5
18636 ac_lo=`expr $ac_mid + 1`
18637 if test $ac_lo -le $ac_mid; then
18641 ac_mid=`expr 2 '*' $ac_mid + 1`
18643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18646 echo "$as_me: failed program was:" >&5
18647 sed 's/^/| /' conftest.$ac_ext >&5
18649 cat >conftest.$ac_ext <<_ACEOF
18652 cat confdefs.h >>conftest.$ac_ext
18653 cat >>conftest.$ac_ext <<_ACEOF
18654 /* end confdefs.h. */
18655 $ac_includes_default
18659 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18666 rm -f conftest.$ac_objext
18667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18668 (eval $ac_compile) 2>conftest.er1
18670 grep -v '^ *+' conftest.er1 >conftest.err
18672 cat conftest.err >&5
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); } &&
18675 { ac_try='test -z "$ac_cxx_werror_flag"
18676 || test ! -s conftest.err'
18677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18678 (eval $ac_try) 2>&5
18680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18681 (exit $ac_status); }; } &&
18682 { ac_try='test -s conftest.$ac_objext'
18683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18684 (eval $ac_try) 2>&5
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); }; }; then
18690 cat >conftest.$ac_ext <<_ACEOF
18693 cat confdefs.h >>conftest.$ac_ext
18694 cat >>conftest.$ac_ext <<_ACEOF
18695 /* end confdefs.h. */
18696 $ac_includes_default
18700 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18707 rm -f conftest.$ac_objext
18708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18709 (eval $ac_compile) 2>conftest.er1
18711 grep -v '^ *+' conftest.er1 >conftest.err
18713 cat conftest.err >&5
18714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715 (exit $ac_status); } &&
18716 { ac_try='test -z "$ac_cxx_werror_flag"
18717 || test ! -s conftest.err'
18718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18719 (eval $ac_try) 2>&5
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); }; } &&
18723 { ac_try='test -s conftest.$ac_objext'
18724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18725 (eval $ac_try) 2>&5
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); }; }; then
18729 ac_lo=$ac_mid; break
18731 echo "$as_me: failed program was:" >&5
18732 sed 's/^/| /' conftest.$ac_ext >&5
18734 ac_hi=`expr '(' $ac_mid ')' - 1`
18735 if test $ac_mid -le $ac_hi; then
18739 ac_mid=`expr 2 '*' $ac_mid`
18741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18744 echo "$as_me: failed program was:" >&5
18745 sed 's/^/| /' conftest.$ac_ext >&5
18749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18752 # Binary search between lo and hi bounds.
18753 while test "x$ac_lo" != "x$ac_hi"; do
18754 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18755 cat >conftest.$ac_ext <<_ACEOF
18758 cat confdefs.h >>conftest.$ac_ext
18759 cat >>conftest.$ac_ext <<_ACEOF
18760 /* end confdefs.h. */
18761 $ac_includes_default
18765 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18772 rm -f conftest.$ac_objext
18773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18774 (eval $ac_compile) 2>conftest.er1
18776 grep -v '^ *+' conftest.er1 >conftest.err
18778 cat conftest.err >&5
18779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18780 (exit $ac_status); } &&
18781 { ac_try='test -z "$ac_cxx_werror_flag"
18782 || test ! -s conftest.err'
18783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18784 (eval $ac_try) 2>&5
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); }; } &&
18788 { ac_try='test -s conftest.$ac_objext'
18789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18790 (eval $ac_try) 2>&5
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); }; }; then
18796 echo "$as_me: failed program was:" >&5
18797 sed 's/^/| /' conftest.$ac_ext >&5
18799 ac_lo=`expr '(' $ac_mid ')' + 1`
18801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18804 ?*) ac_cv_sizeof_short=$ac_lo;;
18805 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18806 See \`config.log' for more details." >&5
18807 echo "$as_me: error: cannot compute sizeof (short), 77
18808 See \`config.log' for more details." >&2;}
18809 { (exit 1); exit 1; }; } ;;
18812 if test "$cross_compiling" = yes; then
18813 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18814 See \`config.log' for more details." >&5
18815 echo "$as_me: error: cannot run test program while cross compiling
18816 See \`config.log' for more details." >&2;}
18817 { (exit 1); exit 1; }; }
18819 cat >conftest.$ac_ext <<_ACEOF
18822 cat confdefs.h >>conftest.$ac_ext
18823 cat >>conftest.$ac_ext <<_ACEOF
18824 /* end confdefs.h. */
18825 $ac_includes_default
18826 long longval () { return (long) (sizeof (short)); }
18827 unsigned long ulongval () { return (long) (sizeof (short)); }
18829 #include <stdlib.h>
18834 FILE *f = fopen ("conftest.val", "w");
18837 if (((long) (sizeof (short))) < 0)
18839 long i = longval ();
18840 if (i != ((long) (sizeof (short))))
18842 fprintf (f, "%ld\n", i);
18846 unsigned long i = ulongval ();
18847 if (i != ((long) (sizeof (short))))
18849 fprintf (f, "%lu\n", i);
18851 exit (ferror (f) || fclose (f) != 0);
18857 rm -f conftest$ac_exeext
18858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18859 (eval $ac_link) 2>&5
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18864 (eval $ac_try) 2>&5
18866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18867 (exit $ac_status); }; }; then
18868 ac_cv_sizeof_short=`cat conftest.val`
18870 echo "$as_me: program exited with status $ac_status" >&5
18871 echo "$as_me: failed program was:" >&5
18872 sed 's/^/| /' conftest.$ac_ext >&5
18874 ( exit $ac_status )
18875 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18876 See \`config.log' for more details." >&5
18877 echo "$as_me: error: cannot compute sizeof (short), 77
18878 See \`config.log' for more details." >&2;}
18879 { (exit 1); exit 1; }; }
18881 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18886 ac_cv_sizeof_short=0
18889 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18890 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18891 cat >>confdefs.h <<_ACEOF
18892 #define SIZEOF_SHORT $ac_cv_sizeof_short
18896 echo "$as_me:$LINENO: checking for void *" >&5
18897 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18898 if test "${ac_cv_type_void_p+set}" = set; then
18899 echo $ECHO_N "(cached) $ECHO_C" >&6
18901 cat >conftest.$ac_ext <<_ACEOF
18904 cat confdefs.h >>conftest.$ac_ext
18905 cat >>conftest.$ac_ext <<_ACEOF
18906 /* end confdefs.h. */
18907 $ac_includes_default
18913 if (sizeof (void *))
18919 rm -f conftest.$ac_objext
18920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18921 (eval $ac_compile) 2>conftest.er1
18923 grep -v '^ *+' conftest.er1 >conftest.err
18925 cat conftest.err >&5
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); } &&
18928 { ac_try='test -z "$ac_cxx_werror_flag"
18929 || test ! -s conftest.err'
18930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18931 (eval $ac_try) 2>&5
18933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18934 (exit $ac_status); }; } &&
18935 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
18941 ac_cv_type_void_p=yes
18943 echo "$as_me: failed program was:" >&5
18944 sed 's/^/| /' conftest.$ac_ext >&5
18946 ac_cv_type_void_p=no
18948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18950 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18951 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18953 echo "$as_me:$LINENO: checking size of void *" >&5
18954 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18955 if test "${ac_cv_sizeof_void_p+set}" = set; then
18956 echo $ECHO_N "(cached) $ECHO_C" >&6
18958 if test "$ac_cv_type_void_p" = yes; then
18959 # The cast to unsigned long works around a bug in the HP C Compiler
18960 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18961 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18962 # This bug is HP SR number 8606223364.
18963 if test "$cross_compiling" = yes; then
18964 # Depending upon the size, compute the lo and hi bounds.
18965 cat >conftest.$ac_ext <<_ACEOF
18968 cat confdefs.h >>conftest.$ac_ext
18969 cat >>conftest.$ac_ext <<_ACEOF
18970 /* end confdefs.h. */
18971 $ac_includes_default
18975 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18982 rm -f conftest.$ac_objext
18983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18984 (eval $ac_compile) 2>conftest.er1
18986 grep -v '^ *+' conftest.er1 >conftest.err
18988 cat conftest.err >&5
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); } &&
18991 { ac_try='test -z "$ac_cxx_werror_flag"
18992 || test ! -s conftest.err'
18993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18994 (eval $ac_try) 2>&5
18996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18997 (exit $ac_status); }; } &&
18998 { ac_try='test -s conftest.$ac_objext'
18999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19000 (eval $ac_try) 2>&5
19002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19003 (exit $ac_status); }; }; then
19006 cat >conftest.$ac_ext <<_ACEOF
19009 cat confdefs.h >>conftest.$ac_ext
19010 cat >>conftest.$ac_ext <<_ACEOF
19011 /* end confdefs.h. */
19012 $ac_includes_default
19016 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19023 rm -f conftest.$ac_objext
19024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19025 (eval $ac_compile) 2>conftest.er1
19027 grep -v '^ *+' conftest.er1 >conftest.err
19029 cat conftest.err >&5
19030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19031 (exit $ac_status); } &&
19032 { ac_try='test -z "$ac_cxx_werror_flag"
19033 || test ! -s conftest.err'
19034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19035 (eval $ac_try) 2>&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); }; } &&
19039 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19045 ac_hi=$ac_mid; break
19047 echo "$as_me: failed program was:" >&5
19048 sed 's/^/| /' conftest.$ac_ext >&5
19050 ac_lo=`expr $ac_mid + 1`
19051 if test $ac_lo -le $ac_mid; then
19055 ac_mid=`expr 2 '*' $ac_mid + 1`
19057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19060 echo "$as_me: failed program was:" >&5
19061 sed 's/^/| /' conftest.$ac_ext >&5
19063 cat >conftest.$ac_ext <<_ACEOF
19066 cat confdefs.h >>conftest.$ac_ext
19067 cat >>conftest.$ac_ext <<_ACEOF
19068 /* end confdefs.h. */
19069 $ac_includes_default
19073 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
19080 rm -f conftest.$ac_objext
19081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19082 (eval $ac_compile) 2>conftest.er1
19084 grep -v '^ *+' conftest.er1 >conftest.err
19086 cat conftest.err >&5
19087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19088 (exit $ac_status); } &&
19089 { ac_try='test -z "$ac_cxx_werror_flag"
19090 || test ! -s conftest.err'
19091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19092 (eval $ac_try) 2>&5
19094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19095 (exit $ac_status); }; } &&
19096 { ac_try='test -s conftest.$ac_objext'
19097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19098 (eval $ac_try) 2>&5
19100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19101 (exit $ac_status); }; }; then
19104 cat >conftest.$ac_ext <<_ACEOF
19107 cat confdefs.h >>conftest.$ac_ext
19108 cat >>conftest.$ac_ext <<_ACEOF
19109 /* end confdefs.h. */
19110 $ac_includes_default
19114 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19121 rm -f conftest.$ac_objext
19122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19123 (eval $ac_compile) 2>conftest.er1
19125 grep -v '^ *+' conftest.er1 >conftest.err
19127 cat conftest.err >&5
19128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19129 (exit $ac_status); } &&
19130 { ac_try='test -z "$ac_cxx_werror_flag"
19131 || test ! -s conftest.err'
19132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19133 (eval $ac_try) 2>&5
19135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19136 (exit $ac_status); }; } &&
19137 { ac_try='test -s conftest.$ac_objext'
19138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19139 (eval $ac_try) 2>&5
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); }; }; then
19143 ac_lo=$ac_mid; break
19145 echo "$as_me: failed program was:" >&5
19146 sed 's/^/| /' conftest.$ac_ext >&5
19148 ac_hi=`expr '(' $ac_mid ')' - 1`
19149 if test $ac_mid -le $ac_hi; then
19153 ac_mid=`expr 2 '*' $ac_mid`
19155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19158 echo "$as_me: failed program was:" >&5
19159 sed 's/^/| /' conftest.$ac_ext >&5
19163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19166 # Binary search between lo and hi bounds.
19167 while test "x$ac_lo" != "x$ac_hi"; do
19168 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19169 cat >conftest.$ac_ext <<_ACEOF
19172 cat confdefs.h >>conftest.$ac_ext
19173 cat >>conftest.$ac_ext <<_ACEOF
19174 /* end confdefs.h. */
19175 $ac_includes_default
19179 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19186 rm -f conftest.$ac_objext
19187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19188 (eval $ac_compile) 2>conftest.er1
19190 grep -v '^ *+' conftest.er1 >conftest.err
19192 cat conftest.err >&5
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); } &&
19195 { ac_try='test -z "$ac_cxx_werror_flag"
19196 || test ! -s conftest.err'
19197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19198 (eval $ac_try) 2>&5
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); }; } &&
19202 { ac_try='test -s conftest.$ac_objext'
19203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19204 (eval $ac_try) 2>&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); }; }; then
19210 echo "$as_me: failed program was:" >&5
19211 sed 's/^/| /' conftest.$ac_ext >&5
19213 ac_lo=`expr '(' $ac_mid ')' + 1`
19215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19218 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19219 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19220 See \`config.log' for more details." >&5
19221 echo "$as_me: error: cannot compute sizeof (void *), 77
19222 See \`config.log' for more details." >&2;}
19223 { (exit 1); exit 1; }; } ;;
19226 if test "$cross_compiling" = yes; then
19227 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19228 See \`config.log' for more details." >&5
19229 echo "$as_me: error: cannot run test program while cross compiling
19230 See \`config.log' for more details." >&2;}
19231 { (exit 1); exit 1; }; }
19233 cat >conftest.$ac_ext <<_ACEOF
19236 cat confdefs.h >>conftest.$ac_ext
19237 cat >>conftest.$ac_ext <<_ACEOF
19238 /* end confdefs.h. */
19239 $ac_includes_default
19240 long longval () { return (long) (sizeof (void *)); }
19241 unsigned long ulongval () { return (long) (sizeof (void *)); }
19243 #include <stdlib.h>
19248 FILE *f = fopen ("conftest.val", "w");
19251 if (((long) (sizeof (void *))) < 0)
19253 long i = longval ();
19254 if (i != ((long) (sizeof (void *))))
19256 fprintf (f, "%ld\n", i);
19260 unsigned long i = ulongval ();
19261 if (i != ((long) (sizeof (void *))))
19263 fprintf (f, "%lu\n", i);
19265 exit (ferror (f) || fclose (f) != 0);
19271 rm -f conftest$ac_exeext
19272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19273 (eval $ac_link) 2>&5
19275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19276 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19278 (eval $ac_try) 2>&5
19280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19281 (exit $ac_status); }; }; then
19282 ac_cv_sizeof_void_p=`cat conftest.val`
19284 echo "$as_me: program exited with status $ac_status" >&5
19285 echo "$as_me: failed program was:" >&5
19286 sed 's/^/| /' conftest.$ac_ext >&5
19288 ( exit $ac_status )
19289 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19290 See \`config.log' for more details." >&5
19291 echo "$as_me: error: cannot compute sizeof (void *), 77
19292 See \`config.log' for more details." >&2;}
19293 { (exit 1); exit 1; }; }
19295 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19300 ac_cv_sizeof_void_p=0
19303 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19304 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19305 cat >>confdefs.h <<_ACEOF
19306 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19310 echo "$as_me:$LINENO: checking for int" >&5
19311 echo $ECHO_N "checking for int... $ECHO_C" >&6
19312 if test "${ac_cv_type_int+set}" = set; then
19313 echo $ECHO_N "(cached) $ECHO_C" >&6
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
19333 rm -f conftest.$ac_objext
19334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19335 (eval $ac_compile) 2>conftest.er1
19337 grep -v '^ *+' conftest.er1 >conftest.err
19339 cat conftest.err >&5
19340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19341 (exit $ac_status); } &&
19342 { ac_try='test -z "$ac_cxx_werror_flag"
19343 || test ! -s conftest.err'
19344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19345 (eval $ac_try) 2>&5
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); }; } &&
19349 { ac_try='test -s conftest.$ac_objext'
19350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19351 (eval $ac_try) 2>&5
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); }; }; then
19357 echo "$as_me: failed program was:" >&5
19358 sed 's/^/| /' conftest.$ac_ext >&5
19362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19364 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19365 echo "${ECHO_T}$ac_cv_type_int" >&6
19367 echo "$as_me:$LINENO: checking size of int" >&5
19368 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19369 if test "${ac_cv_sizeof_int+set}" = set; then
19370 echo $ECHO_N "(cached) $ECHO_C" >&6
19372 if test "$ac_cv_type_int" = yes; then
19373 # The cast to unsigned long works around a bug in the HP C Compiler
19374 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19375 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19376 # This bug is HP SR number 8606223364.
19377 if test "$cross_compiling" = yes; then
19378 # Depending upon the size, compute the lo and hi bounds.
19379 cat >conftest.$ac_ext <<_ACEOF
19382 cat confdefs.h >>conftest.$ac_ext
19383 cat >>conftest.$ac_ext <<_ACEOF
19384 /* end confdefs.h. */
19385 $ac_includes_default
19389 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19396 rm -f conftest.$ac_objext
19397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19398 (eval $ac_compile) 2>conftest.er1
19400 grep -v '^ *+' conftest.er1 >conftest.err
19402 cat conftest.err >&5
19403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404 (exit $ac_status); } &&
19405 { ac_try='test -z "$ac_cxx_werror_flag"
19406 || test ! -s conftest.err'
19407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19408 (eval $ac_try) 2>&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); }; } &&
19412 { ac_try='test -s conftest.$ac_objext'
19413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19414 (eval $ac_try) 2>&5
19416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19417 (exit $ac_status); }; }; then
19420 cat >conftest.$ac_ext <<_ACEOF
19423 cat confdefs.h >>conftest.$ac_ext
19424 cat >>conftest.$ac_ext <<_ACEOF
19425 /* end confdefs.h. */
19426 $ac_includes_default
19430 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19437 rm -f conftest.$ac_objext
19438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19439 (eval $ac_compile) 2>conftest.er1
19441 grep -v '^ *+' conftest.er1 >conftest.err
19443 cat conftest.err >&5
19444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19445 (exit $ac_status); } &&
19446 { ac_try='test -z "$ac_cxx_werror_flag"
19447 || test ! -s conftest.err'
19448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19449 (eval $ac_try) 2>&5
19451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19452 (exit $ac_status); }; } &&
19453 { ac_try='test -s conftest.$ac_objext'
19454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19455 (eval $ac_try) 2>&5
19457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458 (exit $ac_status); }; }; then
19459 ac_hi=$ac_mid; break
19461 echo "$as_me: failed program was:" >&5
19462 sed 's/^/| /' conftest.$ac_ext >&5
19464 ac_lo=`expr $ac_mid + 1`
19465 if test $ac_lo -le $ac_mid; then
19469 ac_mid=`expr 2 '*' $ac_mid + 1`
19471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19474 echo "$as_me: failed program was:" >&5
19475 sed 's/^/| /' conftest.$ac_ext >&5
19477 cat >conftest.$ac_ext <<_ACEOF
19480 cat confdefs.h >>conftest.$ac_ext
19481 cat >>conftest.$ac_ext <<_ACEOF
19482 /* end confdefs.h. */
19483 $ac_includes_default
19487 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19494 rm -f conftest.$ac_objext
19495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19496 (eval $ac_compile) 2>conftest.er1
19498 grep -v '^ *+' conftest.er1 >conftest.err
19500 cat conftest.err >&5
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); } &&
19503 { ac_try='test -z "$ac_cxx_werror_flag"
19504 || test ! -s conftest.err'
19505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19506 (eval $ac_try) 2>&5
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); }; } &&
19510 { ac_try='test -s conftest.$ac_objext'
19511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19512 (eval $ac_try) 2>&5
19514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); }; }; then
19518 cat >conftest.$ac_ext <<_ACEOF
19521 cat confdefs.h >>conftest.$ac_ext
19522 cat >>conftest.$ac_ext <<_ACEOF
19523 /* end confdefs.h. */
19524 $ac_includes_default
19528 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19535 rm -f conftest.$ac_objext
19536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19537 (eval $ac_compile) 2>conftest.er1
19539 grep -v '^ *+' conftest.er1 >conftest.err
19541 cat conftest.err >&5
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); } &&
19544 { ac_try='test -z "$ac_cxx_werror_flag"
19545 || test ! -s conftest.err'
19546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19547 (eval $ac_try) 2>&5
19549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19550 (exit $ac_status); }; } &&
19551 { ac_try='test -s conftest.$ac_objext'
19552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19553 (eval $ac_try) 2>&5
19555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19556 (exit $ac_status); }; }; then
19557 ac_lo=$ac_mid; break
19559 echo "$as_me: failed program was:" >&5
19560 sed 's/^/| /' conftest.$ac_ext >&5
19562 ac_hi=`expr '(' $ac_mid ')' - 1`
19563 if test $ac_mid -le $ac_hi; then
19567 ac_mid=`expr 2 '*' $ac_mid`
19569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19572 echo "$as_me: failed program was:" >&5
19573 sed 's/^/| /' conftest.$ac_ext >&5
19577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19580 # Binary search between lo and hi bounds.
19581 while test "x$ac_lo" != "x$ac_hi"; do
19582 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19583 cat >conftest.$ac_ext <<_ACEOF
19586 cat confdefs.h >>conftest.$ac_ext
19587 cat >>conftest.$ac_ext <<_ACEOF
19588 /* end confdefs.h. */
19589 $ac_includes_default
19593 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19600 rm -f conftest.$ac_objext
19601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19602 (eval $ac_compile) 2>conftest.er1
19604 grep -v '^ *+' conftest.er1 >conftest.err
19606 cat conftest.err >&5
19607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19608 (exit $ac_status); } &&
19609 { ac_try='test -z "$ac_cxx_werror_flag"
19610 || test ! -s conftest.err'
19611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19612 (eval $ac_try) 2>&5
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); }; } &&
19616 { ac_try='test -s conftest.$ac_objext'
19617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19618 (eval $ac_try) 2>&5
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); }; }; then
19624 echo "$as_me: failed program was:" >&5
19625 sed 's/^/| /' conftest.$ac_ext >&5
19627 ac_lo=`expr '(' $ac_mid ')' + 1`
19629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19632 ?*) ac_cv_sizeof_int=$ac_lo;;
19633 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19634 See \`config.log' for more details." >&5
19635 echo "$as_me: error: cannot compute sizeof (int), 77
19636 See \`config.log' for more details." >&2;}
19637 { (exit 1); exit 1; }; } ;;
19640 if test "$cross_compiling" = yes; then
19641 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19642 See \`config.log' for more details." >&5
19643 echo "$as_me: error: cannot run test program while cross compiling
19644 See \`config.log' for more details." >&2;}
19645 { (exit 1); exit 1; }; }
19647 cat >conftest.$ac_ext <<_ACEOF
19650 cat confdefs.h >>conftest.$ac_ext
19651 cat >>conftest.$ac_ext <<_ACEOF
19652 /* end confdefs.h. */
19653 $ac_includes_default
19654 long longval () { return (long) (sizeof (int)); }
19655 unsigned long ulongval () { return (long) (sizeof (int)); }
19657 #include <stdlib.h>
19662 FILE *f = fopen ("conftest.val", "w");
19665 if (((long) (sizeof (int))) < 0)
19667 long i = longval ();
19668 if (i != ((long) (sizeof (int))))
19670 fprintf (f, "%ld\n", i);
19674 unsigned long i = ulongval ();
19675 if (i != ((long) (sizeof (int))))
19677 fprintf (f, "%lu\n", i);
19679 exit (ferror (f) || fclose (f) != 0);
19685 rm -f conftest$ac_exeext
19686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19687 (eval $ac_link) 2>&5
19689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19690 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19692 (eval $ac_try) 2>&5
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); }; }; then
19696 ac_cv_sizeof_int=`cat conftest.val`
19698 echo "$as_me: program exited with status $ac_status" >&5
19699 echo "$as_me: failed program was:" >&5
19700 sed 's/^/| /' conftest.$ac_ext >&5
19702 ( exit $ac_status )
19703 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19704 See \`config.log' for more details." >&5
19705 echo "$as_me: error: cannot compute sizeof (int), 77
19706 See \`config.log' for more details." >&2;}
19707 { (exit 1); exit 1; }; }
19709 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19717 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19718 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19719 cat >>confdefs.h <<_ACEOF
19720 #define SIZEOF_INT $ac_cv_sizeof_int
19724 echo "$as_me:$LINENO: checking for long" >&5
19725 echo $ECHO_N "checking for long... $ECHO_C" >&6
19726 if test "${ac_cv_type_long+set}" = set; then
19727 echo $ECHO_N "(cached) $ECHO_C" >&6
19729 cat >conftest.$ac_ext <<_ACEOF
19732 cat confdefs.h >>conftest.$ac_ext
19733 cat >>conftest.$ac_ext <<_ACEOF
19734 /* end confdefs.h. */
19735 $ac_includes_default
19747 rm -f conftest.$ac_objext
19748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19749 (eval $ac_compile) 2>conftest.er1
19751 grep -v '^ *+' conftest.er1 >conftest.err
19753 cat conftest.err >&5
19754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19755 (exit $ac_status); } &&
19756 { ac_try='test -z "$ac_cxx_werror_flag"
19757 || test ! -s conftest.err'
19758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19759 (eval $ac_try) 2>&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); }; } &&
19763 { ac_try='test -s conftest.$ac_objext'
19764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19765 (eval $ac_try) 2>&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); }; }; then
19769 ac_cv_type_long=yes
19771 echo "$as_me: failed program was:" >&5
19772 sed 's/^/| /' conftest.$ac_ext >&5
19776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19778 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19779 echo "${ECHO_T}$ac_cv_type_long" >&6
19781 echo "$as_me:$LINENO: checking size of long" >&5
19782 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19783 if test "${ac_cv_sizeof_long+set}" = set; then
19784 echo $ECHO_N "(cached) $ECHO_C" >&6
19786 if test "$ac_cv_type_long" = yes; then
19787 # The cast to unsigned long works around a bug in the HP C Compiler
19788 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19789 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19790 # This bug is HP SR number 8606223364.
19791 if test "$cross_compiling" = yes; then
19792 # Depending upon the size, compute the lo and hi bounds.
19793 cat >conftest.$ac_ext <<_ACEOF
19796 cat confdefs.h >>conftest.$ac_ext
19797 cat >>conftest.$ac_ext <<_ACEOF
19798 /* end confdefs.h. */
19799 $ac_includes_default
19803 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19810 rm -f conftest.$ac_objext
19811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19812 (eval $ac_compile) 2>conftest.er1
19814 grep -v '^ *+' conftest.er1 >conftest.err
19816 cat conftest.err >&5
19817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19818 (exit $ac_status); } &&
19819 { ac_try='test -z "$ac_cxx_werror_flag"
19820 || test ! -s conftest.err'
19821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19822 (eval $ac_try) 2>&5
19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825 (exit $ac_status); }; } &&
19826 { ac_try='test -s conftest.$ac_objext'
19827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19828 (eval $ac_try) 2>&5
19830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831 (exit $ac_status); }; }; then
19834 cat >conftest.$ac_ext <<_ACEOF
19837 cat confdefs.h >>conftest.$ac_ext
19838 cat >>conftest.$ac_ext <<_ACEOF
19839 /* end confdefs.h. */
19840 $ac_includes_default
19844 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19851 rm -f conftest.$ac_objext
19852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19853 (eval $ac_compile) 2>conftest.er1
19855 grep -v '^ *+' conftest.er1 >conftest.err
19857 cat conftest.err >&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); } &&
19860 { ac_try='test -z "$ac_cxx_werror_flag"
19861 || test ! -s conftest.err'
19862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19863 (eval $ac_try) 2>&5
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); }; } &&
19867 { ac_try='test -s conftest.$ac_objext'
19868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19869 (eval $ac_try) 2>&5
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); }; }; then
19873 ac_hi=$ac_mid; break
19875 echo "$as_me: failed program was:" >&5
19876 sed 's/^/| /' conftest.$ac_ext >&5
19878 ac_lo=`expr $ac_mid + 1`
19879 if test $ac_lo -le $ac_mid; then
19883 ac_mid=`expr 2 '*' $ac_mid + 1`
19885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19888 echo "$as_me: failed program was:" >&5
19889 sed 's/^/| /' conftest.$ac_ext >&5
19891 cat >conftest.$ac_ext <<_ACEOF
19894 cat confdefs.h >>conftest.$ac_ext
19895 cat >>conftest.$ac_ext <<_ACEOF
19896 /* end confdefs.h. */
19897 $ac_includes_default
19901 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19908 rm -f conftest.$ac_objext
19909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19910 (eval $ac_compile) 2>conftest.er1
19912 grep -v '^ *+' conftest.er1 >conftest.err
19914 cat conftest.err >&5
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); } &&
19917 { ac_try='test -z "$ac_cxx_werror_flag"
19918 || test ! -s conftest.err'
19919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19920 (eval $ac_try) 2>&5
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); }; } &&
19924 { ac_try='test -s conftest.$ac_objext'
19925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19926 (eval $ac_try) 2>&5
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); }; }; then
19932 cat >conftest.$ac_ext <<_ACEOF
19935 cat confdefs.h >>conftest.$ac_ext
19936 cat >>conftest.$ac_ext <<_ACEOF
19937 /* end confdefs.h. */
19938 $ac_includes_default
19942 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19949 rm -f conftest.$ac_objext
19950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19951 (eval $ac_compile) 2>conftest.er1
19953 grep -v '^ *+' conftest.er1 >conftest.err
19955 cat conftest.err >&5
19956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19957 (exit $ac_status); } &&
19958 { ac_try='test -z "$ac_cxx_werror_flag"
19959 || test ! -s conftest.err'
19960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19961 (eval $ac_try) 2>&5
19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); }; } &&
19965 { ac_try='test -s conftest.$ac_objext'
19966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19967 (eval $ac_try) 2>&5
19969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970 (exit $ac_status); }; }; then
19971 ac_lo=$ac_mid; break
19973 echo "$as_me: failed program was:" >&5
19974 sed 's/^/| /' conftest.$ac_ext >&5
19976 ac_hi=`expr '(' $ac_mid ')' - 1`
19977 if test $ac_mid -le $ac_hi; then
19981 ac_mid=`expr 2 '*' $ac_mid`
19983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19986 echo "$as_me: failed program was:" >&5
19987 sed 's/^/| /' conftest.$ac_ext >&5
19991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19994 # Binary search between lo and hi bounds.
19995 while test "x$ac_lo" != "x$ac_hi"; do
19996 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19997 cat >conftest.$ac_ext <<_ACEOF
20000 cat confdefs.h >>conftest.$ac_ext
20001 cat >>conftest.$ac_ext <<_ACEOF
20002 /* end confdefs.h. */
20003 $ac_includes_default
20007 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
20014 rm -f conftest.$ac_objext
20015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20016 (eval $ac_compile) 2>conftest.er1
20018 grep -v '^ *+' conftest.er1 >conftest.err
20020 cat conftest.err >&5
20021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20022 (exit $ac_status); } &&
20023 { ac_try='test -z "$ac_cxx_werror_flag"
20024 || test ! -s conftest.err'
20025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20026 (eval $ac_try) 2>&5
20028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20029 (exit $ac_status); }; } &&
20030 { ac_try='test -s conftest.$ac_objext'
20031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20032 (eval $ac_try) 2>&5
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); }; }; then
20038 echo "$as_me: failed program was:" >&5
20039 sed 's/^/| /' conftest.$ac_ext >&5
20041 ac_lo=`expr '(' $ac_mid ')' + 1`
20043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20046 ?*) ac_cv_sizeof_long=$ac_lo;;
20047 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20048 See \`config.log' for more details." >&5
20049 echo "$as_me: error: cannot compute sizeof (long), 77
20050 See \`config.log' for more details." >&2;}
20051 { (exit 1); exit 1; }; } ;;
20054 if test "$cross_compiling" = yes; then
20055 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20056 See \`config.log' for more details." >&5
20057 echo "$as_me: error: cannot run test program while cross compiling
20058 See \`config.log' for more details." >&2;}
20059 { (exit 1); exit 1; }; }
20061 cat >conftest.$ac_ext <<_ACEOF
20064 cat confdefs.h >>conftest.$ac_ext
20065 cat >>conftest.$ac_ext <<_ACEOF
20066 /* end confdefs.h. */
20067 $ac_includes_default
20068 long longval () { return (long) (sizeof (long)); }
20069 unsigned long ulongval () { return (long) (sizeof (long)); }
20071 #include <stdlib.h>
20076 FILE *f = fopen ("conftest.val", "w");
20079 if (((long) (sizeof (long))) < 0)
20081 long i = longval ();
20082 if (i != ((long) (sizeof (long))))
20084 fprintf (f, "%ld\n", i);
20088 unsigned long i = ulongval ();
20089 if (i != ((long) (sizeof (long))))
20091 fprintf (f, "%lu\n", i);
20093 exit (ferror (f) || fclose (f) != 0);
20099 rm -f conftest$ac_exeext
20100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20101 (eval $ac_link) 2>&5
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20106 (eval $ac_try) 2>&5
20108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20109 (exit $ac_status); }; }; then
20110 ac_cv_sizeof_long=`cat conftest.val`
20112 echo "$as_me: program exited with status $ac_status" >&5
20113 echo "$as_me: failed program was:" >&5
20114 sed 's/^/| /' conftest.$ac_ext >&5
20116 ( exit $ac_status )
20117 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20118 See \`config.log' for more details." >&5
20119 echo "$as_me: error: cannot compute sizeof (long), 77
20120 See \`config.log' for more details." >&2;}
20121 { (exit 1); exit 1; }; }
20123 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20128 ac_cv_sizeof_long=0
20131 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20132 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20133 cat >>confdefs.h <<_ACEOF
20134 #define SIZEOF_LONG $ac_cv_sizeof_long
20138 echo "$as_me:$LINENO: checking for size_t" >&5
20139 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20140 if test "${ac_cv_type_size_t+set}" = set; then
20141 echo $ECHO_N "(cached) $ECHO_C" >&6
20143 cat >conftest.$ac_ext <<_ACEOF
20146 cat confdefs.h >>conftest.$ac_ext
20147 cat >>conftest.$ac_ext <<_ACEOF
20148 /* end confdefs.h. */
20149 $ac_includes_default
20155 if (sizeof (size_t))
20161 rm -f conftest.$ac_objext
20162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20163 (eval $ac_compile) 2>conftest.er1
20165 grep -v '^ *+' conftest.er1 >conftest.err
20167 cat conftest.err >&5
20168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20169 (exit $ac_status); } &&
20170 { ac_try='test -z "$ac_cxx_werror_flag"
20171 || test ! -s conftest.err'
20172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20173 (eval $ac_try) 2>&5
20175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20176 (exit $ac_status); }; } &&
20177 { ac_try='test -s conftest.$ac_objext'
20178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20179 (eval $ac_try) 2>&5
20181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182 (exit $ac_status); }; }; then
20183 ac_cv_type_size_t=yes
20185 echo "$as_me: failed program was:" >&5
20186 sed 's/^/| /' conftest.$ac_ext >&5
20188 ac_cv_type_size_t=no
20190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20192 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20193 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20195 echo "$as_me:$LINENO: checking size of size_t" >&5
20196 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20197 if test "${ac_cv_sizeof_size_t+set}" = set; then
20198 echo $ECHO_N "(cached) $ECHO_C" >&6
20200 if test "$ac_cv_type_size_t" = yes; then
20201 # The cast to unsigned long works around a bug in the HP C Compiler
20202 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20203 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20204 # This bug is HP SR number 8606223364.
20205 if test "$cross_compiling" = yes; then
20206 # Depending upon the size, compute the lo and hi bounds.
20207 cat >conftest.$ac_ext <<_ACEOF
20210 cat confdefs.h >>conftest.$ac_ext
20211 cat >>conftest.$ac_ext <<_ACEOF
20212 /* end confdefs.h. */
20213 $ac_includes_default
20217 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20224 rm -f conftest.$ac_objext
20225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20226 (eval $ac_compile) 2>conftest.er1
20228 grep -v '^ *+' conftest.er1 >conftest.err
20230 cat conftest.err >&5
20231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20232 (exit $ac_status); } &&
20233 { ac_try='test -z "$ac_cxx_werror_flag"
20234 || test ! -s conftest.err'
20235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20236 (eval $ac_try) 2>&5
20238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20239 (exit $ac_status); }; } &&
20240 { ac_try='test -s conftest.$ac_objext'
20241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20242 (eval $ac_try) 2>&5
20244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20245 (exit $ac_status); }; }; then
20248 cat >conftest.$ac_ext <<_ACEOF
20251 cat confdefs.h >>conftest.$ac_ext
20252 cat >>conftest.$ac_ext <<_ACEOF
20253 /* end confdefs.h. */
20254 $ac_includes_default
20258 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20265 rm -f conftest.$ac_objext
20266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20267 (eval $ac_compile) 2>conftest.er1
20269 grep -v '^ *+' conftest.er1 >conftest.err
20271 cat conftest.err >&5
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); } &&
20274 { ac_try='test -z "$ac_cxx_werror_flag"
20275 || test ! -s conftest.err'
20276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20277 (eval $ac_try) 2>&5
20279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20280 (exit $ac_status); }; } &&
20281 { ac_try='test -s conftest.$ac_objext'
20282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20283 (eval $ac_try) 2>&5
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); }; }; then
20287 ac_hi=$ac_mid; break
20289 echo "$as_me: failed program was:" >&5
20290 sed 's/^/| /' conftest.$ac_ext >&5
20292 ac_lo=`expr $ac_mid + 1`
20293 if test $ac_lo -le $ac_mid; then
20297 ac_mid=`expr 2 '*' $ac_mid + 1`
20299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20302 echo "$as_me: failed program was:" >&5
20303 sed 's/^/| /' conftest.$ac_ext >&5
20305 cat >conftest.$ac_ext <<_ACEOF
20308 cat confdefs.h >>conftest.$ac_ext
20309 cat >>conftest.$ac_ext <<_ACEOF
20310 /* end confdefs.h. */
20311 $ac_includes_default
20315 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20322 rm -f conftest.$ac_objext
20323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20324 (eval $ac_compile) 2>conftest.er1
20326 grep -v '^ *+' conftest.er1 >conftest.err
20328 cat conftest.err >&5
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); } &&
20331 { ac_try='test -z "$ac_cxx_werror_flag"
20332 || test ! -s conftest.err'
20333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20334 (eval $ac_try) 2>&5
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); }; } &&
20338 { ac_try='test -s conftest.$ac_objext'
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
20346 cat >conftest.$ac_ext <<_ACEOF
20349 cat confdefs.h >>conftest.$ac_ext
20350 cat >>conftest.$ac_ext <<_ACEOF
20351 /* end confdefs.h. */
20352 $ac_includes_default
20356 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20363 rm -f conftest.$ac_objext
20364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20365 (eval $ac_compile) 2>conftest.er1
20367 grep -v '^ *+' conftest.er1 >conftest.err
20369 cat conftest.err >&5
20370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20371 (exit $ac_status); } &&
20372 { ac_try='test -z "$ac_cxx_werror_flag"
20373 || test ! -s conftest.err'
20374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20375 (eval $ac_try) 2>&5
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); }; } &&
20379 { ac_try='test -s conftest.$ac_objext'
20380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20381 (eval $ac_try) 2>&5
20383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20384 (exit $ac_status); }; }; then
20385 ac_lo=$ac_mid; break
20387 echo "$as_me: failed program was:" >&5
20388 sed 's/^/| /' conftest.$ac_ext >&5
20390 ac_hi=`expr '(' $ac_mid ')' - 1`
20391 if test $ac_mid -le $ac_hi; then
20395 ac_mid=`expr 2 '*' $ac_mid`
20397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20400 echo "$as_me: failed program was:" >&5
20401 sed 's/^/| /' conftest.$ac_ext >&5
20405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20408 # Binary search between lo and hi bounds.
20409 while test "x$ac_lo" != "x$ac_hi"; do
20410 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20411 cat >conftest.$ac_ext <<_ACEOF
20414 cat confdefs.h >>conftest.$ac_ext
20415 cat >>conftest.$ac_ext <<_ACEOF
20416 /* end confdefs.h. */
20417 $ac_includes_default
20421 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20428 rm -f conftest.$ac_objext
20429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20430 (eval $ac_compile) 2>conftest.er1
20432 grep -v '^ *+' conftest.er1 >conftest.err
20434 cat conftest.err >&5
20435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436 (exit $ac_status); } &&
20437 { ac_try='test -z "$ac_cxx_werror_flag"
20438 || test ! -s conftest.err'
20439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20440 (eval $ac_try) 2>&5
20442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443 (exit $ac_status); }; } &&
20444 { ac_try='test -s conftest.$ac_objext'
20445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20446 (eval $ac_try) 2>&5
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); }; }; then
20452 echo "$as_me: failed program was:" >&5
20453 sed 's/^/| /' conftest.$ac_ext >&5
20455 ac_lo=`expr '(' $ac_mid ')' + 1`
20457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20460 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20461 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20462 See \`config.log' for more details." >&5
20463 echo "$as_me: error: cannot compute sizeof (size_t), 77
20464 See \`config.log' for more details." >&2;}
20465 { (exit 1); exit 1; }; } ;;
20468 if test "$cross_compiling" = yes; then
20469 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20470 See \`config.log' for more details." >&5
20471 echo "$as_me: error: cannot run test program while cross compiling
20472 See \`config.log' for more details." >&2;}
20473 { (exit 1); exit 1; }; }
20475 cat >conftest.$ac_ext <<_ACEOF
20478 cat confdefs.h >>conftest.$ac_ext
20479 cat >>conftest.$ac_ext <<_ACEOF
20480 /* end confdefs.h. */
20481 $ac_includes_default
20482 long longval () { return (long) (sizeof (size_t)); }
20483 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20485 #include <stdlib.h>
20490 FILE *f = fopen ("conftest.val", "w");
20493 if (((long) (sizeof (size_t))) < 0)
20495 long i = longval ();
20496 if (i != ((long) (sizeof (size_t))))
20498 fprintf (f, "%ld\n", i);
20502 unsigned long i = ulongval ();
20503 if (i != ((long) (sizeof (size_t))))
20505 fprintf (f, "%lu\n", i);
20507 exit (ferror (f) || fclose (f) != 0);
20513 rm -f conftest$ac_exeext
20514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20515 (eval $ac_link) 2>&5
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20520 (eval $ac_try) 2>&5
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); }; }; then
20524 ac_cv_sizeof_size_t=`cat conftest.val`
20526 echo "$as_me: program exited with status $ac_status" >&5
20527 echo "$as_me: failed program was:" >&5
20528 sed 's/^/| /' conftest.$ac_ext >&5
20530 ( exit $ac_status )
20531 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20532 See \`config.log' for more details." >&5
20533 echo "$as_me: error: cannot compute sizeof (size_t), 77
20534 See \`config.log' for more details." >&2;}
20535 { (exit 1); exit 1; }; }
20537 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20542 ac_cv_sizeof_size_t=0
20545 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20546 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20547 cat >>confdefs.h <<_ACEOF
20548 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20555 echo "$as_me:$LINENO: checking for long long" >&5
20556 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20557 if test "${ac_cv_type_long_long+set}" = set; then
20558 echo $ECHO_N "(cached) $ECHO_C" >&6
20560 cat >conftest.$ac_ext <<_ACEOF
20563 cat confdefs.h >>conftest.$ac_ext
20564 cat >>conftest.$ac_ext <<_ACEOF
20565 /* end confdefs.h. */
20566 $ac_includes_default
20570 if ((long long *) 0)
20572 if (sizeof (long long))
20578 rm -f conftest.$ac_objext
20579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20580 (eval $ac_compile) 2>conftest.er1
20582 grep -v '^ *+' conftest.er1 >conftest.err
20584 cat conftest.err >&5
20585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20586 (exit $ac_status); } &&
20587 { ac_try='test -z "$ac_cxx_werror_flag"
20588 || test ! -s conftest.err'
20589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20590 (eval $ac_try) 2>&5
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); }; } &&
20594 { ac_try='test -s conftest.$ac_objext'
20595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20596 (eval $ac_try) 2>&5
20598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20599 (exit $ac_status); }; }; then
20600 ac_cv_type_long_long=yes
20602 echo "$as_me: failed program was:" >&5
20603 sed 's/^/| /' conftest.$ac_ext >&5
20605 ac_cv_type_long_long=no
20607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20609 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20610 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20612 echo "$as_me:$LINENO: checking size of long long" >&5
20613 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20614 if test "${ac_cv_sizeof_long_long+set}" = set; then
20615 echo $ECHO_N "(cached) $ECHO_C" >&6
20617 if test "$ac_cv_type_long_long" = yes; then
20618 # The cast to unsigned long works around a bug in the HP C Compiler
20619 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20620 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20621 # This bug is HP SR number 8606223364.
20622 if test "$cross_compiling" = yes; then
20623 # Depending upon the size, compute the lo and hi bounds.
20624 cat >conftest.$ac_ext <<_ACEOF
20627 cat confdefs.h >>conftest.$ac_ext
20628 cat >>conftest.$ac_ext <<_ACEOF
20629 /* end confdefs.h. */
20630 $ac_includes_default
20634 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20641 rm -f conftest.$ac_objext
20642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20643 (eval $ac_compile) 2>conftest.er1
20645 grep -v '^ *+' conftest.er1 >conftest.err
20647 cat conftest.err >&5
20648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20649 (exit $ac_status); } &&
20650 { ac_try='test -z "$ac_cxx_werror_flag"
20651 || test ! -s conftest.err'
20652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20653 (eval $ac_try) 2>&5
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); }; } &&
20657 { ac_try='test -s conftest.$ac_objext'
20658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20659 (eval $ac_try) 2>&5
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); }; }; then
20665 cat >conftest.$ac_ext <<_ACEOF
20668 cat confdefs.h >>conftest.$ac_ext
20669 cat >>conftest.$ac_ext <<_ACEOF
20670 /* end confdefs.h. */
20671 $ac_includes_default
20675 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20682 rm -f conftest.$ac_objext
20683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20684 (eval $ac_compile) 2>conftest.er1
20686 grep -v '^ *+' conftest.er1 >conftest.err
20688 cat conftest.err >&5
20689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690 (exit $ac_status); } &&
20691 { ac_try='test -z "$ac_cxx_werror_flag"
20692 || test ! -s conftest.err'
20693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20694 (eval $ac_try) 2>&5
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); }; } &&
20698 { ac_try='test -s conftest.$ac_objext'
20699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20700 (eval $ac_try) 2>&5
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); }; }; then
20704 ac_hi=$ac_mid; break
20706 echo "$as_me: failed program was:" >&5
20707 sed 's/^/| /' conftest.$ac_ext >&5
20709 ac_lo=`expr $ac_mid + 1`
20710 if test $ac_lo -le $ac_mid; then
20714 ac_mid=`expr 2 '*' $ac_mid + 1`
20716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20719 echo "$as_me: failed program was:" >&5
20720 sed 's/^/| /' conftest.$ac_ext >&5
20722 cat >conftest.$ac_ext <<_ACEOF
20725 cat confdefs.h >>conftest.$ac_ext
20726 cat >>conftest.$ac_ext <<_ACEOF
20727 /* end confdefs.h. */
20728 $ac_includes_default
20732 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20739 rm -f conftest.$ac_objext
20740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20741 (eval $ac_compile) 2>conftest.er1
20743 grep -v '^ *+' conftest.er1 >conftest.err
20745 cat conftest.err >&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); } &&
20748 { ac_try='test -z "$ac_cxx_werror_flag"
20749 || test ! -s conftest.err'
20750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20751 (eval $ac_try) 2>&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); }; } &&
20755 { ac_try='test -s conftest.$ac_objext'
20756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20757 (eval $ac_try) 2>&5
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); }; }; then
20763 cat >conftest.$ac_ext <<_ACEOF
20766 cat confdefs.h >>conftest.$ac_ext
20767 cat >>conftest.$ac_ext <<_ACEOF
20768 /* end confdefs.h. */
20769 $ac_includes_default
20773 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20780 rm -f conftest.$ac_objext
20781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20782 (eval $ac_compile) 2>conftest.er1
20784 grep -v '^ *+' conftest.er1 >conftest.err
20786 cat conftest.err >&5
20787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20788 (exit $ac_status); } &&
20789 { ac_try='test -z "$ac_cxx_werror_flag"
20790 || test ! -s conftest.err'
20791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20792 (eval $ac_try) 2>&5
20794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20795 (exit $ac_status); }; } &&
20796 { ac_try='test -s conftest.$ac_objext'
20797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20798 (eval $ac_try) 2>&5
20800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20801 (exit $ac_status); }; }; then
20802 ac_lo=$ac_mid; break
20804 echo "$as_me: failed program was:" >&5
20805 sed 's/^/| /' conftest.$ac_ext >&5
20807 ac_hi=`expr '(' $ac_mid ')' - 1`
20808 if test $ac_mid -le $ac_hi; then
20812 ac_mid=`expr 2 '*' $ac_mid`
20814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20817 echo "$as_me: failed program was:" >&5
20818 sed 's/^/| /' conftest.$ac_ext >&5
20822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20825 # Binary search between lo and hi bounds.
20826 while test "x$ac_lo" != "x$ac_hi"; do
20827 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20828 cat >conftest.$ac_ext <<_ACEOF
20831 cat confdefs.h >>conftest.$ac_ext
20832 cat >>conftest.$ac_ext <<_ACEOF
20833 /* end confdefs.h. */
20834 $ac_includes_default
20838 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20845 rm -f conftest.$ac_objext
20846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20847 (eval $ac_compile) 2>conftest.er1
20849 grep -v '^ *+' conftest.er1 >conftest.err
20851 cat conftest.err >&5
20852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20853 (exit $ac_status); } &&
20854 { ac_try='test -z "$ac_cxx_werror_flag"
20855 || test ! -s conftest.err'
20856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20857 (eval $ac_try) 2>&5
20859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860 (exit $ac_status); }; } &&
20861 { ac_try='test -s conftest.$ac_objext'
20862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20863 (eval $ac_try) 2>&5
20865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20866 (exit $ac_status); }; }; then
20869 echo "$as_me: failed program was:" >&5
20870 sed 's/^/| /' conftest.$ac_ext >&5
20872 ac_lo=`expr '(' $ac_mid ')' + 1`
20874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20877 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20878 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20879 See \`config.log' for more details." >&5
20880 echo "$as_me: error: cannot compute sizeof (long long), 77
20881 See \`config.log' for more details." >&2;}
20882 { (exit 1); exit 1; }; } ;;
20885 if test "$cross_compiling" = yes; then
20886 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20887 See \`config.log' for more details." >&5
20888 echo "$as_me: error: cannot run test program while cross compiling
20889 See \`config.log' for more details." >&2;}
20890 { (exit 1); exit 1; }; }
20892 cat >conftest.$ac_ext <<_ACEOF
20895 cat confdefs.h >>conftest.$ac_ext
20896 cat >>conftest.$ac_ext <<_ACEOF
20897 /* end confdefs.h. */
20898 $ac_includes_default
20899 long longval () { return (long) (sizeof (long long)); }
20900 unsigned long ulongval () { return (long) (sizeof (long long)); }
20902 #include <stdlib.h>
20907 FILE *f = fopen ("conftest.val", "w");
20910 if (((long) (sizeof (long long))) < 0)
20912 long i = longval ();
20913 if (i != ((long) (sizeof (long long))))
20915 fprintf (f, "%ld\n", i);
20919 unsigned long i = ulongval ();
20920 if (i != ((long) (sizeof (long long))))
20922 fprintf (f, "%lu\n", i);
20924 exit (ferror (f) || fclose (f) != 0);
20930 rm -f conftest$ac_exeext
20931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20932 (eval $ac_link) 2>&5
20934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20935 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20937 (eval $ac_try) 2>&5
20939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20940 (exit $ac_status); }; }; then
20941 ac_cv_sizeof_long_long=`cat conftest.val`
20943 echo "$as_me: program exited with status $ac_status" >&5
20944 echo "$as_me: failed program was:" >&5
20945 sed 's/^/| /' conftest.$ac_ext >&5
20947 ( exit $ac_status )
20948 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20949 See \`config.log' for more details." >&5
20950 echo "$as_me: error: cannot compute sizeof (long long), 77
20951 See \`config.log' for more details." >&2;}
20952 { (exit 1); exit 1; }; }
20954 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20959 ac_cv_sizeof_long_long=0
20962 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20963 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20964 cat >>confdefs.h <<_ACEOF
20965 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20971 echo "$as_me:$LINENO: checking for long long" >&5
20972 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20973 if test "${ac_cv_type_long_long+set}" = set; then
20974 echo $ECHO_N "(cached) $ECHO_C" >&6
20976 cat >conftest.$ac_ext <<_ACEOF
20979 cat confdefs.h >>conftest.$ac_ext
20980 cat >>conftest.$ac_ext <<_ACEOF
20981 /* end confdefs.h. */
20982 $ac_includes_default
20986 if ((long long *) 0)
20988 if (sizeof (long long))
20994 rm -f conftest.$ac_objext
20995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20996 (eval $ac_compile) 2>conftest.er1
20998 grep -v '^ *+' conftest.er1 >conftest.err
21000 cat conftest.err >&5
21001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21002 (exit $ac_status); } &&
21003 { ac_try='test -z "$ac_cxx_werror_flag"
21004 || test ! -s conftest.err'
21005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21006 (eval $ac_try) 2>&5
21008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009 (exit $ac_status); }; } &&
21010 { ac_try='test -s conftest.$ac_objext'
21011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21012 (eval $ac_try) 2>&5
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); }; }; then
21016 ac_cv_type_long_long=yes
21018 echo "$as_me: failed program was:" >&5
21019 sed 's/^/| /' conftest.$ac_ext >&5
21021 ac_cv_type_long_long=no
21023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21025 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21026 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21028 echo "$as_me:$LINENO: checking size of long long" >&5
21029 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21030 if test "${ac_cv_sizeof_long_long+set}" = set; then
21031 echo $ECHO_N "(cached) $ECHO_C" >&6
21033 if test "$ac_cv_type_long_long" = yes; then
21034 # The cast to unsigned long works around a bug in the HP C Compiler
21035 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21036 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21037 # This bug is HP SR number 8606223364.
21038 if test "$cross_compiling" = yes; then
21039 # Depending upon the size, compute the lo and hi bounds.
21040 cat >conftest.$ac_ext <<_ACEOF
21043 cat confdefs.h >>conftest.$ac_ext
21044 cat >>conftest.$ac_ext <<_ACEOF
21045 /* end confdefs.h. */
21046 $ac_includes_default
21050 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21057 rm -f conftest.$ac_objext
21058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21059 (eval $ac_compile) 2>conftest.er1
21061 grep -v '^ *+' conftest.er1 >conftest.err
21063 cat conftest.err >&5
21064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065 (exit $ac_status); } &&
21066 { ac_try='test -z "$ac_cxx_werror_flag"
21067 || test ! -s conftest.err'
21068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21069 (eval $ac_try) 2>&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); }; } &&
21073 { ac_try='test -s conftest.$ac_objext'
21074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21075 (eval $ac_try) 2>&5
21077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21078 (exit $ac_status); }; }; then
21081 cat >conftest.$ac_ext <<_ACEOF
21084 cat confdefs.h >>conftest.$ac_ext
21085 cat >>conftest.$ac_ext <<_ACEOF
21086 /* end confdefs.h. */
21087 $ac_includes_default
21091 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21098 rm -f conftest.$ac_objext
21099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21100 (eval $ac_compile) 2>conftest.er1
21102 grep -v '^ *+' conftest.er1 >conftest.err
21104 cat conftest.err >&5
21105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106 (exit $ac_status); } &&
21107 { ac_try='test -z "$ac_cxx_werror_flag"
21108 || test ! -s conftest.err'
21109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21110 (eval $ac_try) 2>&5
21112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21113 (exit $ac_status); }; } &&
21114 { ac_try='test -s conftest.$ac_objext'
21115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21116 (eval $ac_try) 2>&5
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); }; }; then
21120 ac_hi=$ac_mid; break
21122 echo "$as_me: failed program was:" >&5
21123 sed 's/^/| /' conftest.$ac_ext >&5
21125 ac_lo=`expr $ac_mid + 1`
21126 if test $ac_lo -le $ac_mid; then
21130 ac_mid=`expr 2 '*' $ac_mid + 1`
21132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21135 echo "$as_me: failed program was:" >&5
21136 sed 's/^/| /' conftest.$ac_ext >&5
21138 cat >conftest.$ac_ext <<_ACEOF
21141 cat confdefs.h >>conftest.$ac_ext
21142 cat >>conftest.$ac_ext <<_ACEOF
21143 /* end confdefs.h. */
21144 $ac_includes_default
21148 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21155 rm -f conftest.$ac_objext
21156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21157 (eval $ac_compile) 2>conftest.er1
21159 grep -v '^ *+' conftest.er1 >conftest.err
21161 cat conftest.err >&5
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); } &&
21164 { ac_try='test -z "$ac_cxx_werror_flag"
21165 || test ! -s conftest.err'
21166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21167 (eval $ac_try) 2>&5
21169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21170 (exit $ac_status); }; } &&
21171 { ac_try='test -s conftest.$ac_objext'
21172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21173 (eval $ac_try) 2>&5
21175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21176 (exit $ac_status); }; }; then
21179 cat >conftest.$ac_ext <<_ACEOF
21182 cat confdefs.h >>conftest.$ac_ext
21183 cat >>conftest.$ac_ext <<_ACEOF
21184 /* end confdefs.h. */
21185 $ac_includes_default
21189 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21196 rm -f conftest.$ac_objext
21197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21198 (eval $ac_compile) 2>conftest.er1
21200 grep -v '^ *+' conftest.er1 >conftest.err
21202 cat conftest.err >&5
21203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204 (exit $ac_status); } &&
21205 { ac_try='test -z "$ac_cxx_werror_flag"
21206 || test ! -s conftest.err'
21207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21208 (eval $ac_try) 2>&5
21210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21211 (exit $ac_status); }; } &&
21212 { ac_try='test -s conftest.$ac_objext'
21213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21214 (eval $ac_try) 2>&5
21216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21217 (exit $ac_status); }; }; then
21218 ac_lo=$ac_mid; break
21220 echo "$as_me: failed program was:" >&5
21221 sed 's/^/| /' conftest.$ac_ext >&5
21223 ac_hi=`expr '(' $ac_mid ')' - 1`
21224 if test $ac_mid -le $ac_hi; then
21228 ac_mid=`expr 2 '*' $ac_mid`
21230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21233 echo "$as_me: failed program was:" >&5
21234 sed 's/^/| /' conftest.$ac_ext >&5
21238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21241 # Binary search between lo and hi bounds.
21242 while test "x$ac_lo" != "x$ac_hi"; do
21243 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21244 cat >conftest.$ac_ext <<_ACEOF
21247 cat confdefs.h >>conftest.$ac_ext
21248 cat >>conftest.$ac_ext <<_ACEOF
21249 /* end confdefs.h. */
21250 $ac_includes_default
21254 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21261 rm -f conftest.$ac_objext
21262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21263 (eval $ac_compile) 2>conftest.er1
21265 grep -v '^ *+' conftest.er1 >conftest.err
21267 cat conftest.err >&5
21268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21269 (exit $ac_status); } &&
21270 { ac_try='test -z "$ac_cxx_werror_flag"
21271 || test ! -s conftest.err'
21272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21273 (eval $ac_try) 2>&5
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276 (exit $ac_status); }; } &&
21277 { ac_try='test -s conftest.$ac_objext'
21278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21279 (eval $ac_try) 2>&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); }; }; then
21285 echo "$as_me: failed program was:" >&5
21286 sed 's/^/| /' conftest.$ac_ext >&5
21288 ac_lo=`expr '(' $ac_mid ')' + 1`
21290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21293 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21294 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21295 See \`config.log' for more details." >&5
21296 echo "$as_me: error: cannot compute sizeof (long long), 77
21297 See \`config.log' for more details." >&2;}
21298 { (exit 1); exit 1; }; } ;;
21301 if test "$cross_compiling" = yes; then
21302 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21303 See \`config.log' for more details." >&5
21304 echo "$as_me: error: cannot run test program while cross compiling
21305 See \`config.log' for more details." >&2;}
21306 { (exit 1); exit 1; }; }
21308 cat >conftest.$ac_ext <<_ACEOF
21311 cat confdefs.h >>conftest.$ac_ext
21312 cat >>conftest.$ac_ext <<_ACEOF
21313 /* end confdefs.h. */
21314 $ac_includes_default
21315 long longval () { return (long) (sizeof (long long)); }
21316 unsigned long ulongval () { return (long) (sizeof (long long)); }
21318 #include <stdlib.h>
21323 FILE *f = fopen ("conftest.val", "w");
21326 if (((long) (sizeof (long long))) < 0)
21328 long i = longval ();
21329 if (i != ((long) (sizeof (long long))))
21331 fprintf (f, "%ld\n", i);
21335 unsigned long i = ulongval ();
21336 if (i != ((long) (sizeof (long long))))
21338 fprintf (f, "%lu\n", i);
21340 exit (ferror (f) || fclose (f) != 0);
21346 rm -f conftest$ac_exeext
21347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21348 (eval $ac_link) 2>&5
21350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21351 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21353 (eval $ac_try) 2>&5
21355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21356 (exit $ac_status); }; }; then
21357 ac_cv_sizeof_long_long=`cat conftest.val`
21359 echo "$as_me: program exited with status $ac_status" >&5
21360 echo "$as_me: failed program was:" >&5
21361 sed 's/^/| /' conftest.$ac_ext >&5
21363 ( exit $ac_status )
21364 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21365 See \`config.log' for more details." >&5
21366 echo "$as_me: error: cannot compute sizeof (long long), 77
21367 See \`config.log' for more details." >&2;}
21368 { (exit 1); exit 1; }; }
21370 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21375 ac_cv_sizeof_long_long=0
21378 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21379 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21380 cat >>confdefs.h <<_ACEOF
21381 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21385 if test "$ac_cv_sizeof_long_long" != "0"; then
21386 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21390 echo "$as_me:$LINENO: checking for long long" >&5
21391 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21392 if test "${ac_cv_type_long_long+set}" = set; then
21393 echo $ECHO_N "(cached) $ECHO_C" >&6
21395 cat >conftest.$ac_ext <<_ACEOF
21398 cat confdefs.h >>conftest.$ac_ext
21399 cat >>conftest.$ac_ext <<_ACEOF
21400 /* end confdefs.h. */
21401 $ac_includes_default
21405 if ((long long *) 0)
21407 if (sizeof (long long))
21413 rm -f conftest.$ac_objext
21414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21415 (eval $ac_compile) 2>conftest.er1
21417 grep -v '^ *+' conftest.er1 >conftest.err
21419 cat conftest.err >&5
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); } &&
21422 { ac_try='test -z "$ac_cxx_werror_flag"
21423 || test ! -s conftest.err'
21424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21425 (eval $ac_try) 2>&5
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); }; } &&
21429 { ac_try='test -s conftest.$ac_objext'
21430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21431 (eval $ac_try) 2>&5
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); }; }; then
21435 ac_cv_type_long_long=yes
21437 echo "$as_me: failed program was:" >&5
21438 sed 's/^/| /' conftest.$ac_ext >&5
21440 ac_cv_type_long_long=no
21442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21444 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21445 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21447 echo "$as_me:$LINENO: checking size of long long" >&5
21448 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21449 if test "${ac_cv_sizeof_long_long+set}" = set; then
21450 echo $ECHO_N "(cached) $ECHO_C" >&6
21452 if test "$ac_cv_type_long_long" = yes; then
21453 # The cast to unsigned long works around a bug in the HP C Compiler
21454 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21455 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21456 # This bug is HP SR number 8606223364.
21457 if test "$cross_compiling" = yes; then
21458 # Depending upon the size, compute the lo and hi bounds.
21459 cat >conftest.$ac_ext <<_ACEOF
21462 cat confdefs.h >>conftest.$ac_ext
21463 cat >>conftest.$ac_ext <<_ACEOF
21464 /* end confdefs.h. */
21465 $ac_includes_default
21469 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21476 rm -f conftest.$ac_objext
21477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21478 (eval $ac_compile) 2>conftest.er1
21480 grep -v '^ *+' conftest.er1 >conftest.err
21482 cat conftest.err >&5
21483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21484 (exit $ac_status); } &&
21485 { ac_try='test -z "$ac_cxx_werror_flag"
21486 || test ! -s conftest.err'
21487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21488 (eval $ac_try) 2>&5
21490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21491 (exit $ac_status); }; } &&
21492 { ac_try='test -s conftest.$ac_objext'
21493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21494 (eval $ac_try) 2>&5
21496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21497 (exit $ac_status); }; }; then
21500 cat >conftest.$ac_ext <<_ACEOF
21503 cat confdefs.h >>conftest.$ac_ext
21504 cat >>conftest.$ac_ext <<_ACEOF
21505 /* end confdefs.h. */
21506 $ac_includes_default
21510 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21517 rm -f conftest.$ac_objext
21518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21519 (eval $ac_compile) 2>conftest.er1
21521 grep -v '^ *+' conftest.er1 >conftest.err
21523 cat conftest.err >&5
21524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21525 (exit $ac_status); } &&
21526 { ac_try='test -z "$ac_cxx_werror_flag"
21527 || test ! -s conftest.err'
21528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21529 (eval $ac_try) 2>&5
21531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21532 (exit $ac_status); }; } &&
21533 { ac_try='test -s conftest.$ac_objext'
21534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21535 (eval $ac_try) 2>&5
21537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21538 (exit $ac_status); }; }; then
21539 ac_hi=$ac_mid; break
21541 echo "$as_me: failed program was:" >&5
21542 sed 's/^/| /' conftest.$ac_ext >&5
21544 ac_lo=`expr $ac_mid + 1`
21545 if test $ac_lo -le $ac_mid; then
21549 ac_mid=`expr 2 '*' $ac_mid + 1`
21551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21554 echo "$as_me: failed program was:" >&5
21555 sed 's/^/| /' conftest.$ac_ext >&5
21557 cat >conftest.$ac_ext <<_ACEOF
21560 cat confdefs.h >>conftest.$ac_ext
21561 cat >>conftest.$ac_ext <<_ACEOF
21562 /* end confdefs.h. */
21563 $ac_includes_default
21567 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21574 rm -f conftest.$ac_objext
21575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21576 (eval $ac_compile) 2>conftest.er1
21578 grep -v '^ *+' conftest.er1 >conftest.err
21580 cat conftest.err >&5
21581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21582 (exit $ac_status); } &&
21583 { ac_try='test -z "$ac_cxx_werror_flag"
21584 || test ! -s conftest.err'
21585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21586 (eval $ac_try) 2>&5
21588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589 (exit $ac_status); }; } &&
21590 { ac_try='test -s conftest.$ac_objext'
21591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21592 (eval $ac_try) 2>&5
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); }; }; then
21598 cat >conftest.$ac_ext <<_ACEOF
21601 cat confdefs.h >>conftest.$ac_ext
21602 cat >>conftest.$ac_ext <<_ACEOF
21603 /* end confdefs.h. */
21604 $ac_includes_default
21608 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21615 rm -f conftest.$ac_objext
21616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21617 (eval $ac_compile) 2>conftest.er1
21619 grep -v '^ *+' conftest.er1 >conftest.err
21621 cat conftest.err >&5
21622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21623 (exit $ac_status); } &&
21624 { ac_try='test -z "$ac_cxx_werror_flag"
21625 || test ! -s conftest.err'
21626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21627 (eval $ac_try) 2>&5
21629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21630 (exit $ac_status); }; } &&
21631 { ac_try='test -s conftest.$ac_objext'
21632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21633 (eval $ac_try) 2>&5
21635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21636 (exit $ac_status); }; }; then
21637 ac_lo=$ac_mid; break
21639 echo "$as_me: failed program was:" >&5
21640 sed 's/^/| /' conftest.$ac_ext >&5
21642 ac_hi=`expr '(' $ac_mid ')' - 1`
21643 if test $ac_mid -le $ac_hi; then
21647 ac_mid=`expr 2 '*' $ac_mid`
21649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21652 echo "$as_me: failed program was:" >&5
21653 sed 's/^/| /' conftest.$ac_ext >&5
21657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21660 # Binary search between lo and hi bounds.
21661 while test "x$ac_lo" != "x$ac_hi"; do
21662 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21663 cat >conftest.$ac_ext <<_ACEOF
21666 cat confdefs.h >>conftest.$ac_ext
21667 cat >>conftest.$ac_ext <<_ACEOF
21668 /* end confdefs.h. */
21669 $ac_includes_default
21673 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21680 rm -f conftest.$ac_objext
21681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21682 (eval $ac_compile) 2>conftest.er1
21684 grep -v '^ *+' conftest.er1 >conftest.err
21686 cat conftest.err >&5
21687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21688 (exit $ac_status); } &&
21689 { ac_try='test -z "$ac_cxx_werror_flag"
21690 || test ! -s conftest.err'
21691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21692 (eval $ac_try) 2>&5
21694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 (exit $ac_status); }; } &&
21696 { ac_try='test -s conftest.$ac_objext'
21697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21698 (eval $ac_try) 2>&5
21700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21701 (exit $ac_status); }; }; then
21704 echo "$as_me: failed program was:" >&5
21705 sed 's/^/| /' conftest.$ac_ext >&5
21707 ac_lo=`expr '(' $ac_mid ')' + 1`
21709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21712 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21713 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21714 See \`config.log' for more details." >&5
21715 echo "$as_me: error: cannot compute sizeof (long long), 77
21716 See \`config.log' for more details." >&2;}
21717 { (exit 1); exit 1; }; } ;;
21720 if test "$cross_compiling" = yes; then
21721 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21722 See \`config.log' for more details." >&5
21723 echo "$as_me: error: cannot run test program while cross compiling
21724 See \`config.log' for more details." >&2;}
21725 { (exit 1); exit 1; }; }
21727 cat >conftest.$ac_ext <<_ACEOF
21730 cat confdefs.h >>conftest.$ac_ext
21731 cat >>conftest.$ac_ext <<_ACEOF
21732 /* end confdefs.h. */
21733 $ac_includes_default
21734 long longval () { return (long) (sizeof (long long)); }
21735 unsigned long ulongval () { return (long) (sizeof (long long)); }
21737 #include <stdlib.h>
21742 FILE *f = fopen ("conftest.val", "w");
21745 if (((long) (sizeof (long long))) < 0)
21747 long i = longval ();
21748 if (i != ((long) (sizeof (long long))))
21750 fprintf (f, "%ld\n", i);
21754 unsigned long i = ulongval ();
21755 if (i != ((long) (sizeof (long long))))
21757 fprintf (f, "%lu\n", i);
21759 exit (ferror (f) || fclose (f) != 0);
21765 rm -f conftest$ac_exeext
21766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21767 (eval $ac_link) 2>&5
21769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21772 (eval $ac_try) 2>&5
21774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21775 (exit $ac_status); }; }; then
21776 ac_cv_sizeof_long_long=`cat conftest.val`
21778 echo "$as_me: program exited with status $ac_status" >&5
21779 echo "$as_me: failed program was:" >&5
21780 sed 's/^/| /' conftest.$ac_ext >&5
21782 ( exit $ac_status )
21783 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21784 See \`config.log' for more details." >&5
21785 echo "$as_me: error: cannot compute sizeof (long long), 77
21786 See \`config.log' for more details." >&2;}
21787 { (exit 1); exit 1; }; }
21789 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21794 ac_cv_sizeof_long_long=0
21797 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21798 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21799 cat >>confdefs.h <<_ACEOF
21800 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21806 echo "$as_me:$LINENO: checking for wchar_t" >&5
21807 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21808 if test "${ac_cv_type_wchar_t+set}" = set; then
21809 echo $ECHO_N "(cached) $ECHO_C" >&6
21811 cat >conftest.$ac_ext <<_ACEOF
21814 cat confdefs.h >>conftest.$ac_ext
21815 cat >>conftest.$ac_ext <<_ACEOF
21816 /* end confdefs.h. */
21818 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21819 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21820 # error "fake wchar_t"
21822 #ifdef HAVE_WCHAR_H
21824 # include <stddef.h>
21826 # include <wchar.h>
21828 #ifdef HAVE_STDLIB_H
21829 # include <stdlib.h>
21840 if (sizeof (wchar_t))
21846 rm -f conftest.$ac_objext
21847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21848 (eval $ac_compile) 2>conftest.er1
21850 grep -v '^ *+' conftest.er1 >conftest.err
21852 cat conftest.err >&5
21853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21854 (exit $ac_status); } &&
21855 { ac_try='test -z "$ac_cxx_werror_flag"
21856 || test ! -s conftest.err'
21857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21858 (eval $ac_try) 2>&5
21860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861 (exit $ac_status); }; } &&
21862 { ac_try='test -s conftest.$ac_objext'
21863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21864 (eval $ac_try) 2>&5
21866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21867 (exit $ac_status); }; }; then
21868 ac_cv_type_wchar_t=yes
21870 echo "$as_me: failed program was:" >&5
21871 sed 's/^/| /' conftest.$ac_ext >&5
21873 ac_cv_type_wchar_t=no
21875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21877 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21878 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21880 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21881 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21882 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21883 echo $ECHO_N "(cached) $ECHO_C" >&6
21885 if test "$ac_cv_type_wchar_t" = yes; then
21886 # The cast to unsigned long works around a bug in the HP C Compiler
21887 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21888 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21889 # This bug is HP SR number 8606223364.
21890 if test "$cross_compiling" = yes; then
21891 # Depending upon the size, compute the lo and hi bounds.
21892 cat >conftest.$ac_ext <<_ACEOF
21895 cat confdefs.h >>conftest.$ac_ext
21896 cat >>conftest.$ac_ext <<_ACEOF
21897 /* end confdefs.h. */
21899 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21900 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21901 # error "fake wchar_t"
21903 #ifdef HAVE_WCHAR_H
21905 # include <stddef.h>
21907 # include <wchar.h>
21909 #ifdef HAVE_STDLIB_H
21910 # include <stdlib.h>
21919 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21926 rm -f conftest.$ac_objext
21927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21928 (eval $ac_compile) 2>conftest.er1
21930 grep -v '^ *+' conftest.er1 >conftest.err
21932 cat conftest.err >&5
21933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21934 (exit $ac_status); } &&
21935 { ac_try='test -z "$ac_cxx_werror_flag"
21936 || test ! -s conftest.err'
21937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21938 (eval $ac_try) 2>&5
21940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21941 (exit $ac_status); }; } &&
21942 { ac_try='test -s conftest.$ac_objext'
21943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21944 (eval $ac_try) 2>&5
21946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21947 (exit $ac_status); }; }; then
21950 cat >conftest.$ac_ext <<_ACEOF
21953 cat confdefs.h >>conftest.$ac_ext
21954 cat >>conftest.$ac_ext <<_ACEOF
21955 /* end confdefs.h. */
21957 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21958 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21959 # error "fake wchar_t"
21961 #ifdef HAVE_WCHAR_H
21963 # include <stddef.h>
21965 # include <wchar.h>
21967 #ifdef HAVE_STDLIB_H
21968 # include <stdlib.h>
21977 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21984 rm -f conftest.$ac_objext
21985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21986 (eval $ac_compile) 2>conftest.er1
21988 grep -v '^ *+' conftest.er1 >conftest.err
21990 cat conftest.err >&5
21991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21992 (exit $ac_status); } &&
21993 { ac_try='test -z "$ac_cxx_werror_flag"
21994 || test ! -s conftest.err'
21995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21996 (eval $ac_try) 2>&5
21998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999 (exit $ac_status); }; } &&
22000 { ac_try='test -s conftest.$ac_objext'
22001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22002 (eval $ac_try) 2>&5
22004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22005 (exit $ac_status); }; }; then
22006 ac_hi=$ac_mid; break
22008 echo "$as_me: failed program was:" >&5
22009 sed 's/^/| /' conftest.$ac_ext >&5
22011 ac_lo=`expr $ac_mid + 1`
22012 if test $ac_lo -le $ac_mid; then
22016 ac_mid=`expr 2 '*' $ac_mid + 1`
22018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22021 echo "$as_me: failed program was:" >&5
22022 sed 's/^/| /' conftest.$ac_ext >&5
22024 cat >conftest.$ac_ext <<_ACEOF
22027 cat confdefs.h >>conftest.$ac_ext
22028 cat >>conftest.$ac_ext <<_ACEOF
22029 /* end confdefs.h. */
22031 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22032 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22033 # error "fake wchar_t"
22035 #ifdef HAVE_WCHAR_H
22037 # include <stddef.h>
22039 # include <wchar.h>
22041 #ifdef HAVE_STDLIB_H
22042 # include <stdlib.h>
22051 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
22058 rm -f conftest.$ac_objext
22059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22060 (eval $ac_compile) 2>conftest.er1
22062 grep -v '^ *+' conftest.er1 >conftest.err
22064 cat conftest.err >&5
22065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22066 (exit $ac_status); } &&
22067 { ac_try='test -z "$ac_cxx_werror_flag"
22068 || test ! -s conftest.err'
22069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22070 (eval $ac_try) 2>&5
22072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22073 (exit $ac_status); }; } &&
22074 { ac_try='test -s conftest.$ac_objext'
22075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22076 (eval $ac_try) 2>&5
22078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22079 (exit $ac_status); }; }; then
22082 cat >conftest.$ac_ext <<_ACEOF
22085 cat confdefs.h >>conftest.$ac_ext
22086 cat >>conftest.$ac_ext <<_ACEOF
22087 /* end confdefs.h. */
22089 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22090 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22091 # error "fake wchar_t"
22093 #ifdef HAVE_WCHAR_H
22095 # include <stddef.h>
22097 # include <wchar.h>
22099 #ifdef HAVE_STDLIB_H
22100 # include <stdlib.h>
22109 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
22116 rm -f conftest.$ac_objext
22117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22118 (eval $ac_compile) 2>conftest.er1
22120 grep -v '^ *+' conftest.er1 >conftest.err
22122 cat conftest.err >&5
22123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124 (exit $ac_status); } &&
22125 { ac_try='test -z "$ac_cxx_werror_flag"
22126 || test ! -s conftest.err'
22127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22128 (eval $ac_try) 2>&5
22130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22131 (exit $ac_status); }; } &&
22132 { ac_try='test -s conftest.$ac_objext'
22133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22134 (eval $ac_try) 2>&5
22136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22137 (exit $ac_status); }; }; then
22138 ac_lo=$ac_mid; break
22140 echo "$as_me: failed program was:" >&5
22141 sed 's/^/| /' conftest.$ac_ext >&5
22143 ac_hi=`expr '(' $ac_mid ')' - 1`
22144 if test $ac_mid -le $ac_hi; then
22148 ac_mid=`expr 2 '*' $ac_mid`
22150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22153 echo "$as_me: failed program was:" >&5
22154 sed 's/^/| /' conftest.$ac_ext >&5
22158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22161 # Binary search between lo and hi bounds.
22162 while test "x$ac_lo" != "x$ac_hi"; do
22163 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22164 cat >conftest.$ac_ext <<_ACEOF
22167 cat confdefs.h >>conftest.$ac_ext
22168 cat >>conftest.$ac_ext <<_ACEOF
22169 /* end confdefs.h. */
22171 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22172 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22173 # error "fake wchar_t"
22175 #ifdef HAVE_WCHAR_H
22177 # include <stddef.h>
22179 # include <wchar.h>
22181 #ifdef HAVE_STDLIB_H
22182 # include <stdlib.h>
22191 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22198 rm -f conftest.$ac_objext
22199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22200 (eval $ac_compile) 2>conftest.er1
22202 grep -v '^ *+' conftest.er1 >conftest.err
22204 cat conftest.err >&5
22205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22206 (exit $ac_status); } &&
22207 { ac_try='test -z "$ac_cxx_werror_flag"
22208 || test ! -s conftest.err'
22209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22210 (eval $ac_try) 2>&5
22212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22213 (exit $ac_status); }; } &&
22214 { ac_try='test -s conftest.$ac_objext'
22215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22216 (eval $ac_try) 2>&5
22218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22219 (exit $ac_status); }; }; then
22222 echo "$as_me: failed program was:" >&5
22223 sed 's/^/| /' conftest.$ac_ext >&5
22225 ac_lo=`expr '(' $ac_mid ')' + 1`
22227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22230 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22231 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22232 See \`config.log' for more details." >&5
22233 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22234 See \`config.log' for more details." >&2;}
22235 { (exit 1); exit 1; }; } ;;
22238 if test "$cross_compiling" = yes; then
22239 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22240 See \`config.log' for more details." >&5
22241 echo "$as_me: error: cannot run test program while cross compiling
22242 See \`config.log' for more details." >&2;}
22243 { (exit 1); exit 1; }; }
22245 cat >conftest.$ac_ext <<_ACEOF
22248 cat confdefs.h >>conftest.$ac_ext
22249 cat >>conftest.$ac_ext <<_ACEOF
22250 /* end confdefs.h. */
22252 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22253 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22254 # error "fake wchar_t"
22256 #ifdef HAVE_WCHAR_H
22258 # include <stddef.h>
22260 # include <wchar.h>
22262 #ifdef HAVE_STDLIB_H
22263 # include <stdlib.h>
22269 long longval () { return (long) (sizeof (wchar_t)); }
22270 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22272 #include <stdlib.h>
22277 FILE *f = fopen ("conftest.val", "w");
22280 if (((long) (sizeof (wchar_t))) < 0)
22282 long i = longval ();
22283 if (i != ((long) (sizeof (wchar_t))))
22285 fprintf (f, "%ld\n", i);
22289 unsigned long i = ulongval ();
22290 if (i != ((long) (sizeof (wchar_t))))
22292 fprintf (f, "%lu\n", i);
22294 exit (ferror (f) || fclose (f) != 0);
22300 rm -f conftest$ac_exeext
22301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22302 (eval $ac_link) 2>&5
22304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22305 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22307 (eval $ac_try) 2>&5
22309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22310 (exit $ac_status); }; }; then
22311 ac_cv_sizeof_wchar_t=`cat conftest.val`
22313 echo "$as_me: program exited with status $ac_status" >&5
22314 echo "$as_me: failed program was:" >&5
22315 sed 's/^/| /' conftest.$ac_ext >&5
22317 ( exit $ac_status )
22318 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22319 See \`config.log' for more details." >&5
22320 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22321 See \`config.log' for more details." >&2;}
22322 { (exit 1); exit 1; }; }
22324 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22329 ac_cv_sizeof_wchar_t=0
22332 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22333 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22334 cat >>confdefs.h <<_ACEOF
22335 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22339 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22345 echo "$as_me:$LINENO: checking for va_copy" >&5
22346 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22347 if test "${wx_cv_func_va_copy+set}" = set; then
22348 echo $ECHO_N "(cached) $ECHO_C" >&6
22351 cat >conftest.$ac_ext <<_ACEOF
22353 #include <stdarg.h>
22354 void foo(char *f, ...)
22368 rm -f conftest.$ac_objext conftest$ac_exeext
22369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22370 (eval $ac_link) 2>conftest.er1
22372 grep -v '^ *+' conftest.er1 >conftest.err
22374 cat conftest.err >&5
22375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22376 (exit $ac_status); } &&
22377 { ac_try='test -z "$ac_cxx_werror_flag"
22378 || test ! -s conftest.err'
22379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22380 (eval $ac_try) 2>&5
22382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383 (exit $ac_status); }; } &&
22384 { ac_try='test -s conftest$ac_exeext'
22385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22386 (eval $ac_try) 2>&5
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); }; }; then
22390 wx_cv_func_va_copy=yes
22392 echo "$as_me: failed program was:" >&5
22393 sed 's/^/| /' conftest.$ac_ext >&5
22395 wx_cv_func_va_copy=no
22398 rm -f conftest.err conftest.$ac_objext \
22399 conftest$ac_exeext conftest.$ac_ext
22403 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22404 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22406 if test $wx_cv_func_va_copy = "yes"; then
22407 cat >>confdefs.h <<\_ACEOF
22408 #define HAVE_VA_COPY 1
22412 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22413 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22414 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22415 echo $ECHO_N "(cached) $ECHO_C" >&6
22418 if test "$cross_compiling" = yes; then
22419 wx_cv_type_va_list_lvalue=yes
22422 cat >conftest.$ac_ext <<_ACEOF
22424 #include <stdarg.h>
22425 int foo(char *f, ...)
22430 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22438 return foo("hi", 17);
22441 rm -f conftest$ac_exeext
22442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22443 (eval $ac_link) 2>&5
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22448 (eval $ac_try) 2>&5
22450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22451 (exit $ac_status); }; }; then
22452 wx_cv_type_va_list_lvalue=yes
22454 echo "$as_me: program exited with status $ac_status" >&5
22455 echo "$as_me: failed program was:" >&5
22456 sed 's/^/| /' conftest.$ac_ext >&5
22458 ( exit $ac_status )
22459 wx_cv_type_va_list_lvalue=no
22461 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22466 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22467 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22469 if test $wx_cv_type_va_list_lvalue != "yes"; then
22470 cat >>confdefs.h <<\_ACEOF
22471 #define VA_LIST_IS_ARRAY 1
22477 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22478 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22479 if test "${wx_cv_have_variadic_macros+set}" = set; then
22480 echo $ECHO_N "(cached) $ECHO_C" >&6
22483 cat >conftest.$ac_ext <<_ACEOF
22486 cat confdefs.h >>conftest.$ac_ext
22487 cat >>conftest.$ac_ext <<_ACEOF
22488 /* end confdefs.h. */
22491 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22497 test("%s %d %p", "test", 1, 0);
22504 rm -f conftest.$ac_objext
22505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22506 (eval $ac_compile) 2>conftest.er1
22508 grep -v '^ *+' conftest.er1 >conftest.err
22510 cat conftest.err >&5
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); } &&
22513 { ac_try='test -z "$ac_cxx_werror_flag"
22514 || test ! -s conftest.err'
22515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22516 (eval $ac_try) 2>&5
22518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22519 (exit $ac_status); }; } &&
22520 { ac_try='test -s conftest.$ac_objext'
22521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22522 (eval $ac_try) 2>&5
22524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 (exit $ac_status); }; }; then
22526 wx_cv_have_variadic_macros=yes
22528 echo "$as_me: failed program was:" >&5
22529 sed 's/^/| /' conftest.$ac_ext >&5
22531 wx_cv_have_variadic_macros=no
22534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22538 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22539 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22541 if test $wx_cv_have_variadic_macros = "yes"; then
22542 cat >>confdefs.h <<\_ACEOF
22543 #define HAVE_VARIADIC_MACROS 1
22548 # Check whether --enable-largefile or --disable-largefile was given.
22549 if test "${enable_largefile+set}" = set; then
22550 enableval="$enable_largefile"
22553 if test "$enable_largefile" != no; then
22556 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22557 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22558 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22559 echo $ECHO_N "(cached) $ECHO_C" >&6
22562 cat >conftest.$ac_ext <<_ACEOF
22565 cat confdefs.h >>conftest.$ac_ext
22566 cat >>conftest.$ac_ext <<_ACEOF
22567 /* end confdefs.h. */
22568 #define _FILE_OFFSET_BITS 64
22569 #include <sys/types.h>
22574 unsigned int field: sizeof(off_t) == 8;
22581 rm -f conftest.$ac_objext
22582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22583 (eval $ac_compile) 2>conftest.er1
22585 grep -v '^ *+' conftest.er1 >conftest.err
22587 cat conftest.err >&5
22588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22589 (exit $ac_status); } &&
22590 { ac_try='test -z "$ac_cxx_werror_flag"
22591 || test ! -s conftest.err'
22592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22593 (eval $ac_try) 2>&5
22595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22596 (exit $ac_status); }; } &&
22597 { ac_try='test -s conftest.$ac_objext'
22598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22599 (eval $ac_try) 2>&5
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); }; }; then
22603 ac_cv_sys_file_offset_bits=64
22605 echo "$as_me: failed program was:" >&5
22606 sed 's/^/| /' conftest.$ac_ext >&5
22608 ac_cv_sys_file_offset_bits=no
22610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22614 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22615 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22617 if test "$ac_cv_sys_file_offset_bits" != no; then
22619 cat >>confdefs.h <<_ACEOF
22620 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22625 if test "x$wx_largefile" != "xyes"; then
22627 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22628 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22629 if test "${ac_cv_sys_large_files+set}" = set; then
22630 echo $ECHO_N "(cached) $ECHO_C" >&6
22633 cat >conftest.$ac_ext <<_ACEOF
22636 cat confdefs.h >>conftest.$ac_ext
22637 cat >>conftest.$ac_ext <<_ACEOF
22638 /* end confdefs.h. */
22639 #define _LARGE_FILES 1
22640 #include <sys/types.h>
22645 unsigned int field: sizeof(off_t) == 8;
22652 rm -f conftest.$ac_objext
22653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22654 (eval $ac_compile) 2>conftest.er1
22656 grep -v '^ *+' conftest.er1 >conftest.err
22658 cat conftest.err >&5
22659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22660 (exit $ac_status); } &&
22661 { ac_try='test -z "$ac_cxx_werror_flag"
22662 || test ! -s conftest.err'
22663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22664 (eval $ac_try) 2>&5
22666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22667 (exit $ac_status); }; } &&
22668 { ac_try='test -s conftest.$ac_objext'
22669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22670 (eval $ac_try) 2>&5
22672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22673 (exit $ac_status); }; }; then
22674 ac_cv_sys_large_files=1
22676 echo "$as_me: failed program was:" >&5
22677 sed 's/^/| /' conftest.$ac_ext >&5
22679 ac_cv_sys_large_files=no
22681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22685 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22686 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22688 if test "$ac_cv_sys_large_files" != no; then
22690 cat >>confdefs.h <<_ACEOF
22691 #define _LARGE_FILES $ac_cv_sys_large_files
22698 echo "$as_me:$LINENO: checking if large file support is available" >&5
22699 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22700 if test "x$wx_largefile" = "xyes"; then
22701 cat >>confdefs.h <<\_ACEOF
22702 #define HAVE_LARGEFILE_SUPPORT 1
22706 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22707 echo "${ECHO_T}$wx_largefile" >&6
22711 if test "x$wx_largefile" = "xyes"; then
22712 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22713 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22715 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22716 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22717 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22718 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22719 echo $ECHO_N "(cached) $ECHO_C" >&6
22722 cat >conftest.$ac_ext <<_ACEOF
22725 cat confdefs.h >>conftest.$ac_ext
22726 cat >>conftest.$ac_ext <<_ACEOF
22727 /* end confdefs.h. */
22733 #ifndef __STDC_EXT__
22741 rm -f conftest.$ac_objext
22742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22743 (eval $ac_compile) 2>conftest.er1
22745 grep -v '^ *+' conftest.er1 >conftest.err
22747 cat conftest.err >&5
22748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22749 (exit $ac_status); } &&
22750 { ac_try='test -z "$ac_cxx_werror_flag"
22751 || test ! -s conftest.err'
22752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22753 (eval $ac_try) 2>&5
22755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756 (exit $ac_status); }; } &&
22757 { ac_try='test -s conftest.$ac_objext'
22758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22759 (eval $ac_try) 2>&5
22761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22762 (exit $ac_status); }; }; then
22763 wx_cv_STDC_EXT_required=no
22765 echo "$as_me: failed program was:" >&5
22766 sed 's/^/| /' conftest.$ac_ext >&5
22768 wx_cv_STDC_EXT_required=yes
22771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22775 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22776 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22777 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22778 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22782 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22784 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22785 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22786 if test "${ac_cv_sys_largefile_source+set}" = set; then
22787 echo $ECHO_N "(cached) $ECHO_C" >&6
22790 ac_cv_sys_largefile_source=no
22791 cat >conftest.$ac_ext <<_ACEOF
22794 cat confdefs.h >>conftest.$ac_ext
22795 cat >>conftest.$ac_ext <<_ACEOF
22796 /* end confdefs.h. */
22806 rm -f conftest.$ac_objext
22807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22808 (eval $ac_compile) 2>conftest.er1
22810 grep -v '^ *+' conftest.er1 >conftest.err
22812 cat conftest.err >&5
22813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22814 (exit $ac_status); } &&
22815 { ac_try='test -z "$ac_cxx_werror_flag"
22816 || test ! -s conftest.err'
22817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22818 (eval $ac_try) 2>&5
22820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22821 (exit $ac_status); }; } &&
22822 { ac_try='test -s conftest.$ac_objext'
22823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22824 (eval $ac_try) 2>&5
22826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22827 (exit $ac_status); }; }; then
22830 echo "$as_me: failed program was:" >&5
22831 sed 's/^/| /' conftest.$ac_ext >&5
22834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22835 cat >conftest.$ac_ext <<_ACEOF
22838 cat confdefs.h >>conftest.$ac_ext
22839 cat >>conftest.$ac_ext <<_ACEOF
22840 /* end confdefs.h. */
22841 #define _LARGEFILE_SOURCE 1
22851 rm -f conftest.$ac_objext
22852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22853 (eval $ac_compile) 2>conftest.er1
22855 grep -v '^ *+' conftest.er1 >conftest.err
22857 cat conftest.err >&5
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); } &&
22860 { ac_try='test -z "$ac_cxx_werror_flag"
22861 || test ! -s conftest.err'
22862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22863 (eval $ac_try) 2>&5
22865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22866 (exit $ac_status); }; } &&
22867 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
22873 ac_cv_sys_largefile_source=1; break
22875 echo "$as_me: failed program was:" >&5
22876 sed 's/^/| /' conftest.$ac_ext >&5
22879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22883 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22884 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22885 if test "$ac_cv_sys_largefile_source" != no; then
22887 cat >>confdefs.h <<_ACEOF
22888 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22894 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22895 # in glibc 2.1.3, but that breaks too many other things.
22896 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22897 echo "$as_me:$LINENO: checking for fseeko" >&5
22898 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22899 if test "${ac_cv_func_fseeko+set}" = set; then
22900 echo $ECHO_N "(cached) $ECHO_C" >&6
22902 cat >conftest.$ac_ext <<_ACEOF
22905 cat confdefs.h >>conftest.$ac_ext
22906 cat >>conftest.$ac_ext <<_ACEOF
22907 /* end confdefs.h. */
22912 return fseeko && fseeko (stdin, 0, 0);
22917 rm -f conftest.$ac_objext conftest$ac_exeext
22918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22919 (eval $ac_link) 2>conftest.er1
22921 grep -v '^ *+' conftest.er1 >conftest.err
22923 cat conftest.err >&5
22924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22925 (exit $ac_status); } &&
22926 { ac_try='test -z "$ac_cxx_werror_flag"
22927 || test ! -s conftest.err'
22928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22929 (eval $ac_try) 2>&5
22931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22932 (exit $ac_status); }; } &&
22933 { ac_try='test -s conftest$ac_exeext'
22934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22935 (eval $ac_try) 2>&5
22937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22938 (exit $ac_status); }; }; then
22939 ac_cv_func_fseeko=yes
22941 echo "$as_me: failed program was:" >&5
22942 sed 's/^/| /' conftest.$ac_ext >&5
22944 ac_cv_func_fseeko=no
22946 rm -f conftest.err conftest.$ac_objext \
22947 conftest$ac_exeext conftest.$ac_ext
22949 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22950 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22951 if test $ac_cv_func_fseeko = yes; then
22953 cat >>confdefs.h <<\_ACEOF
22954 #define HAVE_FSEEKO 1
22959 if test "$ac_cv_sys_largefile_source" != no; then
22960 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22964 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22965 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22966 if test "${ac_cv_c_bigendian+set}" = set; then
22967 echo $ECHO_N "(cached) $ECHO_C" >&6
22969 ac_cv_c_bigendian=unknown
22970 # See if sys/param.h defines the BYTE_ORDER macro.
22971 cat >conftest.$ac_ext <<_ACEOF
22974 cat confdefs.h >>conftest.$ac_ext
22975 cat >>conftest.$ac_ext <<_ACEOF
22976 /* end confdefs.h. */
22977 #include <sys/types.h>
22978 #include <sys/param.h>
22983 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22984 bogus endian macros
22990 rm -f conftest.$ac_objext
22991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22992 (eval $ac_compile) 2>conftest.er1
22994 grep -v '^ *+' conftest.er1 >conftest.err
22996 cat conftest.err >&5
22997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22998 (exit $ac_status); } &&
22999 { ac_try='test -z "$ac_cxx_werror_flag"
23000 || test ! -s conftest.err'
23001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23002 (eval $ac_try) 2>&5
23004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23005 (exit $ac_status); }; } &&
23006 { ac_try='test -s conftest.$ac_objext'
23007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23008 (eval $ac_try) 2>&5
23010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23011 (exit $ac_status); }; }; then
23012 # It does; now see whether it defined to BIG_ENDIAN or not.
23013 cat >conftest.$ac_ext <<_ACEOF
23016 cat confdefs.h >>conftest.$ac_ext
23017 cat >>conftest.$ac_ext <<_ACEOF
23018 /* end confdefs.h. */
23019 #include <sys/types.h>
23020 #include <sys/param.h>
23025 #if BYTE_ORDER != BIG_ENDIAN
23032 rm -f conftest.$ac_objext
23033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23034 (eval $ac_compile) 2>conftest.er1
23036 grep -v '^ *+' conftest.er1 >conftest.err
23038 cat conftest.err >&5
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); } &&
23041 { ac_try='test -z "$ac_cxx_werror_flag"
23042 || test ! -s conftest.err'
23043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23044 (eval $ac_try) 2>&5
23046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23047 (exit $ac_status); }; } &&
23048 { ac_try='test -s conftest.$ac_objext'
23049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23050 (eval $ac_try) 2>&5
23052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23053 (exit $ac_status); }; }; then
23054 ac_cv_c_bigendian=yes
23056 echo "$as_me: failed program was:" >&5
23057 sed 's/^/| /' conftest.$ac_ext >&5
23059 ac_cv_c_bigendian=no
23061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23063 echo "$as_me: failed program was:" >&5
23064 sed 's/^/| /' conftest.$ac_ext >&5
23067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23068 if test $ac_cv_c_bigendian = unknown; then
23069 if test "$cross_compiling" = yes; then
23070 ac_cv_c_bigendian=unknown
23072 cat >conftest.$ac_ext <<_ACEOF
23075 cat confdefs.h >>conftest.$ac_ext
23076 cat >>conftest.$ac_ext <<_ACEOF
23077 /* end confdefs.h. */
23079 /* Are we little or big endian? From Harbison&Steele. */
23083 char c[sizeof (long)];
23086 exit (u.c[sizeof (long) - 1] == 1);
23089 rm -f conftest$ac_exeext
23090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23091 (eval $ac_link) 2>&5
23093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23094 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23096 (eval $ac_try) 2>&5
23098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23099 (exit $ac_status); }; }; then
23100 ac_cv_c_bigendian=no
23102 echo "$as_me: program exited with status $ac_status" >&5
23103 echo "$as_me: failed program was:" >&5
23104 sed 's/^/| /' conftest.$ac_ext >&5
23106 ( exit $ac_status )
23107 ac_cv_c_bigendian=yes
23109 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23113 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23114 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
23115 if test $ac_cv_c_bigendian = unknown; then
23116 { 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
23117 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;}
23119 if test $ac_cv_c_bigendian = yes; then
23120 cat >>confdefs.h <<\_ACEOF
23121 #define WORDS_BIGENDIAN 1
23131 ac_cpp='$CXXCPP $CPPFLAGS'
23132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23138 for ac_header in iostream
23140 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23142 echo "$as_me:$LINENO: checking for $ac_header" >&5
23143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23145 echo $ECHO_N "(cached) $ECHO_C" >&6
23147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23148 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23150 # Is the header compilable?
23151 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23152 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23153 cat >conftest.$ac_ext <<_ACEOF
23156 cat confdefs.h >>conftest.$ac_ext
23157 cat >>conftest.$ac_ext <<_ACEOF
23158 /* end confdefs.h. */
23159 $ac_includes_default
23160 #include <$ac_header>
23162 rm -f conftest.$ac_objext
23163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23164 (eval $ac_compile) 2>conftest.er1
23166 grep -v '^ *+' conftest.er1 >conftest.err
23168 cat conftest.err >&5
23169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23170 (exit $ac_status); } &&
23171 { ac_try='test -z "$ac_cxx_werror_flag"
23172 || test ! -s conftest.err'
23173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23174 (eval $ac_try) 2>&5
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); }; } &&
23178 { ac_try='test -s conftest.$ac_objext'
23179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23180 (eval $ac_try) 2>&5
23182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23183 (exit $ac_status); }; }; then
23184 ac_header_compiler=yes
23186 echo "$as_me: failed program was:" >&5
23187 sed 's/^/| /' conftest.$ac_ext >&5
23189 ac_header_compiler=no
23191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23192 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23193 echo "${ECHO_T}$ac_header_compiler" >&6
23195 # Is the header present?
23196 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23197 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23198 cat >conftest.$ac_ext <<_ACEOF
23201 cat confdefs.h >>conftest.$ac_ext
23202 cat >>conftest.$ac_ext <<_ACEOF
23203 /* end confdefs.h. */
23204 #include <$ac_header>
23206 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23207 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23209 grep -v '^ *+' conftest.er1 >conftest.err
23211 cat conftest.err >&5
23212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23213 (exit $ac_status); } >/dev/null; then
23214 if test -s conftest.err; then
23215 ac_cpp_err=$ac_cxx_preproc_warn_flag
23216 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23223 if test -z "$ac_cpp_err"; then
23224 ac_header_preproc=yes
23226 echo "$as_me: failed program was:" >&5
23227 sed 's/^/| /' conftest.$ac_ext >&5
23229 ac_header_preproc=no
23231 rm -f conftest.err conftest.$ac_ext
23232 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23233 echo "${ECHO_T}$ac_header_preproc" >&6
23235 # So? What about this header?
23236 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23238 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23239 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23240 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23241 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23242 ac_header_preproc=yes
23245 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23246 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23247 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23248 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23249 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23250 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23251 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23252 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23253 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23254 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23255 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23256 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23259 ## ----------------------------------------- ##
23260 ## Report this to wx-dev@lists.wxwidgets.org ##
23261 ## ----------------------------------------- ##
23264 sed "s/^/$as_me: WARNING: /" >&2
23267 echo "$as_me:$LINENO: checking for $ac_header" >&5
23268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23270 echo $ECHO_N "(cached) $ECHO_C" >&6
23272 eval "$as_ac_Header=\$ac_header_preproc"
23274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23275 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23279 cat >>confdefs.h <<_ACEOF
23280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23288 if test "$ac_cv_header_iostream" = "yes" ; then
23291 cat >>confdefs.h <<\_ACEOF
23292 #define wxUSE_IOSTREAMH 1
23298 ac_cpp='$CXXCPP $CPPFLAGS'
23299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23306 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23307 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23308 if test "${wx_cv_cpp_bool+set}" = set; then
23309 echo $ECHO_N "(cached) $ECHO_C" >&6
23315 ac_cpp='$CXXCPP $CPPFLAGS'
23316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23321 cat >conftest.$ac_ext <<_ACEOF
23324 cat confdefs.h >>conftest.$ac_ext
23325 cat >>conftest.$ac_ext <<_ACEOF
23326 /* end confdefs.h. */
23341 rm -f conftest.$ac_objext
23342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23343 (eval $ac_compile) 2>conftest.er1
23345 grep -v '^ *+' conftest.er1 >conftest.err
23347 cat conftest.err >&5
23348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23349 (exit $ac_status); } &&
23350 { ac_try='test -z "$ac_cxx_werror_flag"
23351 || test ! -s conftest.err'
23352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23353 (eval $ac_try) 2>&5
23355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23356 (exit $ac_status); }; } &&
23357 { ac_try='test -s conftest.$ac_objext'
23358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23359 (eval $ac_try) 2>&5
23361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23362 (exit $ac_status); }; }; then
23367 echo "$as_me: failed program was:" >&5
23368 sed 's/^/| /' conftest.$ac_ext >&5
23375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23378 ac_cpp='$CXXCPP $CPPFLAGS'
23379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23385 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23386 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23388 if test "$wx_cv_cpp_bool" = "yes"; then
23389 cat >>confdefs.h <<\_ACEOF
23390 #define HAVE_BOOL 1
23397 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23398 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23399 if test "${wx_cv_explicit+set}" = set; then
23400 echo $ECHO_N "(cached) $ECHO_C" >&6
23406 ac_cpp='$CXXCPP $CPPFLAGS'
23407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23412 cat >conftest.$ac_ext <<_ACEOF
23415 cat confdefs.h >>conftest.$ac_ext
23416 cat >>conftest.$ac_ext <<_ACEOF
23417 /* end confdefs.h. */
23419 class Foo { public: explicit Foo(int) {} };
23431 rm -f conftest.$ac_objext
23432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23433 (eval $ac_compile) 2>conftest.er1
23435 grep -v '^ *+' conftest.er1 >conftest.err
23437 cat conftest.err >&5
23438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23439 (exit $ac_status); } &&
23440 { ac_try='test -z "$ac_cxx_werror_flag"
23441 || test ! -s conftest.err'
23442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23443 (eval $ac_try) 2>&5
23445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23446 (exit $ac_status); }; } &&
23447 { ac_try='test -s conftest.$ac_objext'
23448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23449 (eval $ac_try) 2>&5
23451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23452 (exit $ac_status); }; }; then
23454 cat >conftest.$ac_ext <<_ACEOF
23457 cat confdefs.h >>conftest.$ac_ext
23458 cat >>conftest.$ac_ext <<_ACEOF
23459 /* end confdefs.h. */
23461 class Foo { public: explicit Foo(int) {} };
23462 static void TakeFoo(const Foo& foo) { }
23475 rm -f conftest.$ac_objext
23476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23477 (eval $ac_compile) 2>conftest.er1
23479 grep -v '^ *+' conftest.er1 >conftest.err
23481 cat conftest.err >&5
23482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23483 (exit $ac_status); } &&
23484 { ac_try='test -z "$ac_cxx_werror_flag"
23485 || test ! -s conftest.err'
23486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23487 (eval $ac_try) 2>&5
23489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23490 (exit $ac_status); }; } &&
23491 { ac_try='test -s conftest.$ac_objext'
23492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23493 (eval $ac_try) 2>&5
23495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23496 (exit $ac_status); }; }; then
23499 echo "$as_me: failed program was:" >&5
23500 sed 's/^/| /' conftest.$ac_ext >&5
23505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23508 echo "$as_me: failed program was:" >&5
23509 sed 's/^/| /' conftest.$ac_ext >&5
23514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23517 ac_cpp='$CXXCPP $CPPFLAGS'
23518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23524 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23525 echo "${ECHO_T}$wx_cv_explicit" >&6
23527 if test "$wx_cv_explicit" = "yes"; then
23528 cat >>confdefs.h <<\_ACEOF
23529 #define HAVE_EXPLICIT 1
23535 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23536 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23537 if test "${ac_cv_cxx_const_cast+set}" = set; then
23538 echo $ECHO_N "(cached) $ECHO_C" >&6
23543 ac_cpp='$CXXCPP $CPPFLAGS'
23544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23548 cat >conftest.$ac_ext <<_ACEOF
23551 cat confdefs.h >>conftest.$ac_ext
23552 cat >>conftest.$ac_ext <<_ACEOF
23553 /* end confdefs.h. */
23558 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23563 rm -f conftest.$ac_objext
23564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23565 (eval $ac_compile) 2>conftest.er1
23567 grep -v '^ *+' conftest.er1 >conftest.err
23569 cat conftest.err >&5
23570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23571 (exit $ac_status); } &&
23572 { ac_try='test -z "$ac_cxx_werror_flag"
23573 || test ! -s conftest.err'
23574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23575 (eval $ac_try) 2>&5
23577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578 (exit $ac_status); }; } &&
23579 { ac_try='test -s conftest.$ac_objext'
23580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23581 (eval $ac_try) 2>&5
23583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23584 (exit $ac_status); }; }; then
23585 ac_cv_cxx_const_cast=yes
23587 echo "$as_me: failed program was:" >&5
23588 sed 's/^/| /' conftest.$ac_ext >&5
23590 ac_cv_cxx_const_cast=no
23592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23594 ac_cpp='$CXXCPP $CPPFLAGS'
23595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23601 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23602 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23603 if test "$ac_cv_cxx_const_cast" = yes; then
23605 cat >>confdefs.h <<\_ACEOF
23606 #define HAVE_CONST_CAST
23611 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23612 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23613 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23614 echo $ECHO_N "(cached) $ECHO_C" >&6
23619 ac_cpp='$CXXCPP $CPPFLAGS'
23620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23624 cat >conftest.$ac_ext <<_ACEOF
23627 cat confdefs.h >>conftest.$ac_ext
23628 cat >>conftest.$ac_ext <<_ACEOF
23629 /* end confdefs.h. */
23630 #include <typeinfo>
23631 class Base { public : Base () {} virtual void f () = 0;};
23632 class Derived : public Base { public : Derived () {} virtual void f () {} };
23633 class Unrelated { public : Unrelated () {} };
23634 int g (Unrelated&) { return 0; }
23639 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23644 rm -f conftest.$ac_objext
23645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23646 (eval $ac_compile) 2>conftest.er1
23648 grep -v '^ *+' conftest.er1 >conftest.err
23650 cat conftest.err >&5
23651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23652 (exit $ac_status); } &&
23653 { ac_try='test -z "$ac_cxx_werror_flag"
23654 || test ! -s conftest.err'
23655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23656 (eval $ac_try) 2>&5
23658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23659 (exit $ac_status); }; } &&
23660 { ac_try='test -s conftest.$ac_objext'
23661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23662 (eval $ac_try) 2>&5
23664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23665 (exit $ac_status); }; }; then
23666 ac_cv_cxx_reinterpret_cast=yes
23668 echo "$as_me: failed program was:" >&5
23669 sed 's/^/| /' conftest.$ac_ext >&5
23671 ac_cv_cxx_reinterpret_cast=no
23673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23675 ac_cpp='$CXXCPP $CPPFLAGS'
23676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23682 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23683 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23684 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23686 cat >>confdefs.h <<\_ACEOF
23687 #define HAVE_REINTERPRET_CAST
23692 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23693 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23694 if test "${ac_cv_cxx_static_cast+set}" = set; then
23695 echo $ECHO_N "(cached) $ECHO_C" >&6
23700 ac_cpp='$CXXCPP $CPPFLAGS'
23701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23705 cat >conftest.$ac_ext <<_ACEOF
23708 cat confdefs.h >>conftest.$ac_ext
23709 cat >>conftest.$ac_ext <<_ACEOF
23710 /* end confdefs.h. */
23711 #include <typeinfo>
23712 class Base { public : Base () {} virtual void f () = 0; };
23713 class Derived : public Base { public : Derived () {} virtual void f () {} };
23714 int g (Derived&) { return 0; }
23719 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23724 rm -f conftest.$ac_objext
23725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23726 (eval $ac_compile) 2>conftest.er1
23728 grep -v '^ *+' conftest.er1 >conftest.err
23730 cat conftest.err >&5
23731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23732 (exit $ac_status); } &&
23733 { ac_try='test -z "$ac_cxx_werror_flag"
23734 || test ! -s conftest.err'
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); }; } &&
23740 { ac_try='test -s conftest.$ac_objext'
23741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23742 (eval $ac_try) 2>&5
23744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23745 (exit $ac_status); }; }; then
23746 ac_cv_cxx_static_cast=yes
23748 echo "$as_me: failed program was:" >&5
23749 sed 's/^/| /' conftest.$ac_ext >&5
23751 ac_cv_cxx_static_cast=no
23753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23755 ac_cpp='$CXXCPP $CPPFLAGS'
23756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23762 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23763 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23764 if test "$ac_cv_cxx_static_cast" = yes; then
23766 cat >>confdefs.h <<\_ACEOF
23767 #define HAVE_STATIC_CAST
23773 if test "x$SUNCXX" = xyes; then
23774 CXXFLAGS="-features=tmplife $CXXFLAGS"
23777 if test "x$SUNCC" = xyes; then
23778 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23781 if test "x$SGICC" = "xyes"; then
23782 CFLAGS="-woff 3970 $CFLAGS"
23784 if test "x$SGICXX" = "xyes"; then
23785 CXXFLAGS="-woff 3970 $CXXFLAGS"
23788 if test "x$HPCC" = "xyes"; then
23789 CFLAGS="+W 2011,2450 $CFLAGS"
23791 if test "x$HPCXX" = "xyes"; then
23792 CXXFLAGS="+W 2340 $CXXFLAGS"
23795 if test "x$COMPAQCXX" = "xyes"; then
23796 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23799 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23800 if test "$wxUSE_UNICODE" = "yes"; then
23801 std_string="std::wstring"
23802 char_type="wchar_t"
23804 std_string="std::string"
23808 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23809 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23810 cat >conftest.$ac_ext <<_ACEOF
23813 cat confdefs.h >>conftest.$ac_ext
23814 cat >>conftest.$ac_ext <<_ACEOF
23815 /* end confdefs.h. */
23825 rm -f conftest.$ac_objext
23826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23827 (eval $ac_compile) 2>conftest.er1
23829 grep -v '^ *+' conftest.er1 >conftest.err
23831 cat conftest.err >&5
23832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23833 (exit $ac_status); } &&
23834 { ac_try='test -z "$ac_cxx_werror_flag"
23835 || test ! -s conftest.err'
23836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23837 (eval $ac_try) 2>&5
23839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23840 (exit $ac_status); }; } &&
23841 { ac_try='test -s conftest.$ac_objext'
23842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23843 (eval $ac_try) 2>&5
23845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23846 (exit $ac_status); }; }; then
23847 echo "$as_me:$LINENO: result: yes" >&5
23848 echo "${ECHO_T}yes" >&6
23849 cat >>confdefs.h <<\_ACEOF
23850 #define HAVE_STD_WSTRING 1
23854 echo "$as_me: failed program was:" >&5
23855 sed 's/^/| /' conftest.$ac_ext >&5
23857 echo "$as_me:$LINENO: result: no" >&5
23858 echo "${ECHO_T}no" >&6
23859 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23860 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23861 cat >conftest.$ac_ext <<_ACEOF
23864 cat confdefs.h >>conftest.$ac_ext
23865 cat >>conftest.$ac_ext <<_ACEOF
23866 /* end confdefs.h. */
23868 #ifdef HAVE_WCHAR_H
23870 # include <stddef.h>
23872 # include <wchar.h>
23874 #ifdef HAVE_STDLIB_H
23875 # include <stdlib.h>
23883 std::basic_string<$char_type> foo;
23884 const $char_type* dummy = foo.c_str();
23889 rm -f conftest.$ac_objext
23890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23891 (eval $ac_compile) 2>conftest.er1
23893 grep -v '^ *+' conftest.er1 >conftest.err
23895 cat conftest.err >&5
23896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23897 (exit $ac_status); } &&
23898 { ac_try='test -z "$ac_cxx_werror_flag"
23899 || test ! -s conftest.err'
23900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23901 (eval $ac_try) 2>&5
23903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23904 (exit $ac_status); }; } &&
23905 { ac_try='test -s conftest.$ac_objext'
23906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23907 (eval $ac_try) 2>&5
23909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23910 (exit $ac_status); }; }; then
23911 echo "$as_me:$LINENO: result: yes" >&5
23912 echo "${ECHO_T}yes" >&6
23914 echo "$as_me: failed program was:" >&5
23915 sed 's/^/| /' conftest.$ac_ext >&5
23917 echo "$as_me:$LINENO: result: no" >&5
23918 echo "${ECHO_T}no" >&6
23919 if test "$wxUSE_STL" = "yes"; then
23920 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23921 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23922 { (exit 1); exit 1; }; }
23923 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23924 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23925 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23926 { (exit 1); exit 1; }; }
23928 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23929 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23930 wxUSE_STD_STRING=no
23935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23941 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23942 echo "$as_me:$LINENO: checking for std::istream" >&5
23943 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23944 if test "${ac_cv_type_std__istream+set}" = set; then
23945 echo $ECHO_N "(cached) $ECHO_C" >&6
23947 cat >conftest.$ac_ext <<_ACEOF
23950 cat confdefs.h >>conftest.$ac_ext
23951 cat >>conftest.$ac_ext <<_ACEOF
23952 /* end confdefs.h. */
23953 #include <iostream>
23958 if ((std::istream *) 0)
23960 if (sizeof (std::istream))
23966 rm -f conftest.$ac_objext
23967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23968 (eval $ac_compile) 2>conftest.er1
23970 grep -v '^ *+' conftest.er1 >conftest.err
23972 cat conftest.err >&5
23973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23974 (exit $ac_status); } &&
23975 { ac_try='test -z "$ac_cxx_werror_flag"
23976 || test ! -s conftest.err'
23977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23978 (eval $ac_try) 2>&5
23980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23981 (exit $ac_status); }; } &&
23982 { ac_try='test -s conftest.$ac_objext'
23983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23984 (eval $ac_try) 2>&5
23986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23987 (exit $ac_status); }; }; then
23988 ac_cv_type_std__istream=yes
23990 echo "$as_me: failed program was:" >&5
23991 sed 's/^/| /' conftest.$ac_ext >&5
23993 ac_cv_type_std__istream=no
23995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23997 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23998 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23999 if test $ac_cv_type_std__istream = yes; then
24001 cat >>confdefs.h <<_ACEOF
24002 #define HAVE_STD__ISTREAM 1
24007 wxUSE_STD_IOSTREAM=no
24009 echo "$as_me:$LINENO: checking for std::ostream" >&5
24010 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
24011 if test "${ac_cv_type_std__ostream+set}" = set; then
24012 echo $ECHO_N "(cached) $ECHO_C" >&6
24014 cat >conftest.$ac_ext <<_ACEOF
24017 cat confdefs.h >>conftest.$ac_ext
24018 cat >>conftest.$ac_ext <<_ACEOF
24019 /* end confdefs.h. */
24020 #include <iostream>
24025 if ((std::ostream *) 0)
24027 if (sizeof (std::ostream))
24033 rm -f conftest.$ac_objext
24034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24035 (eval $ac_compile) 2>conftest.er1
24037 grep -v '^ *+' conftest.er1 >conftest.err
24039 cat conftest.err >&5
24040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24041 (exit $ac_status); } &&
24042 { ac_try='test -z "$ac_cxx_werror_flag"
24043 || test ! -s conftest.err'
24044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24045 (eval $ac_try) 2>&5
24047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24048 (exit $ac_status); }; } &&
24049 { ac_try='test -s conftest.$ac_objext'
24050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24051 (eval $ac_try) 2>&5
24053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24054 (exit $ac_status); }; }; then
24055 ac_cv_type_std__ostream=yes
24057 echo "$as_me: failed program was:" >&5
24058 sed 's/^/| /' conftest.$ac_ext >&5
24060 ac_cv_type_std__ostream=no
24062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24064 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24065 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
24066 if test $ac_cv_type_std__ostream = yes; then
24068 cat >>confdefs.h <<_ACEOF
24069 #define HAVE_STD__OSTREAM 1
24074 wxUSE_STD_IOSTREAM=no
24078 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24079 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
24080 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24081 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24082 { (exit 1); exit 1; }; }
24084 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24085 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24090 if test "$wxUSE_STL" = "yes"; then
24091 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24092 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
24093 cat >conftest.$ac_ext <<_ACEOF
24096 cat confdefs.h >>conftest.$ac_ext
24097 cat >>conftest.$ac_ext <<_ACEOF
24098 /* end confdefs.h. */
24100 #include <functional>
24101 #include <algorithm>
24107 std::vector<int> moo;
24108 std::list<int> foo;
24109 std::vector<int>::iterator it =
24110 std::find_if(moo.begin(), moo.end(),
24111 std::bind2nd(std::less<int>(), 3));
24116 rm -f conftest.$ac_objext
24117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24118 (eval $ac_compile) 2>conftest.er1
24120 grep -v '^ *+' conftest.er1 >conftest.err
24122 cat conftest.err >&5
24123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124 (exit $ac_status); } &&
24125 { ac_try='test -z "$ac_cxx_werror_flag"
24126 || test ! -s conftest.err'
24127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24128 (eval $ac_try) 2>&5
24130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24131 (exit $ac_status); }; } &&
24132 { ac_try='test -s conftest.$ac_objext'
24133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24134 (eval $ac_try) 2>&5
24136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24137 (exit $ac_status); }; }; then
24138 echo "$as_me:$LINENO: result: yes" >&5
24139 echo "${ECHO_T}yes" >&6
24141 echo "$as_me: failed program was:" >&5
24142 sed 's/^/| /' conftest.$ac_ext >&5
24144 echo "$as_me:$LINENO: result: no" >&5
24145 echo "${ECHO_T}no" >&6
24146 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
24147 echo "$as_me: error: Basic STL functionality missing" >&2;}
24148 { (exit 1); exit 1; }; }
24150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24152 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24153 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24154 cat >conftest.$ac_ext <<_ACEOF
24157 cat confdefs.h >>conftest.$ac_ext
24158 cat >>conftest.$ac_ext <<_ACEOF
24159 /* end confdefs.h. */
24164 std::string foo, bar;
24166 foo.compare(1, 1, bar);
24167 foo.compare(1, 1, bar, 1, 1);
24169 foo.compare(1, 1, "");
24170 foo.compare(1, 1, "", 2);
24175 rm -f conftest.$ac_objext
24176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24177 (eval $ac_compile) 2>conftest.er1
24179 grep -v '^ *+' conftest.er1 >conftest.err
24181 cat conftest.err >&5
24182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24183 (exit $ac_status); } &&
24184 { ac_try='test -z "$ac_cxx_werror_flag"
24185 || test ! -s conftest.err'
24186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24187 (eval $ac_try) 2>&5
24189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24190 (exit $ac_status); }; } &&
24191 { ac_try='test -s conftest.$ac_objext'
24192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24193 (eval $ac_try) 2>&5
24195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24196 (exit $ac_status); }; }; then
24197 echo "$as_me:$LINENO: result: yes" >&5
24198 echo "${ECHO_T}yes" >&6
24199 cat >>confdefs.h <<\_ACEOF
24200 #define HAVE_STD_STRING_COMPARE 1
24204 echo "$as_me: failed program was:" >&5
24205 sed 's/^/| /' conftest.$ac_ext >&5
24207 echo "$as_me:$LINENO: result: no" >&5
24208 echo "${ECHO_T}no" >&6
24210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24212 if test "${ac_cv_header_hash_map+set}" = set; then
24213 echo "$as_me:$LINENO: checking for hash_map" >&5
24214 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24215 if test "${ac_cv_header_hash_map+set}" = set; then
24216 echo $ECHO_N "(cached) $ECHO_C" >&6
24218 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24219 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24221 # Is the header compilable?
24222 echo "$as_me:$LINENO: checking hash_map usability" >&5
24223 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24224 cat >conftest.$ac_ext <<_ACEOF
24227 cat confdefs.h >>conftest.$ac_ext
24228 cat >>conftest.$ac_ext <<_ACEOF
24229 /* end confdefs.h. */
24230 $ac_includes_default
24231 #include <hash_map>
24233 rm -f conftest.$ac_objext
24234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24235 (eval $ac_compile) 2>conftest.er1
24237 grep -v '^ *+' conftest.er1 >conftest.err
24239 cat conftest.err >&5
24240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24241 (exit $ac_status); } &&
24242 { ac_try='test -z "$ac_cxx_werror_flag"
24243 || test ! -s conftest.err'
24244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24245 (eval $ac_try) 2>&5
24247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24248 (exit $ac_status); }; } &&
24249 { ac_try='test -s conftest.$ac_objext'
24250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24251 (eval $ac_try) 2>&5
24253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24254 (exit $ac_status); }; }; then
24255 ac_header_compiler=yes
24257 echo "$as_me: failed program was:" >&5
24258 sed 's/^/| /' conftest.$ac_ext >&5
24260 ac_header_compiler=no
24262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24263 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24264 echo "${ECHO_T}$ac_header_compiler" >&6
24266 # Is the header present?
24267 echo "$as_me:$LINENO: checking hash_map presence" >&5
24268 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24269 cat >conftest.$ac_ext <<_ACEOF
24272 cat confdefs.h >>conftest.$ac_ext
24273 cat >>conftest.$ac_ext <<_ACEOF
24274 /* end confdefs.h. */
24275 #include <hash_map>
24277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24278 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24280 grep -v '^ *+' conftest.er1 >conftest.err
24282 cat conftest.err >&5
24283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24284 (exit $ac_status); } >/dev/null; then
24285 if test -s conftest.err; then
24286 ac_cpp_err=$ac_cxx_preproc_warn_flag
24287 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24294 if test -z "$ac_cpp_err"; then
24295 ac_header_preproc=yes
24297 echo "$as_me: failed program was:" >&5
24298 sed 's/^/| /' conftest.$ac_ext >&5
24300 ac_header_preproc=no
24302 rm -f conftest.err conftest.$ac_ext
24303 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24304 echo "${ECHO_T}$ac_header_preproc" >&6
24306 # So? What about this header?
24307 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24309 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24310 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24311 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24312 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24313 ac_header_preproc=yes
24316 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24317 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24318 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24319 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24320 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24321 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24322 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24323 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24324 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24325 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24326 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24327 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24330 ## ----------------------------------------- ##
24331 ## Report this to wx-dev@lists.wxwidgets.org ##
24332 ## ----------------------------------------- ##
24335 sed "s/^/$as_me: WARNING: /" >&2
24338 echo "$as_me:$LINENO: checking for hash_map" >&5
24339 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24340 if test "${ac_cv_header_hash_map+set}" = set; then
24341 echo $ECHO_N "(cached) $ECHO_C" >&6
24343 ac_cv_header_hash_map=$ac_header_preproc
24345 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24346 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24349 if test $ac_cv_header_hash_map = yes; then
24350 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24351 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24352 cat >conftest.$ac_ext <<_ACEOF
24355 cat confdefs.h >>conftest.$ac_ext
24356 cat >>conftest.$ac_ext <<_ACEOF
24357 /* end confdefs.h. */
24358 #include <hash_map>
24359 #include <hash_set>
24363 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24364 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24369 rm -f conftest.$ac_objext
24370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24371 (eval $ac_compile) 2>conftest.er1
24373 grep -v '^ *+' conftest.er1 >conftest.err
24375 cat conftest.err >&5
24376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24377 (exit $ac_status); } &&
24378 { ac_try='test -z "$ac_cxx_werror_flag"
24379 || test ! -s conftest.err'
24380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24381 (eval $ac_try) 2>&5
24383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24384 (exit $ac_status); }; } &&
24385 { ac_try='test -s conftest.$ac_objext'
24386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24387 (eval $ac_try) 2>&5
24389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24390 (exit $ac_status); }; }; then
24391 echo "$as_me:$LINENO: result: yes" >&5
24392 echo "${ECHO_T}yes" >&6
24393 cat >>confdefs.h <<\_ACEOF
24394 #define HAVE_HASH_MAP 1
24397 cat >>confdefs.h <<\_ACEOF
24398 #define HAVE_STD_HASH_MAP 1
24402 echo "$as_me: failed program was:" >&5
24403 sed 's/^/| /' conftest.$ac_ext >&5
24405 echo "$as_me:$LINENO: result: no" >&5
24406 echo "${ECHO_T}no" >&6
24408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24414 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24415 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24416 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24417 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24418 echo $ECHO_N "(cached) $ECHO_C" >&6
24420 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24421 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24423 # Is the header compilable?
24424 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24425 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24426 cat >conftest.$ac_ext <<_ACEOF
24429 cat confdefs.h >>conftest.$ac_ext
24430 cat >>conftest.$ac_ext <<_ACEOF
24431 /* end confdefs.h. */
24432 $ac_includes_default
24433 #include <ext/hash_map>
24435 rm -f conftest.$ac_objext
24436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24437 (eval $ac_compile) 2>conftest.er1
24439 grep -v '^ *+' conftest.er1 >conftest.err
24441 cat conftest.err >&5
24442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24443 (exit $ac_status); } &&
24444 { ac_try='test -z "$ac_cxx_werror_flag"
24445 || test ! -s conftest.err'
24446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24447 (eval $ac_try) 2>&5
24449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24450 (exit $ac_status); }; } &&
24451 { ac_try='test -s conftest.$ac_objext'
24452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24453 (eval $ac_try) 2>&5
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); }; }; then
24457 ac_header_compiler=yes
24459 echo "$as_me: failed program was:" >&5
24460 sed 's/^/| /' conftest.$ac_ext >&5
24462 ac_header_compiler=no
24464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24465 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24466 echo "${ECHO_T}$ac_header_compiler" >&6
24468 # Is the header present?
24469 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24470 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24471 cat >conftest.$ac_ext <<_ACEOF
24474 cat confdefs.h >>conftest.$ac_ext
24475 cat >>conftest.$ac_ext <<_ACEOF
24476 /* end confdefs.h. */
24477 #include <ext/hash_map>
24479 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24480 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24482 grep -v '^ *+' conftest.er1 >conftest.err
24484 cat conftest.err >&5
24485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24486 (exit $ac_status); } >/dev/null; then
24487 if test -s conftest.err; then
24488 ac_cpp_err=$ac_cxx_preproc_warn_flag
24489 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24496 if test -z "$ac_cpp_err"; then
24497 ac_header_preproc=yes
24499 echo "$as_me: failed program was:" >&5
24500 sed 's/^/| /' conftest.$ac_ext >&5
24502 ac_header_preproc=no
24504 rm -f conftest.err conftest.$ac_ext
24505 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24506 echo "${ECHO_T}$ac_header_preproc" >&6
24508 # So? What about this header?
24509 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24511 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24512 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24513 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24514 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24515 ac_header_preproc=yes
24518 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24519 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24520 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24521 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24522 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24523 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24524 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24525 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24526 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24527 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24528 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24529 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24532 ## ----------------------------------------- ##
24533 ## Report this to wx-dev@lists.wxwidgets.org ##
24534 ## ----------------------------------------- ##
24537 sed "s/^/$as_me: WARNING: /" >&2
24540 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24541 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24542 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24543 echo $ECHO_N "(cached) $ECHO_C" >&6
24545 ac_cv_header_ext_hash_map=$ac_header_preproc
24547 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24548 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24551 if test $ac_cv_header_ext_hash_map = yes; then
24552 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24553 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24554 cat >conftest.$ac_ext <<_ACEOF
24557 cat confdefs.h >>conftest.$ac_ext
24558 cat >>conftest.$ac_ext <<_ACEOF
24559 /* end confdefs.h. */
24560 #include <ext/hash_map>
24561 #include <ext/hash_set>
24565 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24566 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24571 rm -f conftest.$ac_objext
24572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24573 (eval $ac_compile) 2>conftest.er1
24575 grep -v '^ *+' conftest.er1 >conftest.err
24577 cat conftest.err >&5
24578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24579 (exit $ac_status); } &&
24580 { ac_try='test -z "$ac_cxx_werror_flag"
24581 || test ! -s conftest.err'
24582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24583 (eval $ac_try) 2>&5
24585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24586 (exit $ac_status); }; } &&
24587 { ac_try='test -s conftest.$ac_objext'
24588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24589 (eval $ac_try) 2>&5
24591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24592 (exit $ac_status); }; }; then
24593 echo "$as_me:$LINENO: result: yes" >&5
24594 echo "${ECHO_T}yes" >&6
24595 cat >>confdefs.h <<\_ACEOF
24596 #define HAVE_EXT_HASH_MAP 1
24599 cat >>confdefs.h <<\_ACEOF
24600 #define HAVE_GNU_CXX_HASH_MAP 1
24604 echo "$as_me: failed program was:" >&5
24605 sed 's/^/| /' conftest.$ac_ext >&5
24607 echo "$as_me:$LINENO: result: no" >&5
24608 echo "${ECHO_T}no" >&6
24610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24619 /usr/local/include \
24621 /usr/Motif-2.1/include \
24622 /usr/Motif-1.2/include \
24623 /usr/include/Motif1.2 \
24626 /usr/openwin/include \
24630 /usr/X11R6/include \
24631 /usr/X11R6.4/include \
24632 /usr/X11R5/include \
24633 /usr/X11R4/include \
24635 /usr/include/X11R6 \
24636 /usr/include/X11R5 \
24637 /usr/include/X11R4 \
24639 /usr/local/X11R6/include \
24640 /usr/local/X11R5/include \
24641 /usr/local/X11R4/include \
24643 /usr/local/include/X11R6 \
24644 /usr/local/include/X11R5 \
24645 /usr/local/include/X11R4 \
24649 /usr/local/X11/include \
24650 /usr/local/include/X11 \
24652 /usr/XFree86/include/X11 \
24655 /usr/openwin/share/include"
24657 echo "$as_me:$LINENO: checking for libraries directory" >&5
24658 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24662 if test "${wx_cv_std_libpath+set}" = set; then
24663 echo $ECHO_N "(cached) $ECHO_C" >&6
24666 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24667 for e in a so sl dylib dll.a; do
24669 if test -f $libc; then
24672 cat >conftest.$ac_ext <<_ACEOF
24673 int main() { return 0; }
24675 rm -f conftest.$ac_objext conftest$ac_exeext
24676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24677 (eval $ac_link) 2>conftest.er1
24679 grep -v '^ *+' conftest.er1 >conftest.err
24681 cat conftest.err >&5
24682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24683 (exit $ac_status); } &&
24684 { ac_try='test -z "$ac_cxx_werror_flag"
24685 || test ! -s conftest.err'
24686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24687 (eval $ac_try) 2>&5
24689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690 (exit $ac_status); }; } &&
24691 { ac_try='test -s conftest$ac_exeext'
24692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24693 (eval $ac_try) 2>&5
24695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24696 (exit $ac_status); }; }; then
24697 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24699 echo "$as_me: failed program was:" >&5
24700 sed 's/^/| /' conftest.$ac_ext >&5
24703 rm -f conftest.err conftest.$ac_objext \
24704 conftest$ac_exeext conftest.$ac_ext
24706 if test "x$wx_cv_std_libpath" != "x"; then
24712 if test "x$wx_cv_std_libpath" = "x"; then
24713 wx_cv_std_libpath="lib"
24722 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24723 wx_cv_std_libpath="lib/64"
24725 wx_cv_std_libpath="lib"
24730 if test "$ac_cv_sizeof_void_p" = 8 -a \
24731 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24732 wx_cv_std_libpath="lib64"
24734 wx_cv_std_libpath="lib"
24739 wx_cv_std_libpath="lib";
24743 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24744 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24746 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24748 if test "$build" != "$host" -a "$GCC" = yes; then
24749 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24750 cross_root=`dirname $cross_root`
24751 cross_root=`dirname $cross_root`
24753 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24754 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24755 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24757 if test -z "$PKG_CONFIG_PATH"; then
24758 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24759 export PKG_CONFIG_PATH
24762 if test -z "$x_includes" -o "$x_includes" = NONE; then
24765 for ac_dir in $SEARCH_INCLUDE /usr/include;
24767 if test -f "$ac_dir/X11/Intrinsic.h"; then
24768 ac_find_includes=$ac_dir
24773 x_includes=$ac_find_includes
24775 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24778 for ac_dir in $SEARCH_LIB;
24780 for ac_extension in a so sl dylib dll.a; do
24781 if test -f "$ac_dir/libXt.$ac_extension"; then
24782 ac_find_libraries=$ac_dir
24788 x_libraries=$ac_find_libraries
24794 cat >confcache <<\_ACEOF
24795 # This file is a shell script that caches the results of configure
24796 # tests run on this system so they can be shared between configure
24797 # scripts and configure runs, see configure's option --config-cache.
24798 # It is not useful on other systems. If it contains results you don't
24799 # want to keep, you may remove or edit it.
24801 # config.status only pays attention to the cache file if you give it
24802 # the --recheck option to rerun configure.
24804 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24805 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24806 # following values.
24810 # The following way of writing the cache mishandles newlines in values,
24811 # but we know of no workaround that is simple, portable, and efficient.
24812 # So, don't put newlines in cache variables' values.
24813 # Ultrix sh set writes to stderr and can't be redirected directly,
24814 # and sets the high bit in the cache file unless we assign to the vars.
24817 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24819 # `set' does not quote correctly, so add quotes (double-quote
24820 # substitution turns \\\\ into \\, and sed turns \\ into \).
24823 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24826 # `set' quotes correctly as required by POSIX, so do not add quotes.
24828 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24835 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24837 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24839 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24840 if test -w $cache_file; then
24841 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24842 cat confcache >$cache_file
24844 echo "not updating unwritable cache $cache_file"
24849 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24850 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24851 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24852 if test "${wx_cv_lib_glibc21+set}" = set; then
24853 echo $ECHO_N "(cached) $ECHO_C" >&6
24856 cat >conftest.$ac_ext <<_ACEOF
24859 cat confdefs.h >>conftest.$ac_ext
24860 cat >>conftest.$ac_ext <<_ACEOF
24861 /* end confdefs.h. */
24862 #include <features.h>
24867 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24875 rm -f conftest.$ac_objext
24876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24877 (eval $ac_compile) 2>conftest.er1
24879 grep -v '^ *+' conftest.er1 >conftest.err
24881 cat conftest.err >&5
24882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24883 (exit $ac_status); } &&
24884 { ac_try='test -z "$ac_cxx_werror_flag"
24885 || test ! -s conftest.err'
24886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24887 (eval $ac_try) 2>&5
24889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24890 (exit $ac_status); }; } &&
24891 { ac_try='test -s conftest.$ac_objext'
24892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24893 (eval $ac_try) 2>&5
24895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24896 (exit $ac_status); }; }; then
24898 wx_cv_lib_glibc21=yes
24901 echo "$as_me: failed program was:" >&5
24902 sed 's/^/| /' conftest.$ac_ext >&5
24905 wx_cv_lib_glibc21=no
24909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24912 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24913 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24914 if test "$wx_cv_lib_glibc21" = "yes"; then
24915 cat >>confdefs.h <<\_ACEOF
24916 #define wxHAVE_GLIBC2 1
24922 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24923 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24924 cat >>confdefs.h <<\_ACEOF
24925 #define _GNU_SOURCE 1
24936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24937 echo "$as_me:$LINENO: checking for $ac_func" >&5
24938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24939 if eval "test \"\${$as_ac_var+set}\" = set"; then
24940 echo $ECHO_N "(cached) $ECHO_C" >&6
24942 cat >conftest.$ac_ext <<_ACEOF
24945 cat confdefs.h >>conftest.$ac_ext
24946 cat >>conftest.$ac_ext <<_ACEOF
24947 /* end confdefs.h. */
24948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24950 #define $ac_func innocuous_$ac_func
24952 /* System header to define __stub macros and hopefully few prototypes,
24953 which can conflict with char $ac_func (); below.
24954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24955 <limits.h> exists even on freestanding compilers. */
24958 # include <limits.h>
24960 # include <assert.h>
24965 /* Override any gcc2 internal prototype to avoid an error. */
24970 /* We use char because int might match the return type of a gcc2
24971 builtin and then its argument prototype would still apply. */
24973 /* The GNU C library defines this for functions which it implements
24974 to always fail with ENOSYS. Some functions are actually named
24975 something starting with __ and the normal name is an alias. */
24976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24979 char (*f) () = $ac_func;
24988 return f != $ac_func;
24993 rm -f conftest.$ac_objext conftest$ac_exeext
24994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24995 (eval $ac_link) 2>conftest.er1
24997 grep -v '^ *+' conftest.er1 >conftest.err
24999 cat conftest.err >&5
25000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25001 (exit $ac_status); } &&
25002 { ac_try='test -z "$ac_cxx_werror_flag"
25003 || test ! -s conftest.err'
25004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25005 (eval $ac_try) 2>&5
25007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25008 (exit $ac_status); }; } &&
25009 { ac_try='test -s conftest$ac_exeext'
25010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25011 (eval $ac_try) 2>&5
25013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25014 (exit $ac_status); }; }; then
25015 eval "$as_ac_var=yes"
25017 echo "$as_me: failed program was:" >&5
25018 sed 's/^/| /' conftest.$ac_ext >&5
25020 eval "$as_ac_var=no"
25022 rm -f conftest.err conftest.$ac_objext \
25023 conftest$ac_exeext conftest.$ac_ext
25025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25027 if test `eval echo '${'$as_ac_var'}'` = yes; then
25028 cat >>confdefs.h <<_ACEOF
25029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25036 for ac_func in floor
25038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25039 echo "$as_me:$LINENO: checking for $ac_func" >&5
25040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25041 if eval "test \"\${$as_ac_var+set}\" = set"; then
25042 echo $ECHO_N "(cached) $ECHO_C" >&6
25044 cat >conftest.$ac_ext <<_ACEOF
25047 cat confdefs.h >>conftest.$ac_ext
25048 cat >>conftest.$ac_ext <<_ACEOF
25049 /* end confdefs.h. */
25050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25052 #define $ac_func innocuous_$ac_func
25054 /* System header to define __stub macros and hopefully few prototypes,
25055 which can conflict with char $ac_func (); below.
25056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25057 <limits.h> exists even on freestanding compilers. */
25060 # include <limits.h>
25062 # include <assert.h>
25067 /* Override any gcc2 internal prototype to avoid an error. */
25072 /* We use char because int might match the return type of a gcc2
25073 builtin and then its argument prototype would still apply. */
25075 /* The GNU C library defines this for functions which it implements
25076 to always fail with ENOSYS. Some functions are actually named
25077 something starting with __ and the normal name is an alias. */
25078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25081 char (*f) () = $ac_func;
25090 return f != $ac_func;
25095 rm -f conftest.$ac_objext conftest$ac_exeext
25096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25097 (eval $ac_link) 2>conftest.er1
25099 grep -v '^ *+' conftest.er1 >conftest.err
25101 cat conftest.err >&5
25102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25103 (exit $ac_status); } &&
25104 { ac_try='test -z "$ac_cxx_werror_flag"
25105 || test ! -s conftest.err'
25106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25107 (eval $ac_try) 2>&5
25109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25110 (exit $ac_status); }; } &&
25111 { ac_try='test -s conftest$ac_exeext'
25112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25113 (eval $ac_try) 2>&5
25115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25116 (exit $ac_status); }; }; then
25117 eval "$as_ac_var=yes"
25119 echo "$as_me: failed program was:" >&5
25120 sed 's/^/| /' conftest.$ac_ext >&5
25122 eval "$as_ac_var=no"
25124 rm -f conftest.err conftest.$ac_objext \
25125 conftest$ac_exeext conftest.$ac_ext
25127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25129 if test `eval echo '${'$as_ac_var'}'` = yes; then
25130 cat >>confdefs.h <<_ACEOF
25131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25137 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25138 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
25139 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25140 echo "$as_me:$LINENO: result: yes" >&5
25141 echo "${ECHO_T}yes" >&6
25143 echo "$as_me:$LINENO: result: no" >&5
25144 echo "${ECHO_T}no" >&6
25146 # use different functions to avoid configure caching
25152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25153 echo "$as_me:$LINENO: checking for $ac_func" >&5
25154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25155 if eval "test \"\${$as_ac_var+set}\" = set"; then
25156 echo $ECHO_N "(cached) $ECHO_C" >&6
25158 cat >conftest.$ac_ext <<_ACEOF
25161 cat confdefs.h >>conftest.$ac_ext
25162 cat >>conftest.$ac_ext <<_ACEOF
25163 /* end confdefs.h. */
25164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25166 #define $ac_func innocuous_$ac_func
25168 /* System header to define __stub macros and hopefully few prototypes,
25169 which can conflict with char $ac_func (); below.
25170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25171 <limits.h> exists even on freestanding compilers. */
25174 # include <limits.h>
25176 # include <assert.h>
25181 /* Override any gcc2 internal prototype to avoid an error. */
25186 /* We use char because int might match the return type of a gcc2
25187 builtin and then its argument prototype would still apply. */
25189 /* The GNU C library defines this for functions which it implements
25190 to always fail with ENOSYS. Some functions are actually named
25191 something starting with __ and the normal name is an alias. */
25192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25195 char (*f) () = $ac_func;
25204 return f != $ac_func;
25209 rm -f conftest.$ac_objext conftest$ac_exeext
25210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25211 (eval $ac_link) 2>conftest.er1
25213 grep -v '^ *+' conftest.er1 >conftest.err
25215 cat conftest.err >&5
25216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25217 (exit $ac_status); } &&
25218 { ac_try='test -z "$ac_cxx_werror_flag"
25219 || test ! -s conftest.err'
25220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25221 (eval $ac_try) 2>&5
25223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25224 (exit $ac_status); }; } &&
25225 { ac_try='test -s conftest$ac_exeext'
25226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25227 (eval $ac_try) 2>&5
25229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25230 (exit $ac_status); }; }; then
25231 eval "$as_ac_var=yes"
25233 echo "$as_me: failed program was:" >&5
25234 sed 's/^/| /' conftest.$ac_ext >&5
25236 eval "$as_ac_var=no"
25238 rm -f conftest.err conftest.$ac_objext \
25239 conftest$ac_exeext conftest.$ac_ext
25241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25243 if test `eval echo '${'$as_ac_var'}'` = yes; then
25244 cat >>confdefs.h <<_ACEOF
25245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25252 for ac_func in ceil
25254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25255 echo "$as_me:$LINENO: checking for $ac_func" >&5
25256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25257 if eval "test \"\${$as_ac_var+set}\" = set"; then
25258 echo $ECHO_N "(cached) $ECHO_C" >&6
25260 cat >conftest.$ac_ext <<_ACEOF
25263 cat confdefs.h >>conftest.$ac_ext
25264 cat >>conftest.$ac_ext <<_ACEOF
25265 /* end confdefs.h. */
25266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25268 #define $ac_func innocuous_$ac_func
25270 /* System header to define __stub macros and hopefully few prototypes,
25271 which can conflict with char $ac_func (); below.
25272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25273 <limits.h> exists even on freestanding compilers. */
25276 # include <limits.h>
25278 # include <assert.h>
25283 /* Override any gcc2 internal prototype to avoid an error. */
25288 /* We use char because int might match the return type of a gcc2
25289 builtin and then its argument prototype would still apply. */
25291 /* The GNU C library defines this for functions which it implements
25292 to always fail with ENOSYS. Some functions are actually named
25293 something starting with __ and the normal name is an alias. */
25294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25297 char (*f) () = $ac_func;
25306 return f != $ac_func;
25311 rm -f conftest.$ac_objext conftest$ac_exeext
25312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25313 (eval $ac_link) 2>conftest.er1
25315 grep -v '^ *+' conftest.er1 >conftest.err
25317 cat conftest.err >&5
25318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25319 (exit $ac_status); } &&
25320 { ac_try='test -z "$ac_cxx_werror_flag"
25321 || test ! -s conftest.err'
25322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25323 (eval $ac_try) 2>&5
25325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25326 (exit $ac_status); }; } &&
25327 { ac_try='test -s conftest$ac_exeext'
25328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25329 (eval $ac_try) 2>&5
25331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25332 (exit $ac_status); }; }; then
25333 eval "$as_ac_var=yes"
25335 echo "$as_me: failed program was:" >&5
25336 sed 's/^/| /' conftest.$ac_ext >&5
25338 eval "$as_ac_var=no"
25340 rm -f conftest.err conftest.$ac_objext \
25341 conftest$ac_exeext conftest.$ac_ext
25343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25345 if test `eval echo '${'$as_ac_var'}'` = yes; then
25346 cat >>confdefs.h <<_ACEOF
25347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25353 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25354 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25355 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25356 echo "$as_me:$LINENO: result: yes" >&5
25357 echo "${ECHO_T}yes" >&6
25359 echo "$as_me:$LINENO: result: no" >&5
25360 echo "${ECHO_T}no" >&6
25361 # not sure we should warn the user, crash, etc.
25367 if test "$wxUSE_REGEX" != "no"; then
25368 cat >>confdefs.h <<\_ACEOF
25369 #define wxUSE_REGEX 1
25373 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25374 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25375 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25376 wxUSE_REGEX=builtin
25379 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25380 if test "${ac_cv_header_regex_h+set}" = set; then
25381 echo "$as_me:$LINENO: checking for regex.h" >&5
25382 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25383 if test "${ac_cv_header_regex_h+set}" = set; then
25384 echo $ECHO_N "(cached) $ECHO_C" >&6
25386 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25387 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25389 # Is the header compilable?
25390 echo "$as_me:$LINENO: checking regex.h usability" >&5
25391 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25392 cat >conftest.$ac_ext <<_ACEOF
25395 cat confdefs.h >>conftest.$ac_ext
25396 cat >>conftest.$ac_ext <<_ACEOF
25397 /* end confdefs.h. */
25398 $ac_includes_default
25401 rm -f conftest.$ac_objext
25402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25403 (eval $ac_compile) 2>conftest.er1
25405 grep -v '^ *+' conftest.er1 >conftest.err
25407 cat conftest.err >&5
25408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25409 (exit $ac_status); } &&
25410 { ac_try='test -z "$ac_cxx_werror_flag"
25411 || test ! -s conftest.err'
25412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25413 (eval $ac_try) 2>&5
25415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25416 (exit $ac_status); }; } &&
25417 { ac_try='test -s conftest.$ac_objext'
25418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25419 (eval $ac_try) 2>&5
25421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25422 (exit $ac_status); }; }; then
25423 ac_header_compiler=yes
25425 echo "$as_me: failed program was:" >&5
25426 sed 's/^/| /' conftest.$ac_ext >&5
25428 ac_header_compiler=no
25430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25431 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25432 echo "${ECHO_T}$ac_header_compiler" >&6
25434 # Is the header present?
25435 echo "$as_me:$LINENO: checking regex.h presence" >&5
25436 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25437 cat >conftest.$ac_ext <<_ACEOF
25440 cat confdefs.h >>conftest.$ac_ext
25441 cat >>conftest.$ac_ext <<_ACEOF
25442 /* end confdefs.h. */
25445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25446 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25448 grep -v '^ *+' conftest.er1 >conftest.err
25450 cat conftest.err >&5
25451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25452 (exit $ac_status); } >/dev/null; then
25453 if test -s conftest.err; then
25454 ac_cpp_err=$ac_cxx_preproc_warn_flag
25455 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25462 if test -z "$ac_cpp_err"; then
25463 ac_header_preproc=yes
25465 echo "$as_me: failed program was:" >&5
25466 sed 's/^/| /' conftest.$ac_ext >&5
25468 ac_header_preproc=no
25470 rm -f conftest.err conftest.$ac_ext
25471 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25472 echo "${ECHO_T}$ac_header_preproc" >&6
25474 # So? What about this header?
25475 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25477 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25478 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25479 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25480 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25481 ac_header_preproc=yes
25484 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25485 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25486 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25487 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25488 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25489 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25490 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25491 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25492 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25493 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25494 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25495 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25498 ## ----------------------------------------- ##
25499 ## Report this to wx-dev@lists.wxwidgets.org ##
25500 ## ----------------------------------------- ##
25503 sed "s/^/$as_me: WARNING: /" >&2
25506 echo "$as_me:$LINENO: checking for regex.h" >&5
25507 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25508 if test "${ac_cv_header_regex_h+set}" = set; then
25509 echo $ECHO_N "(cached) $ECHO_C" >&6
25511 ac_cv_header_regex_h=$ac_header_preproc
25513 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25514 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25517 if test $ac_cv_header_regex_h = yes; then
25520 for ac_func in regcomp re_search
25522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25523 echo "$as_me:$LINENO: checking for $ac_func" >&5
25524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25525 if eval "test \"\${$as_ac_var+set}\" = set"; then
25526 echo $ECHO_N "(cached) $ECHO_C" >&6
25528 cat >conftest.$ac_ext <<_ACEOF
25531 cat confdefs.h >>conftest.$ac_ext
25532 cat >>conftest.$ac_ext <<_ACEOF
25533 /* end confdefs.h. */
25534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25536 #define $ac_func innocuous_$ac_func
25538 /* System header to define __stub macros and hopefully few prototypes,
25539 which can conflict with char $ac_func (); below.
25540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25541 <limits.h> exists even on freestanding compilers. */
25544 # include <limits.h>
25546 # include <assert.h>
25551 /* Override any gcc2 internal prototype to avoid an error. */
25556 /* We use char because int might match the return type of a gcc2
25557 builtin and then its argument prototype would still apply. */
25559 /* The GNU C library defines this for functions which it implements
25560 to always fail with ENOSYS. Some functions are actually named
25561 something starting with __ and the normal name is an alias. */
25562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25565 char (*f) () = $ac_func;
25574 return f != $ac_func;
25579 rm -f conftest.$ac_objext conftest$ac_exeext
25580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25581 (eval $ac_link) 2>conftest.er1
25583 grep -v '^ *+' conftest.er1 >conftest.err
25585 cat conftest.err >&5
25586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25587 (exit $ac_status); } &&
25588 { ac_try='test -z "$ac_cxx_werror_flag"
25589 || test ! -s conftest.err'
25590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25591 (eval $ac_try) 2>&5
25593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25594 (exit $ac_status); }; } &&
25595 { ac_try='test -s conftest$ac_exeext'
25596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25597 (eval $ac_try) 2>&5
25599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25600 (exit $ac_status); }; }; then
25601 eval "$as_ac_var=yes"
25603 echo "$as_me: failed program was:" >&5
25604 sed 's/^/| /' conftest.$ac_ext >&5
25606 eval "$as_ac_var=no"
25608 rm -f conftest.err conftest.$ac_objext \
25609 conftest$ac_exeext conftest.$ac_ext
25611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25613 if test `eval echo '${'$as_ac_var'}'` = yes; then
25614 cat >>confdefs.h <<_ACEOF
25615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25625 if test "x$ac_cv_func_regcomp" != "xyes"; then
25626 if test "$wxUSE_REGEX" = "sys" ; then
25627 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25628 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25629 { (exit 1); exit 1; }; }
25631 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25632 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25633 wxUSE_REGEX=builtin
25637 cat >>confdefs.h <<\_ACEOF
25638 #define WX_NO_REGEX_ADVANCED 1
25647 if test "$wxUSE_ZLIB" != "no" ; then
25648 cat >>confdefs.h <<\_ACEOF
25649 #define wxUSE_ZLIB 1
25653 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25654 if test "$USE_DARWIN" = 1; then
25655 system_zlib_h_ok="yes"
25657 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25658 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25659 if test "${ac_cv_header_zlib_h+set}" = set; then
25660 echo $ECHO_N "(cached) $ECHO_C" >&6
25662 if test "$cross_compiling" = yes; then
25663 unset ac_cv_header_zlib_h
25666 cat >conftest.$ac_ext <<_ACEOF
25669 cat confdefs.h >>conftest.$ac_ext
25670 cat >>conftest.$ac_ext <<_ACEOF
25671 /* end confdefs.h. */
25678 FILE *f=fopen("conftestval", "w");
25681 ZLIB_VERSION[0] == '1' &&
25682 (ZLIB_VERSION[2] > '1' ||
25683 (ZLIB_VERSION[2] == '1' &&
25684 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25689 rm -f conftest$ac_exeext
25690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25691 (eval $ac_link) 2>&5
25693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25694 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25696 (eval $ac_try) 2>&5
25698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25699 (exit $ac_status); }; }; then
25700 ac_cv_header_zlib_h=`cat conftestval`
25702 echo "$as_me: program exited with status $ac_status" >&5
25703 echo "$as_me: failed program was:" >&5
25704 sed 's/^/| /' conftest.$ac_ext >&5
25706 ( exit $ac_status )
25707 ac_cv_header_zlib_h=no
25709 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25713 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25714 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25715 if test "${ac_cv_header_zlib_h+set}" = set; then
25716 echo "$as_me:$LINENO: checking for zlib.h" >&5
25717 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25718 if test "${ac_cv_header_zlib_h+set}" = set; then
25719 echo $ECHO_N "(cached) $ECHO_C" >&6
25721 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25722 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25724 # Is the header compilable?
25725 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25726 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25727 cat >conftest.$ac_ext <<_ACEOF
25730 cat confdefs.h >>conftest.$ac_ext
25731 cat >>conftest.$ac_ext <<_ACEOF
25732 /* end confdefs.h. */
25733 $ac_includes_default
25736 rm -f conftest.$ac_objext
25737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25738 (eval $ac_compile) 2>conftest.er1
25740 grep -v '^ *+' conftest.er1 >conftest.err
25742 cat conftest.err >&5
25743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25744 (exit $ac_status); } &&
25745 { ac_try='test -z "$ac_cxx_werror_flag"
25746 || test ! -s conftest.err'
25747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25748 (eval $ac_try) 2>&5
25750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25751 (exit $ac_status); }; } &&
25752 { ac_try='test -s conftest.$ac_objext'
25753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25754 (eval $ac_try) 2>&5
25756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25757 (exit $ac_status); }; }; then
25758 ac_header_compiler=yes
25760 echo "$as_me: failed program was:" >&5
25761 sed 's/^/| /' conftest.$ac_ext >&5
25763 ac_header_compiler=no
25765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25766 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25767 echo "${ECHO_T}$ac_header_compiler" >&6
25769 # Is the header present?
25770 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25771 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25772 cat >conftest.$ac_ext <<_ACEOF
25775 cat confdefs.h >>conftest.$ac_ext
25776 cat >>conftest.$ac_ext <<_ACEOF
25777 /* end confdefs.h. */
25780 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25781 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25783 grep -v '^ *+' conftest.er1 >conftest.err
25785 cat conftest.err >&5
25786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25787 (exit $ac_status); } >/dev/null; then
25788 if test -s conftest.err; then
25789 ac_cpp_err=$ac_cxx_preproc_warn_flag
25790 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25797 if test -z "$ac_cpp_err"; then
25798 ac_header_preproc=yes
25800 echo "$as_me: failed program was:" >&5
25801 sed 's/^/| /' conftest.$ac_ext >&5
25803 ac_header_preproc=no
25805 rm -f conftest.err conftest.$ac_ext
25806 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25807 echo "${ECHO_T}$ac_header_preproc" >&6
25809 # So? What about this header?
25810 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25812 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25813 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25814 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25815 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25816 ac_header_preproc=yes
25819 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25820 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25821 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25822 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25823 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25824 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25825 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25826 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25827 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25828 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25829 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25830 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25833 ## ----------------------------------------- ##
25834 ## Report this to wx-dev@lists.wxwidgets.org ##
25835 ## ----------------------------------------- ##
25838 sed "s/^/$as_me: WARNING: /" >&2
25841 echo "$as_me:$LINENO: checking for zlib.h" >&5
25842 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25843 if test "${ac_cv_header_zlib_h+set}" = set; then
25844 echo $ECHO_N "(cached) $ECHO_C" >&6
25846 ac_cv_header_zlib_h=$ac_header_preproc
25848 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25849 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25855 system_zlib_h_ok=$ac_cv_header_zlib_h
25858 if test "$system_zlib_h_ok" = "yes"; then
25859 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25860 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25861 if test "${ac_cv_lib_z_deflate+set}" = set; then
25862 echo $ECHO_N "(cached) $ECHO_C" >&6
25864 ac_check_lib_save_LIBS=$LIBS
25866 cat >conftest.$ac_ext <<_ACEOF
25869 cat confdefs.h >>conftest.$ac_ext
25870 cat >>conftest.$ac_ext <<_ACEOF
25871 /* end confdefs.h. */
25873 /* Override any gcc2 internal prototype to avoid an error. */
25877 /* We use char because int might match the return type of a gcc2
25878 builtin and then its argument prototype would still apply. */
25888 rm -f conftest.$ac_objext conftest$ac_exeext
25889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25890 (eval $ac_link) 2>conftest.er1
25892 grep -v '^ *+' conftest.er1 >conftest.err
25894 cat conftest.err >&5
25895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25896 (exit $ac_status); } &&
25897 { ac_try='test -z "$ac_cxx_werror_flag"
25898 || test ! -s conftest.err'
25899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25900 (eval $ac_try) 2>&5
25902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25903 (exit $ac_status); }; } &&
25904 { ac_try='test -s conftest$ac_exeext'
25905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25906 (eval $ac_try) 2>&5
25908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25909 (exit $ac_status); }; }; then
25910 ac_cv_lib_z_deflate=yes
25912 echo "$as_me: failed program was:" >&5
25913 sed 's/^/| /' conftest.$ac_ext >&5
25915 ac_cv_lib_z_deflate=no
25917 rm -f conftest.err conftest.$ac_objext \
25918 conftest$ac_exeext conftest.$ac_ext
25919 LIBS=$ac_check_lib_save_LIBS
25921 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25922 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25923 if test $ac_cv_lib_z_deflate = yes; then
25929 if test "x$ZLIB_LINK" = "x" ; then
25930 if test "$wxUSE_ZLIB" = "sys" ; then
25931 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25932 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25933 { (exit 1); exit 1; }; }
25935 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25936 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25947 if test "$wxUSE_LIBPNG" != "no" ; then
25948 cat >>confdefs.h <<\_ACEOF
25949 #define wxUSE_LIBPNG 1
25953 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25954 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25955 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25959 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25960 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25961 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25962 wxUSE_LIBPNG=builtin
25965 if test "$wxUSE_MGL" != 1 ; then
25966 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25967 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25968 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25969 if test "${ac_cv_header_png_h+set}" = set; then
25970 echo $ECHO_N "(cached) $ECHO_C" >&6
25972 if test "$cross_compiling" = yes; then
25973 unset ac_cv_header_png_h
25976 cat >conftest.$ac_ext <<_ACEOF
25979 cat confdefs.h >>conftest.$ac_ext
25980 cat >>conftest.$ac_ext <<_ACEOF
25981 /* end confdefs.h. */
25988 FILE *f=fopen("conftestval", "w");
25991 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25996 rm -f conftest$ac_exeext
25997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25998 (eval $ac_link) 2>&5
26000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26001 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26003 (eval $ac_try) 2>&5
26005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26006 (exit $ac_status); }; }; then
26007 ac_cv_header_png_h=`cat conftestval`
26009 echo "$as_me: program exited with status $ac_status" >&5
26010 echo "$as_me: failed program was:" >&5
26011 sed 's/^/| /' conftest.$ac_ext >&5
26013 ( exit $ac_status )
26014 ac_cv_header_png_h=no
26016 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26020 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26021 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26022 if test "${ac_cv_header_png_h+set}" = set; then
26023 echo "$as_me:$LINENO: checking for png.h" >&5
26024 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26025 if test "${ac_cv_header_png_h+set}" = set; then
26026 echo $ECHO_N "(cached) $ECHO_C" >&6
26028 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26029 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26031 # Is the header compilable?
26032 echo "$as_me:$LINENO: checking png.h usability" >&5
26033 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
26034 cat >conftest.$ac_ext <<_ACEOF
26037 cat confdefs.h >>conftest.$ac_ext
26038 cat >>conftest.$ac_ext <<_ACEOF
26039 /* end confdefs.h. */
26040 $ac_includes_default
26043 rm -f conftest.$ac_objext
26044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26045 (eval $ac_compile) 2>conftest.er1
26047 grep -v '^ *+' conftest.er1 >conftest.err
26049 cat conftest.err >&5
26050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26051 (exit $ac_status); } &&
26052 { ac_try='test -z "$ac_cxx_werror_flag"
26053 || test ! -s conftest.err'
26054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26055 (eval $ac_try) 2>&5
26057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26058 (exit $ac_status); }; } &&
26059 { ac_try='test -s conftest.$ac_objext'
26060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26061 (eval $ac_try) 2>&5
26063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26064 (exit $ac_status); }; }; then
26065 ac_header_compiler=yes
26067 echo "$as_me: failed program was:" >&5
26068 sed 's/^/| /' conftest.$ac_ext >&5
26070 ac_header_compiler=no
26072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26073 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26074 echo "${ECHO_T}$ac_header_compiler" >&6
26076 # Is the header present?
26077 echo "$as_me:$LINENO: checking png.h presence" >&5
26078 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
26079 cat >conftest.$ac_ext <<_ACEOF
26082 cat confdefs.h >>conftest.$ac_ext
26083 cat >>conftest.$ac_ext <<_ACEOF
26084 /* end confdefs.h. */
26087 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26088 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26090 grep -v '^ *+' conftest.er1 >conftest.err
26092 cat conftest.err >&5
26093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26094 (exit $ac_status); } >/dev/null; then
26095 if test -s conftest.err; then
26096 ac_cpp_err=$ac_cxx_preproc_warn_flag
26097 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26104 if test -z "$ac_cpp_err"; then
26105 ac_header_preproc=yes
26107 echo "$as_me: failed program was:" >&5
26108 sed 's/^/| /' conftest.$ac_ext >&5
26110 ac_header_preproc=no
26112 rm -f conftest.err conftest.$ac_ext
26113 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26114 echo "${ECHO_T}$ac_header_preproc" >&6
26116 # So? What about this header?
26117 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26119 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
26120 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26121 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
26122 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
26123 ac_header_preproc=yes
26126 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
26127 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
26128 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
26129 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
26130 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
26131 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
26132 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
26133 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
26134 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
26135 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
26136 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
26137 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
26140 ## ----------------------------------------- ##
26141 ## Report this to wx-dev@lists.wxwidgets.org ##
26142 ## ----------------------------------------- ##
26145 sed "s/^/$as_me: WARNING: /" >&2
26148 echo "$as_me:$LINENO: checking for png.h" >&5
26149 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26150 if test "${ac_cv_header_png_h+set}" = set; then
26151 echo $ECHO_N "(cached) $ECHO_C" >&6
26153 ac_cv_header_png_h=$ac_header_preproc
26155 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26156 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26162 if test "$ac_cv_header_png_h" = "yes"; then
26163 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26164 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
26165 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26166 echo $ECHO_N "(cached) $ECHO_C" >&6
26168 ac_check_lib_save_LIBS=$LIBS
26169 LIBS="-lpng -lz -lm $LIBS"
26170 cat >conftest.$ac_ext <<_ACEOF
26173 cat confdefs.h >>conftest.$ac_ext
26174 cat >>conftest.$ac_ext <<_ACEOF
26175 /* end confdefs.h. */
26177 /* Override any gcc2 internal prototype to avoid an error. */
26181 /* We use char because int might match the return type of a gcc2
26182 builtin and then its argument prototype would still apply. */
26183 char png_check_sig ();
26192 rm -f conftest.$ac_objext conftest$ac_exeext
26193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26194 (eval $ac_link) 2>conftest.er1
26196 grep -v '^ *+' conftest.er1 >conftest.err
26198 cat conftest.err >&5
26199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26200 (exit $ac_status); } &&
26201 { ac_try='test -z "$ac_cxx_werror_flag"
26202 || test ! -s conftest.err'
26203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26204 (eval $ac_try) 2>&5
26206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26207 (exit $ac_status); }; } &&
26208 { ac_try='test -s conftest$ac_exeext'
26209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26210 (eval $ac_try) 2>&5
26212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26213 (exit $ac_status); }; }; then
26214 ac_cv_lib_png_png_check_sig=yes
26216 echo "$as_me: failed program was:" >&5
26217 sed 's/^/| /' conftest.$ac_ext >&5
26219 ac_cv_lib_png_png_check_sig=no
26221 rm -f conftest.err conftest.$ac_objext \
26222 conftest$ac_exeext conftest.$ac_ext
26223 LIBS=$ac_check_lib_save_LIBS
26225 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26226 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26227 if test $ac_cv_lib_png_png_check_sig = yes; then
26228 PNG_LINK=" -lpng -lz"
26233 if test "x$PNG_LINK" = "x" ; then
26234 if test "$wxUSE_LIBPNG" = "sys" ; then
26235 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26236 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26237 { (exit 1); exit 1; }; }
26239 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26240 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26241 wxUSE_LIBPNG=builtin
26249 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
26254 if test "$wxUSE_LIBJPEG" != "no" ; then
26255 cat >>confdefs.h <<\_ACEOF
26256 #define wxUSE_LIBJPEG 1
26260 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26261 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26262 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26266 if test "$wxUSE_MGL" != 1 ; then
26267 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26268 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26269 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26270 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26271 echo $ECHO_N "(cached) $ECHO_C" >&6
26273 cat >conftest.$ac_ext <<_ACEOF
26276 cat confdefs.h >>conftest.$ac_ext
26277 cat >>conftest.$ac_ext <<_ACEOF
26278 /* end confdefs.h. */
26280 #undef HAVE_STDLIB_H
26282 #include <jpeglib.h>
26293 rm -f conftest.$ac_objext
26294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26295 (eval $ac_compile) 2>conftest.er1
26297 grep -v '^ *+' conftest.er1 >conftest.err
26299 cat conftest.err >&5
26300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26301 (exit $ac_status); } &&
26302 { ac_try='test -z "$ac_cxx_werror_flag"
26303 || test ! -s conftest.err'
26304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26305 (eval $ac_try) 2>&5
26307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26308 (exit $ac_status); }; } &&
26309 { ac_try='test -s conftest.$ac_objext'
26310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26311 (eval $ac_try) 2>&5
26313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26314 (exit $ac_status); }; }; then
26315 ac_cv_header_jpeglib_h=yes
26317 echo "$as_me: failed program was:" >&5
26318 sed 's/^/| /' conftest.$ac_ext >&5
26320 ac_cv_header_jpeglib_h=no
26323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26327 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26328 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26330 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26331 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26332 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26333 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26334 echo $ECHO_N "(cached) $ECHO_C" >&6
26336 ac_check_lib_save_LIBS=$LIBS
26337 LIBS="-ljpeg $LIBS"
26338 cat >conftest.$ac_ext <<_ACEOF
26341 cat confdefs.h >>conftest.$ac_ext
26342 cat >>conftest.$ac_ext <<_ACEOF
26343 /* end confdefs.h. */
26345 /* Override any gcc2 internal prototype to avoid an error. */
26349 /* We use char because int might match the return type of a gcc2
26350 builtin and then its argument prototype would still apply. */
26351 char jpeg_read_header ();
26355 jpeg_read_header ();
26360 rm -f conftest.$ac_objext conftest$ac_exeext
26361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26362 (eval $ac_link) 2>conftest.er1
26364 grep -v '^ *+' conftest.er1 >conftest.err
26366 cat conftest.err >&5
26367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26368 (exit $ac_status); } &&
26369 { ac_try='test -z "$ac_cxx_werror_flag"
26370 || test ! -s conftest.err'
26371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26372 (eval $ac_try) 2>&5
26374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26375 (exit $ac_status); }; } &&
26376 { ac_try='test -s conftest$ac_exeext'
26377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26378 (eval $ac_try) 2>&5
26380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26381 (exit $ac_status); }; }; then
26382 ac_cv_lib_jpeg_jpeg_read_header=yes
26384 echo "$as_me: failed program was:" >&5
26385 sed 's/^/| /' conftest.$ac_ext >&5
26387 ac_cv_lib_jpeg_jpeg_read_header=no
26389 rm -f conftest.err conftest.$ac_objext \
26390 conftest$ac_exeext conftest.$ac_ext
26391 LIBS=$ac_check_lib_save_LIBS
26393 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26394 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26395 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26396 JPEG_LINK=" -ljpeg"
26401 if test "x$JPEG_LINK" = "x" ; then
26402 if test "$wxUSE_LIBJPEG" = "sys" ; then
26403 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26404 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26405 { (exit 1); exit 1; }; }
26407 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26408 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26409 wxUSE_LIBJPEG=builtin
26420 TIFF_PREREQ_LINKS=-lm
26421 if test "$wxUSE_LIBTIFF" != "no" ; then
26422 cat >>confdefs.h <<\_ACEOF
26423 #define wxUSE_LIBTIFF 1
26427 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26428 if test "$wxUSE_LIBJPEG" = "sys"; then
26429 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26431 if test "$wxUSE_ZLIB" = "sys"; then
26432 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26434 if test "${ac_cv_header_tiffio_h+set}" = set; then
26435 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26436 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26437 if test "${ac_cv_header_tiffio_h+set}" = set; then
26438 echo $ECHO_N "(cached) $ECHO_C" >&6
26440 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26441 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26443 # Is the header compilable?
26444 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26445 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26446 cat >conftest.$ac_ext <<_ACEOF
26449 cat confdefs.h >>conftest.$ac_ext
26450 cat >>conftest.$ac_ext <<_ACEOF
26451 /* end confdefs.h. */
26452 $ac_includes_default
26453 #include <tiffio.h>
26455 rm -f conftest.$ac_objext
26456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26457 (eval $ac_compile) 2>conftest.er1
26459 grep -v '^ *+' conftest.er1 >conftest.err
26461 cat conftest.err >&5
26462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26463 (exit $ac_status); } &&
26464 { ac_try='test -z "$ac_cxx_werror_flag"
26465 || test ! -s conftest.err'
26466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26467 (eval $ac_try) 2>&5
26469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26470 (exit $ac_status); }; } &&
26471 { ac_try='test -s conftest.$ac_objext'
26472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26473 (eval $ac_try) 2>&5
26475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26476 (exit $ac_status); }; }; then
26477 ac_header_compiler=yes
26479 echo "$as_me: failed program was:" >&5
26480 sed 's/^/| /' conftest.$ac_ext >&5
26482 ac_header_compiler=no
26484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26485 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26486 echo "${ECHO_T}$ac_header_compiler" >&6
26488 # Is the header present?
26489 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26490 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26491 cat >conftest.$ac_ext <<_ACEOF
26494 cat confdefs.h >>conftest.$ac_ext
26495 cat >>conftest.$ac_ext <<_ACEOF
26496 /* end confdefs.h. */
26497 #include <tiffio.h>
26499 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26500 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26502 grep -v '^ *+' conftest.er1 >conftest.err
26504 cat conftest.err >&5
26505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26506 (exit $ac_status); } >/dev/null; then
26507 if test -s conftest.err; then
26508 ac_cpp_err=$ac_cxx_preproc_warn_flag
26509 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26516 if test -z "$ac_cpp_err"; then
26517 ac_header_preproc=yes
26519 echo "$as_me: failed program was:" >&5
26520 sed 's/^/| /' conftest.$ac_ext >&5
26522 ac_header_preproc=no
26524 rm -f conftest.err conftest.$ac_ext
26525 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26526 echo "${ECHO_T}$ac_header_preproc" >&6
26528 # So? What about this header?
26529 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26531 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26532 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26533 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26534 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26535 ac_header_preproc=yes
26538 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26539 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26540 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26541 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26542 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26543 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26544 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26545 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26546 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26547 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26548 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26549 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26552 ## ----------------------------------------- ##
26553 ## Report this to wx-dev@lists.wxwidgets.org ##
26554 ## ----------------------------------------- ##
26557 sed "s/^/$as_me: WARNING: /" >&2
26560 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26561 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26562 if test "${ac_cv_header_tiffio_h+set}" = set; then
26563 echo $ECHO_N "(cached) $ECHO_C" >&6
26565 ac_cv_header_tiffio_h=$ac_header_preproc
26567 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26568 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26571 if test $ac_cv_header_tiffio_h = yes; then
26573 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26574 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26575 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26576 echo $ECHO_N "(cached) $ECHO_C" >&6
26578 ac_check_lib_save_LIBS=$LIBS
26579 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26580 cat >conftest.$ac_ext <<_ACEOF
26583 cat confdefs.h >>conftest.$ac_ext
26584 cat >>conftest.$ac_ext <<_ACEOF
26585 /* end confdefs.h. */
26587 /* Override any gcc2 internal prototype to avoid an error. */
26591 /* We use char because int might match the return type of a gcc2
26592 builtin and then its argument prototype would still apply. */
26602 rm -f conftest.$ac_objext conftest$ac_exeext
26603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26604 (eval $ac_link) 2>conftest.er1
26606 grep -v '^ *+' conftest.er1 >conftest.err
26608 cat conftest.err >&5
26609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26610 (exit $ac_status); } &&
26611 { ac_try='test -z "$ac_cxx_werror_flag"
26612 || test ! -s conftest.err'
26613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26614 (eval $ac_try) 2>&5
26616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26617 (exit $ac_status); }; } &&
26618 { ac_try='test -s conftest$ac_exeext'
26619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26620 (eval $ac_try) 2>&5
26622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26623 (exit $ac_status); }; }; then
26624 ac_cv_lib_tiff_TIFFError=yes
26626 echo "$as_me: failed program was:" >&5
26627 sed 's/^/| /' conftest.$ac_ext >&5
26629 ac_cv_lib_tiff_TIFFError=no
26631 rm -f conftest.err conftest.$ac_objext \
26632 conftest$ac_exeext conftest.$ac_ext
26633 LIBS=$ac_check_lib_save_LIBS
26635 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26636 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26637 if test $ac_cv_lib_tiff_TIFFError = yes; then
26638 TIFF_LINK=" -ltiff"
26647 if test "x$TIFF_LINK" = "x" ; then
26648 if test "$wxUSE_LIBTIFF" = "sys" ; then
26649 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26650 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26651 { (exit 1); exit 1; }; }
26653 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26654 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26655 wxUSE_LIBTIFF=builtin
26664 if test "$wxUSE_WCHAR_T" != "yes"; then
26665 if test "$wxUSE_EXPAT" != "no"; then
26666 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26667 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26670 if test "$wxUSE_XML" != "no"; then
26671 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26672 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26677 if test "$wxUSE_EXPAT" != "no"; then
26679 cat >>confdefs.h <<\_ACEOF
26680 #define wxUSE_EXPAT 1
26683 cat >>confdefs.h <<\_ACEOF
26684 #define wxUSE_XML 1
26688 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26689 if test "${ac_cv_header_expat_h+set}" = set; then
26690 echo "$as_me:$LINENO: checking for expat.h" >&5
26691 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26692 if test "${ac_cv_header_expat_h+set}" = set; then
26693 echo $ECHO_N "(cached) $ECHO_C" >&6
26695 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26696 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26698 # Is the header compilable?
26699 echo "$as_me:$LINENO: checking expat.h usability" >&5
26700 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26701 cat >conftest.$ac_ext <<_ACEOF
26704 cat confdefs.h >>conftest.$ac_ext
26705 cat >>conftest.$ac_ext <<_ACEOF
26706 /* end confdefs.h. */
26707 $ac_includes_default
26710 rm -f conftest.$ac_objext
26711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26712 (eval $ac_compile) 2>conftest.er1
26714 grep -v '^ *+' conftest.er1 >conftest.err
26716 cat conftest.err >&5
26717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26718 (exit $ac_status); } &&
26719 { ac_try='test -z "$ac_cxx_werror_flag"
26720 || test ! -s conftest.err'
26721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26722 (eval $ac_try) 2>&5
26724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26725 (exit $ac_status); }; } &&
26726 { ac_try='test -s conftest.$ac_objext'
26727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26728 (eval $ac_try) 2>&5
26730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26731 (exit $ac_status); }; }; then
26732 ac_header_compiler=yes
26734 echo "$as_me: failed program was:" >&5
26735 sed 's/^/| /' conftest.$ac_ext >&5
26737 ac_header_compiler=no
26739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26740 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26741 echo "${ECHO_T}$ac_header_compiler" >&6
26743 # Is the header present?
26744 echo "$as_me:$LINENO: checking expat.h presence" >&5
26745 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26746 cat >conftest.$ac_ext <<_ACEOF
26749 cat confdefs.h >>conftest.$ac_ext
26750 cat >>conftest.$ac_ext <<_ACEOF
26751 /* end confdefs.h. */
26754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26755 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26757 grep -v '^ *+' conftest.er1 >conftest.err
26759 cat conftest.err >&5
26760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26761 (exit $ac_status); } >/dev/null; then
26762 if test -s conftest.err; then
26763 ac_cpp_err=$ac_cxx_preproc_warn_flag
26764 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26771 if test -z "$ac_cpp_err"; then
26772 ac_header_preproc=yes
26774 echo "$as_me: failed program was:" >&5
26775 sed 's/^/| /' conftest.$ac_ext >&5
26777 ac_header_preproc=no
26779 rm -f conftest.err conftest.$ac_ext
26780 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26781 echo "${ECHO_T}$ac_header_preproc" >&6
26783 # So? What about this header?
26784 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26786 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26787 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26788 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26789 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26790 ac_header_preproc=yes
26793 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26794 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26795 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26796 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26797 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26798 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26799 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26800 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26801 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26802 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26803 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26804 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26807 ## ----------------------------------------- ##
26808 ## Report this to wx-dev@lists.wxwidgets.org ##
26809 ## ----------------------------------------- ##
26812 sed "s/^/$as_me: WARNING: /" >&2
26815 echo "$as_me:$LINENO: checking for expat.h" >&5
26816 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26817 if test "${ac_cv_header_expat_h+set}" = set; then
26818 echo $ECHO_N "(cached) $ECHO_C" >&6
26820 ac_cv_header_expat_h=$ac_header_preproc
26822 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26823 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26826 if test $ac_cv_header_expat_h = yes; then
26831 if test "x$found_expat_h" = "x1"; then
26832 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26833 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26834 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26835 echo $ECHO_N "(cached) $ECHO_C" >&6
26838 cat >conftest.$ac_ext <<_ACEOF
26841 cat confdefs.h >>conftest.$ac_ext
26842 cat >>conftest.$ac_ext <<_ACEOF
26843 /* end confdefs.h. */
26853 rm -f conftest.$ac_objext
26854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26855 (eval $ac_compile) 2>conftest.er1
26857 grep -v '^ *+' conftest.er1 >conftest.err
26859 cat conftest.err >&5
26860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26861 (exit $ac_status); } &&
26862 { ac_try='test -z "$ac_cxx_werror_flag"
26863 || test ! -s conftest.err'
26864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26865 (eval $ac_try) 2>&5
26867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26868 (exit $ac_status); }; } &&
26869 { ac_try='test -s conftest.$ac_objext'
26870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26871 (eval $ac_try) 2>&5
26873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26874 (exit $ac_status); }; }; then
26875 wx_cv_expat_is_not_broken=yes
26877 echo "$as_me: failed program was:" >&5
26878 sed 's/^/| /' conftest.$ac_ext >&5
26880 wx_cv_expat_is_not_broken=no
26883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26887 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26888 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26889 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26890 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26891 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26892 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26893 echo $ECHO_N "(cached) $ECHO_C" >&6
26895 ac_check_lib_save_LIBS=$LIBS
26896 LIBS="-lexpat $LIBS"
26897 cat >conftest.$ac_ext <<_ACEOF
26900 cat confdefs.h >>conftest.$ac_ext
26901 cat >>conftest.$ac_ext <<_ACEOF
26902 /* end confdefs.h. */
26904 /* Override any gcc2 internal prototype to avoid an error. */
26908 /* We use char because int might match the return type of a gcc2
26909 builtin and then its argument prototype would still apply. */
26910 char XML_ParserCreate ();
26914 XML_ParserCreate ();
26919 rm -f conftest.$ac_objext conftest$ac_exeext
26920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26921 (eval $ac_link) 2>conftest.er1
26923 grep -v '^ *+' conftest.er1 >conftest.err
26925 cat conftest.err >&5
26926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26927 (exit $ac_status); } &&
26928 { ac_try='test -z "$ac_cxx_werror_flag"
26929 || test ! -s conftest.err'
26930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26931 (eval $ac_try) 2>&5
26933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26934 (exit $ac_status); }; } &&
26935 { ac_try='test -s conftest$ac_exeext'
26936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26937 (eval $ac_try) 2>&5
26939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26940 (exit $ac_status); }; }; then
26941 ac_cv_lib_expat_XML_ParserCreate=yes
26943 echo "$as_me: failed program was:" >&5
26944 sed 's/^/| /' conftest.$ac_ext >&5
26946 ac_cv_lib_expat_XML_ParserCreate=no
26948 rm -f conftest.err conftest.$ac_objext \
26949 conftest$ac_exeext conftest.$ac_ext
26950 LIBS=$ac_check_lib_save_LIBS
26952 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26953 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26954 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26955 EXPAT_LINK=" -lexpat"
26960 if test "x$EXPAT_LINK" = "x" ; then
26961 if test "$wxUSE_EXPAT" = "sys" ; then
26962 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26963 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26964 { (exit 1); exit 1; }; }
26966 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26967 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26968 wxUSE_EXPAT=builtin
26974 if test "$wxUSE_EXPAT" = "builtin" ; then
26977 subdirs="$subdirs src/expat"
26984 if test "$wxUSE_LIBMSPACK" != "no"; then
26985 if test "${ac_cv_header_mspack_h+set}" = set; then
26986 echo "$as_me:$LINENO: checking for mspack.h" >&5
26987 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26988 if test "${ac_cv_header_mspack_h+set}" = set; then
26989 echo $ECHO_N "(cached) $ECHO_C" >&6
26991 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26992 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26994 # Is the header compilable?
26995 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26996 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26997 cat >conftest.$ac_ext <<_ACEOF
27000 cat confdefs.h >>conftest.$ac_ext
27001 cat >>conftest.$ac_ext <<_ACEOF
27002 /* end confdefs.h. */
27003 $ac_includes_default
27004 #include <mspack.h>
27006 rm -f conftest.$ac_objext
27007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27008 (eval $ac_compile) 2>conftest.er1
27010 grep -v '^ *+' conftest.er1 >conftest.err
27012 cat conftest.err >&5
27013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27014 (exit $ac_status); } &&
27015 { ac_try='test -z "$ac_cxx_werror_flag"
27016 || test ! -s conftest.err'
27017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27018 (eval $ac_try) 2>&5
27020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27021 (exit $ac_status); }; } &&
27022 { ac_try='test -s conftest.$ac_objext'
27023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27024 (eval $ac_try) 2>&5
27026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27027 (exit $ac_status); }; }; then
27028 ac_header_compiler=yes
27030 echo "$as_me: failed program was:" >&5
27031 sed 's/^/| /' conftest.$ac_ext >&5
27033 ac_header_compiler=no
27035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27036 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27037 echo "${ECHO_T}$ac_header_compiler" >&6
27039 # Is the header present?
27040 echo "$as_me:$LINENO: checking mspack.h presence" >&5
27041 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
27042 cat >conftest.$ac_ext <<_ACEOF
27045 cat confdefs.h >>conftest.$ac_ext
27046 cat >>conftest.$ac_ext <<_ACEOF
27047 /* end confdefs.h. */
27048 #include <mspack.h>
27050 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27051 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27053 grep -v '^ *+' conftest.er1 >conftest.err
27055 cat conftest.err >&5
27056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27057 (exit $ac_status); } >/dev/null; then
27058 if test -s conftest.err; then
27059 ac_cpp_err=$ac_cxx_preproc_warn_flag
27060 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27067 if test -z "$ac_cpp_err"; then
27068 ac_header_preproc=yes
27070 echo "$as_me: failed program was:" >&5
27071 sed 's/^/| /' conftest.$ac_ext >&5
27073 ac_header_preproc=no
27075 rm -f conftest.err conftest.$ac_ext
27076 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27077 echo "${ECHO_T}$ac_header_preproc" >&6
27079 # So? What about this header?
27080 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27082 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
27083 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27084 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
27085 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
27086 ac_header_preproc=yes
27089 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
27090 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
27091 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
27092 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
27093 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
27094 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
27095 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
27096 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
27097 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
27098 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
27099 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
27100 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
27103 ## ----------------------------------------- ##
27104 ## Report this to wx-dev@lists.wxwidgets.org ##
27105 ## ----------------------------------------- ##
27108 sed "s/^/$as_me: WARNING: /" >&2
27111 echo "$as_me:$LINENO: checking for mspack.h" >&5
27112 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27113 if test "${ac_cv_header_mspack_h+set}" = set; then
27114 echo $ECHO_N "(cached) $ECHO_C" >&6
27116 ac_cv_header_mspack_h=$ac_header_preproc
27118 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27119 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27122 if test $ac_cv_header_mspack_h = yes; then
27127 if test "x$found_mspack_h" = "x1"; then
27128 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27129 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27130 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27131 echo $ECHO_N "(cached) $ECHO_C" >&6
27133 ac_check_lib_save_LIBS=$LIBS
27134 LIBS="-lmspack $LIBS"
27135 cat >conftest.$ac_ext <<_ACEOF
27138 cat confdefs.h >>conftest.$ac_ext
27139 cat >>conftest.$ac_ext <<_ACEOF
27140 /* end confdefs.h. */
27142 /* Override any gcc2 internal prototype to avoid an error. */
27146 /* We use char because int might match the return type of a gcc2
27147 builtin and then its argument prototype would still apply. */
27148 char mspack_create_chm_decompressor ();
27152 mspack_create_chm_decompressor ();
27157 rm -f conftest.$ac_objext conftest$ac_exeext
27158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27159 (eval $ac_link) 2>conftest.er1
27161 grep -v '^ *+' conftest.er1 >conftest.err
27163 cat conftest.err >&5
27164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27165 (exit $ac_status); } &&
27166 { ac_try='test -z "$ac_cxx_werror_flag"
27167 || test ! -s conftest.err'
27168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27169 (eval $ac_try) 2>&5
27171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27172 (exit $ac_status); }; } &&
27173 { ac_try='test -s conftest$ac_exeext'
27174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27175 (eval $ac_try) 2>&5
27177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27178 (exit $ac_status); }; }; then
27179 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27181 echo "$as_me: failed program was:" >&5
27182 sed 's/^/| /' conftest.$ac_ext >&5
27184 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27186 rm -f conftest.err conftest.$ac_objext \
27187 conftest$ac_exeext conftest.$ac_ext
27188 LIBS=$ac_check_lib_save_LIBS
27190 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27191 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27192 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27193 MSPACK_LINK=" -lmspack"
27197 if test "x$MSPACK_LINK" = "x" ; then
27202 if test "$wxUSE_LIBMSPACK" != "no"; then
27203 cat >>confdefs.h <<\_ACEOF
27204 #define wxUSE_LIBMSPACK 1
27218 if test "$USE_WIN32" = 1 ; then
27220 for ac_header in w32api.h
27222 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27224 echo "$as_me:$LINENO: checking for $ac_header" >&5
27225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27227 echo $ECHO_N "(cached) $ECHO_C" >&6
27229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27230 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27232 # Is the header compilable?
27233 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27234 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27235 cat >conftest.$ac_ext <<_ACEOF
27238 cat confdefs.h >>conftest.$ac_ext
27239 cat >>conftest.$ac_ext <<_ACEOF
27240 /* end confdefs.h. */
27241 $ac_includes_default
27242 #include <$ac_header>
27244 rm -f conftest.$ac_objext
27245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27246 (eval $ac_compile) 2>conftest.er1
27248 grep -v '^ *+' conftest.er1 >conftest.err
27250 cat conftest.err >&5
27251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27252 (exit $ac_status); } &&
27253 { ac_try='test -z "$ac_cxx_werror_flag"
27254 || test ! -s conftest.err'
27255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27256 (eval $ac_try) 2>&5
27258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27259 (exit $ac_status); }; } &&
27260 { ac_try='test -s conftest.$ac_objext'
27261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27262 (eval $ac_try) 2>&5
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); }; }; then
27266 ac_header_compiler=yes
27268 echo "$as_me: failed program was:" >&5
27269 sed 's/^/| /' conftest.$ac_ext >&5
27271 ac_header_compiler=no
27273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27274 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27275 echo "${ECHO_T}$ac_header_compiler" >&6
27277 # Is the header present?
27278 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27279 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27280 cat >conftest.$ac_ext <<_ACEOF
27283 cat confdefs.h >>conftest.$ac_ext
27284 cat >>conftest.$ac_ext <<_ACEOF
27285 /* end confdefs.h. */
27286 #include <$ac_header>
27288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27289 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27291 grep -v '^ *+' conftest.er1 >conftest.err
27293 cat conftest.err >&5
27294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27295 (exit $ac_status); } >/dev/null; then
27296 if test -s conftest.err; then
27297 ac_cpp_err=$ac_cxx_preproc_warn_flag
27298 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27305 if test -z "$ac_cpp_err"; then
27306 ac_header_preproc=yes
27308 echo "$as_me: failed program was:" >&5
27309 sed 's/^/| /' conftest.$ac_ext >&5
27311 ac_header_preproc=no
27313 rm -f conftest.err conftest.$ac_ext
27314 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27315 echo "${ECHO_T}$ac_header_preproc" >&6
27317 # So? What about this header?
27318 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27320 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27321 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27322 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27323 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27324 ac_header_preproc=yes
27327 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27328 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27329 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27330 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27331 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27332 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27333 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27334 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27336 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27337 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27338 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27341 ## ----------------------------------------- ##
27342 ## Report this to wx-dev@lists.wxwidgets.org ##
27343 ## ----------------------------------------- ##
27346 sed "s/^/$as_me: WARNING: /" >&2
27349 echo "$as_me:$LINENO: checking for $ac_header" >&5
27350 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27352 echo $ECHO_N "(cached) $ECHO_C" >&6
27354 eval "$as_ac_Header=\$ac_header_preproc"
27356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27357 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27360 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27361 cat >>confdefs.h <<_ACEOF
27362 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27369 if test "${ac_cv_header_windows_h+set}" = set; then
27370 echo "$as_me:$LINENO: checking for windows.h" >&5
27371 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27372 if test "${ac_cv_header_windows_h+set}" = set; then
27373 echo $ECHO_N "(cached) $ECHO_C" >&6
27375 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27376 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27378 # Is the header compilable?
27379 echo "$as_me:$LINENO: checking windows.h usability" >&5
27380 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27381 cat >conftest.$ac_ext <<_ACEOF
27384 cat confdefs.h >>conftest.$ac_ext
27385 cat >>conftest.$ac_ext <<_ACEOF
27386 /* end confdefs.h. */
27387 $ac_includes_default
27388 #include <windows.h>
27390 rm -f conftest.$ac_objext
27391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27392 (eval $ac_compile) 2>conftest.er1
27394 grep -v '^ *+' conftest.er1 >conftest.err
27396 cat conftest.err >&5
27397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27398 (exit $ac_status); } &&
27399 { ac_try='test -z "$ac_cxx_werror_flag"
27400 || test ! -s conftest.err'
27401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27402 (eval $ac_try) 2>&5
27404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27405 (exit $ac_status); }; } &&
27406 { ac_try='test -s conftest.$ac_objext'
27407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27408 (eval $ac_try) 2>&5
27410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27411 (exit $ac_status); }; }; then
27412 ac_header_compiler=yes
27414 echo "$as_me: failed program was:" >&5
27415 sed 's/^/| /' conftest.$ac_ext >&5
27417 ac_header_compiler=no
27419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27420 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27421 echo "${ECHO_T}$ac_header_compiler" >&6
27423 # Is the header present?
27424 echo "$as_me:$LINENO: checking windows.h presence" >&5
27425 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27426 cat >conftest.$ac_ext <<_ACEOF
27429 cat confdefs.h >>conftest.$ac_ext
27430 cat >>conftest.$ac_ext <<_ACEOF
27431 /* end confdefs.h. */
27432 #include <windows.h>
27434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27435 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27437 grep -v '^ *+' conftest.er1 >conftest.err
27439 cat conftest.err >&5
27440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27441 (exit $ac_status); } >/dev/null; then
27442 if test -s conftest.err; then
27443 ac_cpp_err=$ac_cxx_preproc_warn_flag
27444 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27451 if test -z "$ac_cpp_err"; then
27452 ac_header_preproc=yes
27454 echo "$as_me: failed program was:" >&5
27455 sed 's/^/| /' conftest.$ac_ext >&5
27457 ac_header_preproc=no
27459 rm -f conftest.err conftest.$ac_ext
27460 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27461 echo "${ECHO_T}$ac_header_preproc" >&6
27463 # So? What about this header?
27464 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27466 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27467 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27468 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27469 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27470 ac_header_preproc=yes
27473 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27474 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27475 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27476 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27477 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27478 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27479 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27480 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27481 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27482 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27483 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27484 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27487 ## ----------------------------------------- ##
27488 ## Report this to wx-dev@lists.wxwidgets.org ##
27489 ## ----------------------------------------- ##
27492 sed "s/^/$as_me: WARNING: /" >&2
27495 echo "$as_me:$LINENO: checking for windows.h" >&5
27496 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27497 if test "${ac_cv_header_windows_h+set}" = set; then
27498 echo $ECHO_N "(cached) $ECHO_C" >&6
27500 ac_cv_header_windows_h=$ac_header_preproc
27502 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27503 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27506 if test $ac_cv_header_windows_h = yes; then
27510 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27511 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27512 { (exit 1); exit 1; }; }
27518 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27520 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27521 LIBS="$LIBS -loleacc"
27526 LIBS="$LIBS -lkernel32 -luser32"
27529 if test "$wxUSE_ODBC" = "sys" ; then
27532 if test "$wxUSE_ODBC" = "yes" ; then
27533 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27534 cat >>confdefs.h <<\_ACEOF
27535 #define wxUSE_ODBC 1
27540 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27541 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27543 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27545 WIN32INSTALL=win32install
27547 echo "$as_me:$LINENO: checking for boolean" >&5
27548 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27549 if test "${ac_cv_type_boolean+set}" = set; then
27550 echo $ECHO_N "(cached) $ECHO_C" >&6
27552 cat >conftest.$ac_ext <<_ACEOF
27555 cat confdefs.h >>conftest.$ac_ext
27556 cat >>conftest.$ac_ext <<_ACEOF
27557 /* end confdefs.h. */
27558 #include <windows.h>
27565 if (sizeof (boolean))
27571 rm -f conftest.$ac_objext
27572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27573 (eval $ac_compile) 2>conftest.er1
27575 grep -v '^ *+' conftest.er1 >conftest.err
27577 cat conftest.err >&5
27578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27579 (exit $ac_status); } &&
27580 { ac_try='test -z "$ac_cxx_werror_flag"
27581 || test ! -s conftest.err'
27582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27583 (eval $ac_try) 2>&5
27585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27586 (exit $ac_status); }; } &&
27587 { ac_try='test -s conftest.$ac_objext'
27588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27589 (eval $ac_try) 2>&5
27591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27592 (exit $ac_status); }; }; then
27593 ac_cv_type_boolean=yes
27595 echo "$as_me: failed program was:" >&5
27596 sed 's/^/| /' conftest.$ac_ext >&5
27598 ac_cv_type_boolean=no
27600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27602 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27603 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27604 if test $ac_cv_type_boolean = yes; then
27606 cat >>confdefs.h <<_ACEOF
27607 #define HAVE_BOOLEAN 1
27615 for ac_header in pbt.h
27617 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27619 echo "$as_me:$LINENO: checking for $ac_header" >&5
27620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27622 echo $ECHO_N "(cached) $ECHO_C" >&6
27624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27627 # Is the header compilable?
27628 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27629 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27630 cat >conftest.$ac_ext <<_ACEOF
27633 cat confdefs.h >>conftest.$ac_ext
27634 cat >>conftest.$ac_ext <<_ACEOF
27635 /* end confdefs.h. */
27636 $ac_includes_default
27637 #include <$ac_header>
27639 rm -f conftest.$ac_objext
27640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27641 (eval $ac_compile) 2>conftest.er1
27643 grep -v '^ *+' conftest.er1 >conftest.err
27645 cat conftest.err >&5
27646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27647 (exit $ac_status); } &&
27648 { ac_try='test -z "$ac_cxx_werror_flag"
27649 || test ! -s conftest.err'
27650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27651 (eval $ac_try) 2>&5
27653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27654 (exit $ac_status); }; } &&
27655 { ac_try='test -s conftest.$ac_objext'
27656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27657 (eval $ac_try) 2>&5
27659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27660 (exit $ac_status); }; }; then
27661 ac_header_compiler=yes
27663 echo "$as_me: failed program was:" >&5
27664 sed 's/^/| /' conftest.$ac_ext >&5
27666 ac_header_compiler=no
27668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27669 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27670 echo "${ECHO_T}$ac_header_compiler" >&6
27672 # Is the header present?
27673 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27674 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27675 cat >conftest.$ac_ext <<_ACEOF
27678 cat confdefs.h >>conftest.$ac_ext
27679 cat >>conftest.$ac_ext <<_ACEOF
27680 /* end confdefs.h. */
27681 #include <$ac_header>
27683 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27684 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27686 grep -v '^ *+' conftest.er1 >conftest.err
27688 cat conftest.err >&5
27689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27690 (exit $ac_status); } >/dev/null; then
27691 if test -s conftest.err; then
27692 ac_cpp_err=$ac_cxx_preproc_warn_flag
27693 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27700 if test -z "$ac_cpp_err"; then
27701 ac_header_preproc=yes
27703 echo "$as_me: failed program was:" >&5
27704 sed 's/^/| /' conftest.$ac_ext >&5
27706 ac_header_preproc=no
27708 rm -f conftest.err conftest.$ac_ext
27709 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27710 echo "${ECHO_T}$ac_header_preproc" >&6
27712 # So? What about this header?
27713 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27715 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27716 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27717 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27718 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27719 ac_header_preproc=yes
27722 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27723 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27724 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27725 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27726 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27727 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27728 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27729 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27730 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27731 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27732 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27733 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27736 ## ----------------------------------------- ##
27737 ## Report this to wx-dev@lists.wxwidgets.org ##
27738 ## ----------------------------------------- ##
27741 sed "s/^/$as_me: WARNING: /" >&2
27744 echo "$as_me:$LINENO: checking for $ac_header" >&5
27745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27747 echo $ECHO_N "(cached) $ECHO_C" >&6
27749 eval "$as_ac_Header=\$ac_header_preproc"
27751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27755 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27756 cat >>confdefs.h <<_ACEOF
27757 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27761 cat >>confdefs.h <<\_ACEOF
27762 #define NEED_PBT_H 1
27771 if test "$wxUSE_GUI" = "yes"; then
27781 if test "$wxUSE_COCOA" = 1 ; then
27782 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27783 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27784 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27785 wxUSE_PRINTING_ARCHITECTURE=no
27787 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27788 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27789 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27790 wxUSE_DRAG_AND_DROP=no
27792 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27793 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27794 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27799 if test "$wxUSE_MSW" = 1 ; then
27805 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27809 if test "$wxUSE_GTK" = 1; then
27811 ac_cpp='$CPP $CPPFLAGS'
27812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27817 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27818 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27820 gtk_version_cached=1
27821 if test "${wx_cv_lib_gtk+set}" = set; then
27822 echo $ECHO_N "(cached) $ECHO_C" >&6
27825 gtk_version_cached=0
27826 echo "$as_me:$LINENO: result: " >&5
27827 echo "${ECHO_T}" >&6
27830 if test "$wxUSE_THREADS" = "yes"; then
27831 GTK_MODULES=gthread
27835 if test "x$wxGTK_VERSION" != "x1"
27839 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27844 # Check whether --enable-gtktest or --disable-gtktest was given.
27845 if test "${enable_gtktest+set}" = set; then
27846 enableval="$enable_gtktest"
27852 pkg_config_args=gtk+-2.0
27853 for module in . $GTK_MODULES
27857 pkg_config_args="$pkg_config_args gthread-2.0"
27864 # Extract the first word of "pkg-config", so it can be a program name with args.
27865 set dummy pkg-config; ac_word=$2
27866 echo "$as_me:$LINENO: checking for $ac_word" >&5
27867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27868 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27869 echo $ECHO_N "(cached) $ECHO_C" >&6
27871 case $PKG_CONFIG in
27873 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27877 for as_dir in $PATH
27880 test -z "$as_dir" && as_dir=.
27881 for ac_exec_ext in '' $ac_executable_extensions; do
27882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27883 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27890 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27894 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27896 if test -n "$PKG_CONFIG"; then
27897 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27898 echo "${ECHO_T}$PKG_CONFIG" >&6
27900 echo "$as_me:$LINENO: result: no" >&5
27901 echo "${ECHO_T}no" >&6
27905 if test x$PKG_CONFIG != xno ; then
27906 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27909 echo "*** pkg-config too old; version 0.7 or better required."
27917 min_gtk_version=2.0.0
27918 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27919 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27921 if test x$PKG_CONFIG != xno ; then
27922 ## don't try to run the test against uninstalled libtool libs
27923 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27924 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27928 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27935 if test x"$no_gtk" = x ; then
27936 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27937 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27938 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27939 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27940 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27941 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27942 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27943 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27944 if test "x$enable_gtktest" = "xyes" ; then
27945 ac_save_CFLAGS="$CFLAGS"
27946 ac_save_LIBS="$LIBS"
27947 CFLAGS="$CFLAGS $GTK_CFLAGS"
27948 LIBS="$GTK_LIBS $LIBS"
27950 if test "$cross_compiling" = yes; then
27951 echo $ac_n "cross compiling; assumed OK... $ac_c"
27953 cat >conftest.$ac_ext <<_ACEOF
27956 cat confdefs.h >>conftest.$ac_ext
27957 cat >>conftest.$ac_ext <<_ACEOF
27958 /* end confdefs.h. */
27960 #include <gtk/gtk.h>
27962 #include <stdlib.h>
27967 int major, minor, micro;
27970 system ("touch conf.gtktest");
27972 /* HP/UX 9 (%@#!) writes to sscanf strings */
27973 tmp_version = g_strdup("$min_gtk_version");
27974 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27975 printf("%s, bad version string\n", "$min_gtk_version");
27979 if ((gtk_major_version != $gtk_config_major_version) ||
27980 (gtk_minor_version != $gtk_config_minor_version) ||
27981 (gtk_micro_version != $gtk_config_micro_version))
27983 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27984 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27985 gtk_major_version, gtk_minor_version, gtk_micro_version);
27986 printf ("*** was found! If pkg-config was correct, then it is best\n");
27987 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27988 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27989 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27990 printf("*** required on your system.\n");
27991 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27992 printf("*** to point to the correct configuration files\n");
27994 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27995 (gtk_minor_version != GTK_MINOR_VERSION) ||
27996 (gtk_micro_version != GTK_MICRO_VERSION))
27998 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27999 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28000 printf("*** library (version %d.%d.%d)\n",
28001 gtk_major_version, gtk_minor_version, gtk_micro_version);
28005 if ((gtk_major_version > major) ||
28006 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28007 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28013 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28014 gtk_major_version, gtk_minor_version, gtk_micro_version);
28015 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28016 major, minor, micro);
28017 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28019 printf("*** If you have already installed a sufficiently new version, this error\n");
28020 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28021 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28022 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28023 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28024 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28025 printf("*** so that the correct libraries are found at run-time))\n");
28032 rm -f conftest$ac_exeext
28033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28034 (eval $ac_link) 2>&5
28036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28037 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28039 (eval $ac_try) 2>&5
28041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28042 (exit $ac_status); }; }; then
28045 echo "$as_me: program exited with status $ac_status" >&5
28046 echo "$as_me: failed program was:" >&5
28047 sed 's/^/| /' conftest.$ac_ext >&5
28049 ( exit $ac_status )
28052 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28054 CFLAGS="$ac_save_CFLAGS"
28055 LIBS="$ac_save_LIBS"
28058 if test "x$no_gtk" = x ; then
28059 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28060 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
28063 echo "$as_me:$LINENO: result: no" >&5
28064 echo "${ECHO_T}no" >&6
28065 if test "$PKG_CONFIG" = "no" ; then
28066 echo "*** A new enough version of pkg-config was not found."
28067 echo "*** See http://pkgconfig.sourceforge.net"
28069 if test -f conf.gtktest ; then
28072 echo "*** Could not run GTK+ test program, checking why..."
28073 ac_save_CFLAGS="$CFLAGS"
28074 ac_save_LIBS="$LIBS"
28075 CFLAGS="$CFLAGS $GTK_CFLAGS"
28076 LIBS="$LIBS $GTK_LIBS"
28077 cat >conftest.$ac_ext <<_ACEOF
28080 cat confdefs.h >>conftest.$ac_ext
28081 cat >>conftest.$ac_ext <<_ACEOF
28082 /* end confdefs.h. */
28084 #include <gtk/gtk.h>
28090 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28095 rm -f conftest.$ac_objext conftest$ac_exeext
28096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28097 (eval $ac_link) 2>conftest.er1
28099 grep -v '^ *+' conftest.er1 >conftest.err
28101 cat conftest.err >&5
28102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28103 (exit $ac_status); } &&
28104 { ac_try='test -z "$ac_c_werror_flag"
28105 || test ! -s conftest.err'
28106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28107 (eval $ac_try) 2>&5
28109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28110 (exit $ac_status); }; } &&
28111 { ac_try='test -s conftest$ac_exeext'
28112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28113 (eval $ac_try) 2>&5
28115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28116 (exit $ac_status); }; }; then
28117 echo "*** The test program compiled, but did not run. This usually means"
28118 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28119 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28120 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28121 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28122 echo "*** is required on your system"
28124 echo "*** If you have an old version installed, it is best to remove it, although"
28125 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28127 echo "$as_me: failed program was:" >&5
28128 sed 's/^/| /' conftest.$ac_ext >&5
28130 echo "*** The test program failed to compile or link. See the file config.log for the"
28131 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28133 rm -f conftest.err conftest.$ac_objext \
28134 conftest$ac_exeext conftest.$ac_ext
28135 CFLAGS="$ac_save_CFLAGS"
28136 LIBS="$ac_save_LIBS"
28150 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28151 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
28152 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
28154 if test "$wxUSE_SHARED" != "yes"; then
28155 GTK_LIBS="$GTK_LIBS -lX11"
28160 if test -z "$wx_cv_lib_gtk"; then
28161 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28163 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28164 if test "${with_gtk_prefix+set}" = set; then
28165 withval="$with_gtk_prefix"
28166 gtk_config_prefix="$withval"
28168 gtk_config_prefix=""
28171 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28172 if test "${with_gtk_exec_prefix+set}" = set; then
28173 withval="$with_gtk_exec_prefix"
28174 gtk_config_exec_prefix="$withval"
28176 gtk_config_exec_prefix=""
28178 # Check whether --enable-gtktest or --disable-gtktest was given.
28179 if test "${enable_gtktest+set}" = set; then
28180 enableval="$enable_gtktest"
28186 for module in . $GTK_MODULES
28190 gtk_config_args="$gtk_config_args gthread"
28195 if test x$gtk_config_exec_prefix != x ; then
28196 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28197 if test x${GTK_CONFIG+set} != xset ; then
28198 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28201 if test x$gtk_config_prefix != x ; then
28202 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28203 if test x${GTK_CONFIG+set} != xset ; then
28204 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28208 # Extract the first word of "gtk-config", so it can be a program name with args.
28209 set dummy gtk-config; ac_word=$2
28210 echo "$as_me:$LINENO: checking for $ac_word" >&5
28211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28212 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28213 echo $ECHO_N "(cached) $ECHO_C" >&6
28215 case $GTK_CONFIG in
28217 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28221 for as_dir in $PATH
28224 test -z "$as_dir" && as_dir=.
28225 for ac_exec_ext in '' $ac_executable_extensions; do
28226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28227 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28234 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28238 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28240 if test -n "$GTK_CONFIG"; then
28241 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28242 echo "${ECHO_T}$GTK_CONFIG" >&6
28244 echo "$as_me:$LINENO: result: no" >&5
28245 echo "${ECHO_T}no" >&6
28248 min_gtk_version=1.2.7
28249 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28250 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28252 if test "$GTK_CONFIG" = "no" ; then
28255 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28256 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28257 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28258 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28259 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28260 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28261 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28262 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28263 if test "x$enable_gtktest" = "xyes" ; then
28264 ac_save_CFLAGS="$CFLAGS"
28265 ac_save_LIBS="$LIBS"
28266 CFLAGS="$CFLAGS $GTK_CFLAGS"
28267 LIBS="$GTK_LIBS $LIBS"
28269 if test "$cross_compiling" = yes; then
28270 echo $ac_n "cross compiling; assumed OK... $ac_c"
28272 cat >conftest.$ac_ext <<_ACEOF
28275 cat confdefs.h >>conftest.$ac_ext
28276 cat >>conftest.$ac_ext <<_ACEOF
28277 /* end confdefs.h. */
28279 #include <gtk/gtk.h>
28281 #include <stdlib.h>
28286 int major, minor, micro;
28289 system ("touch conf.gtktest");
28291 /* HP/UX 9 (%@#!) writes to sscanf strings */
28292 tmp_version = g_strdup("$min_gtk_version");
28293 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28294 printf("%s, bad version string\n", "$min_gtk_version");
28298 if ((gtk_major_version != $gtk_config_major_version) ||
28299 (gtk_minor_version != $gtk_config_minor_version) ||
28300 (gtk_micro_version != $gtk_config_micro_version))
28302 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28303 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28304 gtk_major_version, gtk_minor_version, gtk_micro_version);
28305 printf ("*** was found! If gtk-config was correct, then it is best\n");
28306 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28307 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28308 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28309 printf("*** required on your system.\n");
28310 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28311 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28312 printf("*** before re-running configure\n");
28314 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28315 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28316 (gtk_minor_version != GTK_MINOR_VERSION) ||
28317 (gtk_micro_version != GTK_MICRO_VERSION))
28319 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28320 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28321 printf("*** library (version %d.%d.%d)\n",
28322 gtk_major_version, gtk_minor_version, gtk_micro_version);
28324 #endif /* defined (GTK_MAJOR_VERSION) ... */
28327 if ((gtk_major_version > major) ||
28328 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28329 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28335 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28336 gtk_major_version, gtk_minor_version, gtk_micro_version);
28337 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28338 major, minor, micro);
28339 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28341 printf("*** If you have already installed a sufficiently new version, this error\n");
28342 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28343 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28344 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28345 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28346 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28347 printf("*** so that the correct libraries are found at run-time))\n");
28354 rm -f conftest$ac_exeext
28355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28356 (eval $ac_link) 2>&5
28358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28359 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28361 (eval $ac_try) 2>&5
28363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28364 (exit $ac_status); }; }; then
28367 echo "$as_me: program exited with status $ac_status" >&5
28368 echo "$as_me: failed program was:" >&5
28369 sed 's/^/| /' conftest.$ac_ext >&5
28371 ( exit $ac_status )
28374 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28376 CFLAGS="$ac_save_CFLAGS"
28377 LIBS="$ac_save_LIBS"
28380 if test "x$no_gtk" = x ; then
28381 echo "$as_me:$LINENO: result: yes" >&5
28382 echo "${ECHO_T}yes" >&6
28383 wx_cv_lib_gtk=1.2.7
28385 echo "$as_me:$LINENO: result: no" >&5
28386 echo "${ECHO_T}no" >&6
28387 if test "$GTK_CONFIG" = "no" ; then
28388 echo "*** The gtk-config script installed by GTK could not be found"
28389 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28390 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28391 echo "*** full path to gtk-config."
28393 if test -f conf.gtktest ; then
28396 echo "*** Could not run GTK test program, checking why..."
28397 CFLAGS="$CFLAGS $GTK_CFLAGS"
28398 LIBS="$LIBS $GTK_LIBS"
28399 cat >conftest.$ac_ext <<_ACEOF
28402 cat confdefs.h >>conftest.$ac_ext
28403 cat >>conftest.$ac_ext <<_ACEOF
28404 /* end confdefs.h. */
28406 #include <gtk/gtk.h>
28412 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28417 rm -f conftest.$ac_objext conftest$ac_exeext
28418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28419 (eval $ac_link) 2>conftest.er1
28421 grep -v '^ *+' conftest.er1 >conftest.err
28423 cat conftest.err >&5
28424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28425 (exit $ac_status); } &&
28426 { ac_try='test -z "$ac_c_werror_flag"
28427 || test ! -s conftest.err'
28428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28429 (eval $ac_try) 2>&5
28431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28432 (exit $ac_status); }; } &&
28433 { ac_try='test -s conftest$ac_exeext'
28434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28435 (eval $ac_try) 2>&5
28437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28438 (exit $ac_status); }; }; then
28439 echo "*** The test program compiled, but did not run. This usually means"
28440 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28441 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28442 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28443 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28444 echo "*** is required on your system"
28446 echo "*** If you have an old version installed, it is best to remove it, although"
28447 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28449 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28450 echo "*** came with the system with the command"
28452 echo "*** rpm --erase --nodeps gtk gtk-devel"
28454 echo "$as_me: failed program was:" >&5
28455 sed 's/^/| /' conftest.$ac_ext >&5
28457 echo "*** The test program failed to compile or link. See the file config.log for the"
28458 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28459 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28460 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28462 rm -f conftest.err conftest.$ac_objext \
28463 conftest$ac_exeext conftest.$ac_ext
28464 CFLAGS="$ac_save_CFLAGS"
28465 LIBS="$ac_save_LIBS"
28477 if test -z "$wx_cv_lib_gtk"; then
28479 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28480 if test "${with_gtk_prefix+set}" = set; then
28481 withval="$with_gtk_prefix"
28482 gtk_config_prefix="$withval"
28484 gtk_config_prefix=""
28487 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28488 if test "${with_gtk_exec_prefix+set}" = set; then
28489 withval="$with_gtk_exec_prefix"
28490 gtk_config_exec_prefix="$withval"
28492 gtk_config_exec_prefix=""
28494 # Check whether --enable-gtktest or --disable-gtktest was given.
28495 if test "${enable_gtktest+set}" = set; then
28496 enableval="$enable_gtktest"
28502 for module in . $GTK_MODULES
28506 gtk_config_args="$gtk_config_args gthread"
28511 if test x$gtk_config_exec_prefix != x ; then
28512 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28513 if test x${GTK_CONFIG+set} != xset ; then
28514 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28517 if test x$gtk_config_prefix != x ; then
28518 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28519 if test x${GTK_CONFIG+set} != xset ; then
28520 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28524 # Extract the first word of "gtk-config", so it can be a program name with args.
28525 set dummy gtk-config; ac_word=$2
28526 echo "$as_me:$LINENO: checking for $ac_word" >&5
28527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28528 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28529 echo $ECHO_N "(cached) $ECHO_C" >&6
28531 case $GTK_CONFIG in
28533 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28537 for as_dir in $PATH
28540 test -z "$as_dir" && as_dir=.
28541 for ac_exec_ext in '' $ac_executable_extensions; do
28542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28543 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28550 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28554 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28556 if test -n "$GTK_CONFIG"; then
28557 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28558 echo "${ECHO_T}$GTK_CONFIG" >&6
28560 echo "$as_me:$LINENO: result: no" >&5
28561 echo "${ECHO_T}no" >&6
28564 min_gtk_version=1.2.3
28565 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28566 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28568 if test "$GTK_CONFIG" = "no" ; then
28571 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28572 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28573 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28574 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28575 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28576 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28577 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28578 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28579 if test "x$enable_gtktest" = "xyes" ; then
28580 ac_save_CFLAGS="$CFLAGS"
28581 ac_save_LIBS="$LIBS"
28582 CFLAGS="$CFLAGS $GTK_CFLAGS"
28583 LIBS="$GTK_LIBS $LIBS"
28585 if test "$cross_compiling" = yes; then
28586 echo $ac_n "cross compiling; assumed OK... $ac_c"
28588 cat >conftest.$ac_ext <<_ACEOF
28591 cat confdefs.h >>conftest.$ac_ext
28592 cat >>conftest.$ac_ext <<_ACEOF
28593 /* end confdefs.h. */
28595 #include <gtk/gtk.h>
28597 #include <stdlib.h>
28602 int major, minor, micro;
28605 system ("touch conf.gtktest");
28607 /* HP/UX 9 (%@#!) writes to sscanf strings */
28608 tmp_version = g_strdup("$min_gtk_version");
28609 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28610 printf("%s, bad version string\n", "$min_gtk_version");
28614 if ((gtk_major_version != $gtk_config_major_version) ||
28615 (gtk_minor_version != $gtk_config_minor_version) ||
28616 (gtk_micro_version != $gtk_config_micro_version))
28618 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28619 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28620 gtk_major_version, gtk_minor_version, gtk_micro_version);
28621 printf ("*** was found! If gtk-config was correct, then it is best\n");
28622 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28623 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28624 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28625 printf("*** required on your system.\n");
28626 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28627 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28628 printf("*** before re-running configure\n");
28630 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28631 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28632 (gtk_minor_version != GTK_MINOR_VERSION) ||
28633 (gtk_micro_version != GTK_MICRO_VERSION))
28635 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28636 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28637 printf("*** library (version %d.%d.%d)\n",
28638 gtk_major_version, gtk_minor_version, gtk_micro_version);
28640 #endif /* defined (GTK_MAJOR_VERSION) ... */
28643 if ((gtk_major_version > major) ||
28644 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28645 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28651 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28652 gtk_major_version, gtk_minor_version, gtk_micro_version);
28653 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28654 major, minor, micro);
28655 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28657 printf("*** If you have already installed a sufficiently new version, this error\n");
28658 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28659 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28660 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28661 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28662 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28663 printf("*** so that the correct libraries are found at run-time))\n");
28670 rm -f conftest$ac_exeext
28671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28672 (eval $ac_link) 2>&5
28674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28675 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28677 (eval $ac_try) 2>&5
28679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28680 (exit $ac_status); }; }; then
28683 echo "$as_me: program exited with status $ac_status" >&5
28684 echo "$as_me: failed program was:" >&5
28685 sed 's/^/| /' conftest.$ac_ext >&5
28687 ( exit $ac_status )
28690 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28692 CFLAGS="$ac_save_CFLAGS"
28693 LIBS="$ac_save_LIBS"
28696 if test "x$no_gtk" = x ; then
28697 echo "$as_me:$LINENO: result: yes" >&5
28698 echo "${ECHO_T}yes" >&6
28699 wx_cv_lib_gtk=1.2.3
28701 echo "$as_me:$LINENO: result: no" >&5
28702 echo "${ECHO_T}no" >&6
28703 if test "$GTK_CONFIG" = "no" ; then
28704 echo "*** The gtk-config script installed by GTK could not be found"
28705 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28706 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28707 echo "*** full path to gtk-config."
28709 if test -f conf.gtktest ; then
28712 echo "*** Could not run GTK test program, checking why..."
28713 CFLAGS="$CFLAGS $GTK_CFLAGS"
28714 LIBS="$LIBS $GTK_LIBS"
28715 cat >conftest.$ac_ext <<_ACEOF
28718 cat confdefs.h >>conftest.$ac_ext
28719 cat >>conftest.$ac_ext <<_ACEOF
28720 /* end confdefs.h. */
28722 #include <gtk/gtk.h>
28728 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28733 rm -f conftest.$ac_objext conftest$ac_exeext
28734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28735 (eval $ac_link) 2>conftest.er1
28737 grep -v '^ *+' conftest.er1 >conftest.err
28739 cat conftest.err >&5
28740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28741 (exit $ac_status); } &&
28742 { ac_try='test -z "$ac_c_werror_flag"
28743 || test ! -s conftest.err'
28744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28745 (eval $ac_try) 2>&5
28747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28748 (exit $ac_status); }; } &&
28749 { ac_try='test -s conftest$ac_exeext'
28750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28751 (eval $ac_try) 2>&5
28753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28754 (exit $ac_status); }; }; then
28755 echo "*** The test program compiled, but did not run. This usually means"
28756 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28757 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28758 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28759 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28760 echo "*** is required on your system"
28762 echo "*** If you have an old version installed, it is best to remove it, although"
28763 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28765 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28766 echo "*** came with the system with the command"
28768 echo "*** rpm --erase --nodeps gtk gtk-devel"
28770 echo "$as_me: failed program was:" >&5
28771 sed 's/^/| /' conftest.$ac_ext >&5
28773 echo "*** The test program failed to compile or link. See the file config.log for the"
28774 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28775 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28776 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28778 rm -f conftest.err conftest.$ac_objext \
28779 conftest$ac_exeext conftest.$ac_ext
28780 CFLAGS="$ac_save_CFLAGS"
28781 LIBS="$ac_save_LIBS"
28796 if test -z "$wx_cv_lib_gtk"; then
28799 wx_cv_cflags_gtk=$GTK_CFLAGS
28800 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28807 if test "$gtk_version_cached" = 1; then
28808 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28809 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28812 case "$wx_cv_lib_gtk" in
28821 *) { { echo "$as_me:$LINENO: error:
28822 The development files for GTK+ were not found. For GTK+ 2, please
28823 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28824 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28825 and that the version is 1.2.3 or above. Also check that the
28826 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28827 --libs' are in the LD_LIBRARY_PATH or equivalent.
28829 echo "$as_me: error:
28830 The development files for GTK+ were not found. For GTK+ 2, please
28831 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28832 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28833 and that the version is 1.2.3 or above. Also check that the
28834 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28835 --libs' are in the LD_LIBRARY_PATH or equivalent.
28837 { (exit 1); exit 1; }; }
28841 if test "$WXGTK20" = 1; then
28842 save_CFLAGS="$CFLAGS"
28844 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28845 LIBS="$LIBS $wx_cv_libs_gtk"
28847 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28848 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28849 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28850 echo $ECHO_N "(cached) $ECHO_C" >&6
28852 cat >conftest.$ac_ext <<_ACEOF
28855 cat confdefs.h >>conftest.$ac_ext
28856 cat >>conftest.$ac_ext <<_ACEOF
28857 /* end confdefs.h. */
28858 #include <gtk/gtk.h>
28863 #ifndef gtk_icon_size_lookup
28864 char *p = (char *) gtk_icon_size_lookup;
28871 rm -f conftest.$ac_objext
28872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28873 (eval $ac_compile) 2>conftest.er1
28875 grep -v '^ *+' conftest.er1 >conftest.err
28877 cat conftest.err >&5
28878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28879 (exit $ac_status); } &&
28880 { ac_try='test -z "$ac_c_werror_flag"
28881 || test ! -s conftest.err'
28882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28883 (eval $ac_try) 2>&5
28885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28886 (exit $ac_status); }; } &&
28887 { ac_try='test -s conftest.$ac_objext'
28888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28889 (eval $ac_try) 2>&5
28891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28892 (exit $ac_status); }; }; then
28893 ac_cv_have_decl_gtk_icon_size_lookup=yes
28895 echo "$as_me: failed program was:" >&5
28896 sed 's/^/| /' conftest.$ac_ext >&5
28898 ac_cv_have_decl_gtk_icon_size_lookup=no
28900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28902 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28903 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28904 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28906 cat >>confdefs.h <<_ACEOF
28907 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28912 cat >>confdefs.h <<_ACEOF
28913 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28916 cat >>confdefs.h <<\_ACEOF
28917 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28924 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28925 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28926 cat >conftest.$ac_ext <<_ACEOF
28929 cat confdefs.h >>conftest.$ac_ext
28930 cat >>conftest.$ac_ext <<_ACEOF
28931 /* end confdefs.h. */
28933 #include <gtk/gtk.h>
28939 #if !GTK_CHECK_VERSION(2,6,0)
28947 rm -f conftest.$ac_objext
28948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28949 (eval $ac_compile) 2>conftest.er1
28951 grep -v '^ *+' conftest.er1 >conftest.err
28953 cat conftest.err >&5
28954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28955 (exit $ac_status); } &&
28956 { ac_try='test -z "$ac_c_werror_flag"
28957 || test ! -s conftest.err'
28958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28959 (eval $ac_try) 2>&5
28961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28962 (exit $ac_status); }; } &&
28963 { ac_try='test -s conftest.$ac_objext'
28964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28965 (eval $ac_try) 2>&5
28967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28968 (exit $ac_status); }; }; then
28970 cat >>confdefs.h <<\_ACEOF
28971 #define __WXGTK26__ 1
28974 cat >>confdefs.h <<\_ACEOF
28975 #define __WXGTK24__ 1
28978 echo "$as_me:$LINENO: result: yes" >&5
28979 echo "${ECHO_T}yes" >&6
28983 echo "$as_me: failed program was:" >&5
28984 sed 's/^/| /' conftest.$ac_ext >&5
28987 echo "$as_me:$LINENO: result: no" >&5
28988 echo "${ECHO_T}no" >&6
28992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28994 if test "$ac_wxgtk26" = 0; then
28995 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28996 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28997 cat >conftest.$ac_ext <<_ACEOF
29000 cat confdefs.h >>conftest.$ac_ext
29001 cat >>conftest.$ac_ext <<_ACEOF
29002 /* end confdefs.h. */
29004 #include <gtk/gtk.h>
29010 #if !GTK_CHECK_VERSION(2,4,0)
29018 rm -f conftest.$ac_objext
29019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29020 (eval $ac_compile) 2>conftest.er1
29022 grep -v '^ *+' conftest.er1 >conftest.err
29024 cat conftest.err >&5
29025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29026 (exit $ac_status); } &&
29027 { ac_try='test -z "$ac_c_werror_flag"
29028 || test ! -s conftest.err'
29029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29030 (eval $ac_try) 2>&5
29032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29033 (exit $ac_status); }; } &&
29034 { ac_try='test -s conftest.$ac_objext'
29035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29036 (eval $ac_try) 2>&5
29038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29039 (exit $ac_status); }; }; then
29041 cat >>confdefs.h <<\_ACEOF
29042 #define __WXGTK24__ 1
29045 echo "$as_me:$LINENO: result: yes" >&5
29046 echo "${ECHO_T}yes" >&6
29049 echo "$as_me: failed program was:" >&5
29050 sed 's/^/| /' conftest.$ac_ext >&5
29053 echo "$as_me:$LINENO: result: no" >&5
29054 echo "${ECHO_T}no" >&6
29057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29060 CFLAGS="$save_CFLAGS"
29063 if test "$wxUSE_UNICODE" = "yes"; then
29064 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29065 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29069 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29070 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
29071 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29072 echo $ECHO_N "(cached) $ECHO_C" >&6
29074 ac_check_lib_save_LIBS=$LIBS
29076 cat >conftest.$ac_ext <<_ACEOF
29079 cat confdefs.h >>conftest.$ac_ext
29080 cat >>conftest.$ac_ext <<_ACEOF
29081 /* end confdefs.h. */
29083 /* Override any gcc2 internal prototype to avoid an error. */
29087 /* We use char because int might match the return type of a gcc2
29088 builtin and then its argument prototype would still apply. */
29089 char gdk_im_open ();
29098 rm -f conftest.$ac_objext conftest$ac_exeext
29099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29100 (eval $ac_link) 2>conftest.er1
29102 grep -v '^ *+' conftest.er1 >conftest.err
29104 cat conftest.err >&5
29105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29106 (exit $ac_status); } &&
29107 { ac_try='test -z "$ac_c_werror_flag"
29108 || test ! -s conftest.err'
29109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29110 (eval $ac_try) 2>&5
29112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29113 (exit $ac_status); }; } &&
29114 { ac_try='test -s conftest$ac_exeext'
29115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29116 (eval $ac_try) 2>&5
29118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29119 (exit $ac_status); }; }; then
29120 ac_cv_lib_gdk_gdk_im_open=yes
29122 echo "$as_me: failed program was:" >&5
29123 sed 's/^/| /' conftest.$ac_ext >&5
29125 ac_cv_lib_gdk_gdk_im_open=no
29127 rm -f conftest.err conftest.$ac_objext \
29128 conftest$ac_exeext conftest.$ac_ext
29129 LIBS=$ac_check_lib_save_LIBS
29131 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29132 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29133 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29134 cat >>confdefs.h <<\_ACEOF
29143 ac_cpp='$CXXCPP $CPPFLAGS'
29144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29149 if test "$USE_DARWIN" != 1; then
29151 for ac_func in poll
29153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29154 echo "$as_me:$LINENO: checking for $ac_func" >&5
29155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29156 if eval "test \"\${$as_ac_var+set}\" = set"; then
29157 echo $ECHO_N "(cached) $ECHO_C" >&6
29159 cat >conftest.$ac_ext <<_ACEOF
29162 cat confdefs.h >>conftest.$ac_ext
29163 cat >>conftest.$ac_ext <<_ACEOF
29164 /* end confdefs.h. */
29165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29167 #define $ac_func innocuous_$ac_func
29169 /* System header to define __stub macros and hopefully few prototypes,
29170 which can conflict with char $ac_func (); below.
29171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29172 <limits.h> exists even on freestanding compilers. */
29175 # include <limits.h>
29177 # include <assert.h>
29182 /* Override any gcc2 internal prototype to avoid an error. */
29187 /* We use char because int might match the return type of a gcc2
29188 builtin and then its argument prototype would still apply. */
29190 /* The GNU C library defines this for functions which it implements
29191 to always fail with ENOSYS. Some functions are actually named
29192 something starting with __ and the normal name is an alias. */
29193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29196 char (*f) () = $ac_func;
29205 return f != $ac_func;
29210 rm -f conftest.$ac_objext conftest$ac_exeext
29211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29212 (eval $ac_link) 2>conftest.er1
29214 grep -v '^ *+' conftest.er1 >conftest.err
29216 cat conftest.err >&5
29217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29218 (exit $ac_status); } &&
29219 { ac_try='test -z "$ac_cxx_werror_flag"
29220 || test ! -s conftest.err'
29221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29222 (eval $ac_try) 2>&5
29224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29225 (exit $ac_status); }; } &&
29226 { ac_try='test -s conftest$ac_exeext'
29227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29228 (eval $ac_try) 2>&5
29230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29231 (exit $ac_status); }; }; then
29232 eval "$as_ac_var=yes"
29234 echo "$as_me: failed program was:" >&5
29235 sed 's/^/| /' conftest.$ac_ext >&5
29237 eval "$as_ac_var=no"
29239 rm -f conftest.err conftest.$ac_objext \
29240 conftest$ac_exeext conftest.$ac_ext
29242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29244 if test `eval echo '${'$as_ac_var'}'` = yes; then
29245 cat >>confdefs.h <<_ACEOF
29246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29254 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29255 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29257 AFMINSTALL=afminstall
29261 if test "$wxUSE_GPE" = "yes"; then
29262 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29263 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29266 for ac_dir in $SEARCH_LIB;
29268 for ac_extension in a so sl dylib dll.a; do
29269 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29270 ac_find_libraries=$ac_dir
29276 if test "$ac_find_libraries" != "" ; then
29278 if test "$ac_find_libraries" = "default location"; then
29281 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29283 if test $result = 0; then
29286 ac_path_to_link=" -L$ac_find_libraries"
29290 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29292 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29293 echo "${ECHO_T}found in $ac_find_libraries" >&6
29295 echo "$as_me:$LINENO: result: not found" >&5
29296 echo "${ECHO_T}not found" >&6
29302 if test "$wxUSE_MGL" = 1; then
29303 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29304 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29305 if test "x$MGL_ROOT" = x ; then
29306 echo "$as_me:$LINENO: result: not found" >&5
29307 echo "${ECHO_T}not found" >&6
29308 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29309 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29310 { (exit 1); exit 1; }; }
29312 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29313 echo "${ECHO_T}$MGL_ROOT" >&6
29316 echo "$as_me:$LINENO: checking for libmgl location" >&5
29317 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29320 if test "x$wxUSE_SHARED" = xyes ; then
29321 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29323 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29327 mgl_os_candidates="dos32/dj2"
29330 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29331 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29332 { (exit 1); exit 1; }; }
29338 for mgl_os_i in $mgl_os_candidates ; do
29339 if test "x$mgl_os" = x ; then
29340 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29341 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29342 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29347 if test "x$mgl_lib_type" = x ; then
29348 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29349 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29350 mgl_lib_type=release
29357 if test "x$mgl_os" = x ; then
29358 echo "$as_me:$LINENO: result: not found" >&5
29359 echo "${ECHO_T}not found" >&6
29360 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29361 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29362 { (exit 1); exit 1; }; }
29364 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29365 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29367 wxUSE_UNIVERSAL="yes"
29369 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29370 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29372 AFMINSTALL=afminstall
29377 if test "$wxUSE_DFB" = 1; then
29380 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29381 if test -n "$ac_tool_prefix"; then
29382 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29383 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29384 echo "$as_me:$LINENO: checking for $ac_word" >&5
29385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29386 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29387 echo $ECHO_N "(cached) $ECHO_C" >&6
29389 case $PKG_CONFIG in
29391 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29395 for as_dir in $PATH
29398 test -z "$as_dir" && as_dir=.
29399 for ac_exec_ext in '' $ac_executable_extensions; do
29400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29401 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29411 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29413 if test -n "$PKG_CONFIG"; then
29414 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29415 echo "${ECHO_T}$PKG_CONFIG" >&6
29417 echo "$as_me:$LINENO: result: no" >&5
29418 echo "${ECHO_T}no" >&6
29422 if test -z "$ac_cv_path_PKG_CONFIG"; then
29423 ac_pt_PKG_CONFIG=$PKG_CONFIG
29424 # Extract the first word of "pkg-config", so it can be a program name with args.
29425 set dummy pkg-config; ac_word=$2
29426 echo "$as_me:$LINENO: checking for $ac_word" >&5
29427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29428 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29429 echo $ECHO_N "(cached) $ECHO_C" >&6
29431 case $ac_pt_PKG_CONFIG in
29433 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29437 for as_dir in $PATH
29440 test -z "$as_dir" && as_dir=.
29441 for ac_exec_ext in '' $ac_executable_extensions; do
29442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29443 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29453 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29455 if test -n "$ac_pt_PKG_CONFIG"; then
29456 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29457 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29459 echo "$as_me:$LINENO: result: no" >&5
29460 echo "${ECHO_T}no" >&6
29463 PKG_CONFIG=$ac_pt_PKG_CONFIG
29465 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29469 if test -n "$PKG_CONFIG"; then
29470 _pkg_min_version=0.9.0
29471 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29472 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29473 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29474 echo "$as_me:$LINENO: result: yes" >&5
29475 echo "${ECHO_T}yes" >&6
29477 echo "$as_me:$LINENO: result: no" >&5
29478 echo "${ECHO_T}no" >&6
29485 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29486 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29488 if test -n "$PKG_CONFIG"; then
29489 if test -n "$DIRECTFB_CFLAGS"; then
29490 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29492 if test -n "$PKG_CONFIG" && \
29493 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29494 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29497 (exit $ac_status); }; then
29498 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29506 if test -n "$PKG_CONFIG"; then
29507 if test -n "$DIRECTFB_LIBS"; then
29508 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29510 if test -n "$PKG_CONFIG" && \
29511 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29512 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29515 (exit $ac_status); }; then
29516 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29527 if test $pkg_failed = yes; then
29529 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29530 _pkg_short_errors_supported=yes
29532 _pkg_short_errors_supported=no
29534 if test $_pkg_short_errors_supported = yes; then
29535 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29537 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29539 # Put the nasty error message in config.log where it belongs
29540 echo "$DIRECTFB_PKG_ERRORS" >&5
29543 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29544 echo "$as_me: error: DirectFB not found." >&2;}
29545 { (exit 1); exit 1; }; }
29548 elif test $pkg_failed = untried; then
29550 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29551 echo "$as_me: error: DirectFB not found." >&2;}
29552 { (exit 1); exit 1; }; }
29556 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29557 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29558 echo "$as_me:$LINENO: result: yes" >&5
29559 echo "${ECHO_T}yes" >&6
29561 wxUSE_UNIVERSAL="yes"
29562 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29563 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29570 if test "$wxUSE_MICROWIN" = 1; then
29571 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29572 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29573 if test "x$MICROWINDOWS" = x ; then
29574 echo "$as_me:$LINENO: result: not found" >&5
29575 echo "${ECHO_T}not found" >&6
29576 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29577 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29578 { (exit 1); exit 1; }; }
29580 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29581 echo "${ECHO_T}$MICROWINDOWS" >&6
29584 if test -f $MICROWINDOWS/lib/libmwin.a; then
29585 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29586 echo "${ECHO_T}MicroWindows' libraries found." >&6
29588 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29589 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29590 { (exit 1); exit 1; }; }
29593 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29594 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29596 wxUSE_UNIVERSAL="yes"
29598 AFMINSTALL=afminstall
29600 GUIDIST=MICROWIN_DIST
29602 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29605 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29606 echo "$as_me:$LINENO: checking for X" >&5
29607 echo $ECHO_N "checking for X... $ECHO_C" >&6
29610 # Check whether --with-x or --without-x was given.
29611 if test "${with_x+set}" = set; then
29615 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29616 if test "x$with_x" = xno; then
29617 # The user explicitly disabled X.
29620 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29621 # Both variables are already set.
29624 if test "${ac_cv_have_x+set}" = set; then
29625 echo $ECHO_N "(cached) $ECHO_C" >&6
29627 # One or both of the vars are not set, and there is no cached value.
29628 ac_x_includes=no ac_x_libraries=no
29629 rm -fr conftest.dir
29630 if mkdir conftest.dir; then
29632 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29633 cat >Imakefile <<'_ACEOF'
29635 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29637 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29638 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29639 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29640 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29641 for ac_extension in a so sl; do
29642 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29643 test -f $ac_im_libdir/libX11.$ac_extension; then
29644 ac_im_usrlibdir=$ac_im_libdir; break
29647 # Screen out bogus values from the imake configuration. They are
29648 # bogus both because they are the default anyway, and because
29649 # using them would break gcc on systems where it needs fixed includes.
29650 case $ac_im_incroot in
29652 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29654 case $ac_im_usrlibdir in
29655 /usr/lib | /lib) ;;
29656 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29660 rm -fr conftest.dir
29663 # Standard set of common directories for X headers.
29664 # Check X11 before X11Rn because it is often a symlink to the current release.
29676 /usr/local/X11/include
29677 /usr/local/X11R6/include
29678 /usr/local/X11R5/include
29679 /usr/local/X11R4/include
29681 /usr/local/include/X11
29682 /usr/local/include/X11R6
29683 /usr/local/include/X11R5
29684 /usr/local/include/X11R4
29688 /usr/XFree86/include/X11
29692 /usr/unsupported/include
29693 /usr/athena/include
29694 /usr/local/x11r5/include
29695 /usr/lpp/Xamples/include
29697 /usr/openwin/include
29698 /usr/openwin/share/include'
29700 if test "$ac_x_includes" = no; then
29701 # Guess where to find include files, by looking for Intrinsic.h.
29702 # First, try using that file with no special directory specified.
29703 cat >conftest.$ac_ext <<_ACEOF
29706 cat confdefs.h >>conftest.$ac_ext
29707 cat >>conftest.$ac_ext <<_ACEOF
29708 /* end confdefs.h. */
29709 #include <X11/Intrinsic.h>
29711 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29712 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29714 grep -v '^ *+' conftest.er1 >conftest.err
29716 cat conftest.err >&5
29717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29718 (exit $ac_status); } >/dev/null; then
29719 if test -s conftest.err; then
29720 ac_cpp_err=$ac_cxx_preproc_warn_flag
29721 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
29728 if test -z "$ac_cpp_err"; then
29729 # We can compile using X headers with no special include directory.
29732 echo "$as_me: failed program was:" >&5
29733 sed 's/^/| /' conftest.$ac_ext >&5
29735 for ac_dir in $ac_x_header_dirs; do
29736 if test -r "$ac_dir/X11/Intrinsic.h"; then
29737 ac_x_includes=$ac_dir
29742 rm -f conftest.err conftest.$ac_ext
29743 fi # $ac_x_includes = no
29745 if test "$ac_x_libraries" = no; then
29746 # Check for the libraries.
29747 # See if we find them without any special options.
29748 # Don't add to $LIBS permanently.
29751 cat >conftest.$ac_ext <<_ACEOF
29754 cat confdefs.h >>conftest.$ac_ext
29755 cat >>conftest.$ac_ext <<_ACEOF
29756 /* end confdefs.h. */
29757 #include <X11/Intrinsic.h>
29766 rm -f conftest.$ac_objext conftest$ac_exeext
29767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29768 (eval $ac_link) 2>conftest.er1
29770 grep -v '^ *+' conftest.er1 >conftest.err
29772 cat conftest.err >&5
29773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29774 (exit $ac_status); } &&
29775 { ac_try='test -z "$ac_cxx_werror_flag"
29776 || test ! -s conftest.err'
29777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29778 (eval $ac_try) 2>&5
29780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29781 (exit $ac_status); }; } &&
29782 { ac_try='test -s conftest$ac_exeext'
29783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29784 (eval $ac_try) 2>&5
29786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29787 (exit $ac_status); }; }; then
29789 # We can link X programs with no special library path.
29792 echo "$as_me: failed program was:" >&5
29793 sed 's/^/| /' conftest.$ac_ext >&5
29796 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29798 # Don't even attempt the hair of trying to link an X program!
29799 for ac_extension in a so sl; do
29800 if test -r $ac_dir/libXt.$ac_extension; then
29801 ac_x_libraries=$ac_dir
29807 rm -f conftest.err conftest.$ac_objext \
29808 conftest$ac_exeext conftest.$ac_ext
29809 fi # $ac_x_libraries = no
29811 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
29812 # Didn't find X anywhere. Cache the known absence of X.
29813 ac_cv_have_x="have_x=no"
29815 # Record where we found X for the cache.
29816 ac_cv_have_x="have_x=yes \
29817 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29822 eval "$ac_cv_have_x"
29825 if test "$have_x" != yes; then
29826 echo "$as_me:$LINENO: result: $have_x" >&5
29827 echo "${ECHO_T}$have_x" >&6
29830 # If each of the values was on the command line, it overrides each guess.
29831 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29832 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29833 # Update the cache value to reflect the command line values.
29834 ac_cv_have_x="have_x=yes \
29835 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29836 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29837 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
29840 if test "$no_x" = yes; then
29841 # Not all programs may use this symbol, but it does not hurt to define it.
29843 cat >>confdefs.h <<\_ACEOF
29844 #define X_DISPLAY_MISSING 1
29847 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29849 if test -n "$x_includes"; then
29850 X_CFLAGS="$X_CFLAGS -I$x_includes"
29853 # It would also be nice to do this for all -L options, not just this one.
29854 if test -n "$x_libraries"; then
29855 X_LIBS="$X_LIBS -L$x_libraries"
29856 # For Solaris; some versions of Sun CC require a space after -R and
29857 # others require no space. Words are not sufficient . . . .
29858 case `(uname -sr) 2>/dev/null` in
29860 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29861 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29862 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29863 cat >conftest.$ac_ext <<_ACEOF
29866 cat confdefs.h >>conftest.$ac_ext
29867 cat >>conftest.$ac_ext <<_ACEOF
29868 /* end confdefs.h. */
29878 rm -f conftest.$ac_objext conftest$ac_exeext
29879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29880 (eval $ac_link) 2>conftest.er1
29882 grep -v '^ *+' conftest.er1 >conftest.err
29884 cat conftest.err >&5
29885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29886 (exit $ac_status); } &&
29887 { ac_try='test -z "$ac_cxx_werror_flag"
29888 || test ! -s conftest.err'
29889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29890 (eval $ac_try) 2>&5
29892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29893 (exit $ac_status); }; } &&
29894 { ac_try='test -s conftest$ac_exeext'
29895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29896 (eval $ac_try) 2>&5
29898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29899 (exit $ac_status); }; }; then
29902 echo "$as_me: failed program was:" >&5
29903 sed 's/^/| /' conftest.$ac_ext >&5
29907 rm -f conftest.err conftest.$ac_objext \
29908 conftest$ac_exeext conftest.$ac_ext
29909 if test $ac_R_nospace = yes; then
29910 echo "$as_me:$LINENO: result: no" >&5
29911 echo "${ECHO_T}no" >&6
29912 X_LIBS="$X_LIBS -R$x_libraries"
29914 LIBS="$ac_xsave_LIBS -R $x_libraries"
29915 cat >conftest.$ac_ext <<_ACEOF
29918 cat confdefs.h >>conftest.$ac_ext
29919 cat >>conftest.$ac_ext <<_ACEOF
29920 /* end confdefs.h. */
29930 rm -f conftest.$ac_objext conftest$ac_exeext
29931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29932 (eval $ac_link) 2>conftest.er1
29934 grep -v '^ *+' conftest.er1 >conftest.err
29936 cat conftest.err >&5
29937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29938 (exit $ac_status); } &&
29939 { ac_try='test -z "$ac_cxx_werror_flag"
29940 || test ! -s conftest.err'
29941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29942 (eval $ac_try) 2>&5
29944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29945 (exit $ac_status); }; } &&
29946 { ac_try='test -s conftest$ac_exeext'
29947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29948 (eval $ac_try) 2>&5
29950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29951 (exit $ac_status); }; }; then
29954 echo "$as_me: failed program was:" >&5
29955 sed 's/^/| /' conftest.$ac_ext >&5
29959 rm -f conftest.err conftest.$ac_objext \
29960 conftest$ac_exeext conftest.$ac_ext
29961 if test $ac_R_space = yes; then
29962 echo "$as_me:$LINENO: result: yes" >&5
29963 echo "${ECHO_T}yes" >&6
29964 X_LIBS="$X_LIBS -R $x_libraries"
29966 echo "$as_me:$LINENO: result: neither works" >&5
29967 echo "${ECHO_T}neither works" >&6
29970 LIBS=$ac_xsave_LIBS
29974 # Check for system-dependent libraries X programs must link with.
29975 # Do this before checking for the system-independent R6 libraries
29976 # (-lICE), since we may need -lsocket or whatever for X linking.
29978 if test "$ISC" = yes; then
29979 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29981 # Martyn Johnson says this is needed for Ultrix, if the X
29982 # libraries were built with DECnet support. And Karl Berry says
29983 # the Alpha needs dnet_stub (dnet does not exist).
29984 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29985 cat >conftest.$ac_ext <<_ACEOF
29988 cat confdefs.h >>conftest.$ac_ext
29989 cat >>conftest.$ac_ext <<_ACEOF
29990 /* end confdefs.h. */
29992 /* Override any gcc2 internal prototype to avoid an error. */
29996 /* We use char because int might match the return type of a gcc2
29997 builtin and then its argument prototype would still apply. */
29998 char XOpenDisplay ();
30007 rm -f conftest.$ac_objext conftest$ac_exeext
30008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30009 (eval $ac_link) 2>conftest.er1
30011 grep -v '^ *+' conftest.er1 >conftest.err
30013 cat conftest.err >&5
30014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30015 (exit $ac_status); } &&
30016 { ac_try='test -z "$ac_cxx_werror_flag"
30017 || test ! -s conftest.err'
30018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30019 (eval $ac_try) 2>&5
30021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30022 (exit $ac_status); }; } &&
30023 { ac_try='test -s conftest$ac_exeext'
30024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30025 (eval $ac_try) 2>&5
30027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30028 (exit $ac_status); }; }; then
30031 echo "$as_me: failed program was:" >&5
30032 sed 's/^/| /' conftest.$ac_ext >&5
30034 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30035 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
30036 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30037 echo $ECHO_N "(cached) $ECHO_C" >&6
30039 ac_check_lib_save_LIBS=$LIBS
30040 LIBS="-ldnet $LIBS"
30041 cat >conftest.$ac_ext <<_ACEOF
30044 cat confdefs.h >>conftest.$ac_ext
30045 cat >>conftest.$ac_ext <<_ACEOF
30046 /* end confdefs.h. */
30048 /* Override any gcc2 internal prototype to avoid an error. */
30052 /* We use char because int might match the return type of a gcc2
30053 builtin and then its argument prototype would still apply. */
30063 rm -f conftest.$ac_objext conftest$ac_exeext
30064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30065 (eval $ac_link) 2>conftest.er1
30067 grep -v '^ *+' conftest.er1 >conftest.err
30069 cat conftest.err >&5
30070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30071 (exit $ac_status); } &&
30072 { ac_try='test -z "$ac_cxx_werror_flag"
30073 || test ! -s conftest.err'
30074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30075 (eval $ac_try) 2>&5
30077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30078 (exit $ac_status); }; } &&
30079 { ac_try='test -s conftest$ac_exeext'
30080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30081 (eval $ac_try) 2>&5
30083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30084 (exit $ac_status); }; }; then
30085 ac_cv_lib_dnet_dnet_ntoa=yes
30087 echo "$as_me: failed program was:" >&5
30088 sed 's/^/| /' conftest.$ac_ext >&5
30090 ac_cv_lib_dnet_dnet_ntoa=no
30092 rm -f conftest.err conftest.$ac_objext \
30093 conftest$ac_exeext conftest.$ac_ext
30094 LIBS=$ac_check_lib_save_LIBS
30096 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30097 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
30098 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30099 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30102 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30103 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30104 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
30105 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30106 echo $ECHO_N "(cached) $ECHO_C" >&6
30108 ac_check_lib_save_LIBS=$LIBS
30109 LIBS="-ldnet_stub $LIBS"
30110 cat >conftest.$ac_ext <<_ACEOF
30113 cat confdefs.h >>conftest.$ac_ext
30114 cat >>conftest.$ac_ext <<_ACEOF
30115 /* end confdefs.h. */
30117 /* Override any gcc2 internal prototype to avoid an error. */
30121 /* We use char because int might match the return type of a gcc2
30122 builtin and then its argument prototype would still apply. */
30132 rm -f conftest.$ac_objext conftest$ac_exeext
30133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30134 (eval $ac_link) 2>conftest.er1
30136 grep -v '^ *+' conftest.er1 >conftest.err
30138 cat conftest.err >&5
30139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30140 (exit $ac_status); } &&
30141 { ac_try='test -z "$ac_cxx_werror_flag"
30142 || test ! -s conftest.err'
30143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30144 (eval $ac_try) 2>&5
30146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30147 (exit $ac_status); }; } &&
30148 { ac_try='test -s conftest$ac_exeext'
30149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30150 (eval $ac_try) 2>&5
30152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30153 (exit $ac_status); }; }; then
30154 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30156 echo "$as_me: failed program was:" >&5
30157 sed 's/^/| /' conftest.$ac_ext >&5
30159 ac_cv_lib_dnet_stub_dnet_ntoa=no
30161 rm -f conftest.err conftest.$ac_objext \
30162 conftest$ac_exeext conftest.$ac_ext
30163 LIBS=$ac_check_lib_save_LIBS
30165 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30166 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30167 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30168 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30173 rm -f conftest.err conftest.$ac_objext \
30174 conftest$ac_exeext conftest.$ac_ext
30175 LIBS="$ac_xsave_LIBS"
30177 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30178 # to get the SysV transport functions.
30179 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30181 # The nsl library prevents programs from opening the X display
30182 # on Irix 5.2, according to T.E. Dickey.
30183 # The functions gethostbyname, getservbyname, and inet_addr are
30184 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30185 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30186 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30187 if test "${ac_cv_func_gethostbyname+set}" = set; then
30188 echo $ECHO_N "(cached) $ECHO_C" >&6
30190 cat >conftest.$ac_ext <<_ACEOF
30193 cat confdefs.h >>conftest.$ac_ext
30194 cat >>conftest.$ac_ext <<_ACEOF
30195 /* end confdefs.h. */
30196 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30198 #define gethostbyname innocuous_gethostbyname
30200 /* System header to define __stub macros and hopefully few prototypes,
30201 which can conflict with char gethostbyname (); below.
30202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30203 <limits.h> exists even on freestanding compilers. */
30206 # include <limits.h>
30208 # include <assert.h>
30211 #undef gethostbyname
30213 /* Override any gcc2 internal prototype to avoid an error. */
30218 /* We use char because int might match the return type of a gcc2
30219 builtin and then its argument prototype would still apply. */
30220 char gethostbyname ();
30221 /* The GNU C library defines this for functions which it implements
30222 to always fail with ENOSYS. Some functions are actually named
30223 something starting with __ and the normal name is an alias. */
30224 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30227 char (*f) () = gethostbyname;
30236 return f != gethostbyname;
30241 rm -f conftest.$ac_objext conftest$ac_exeext
30242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30243 (eval $ac_link) 2>conftest.er1
30245 grep -v '^ *+' conftest.er1 >conftest.err
30247 cat conftest.err >&5
30248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30249 (exit $ac_status); } &&
30250 { ac_try='test -z "$ac_cxx_werror_flag"
30251 || test ! -s conftest.err'
30252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30253 (eval $ac_try) 2>&5
30255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30256 (exit $ac_status); }; } &&
30257 { ac_try='test -s conftest$ac_exeext'
30258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30259 (eval $ac_try) 2>&5
30261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30262 (exit $ac_status); }; }; then
30263 ac_cv_func_gethostbyname=yes
30265 echo "$as_me: failed program was:" >&5
30266 sed 's/^/| /' conftest.$ac_ext >&5
30268 ac_cv_func_gethostbyname=no
30270 rm -f conftest.err conftest.$ac_objext \
30271 conftest$ac_exeext conftest.$ac_ext
30273 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30274 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30276 if test $ac_cv_func_gethostbyname = no; then
30277 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30278 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30279 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30280 echo $ECHO_N "(cached) $ECHO_C" >&6
30282 ac_check_lib_save_LIBS=$LIBS
30284 cat >conftest.$ac_ext <<_ACEOF
30287 cat confdefs.h >>conftest.$ac_ext
30288 cat >>conftest.$ac_ext <<_ACEOF
30289 /* end confdefs.h. */
30291 /* Override any gcc2 internal prototype to avoid an error. */
30295 /* We use char because int might match the return type of a gcc2
30296 builtin and then its argument prototype would still apply. */
30297 char gethostbyname ();
30306 rm -f conftest.$ac_objext conftest$ac_exeext
30307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30308 (eval $ac_link) 2>conftest.er1
30310 grep -v '^ *+' conftest.er1 >conftest.err
30312 cat conftest.err >&5
30313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30314 (exit $ac_status); } &&
30315 { ac_try='test -z "$ac_cxx_werror_flag"
30316 || test ! -s conftest.err'
30317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30318 (eval $ac_try) 2>&5
30320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30321 (exit $ac_status); }; } &&
30322 { ac_try='test -s conftest$ac_exeext'
30323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30324 (eval $ac_try) 2>&5
30326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30327 (exit $ac_status); }; }; then
30328 ac_cv_lib_nsl_gethostbyname=yes
30330 echo "$as_me: failed program was:" >&5
30331 sed 's/^/| /' conftest.$ac_ext >&5
30333 ac_cv_lib_nsl_gethostbyname=no
30335 rm -f conftest.err conftest.$ac_objext \
30336 conftest$ac_exeext conftest.$ac_ext
30337 LIBS=$ac_check_lib_save_LIBS
30339 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30340 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30341 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30342 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30345 if test $ac_cv_lib_nsl_gethostbyname = no; then
30346 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30347 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30348 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30349 echo $ECHO_N "(cached) $ECHO_C" >&6
30351 ac_check_lib_save_LIBS=$LIBS
30353 cat >conftest.$ac_ext <<_ACEOF
30356 cat confdefs.h >>conftest.$ac_ext
30357 cat >>conftest.$ac_ext <<_ACEOF
30358 /* end confdefs.h. */
30360 /* Override any gcc2 internal prototype to avoid an error. */
30364 /* We use char because int might match the return type of a gcc2
30365 builtin and then its argument prototype would still apply. */
30366 char gethostbyname ();
30375 rm -f conftest.$ac_objext conftest$ac_exeext
30376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30377 (eval $ac_link) 2>conftest.er1
30379 grep -v '^ *+' conftest.er1 >conftest.err
30381 cat conftest.err >&5
30382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30383 (exit $ac_status); } &&
30384 { ac_try='test -z "$ac_cxx_werror_flag"
30385 || test ! -s conftest.err'
30386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30387 (eval $ac_try) 2>&5
30389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30390 (exit $ac_status); }; } &&
30391 { ac_try='test -s conftest$ac_exeext'
30392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30393 (eval $ac_try) 2>&5
30395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30396 (exit $ac_status); }; }; then
30397 ac_cv_lib_bsd_gethostbyname=yes
30399 echo "$as_me: failed program was:" >&5
30400 sed 's/^/| /' conftest.$ac_ext >&5
30402 ac_cv_lib_bsd_gethostbyname=no
30404 rm -f conftest.err conftest.$ac_objext \
30405 conftest$ac_exeext conftest.$ac_ext
30406 LIBS=$ac_check_lib_save_LIBS
30408 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30409 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30410 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30411 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30417 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30418 # socket/setsockopt and other routines are undefined under SCO ODT
30419 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30420 # on later versions), says Simon Leinen: it contains gethostby*
30421 # variants that don't use the name server (or something). -lsocket
30422 # must be given before -lnsl if both are needed. We assume that
30423 # if connect needs -lnsl, so does gethostbyname.
30424 echo "$as_me:$LINENO: checking for connect" >&5
30425 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30426 if test "${ac_cv_func_connect+set}" = set; then
30427 echo $ECHO_N "(cached) $ECHO_C" >&6
30429 cat >conftest.$ac_ext <<_ACEOF
30432 cat confdefs.h >>conftest.$ac_ext
30433 cat >>conftest.$ac_ext <<_ACEOF
30434 /* end confdefs.h. */
30435 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30437 #define connect innocuous_connect
30439 /* System header to define __stub macros and hopefully few prototypes,
30440 which can conflict with char connect (); below.
30441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30442 <limits.h> exists even on freestanding compilers. */
30445 # include <limits.h>
30447 # include <assert.h>
30452 /* Override any gcc2 internal prototype to avoid an error. */
30457 /* We use char because int might match the return type of a gcc2
30458 builtin and then its argument prototype would still apply. */
30460 /* The GNU C library defines this for functions which it implements
30461 to always fail with ENOSYS. Some functions are actually named
30462 something starting with __ and the normal name is an alias. */
30463 #if defined (__stub_connect) || defined (__stub___connect)
30466 char (*f) () = connect;
30475 return f != connect;
30480 rm -f conftest.$ac_objext conftest$ac_exeext
30481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30482 (eval $ac_link) 2>conftest.er1
30484 grep -v '^ *+' conftest.er1 >conftest.err
30486 cat conftest.err >&5
30487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30488 (exit $ac_status); } &&
30489 { ac_try='test -z "$ac_cxx_werror_flag"
30490 || test ! -s conftest.err'
30491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30492 (eval $ac_try) 2>&5
30494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30495 (exit $ac_status); }; } &&
30496 { ac_try='test -s conftest$ac_exeext'
30497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30498 (eval $ac_try) 2>&5
30500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30501 (exit $ac_status); }; }; then
30502 ac_cv_func_connect=yes
30504 echo "$as_me: failed program was:" >&5
30505 sed 's/^/| /' conftest.$ac_ext >&5
30507 ac_cv_func_connect=no
30509 rm -f conftest.err conftest.$ac_objext \
30510 conftest$ac_exeext conftest.$ac_ext
30512 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30513 echo "${ECHO_T}$ac_cv_func_connect" >&6
30515 if test $ac_cv_func_connect = no; then
30516 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30517 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30518 if test "${ac_cv_lib_socket_connect+set}" = set; then
30519 echo $ECHO_N "(cached) $ECHO_C" >&6
30521 ac_check_lib_save_LIBS=$LIBS
30522 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30523 cat >conftest.$ac_ext <<_ACEOF
30526 cat confdefs.h >>conftest.$ac_ext
30527 cat >>conftest.$ac_ext <<_ACEOF
30528 /* end confdefs.h. */
30530 /* Override any gcc2 internal prototype to avoid an error. */
30534 /* We use char because int might match the return type of a gcc2
30535 builtin and then its argument prototype would still apply. */
30545 rm -f conftest.$ac_objext conftest$ac_exeext
30546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30547 (eval $ac_link) 2>conftest.er1
30549 grep -v '^ *+' conftest.er1 >conftest.err
30551 cat conftest.err >&5
30552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30553 (exit $ac_status); } &&
30554 { ac_try='test -z "$ac_cxx_werror_flag"
30555 || test ! -s conftest.err'
30556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30557 (eval $ac_try) 2>&5
30559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30560 (exit $ac_status); }; } &&
30561 { ac_try='test -s conftest$ac_exeext'
30562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30563 (eval $ac_try) 2>&5
30565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30566 (exit $ac_status); }; }; then
30567 ac_cv_lib_socket_connect=yes
30569 echo "$as_me: failed program was:" >&5
30570 sed 's/^/| /' conftest.$ac_ext >&5
30572 ac_cv_lib_socket_connect=no
30574 rm -f conftest.err conftest.$ac_objext \
30575 conftest$ac_exeext conftest.$ac_ext
30576 LIBS=$ac_check_lib_save_LIBS
30578 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30579 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30580 if test $ac_cv_lib_socket_connect = yes; then
30581 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30586 # Guillermo Gomez says -lposix is necessary on A/UX.
30587 echo "$as_me:$LINENO: checking for remove" >&5
30588 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30589 if test "${ac_cv_func_remove+set}" = set; then
30590 echo $ECHO_N "(cached) $ECHO_C" >&6
30592 cat >conftest.$ac_ext <<_ACEOF
30595 cat confdefs.h >>conftest.$ac_ext
30596 cat >>conftest.$ac_ext <<_ACEOF
30597 /* end confdefs.h. */
30598 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30600 #define remove innocuous_remove
30602 /* System header to define __stub macros and hopefully few prototypes,
30603 which can conflict with char remove (); below.
30604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30605 <limits.h> exists even on freestanding compilers. */
30608 # include <limits.h>
30610 # include <assert.h>
30615 /* Override any gcc2 internal prototype to avoid an error. */
30620 /* We use char because int might match the return type of a gcc2
30621 builtin and then its argument prototype would still apply. */
30623 /* The GNU C library defines this for functions which it implements
30624 to always fail with ENOSYS. Some functions are actually named
30625 something starting with __ and the normal name is an alias. */
30626 #if defined (__stub_remove) || defined (__stub___remove)
30629 char (*f) () = remove;
30638 return f != remove;
30643 rm -f conftest.$ac_objext conftest$ac_exeext
30644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30645 (eval $ac_link) 2>conftest.er1
30647 grep -v '^ *+' conftest.er1 >conftest.err
30649 cat conftest.err >&5
30650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30651 (exit $ac_status); } &&
30652 { ac_try='test -z "$ac_cxx_werror_flag"
30653 || test ! -s conftest.err'
30654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30655 (eval $ac_try) 2>&5
30657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30658 (exit $ac_status); }; } &&
30659 { ac_try='test -s conftest$ac_exeext'
30660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30661 (eval $ac_try) 2>&5
30663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30664 (exit $ac_status); }; }; then
30665 ac_cv_func_remove=yes
30667 echo "$as_me: failed program was:" >&5
30668 sed 's/^/| /' conftest.$ac_ext >&5
30670 ac_cv_func_remove=no
30672 rm -f conftest.err conftest.$ac_objext \
30673 conftest$ac_exeext conftest.$ac_ext
30675 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30676 echo "${ECHO_T}$ac_cv_func_remove" >&6
30678 if test $ac_cv_func_remove = no; then
30679 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30680 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30681 if test "${ac_cv_lib_posix_remove+set}" = set; then
30682 echo $ECHO_N "(cached) $ECHO_C" >&6
30684 ac_check_lib_save_LIBS=$LIBS
30685 LIBS="-lposix $LIBS"
30686 cat >conftest.$ac_ext <<_ACEOF
30689 cat confdefs.h >>conftest.$ac_ext
30690 cat >>conftest.$ac_ext <<_ACEOF
30691 /* end confdefs.h. */
30693 /* Override any gcc2 internal prototype to avoid an error. */
30697 /* We use char because int might match the return type of a gcc2
30698 builtin and then its argument prototype would still apply. */
30708 rm -f conftest.$ac_objext conftest$ac_exeext
30709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30710 (eval $ac_link) 2>conftest.er1
30712 grep -v '^ *+' conftest.er1 >conftest.err
30714 cat conftest.err >&5
30715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30716 (exit $ac_status); } &&
30717 { ac_try='test -z "$ac_cxx_werror_flag"
30718 || test ! -s conftest.err'
30719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30720 (eval $ac_try) 2>&5
30722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30723 (exit $ac_status); }; } &&
30724 { ac_try='test -s conftest$ac_exeext'
30725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30726 (eval $ac_try) 2>&5
30728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30729 (exit $ac_status); }; }; then
30730 ac_cv_lib_posix_remove=yes
30732 echo "$as_me: failed program was:" >&5
30733 sed 's/^/| /' conftest.$ac_ext >&5
30735 ac_cv_lib_posix_remove=no
30737 rm -f conftest.err conftest.$ac_objext \
30738 conftest$ac_exeext conftest.$ac_ext
30739 LIBS=$ac_check_lib_save_LIBS
30741 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30742 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30743 if test $ac_cv_lib_posix_remove = yes; then
30744 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30749 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30750 echo "$as_me:$LINENO: checking for shmat" >&5
30751 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30752 if test "${ac_cv_func_shmat+set}" = set; then
30753 echo $ECHO_N "(cached) $ECHO_C" >&6
30755 cat >conftest.$ac_ext <<_ACEOF
30758 cat confdefs.h >>conftest.$ac_ext
30759 cat >>conftest.$ac_ext <<_ACEOF
30760 /* end confdefs.h. */
30761 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30763 #define shmat innocuous_shmat
30765 /* System header to define __stub macros and hopefully few prototypes,
30766 which can conflict with char shmat (); below.
30767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30768 <limits.h> exists even on freestanding compilers. */
30771 # include <limits.h>
30773 # include <assert.h>
30778 /* Override any gcc2 internal prototype to avoid an error. */
30783 /* We use char because int might match the return type of a gcc2
30784 builtin and then its argument prototype would still apply. */
30786 /* The GNU C library defines this for functions which it implements
30787 to always fail with ENOSYS. Some functions are actually named
30788 something starting with __ and the normal name is an alias. */
30789 #if defined (__stub_shmat) || defined (__stub___shmat)
30792 char (*f) () = shmat;
30806 rm -f conftest.$ac_objext conftest$ac_exeext
30807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30808 (eval $ac_link) 2>conftest.er1
30810 grep -v '^ *+' conftest.er1 >conftest.err
30812 cat conftest.err >&5
30813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30814 (exit $ac_status); } &&
30815 { ac_try='test -z "$ac_cxx_werror_flag"
30816 || test ! -s conftest.err'
30817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30818 (eval $ac_try) 2>&5
30820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30821 (exit $ac_status); }; } &&
30822 { ac_try='test -s conftest$ac_exeext'
30823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30824 (eval $ac_try) 2>&5
30826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30827 (exit $ac_status); }; }; then
30828 ac_cv_func_shmat=yes
30830 echo "$as_me: failed program was:" >&5
30831 sed 's/^/| /' conftest.$ac_ext >&5
30833 ac_cv_func_shmat=no
30835 rm -f conftest.err conftest.$ac_objext \
30836 conftest$ac_exeext conftest.$ac_ext
30838 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30839 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30841 if test $ac_cv_func_shmat = no; then
30842 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30843 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30844 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30845 echo $ECHO_N "(cached) $ECHO_C" >&6
30847 ac_check_lib_save_LIBS=$LIBS
30849 cat >conftest.$ac_ext <<_ACEOF
30852 cat confdefs.h >>conftest.$ac_ext
30853 cat >>conftest.$ac_ext <<_ACEOF
30854 /* end confdefs.h. */
30856 /* Override any gcc2 internal prototype to avoid an error. */
30860 /* We use char because int might match the return type of a gcc2
30861 builtin and then its argument prototype would still apply. */
30871 rm -f conftest.$ac_objext conftest$ac_exeext
30872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30873 (eval $ac_link) 2>conftest.er1
30875 grep -v '^ *+' conftest.er1 >conftest.err
30877 cat conftest.err >&5
30878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30879 (exit $ac_status); } &&
30880 { ac_try='test -z "$ac_cxx_werror_flag"
30881 || test ! -s conftest.err'
30882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30883 (eval $ac_try) 2>&5
30885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30886 (exit $ac_status); }; } &&
30887 { ac_try='test -s conftest$ac_exeext'
30888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30889 (eval $ac_try) 2>&5
30891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30892 (exit $ac_status); }; }; then
30893 ac_cv_lib_ipc_shmat=yes
30895 echo "$as_me: failed program was:" >&5
30896 sed 's/^/| /' conftest.$ac_ext >&5
30898 ac_cv_lib_ipc_shmat=no
30900 rm -f conftest.err conftest.$ac_objext \
30901 conftest$ac_exeext conftest.$ac_ext
30902 LIBS=$ac_check_lib_save_LIBS
30904 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30905 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30906 if test $ac_cv_lib_ipc_shmat = yes; then
30907 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30913 # Check for libraries that X11R6 Xt/Xaw programs need.
30914 ac_save_LDFLAGS=$LDFLAGS
30915 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30916 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30917 # check for ICE first), but we must link in the order -lSM -lICE or
30918 # we get undefined symbols. So assume we have SM if we have ICE.
30919 # These have to be linked with before -lX11, unlike the other
30920 # libraries we check for below, so use a different variable.
30921 # John Interrante, Karl Berry
30922 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30923 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30924 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30925 echo $ECHO_N "(cached) $ECHO_C" >&6
30927 ac_check_lib_save_LIBS=$LIBS
30928 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30929 cat >conftest.$ac_ext <<_ACEOF
30932 cat confdefs.h >>conftest.$ac_ext
30933 cat >>conftest.$ac_ext <<_ACEOF
30934 /* end confdefs.h. */
30936 /* Override any gcc2 internal prototype to avoid an error. */
30940 /* We use char because int might match the return type of a gcc2
30941 builtin and then its argument prototype would still apply. */
30942 char IceConnectionNumber ();
30946 IceConnectionNumber ();
30951 rm -f conftest.$ac_objext conftest$ac_exeext
30952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30953 (eval $ac_link) 2>conftest.er1
30955 grep -v '^ *+' conftest.er1 >conftest.err
30957 cat conftest.err >&5
30958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30959 (exit $ac_status); } &&
30960 { ac_try='test -z "$ac_cxx_werror_flag"
30961 || test ! -s conftest.err'
30962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30963 (eval $ac_try) 2>&5
30965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30966 (exit $ac_status); }; } &&
30967 { ac_try='test -s conftest$ac_exeext'
30968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30969 (eval $ac_try) 2>&5
30971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30972 (exit $ac_status); }; }; then
30973 ac_cv_lib_ICE_IceConnectionNumber=yes
30975 echo "$as_me: failed program was:" >&5
30976 sed 's/^/| /' conftest.$ac_ext >&5
30978 ac_cv_lib_ICE_IceConnectionNumber=no
30980 rm -f conftest.err conftest.$ac_objext \
30981 conftest$ac_exeext conftest.$ac_ext
30982 LIBS=$ac_check_lib_save_LIBS
30984 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30985 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30986 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30987 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30990 LDFLAGS=$ac_save_LDFLAGS
30995 if test "$no_x" = "yes"; then
30996 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30997 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30998 { (exit 1); exit 1; }; }
31001 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31002 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31003 AFMINSTALL=afminstall
31004 COMPILED_X_PROGRAM=0
31008 if test "$wxUSE_X11" = 1; then
31009 if test "$wxUSE_NANOX" = "yes"; then
31010 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31011 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
31012 if test "x$MICROWIN" = x ; then
31013 echo "$as_me:$LINENO: result: not found" >&5
31014 echo "${ECHO_T}not found" >&6
31015 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31016 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31017 { (exit 1); exit 1; }; }
31019 echo "$as_me:$LINENO: result: $MICROWIN" >&5
31020 echo "${ECHO_T}$MICROWIN" >&6
31021 cat >>confdefs.h <<\_ACEOF
31022 #define wxUSE_NANOX 1
31028 if test "$wxUSE_UNICODE" = "yes"; then
31031 echo "$as_me:$LINENO: checking for PANGOX" >&5
31032 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
31034 if test -n "$PKG_CONFIG"; then
31035 if test -n "$PANGOX_CFLAGS"; then
31036 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31038 if test -n "$PKG_CONFIG" && \
31039 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31040 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31043 (exit $ac_status); }; then
31044 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31052 if test -n "$PKG_CONFIG"; then
31053 if test -n "$PANGOX_LIBS"; then
31054 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31056 if test -n "$PKG_CONFIG" && \
31057 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31058 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31061 (exit $ac_status); }; then
31062 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31073 if test $pkg_failed = yes; then
31075 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31076 _pkg_short_errors_supported=yes
31078 _pkg_short_errors_supported=no
31080 if test $_pkg_short_errors_supported = yes; then
31081 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31083 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31085 # Put the nasty error message in config.log where it belongs
31086 echo "$PANGOX_PKG_ERRORS" >&5
31089 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31090 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31091 { (exit 1); exit 1; }; }
31094 elif test $pkg_failed = untried; then
31096 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31097 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31098 { (exit 1); exit 1; }; }
31102 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31103 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31104 echo "$as_me:$LINENO: result: yes" >&5
31105 echo "${ECHO_T}yes" >&6
31107 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31108 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31113 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31114 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31116 if test -n "$PKG_CONFIG"; then
31117 if test -n "$PANGOFT2_CFLAGS"; then
31118 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31120 if test -n "$PKG_CONFIG" && \
31121 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31122 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31125 (exit $ac_status); }; then
31126 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31134 if test -n "$PKG_CONFIG"; then
31135 if test -n "$PANGOFT2_LIBS"; then
31136 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31138 if test -n "$PKG_CONFIG" && \
31139 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31140 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31143 (exit $ac_status); }; then
31144 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31155 if test $pkg_failed = yes; then
31157 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31158 _pkg_short_errors_supported=yes
31160 _pkg_short_errors_supported=no
31162 if test $_pkg_short_errors_supported = yes; then
31163 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31165 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31167 # Put the nasty error message in config.log where it belongs
31168 echo "$PANGOFT2_PKG_ERRORS" >&5
31171 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31172 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31173 wxUSE_PRINTING_ARCHITECTURE="no"
31176 elif test $pkg_failed = untried; then
31178 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31179 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31180 wxUSE_PRINTING_ARCHITECTURE="no"
31184 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31185 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31186 echo "$as_me:$LINENO: result: yes" >&5
31187 echo "${ECHO_T}yes" >&6
31189 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31190 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31195 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31196 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31198 if test -n "$PKG_CONFIG"; then
31199 if test -n "$PANGOXFT_CFLAGS"; then
31200 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31202 if test -n "$PKG_CONFIG" && \
31203 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31204 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31207 (exit $ac_status); }; then
31208 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31216 if test -n "$PKG_CONFIG"; then
31217 if test -n "$PANGOXFT_LIBS"; then
31218 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31220 if test -n "$PKG_CONFIG" && \
31221 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31222 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31225 (exit $ac_status); }; then
31226 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31237 if test $pkg_failed = yes; then
31239 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31240 _pkg_short_errors_supported=yes
31242 _pkg_short_errors_supported=no
31244 if test $_pkg_short_errors_supported = yes; then
31245 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31247 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31249 # Put the nasty error message in config.log where it belongs
31250 echo "$PANGOXFT_PKG_ERRORS" >&5
31253 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31254 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31257 elif test $pkg_failed = untried; then
31259 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31260 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31264 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31265 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31266 echo "$as_me:$LINENO: result: yes" >&5
31267 echo "${ECHO_T}yes" >&6
31269 cat >>confdefs.h <<\_ACEOF
31270 #define HAVE_PANGO_XFT 1
31273 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31274 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31277 save_CXXFLAGS="$CXXFLAGS"
31279 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31280 LIBS="$LIBS $PANGOX_LIBS"
31282 for ac_func in pango_font_family_is_monospace
31284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31285 echo "$as_me:$LINENO: checking for $ac_func" >&5
31286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31287 if eval "test \"\${$as_ac_var+set}\" = set"; then
31288 echo $ECHO_N "(cached) $ECHO_C" >&6
31290 cat >conftest.$ac_ext <<_ACEOF
31293 cat confdefs.h >>conftest.$ac_ext
31294 cat >>conftest.$ac_ext <<_ACEOF
31295 /* end confdefs.h. */
31296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31298 #define $ac_func innocuous_$ac_func
31300 /* System header to define __stub macros and hopefully few prototypes,
31301 which can conflict with char $ac_func (); below.
31302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31303 <limits.h> exists even on freestanding compilers. */
31306 # include <limits.h>
31308 # include <assert.h>
31313 /* Override any gcc2 internal prototype to avoid an error. */
31318 /* We use char because int might match the return type of a gcc2
31319 builtin and then its argument prototype would still apply. */
31321 /* The GNU C library defines this for functions which it implements
31322 to always fail with ENOSYS. Some functions are actually named
31323 something starting with __ and the normal name is an alias. */
31324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31327 char (*f) () = $ac_func;
31336 return f != $ac_func;
31341 rm -f conftest.$ac_objext conftest$ac_exeext
31342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31343 (eval $ac_link) 2>conftest.er1
31345 grep -v '^ *+' conftest.er1 >conftest.err
31347 cat conftest.err >&5
31348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31349 (exit $ac_status); } &&
31350 { ac_try='test -z "$ac_cxx_werror_flag"
31351 || test ! -s conftest.err'
31352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31353 (eval $ac_try) 2>&5
31355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31356 (exit $ac_status); }; } &&
31357 { ac_try='test -s conftest$ac_exeext'
31358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31359 (eval $ac_try) 2>&5
31361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31362 (exit $ac_status); }; }; then
31363 eval "$as_ac_var=yes"
31365 echo "$as_me: failed program was:" >&5
31366 sed 's/^/| /' conftest.$ac_ext >&5
31368 eval "$as_ac_var=no"
31370 rm -f conftest.err conftest.$ac_objext \
31371 conftest$ac_exeext conftest.$ac_ext
31373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31375 if test `eval echo '${'$as_ac_var'}'` = yes; then
31376 cat >>confdefs.h <<_ACEOF
31377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31383 CXXFLAGS="$save_CXXFLAGS"
31387 wxUSE_UNIVERSAL="yes"
31389 if test "$wxUSE_NANOX" = "yes"; then
31390 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31391 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"
31392 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31394 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31401 if test "$wxUSE_MOTIF" = 1; then
31402 if test "$wxUSE_UNICODE" = "yes"; then
31403 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31404 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31405 { (exit 1); exit 1; }; }
31408 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31409 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31412 for ac_dir in $SEARCH_INCLUDE /usr/include;
31414 if test -f "$ac_dir/Xm/Xm.h"; then
31415 ac_find_includes=$ac_dir
31420 if test "$ac_find_includes" != "" ; then
31421 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31422 echo "${ECHO_T}found in $ac_find_includes" >&6
31424 if test "x$ac_find_includes" = "x/usr/include"; then
31425 ac_path_to_include=""
31427 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31429 if test $result = 0; then
31430 ac_path_to_include=""
31432 ac_path_to_include=" -I$ac_find_includes"
31436 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31438 save_CXXFLAGS=$CXXFLAGS
31439 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31441 cat >conftest.$ac_ext <<_ACEOF
31444 cat confdefs.h >>conftest.$ac_ext
31445 cat >>conftest.$ac_ext <<_ACEOF
31446 /* end confdefs.h. */
31455 version = xmUseVersion;
31461 rm -f conftest.$ac_objext
31462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31463 (eval $ac_compile) 2>conftest.er1
31465 grep -v '^ *+' conftest.er1 >conftest.err
31467 cat conftest.err >&5
31468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31469 (exit $ac_status); } &&
31470 { ac_try='test -z "$ac_cxx_werror_flag"
31471 || test ! -s conftest.err'
31472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31473 (eval $ac_try) 2>&5
31475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31476 (exit $ac_status); }; } &&
31477 { ac_try='test -s conftest.$ac_objext'
31478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31479 (eval $ac_try) 2>&5
31481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482 (exit $ac_status); }; }; then
31484 echo "$as_me:$LINENO: result: found in default search path" >&5
31485 echo "${ECHO_T}found in default search path" >&6
31486 COMPILED_X_PROGRAM=1
31489 echo "$as_me: failed program was:" >&5
31490 sed 's/^/| /' conftest.$ac_ext >&5
31493 echo "$as_me:$LINENO: result: no" >&5
31494 echo "${ECHO_T}no" >&6
31495 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31496 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31497 { (exit 1); exit 1; }; }
31501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31503 CXXFLAGS=$save_CXXFLAGS
31507 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31508 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31511 for ac_dir in $SEARCH_LIB;
31513 for ac_extension in a so sl dylib dll.a; do
31514 if test -f "$ac_dir/libXm.$ac_extension"; then
31515 ac_find_libraries=$ac_dir
31522 if test "x$ac_find_libraries" != "x" ; then
31523 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31524 echo "${ECHO_T}found in $ac_find_libraries" >&6
31527 if test "$ac_find_libraries" = "default location"; then
31530 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31532 if test $result = 0; then
31535 ac_path_to_link=" -L$ac_find_libraries"
31539 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31541 save_CXXFLAGS=$CXXFLAGS
31542 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31544 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31546 cat >conftest.$ac_ext <<_ACEOF
31549 cat confdefs.h >>conftest.$ac_ext
31550 cat >>conftest.$ac_ext <<_ACEOF
31551 /* end confdefs.h. */
31560 version = xmUseVersion;
31566 rm -f conftest.$ac_objext conftest$ac_exeext
31567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31568 (eval $ac_link) 2>conftest.er1
31570 grep -v '^ *+' conftest.er1 >conftest.err
31572 cat conftest.err >&5
31573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31574 (exit $ac_status); } &&
31575 { ac_try='test -z "$ac_cxx_werror_flag"
31576 || test ! -s conftest.err'
31577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31578 (eval $ac_try) 2>&5
31580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31581 (exit $ac_status); }; } &&
31582 { ac_try='test -s conftest$ac_exeext'
31583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31584 (eval $ac_try) 2>&5
31586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31587 (exit $ac_status); }; }; then
31589 echo "$as_me:$LINENO: result: found in default search path" >&5
31590 echo "${ECHO_T}found in default search path" >&6
31591 COMPILED_X_PROGRAM=1
31594 echo "$as_me: failed program was:" >&5
31595 sed 's/^/| /' conftest.$ac_ext >&5
31598 echo "$as_me:$LINENO: result: no" >&5
31599 echo "${ECHO_T}no" >&6
31600 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31601 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31602 { (exit 1); exit 1; }; }
31606 rm -f conftest.err conftest.$ac_objext \
31607 conftest$ac_exeext conftest.$ac_ext
31609 CXXFLAGS=$save_CXXFLAGS
31613 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31614 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31618 for libp in "" " -lXp"; do
31619 if test "$libs_found" = "0"; then
31620 for libsm_ice in "" " -lSM -lICE"; do
31621 if test "$libs_found" = "0"; then
31623 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31624 save_CXXFLAGS=$CXXFLAGS
31625 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31627 cat >conftest.$ac_ext <<_ACEOF
31630 cat confdefs.h >>conftest.$ac_ext
31631 cat >>conftest.$ac_ext <<_ACEOF
31632 /* end confdefs.h. */
31635 #include <Xm/List.h>
31641 XmString string = NULL;
31644 XmListAddItem(w, string, position);
31650 rm -f conftest.$ac_objext conftest$ac_exeext
31651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31652 (eval $ac_link) 2>conftest.er1
31654 grep -v '^ *+' conftest.er1 >conftest.err
31656 cat conftest.err >&5
31657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31658 (exit $ac_status); } &&
31659 { ac_try='test -z "$ac_cxx_werror_flag"
31660 || test ! -s conftest.err'
31661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31662 (eval $ac_try) 2>&5
31664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31665 (exit $ac_status); }; } &&
31666 { ac_try='test -s conftest$ac_exeext'
31667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31668 (eval $ac_try) 2>&5
31670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31671 (exit $ac_status); }; }; then
31674 libsm_ice_link="$libsm_ice"
31675 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31676 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31680 echo "$as_me: failed program was:" >&5
31681 sed 's/^/| /' conftest.$ac_ext >&5
31686 rm -f conftest.err conftest.$ac_objext \
31687 conftest$ac_exeext conftest.$ac_ext
31690 CXXFLAGS=$save_CXXFLAGS
31696 if test "$libs_found" = "0"; then
31697 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31698 echo "${ECHO_T}can't find the right libraries" >&6
31699 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31700 echo "$as_me: error: can't link a simple motif program" >&2;}
31701 { (exit 1); exit 1; }; }
31704 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31705 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31706 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31707 echo $ECHO_N "(cached) $ECHO_C" >&6
31709 ac_check_lib_save_LIBS=$LIBS
31711 cat >conftest.$ac_ext <<_ACEOF
31714 cat confdefs.h >>conftest.$ac_ext
31715 cat >>conftest.$ac_ext <<_ACEOF
31716 /* end confdefs.h. */
31718 /* Override any gcc2 internal prototype to avoid an error. */
31722 /* We use char because int might match the return type of a gcc2
31723 builtin and then its argument prototype would still apply. */
31724 char SgCreateList ();
31733 rm -f conftest.$ac_objext conftest$ac_exeext
31734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31735 (eval $ac_link) 2>conftest.er1
31737 grep -v '^ *+' conftest.er1 >conftest.err
31739 cat conftest.err >&5
31740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31741 (exit $ac_status); } &&
31742 { ac_try='test -z "$ac_cxx_werror_flag"
31743 || test ! -s conftest.err'
31744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31745 (eval $ac_try) 2>&5
31747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31748 (exit $ac_status); }; } &&
31749 { ac_try='test -s conftest$ac_exeext'
31750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31751 (eval $ac_try) 2>&5
31753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31754 (exit $ac_status); }; }; then
31755 ac_cv_lib_Sgm_SgCreateList=yes
31757 echo "$as_me: failed program was:" >&5
31758 sed 's/^/| /' conftest.$ac_ext >&5
31760 ac_cv_lib_Sgm_SgCreateList=no
31762 rm -f conftest.err conftest.$ac_objext \
31763 conftest$ac_exeext conftest.$ac_ext
31764 LIBS=$ac_check_lib_save_LIBS
31766 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31767 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31768 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31769 libsgm_link=" -lSgm"
31773 save_CXXFLAGS=$CXXFLAGS
31774 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31776 echo "$as_me:$LINENO: checking for Motif 2" >&5
31777 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31778 if test "${wx_cv_lib_motif2+set}" = set; then
31779 echo $ECHO_N "(cached) $ECHO_C" >&6
31781 cat >conftest.$ac_ext <<_ACEOF
31784 cat confdefs.h >>conftest.$ac_ext
31785 cat >>conftest.$ac_ext <<_ACEOF
31786 /* end confdefs.h. */
31794 #if XmVersion < 2000
31802 rm -f conftest.$ac_objext
31803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31804 (eval $ac_compile) 2>conftest.er1
31806 grep -v '^ *+' conftest.er1 >conftest.err
31808 cat conftest.err >&5
31809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31810 (exit $ac_status); } &&
31811 { ac_try='test -z "$ac_cxx_werror_flag"
31812 || test ! -s conftest.err'
31813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31814 (eval $ac_try) 2>&5
31816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31817 (exit $ac_status); }; } &&
31818 { ac_try='test -s conftest.$ac_objext'
31819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31820 (eval $ac_try) 2>&5
31822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31823 (exit $ac_status); }; }; then
31824 wx_cv_lib_motif2="yes"
31826 echo "$as_me: failed program was:" >&5
31827 sed 's/^/| /' conftest.$ac_ext >&5
31829 wx_cv_lib_motif2="no"
31831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31833 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31834 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31835 if test "$wx_cv_lib_motif2" = "yes"; then
31836 cat >>confdefs.h <<\_ACEOF
31837 #define __WXMOTIF20__ 1
31841 cat >>confdefs.h <<\_ACEOF
31842 #define __WXMOTIF20__ 0
31847 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31848 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31849 if test "${wx_cv_lib_lesstif+set}" = set; then
31850 echo $ECHO_N "(cached) $ECHO_C" >&6
31852 cat >conftest.$ac_ext <<_ACEOF
31855 cat confdefs.h >>conftest.$ac_ext
31856 cat >>conftest.$ac_ext <<_ACEOF
31857 /* end confdefs.h. */
31865 #if !defined(LesstifVersion) || LesstifVersion <= 0
31873 rm -f conftest.$ac_objext
31874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31875 (eval $ac_compile) 2>conftest.er1
31877 grep -v '^ *+' conftest.er1 >conftest.err
31879 cat conftest.err >&5
31880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31881 (exit $ac_status); } &&
31882 { ac_try='test -z "$ac_cxx_werror_flag"
31883 || test ! -s conftest.err'
31884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31885 (eval $ac_try) 2>&5
31887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31888 (exit $ac_status); }; } &&
31889 { ac_try='test -s conftest.$ac_objext'
31890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31891 (eval $ac_try) 2>&5
31893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31894 (exit $ac_status); }; }; then
31895 wx_cv_lib_lesstif="yes"
31897 echo "$as_me: failed program was:" >&5
31898 sed 's/^/| /' conftest.$ac_ext >&5
31900 wx_cv_lib_lesstif="no"
31902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31905 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31906 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31907 if test "$wx_cv_lib_lesstif" = "yes"; then
31908 cat >>confdefs.h <<\_ACEOF
31909 #define __WXLESSTIF__ 1
31913 cat >>confdefs.h <<\_ACEOF
31914 #define __WXLESSTIF__ 0
31919 CXXFLAGS=$save_CXXFLAGS
31921 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31926 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31927 if test "$wxUSE_LIBXPM" = "sys"; then
31928 echo "$as_me:$LINENO: checking for Xpm library" >&5
31929 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31932 for ac_dir in $SEARCH_LIB;
31934 for ac_extension in a so sl dylib dll.a; do
31935 if test -f "$ac_dir/libXpm.$ac_extension"; then
31936 ac_find_libraries=$ac_dir
31942 if test "$ac_find_libraries" != "" ; then
31944 if test "$ac_find_libraries" = "default location"; then
31947 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31949 if test $result = 0; then
31952 ac_path_to_link=" -L$ac_find_libraries"
31956 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31957 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31958 echo "${ECHO_T}found in $ac_find_libraries" >&6
31960 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31961 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31962 if test "${wx_cv_x11_xpm_h+set}" = set; then
31963 echo $ECHO_N "(cached) $ECHO_C" >&6
31966 save_CXXFLAGS=$CXXFLAGS
31967 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31969 cat >conftest.$ac_ext <<_ACEOF
31972 cat confdefs.h >>conftest.$ac_ext
31973 cat >>conftest.$ac_ext <<_ACEOF
31974 /* end confdefs.h. */
31976 #include <X11/xpm.h>
31983 version = XpmLibraryVersion();
31989 rm -f conftest.$ac_objext
31990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31991 (eval $ac_compile) 2>conftest.er1
31993 grep -v '^ *+' conftest.er1 >conftest.err
31995 cat conftest.err >&5
31996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31997 (exit $ac_status); } &&
31998 { ac_try='test -z "$ac_cxx_werror_flag"
31999 || test ! -s conftest.err'
32000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32001 (eval $ac_try) 2>&5
32003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32004 (exit $ac_status); }; } &&
32005 { ac_try='test -s conftest.$ac_objext'
32006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32007 (eval $ac_try) 2>&5
32009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32010 (exit $ac_status); }; }; then
32011 wx_cv_x11_xpm_h=yes
32013 echo "$as_me: failed program was:" >&5
32014 sed 's/^/| /' conftest.$ac_ext >&5
32019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32021 CXXFLAGS=$save_CXXFLAGS
32025 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32026 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
32028 if test $wx_cv_x11_xpm_h = "yes"; then
32029 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32030 cat >>confdefs.h <<\_ACEOF
32031 #define wxHAVE_LIB_XPM 1
32035 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32036 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32042 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32043 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
32044 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32045 echo $ECHO_N "(cached) $ECHO_C" >&6
32047 ac_check_lib_save_LIBS=$LIBS
32048 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32049 cat >conftest.$ac_ext <<_ACEOF
32052 cat confdefs.h >>conftest.$ac_ext
32053 cat >>conftest.$ac_ext <<_ACEOF
32054 /* end confdefs.h. */
32056 /* Override any gcc2 internal prototype to avoid an error. */
32060 /* We use char because int might match the return type of a gcc2
32061 builtin and then its argument prototype would still apply. */
32062 char XShapeQueryExtension ();
32066 XShapeQueryExtension ();
32071 rm -f conftest.$ac_objext conftest$ac_exeext
32072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32073 (eval $ac_link) 2>conftest.er1
32075 grep -v '^ *+' conftest.er1 >conftest.err
32077 cat conftest.err >&5
32078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32079 (exit $ac_status); } &&
32080 { ac_try='test -z "$ac_cxx_werror_flag"
32081 || test ! -s conftest.err'
32082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32083 (eval $ac_try) 2>&5
32085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32086 (exit $ac_status); }; } &&
32087 { ac_try='test -s conftest$ac_exeext'
32088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32089 (eval $ac_try) 2>&5
32091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32092 (exit $ac_status); }; }; then
32093 ac_cv_lib_Xext_XShapeQueryExtension=yes
32095 echo "$as_me: failed program was:" >&5
32096 sed 's/^/| /' conftest.$ac_ext >&5
32098 ac_cv_lib_Xext_XShapeQueryExtension=no
32100 rm -f conftest.err conftest.$ac_objext \
32101 conftest$ac_exeext conftest.$ac_ext
32102 LIBS=$ac_check_lib_save_LIBS
32104 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32105 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32106 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32108 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32114 if test "$wxHAVE_XEXT_LIB" = 1; then
32115 save_CXXFLAGS="$CXXFLAGS"
32116 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32118 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32119 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32120 cat >conftest.$ac_ext <<_ACEOF
32123 cat confdefs.h >>conftest.$ac_ext
32124 cat >>conftest.$ac_ext <<_ACEOF
32125 /* end confdefs.h. */
32127 #include <X11/Xlib.h>
32128 #include <X11/extensions/shape.h>
32134 int dummy1, dummy2;
32135 XShapeQueryExtension((Display*)NULL,
32136 (int*)NULL, (int*)NULL);
32142 rm -f conftest.$ac_objext
32143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32144 (eval $ac_compile) 2>conftest.er1
32146 grep -v '^ *+' conftest.er1 >conftest.err
32148 cat conftest.err >&5
32149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32150 (exit $ac_status); } &&
32151 { ac_try='test -z "$ac_cxx_werror_flag"
32152 || test ! -s conftest.err'
32153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32154 (eval $ac_try) 2>&5
32156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32157 (exit $ac_status); }; } &&
32158 { ac_try='test -s conftest.$ac_objext'
32159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32160 (eval $ac_try) 2>&5
32162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32163 (exit $ac_status); }; }; then
32165 cat >>confdefs.h <<\_ACEOF
32166 #define HAVE_XSHAPE 1
32169 echo "$as_me:$LINENO: result: found" >&5
32170 echo "${ECHO_T}found" >&6
32173 echo "$as_me: failed program was:" >&5
32174 sed 's/^/| /' conftest.$ac_ext >&5
32177 echo "$as_me:$LINENO: result: not found" >&5
32178 echo "${ECHO_T}not found" >&6
32181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32182 CXXFLAGS="$save_CXXFLAGS"
32187 if test "$wxUSE_MAC" = 1; then
32188 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32189 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32190 if test "$GCC" = yes; then
32191 echo "$as_me:$LINENO: result: gcc" >&5
32192 echo "${ECHO_T}gcc" >&6
32193 CPPFLAGS_PASCAL="-fpascal-strings"
32194 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32195 echo "$as_me:$LINENO: result: xlc" >&5
32196 echo "${ECHO_T}xlc" >&6
32197 CPPFLAGS_PASCAL="-qmacpstr"
32199 echo "$as_me:$LINENO: result: none" >&5
32200 echo "${ECHO_T}none" >&6
32203 if test "x$wxUSE_UNIX" = "xyes"; then
32204 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32206 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32211 WXBASEPORT="_carbon"
32214 if test "$wxUSE_COCOA" = 1; then
32219 if test "$wxUSE_PM" = 1; then
32222 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32223 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32224 if test "${wx_cv_spbcdata+set}" = set; then
32225 echo $ECHO_N "(cached) $ECHO_C" >&6
32228 cat >conftest.$ac_ext <<_ACEOF
32231 cat confdefs.h >>conftest.$ac_ext
32232 cat >>conftest.$ac_ext <<_ACEOF
32233 /* end confdefs.h. */
32248 rm -f conftest.$ac_objext
32249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32250 (eval $ac_compile) 2>conftest.er1
32252 grep -v '^ *+' conftest.er1 >conftest.err
32254 cat conftest.err >&5
32255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32256 (exit $ac_status); } &&
32257 { ac_try='test -z "$ac_cxx_werror_flag"
32258 || test ! -s conftest.err'
32259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32260 (eval $ac_try) 2>&5
32262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32263 (exit $ac_status); }; } &&
32264 { ac_try='test -s conftest.$ac_objext'
32265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32266 (eval $ac_try) 2>&5
32268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32269 (exit $ac_status); }; }; then
32272 echo "$as_me: failed program was:" >&5
32273 sed 's/^/| /' conftest.$ac_ext >&5
32278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32282 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32283 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32285 if test $wx_cv_spbcdata = "yes"; then
32286 cat >>confdefs.h <<\_ACEOF
32287 #define HAVE_SPBCDATA 1
32293 if test "$TOOLKIT" = "PM" ; then
32296 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32299 if test "$wxUSE_UNIVERSAL" = "yes"; then
32300 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32304 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32305 DISTDIR="wx\$(TOOLKIT)"
32311 if test "$USE_WIN32" = 1 ; then
32315 GUIDIST="BASE_DIST"
32320 if test "$wxUSE_GUI" = "yes"; then
32321 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32323 for ac_header in X11/Xlib.h
32325 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32327 echo "$as_me:$LINENO: checking for $ac_header" >&5
32328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32330 echo $ECHO_N "(cached) $ECHO_C" >&6
32332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32333 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32335 # Is the header compilable?
32336 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32337 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32338 cat >conftest.$ac_ext <<_ACEOF
32341 cat confdefs.h >>conftest.$ac_ext
32342 cat >>conftest.$ac_ext <<_ACEOF
32343 /* end confdefs.h. */
32344 $ac_includes_default
32345 #include <$ac_header>
32347 rm -f conftest.$ac_objext
32348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32349 (eval $ac_compile) 2>conftest.er1
32351 grep -v '^ *+' conftest.er1 >conftest.err
32353 cat conftest.err >&5
32354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32355 (exit $ac_status); } &&
32356 { ac_try='test -z "$ac_cxx_werror_flag"
32357 || test ! -s conftest.err'
32358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32359 (eval $ac_try) 2>&5
32361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32362 (exit $ac_status); }; } &&
32363 { ac_try='test -s conftest.$ac_objext'
32364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32365 (eval $ac_try) 2>&5
32367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32368 (exit $ac_status); }; }; then
32369 ac_header_compiler=yes
32371 echo "$as_me: failed program was:" >&5
32372 sed 's/^/| /' conftest.$ac_ext >&5
32374 ac_header_compiler=no
32376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32377 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32378 echo "${ECHO_T}$ac_header_compiler" >&6
32380 # Is the header present?
32381 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32382 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32383 cat >conftest.$ac_ext <<_ACEOF
32386 cat confdefs.h >>conftest.$ac_ext
32387 cat >>conftest.$ac_ext <<_ACEOF
32388 /* end confdefs.h. */
32389 #include <$ac_header>
32391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32392 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32394 grep -v '^ *+' conftest.er1 >conftest.err
32396 cat conftest.err >&5
32397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32398 (exit $ac_status); } >/dev/null; then
32399 if test -s conftest.err; then
32400 ac_cpp_err=$ac_cxx_preproc_warn_flag
32401 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32408 if test -z "$ac_cpp_err"; then
32409 ac_header_preproc=yes
32411 echo "$as_me: failed program was:" >&5
32412 sed 's/^/| /' conftest.$ac_ext >&5
32414 ac_header_preproc=no
32416 rm -f conftest.err conftest.$ac_ext
32417 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32418 echo "${ECHO_T}$ac_header_preproc" >&6
32420 # So? What about this header?
32421 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32423 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32424 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32425 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32426 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32427 ac_header_preproc=yes
32430 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32431 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32432 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32433 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32434 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32435 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32436 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32437 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32438 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32439 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32440 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32441 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32444 ## ----------------------------------------- ##
32445 ## Report this to wx-dev@lists.wxwidgets.org ##
32446 ## ----------------------------------------- ##
32449 sed "s/^/$as_me: WARNING: /" >&2
32452 echo "$as_me:$LINENO: checking for $ac_header" >&5
32453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32455 echo $ECHO_N "(cached) $ECHO_C" >&6
32457 eval "$as_ac_Header=\$ac_header_preproc"
32459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32460 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32464 cat >>confdefs.h <<_ACEOF
32465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32473 for ac_header in X11/XKBlib.h
32475 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32476 echo "$as_me:$LINENO: checking for $ac_header" >&5
32477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32479 echo $ECHO_N "(cached) $ECHO_C" >&6
32481 cat >conftest.$ac_ext <<_ACEOF
32484 cat confdefs.h >>conftest.$ac_ext
32485 cat >>conftest.$ac_ext <<_ACEOF
32486 /* end confdefs.h. */
32488 #if HAVE_X11_XLIB_H
32489 #include <X11/Xlib.h>
32493 #include <$ac_header>
32495 rm -f conftest.$ac_objext
32496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32497 (eval $ac_compile) 2>conftest.er1
32499 grep -v '^ *+' conftest.er1 >conftest.err
32501 cat conftest.err >&5
32502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32503 (exit $ac_status); } &&
32504 { ac_try='test -z "$ac_cxx_werror_flag"
32505 || test ! -s conftest.err'
32506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32507 (eval $ac_try) 2>&5
32509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32510 (exit $ac_status); }; } &&
32511 { ac_try='test -s conftest.$ac_objext'
32512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32513 (eval $ac_try) 2>&5
32515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32516 (exit $ac_status); }; }; then
32517 eval "$as_ac_Header=yes"
32519 echo "$as_me: failed program was:" >&5
32520 sed 's/^/| /' conftest.$ac_ext >&5
32522 eval "$as_ac_Header=no"
32524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32528 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32529 cat >>confdefs.h <<_ACEOF
32530 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32545 if test "$TOOLKIT" != "MSW" ; then
32547 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32549 if test "${ac_cv_header_sql_h+set}" = set; then
32550 echo "$as_me:$LINENO: checking for sql.h" >&5
32551 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32552 if test "${ac_cv_header_sql_h+set}" = set; then
32553 echo $ECHO_N "(cached) $ECHO_C" >&6
32555 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32556 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32558 # Is the header compilable?
32559 echo "$as_me:$LINENO: checking sql.h usability" >&5
32560 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32561 cat >conftest.$ac_ext <<_ACEOF
32564 cat confdefs.h >>conftest.$ac_ext
32565 cat >>conftest.$ac_ext <<_ACEOF
32566 /* end confdefs.h. */
32567 $ac_includes_default
32570 rm -f conftest.$ac_objext
32571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32572 (eval $ac_compile) 2>conftest.er1
32574 grep -v '^ *+' conftest.er1 >conftest.err
32576 cat conftest.err >&5
32577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32578 (exit $ac_status); } &&
32579 { ac_try='test -z "$ac_cxx_werror_flag"
32580 || test ! -s conftest.err'
32581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32582 (eval $ac_try) 2>&5
32584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32585 (exit $ac_status); }; } &&
32586 { ac_try='test -s conftest.$ac_objext'
32587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32588 (eval $ac_try) 2>&5
32590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32591 (exit $ac_status); }; }; then
32592 ac_header_compiler=yes
32594 echo "$as_me: failed program was:" >&5
32595 sed 's/^/| /' conftest.$ac_ext >&5
32597 ac_header_compiler=no
32599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32600 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32601 echo "${ECHO_T}$ac_header_compiler" >&6
32603 # Is the header present?
32604 echo "$as_me:$LINENO: checking sql.h presence" >&5
32605 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32606 cat >conftest.$ac_ext <<_ACEOF
32609 cat confdefs.h >>conftest.$ac_ext
32610 cat >>conftest.$ac_ext <<_ACEOF
32611 /* end confdefs.h. */
32614 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32615 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32617 grep -v '^ *+' conftest.er1 >conftest.err
32619 cat conftest.err >&5
32620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32621 (exit $ac_status); } >/dev/null; then
32622 if test -s conftest.err; then
32623 ac_cpp_err=$ac_cxx_preproc_warn_flag
32624 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32631 if test -z "$ac_cpp_err"; then
32632 ac_header_preproc=yes
32634 echo "$as_me: failed program was:" >&5
32635 sed 's/^/| /' conftest.$ac_ext >&5
32637 ac_header_preproc=no
32639 rm -f conftest.err conftest.$ac_ext
32640 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32641 echo "${ECHO_T}$ac_header_preproc" >&6
32643 # So? What about this header?
32644 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32646 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32647 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32648 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32649 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32650 ac_header_preproc=yes
32653 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32654 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32655 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32656 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32657 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32658 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32659 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32660 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32661 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32662 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32663 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32664 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32667 ## ----------------------------------------- ##
32668 ## Report this to wx-dev@lists.wxwidgets.org ##
32669 ## ----------------------------------------- ##
32672 sed "s/^/$as_me: WARNING: /" >&2
32675 echo "$as_me:$LINENO: checking for sql.h" >&5
32676 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32677 if test "${ac_cv_header_sql_h+set}" = set; then
32678 echo $ECHO_N "(cached) $ECHO_C" >&6
32680 ac_cv_header_sql_h=$ac_header_preproc
32682 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32683 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32686 if test $ac_cv_header_sql_h = yes; then
32691 if test "x$found_sql_h" = "x1" ; then
32692 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32693 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32694 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32695 echo $ECHO_N "(cached) $ECHO_C" >&6
32697 ac_check_lib_save_LIBS=$LIBS
32698 LIBS="-liodbc $LIBS"
32699 cat >conftest.$ac_ext <<_ACEOF
32702 cat confdefs.h >>conftest.$ac_ext
32703 cat >>conftest.$ac_ext <<_ACEOF
32704 /* end confdefs.h. */
32706 /* Override any gcc2 internal prototype to avoid an error. */
32710 /* We use char because int might match the return type of a gcc2
32711 builtin and then its argument prototype would still apply. */
32712 char SQLAllocEnv ();
32721 rm -f conftest.$ac_objext conftest$ac_exeext
32722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32723 (eval $ac_link) 2>conftest.er1
32725 grep -v '^ *+' conftest.er1 >conftest.err
32727 cat conftest.err >&5
32728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32729 (exit $ac_status); } &&
32730 { ac_try='test -z "$ac_cxx_werror_flag"
32731 || test ! -s conftest.err'
32732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32733 (eval $ac_try) 2>&5
32735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32736 (exit $ac_status); }; } &&
32737 { ac_try='test -s conftest$ac_exeext'
32738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32739 (eval $ac_try) 2>&5
32741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742 (exit $ac_status); }; }; then
32743 ac_cv_lib_iodbc_SQLAllocEnv=yes
32745 echo "$as_me: failed program was:" >&5
32746 sed 's/^/| /' conftest.$ac_ext >&5
32748 ac_cv_lib_iodbc_SQLAllocEnv=no
32750 rm -f conftest.err conftest.$ac_objext \
32751 conftest$ac_exeext conftest.$ac_ext
32752 LIBS=$ac_check_lib_save_LIBS
32754 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32755 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32756 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32757 ODBC_LINK=" -liodbc"
32760 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32761 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32762 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32763 echo $ECHO_N "(cached) $ECHO_C" >&6
32765 ac_check_lib_save_LIBS=$LIBS
32766 LIBS="-lunixodbc $LIBS"
32767 cat >conftest.$ac_ext <<_ACEOF
32770 cat confdefs.h >>conftest.$ac_ext
32771 cat >>conftest.$ac_ext <<_ACEOF
32772 /* end confdefs.h. */
32774 /* Override any gcc2 internal prototype to avoid an error. */
32778 /* We use char because int might match the return type of a gcc2
32779 builtin and then its argument prototype would still apply. */
32780 char SQLAllocEnv ();
32789 rm -f conftest.$ac_objext conftest$ac_exeext
32790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32791 (eval $ac_link) 2>conftest.er1
32793 grep -v '^ *+' conftest.er1 >conftest.err
32795 cat conftest.err >&5
32796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32797 (exit $ac_status); } &&
32798 { ac_try='test -z "$ac_cxx_werror_flag"
32799 || test ! -s conftest.err'
32800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32801 (eval $ac_try) 2>&5
32803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32804 (exit $ac_status); }; } &&
32805 { ac_try='test -s conftest$ac_exeext'
32806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32807 (eval $ac_try) 2>&5
32809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32810 (exit $ac_status); }; }; then
32811 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32813 echo "$as_me: failed program was:" >&5
32814 sed 's/^/| /' conftest.$ac_ext >&5
32816 ac_cv_lib_unixodbc_SQLAllocEnv=no
32818 rm -f conftest.err conftest.$ac_objext \
32819 conftest$ac_exeext conftest.$ac_ext
32820 LIBS=$ac_check_lib_save_LIBS
32822 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32823 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32824 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32825 ODBC_LINK=" -lunixodbc"
32828 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32829 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32830 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32831 echo $ECHO_N "(cached) $ECHO_C" >&6
32833 ac_check_lib_save_LIBS=$LIBS
32834 LIBS="-lodbc $LIBS"
32835 cat >conftest.$ac_ext <<_ACEOF
32838 cat confdefs.h >>conftest.$ac_ext
32839 cat >>conftest.$ac_ext <<_ACEOF
32840 /* end confdefs.h. */
32842 /* Override any gcc2 internal prototype to avoid an error. */
32846 /* We use char because int might match the return type of a gcc2
32847 builtin and then its argument prototype would still apply. */
32848 char SQLAllocEnv ();
32857 rm -f conftest.$ac_objext conftest$ac_exeext
32858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32859 (eval $ac_link) 2>conftest.er1
32861 grep -v '^ *+' conftest.er1 >conftest.err
32863 cat conftest.err >&5
32864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32865 (exit $ac_status); } &&
32866 { ac_try='test -z "$ac_cxx_werror_flag"
32867 || test ! -s conftest.err'
32868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32869 (eval $ac_try) 2>&5
32871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32872 (exit $ac_status); }; } &&
32873 { ac_try='test -s conftest$ac_exeext'
32874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32875 (eval $ac_try) 2>&5
32877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32878 (exit $ac_status); }; }; then
32879 ac_cv_lib_odbc_SQLAllocEnv=yes
32881 echo "$as_me: failed program was:" >&5
32882 sed 's/^/| /' conftest.$ac_ext >&5
32884 ac_cv_lib_odbc_SQLAllocEnv=no
32886 rm -f conftest.err conftest.$ac_objext \
32887 conftest$ac_exeext conftest.$ac_ext
32888 LIBS=$ac_check_lib_save_LIBS
32890 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32891 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32892 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32893 ODBC_LINK=" -lodbc"
32903 if test "x$ODBC_LINK" = "x" ; then
32904 if test "$wxUSE_ODBC" = "sys" ; then
32905 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32906 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32907 { (exit 1); exit 1; }; }
32909 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32910 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32918 if test "$wxUSE_ODBC" = "builtin" ; then
32919 cat >>confdefs.h <<\_ACEOF
32920 #define wxUSE_BUILTIN_IODBC 1
32926 if test "$wxUSE_ODBC" != "no" ; then
32927 cat >>confdefs.h <<\_ACEOF
32928 #define wxUSE_ODBC 1
32931 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32933 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32937 if test "$wxUSE_DISPLAY" = "yes"; then
32938 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32939 echo "$as_me:$LINENO: checking for Xinerama" >&5
32940 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32943 for ac_dir in $SEARCH_LIB;
32945 for ac_extension in a so sl dylib dll.a; do
32946 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32947 ac_find_libraries=$ac_dir
32953 if test "$ac_find_libraries" != "" ; then
32955 if test "$ac_find_libraries" = "default location"; then
32958 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32960 if test $result = 0; then
32963 ac_path_to_link=" -L$ac_find_libraries"
32967 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32968 LDFLAGS="$LDFLAGS $ac_path_to_link"
32970 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32971 echo "$as_me:$LINENO: result: yes" >&5
32972 echo "${ECHO_T}yes" >&6
32974 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32975 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32978 for ac_dir in $SEARCH_LIB;
32980 for ac_extension in a so sl dylib dll.a; do
32981 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32982 ac_find_libraries=$ac_dir
32988 if test "$ac_find_libraries" != "" ; then
32989 echo "$as_me:$LINENO: result: yes" >&5
32990 echo "${ECHO_T}yes" >&6
32992 for ac_header in X11/extensions/xf86vmode.h
32994 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32995 echo "$as_me:$LINENO: checking for $ac_header" >&5
32996 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32997 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32998 echo $ECHO_N "(cached) $ECHO_C" >&6
33000 cat >conftest.$ac_ext <<_ACEOF
33003 cat confdefs.h >>conftest.$ac_ext
33004 cat >>conftest.$ac_ext <<_ACEOF
33005 /* end confdefs.h. */
33007 #if HAVE_X11_XLIB_H
33008 #include <X11/Xlib.h>
33012 #include <$ac_header>
33014 rm -f conftest.$ac_objext
33015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33016 (eval $ac_compile) 2>conftest.er1
33018 grep -v '^ *+' conftest.er1 >conftest.err
33020 cat conftest.err >&5
33021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33022 (exit $ac_status); } &&
33023 { ac_try='test -z "$ac_cxx_werror_flag"
33024 || test ! -s conftest.err'
33025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33026 (eval $ac_try) 2>&5
33028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33029 (exit $ac_status); }; } &&
33030 { ac_try='test -s conftest.$ac_objext'
33031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33032 (eval $ac_try) 2>&5
33034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33035 (exit $ac_status); }; }; then
33036 eval "$as_ac_Header=yes"
33038 echo "$as_me: failed program was:" >&5
33039 sed 's/^/| /' conftest.$ac_ext >&5
33041 eval "$as_ac_Header=no"
33043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33046 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33047 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33048 cat >>confdefs.h <<_ACEOF
33049 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33052 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33059 echo "$as_me:$LINENO: result: no" >&5
33060 echo "${ECHO_T}no" >&6
33064 echo "$as_me:$LINENO: result: no" >&5
33065 echo "${ECHO_T}no" >&6
33066 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33067 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33070 elif test "$wxUSE_MSW" = 1; then
33072 for ac_header in ddraw.h
33074 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33075 echo "$as_me:$LINENO: checking for $ac_header" >&5
33076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33078 echo $ECHO_N "(cached) $ECHO_C" >&6
33080 cat >conftest.$ac_ext <<_ACEOF
33083 cat confdefs.h >>conftest.$ac_ext
33084 cat >>conftest.$ac_ext <<_ACEOF
33085 /* end confdefs.h. */
33086 #include <windows.h>
33088 #include <$ac_header>
33090 rm -f conftest.$ac_objext
33091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33092 (eval $ac_compile) 2>conftest.er1
33094 grep -v '^ *+' conftest.er1 >conftest.err
33096 cat conftest.err >&5
33097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33098 (exit $ac_status); } &&
33099 { ac_try='test -z "$ac_cxx_werror_flag"
33100 || test ! -s conftest.err'
33101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33102 (eval $ac_try) 2>&5
33104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33105 (exit $ac_status); }; } &&
33106 { ac_try='test -s conftest.$ac_objext'
33107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33108 (eval $ac_try) 2>&5
33110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33111 (exit $ac_status); }; }; then
33112 eval "$as_ac_Header=yes"
33114 echo "$as_me: failed program was:" >&5
33115 sed 's/^/| /' conftest.$ac_ext >&5
33117 eval "$as_ac_Header=no"
33119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33122 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33123 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33124 cat >>confdefs.h <<_ACEOF
33125 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33135 if test "$wxUSE_DETECT_SM" = "yes"; then
33136 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33137 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33138 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33141 for ac_dir in $SEARCH_LIB;
33143 for ac_extension in a so sl dylib dll.a; do
33144 if test -f "$ac_dir/libSM.$ac_extension"; then
33145 ac_find_libraries=$ac_dir
33151 if test "$ac_find_libraries" != "" ; then
33153 if test "$ac_find_libraries" = "default location"; then
33156 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33158 if test $result = 0; then
33161 ac_path_to_link=" -L$ac_find_libraries"
33165 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33166 LDFLAGS="$LDFLAGS $ac_path_to_link"
33168 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33169 echo "$as_me:$LINENO: result: yes" >&5
33170 echo "${ECHO_T}yes" >&6
33172 echo "$as_me:$LINENO: result: no" >&5
33173 echo "${ECHO_T}no" >&6
33174 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33175 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33176 wxUSE_DETECT_SM="no"
33179 wxUSE_DETECT_SM="no"
33186 if test "$wxUSE_OPENGL" = "yes"; then
33187 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33188 OPENGL_LIBS="-framework OpenGL -framework AGL"
33189 elif test "$wxUSE_MSW" = 1; then
33190 OPENGL_LIBS="-lopengl32 -lglu32"
33195 for ac_dir in $SEARCH_INCLUDE /usr/include;
33197 if test -f "$ac_dir/GL/gl.h"; then
33198 ac_find_includes=$ac_dir
33203 if test "$ac_find_includes" != "" ; then
33204 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33205 echo "${ECHO_T}found in $ac_find_includes" >&6
33207 if test "x$ac_find_includes" = "x/usr/include"; then
33208 ac_path_to_include=""
33210 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33212 if test $result = 0; then
33213 ac_path_to_include=""
33215 ac_path_to_include=" -I$ac_find_includes"
33219 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33222 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33223 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33224 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33225 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33226 echo $ECHO_N "(cached) $ECHO_C" >&6
33228 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33229 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33231 # Is the header compilable?
33232 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33233 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33234 cat >conftest.$ac_ext <<_ACEOF
33237 cat confdefs.h >>conftest.$ac_ext
33238 cat >>conftest.$ac_ext <<_ACEOF
33239 /* end confdefs.h. */
33240 $ac_includes_default
33243 rm -f conftest.$ac_objext
33244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33245 (eval $ac_compile) 2>conftest.er1
33247 grep -v '^ *+' conftest.er1 >conftest.err
33249 cat conftest.err >&5
33250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33251 (exit $ac_status); } &&
33252 { ac_try='test -z "$ac_cxx_werror_flag"
33253 || test ! -s conftest.err'
33254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33255 (eval $ac_try) 2>&5
33257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33258 (exit $ac_status); }; } &&
33259 { ac_try='test -s conftest.$ac_objext'
33260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33261 (eval $ac_try) 2>&5
33263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33264 (exit $ac_status); }; }; then
33265 ac_header_compiler=yes
33267 echo "$as_me: failed program was:" >&5
33268 sed 's/^/| /' conftest.$ac_ext >&5
33270 ac_header_compiler=no
33272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33273 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33274 echo "${ECHO_T}$ac_header_compiler" >&6
33276 # Is the header present?
33277 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33278 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33279 cat >conftest.$ac_ext <<_ACEOF
33282 cat confdefs.h >>conftest.$ac_ext
33283 cat >>conftest.$ac_ext <<_ACEOF
33284 /* end confdefs.h. */
33287 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33288 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33290 grep -v '^ *+' conftest.er1 >conftest.err
33292 cat conftest.err >&5
33293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33294 (exit $ac_status); } >/dev/null; then
33295 if test -s conftest.err; then
33296 ac_cpp_err=$ac_cxx_preproc_warn_flag
33297 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
33304 if test -z "$ac_cpp_err"; then
33305 ac_header_preproc=yes
33307 echo "$as_me: failed program was:" >&5
33308 sed 's/^/| /' conftest.$ac_ext >&5
33310 ac_header_preproc=no
33312 rm -f conftest.err conftest.$ac_ext
33313 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33314 echo "${ECHO_T}$ac_header_preproc" >&6
33316 # So? What about this header?
33317 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33319 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33320 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33321 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33322 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33323 ac_header_preproc=yes
33326 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33327 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33328 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33329 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33330 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33331 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33332 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33333 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33334 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33335 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33336 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33337 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33340 ## ----------------------------------------- ##
33341 ## Report this to wx-dev@lists.wxwidgets.org ##
33342 ## ----------------------------------------- ##
33345 sed "s/^/$as_me: WARNING: /" >&2
33348 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33349 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33350 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33351 echo $ECHO_N "(cached) $ECHO_C" >&6
33353 ac_cv_header_GL_gl_h=$ac_header_preproc
33355 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33356 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33359 if test $ac_cv_header_GL_gl_h = yes; then
33363 echo "$as_me:$LINENO: checking for -lGL" >&5
33364 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33367 for ac_dir in $SEARCH_LIB;
33369 for ac_extension in a so sl dylib dll.a; do
33370 if test -f "$ac_dir/libGL.$ac_extension"; then
33371 ac_find_libraries=$ac_dir
33377 if test "$ac_find_libraries" != "" ; then
33378 echo "$as_me:$LINENO: result: yes" >&5
33379 echo "${ECHO_T}yes" >&6
33382 if test "$ac_find_libraries" = "default location"; then
33385 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33387 if test $result = 0; then
33390 ac_path_to_link=" -L$ac_find_libraries"
33394 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33395 LDFLAGS_GL="$ac_path_to_link"
33398 echo "$as_me:$LINENO: checking for -lGLU" >&5
33399 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33402 for ac_dir in $SEARCH_LIB;
33404 for ac_extension in a so sl dylib dll.a; do
33405 if test -f "$ac_dir/libGLU.$ac_extension"; then
33406 ac_find_libraries=$ac_dir
33412 if test "$ac_find_libraries" != "" ; then
33414 if test "$ac_find_libraries" = "default location"; then
33417 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33419 if test $result = 0; then
33422 ac_path_to_link=" -L$ac_find_libraries"
33426 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33427 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33428 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33432 OPENGL_LIBS="-lGL -lGLU"
33433 echo "$as_me:$LINENO: result: yes" >&5
33434 echo "${ECHO_T}yes" >&6
33436 echo "$as_me:$LINENO: result: no" >&5
33437 echo "${ECHO_T}no" >&6
33440 echo "$as_me:$LINENO: result: no" >&5
33441 echo "${ECHO_T}no" >&6
33444 if test "$found_gl" != 1; then
33445 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33446 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33449 for ac_dir in $SEARCH_LIB;
33451 for ac_extension in a so sl dylib dll.a; do
33452 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33453 ac_find_libraries=$ac_dir
33459 if test "$ac_find_libraries" != "" ; then
33461 if test "$ac_find_libraries" = "default location"; then
33464 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33466 if test $result = 0; then
33469 ac_path_to_link=" -L$ac_find_libraries"
33473 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33474 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33475 echo "$as_me:$LINENO: result: yes" >&5
33476 echo "${ECHO_T}yes" >&6
33478 echo "$as_me:$LINENO: result: no" >&5
33479 echo "${ECHO_T}no" >&6
33487 if test "x$OPENGL_LIBS" = "x"; then
33488 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33489 echo "$as_me: error: OpenGL libraries not available" >&2;}
33490 { (exit 1); exit 1; }; }
33494 if test "$wxUSE_OPENGL" = "yes"; then
33496 cat >>confdefs.h <<\_ACEOF
33497 #define wxUSE_OPENGL 1
33500 cat >>confdefs.h <<\_ACEOF
33501 #define wxUSE_GLCANVAS 1
33504 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33509 if test -n "$TOOLKIT" ; then
33510 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33515 if test "$wxUSE_SHARED" = "yes"; then
33519 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33520 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33525 if test "$wxUSE_SHARED" = "yes"; then
33528 found_versioning=no
33531 if test $found_versioning = no ; then
33532 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33533 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33534 if test "${wx_cv_version_script+set}" = set; then
33535 echo $ECHO_N "(cached) $ECHO_C" >&6
33538 echo "VER_1 { *; };" >conftest.sym
33539 echo "int main() { return 0; }" >conftest.cpp
33542 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33543 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33545 (eval $ac_try) 2>&5
33547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33548 (exit $ac_status); }; } ; then
33549 if test -s conftest.stderr ; then
33550 wx_cv_version_script=no
33552 wx_cv_version_script=yes
33555 wx_cv_version_script=no
33558 if test $wx_cv_version_script = yes
33560 echo "struct B { virtual ~B() { } }; \
33561 struct D : public B { }; \
33562 void F() { D d; }" > conftest.cpp
33565 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33566 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33568 (eval $ac_try) 2>&5
33570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33571 (exit $ac_status); }; } &&
33573 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33574 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33576 (eval $ac_try) 2>&5
33578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33579 (exit $ac_status); }; }
33582 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33583 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33585 (eval $ac_try) 2>&5
33587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33588 (exit $ac_status); }; }
33590 wx_cv_version_script=yes
33592 wx_cv_version_script=no
33597 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33598 rm -f conftest1.output conftest2.output conftest3.output
33601 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33602 echo "${ECHO_T}$wx_cv_version_script" >&6
33603 if test $wx_cv_version_script = yes ; then
33604 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
33610 *-*-linux* | *-*-gnu* )
33611 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33612 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33616 if test "$GCC" = yes ; then
33617 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33619 saveLdflags="$LDFLAGS"
33620 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33621 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33622 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33623 cat >conftest.$ac_ext <<_ACEOF
33626 cat confdefs.h >>conftest.$ac_ext
33627 cat >>conftest.$ac_ext <<_ACEOF
33628 /* end confdefs.h. */
33638 rm -f conftest.$ac_objext conftest$ac_exeext
33639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33640 (eval $ac_link) 2>conftest.er1
33642 grep -v '^ *+' conftest.er1 >conftest.err
33644 cat conftest.err >&5
33645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33646 (exit $ac_status); } &&
33647 { ac_try='test -z "$ac_cxx_werror_flag"
33648 || test ! -s conftest.err'
33649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33650 (eval $ac_try) 2>&5
33652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33653 (exit $ac_status); }; } &&
33654 { ac_try='test -s conftest$ac_exeext'
33655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33656 (eval $ac_try) 2>&5
33658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33659 (exit $ac_status); }; }; then
33661 echo "$as_me:$LINENO: result: yes" >&5
33662 echo "${ECHO_T}yes" >&6
33663 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33664 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33667 echo "$as_me: failed program was:" >&5
33668 sed 's/^/| /' conftest.$ac_ext >&5
33671 echo "$as_me:$LINENO: result: no" >&5
33672 echo "${ECHO_T}no" >&6
33673 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33674 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33675 LDFLAGS="$saveLdflags -Wl,-R,/"
33676 cat >conftest.$ac_ext <<_ACEOF
33679 cat confdefs.h >>conftest.$ac_ext
33680 cat >>conftest.$ac_ext <<_ACEOF
33681 /* end confdefs.h. */
33691 rm -f conftest.$ac_objext conftest$ac_exeext
33692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33693 (eval $ac_link) 2>conftest.er1
33695 grep -v '^ *+' conftest.er1 >conftest.err
33697 cat conftest.err >&5
33698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33699 (exit $ac_status); } &&
33700 { ac_try='test -z "$ac_cxx_werror_flag"
33701 || test ! -s conftest.err'
33702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33703 (eval $ac_try) 2>&5
33705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33706 (exit $ac_status); }; } &&
33707 { ac_try='test -s conftest$ac_exeext'
33708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33709 (eval $ac_try) 2>&5
33711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33712 (exit $ac_status); }; }; then
33714 echo "$as_me:$LINENO: result: yes" >&5
33715 echo "${ECHO_T}yes" >&6
33716 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
33717 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33720 echo "$as_me: failed program was:" >&5
33721 sed 's/^/| /' conftest.$ac_ext >&5
33724 echo "$as_me:$LINENO: result: no" >&5
33725 echo "${ECHO_T}no" >&6
33728 rm -f conftest.err conftest.$ac_objext \
33729 conftest$ac_exeext conftest.$ac_ext
33732 rm -f conftest.err conftest.$ac_objext \
33733 conftest$ac_exeext conftest.$ac_ext
33734 LDFLAGS="$saveLdflags"
33736 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
33737 WXCONFIG_RPATH="-R\$libdir"
33742 install_name_tool=`which install_name_tool`
33743 if test "$install_name_tool" -a -x "$install_name_tool"; then
33744 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33745 cat <<EOF >change-install-names
33747 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33748 inst_cmd="install_name_tool "
33749 for i in \${libnames} ; do
33750 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33754 chmod +x change-install-names
33758 *-*-cygwin* | *-*-mingw32* )
33759 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33763 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
33764 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33769 if test $wxUSE_RPATH = "no"; then
33770 SAMPLES_RPATH_FLAG=''
33771 SAMPLES_RPATH_POSTLINK=''
33779 config_linkage_component="-static"
33786 lib_unicode_suffix=
33788 if test "$wxUSE_UNICODE" = "yes"; then
33789 lib_unicode_suffix=u
33790 WX_CHARTYPE="unicode"
33795 WX_DEBUGTYPE="release"
33797 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33799 WX_DEBUGTYPE="debug"
33803 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33804 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33807 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33811 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33813 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33815 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33817 if test "$cross_compiling" = "yes"; then
33818 HOST_SUFFIX="-$host_alias"
33819 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33820 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33823 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33824 if test "${TOOLKIT_DIR}" = "os2"; then
33825 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33827 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33832 if test "$wxUSE_COCOA" = 1; then
33836 ac_cpp='$CPP $CPPFLAGS'
33837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33843 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33844 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33845 cat >conftest.$ac_ext <<_ACEOF
33848 cat confdefs.h >>conftest.$ac_ext
33849 cat >>conftest.$ac_ext <<_ACEOF
33850 /* end confdefs.h. */
33851 #include <AppKit/NSEvent.h>
33852 #include <CoreFoundation/CoreFoundation.h>
33862 rm -f conftest.$ac_objext
33863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33864 (eval $ac_compile) 2>conftest.er1
33866 grep -v '^ *+' conftest.er1 >conftest.err
33868 cat conftest.err >&5
33869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33870 (exit $ac_status); } &&
33871 { ac_try='test -z "$ac_c_werror_flag"
33872 || test ! -s conftest.err'
33873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33874 (eval $ac_try) 2>&5
33876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33877 (exit $ac_status); }; } &&
33878 { ac_try='test -s conftest.$ac_objext'
33879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33880 (eval $ac_try) 2>&5
33882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33883 (exit $ac_status); }; }; then
33884 echo "$as_me:$LINENO: result: no" >&5
33885 echo "${ECHO_T}no" >&6
33887 echo "$as_me: failed program was:" >&5
33888 sed 's/^/| /' conftest.$ac_ext >&5
33890 echo "$as_me:$LINENO: result: yes" >&5
33891 echo "${ECHO_T}yes" >&6
33892 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33893 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33894 cat >conftest.$ac_ext <<_ACEOF
33897 cat confdefs.h >>conftest.$ac_ext
33898 cat >>conftest.$ac_ext <<_ACEOF
33899 /* end confdefs.h. */
33900 #define __Point__ 1
33901 #include <AppKit/NSEvent.h>
33902 #include <CoreFoundation/CoreFoundation.h>
33912 rm -f conftest.$ac_objext
33913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33914 (eval $ac_compile) 2>conftest.er1
33916 grep -v '^ *+' conftest.er1 >conftest.err
33918 cat conftest.err >&5
33919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33920 (exit $ac_status); } &&
33921 { ac_try='test -z "$ac_c_werror_flag"
33922 || test ! -s conftest.err'
33923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33924 (eval $ac_try) 2>&5
33926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33927 (exit $ac_status); }; } &&
33928 { ac_try='test -s conftest.$ac_objext'
33929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33930 (eval $ac_try) 2>&5
33932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33933 (exit $ac_status); }; }; then
33934 echo "$as_me:$LINENO: result: yes" >&5
33935 echo "${ECHO_T}yes" >&6
33936 cat >>confdefs.h <<\_ACEOF
33937 #define __Point__ 1
33942 echo "$as_me: failed program was:" >&5
33943 sed 's/^/| /' conftest.$ac_ext >&5
33945 { { echo "$as_me:$LINENO: error: no
33946 See \`config.log' for more details." >&5
33947 echo "$as_me: error: no
33948 See \`config.log' for more details." >&2;}
33949 { (exit 1); exit 1; }; }
33952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33957 ac_cpp='$CXXCPP $CPPFLAGS'
33958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33964 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33965 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33966 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33968 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33970 # Extract the first word of "Rez", so it can be a program name with args.
33971 set dummy Rez; ac_word=$2
33972 echo "$as_me:$LINENO: checking for $ac_word" >&5
33973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33974 if test "${ac_cv_prog_REZ+set}" = set; then
33975 echo $ECHO_N "(cached) $ECHO_C" >&6
33977 if test -n "$REZ"; then
33978 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33981 for as_dir in $PATH
33984 test -z "$as_dir" && as_dir=.
33985 for ac_exec_ext in '' $ac_executable_extensions; do
33986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33987 ac_cv_prog_REZ="Rez"
33988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33994 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33997 REZ=$ac_cv_prog_REZ
33998 if test -n "$REZ"; then
33999 echo "$as_me:$LINENO: result: $REZ" >&5
34000 echo "${ECHO_T}$REZ" >&6
34002 echo "$as_me:$LINENO: result: no" >&5
34003 echo "${ECHO_T}no" >&6
34006 # Extract the first word of "DeRez", so it can be a program name with args.
34007 set dummy DeRez; ac_word=$2
34008 echo "$as_me:$LINENO: checking for $ac_word" >&5
34009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34010 if test "${ac_cv_prog_DEREZ+set}" = set; then
34011 echo $ECHO_N "(cached) $ECHO_C" >&6
34013 if test -n "$DEREZ"; then
34014 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
34016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34017 for as_dir in $PATH
34020 test -z "$as_dir" && as_dir=.
34021 for ac_exec_ext in '' $ac_executable_extensions; do
34022 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34023 ac_cv_prog_DEREZ="DeRez"
34024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34030 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
34033 DEREZ=$ac_cv_prog_DEREZ
34034 if test -n "$DEREZ"; then
34035 echo "$as_me:$LINENO: result: $DEREZ" >&5
34036 echo "${ECHO_T}$DEREZ" >&6
34038 echo "$as_me:$LINENO: result: no" >&5
34039 echo "${ECHO_T}no" >&6
34042 # Extract the first word of "SetFile", so it can be a program name with args.
34043 set dummy SetFile; ac_word=$2
34044 echo "$as_me:$LINENO: checking for $ac_word" >&5
34045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34046 if test "${ac_cv_prog_SETFILE+set}" = set; then
34047 echo $ECHO_N "(cached) $ECHO_C" >&6
34049 if test -n "$SETFILE"; then
34050 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34053 for as_dir in $PATH
34056 test -z "$as_dir" && as_dir=.
34057 for ac_exec_ext in '' $ac_executable_extensions; do
34058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34059 ac_cv_prog_SETFILE="SetFile"
34060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34066 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34069 SETFILE=$ac_cv_prog_SETFILE
34070 if test -n "$SETFILE"; then
34071 echo "$as_me:$LINENO: result: $SETFILE" >&5
34072 echo "${ECHO_T}$SETFILE" >&6
34074 echo "$as_me:$LINENO: result: no" >&5
34075 echo "${ECHO_T}no" >&6
34079 MACSETFILE="\$(SETFILE)"
34081 if test "$wxUSE_MAC" = 1; then
34082 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
34084 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
34086 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
34087 RESCOMP="echo -n \| $REZ"
34088 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
34094 if test "$wxUSE_PM" = 1; then
34096 WXCONFIG_RESFLAGS="-ep"
34098 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
34100 POSTLINK_COMMAND="@true"
34107 echo "$as_me:$LINENO: checking for mode_t" >&5
34108 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
34109 if test "${ac_cv_type_mode_t+set}" = set; then
34110 echo $ECHO_N "(cached) $ECHO_C" >&6
34112 cat >conftest.$ac_ext <<_ACEOF
34115 cat confdefs.h >>conftest.$ac_ext
34116 cat >>conftest.$ac_ext <<_ACEOF
34117 /* end confdefs.h. */
34118 $ac_includes_default
34124 if (sizeof (mode_t))
34130 rm -f conftest.$ac_objext
34131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34132 (eval $ac_compile) 2>conftest.er1
34134 grep -v '^ *+' conftest.er1 >conftest.err
34136 cat conftest.err >&5
34137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34138 (exit $ac_status); } &&
34139 { ac_try='test -z "$ac_cxx_werror_flag"
34140 || test ! -s conftest.err'
34141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34142 (eval $ac_try) 2>&5
34144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34145 (exit $ac_status); }; } &&
34146 { ac_try='test -s conftest.$ac_objext'
34147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34148 (eval $ac_try) 2>&5
34150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34151 (exit $ac_status); }; }; then
34152 ac_cv_type_mode_t=yes
34154 echo "$as_me: failed program was:" >&5
34155 sed 's/^/| /' conftest.$ac_ext >&5
34157 ac_cv_type_mode_t=no
34159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34161 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34162 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34163 if test $ac_cv_type_mode_t = yes; then
34167 cat >>confdefs.h <<_ACEOF
34173 echo "$as_me:$LINENO: checking for off_t" >&5
34174 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34175 if test "${ac_cv_type_off_t+set}" = set; then
34176 echo $ECHO_N "(cached) $ECHO_C" >&6
34178 cat >conftest.$ac_ext <<_ACEOF
34181 cat confdefs.h >>conftest.$ac_ext
34182 cat >>conftest.$ac_ext <<_ACEOF
34183 /* end confdefs.h. */
34184 $ac_includes_default
34190 if (sizeof (off_t))
34196 rm -f conftest.$ac_objext
34197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34198 (eval $ac_compile) 2>conftest.er1
34200 grep -v '^ *+' conftest.er1 >conftest.err
34202 cat conftest.err >&5
34203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34204 (exit $ac_status); } &&
34205 { ac_try='test -z "$ac_cxx_werror_flag"
34206 || test ! -s conftest.err'
34207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34208 (eval $ac_try) 2>&5
34210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34211 (exit $ac_status); }; } &&
34212 { ac_try='test -s conftest.$ac_objext'
34213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34214 (eval $ac_try) 2>&5
34216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34217 (exit $ac_status); }; }; then
34218 ac_cv_type_off_t=yes
34220 echo "$as_me: failed program was:" >&5
34221 sed 's/^/| /' conftest.$ac_ext >&5
34223 ac_cv_type_off_t=no
34225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34227 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34228 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34229 if test $ac_cv_type_off_t = yes; then
34233 cat >>confdefs.h <<_ACEOF
34239 echo "$as_me:$LINENO: checking for pid_t" >&5
34240 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34241 if test "${ac_cv_type_pid_t+set}" = set; then
34242 echo $ECHO_N "(cached) $ECHO_C" >&6
34244 cat >conftest.$ac_ext <<_ACEOF
34247 cat confdefs.h >>conftest.$ac_ext
34248 cat >>conftest.$ac_ext <<_ACEOF
34249 /* end confdefs.h. */
34250 $ac_includes_default
34256 if (sizeof (pid_t))
34262 rm -f conftest.$ac_objext
34263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34264 (eval $ac_compile) 2>conftest.er1
34266 grep -v '^ *+' conftest.er1 >conftest.err
34268 cat conftest.err >&5
34269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34270 (exit $ac_status); } &&
34271 { ac_try='test -z "$ac_cxx_werror_flag"
34272 || test ! -s conftest.err'
34273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34274 (eval $ac_try) 2>&5
34276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34277 (exit $ac_status); }; } &&
34278 { ac_try='test -s conftest.$ac_objext'
34279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34280 (eval $ac_try) 2>&5
34282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34283 (exit $ac_status); }; }; then
34284 ac_cv_type_pid_t=yes
34286 echo "$as_me: failed program was:" >&5
34287 sed 's/^/| /' conftest.$ac_ext >&5
34289 ac_cv_type_pid_t=no
34291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34293 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34294 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34295 if test $ac_cv_type_pid_t = yes; then
34299 cat >>confdefs.h <<_ACEOF
34305 echo "$as_me:$LINENO: checking for size_t" >&5
34306 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34307 if test "${ac_cv_type_size_t+set}" = set; then
34308 echo $ECHO_N "(cached) $ECHO_C" >&6
34310 cat >conftest.$ac_ext <<_ACEOF
34313 cat confdefs.h >>conftest.$ac_ext
34314 cat >>conftest.$ac_ext <<_ACEOF
34315 /* end confdefs.h. */
34316 $ac_includes_default
34322 if (sizeof (size_t))
34328 rm -f conftest.$ac_objext
34329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34330 (eval $ac_compile) 2>conftest.er1
34332 grep -v '^ *+' conftest.er1 >conftest.err
34334 cat conftest.err >&5
34335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34336 (exit $ac_status); } &&
34337 { ac_try='test -z "$ac_cxx_werror_flag"
34338 || test ! -s conftest.err'
34339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34340 (eval $ac_try) 2>&5
34342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34343 (exit $ac_status); }; } &&
34344 { ac_try='test -s conftest.$ac_objext'
34345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34346 (eval $ac_try) 2>&5
34348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34349 (exit $ac_status); }; }; then
34350 ac_cv_type_size_t=yes
34352 echo "$as_me: failed program was:" >&5
34353 sed 's/^/| /' conftest.$ac_ext >&5
34355 ac_cv_type_size_t=no
34357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34359 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34360 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34361 if test $ac_cv_type_size_t = yes; then
34365 cat >>confdefs.h <<_ACEOF
34366 #define size_t unsigned
34371 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34372 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34373 if test "${ac_cv_type_uid_t+set}" = set; then
34374 echo $ECHO_N "(cached) $ECHO_C" >&6
34376 cat >conftest.$ac_ext <<_ACEOF
34379 cat confdefs.h >>conftest.$ac_ext
34380 cat >>conftest.$ac_ext <<_ACEOF
34381 /* end confdefs.h. */
34382 #include <sys/types.h>
34385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34386 $EGREP "uid_t" >/dev/null 2>&1; then
34387 ac_cv_type_uid_t=yes
34389 ac_cv_type_uid_t=no
34394 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34395 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34396 if test $ac_cv_type_uid_t = no; then
34398 cat >>confdefs.h <<\_ACEOF
34403 cat >>confdefs.h <<\_ACEOF
34410 echo "$as_me:$LINENO: checking for ssize_t" >&5
34411 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34412 if test "${ac_cv_type_ssize_t+set}" = set; then
34413 echo $ECHO_N "(cached) $ECHO_C" >&6
34415 cat >conftest.$ac_ext <<_ACEOF
34418 cat confdefs.h >>conftest.$ac_ext
34419 cat >>conftest.$ac_ext <<_ACEOF
34420 /* end confdefs.h. */
34421 $ac_includes_default
34427 if (sizeof (ssize_t))
34433 rm -f conftest.$ac_objext
34434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34435 (eval $ac_compile) 2>conftest.er1
34437 grep -v '^ *+' conftest.er1 >conftest.err
34439 cat conftest.err >&5
34440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34441 (exit $ac_status); } &&
34442 { ac_try='test -z "$ac_cxx_werror_flag"
34443 || test ! -s conftest.err'
34444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34445 (eval $ac_try) 2>&5
34447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34448 (exit $ac_status); }; } &&
34449 { ac_try='test -s conftest.$ac_objext'
34450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34451 (eval $ac_try) 2>&5
34453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34454 (exit $ac_status); }; }; then
34455 ac_cv_type_ssize_t=yes
34457 echo "$as_me: failed program was:" >&5
34458 sed 's/^/| /' conftest.$ac_ext >&5
34460 ac_cv_type_ssize_t=no
34462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34464 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34465 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34466 if test $ac_cv_type_ssize_t = yes; then
34468 cat >>confdefs.h <<_ACEOF
34469 #define HAVE_SSIZE_T 1
34476 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34477 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34478 if test "${wx_cv_size_t_is_uint+set}" = set; then
34479 echo $ECHO_N "(cached) $ECHO_C" >&6
34482 cat >conftest.$ac_ext <<_ACEOF
34485 cat confdefs.h >>conftest.$ac_ext
34486 cat >>conftest.$ac_ext <<_ACEOF
34487 /* end confdefs.h. */
34488 #include <stddef.h>
34495 struct Foo { void foo(size_t); void foo(unsigned int); };
34503 rm -f conftest.$ac_objext
34504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34505 (eval $ac_compile) 2>conftest.er1
34507 grep -v '^ *+' conftest.er1 >conftest.err
34509 cat conftest.err >&5
34510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34511 (exit $ac_status); } &&
34512 { ac_try='test -z "$ac_cxx_werror_flag"
34513 || test ! -s conftest.err'
34514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34515 (eval $ac_try) 2>&5
34517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34518 (exit $ac_status); }; } &&
34519 { ac_try='test -s conftest.$ac_objext'
34520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34521 (eval $ac_try) 2>&5
34523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34524 (exit $ac_status); }; }; then
34525 wx_cv_size_t_is_uint=no
34527 echo "$as_me: failed program was:" >&5
34528 sed 's/^/| /' conftest.$ac_ext >&5
34530 wx_cv_size_t_is_uint=yes
34533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34537 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34538 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34540 if test "$wx_cv_size_t_is_uint" = "yes"; then
34541 cat >>confdefs.h <<\_ACEOF
34542 #define wxSIZE_T_IS_UINT 1
34546 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34547 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34548 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34549 echo $ECHO_N "(cached) $ECHO_C" >&6
34551 cat >conftest.$ac_ext <<_ACEOF
34554 cat confdefs.h >>conftest.$ac_ext
34555 cat >>conftest.$ac_ext <<_ACEOF
34556 /* end confdefs.h. */
34557 #include <stddef.h>
34564 struct Foo { void foo(size_t); void foo(unsigned long); };
34572 rm -f conftest.$ac_objext
34573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34574 (eval $ac_compile) 2>conftest.er1
34576 grep -v '^ *+' conftest.er1 >conftest.err
34578 cat conftest.err >&5
34579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34580 (exit $ac_status); } &&
34581 { ac_try='test -z "$ac_cxx_werror_flag"
34582 || test ! -s conftest.err'
34583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34584 (eval $ac_try) 2>&5
34586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34587 (exit $ac_status); }; } &&
34588 { ac_try='test -s conftest.$ac_objext'
34589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34590 (eval $ac_try) 2>&5
34592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34593 (exit $ac_status); }; }; then
34594 wx_cv_size_t_is_ulong=no
34596 echo "$as_me: failed program was:" >&5
34597 sed 's/^/| /' conftest.$ac_ext >&5
34599 wx_cv_size_t_is_ulong=yes
34602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34605 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34606 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34608 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34609 cat >>confdefs.h <<\_ACEOF
34610 #define wxSIZE_T_IS_ULONG 1
34617 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34618 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34619 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34620 echo $ECHO_N "(cached) $ECHO_C" >&6
34623 cat >conftest.$ac_ext <<_ACEOF
34626 cat confdefs.h >>conftest.$ac_ext
34627 cat >>conftest.$ac_ext <<_ACEOF
34628 /* end confdefs.h. */
34642 rm -f conftest.$ac_objext
34643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34644 (eval $ac_compile) 2>conftest.er1
34646 grep -v '^ *+' conftest.er1 >conftest.err
34648 cat conftest.err >&5
34649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34650 (exit $ac_status); } &&
34651 { ac_try='test -z "$ac_cxx_werror_flag"
34652 || test ! -s conftest.err'
34653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34654 (eval $ac_try) 2>&5
34656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34657 (exit $ac_status); }; } &&
34658 { ac_try='test -s conftest.$ac_objext'
34659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34660 (eval $ac_try) 2>&5
34662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34663 (exit $ac_status); }; }; then
34665 wx_cv_struct_pw_gecos=yes
34668 echo "$as_me: failed program was:" >&5
34669 sed 's/^/| /' conftest.$ac_ext >&5
34672 wx_cv_struct_pw_gecos=no
34676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34680 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34681 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34683 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34684 cat >>confdefs.h <<\_ACEOF
34685 #define HAVE_PW_GECOS 1
34691 if test "$wxUSE_WCHAR_T" = "yes"; then
34692 cat >>confdefs.h <<\_ACEOF
34693 #define wxUSE_WCHAR_T 1
34700 for ac_func in wcslen
34702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34703 echo "$as_me:$LINENO: checking for $ac_func" >&5
34704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34705 if eval "test \"\${$as_ac_var+set}\" = set"; then
34706 echo $ECHO_N "(cached) $ECHO_C" >&6
34708 cat >conftest.$ac_ext <<_ACEOF
34711 cat confdefs.h >>conftest.$ac_ext
34712 cat >>conftest.$ac_ext <<_ACEOF
34713 /* end confdefs.h. */
34714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34716 #define $ac_func innocuous_$ac_func
34718 /* System header to define __stub macros and hopefully few prototypes,
34719 which can conflict with char $ac_func (); below.
34720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34721 <limits.h> exists even on freestanding compilers. */
34724 # include <limits.h>
34726 # include <assert.h>
34731 /* Override any gcc2 internal prototype to avoid an error. */
34736 /* We use char because int might match the return type of a gcc2
34737 builtin and then its argument prototype would still apply. */
34739 /* The GNU C library defines this for functions which it implements
34740 to always fail with ENOSYS. Some functions are actually named
34741 something starting with __ and the normal name is an alias. */
34742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34745 char (*f) () = $ac_func;
34754 return f != $ac_func;
34759 rm -f conftest.$ac_objext conftest$ac_exeext
34760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34761 (eval $ac_link) 2>conftest.er1
34763 grep -v '^ *+' conftest.er1 >conftest.err
34765 cat conftest.err >&5
34766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34767 (exit $ac_status); } &&
34768 { ac_try='test -z "$ac_cxx_werror_flag"
34769 || test ! -s conftest.err'
34770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34771 (eval $ac_try) 2>&5
34773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34774 (exit $ac_status); }; } &&
34775 { ac_try='test -s conftest$ac_exeext'
34776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34777 (eval $ac_try) 2>&5
34779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34780 (exit $ac_status); }; }; then
34781 eval "$as_ac_var=yes"
34783 echo "$as_me: failed program was:" >&5
34784 sed 's/^/| /' conftest.$ac_ext >&5
34786 eval "$as_ac_var=no"
34788 rm -f conftest.err conftest.$ac_objext \
34789 conftest$ac_exeext conftest.$ac_ext
34791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34793 if test `eval echo '${'$as_ac_var'}'` = yes; then
34794 cat >>confdefs.h <<_ACEOF
34795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34802 if test "$WCSLEN_FOUND" = 0; then
34803 if test "$TOOLKIT" = "MSW"; then
34804 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34805 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34806 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34807 echo $ECHO_N "(cached) $ECHO_C" >&6
34809 ac_check_lib_save_LIBS=$LIBS
34810 LIBS="-lmsvcrt $LIBS"
34811 cat >conftest.$ac_ext <<_ACEOF
34814 cat confdefs.h >>conftest.$ac_ext
34815 cat >>conftest.$ac_ext <<_ACEOF
34816 /* end confdefs.h. */
34818 /* Override any gcc2 internal prototype to avoid an error. */
34822 /* We use char because int might match the return type of a gcc2
34823 builtin and then its argument prototype would still apply. */
34833 rm -f conftest.$ac_objext conftest$ac_exeext
34834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34835 (eval $ac_link) 2>conftest.er1
34837 grep -v '^ *+' conftest.er1 >conftest.err
34839 cat conftest.err >&5
34840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34841 (exit $ac_status); } &&
34842 { ac_try='test -z "$ac_cxx_werror_flag"
34843 || test ! -s conftest.err'
34844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34845 (eval $ac_try) 2>&5
34847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34848 (exit $ac_status); }; } &&
34849 { ac_try='test -s conftest$ac_exeext'
34850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34851 (eval $ac_try) 2>&5
34853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34854 (exit $ac_status); }; }; then
34855 ac_cv_lib_msvcrt_wcslen=yes
34857 echo "$as_me: failed program was:" >&5
34858 sed 's/^/| /' conftest.$ac_ext >&5
34860 ac_cv_lib_msvcrt_wcslen=no
34862 rm -f conftest.err conftest.$ac_objext \
34863 conftest$ac_exeext conftest.$ac_ext
34864 LIBS=$ac_check_lib_save_LIBS
34866 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34867 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34868 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34873 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34874 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34875 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34876 echo $ECHO_N "(cached) $ECHO_C" >&6
34878 ac_check_lib_save_LIBS=$LIBS
34880 cat >conftest.$ac_ext <<_ACEOF
34883 cat confdefs.h >>conftest.$ac_ext
34884 cat >>conftest.$ac_ext <<_ACEOF
34885 /* end confdefs.h. */
34887 /* Override any gcc2 internal prototype to avoid an error. */
34891 /* We use char because int might match the return type of a gcc2
34892 builtin and then its argument prototype would still apply. */
34902 rm -f conftest.$ac_objext conftest$ac_exeext
34903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34904 (eval $ac_link) 2>conftest.er1
34906 grep -v '^ *+' conftest.er1 >conftest.err
34908 cat conftest.err >&5
34909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34910 (exit $ac_status); } &&
34911 { ac_try='test -z "$ac_cxx_werror_flag"
34912 || test ! -s conftest.err'
34913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34914 (eval $ac_try) 2>&5
34916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34917 (exit $ac_status); }; } &&
34918 { ac_try='test -s conftest$ac_exeext'
34919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34920 (eval $ac_try) 2>&5
34922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34923 (exit $ac_status); }; }; then
34924 ac_cv_lib_w_wcslen=yes
34926 echo "$as_me: failed program was:" >&5
34927 sed 's/^/| /' conftest.$ac_ext >&5
34929 ac_cv_lib_w_wcslen=no
34931 rm -f conftest.err conftest.$ac_objext \
34932 conftest$ac_exeext conftest.$ac_ext
34933 LIBS=$ac_check_lib_save_LIBS
34935 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34936 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34937 if test $ac_cv_lib_w_wcslen = yes; then
34947 if test "$WCSLEN_FOUND" = 1; then
34948 cat >>confdefs.h <<\_ACEOF
34949 #define HAVE_WCSLEN 1
34954 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34955 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34958 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34959 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34960 if test "${ac_cv_type_mbstate_t+set}" = set; then
34961 echo $ECHO_N "(cached) $ECHO_C" >&6
34963 cat >conftest.$ac_ext <<_ACEOF
34966 cat confdefs.h >>conftest.$ac_ext
34967 cat >>conftest.$ac_ext <<_ACEOF
34968 /* end confdefs.h. */
34974 if ((mbstate_t *) 0)
34976 if (sizeof (mbstate_t))
34982 rm -f conftest.$ac_objext
34983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34984 (eval $ac_compile) 2>conftest.er1
34986 grep -v '^ *+' conftest.er1 >conftest.err
34988 cat conftest.err >&5
34989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34990 (exit $ac_status); } &&
34991 { ac_try='test -z "$ac_cxx_werror_flag"
34992 || test ! -s conftest.err'
34993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34994 (eval $ac_try) 2>&5
34996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34997 (exit $ac_status); }; } &&
34998 { ac_try='test -s conftest.$ac_objext'
34999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35000 (eval $ac_try) 2>&5
35002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35003 (exit $ac_status); }; }; then
35004 ac_cv_type_mbstate_t=yes
35006 echo "$as_me: failed program was:" >&5
35007 sed 's/^/| /' conftest.$ac_ext >&5
35009 ac_cv_type_mbstate_t=no
35011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35013 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35014 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
35015 if test $ac_cv_type_mbstate_t = yes; then
35017 cat >>confdefs.h <<_ACEOF
35018 #define HAVE_MBSTATE_T 1
35022 for ac_func in wcsrtombs
35024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35025 echo "$as_me:$LINENO: checking for $ac_func" >&5
35026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35027 if eval "test \"\${$as_ac_var+set}\" = set"; then
35028 echo $ECHO_N "(cached) $ECHO_C" >&6
35030 cat >conftest.$ac_ext <<_ACEOF
35033 cat confdefs.h >>conftest.$ac_ext
35034 cat >>conftest.$ac_ext <<_ACEOF
35035 /* end confdefs.h. */
35036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35038 #define $ac_func innocuous_$ac_func
35040 /* System header to define __stub macros and hopefully few prototypes,
35041 which can conflict with char $ac_func (); below.
35042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35043 <limits.h> exists even on freestanding compilers. */
35046 # include <limits.h>
35048 # include <assert.h>
35053 /* Override any gcc2 internal prototype to avoid an error. */
35058 /* We use char because int might match the return type of a gcc2
35059 builtin and then its argument prototype would still apply. */
35061 /* The GNU C library defines this for functions which it implements
35062 to always fail with ENOSYS. Some functions are actually named
35063 something starting with __ and the normal name is an alias. */
35064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35067 char (*f) () = $ac_func;
35076 return f != $ac_func;
35081 rm -f conftest.$ac_objext conftest$ac_exeext
35082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35083 (eval $ac_link) 2>conftest.er1
35085 grep -v '^ *+' conftest.er1 >conftest.err
35087 cat conftest.err >&5
35088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35089 (exit $ac_status); } &&
35090 { ac_try='test -z "$ac_cxx_werror_flag"
35091 || test ! -s conftest.err'
35092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35093 (eval $ac_try) 2>&5
35095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35096 (exit $ac_status); }; } &&
35097 { ac_try='test -s conftest$ac_exeext'
35098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35099 (eval $ac_try) 2>&5
35101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35102 (exit $ac_status); }; }; then
35103 eval "$as_ac_var=yes"
35105 echo "$as_me: failed program was:" >&5
35106 sed 's/^/| /' conftest.$ac_ext >&5
35108 eval "$as_ac_var=no"
35110 rm -f conftest.err conftest.$ac_objext \
35111 conftest$ac_exeext conftest.$ac_ext
35113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35115 if test `eval echo '${'$as_ac_var'}'` = yes; then
35116 cat >>confdefs.h <<_ACEOF
35117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35126 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35127 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35132 for ac_func in snprintf vsnprintf
35134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35135 echo "$as_me:$LINENO: checking for $ac_func" >&5
35136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35137 if eval "test \"\${$as_ac_var+set}\" = set"; then
35138 echo $ECHO_N "(cached) $ECHO_C" >&6
35140 cat >conftest.$ac_ext <<_ACEOF
35143 cat confdefs.h >>conftest.$ac_ext
35144 cat >>conftest.$ac_ext <<_ACEOF
35145 /* end confdefs.h. */
35146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35148 #define $ac_func innocuous_$ac_func
35150 /* System header to define __stub macros and hopefully few prototypes,
35151 which can conflict with char $ac_func (); below.
35152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35153 <limits.h> exists even on freestanding compilers. */
35156 # include <limits.h>
35158 # include <assert.h>
35163 /* Override any gcc2 internal prototype to avoid an error. */
35168 /* We use char because int might match the return type of a gcc2
35169 builtin and then its argument prototype would still apply. */
35171 /* The GNU C library defines this for functions which it implements
35172 to always fail with ENOSYS. Some functions are actually named
35173 something starting with __ and the normal name is an alias. */
35174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35177 char (*f) () = $ac_func;
35186 return f != $ac_func;
35191 rm -f conftest.$ac_objext conftest$ac_exeext
35192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35193 (eval $ac_link) 2>conftest.er1
35195 grep -v '^ *+' conftest.er1 >conftest.err
35197 cat conftest.err >&5
35198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35199 (exit $ac_status); } &&
35200 { ac_try='test -z "$ac_cxx_werror_flag"
35201 || test ! -s conftest.err'
35202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35203 (eval $ac_try) 2>&5
35205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35206 (exit $ac_status); }; } &&
35207 { ac_try='test -s conftest$ac_exeext'
35208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35209 (eval $ac_try) 2>&5
35211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212 (exit $ac_status); }; }; then
35213 eval "$as_ac_var=yes"
35215 echo "$as_me: failed program was:" >&5
35216 sed 's/^/| /' conftest.$ac_ext >&5
35218 eval "$as_ac_var=no"
35220 rm -f conftest.err conftest.$ac_objext \
35221 conftest$ac_exeext conftest.$ac_ext
35223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35225 if test `eval echo '${'$as_ac_var'}'` = yes; then
35226 cat >>confdefs.h <<_ACEOF
35227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35234 if test "$ac_cv_func_vsnprintf" = "yes"; then
35235 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35236 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35237 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35238 echo $ECHO_N "(cached) $ECHO_C" >&6
35241 cat >conftest.$ac_ext <<_ACEOF
35244 cat confdefs.h >>conftest.$ac_ext
35245 cat >>conftest.$ac_ext <<_ACEOF
35246 /* end confdefs.h. */
35249 #include <stdarg.h>
35251 #if __MSL__ >= 0x6000
35253 using namespace std;
35263 vsnprintf(buf, 10u, "%s", ap);
35269 rm -f conftest.$ac_objext
35270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35271 (eval $ac_compile) 2>conftest.er1
35273 grep -v '^ *+' conftest.er1 >conftest.err
35275 cat conftest.err >&5
35276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35277 (exit $ac_status); } &&
35278 { ac_try='test -z "$ac_cxx_werror_flag"
35279 || test ! -s conftest.err'
35280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35281 (eval $ac_try) 2>&5
35283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35284 (exit $ac_status); }; } &&
35285 { ac_try='test -s conftest.$ac_objext'
35286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35287 (eval $ac_try) 2>&5
35289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35290 (exit $ac_status); }; }; then
35291 wx_cv_func_vsnprintf_decl=yes
35293 echo "$as_me: failed program was:" >&5
35294 sed 's/^/| /' conftest.$ac_ext >&5
35296 wx_cv_func_vsnprintf_decl=no
35299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35303 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35304 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35306 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35307 cat >>confdefs.h <<\_ACEOF
35308 #define HAVE_VSNPRINTF_DECL 1
35312 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35313 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35314 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35315 echo $ECHO_N "(cached) $ECHO_C" >&6
35318 cat >conftest.$ac_ext <<_ACEOF
35321 cat confdefs.h >>conftest.$ac_ext
35322 cat >>conftest.$ac_ext <<_ACEOF
35323 /* end confdefs.h. */
35326 #include <stdarg.h>
35328 #if __MSL__ >= 0x6000
35330 using namespace std;
35340 const char *fmt = "%s";
35341 vsnprintf(buf, 10u, fmt, ap);
35347 rm -f conftest.$ac_objext
35348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35349 (eval $ac_compile) 2>conftest.er1
35351 grep -v '^ *+' conftest.er1 >conftest.err
35353 cat conftest.err >&5
35354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35355 (exit $ac_status); } &&
35356 { ac_try='test -z "$ac_cxx_werror_flag"
35357 || test ! -s conftest.err'
35358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35359 (eval $ac_try) 2>&5
35361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35362 (exit $ac_status); }; } &&
35363 { ac_try='test -s conftest.$ac_objext'
35364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35365 (eval $ac_try) 2>&5
35367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35368 (exit $ac_status); }; }; then
35369 wx_cv_func_broken_vsnprintf_decl=no
35371 echo "$as_me: failed program was:" >&5
35372 sed 's/^/| /' conftest.$ac_ext >&5
35374 wx_cv_func_broken_vsnprintf_decl=yes
35377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35381 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35382 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35384 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35385 cat >>confdefs.h <<\_ACEOF
35386 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35393 if test "$ac_cv_func_snprintf" = "yes"; then
35394 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35395 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35396 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35397 echo $ECHO_N "(cached) $ECHO_C" >&6
35400 cat >conftest.$ac_ext <<_ACEOF
35403 cat confdefs.h >>conftest.$ac_ext
35404 cat >>conftest.$ac_ext <<_ACEOF
35405 /* end confdefs.h. */
35408 #include <stdarg.h>
35410 #if __MSL__ >= 0x6000
35412 using namespace std;
35421 snprintf(buf, 10u, "%s", "wx");
35427 rm -f conftest.$ac_objext
35428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35429 (eval $ac_compile) 2>conftest.er1
35431 grep -v '^ *+' conftest.er1 >conftest.err
35433 cat conftest.err >&5
35434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35435 (exit $ac_status); } &&
35436 { ac_try='test -z "$ac_cxx_werror_flag"
35437 || test ! -s conftest.err'
35438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35439 (eval $ac_try) 2>&5
35441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35442 (exit $ac_status); }; } &&
35443 { ac_try='test -s conftest.$ac_objext'
35444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35445 (eval $ac_try) 2>&5
35447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35448 (exit $ac_status); }; }; then
35449 wx_cv_func_snprintf_decl=yes
35451 echo "$as_me: failed program was:" >&5
35452 sed 's/^/| /' conftest.$ac_ext >&5
35454 wx_cv_func_snprintf_decl=no
35457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35461 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35462 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35464 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35465 cat >>confdefs.h <<\_ACEOF
35466 #define HAVE_SNPRINTF_DECL 1
35470 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35471 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35472 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35473 echo $ECHO_N "(cached) $ECHO_C" >&6
35476 cat >conftest.$ac_ext <<_ACEOF
35479 cat confdefs.h >>conftest.$ac_ext
35480 cat >>conftest.$ac_ext <<_ACEOF
35481 /* end confdefs.h. */
35484 #include <stdarg.h>
35486 #if __MSL__ >= 0x6000
35488 using namespace std;
35497 const char *fmt = "%s";
35498 snprintf(buf, 10u, fmt, "wx");
35504 rm -f conftest.$ac_objext
35505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35506 (eval $ac_compile) 2>conftest.er1
35508 grep -v '^ *+' conftest.er1 >conftest.err
35510 cat conftest.err >&5
35511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35512 (exit $ac_status); } &&
35513 { ac_try='test -z "$ac_cxx_werror_flag"
35514 || test ! -s conftest.err'
35515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35516 (eval $ac_try) 2>&5
35518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35519 (exit $ac_status); }; } &&
35520 { ac_try='test -s conftest.$ac_objext'
35521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35522 (eval $ac_try) 2>&5
35524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35525 (exit $ac_status); }; }; then
35526 wx_cv_func_broken_snprintf_decl=no
35528 echo "$as_me: failed program was:" >&5
35529 sed 's/^/| /' conftest.$ac_ext >&5
35531 wx_cv_func_broken_snprintf_decl=yes
35534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35538 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35539 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35541 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35542 cat >>confdefs.h <<\_ACEOF
35543 #define HAVE_BROKEN_SNPRINTF_DECL 1
35549 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35551 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35552 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35553 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35554 echo $ECHO_N "(cached) $ECHO_C" >&6
35557 if test "$cross_compiling" = yes; then
35559 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35560 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35561 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35562 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35563 wx_cv_func_snprintf_pos_params=no
35567 cat >conftest.$ac_ext <<_ACEOF
35570 cat confdefs.h >>conftest.$ac_ext
35571 cat >>conftest.$ac_ext <<_ACEOF
35572 /* end confdefs.h. */
35579 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35580 if (strcmp ("2 3 1", buffer) == 0)
35586 rm -f conftest$ac_exeext
35587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35588 (eval $ac_link) 2>&5
35590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35591 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35593 (eval $ac_try) 2>&5
35595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35596 (exit $ac_status); }; }; then
35597 wx_cv_func_snprintf_pos_params=no
35599 echo "$as_me: program exited with status $ac_status" >&5
35600 echo "$as_me: failed program was:" >&5
35601 sed 's/^/| /' conftest.$ac_ext >&5
35603 ( exit $ac_status )
35604 wx_cv_func_snprintf_pos_params=yes
35606 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35611 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35612 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35614 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35615 cat >>confdefs.h <<\_ACEOF
35616 #define HAVE_UNIX98_PRINTF 1
35623 if test "$wxUSE_UNICODE" = yes; then
35626 for ac_func in swprintf
35628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35629 echo "$as_me:$LINENO: checking for $ac_func" >&5
35630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35631 if eval "test \"\${$as_ac_var+set}\" = set"; then
35632 echo $ECHO_N "(cached) $ECHO_C" >&6
35634 cat >conftest.$ac_ext <<_ACEOF
35637 cat confdefs.h >>conftest.$ac_ext
35638 cat >>conftest.$ac_ext <<_ACEOF
35639 /* end confdefs.h. */
35640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35642 #define $ac_func innocuous_$ac_func
35644 /* System header to define __stub macros and hopefully few prototypes,
35645 which can conflict with char $ac_func (); below.
35646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35647 <limits.h> exists even on freestanding compilers. */
35650 # include <limits.h>
35652 # include <assert.h>
35657 /* Override any gcc2 internal prototype to avoid an error. */
35662 /* We use char because int might match the return type of a gcc2
35663 builtin and then its argument prototype would still apply. */
35665 /* The GNU C library defines this for functions which it implements
35666 to always fail with ENOSYS. Some functions are actually named
35667 something starting with __ and the normal name is an alias. */
35668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35671 char (*f) () = $ac_func;
35680 return f != $ac_func;
35685 rm -f conftest.$ac_objext conftest$ac_exeext
35686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35687 (eval $ac_link) 2>conftest.er1
35689 grep -v '^ *+' conftest.er1 >conftest.err
35691 cat conftest.err >&5
35692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35693 (exit $ac_status); } &&
35694 { ac_try='test -z "$ac_cxx_werror_flag"
35695 || test ! -s conftest.err'
35696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35697 (eval $ac_try) 2>&5
35699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35700 (exit $ac_status); }; } &&
35701 { ac_try='test -s conftest$ac_exeext'
35702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35703 (eval $ac_try) 2>&5
35705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35706 (exit $ac_status); }; }; then
35707 eval "$as_ac_var=yes"
35709 echo "$as_me: failed program was:" >&5
35710 sed 's/^/| /' conftest.$ac_ext >&5
35712 eval "$as_ac_var=no"
35714 rm -f conftest.err conftest.$ac_objext \
35715 conftest$ac_exeext conftest.$ac_ext
35717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35719 if test `eval echo '${'$as_ac_var'}'` = yes; then
35720 cat >>confdefs.h <<_ACEOF
35721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35728 if test "$ac_cv_func_swprintf" = "yes"; then
35729 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35730 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35731 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35732 echo $ECHO_N "(cached) $ECHO_C" >&6
35735 cat >conftest.$ac_ext <<_ACEOF
35738 cat confdefs.h >>conftest.$ac_ext
35739 cat >>conftest.$ac_ext <<_ACEOF
35740 /* end confdefs.h. */
35743 #include <stdarg.h>
35751 const wchar_t *fmt = L"test";
35752 swprintf(buf, 10u, fmt);
35758 rm -f conftest.$ac_objext
35759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35760 (eval $ac_compile) 2>conftest.er1
35762 grep -v '^ *+' conftest.er1 >conftest.err
35764 cat conftest.err >&5
35765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35766 (exit $ac_status); } &&
35767 { ac_try='test -z "$ac_cxx_werror_flag"
35768 || test ! -s conftest.err'
35769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35770 (eval $ac_try) 2>&5
35772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35773 (exit $ac_status); }; } &&
35774 { ac_try='test -s conftest.$ac_objext'
35775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35776 (eval $ac_try) 2>&5
35778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35779 (exit $ac_status); }; }; then
35780 wx_cv_func_broken_swprintf_decl=no
35782 echo "$as_me: failed program was:" >&5
35783 sed 's/^/| /' conftest.$ac_ext >&5
35785 wx_cv_func_broken_swprintf_decl=yes
35788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35792 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35793 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35795 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35796 cat >>confdefs.h <<\_ACEOF
35797 #define HAVE_BROKEN_SWPRINTF_DECL 1
35809 for ac_func in wputc wputchar putws fputws wprintf vswprintf
35811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35812 echo "$as_me:$LINENO: checking for $ac_func" >&5
35813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35814 if eval "test \"\${$as_ac_var+set}\" = set"; then
35815 echo $ECHO_N "(cached) $ECHO_C" >&6
35817 cat >conftest.$ac_ext <<_ACEOF
35820 cat confdefs.h >>conftest.$ac_ext
35821 cat >>conftest.$ac_ext <<_ACEOF
35822 /* end confdefs.h. */
35823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35825 #define $ac_func innocuous_$ac_func
35827 /* System header to define __stub macros and hopefully few prototypes,
35828 which can conflict with char $ac_func (); below.
35829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35830 <limits.h> exists even on freestanding compilers. */
35833 # include <limits.h>
35835 # include <assert.h>
35840 /* Override any gcc2 internal prototype to avoid an error. */
35845 /* We use char because int might match the return type of a gcc2
35846 builtin and then its argument prototype would still apply. */
35848 /* The GNU C library defines this for functions which it implements
35849 to always fail with ENOSYS. Some functions are actually named
35850 something starting with __ and the normal name is an alias. */
35851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35854 char (*f) () = $ac_func;
35863 return f != $ac_func;
35868 rm -f conftest.$ac_objext conftest$ac_exeext
35869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35870 (eval $ac_link) 2>conftest.er1
35872 grep -v '^ *+' conftest.er1 >conftest.err
35874 cat conftest.err >&5
35875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35876 (exit $ac_status); } &&
35877 { ac_try='test -z "$ac_cxx_werror_flag"
35878 || test ! -s conftest.err'
35879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35880 (eval $ac_try) 2>&5
35882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35883 (exit $ac_status); }; } &&
35884 { ac_try='test -s conftest$ac_exeext'
35885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35886 (eval $ac_try) 2>&5
35888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35889 (exit $ac_status); }; }; then
35890 eval "$as_ac_var=yes"
35892 echo "$as_me: failed program was:" >&5
35893 sed 's/^/| /' conftest.$ac_ext >&5
35895 eval "$as_ac_var=no"
35897 rm -f conftest.err conftest.$ac_objext \
35898 conftest$ac_exeext conftest.$ac_ext
35900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35902 if test `eval echo '${'$as_ac_var'}'` = yes; then
35903 cat >>confdefs.h <<_ACEOF
35904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35911 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35912 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35913 cat >conftest.$ac_ext <<_ACEOF
35916 cat confdefs.h >>conftest.$ac_ext
35917 cat >>conftest.$ac_ext <<_ACEOF
35918 /* end confdefs.h. */
35928 rm -f conftest.$ac_objext
35929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35930 (eval $ac_compile) 2>conftest.er1
35932 grep -v '^ *+' conftest.er1 >conftest.err
35934 cat conftest.err >&5
35935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35936 (exit $ac_status); } &&
35937 { ac_try='test -z "$ac_cxx_werror_flag"
35938 || test ! -s conftest.err'
35939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35940 (eval $ac_try) 2>&5
35942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35943 (exit $ac_status); }; } &&
35944 { ac_try='test -s conftest.$ac_objext'
35945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35946 (eval $ac_try) 2>&5
35948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35949 (exit $ac_status); }; }; then
35950 echo "$as_me:$LINENO: result: yes" >&5
35951 echo "${ECHO_T}yes" >&6
35952 cat >>confdefs.h <<\_ACEOF
35953 #define HAVE__VSNWPRINTF 1
35957 echo "$as_me: failed program was:" >&5
35958 sed 's/^/| /' conftest.$ac_ext >&5
35960 echo "$as_me:$LINENO: result: no" >&5
35961 echo "${ECHO_T}no" >&6
35963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
35966 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35968 for ac_func in fnmatch
35970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35971 echo "$as_me:$LINENO: checking for $ac_func" >&5
35972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35973 if eval "test \"\${$as_ac_var+set}\" = set"; then
35974 echo $ECHO_N "(cached) $ECHO_C" >&6
35976 cat >conftest.$ac_ext <<_ACEOF
35979 cat confdefs.h >>conftest.$ac_ext
35980 cat >>conftest.$ac_ext <<_ACEOF
35981 /* end confdefs.h. */
35982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35984 #define $ac_func innocuous_$ac_func
35986 /* System header to define __stub macros and hopefully few prototypes,
35987 which can conflict with char $ac_func (); below.
35988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35989 <limits.h> exists even on freestanding compilers. */
35992 # include <limits.h>
35994 # include <assert.h>
35999 /* Override any gcc2 internal prototype to avoid an error. */
36004 /* We use char because int might match the return type of a gcc2
36005 builtin and then its argument prototype would still apply. */
36007 /* The GNU C library defines this for functions which it implements
36008 to always fail with ENOSYS. Some functions are actually named
36009 something starting with __ and the normal name is an alias. */
36010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36013 char (*f) () = $ac_func;
36022 return f != $ac_func;
36027 rm -f conftest.$ac_objext conftest$ac_exeext
36028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36029 (eval $ac_link) 2>conftest.er1
36031 grep -v '^ *+' conftest.er1 >conftest.err
36033 cat conftest.err >&5
36034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36035 (exit $ac_status); } &&
36036 { ac_try='test -z "$ac_cxx_werror_flag"
36037 || test ! -s conftest.err'
36038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36039 (eval $ac_try) 2>&5
36041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36042 (exit $ac_status); }; } &&
36043 { ac_try='test -s conftest$ac_exeext'
36044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36045 (eval $ac_try) 2>&5
36047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36048 (exit $ac_status); }; }; then
36049 eval "$as_ac_var=yes"
36051 echo "$as_me: failed program was:" >&5
36052 sed 's/^/| /' conftest.$ac_ext >&5
36054 eval "$as_ac_var=no"
36056 rm -f conftest.err conftest.$ac_objext \
36057 conftest$ac_exeext conftest.$ac_ext
36059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36061 if test `eval echo '${'$as_ac_var'}'` = yes; then
36062 cat >>confdefs.h <<_ACEOF
36063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36071 if test "$wxUSE_FILE" = "yes"; then
36073 for ac_func in fsync
36075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36076 echo "$as_me:$LINENO: checking for $ac_func" >&5
36077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36078 if eval "test \"\${$as_ac_var+set}\" = set"; then
36079 echo $ECHO_N "(cached) $ECHO_C" >&6
36081 cat >conftest.$ac_ext <<_ACEOF
36084 cat confdefs.h >>conftest.$ac_ext
36085 cat >>conftest.$ac_ext <<_ACEOF
36086 /* end confdefs.h. */
36087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36089 #define $ac_func innocuous_$ac_func
36091 /* System header to define __stub macros and hopefully few prototypes,
36092 which can conflict with char $ac_func (); below.
36093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36094 <limits.h> exists even on freestanding compilers. */
36097 # include <limits.h>
36099 # include <assert.h>
36104 /* Override any gcc2 internal prototype to avoid an error. */
36109 /* We use char because int might match the return type of a gcc2
36110 builtin and then its argument prototype would still apply. */
36112 /* The GNU C library defines this for functions which it implements
36113 to always fail with ENOSYS. Some functions are actually named
36114 something starting with __ and the normal name is an alias. */
36115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36118 char (*f) () = $ac_func;
36127 return f != $ac_func;
36132 rm -f conftest.$ac_objext conftest$ac_exeext
36133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36134 (eval $ac_link) 2>conftest.er1
36136 grep -v '^ *+' conftest.er1 >conftest.err
36138 cat conftest.err >&5
36139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36140 (exit $ac_status); } &&
36141 { ac_try='test -z "$ac_cxx_werror_flag"
36142 || test ! -s conftest.err'
36143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36144 (eval $ac_try) 2>&5
36146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36147 (exit $ac_status); }; } &&
36148 { ac_try='test -s conftest$ac_exeext'
36149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36150 (eval $ac_try) 2>&5
36152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36153 (exit $ac_status); }; }; then
36154 eval "$as_ac_var=yes"
36156 echo "$as_me: failed program was:" >&5
36157 sed 's/^/| /' conftest.$ac_ext >&5
36159 eval "$as_ac_var=no"
36161 rm -f conftest.err conftest.$ac_objext \
36162 conftest$ac_exeext conftest.$ac_ext
36164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36166 if test `eval echo '${'$as_ac_var'}'` = yes; then
36167 cat >>confdefs.h <<_ACEOF
36168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36177 for ac_func in round
36179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36180 echo "$as_me:$LINENO: checking for $ac_func" >&5
36181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36182 if eval "test \"\${$as_ac_var+set}\" = set"; then
36183 echo $ECHO_N "(cached) $ECHO_C" >&6
36185 cat >conftest.$ac_ext <<_ACEOF
36188 cat confdefs.h >>conftest.$ac_ext
36189 cat >>conftest.$ac_ext <<_ACEOF
36190 /* end confdefs.h. */
36191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36193 #define $ac_func innocuous_$ac_func
36195 /* System header to define __stub macros and hopefully few prototypes,
36196 which can conflict with char $ac_func (); below.
36197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36198 <limits.h> exists even on freestanding compilers. */
36201 # include <limits.h>
36203 # include <assert.h>
36208 /* Override any gcc2 internal prototype to avoid an error. */
36213 /* We use char because int might match the return type of a gcc2
36214 builtin and then its argument prototype would still apply. */
36216 /* The GNU C library defines this for functions which it implements
36217 to always fail with ENOSYS. Some functions are actually named
36218 something starting with __ and the normal name is an alias. */
36219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36222 char (*f) () = $ac_func;
36231 return f != $ac_func;
36236 rm -f conftest.$ac_objext conftest$ac_exeext
36237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36238 (eval $ac_link) 2>conftest.er1
36240 grep -v '^ *+' conftest.er1 >conftest.err
36242 cat conftest.err >&5
36243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36244 (exit $ac_status); } &&
36245 { ac_try='test -z "$ac_cxx_werror_flag"
36246 || test ! -s conftest.err'
36247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36248 (eval $ac_try) 2>&5
36250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36251 (exit $ac_status); }; } &&
36252 { ac_try='test -s conftest$ac_exeext'
36253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36254 (eval $ac_try) 2>&5
36256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36257 (exit $ac_status); }; }; then
36258 eval "$as_ac_var=yes"
36260 echo "$as_me: failed program was:" >&5
36261 sed 's/^/| /' conftest.$ac_ext >&5
36263 eval "$as_ac_var=no"
36265 rm -f conftest.err conftest.$ac_objext \
36266 conftest$ac_exeext conftest.$ac_ext
36268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36270 if test `eval echo '${'$as_ac_var'}'` = yes; then
36271 cat >>confdefs.h <<_ACEOF
36272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36278 if test "$ac_cv_func_round" = yes; then
36279 echo "$as_me:$LINENO: checking whether round is declared" >&5
36280 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
36281 if test "${ac_cv_have_decl_round+set}" = set; then
36282 echo $ECHO_N "(cached) $ECHO_C" >&6
36284 cat >conftest.$ac_ext <<_ACEOF
36287 cat confdefs.h >>conftest.$ac_ext
36288 cat >>conftest.$ac_ext <<_ACEOF
36289 /* end confdefs.h. */
36296 char *p = (char *) round;
36303 rm -f conftest.$ac_objext
36304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36305 (eval $ac_compile) 2>conftest.er1
36307 grep -v '^ *+' conftest.er1 >conftest.err
36309 cat conftest.err >&5
36310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36311 (exit $ac_status); } &&
36312 { ac_try='test -z "$ac_cxx_werror_flag"
36313 || test ! -s conftest.err'
36314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36315 (eval $ac_try) 2>&5
36317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36318 (exit $ac_status); }; } &&
36319 { ac_try='test -s conftest.$ac_objext'
36320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36321 (eval $ac_try) 2>&5
36323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36324 (exit $ac_status); }; }; then
36325 ac_cv_have_decl_round=yes
36327 echo "$as_me: failed program was:" >&5
36328 sed 's/^/| /' conftest.$ac_ext >&5
36330 ac_cv_have_decl_round=no
36332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36334 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
36335 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
36336 if test $ac_cv_have_decl_round = yes; then
36338 cat >>confdefs.h <<_ACEOF
36339 #define HAVE_DECL_ROUND 1
36344 cat >>confdefs.h <<_ACEOF
36345 #define HAVE_DECL_ROUND 0
36355 if test "$TOOLKIT" != "MSW"; then
36361 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36362 if test "${with_libiconv_prefix+set}" = set; then
36363 withval="$with_libiconv_prefix"
36365 for dir in `echo "$withval" | tr : ' '`; do
36366 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36367 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36372 echo "$as_me:$LINENO: checking for iconv" >&5
36373 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36374 if test "${am_cv_func_iconv+set}" = set; then
36375 echo $ECHO_N "(cached) $ECHO_C" >&6
36378 am_cv_func_iconv="no, consider installing GNU libiconv"
36380 cat >conftest.$ac_ext <<_ACEOF
36383 cat confdefs.h >>conftest.$ac_ext
36384 cat >>conftest.$ac_ext <<_ACEOF
36385 /* end confdefs.h. */
36386 #include <stdlib.h>
36391 iconv_t cd = iconv_open("","");
36392 iconv(cd,NULL,NULL,NULL,NULL);
36398 rm -f conftest.$ac_objext conftest$ac_exeext
36399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36400 (eval $ac_link) 2>conftest.er1
36402 grep -v '^ *+' conftest.er1 >conftest.err
36404 cat conftest.err >&5
36405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36406 (exit $ac_status); } &&
36407 { ac_try='test -z "$ac_cxx_werror_flag"
36408 || test ! -s conftest.err'
36409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36410 (eval $ac_try) 2>&5
36412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36413 (exit $ac_status); }; } &&
36414 { ac_try='test -s conftest$ac_exeext'
36415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36416 (eval $ac_try) 2>&5
36418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36419 (exit $ac_status); }; }; then
36420 am_cv_func_iconv=yes
36422 echo "$as_me: failed program was:" >&5
36423 sed 's/^/| /' conftest.$ac_ext >&5
36426 rm -f conftest.err conftest.$ac_objext \
36427 conftest$ac_exeext conftest.$ac_ext
36428 if test "$am_cv_func_iconv" != yes; then
36429 am_save_LIBS="$LIBS"
36430 LIBS="$LIBS -liconv"
36431 cat >conftest.$ac_ext <<_ACEOF
36434 cat confdefs.h >>conftest.$ac_ext
36435 cat >>conftest.$ac_ext <<_ACEOF
36436 /* end confdefs.h. */
36437 #include <stdlib.h>
36442 iconv_t cd = iconv_open("","");
36443 iconv(cd,NULL,NULL,NULL,NULL);
36449 rm -f conftest.$ac_objext conftest$ac_exeext
36450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36451 (eval $ac_link) 2>conftest.er1
36453 grep -v '^ *+' conftest.er1 >conftest.err
36455 cat conftest.err >&5
36456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36457 (exit $ac_status); } &&
36458 { ac_try='test -z "$ac_cxx_werror_flag"
36459 || test ! -s conftest.err'
36460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36461 (eval $ac_try) 2>&5
36463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36464 (exit $ac_status); }; } &&
36465 { ac_try='test -s conftest$ac_exeext'
36466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36467 (eval $ac_try) 2>&5
36469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36470 (exit $ac_status); }; }; then
36471 am_cv_lib_iconv=yes
36472 am_cv_func_iconv=yes
36474 echo "$as_me: failed program was:" >&5
36475 sed 's/^/| /' conftest.$ac_ext >&5
36478 rm -f conftest.err conftest.$ac_objext \
36479 conftest$ac_exeext conftest.$ac_ext
36480 LIBS="$am_save_LIBS"
36484 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36485 echo "${ECHO_T}$am_cv_func_iconv" >&6
36486 if test "$am_cv_func_iconv" = yes; then
36488 cat >>confdefs.h <<\_ACEOF
36489 #define HAVE_ICONV 1
36492 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36493 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36494 if test "${wx_cv_func_iconv_const+set}" = set; then
36495 echo $ECHO_N "(cached) $ECHO_C" >&6
36497 cat >conftest.$ac_ext <<_ACEOF
36500 cat confdefs.h >>conftest.$ac_ext
36501 cat >>conftest.$ac_ext <<_ACEOF
36502 /* end confdefs.h. */
36504 #include <stdlib.h>
36510 #if defined(__STDC__) || defined(__cplusplus)
36511 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36524 rm -f conftest.$ac_objext
36525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36526 (eval $ac_compile) 2>conftest.er1
36528 grep -v '^ *+' conftest.er1 >conftest.err
36530 cat conftest.err >&5
36531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36532 (exit $ac_status); } &&
36533 { ac_try='test -z "$ac_cxx_werror_flag"
36534 || test ! -s conftest.err'
36535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36536 (eval $ac_try) 2>&5
36538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36539 (exit $ac_status); }; } &&
36540 { ac_try='test -s conftest.$ac_objext'
36541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36542 (eval $ac_try) 2>&5
36544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36545 (exit $ac_status); }; }; then
36546 wx_cv_func_iconv_const="no"
36548 echo "$as_me: failed program was:" >&5
36549 sed 's/^/| /' conftest.$ac_ext >&5
36551 wx_cv_func_iconv_const="yes"
36554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36557 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36558 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36561 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36562 iconv_const="const"
36566 cat >>confdefs.h <<_ACEOF
36567 #define ICONV_CONST $iconv_const
36572 if test "$am_cv_lib_iconv" = yes; then
36577 LIBS="$LIBICONV $LIBS"
36579 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36581 for ac_func in sigaction
36583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36584 echo "$as_me:$LINENO: checking for $ac_func" >&5
36585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36586 if eval "test \"\${$as_ac_var+set}\" = set"; then
36587 echo $ECHO_N "(cached) $ECHO_C" >&6
36589 cat >conftest.$ac_ext <<_ACEOF
36592 cat confdefs.h >>conftest.$ac_ext
36593 cat >>conftest.$ac_ext <<_ACEOF
36594 /* end confdefs.h. */
36595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36597 #define $ac_func innocuous_$ac_func
36599 /* System header to define __stub macros and hopefully few prototypes,
36600 which can conflict with char $ac_func (); below.
36601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36602 <limits.h> exists even on freestanding compilers. */
36605 # include <limits.h>
36607 # include <assert.h>
36612 /* Override any gcc2 internal prototype to avoid an error. */
36617 /* We use char because int might match the return type of a gcc2
36618 builtin and then its argument prototype would still apply. */
36620 /* The GNU C library defines this for functions which it implements
36621 to always fail with ENOSYS. Some functions are actually named
36622 something starting with __ and the normal name is an alias. */
36623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36626 char (*f) () = $ac_func;
36635 return f != $ac_func;
36640 rm -f conftest.$ac_objext conftest$ac_exeext
36641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36642 (eval $ac_link) 2>conftest.er1
36644 grep -v '^ *+' conftest.er1 >conftest.err
36646 cat conftest.err >&5
36647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36648 (exit $ac_status); } &&
36649 { ac_try='test -z "$ac_cxx_werror_flag"
36650 || test ! -s conftest.err'
36651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36652 (eval $ac_try) 2>&5
36654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36655 (exit $ac_status); }; } &&
36656 { ac_try='test -s conftest$ac_exeext'
36657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36658 (eval $ac_try) 2>&5
36660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36661 (exit $ac_status); }; }; then
36662 eval "$as_ac_var=yes"
36664 echo "$as_me: failed program was:" >&5
36665 sed 's/^/| /' conftest.$ac_ext >&5
36667 eval "$as_ac_var=no"
36669 rm -f conftest.err conftest.$ac_objext \
36670 conftest$ac_exeext conftest.$ac_ext
36672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36674 if test `eval echo '${'$as_ac_var'}'` = yes; then
36675 cat >>confdefs.h <<_ACEOF
36676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36683 if test "$ac_cv_func_sigaction" = "no"; then
36684 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36685 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36686 wxUSE_ON_FATAL_EXCEPTION=no
36689 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36690 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36691 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36692 if test "${wx_cv_type_sa_handler+set}" = set; then
36693 echo $ECHO_N "(cached) $ECHO_C" >&6
36696 cat >conftest.$ac_ext <<_ACEOF
36699 cat confdefs.h >>conftest.$ac_ext
36700 cat >>conftest.$ac_ext <<_ACEOF
36701 /* end confdefs.h. */
36702 #include <signal.h>
36707 extern void testSigHandler(int);
36709 struct sigaction sa;
36710 sa.sa_handler = testSigHandler;
36716 rm -f conftest.$ac_objext
36717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36718 (eval $ac_compile) 2>conftest.er1
36720 grep -v '^ *+' conftest.er1 >conftest.err
36722 cat conftest.err >&5
36723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36724 (exit $ac_status); } &&
36725 { ac_try='test -z "$ac_cxx_werror_flag"
36726 || test ! -s conftest.err'
36727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36728 (eval $ac_try) 2>&5
36730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36731 (exit $ac_status); }; } &&
36732 { ac_try='test -s conftest.$ac_objext'
36733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36734 (eval $ac_try) 2>&5
36736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36737 (exit $ac_status); }; }; then
36739 wx_cv_type_sa_handler=int
36742 echo "$as_me: failed program was:" >&5
36743 sed 's/^/| /' conftest.$ac_ext >&5
36746 wx_cv_type_sa_handler=void
36749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36752 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36753 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36755 cat >>confdefs.h <<_ACEOF
36756 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36762 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36763 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36764 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36765 if test "${wx_cv_func_backtrace+set}" = set; then
36766 echo $ECHO_N "(cached) $ECHO_C" >&6
36769 cat >conftest.$ac_ext <<_ACEOF
36772 cat confdefs.h >>conftest.$ac_ext
36773 cat >>conftest.$ac_ext <<_ACEOF
36774 /* end confdefs.h. */
36775 #include <execinfo.h>
36783 backtrace(trace, 1);
36784 messages = backtrace_symbols(trace, 1);
36790 rm -f conftest.$ac_objext
36791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36792 (eval $ac_compile) 2>conftest.er1
36794 grep -v '^ *+' conftest.er1 >conftest.err
36796 cat conftest.err >&5
36797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36798 (exit $ac_status); } &&
36799 { ac_try='test -z "$ac_cxx_werror_flag"
36800 || test ! -s conftest.err'
36801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36802 (eval $ac_try) 2>&5
36804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36805 (exit $ac_status); }; } &&
36806 { ac_try='test -s conftest.$ac_objext'
36807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36808 (eval $ac_try) 2>&5
36810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36811 (exit $ac_status); }; }; then
36812 wx_cv_func_backtrace=yes
36814 echo "$as_me: failed program was:" >&5
36815 sed 's/^/| /' conftest.$ac_ext >&5
36817 wx_cv_func_backtrace=no
36820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36824 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36825 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36828 if test "$wx_cv_func_backtrace" = "no"; then
36829 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36830 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36831 wxUSE_STACKWALKER=no
36833 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36834 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36835 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36836 echo $ECHO_N "(cached) $ECHO_C" >&6
36839 cat >conftest.$ac_ext <<_ACEOF
36842 cat confdefs.h >>conftest.$ac_ext
36843 cat >>conftest.$ac_ext <<_ACEOF
36844 /* end confdefs.h. */
36845 #include <cxxabi.h>
36851 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36857 rm -f conftest.$ac_objext conftest$ac_exeext
36858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36859 (eval $ac_link) 2>conftest.er1
36861 grep -v '^ *+' conftest.er1 >conftest.err
36863 cat conftest.err >&5
36864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36865 (exit $ac_status); } &&
36866 { ac_try='test -z "$ac_cxx_werror_flag"
36867 || test ! -s conftest.err'
36868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36869 (eval $ac_try) 2>&5
36871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36872 (exit $ac_status); }; } &&
36873 { ac_try='test -s conftest$ac_exeext'
36874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36875 (eval $ac_try) 2>&5
36877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36878 (exit $ac_status); }; }; then
36879 wx_cv_func_cxa_demangle=yes
36881 echo "$as_me: failed program was:" >&5
36882 sed 's/^/| /' conftest.$ac_ext >&5
36884 wx_cv_func_cxa_demangle=no
36887 rm -f conftest.err conftest.$ac_objext \
36888 conftest$ac_exeext conftest.$ac_ext
36892 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36893 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36895 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36896 cat >>confdefs.h <<\_ACEOF
36897 #define HAVE_CXA_DEMANGLE 1
36904 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36905 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36906 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36907 wxUSE_STACKWALKER=no
36913 for ac_func in mkstemp mktemp
36915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36916 echo "$as_me:$LINENO: checking for $ac_func" >&5
36917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36918 if eval "test \"\${$as_ac_var+set}\" = set"; then
36919 echo $ECHO_N "(cached) $ECHO_C" >&6
36921 cat >conftest.$ac_ext <<_ACEOF
36924 cat confdefs.h >>conftest.$ac_ext
36925 cat >>conftest.$ac_ext <<_ACEOF
36926 /* end confdefs.h. */
36927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36929 #define $ac_func innocuous_$ac_func
36931 /* System header to define __stub macros and hopefully few prototypes,
36932 which can conflict with char $ac_func (); below.
36933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36934 <limits.h> exists even on freestanding compilers. */
36937 # include <limits.h>
36939 # include <assert.h>
36944 /* Override any gcc2 internal prototype to avoid an error. */
36949 /* We use char because int might match the return type of a gcc2
36950 builtin and then its argument prototype would still apply. */
36952 /* The GNU C library defines this for functions which it implements
36953 to always fail with ENOSYS. Some functions are actually named
36954 something starting with __ and the normal name is an alias. */
36955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36958 char (*f) () = $ac_func;
36967 return f != $ac_func;
36972 rm -f conftest.$ac_objext conftest$ac_exeext
36973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36974 (eval $ac_link) 2>conftest.er1
36976 grep -v '^ *+' conftest.er1 >conftest.err
36978 cat conftest.err >&5
36979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36980 (exit $ac_status); } &&
36981 { ac_try='test -z "$ac_cxx_werror_flag"
36982 || test ! -s conftest.err'
36983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36984 (eval $ac_try) 2>&5
36986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36987 (exit $ac_status); }; } &&
36988 { ac_try='test -s conftest$ac_exeext'
36989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36990 (eval $ac_try) 2>&5
36992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36993 (exit $ac_status); }; }; then
36994 eval "$as_ac_var=yes"
36996 echo "$as_me: failed program was:" >&5
36997 sed 's/^/| /' conftest.$ac_ext >&5
36999 eval "$as_ac_var=no"
37001 rm -f conftest.err conftest.$ac_objext \
37002 conftest$ac_exeext conftest.$ac_ext
37004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37006 if test `eval echo '${'$as_ac_var'}'` = yes; then
37007 cat >>confdefs.h <<_ACEOF
37008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37015 echo "$as_me:$LINENO: checking for statfs" >&5
37016 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
37017 if test "${wx_cv_func_statfs+set}" = set; then
37018 echo $ECHO_N "(cached) $ECHO_C" >&6
37020 cat >conftest.$ac_ext <<_ACEOF
37023 cat confdefs.h >>conftest.$ac_ext
37024 cat >>conftest.$ac_ext <<_ACEOF
37025 /* end confdefs.h. */
37027 #if defined(__BSD__)
37028 #include <sys/param.h>
37029 #include <sys/mount.h>
37031 #include <sys/vfs.h>
37049 rm -f conftest.$ac_objext
37050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37051 (eval $ac_compile) 2>conftest.er1
37053 grep -v '^ *+' conftest.er1 >conftest.err
37055 cat conftest.err >&5
37056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37057 (exit $ac_status); } &&
37058 { ac_try='test -z "$ac_cxx_werror_flag"
37059 || test ! -s conftest.err'
37060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37061 (eval $ac_try) 2>&5
37063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37064 (exit $ac_status); }; } &&
37065 { ac_try='test -s conftest.$ac_objext'
37066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37067 (eval $ac_try) 2>&5
37069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37070 (exit $ac_status); }; }; then
37071 wx_cv_func_statfs=yes
37073 echo "$as_me: failed program was:" >&5
37074 sed 's/^/| /' conftest.$ac_ext >&5
37076 wx_cv_func_statfs=no
37079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37082 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37083 echo "${ECHO_T}$wx_cv_func_statfs" >&6
37085 if test "$wx_cv_func_statfs" = "yes"; then
37086 echo "$as_me:$LINENO: checking for statfs declaration" >&5
37087 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
37088 if test "${wx_cv_func_statfs_decl+set}" = set; then
37089 echo $ECHO_N "(cached) $ECHO_C" >&6
37091 cat >conftest.$ac_ext <<_ACEOF
37094 cat confdefs.h >>conftest.$ac_ext
37095 cat >>conftest.$ac_ext <<_ACEOF
37096 /* end confdefs.h. */
37098 #if defined(__BSD__)
37099 #include <sys/param.h>
37100 #include <sys/mount.h>
37102 #include <sys/vfs.h>
37116 rm -f conftest.$ac_objext
37117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37118 (eval $ac_compile) 2>conftest.er1
37120 grep -v '^ *+' conftest.er1 >conftest.err
37122 cat conftest.err >&5
37123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37124 (exit $ac_status); } &&
37125 { ac_try='test -z "$ac_cxx_werror_flag"
37126 || test ! -s conftest.err'
37127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37128 (eval $ac_try) 2>&5
37130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37131 (exit $ac_status); }; } &&
37132 { ac_try='test -s conftest.$ac_objext'
37133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37134 (eval $ac_try) 2>&5
37136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37137 (exit $ac_status); }; }; then
37138 wx_cv_func_statfs_decl=yes
37140 echo "$as_me: failed program was:" >&5
37141 sed 's/^/| /' conftest.$ac_ext >&5
37143 wx_cv_func_statfs_decl=no
37146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37149 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37150 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37152 if test "$wx_cv_func_statfs_decl" = "yes"; then
37153 cat >>confdefs.h <<\_ACEOF
37154 #define HAVE_STATFS_DECL 1
37159 wx_cv_type_statvfs_t="struct statfs"
37160 cat >>confdefs.h <<\_ACEOF
37161 #define HAVE_STATFS 1
37165 echo "$as_me:$LINENO: checking for statvfs" >&5
37166 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37167 if test "${wx_cv_func_statvfs+set}" = set; then
37168 echo $ECHO_N "(cached) $ECHO_C" >&6
37170 cat >conftest.$ac_ext <<_ACEOF
37173 cat confdefs.h >>conftest.$ac_ext
37174 cat >>conftest.$ac_ext <<_ACEOF
37175 /* end confdefs.h. */
37177 #include <stddef.h>
37178 #include <sys/statvfs.h>
37184 statvfs("/", NULL);
37190 rm -f conftest.$ac_objext
37191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37192 (eval $ac_compile) 2>conftest.er1
37194 grep -v '^ *+' conftest.er1 >conftest.err
37196 cat conftest.err >&5
37197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37198 (exit $ac_status); } &&
37199 { ac_try='test -z "$ac_cxx_werror_flag"
37200 || test ! -s conftest.err'
37201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37202 (eval $ac_try) 2>&5
37204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37205 (exit $ac_status); }; } &&
37206 { ac_try='test -s conftest.$ac_objext'
37207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37208 (eval $ac_try) 2>&5
37210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37211 (exit $ac_status); }; }; then
37212 wx_cv_func_statvfs=yes
37214 echo "$as_me: failed program was:" >&5
37215 sed 's/^/| /' conftest.$ac_ext >&5
37217 wx_cv_func_statvfs=no
37220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37223 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37224 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37226 if test "$wx_cv_func_statvfs" = "yes"; then
37227 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37228 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37229 if test "${wx_cv_type_statvfs_t+set}" = set; then
37230 echo $ECHO_N "(cached) $ECHO_C" >&6
37232 cat >conftest.$ac_ext <<_ACEOF
37235 cat confdefs.h >>conftest.$ac_ext
37236 cat >>conftest.$ac_ext <<_ACEOF
37237 /* end confdefs.h. */
37239 #include <sys/statvfs.h>
37256 rm -f conftest.$ac_objext
37257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37258 (eval $ac_compile) 2>conftest.er1
37260 grep -v '^ *+' conftest.er1 >conftest.err
37262 cat conftest.err >&5
37263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37264 (exit $ac_status); } &&
37265 { ac_try='test -z "$ac_cxx_werror_flag"
37266 || test ! -s conftest.err'
37267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37268 (eval $ac_try) 2>&5
37270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37271 (exit $ac_status); }; } &&
37272 { ac_try='test -s conftest.$ac_objext'
37273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37274 (eval $ac_try) 2>&5
37276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37277 (exit $ac_status); }; }; then
37278 wx_cv_type_statvfs_t=statvfs_t
37280 echo "$as_me: failed program was:" >&5
37281 sed 's/^/| /' conftest.$ac_ext >&5
37284 cat >conftest.$ac_ext <<_ACEOF
37287 cat confdefs.h >>conftest.$ac_ext
37288 cat >>conftest.$ac_ext <<_ACEOF
37289 /* end confdefs.h. */
37291 #include <sys/statvfs.h>
37308 rm -f conftest.$ac_objext
37309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37310 (eval $ac_compile) 2>conftest.er1
37312 grep -v '^ *+' conftest.er1 >conftest.err
37314 cat conftest.err >&5
37315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37316 (exit $ac_status); } &&
37317 { ac_try='test -z "$ac_cxx_werror_flag"
37318 || test ! -s conftest.err'
37319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37320 (eval $ac_try) 2>&5
37322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37323 (exit $ac_status); }; } &&
37324 { ac_try='test -s conftest.$ac_objext'
37325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37326 (eval $ac_try) 2>&5
37328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37329 (exit $ac_status); }; }; then
37330 wx_cv_type_statvfs_t="struct statvfs"
37332 echo "$as_me: failed program was:" >&5
37333 sed 's/^/| /' conftest.$ac_ext >&5
37335 wx_cv_type_statvfs_t="unknown"
37338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37345 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37346 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37348 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37349 cat >>confdefs.h <<\_ACEOF
37350 #define HAVE_STATVFS 1
37355 wx_cv_type_statvfs_t="unknown"
37359 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37360 cat >>confdefs.h <<_ACEOF
37361 #define WX_STATFS_T $wx_cv_type_statvfs_t
37365 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37366 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37369 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37372 for ac_func in fcntl flock
37374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37375 echo "$as_me:$LINENO: checking for $ac_func" >&5
37376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37377 if eval "test \"\${$as_ac_var+set}\" = set"; then
37378 echo $ECHO_N "(cached) $ECHO_C" >&6
37380 cat >conftest.$ac_ext <<_ACEOF
37383 cat confdefs.h >>conftest.$ac_ext
37384 cat >>conftest.$ac_ext <<_ACEOF
37385 /* end confdefs.h. */
37386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37388 #define $ac_func innocuous_$ac_func
37390 /* System header to define __stub macros and hopefully few prototypes,
37391 which can conflict with char $ac_func (); below.
37392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37393 <limits.h> exists even on freestanding compilers. */
37396 # include <limits.h>
37398 # include <assert.h>
37403 /* Override any gcc2 internal prototype to avoid an error. */
37408 /* We use char because int might match the return type of a gcc2
37409 builtin and then its argument prototype would still apply. */
37411 /* The GNU C library defines this for functions which it implements
37412 to always fail with ENOSYS. Some functions are actually named
37413 something starting with __ and the normal name is an alias. */
37414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37417 char (*f) () = $ac_func;
37426 return f != $ac_func;
37431 rm -f conftest.$ac_objext conftest$ac_exeext
37432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37433 (eval $ac_link) 2>conftest.er1
37435 grep -v '^ *+' conftest.er1 >conftest.err
37437 cat conftest.err >&5
37438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37439 (exit $ac_status); } &&
37440 { ac_try='test -z "$ac_cxx_werror_flag"
37441 || test ! -s conftest.err'
37442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37443 (eval $ac_try) 2>&5
37445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37446 (exit $ac_status); }; } &&
37447 { ac_try='test -s conftest$ac_exeext'
37448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37449 (eval $ac_try) 2>&5
37451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37452 (exit $ac_status); }; }; then
37453 eval "$as_ac_var=yes"
37455 echo "$as_me: failed program was:" >&5
37456 sed 's/^/| /' conftest.$ac_ext >&5
37458 eval "$as_ac_var=no"
37460 rm -f conftest.err conftest.$ac_objext \
37461 conftest$ac_exeext conftest.$ac_ext
37463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37465 if test `eval echo '${'$as_ac_var'}'` = yes; then
37466 cat >>confdefs.h <<_ACEOF
37467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37474 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37475 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37476 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37477 wxUSE_SNGLINST_CHECKER=no
37482 for ac_func in timegm
37484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37485 echo "$as_me:$LINENO: checking for $ac_func" >&5
37486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37487 if eval "test \"\${$as_ac_var+set}\" = set"; then
37488 echo $ECHO_N "(cached) $ECHO_C" >&6
37490 cat >conftest.$ac_ext <<_ACEOF
37493 cat confdefs.h >>conftest.$ac_ext
37494 cat >>conftest.$ac_ext <<_ACEOF
37495 /* end confdefs.h. */
37496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37498 #define $ac_func innocuous_$ac_func
37500 /* System header to define __stub macros and hopefully few prototypes,
37501 which can conflict with char $ac_func (); below.
37502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37503 <limits.h> exists even on freestanding compilers. */
37506 # include <limits.h>
37508 # include <assert.h>
37513 /* Override any gcc2 internal prototype to avoid an error. */
37518 /* We use char because int might match the return type of a gcc2
37519 builtin and then its argument prototype would still apply. */
37521 /* The GNU C library defines this for functions which it implements
37522 to always fail with ENOSYS. Some functions are actually named
37523 something starting with __ and the normal name is an alias. */
37524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37527 char (*f) () = $ac_func;
37536 return f != $ac_func;
37541 rm -f conftest.$ac_objext conftest$ac_exeext
37542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37543 (eval $ac_link) 2>conftest.er1
37545 grep -v '^ *+' conftest.er1 >conftest.err
37547 cat conftest.err >&5
37548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37549 (exit $ac_status); } &&
37550 { ac_try='test -z "$ac_cxx_werror_flag"
37551 || test ! -s conftest.err'
37552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37553 (eval $ac_try) 2>&5
37555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37556 (exit $ac_status); }; } &&
37557 { ac_try='test -s conftest$ac_exeext'
37558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37559 (eval $ac_try) 2>&5
37561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37562 (exit $ac_status); }; }; then
37563 eval "$as_ac_var=yes"
37565 echo "$as_me: failed program was:" >&5
37566 sed 's/^/| /' conftest.$ac_ext >&5
37568 eval "$as_ac_var=no"
37570 rm -f conftest.err conftest.$ac_objext \
37571 conftest$ac_exeext conftest.$ac_ext
37573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37575 if test `eval echo '${'$as_ac_var'}'` = yes; then
37576 cat >>confdefs.h <<_ACEOF
37577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37586 for ac_func in putenv setenv
37588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37589 echo "$as_me:$LINENO: checking for $ac_func" >&5
37590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37591 if eval "test \"\${$as_ac_var+set}\" = set"; then
37592 echo $ECHO_N "(cached) $ECHO_C" >&6
37594 cat >conftest.$ac_ext <<_ACEOF
37597 cat confdefs.h >>conftest.$ac_ext
37598 cat >>conftest.$ac_ext <<_ACEOF
37599 /* end confdefs.h. */
37600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37602 #define $ac_func innocuous_$ac_func
37604 /* System header to define __stub macros and hopefully few prototypes,
37605 which can conflict with char $ac_func (); below.
37606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37607 <limits.h> exists even on freestanding compilers. */
37610 # include <limits.h>
37612 # include <assert.h>
37617 /* Override any gcc2 internal prototype to avoid an error. */
37622 /* We use char because int might match the return type of a gcc2
37623 builtin and then its argument prototype would still apply. */
37625 /* The GNU C library defines this for functions which it implements
37626 to always fail with ENOSYS. Some functions are actually named
37627 something starting with __ and the normal name is an alias. */
37628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37631 char (*f) () = $ac_func;
37640 return f != $ac_func;
37645 rm -f conftest.$ac_objext conftest$ac_exeext
37646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37647 (eval $ac_link) 2>conftest.er1
37649 grep -v '^ *+' conftest.er1 >conftest.err
37651 cat conftest.err >&5
37652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37653 (exit $ac_status); } &&
37654 { ac_try='test -z "$ac_cxx_werror_flag"
37655 || test ! -s conftest.err'
37656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37657 (eval $ac_try) 2>&5
37659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37660 (exit $ac_status); }; } &&
37661 { ac_try='test -s conftest$ac_exeext'
37662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37663 (eval $ac_try) 2>&5
37665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37666 (exit $ac_status); }; }; then
37667 eval "$as_ac_var=yes"
37669 echo "$as_me: failed program was:" >&5
37670 sed 's/^/| /' conftest.$ac_ext >&5
37672 eval "$as_ac_var=no"
37674 rm -f conftest.err conftest.$ac_objext \
37675 conftest$ac_exeext conftest.$ac_ext
37677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37679 if test `eval echo '${'$as_ac_var'}'` = yes; then
37680 cat >>confdefs.h <<_ACEOF
37681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37688 HAVE_SOME_SLEEP_FUNC=0
37689 if test "$USE_BEOS" = 1; then
37690 cat >>confdefs.h <<\_ACEOF
37691 #define HAVE_SLEEP 1
37694 HAVE_SOME_SLEEP_FUNC=1
37697 if test "$USE_DARWIN" = 1; then
37698 cat >>confdefs.h <<\_ACEOF
37699 #define HAVE_USLEEP 1
37702 HAVE_SOME_SLEEP_FUNC=1
37705 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37708 for ac_func in nanosleep
37710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37711 echo "$as_me:$LINENO: checking for $ac_func" >&5
37712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37713 if eval "test \"\${$as_ac_var+set}\" = set"; then
37714 echo $ECHO_N "(cached) $ECHO_C" >&6
37716 cat >conftest.$ac_ext <<_ACEOF
37719 cat confdefs.h >>conftest.$ac_ext
37720 cat >>conftest.$ac_ext <<_ACEOF
37721 /* end confdefs.h. */
37722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37724 #define $ac_func innocuous_$ac_func
37726 /* System header to define __stub macros and hopefully few prototypes,
37727 which can conflict with char $ac_func (); below.
37728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37729 <limits.h> exists even on freestanding compilers. */
37732 # include <limits.h>
37734 # include <assert.h>
37739 /* Override any gcc2 internal prototype to avoid an error. */
37744 /* We use char because int might match the return type of a gcc2
37745 builtin and then its argument prototype would still apply. */
37747 /* The GNU C library defines this for functions which it implements
37748 to always fail with ENOSYS. Some functions are actually named
37749 something starting with __ and the normal name is an alias. */
37750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37753 char (*f) () = $ac_func;
37762 return f != $ac_func;
37767 rm -f conftest.$ac_objext conftest$ac_exeext
37768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37769 (eval $ac_link) 2>conftest.er1
37771 grep -v '^ *+' conftest.er1 >conftest.err
37773 cat conftest.err >&5
37774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37775 (exit $ac_status); } &&
37776 { ac_try='test -z "$ac_cxx_werror_flag"
37777 || test ! -s conftest.err'
37778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37779 (eval $ac_try) 2>&5
37781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37782 (exit $ac_status); }; } &&
37783 { ac_try='test -s conftest$ac_exeext'
37784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37785 (eval $ac_try) 2>&5
37787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37788 (exit $ac_status); }; }; then
37789 eval "$as_ac_var=yes"
37791 echo "$as_me: failed program was:" >&5
37792 sed 's/^/| /' conftest.$ac_ext >&5
37794 eval "$as_ac_var=no"
37796 rm -f conftest.err conftest.$ac_objext \
37797 conftest$ac_exeext conftest.$ac_ext
37799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37801 if test `eval echo '${'$as_ac_var'}'` = yes; then
37802 cat >>confdefs.h <<_ACEOF
37803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37805 cat >>confdefs.h <<\_ACEOF
37806 #define HAVE_NANOSLEEP 1
37811 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37812 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37813 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37814 echo $ECHO_N "(cached) $ECHO_C" >&6
37816 ac_check_lib_save_LIBS=$LIBS
37817 LIBS="-lposix4 $LIBS"
37818 cat >conftest.$ac_ext <<_ACEOF
37821 cat confdefs.h >>conftest.$ac_ext
37822 cat >>conftest.$ac_ext <<_ACEOF
37823 /* end confdefs.h. */
37825 /* Override any gcc2 internal prototype to avoid an error. */
37829 /* We use char because int might match the return type of a gcc2
37830 builtin and then its argument prototype would still apply. */
37840 rm -f conftest.$ac_objext conftest$ac_exeext
37841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37842 (eval $ac_link) 2>conftest.er1
37844 grep -v '^ *+' conftest.er1 >conftest.err
37846 cat conftest.err >&5
37847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37848 (exit $ac_status); } &&
37849 { ac_try='test -z "$ac_cxx_werror_flag"
37850 || test ! -s conftest.err'
37851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37852 (eval $ac_try) 2>&5
37854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37855 (exit $ac_status); }; } &&
37856 { ac_try='test -s conftest$ac_exeext'
37857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37858 (eval $ac_try) 2>&5
37860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37861 (exit $ac_status); }; }; then
37862 ac_cv_lib_posix4_nanosleep=yes
37864 echo "$as_me: failed program was:" >&5
37865 sed 's/^/| /' conftest.$ac_ext >&5
37867 ac_cv_lib_posix4_nanosleep=no
37869 rm -f conftest.err conftest.$ac_objext \
37870 conftest$ac_exeext conftest.$ac_ext
37871 LIBS=$ac_check_lib_save_LIBS
37873 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37874 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37875 if test $ac_cv_lib_posix4_nanosleep = yes; then
37877 cat >>confdefs.h <<\_ACEOF
37878 #define HAVE_NANOSLEEP 1
37881 POSIX4_LINK=" -lposix4"
37886 for ac_func in usleep
37888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37889 echo "$as_me:$LINENO: checking for $ac_func" >&5
37890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37891 if eval "test \"\${$as_ac_var+set}\" = set"; then
37892 echo $ECHO_N "(cached) $ECHO_C" >&6
37894 cat >conftest.$ac_ext <<_ACEOF
37897 cat confdefs.h >>conftest.$ac_ext
37898 cat >>conftest.$ac_ext <<_ACEOF
37899 /* end confdefs.h. */
37900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37902 #define $ac_func innocuous_$ac_func
37904 /* System header to define __stub macros and hopefully few prototypes,
37905 which can conflict with char $ac_func (); below.
37906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37907 <limits.h> exists even on freestanding compilers. */
37910 # include <limits.h>
37912 # include <assert.h>
37917 /* Override any gcc2 internal prototype to avoid an error. */
37922 /* We use char because int might match the return type of a gcc2
37923 builtin and then its argument prototype would still apply. */
37925 /* The GNU C library defines this for functions which it implements
37926 to always fail with ENOSYS. Some functions are actually named
37927 something starting with __ and the normal name is an alias. */
37928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37931 char (*f) () = $ac_func;
37940 return f != $ac_func;
37945 rm -f conftest.$ac_objext conftest$ac_exeext
37946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37947 (eval $ac_link) 2>conftest.er1
37949 grep -v '^ *+' conftest.er1 >conftest.err
37951 cat conftest.err >&5
37952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37953 (exit $ac_status); } &&
37954 { ac_try='test -z "$ac_cxx_werror_flag"
37955 || test ! -s conftest.err'
37956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37957 (eval $ac_try) 2>&5
37959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37960 (exit $ac_status); }; } &&
37961 { ac_try='test -s conftest$ac_exeext'
37962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37963 (eval $ac_try) 2>&5
37965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37966 (exit $ac_status); }; }; then
37967 eval "$as_ac_var=yes"
37969 echo "$as_me: failed program was:" >&5
37970 sed 's/^/| /' conftest.$ac_ext >&5
37972 eval "$as_ac_var=no"
37974 rm -f conftest.err conftest.$ac_objext \
37975 conftest$ac_exeext conftest.$ac_ext
37977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37979 if test `eval echo '${'$as_ac_var'}'` = yes; then
37980 cat >>confdefs.h <<_ACEOF
37981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37983 cat >>confdefs.h <<\_ACEOF
37984 #define HAVE_USLEEP 1
37988 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37989 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38007 for ac_func in uname gethostname
38009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38010 echo "$as_me:$LINENO: checking for $ac_func" >&5
38011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38012 if eval "test \"\${$as_ac_var+set}\" = set"; then
38013 echo $ECHO_N "(cached) $ECHO_C" >&6
38015 cat >conftest.$ac_ext <<_ACEOF
38018 cat confdefs.h >>conftest.$ac_ext
38019 cat >>conftest.$ac_ext <<_ACEOF
38020 /* end confdefs.h. */
38021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38023 #define $ac_func innocuous_$ac_func
38025 /* System header to define __stub macros and hopefully few prototypes,
38026 which can conflict with char $ac_func (); below.
38027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38028 <limits.h> exists even on freestanding compilers. */
38031 # include <limits.h>
38033 # include <assert.h>
38038 /* Override any gcc2 internal prototype to avoid an error. */
38043 /* We use char because int might match the return type of a gcc2
38044 builtin and then its argument prototype would still apply. */
38046 /* The GNU C library defines this for functions which it implements
38047 to always fail with ENOSYS. Some functions are actually named
38048 something starting with __ and the normal name is an alias. */
38049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38052 char (*f) () = $ac_func;
38061 return f != $ac_func;
38066 rm -f conftest.$ac_objext conftest$ac_exeext
38067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38068 (eval $ac_link) 2>conftest.er1
38070 grep -v '^ *+' conftest.er1 >conftest.err
38072 cat conftest.err >&5
38073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38074 (exit $ac_status); } &&
38075 { ac_try='test -z "$ac_cxx_werror_flag"
38076 || test ! -s conftest.err'
38077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38078 (eval $ac_try) 2>&5
38080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38081 (exit $ac_status); }; } &&
38082 { ac_try='test -s conftest$ac_exeext'
38083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38084 (eval $ac_try) 2>&5
38086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38087 (exit $ac_status); }; }; then
38088 eval "$as_ac_var=yes"
38090 echo "$as_me: failed program was:" >&5
38091 sed 's/^/| /' conftest.$ac_ext >&5
38093 eval "$as_ac_var=no"
38095 rm -f conftest.err conftest.$ac_objext \
38096 conftest$ac_exeext conftest.$ac_ext
38098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38100 if test `eval echo '${'$as_ac_var'}'` = yes; then
38101 cat >>confdefs.h <<_ACEOF
38102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38110 for wx_func in strtok_r
38112 echo "$as_me:$LINENO: checking for $wx_func" >&5
38113 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38114 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38115 echo $ECHO_N "(cached) $ECHO_C" >&6
38118 cat >conftest.$ac_ext <<_ACEOF
38122 cat confdefs.h >>conftest.$ac_ext
38123 cat >>conftest.$ac_ext <<_ACEOF
38124 /* end confdefs.h. */
38127 $ac_includes_default
38143 rm -f conftest.$ac_objext conftest$ac_exeext
38144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38145 (eval $ac_link) 2>conftest.er1
38147 grep -v '^ *+' conftest.er1 >conftest.err
38149 cat conftest.err >&5
38150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38151 (exit $ac_status); } &&
38152 { ac_try='test -z "$ac_cxx_werror_flag"
38153 || test ! -s conftest.err'
38154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38155 (eval $ac_try) 2>&5
38157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38158 (exit $ac_status); }; } &&
38159 { ac_try='test -s conftest$ac_exeext'
38160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38161 (eval $ac_try) 2>&5
38163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38164 (exit $ac_status); }; }; then
38165 eval wx_cv_func_$wx_func=yes
38167 echo "$as_me: failed program was:" >&5
38168 sed 's/^/| /' conftest.$ac_ext >&5
38170 eval wx_cv_func_$wx_func=no
38172 rm -f conftest.err conftest.$ac_objext \
38173 conftest$ac_exeext conftest.$ac_ext
38176 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38177 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38179 if eval test \$wx_cv_func_$wx_func = yes
38181 cat >>confdefs.h <<_ACEOF
38182 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38195 for ac_func in inet_addr
38197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38198 echo "$as_me:$LINENO: checking for $ac_func" >&5
38199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38200 if eval "test \"\${$as_ac_var+set}\" = set"; then
38201 echo $ECHO_N "(cached) $ECHO_C" >&6
38203 cat >conftest.$ac_ext <<_ACEOF
38206 cat confdefs.h >>conftest.$ac_ext
38207 cat >>conftest.$ac_ext <<_ACEOF
38208 /* end confdefs.h. */
38209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38211 #define $ac_func innocuous_$ac_func
38213 /* System header to define __stub macros and hopefully few prototypes,
38214 which can conflict with char $ac_func (); below.
38215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38216 <limits.h> exists even on freestanding compilers. */
38219 # include <limits.h>
38221 # include <assert.h>
38226 /* Override any gcc2 internal prototype to avoid an error. */
38231 /* We use char because int might match the return type of a gcc2
38232 builtin and then its argument prototype would still apply. */
38234 /* The GNU C library defines this for functions which it implements
38235 to always fail with ENOSYS. Some functions are actually named
38236 something starting with __ and the normal name is an alias. */
38237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38240 char (*f) () = $ac_func;
38249 return f != $ac_func;
38254 rm -f conftest.$ac_objext conftest$ac_exeext
38255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38256 (eval $ac_link) 2>conftest.er1
38258 grep -v '^ *+' conftest.er1 >conftest.err
38260 cat conftest.err >&5
38261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38262 (exit $ac_status); } &&
38263 { ac_try='test -z "$ac_cxx_werror_flag"
38264 || test ! -s conftest.err'
38265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38266 (eval $ac_try) 2>&5
38268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38269 (exit $ac_status); }; } &&
38270 { ac_try='test -s conftest$ac_exeext'
38271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38272 (eval $ac_try) 2>&5
38274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38275 (exit $ac_status); }; }; then
38276 eval "$as_ac_var=yes"
38278 echo "$as_me: failed program was:" >&5
38279 sed 's/^/| /' conftest.$ac_ext >&5
38281 eval "$as_ac_var=no"
38283 rm -f conftest.err conftest.$ac_objext \
38284 conftest$ac_exeext conftest.$ac_ext
38286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38288 if test `eval echo '${'$as_ac_var'}'` = yes; then
38289 cat >>confdefs.h <<_ACEOF
38290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38292 cat >>confdefs.h <<\_ACEOF
38293 #define HAVE_INET_ADDR 1
38298 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38299 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38300 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38301 echo $ECHO_N "(cached) $ECHO_C" >&6
38303 ac_check_lib_save_LIBS=$LIBS
38305 cat >conftest.$ac_ext <<_ACEOF
38308 cat confdefs.h >>conftest.$ac_ext
38309 cat >>conftest.$ac_ext <<_ACEOF
38310 /* end confdefs.h. */
38312 /* Override any gcc2 internal prototype to avoid an error. */
38316 /* We use char because int might match the return type of a gcc2
38317 builtin and then its argument prototype would still apply. */
38327 rm -f conftest.$ac_objext conftest$ac_exeext
38328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38329 (eval $ac_link) 2>conftest.er1
38331 grep -v '^ *+' conftest.er1 >conftest.err
38333 cat conftest.err >&5
38334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38335 (exit $ac_status); } &&
38336 { ac_try='test -z "$ac_cxx_werror_flag"
38337 || test ! -s conftest.err'
38338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38339 (eval $ac_try) 2>&5
38341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38342 (exit $ac_status); }; } &&
38343 { ac_try='test -s conftest$ac_exeext'
38344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38345 (eval $ac_try) 2>&5
38347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38348 (exit $ac_status); }; }; then
38349 ac_cv_lib_nsl_inet_addr=yes
38351 echo "$as_me: failed program was:" >&5
38352 sed 's/^/| /' conftest.$ac_ext >&5
38354 ac_cv_lib_nsl_inet_addr=no
38356 rm -f conftest.err conftest.$ac_objext \
38357 conftest$ac_exeext conftest.$ac_ext
38358 LIBS=$ac_check_lib_save_LIBS
38360 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38361 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38362 if test $ac_cv_lib_nsl_inet_addr = yes; then
38366 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38367 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38368 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38369 echo $ECHO_N "(cached) $ECHO_C" >&6
38371 ac_check_lib_save_LIBS=$LIBS
38372 LIBS="-lresolv $LIBS"
38373 cat >conftest.$ac_ext <<_ACEOF
38376 cat confdefs.h >>conftest.$ac_ext
38377 cat >>conftest.$ac_ext <<_ACEOF
38378 /* end confdefs.h. */
38380 /* Override any gcc2 internal prototype to avoid an error. */
38384 /* We use char because int might match the return type of a gcc2
38385 builtin and then its argument prototype would still apply. */
38395 rm -f conftest.$ac_objext conftest$ac_exeext
38396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38397 (eval $ac_link) 2>conftest.er1
38399 grep -v '^ *+' conftest.er1 >conftest.err
38401 cat conftest.err >&5
38402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38403 (exit $ac_status); } &&
38404 { ac_try='test -z "$ac_cxx_werror_flag"
38405 || test ! -s conftest.err'
38406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38407 (eval $ac_try) 2>&5
38409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38410 (exit $ac_status); }; } &&
38411 { ac_try='test -s conftest$ac_exeext'
38412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38413 (eval $ac_try) 2>&5
38415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38416 (exit $ac_status); }; }; then
38417 ac_cv_lib_resolv_inet_addr=yes
38419 echo "$as_me: failed program was:" >&5
38420 sed 's/^/| /' conftest.$ac_ext >&5
38422 ac_cv_lib_resolv_inet_addr=no
38424 rm -f conftest.err conftest.$ac_objext \
38425 conftest$ac_exeext conftest.$ac_ext
38426 LIBS=$ac_check_lib_save_LIBS
38428 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38429 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38430 if test $ac_cv_lib_resolv_inet_addr = yes; then
38434 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38435 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38436 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38437 echo $ECHO_N "(cached) $ECHO_C" >&6
38439 ac_check_lib_save_LIBS=$LIBS
38440 LIBS="-lsocket $LIBS"
38441 cat >conftest.$ac_ext <<_ACEOF
38444 cat confdefs.h >>conftest.$ac_ext
38445 cat >>conftest.$ac_ext <<_ACEOF
38446 /* end confdefs.h. */
38448 /* Override any gcc2 internal prototype to avoid an error. */
38452 /* We use char because int might match the return type of a gcc2
38453 builtin and then its argument prototype would still apply. */
38463 rm -f conftest.$ac_objext conftest$ac_exeext
38464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38465 (eval $ac_link) 2>conftest.er1
38467 grep -v '^ *+' conftest.er1 >conftest.err
38469 cat conftest.err >&5
38470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38471 (exit $ac_status); } &&
38472 { ac_try='test -z "$ac_cxx_werror_flag"
38473 || test ! -s conftest.err'
38474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38475 (eval $ac_try) 2>&5
38477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38478 (exit $ac_status); }; } &&
38479 { ac_try='test -s conftest$ac_exeext'
38480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38481 (eval $ac_try) 2>&5
38483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38484 (exit $ac_status); }; }; then
38485 ac_cv_lib_socket_inet_addr=yes
38487 echo "$as_me: failed program was:" >&5
38488 sed 's/^/| /' conftest.$ac_ext >&5
38490 ac_cv_lib_socket_inet_addr=no
38492 rm -f conftest.err conftest.$ac_objext \
38493 conftest$ac_exeext conftest.$ac_ext
38494 LIBS=$ac_check_lib_save_LIBS
38496 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38497 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38498 if test $ac_cv_lib_socket_inet_addr = yes; then
38518 for ac_func in inet_aton
38520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38521 echo "$as_me:$LINENO: checking for $ac_func" >&5
38522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38523 if eval "test \"\${$as_ac_var+set}\" = set"; then
38524 echo $ECHO_N "(cached) $ECHO_C" >&6
38526 cat >conftest.$ac_ext <<_ACEOF
38529 cat confdefs.h >>conftest.$ac_ext
38530 cat >>conftest.$ac_ext <<_ACEOF
38531 /* end confdefs.h. */
38532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38534 #define $ac_func innocuous_$ac_func
38536 /* System header to define __stub macros and hopefully few prototypes,
38537 which can conflict with char $ac_func (); below.
38538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38539 <limits.h> exists even on freestanding compilers. */
38542 # include <limits.h>
38544 # include <assert.h>
38549 /* Override any gcc2 internal prototype to avoid an error. */
38554 /* We use char because int might match the return type of a gcc2
38555 builtin and then its argument prototype would still apply. */
38557 /* The GNU C library defines this for functions which it implements
38558 to always fail with ENOSYS. Some functions are actually named
38559 something starting with __ and the normal name is an alias. */
38560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38563 char (*f) () = $ac_func;
38572 return f != $ac_func;
38577 rm -f conftest.$ac_objext conftest$ac_exeext
38578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38579 (eval $ac_link) 2>conftest.er1
38581 grep -v '^ *+' conftest.er1 >conftest.err
38583 cat conftest.err >&5
38584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38585 (exit $ac_status); } &&
38586 { ac_try='test -z "$ac_cxx_werror_flag"
38587 || test ! -s conftest.err'
38588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38589 (eval $ac_try) 2>&5
38591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38592 (exit $ac_status); }; } &&
38593 { ac_try='test -s conftest$ac_exeext'
38594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38595 (eval $ac_try) 2>&5
38597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38598 (exit $ac_status); }; }; then
38599 eval "$as_ac_var=yes"
38601 echo "$as_me: failed program was:" >&5
38602 sed 's/^/| /' conftest.$ac_ext >&5
38604 eval "$as_ac_var=no"
38606 rm -f conftest.err conftest.$ac_objext \
38607 conftest$ac_exeext conftest.$ac_ext
38609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38611 if test `eval echo '${'$as_ac_var'}'` = yes; then
38612 cat >>confdefs.h <<_ACEOF
38613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38615 cat >>confdefs.h <<\_ACEOF
38616 #define HAVE_INET_ATON 1
38621 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38622 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38623 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38624 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38625 echo $ECHO_N "(cached) $ECHO_C" >&6
38627 ac_check_lib_save_LIBS=$LIBS
38628 LIBS="-l$INET_LINK $LIBS"
38629 cat >conftest.$ac_ext <<_ACEOF
38632 cat confdefs.h >>conftest.$ac_ext
38633 cat >>conftest.$ac_ext <<_ACEOF
38634 /* end confdefs.h. */
38636 /* Override any gcc2 internal prototype to avoid an error. */
38640 /* We use char because int might match the return type of a gcc2
38641 builtin and then its argument prototype would still apply. */
38651 rm -f conftest.$ac_objext conftest$ac_exeext
38652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38653 (eval $ac_link) 2>conftest.er1
38655 grep -v '^ *+' conftest.er1 >conftest.err
38657 cat conftest.err >&5
38658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38659 (exit $ac_status); } &&
38660 { ac_try='test -z "$ac_cxx_werror_flag"
38661 || test ! -s conftest.err'
38662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38663 (eval $ac_try) 2>&5
38665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38666 (exit $ac_status); }; } &&
38667 { ac_try='test -s conftest$ac_exeext'
38668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38669 (eval $ac_try) 2>&5
38671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38672 (exit $ac_status); }; }; then
38673 eval "$as_ac_Lib=yes"
38675 echo "$as_me: failed program was:" >&5
38676 sed 's/^/| /' conftest.$ac_ext >&5
38678 eval "$as_ac_Lib=no"
38680 rm -f conftest.err conftest.$ac_objext \
38681 conftest$ac_exeext conftest.$ac_ext
38682 LIBS=$ac_check_lib_save_LIBS
38684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38685 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38686 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38687 cat >>confdefs.h <<\_ACEOF
38688 #define HAVE_INET_ATON 1
38698 if test "x$INET_LINK" != "x"; then
38699 cat >>confdefs.h <<\_ACEOF
38700 #define HAVE_INET_ADDR 1
38703 INET_LINK=" -l$INET_LINK"
38711 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38712 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38713 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38714 echo $ECHO_N "(cached) $ECHO_C" >&6
38716 ac_check_lib_save_LIBS=$LIBS
38718 cat >conftest.$ac_ext <<_ACEOF
38721 cat confdefs.h >>conftest.$ac_ext
38722 cat >>conftest.$ac_ext <<_ACEOF
38723 /* end confdefs.h. */
38725 /* Override any gcc2 internal prototype to avoid an error. */
38729 /* We use char because int might match the return type of a gcc2
38730 builtin and then its argument prototype would still apply. */
38740 rm -f conftest.$ac_objext conftest$ac_exeext
38741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38742 (eval $ac_link) 2>conftest.er1
38744 grep -v '^ *+' conftest.er1 >conftest.err
38746 cat conftest.err >&5
38747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38748 (exit $ac_status); } &&
38749 { ac_try='test -z "$ac_cxx_werror_flag"
38750 || test ! -s conftest.err'
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); }; } &&
38756 { ac_try='test -s conftest$ac_exeext'
38757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38758 (eval $ac_try) 2>&5
38760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38761 (exit $ac_status); }; }; then
38762 ac_cv_lib_esd_esd_close=yes
38764 echo "$as_me: failed program was:" >&5
38765 sed 's/^/| /' conftest.$ac_ext >&5
38767 ac_cv_lib_esd_esd_close=no
38769 rm -f conftest.err conftest.$ac_objext \
38770 conftest$ac_exeext conftest.$ac_ext
38771 LIBS=$ac_check_lib_save_LIBS
38773 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38774 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38775 if test $ac_cv_lib_esd_esd_close = yes; then
38778 for ac_header in esd.h
38780 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38782 echo "$as_me:$LINENO: checking for $ac_header" >&5
38783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38785 echo $ECHO_N "(cached) $ECHO_C" >&6
38787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38788 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38790 # Is the header compilable?
38791 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38792 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38793 cat >conftest.$ac_ext <<_ACEOF
38796 cat confdefs.h >>conftest.$ac_ext
38797 cat >>conftest.$ac_ext <<_ACEOF
38798 /* end confdefs.h. */
38799 $ac_includes_default
38800 #include <$ac_header>
38802 rm -f conftest.$ac_objext
38803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38804 (eval $ac_compile) 2>conftest.er1
38806 grep -v '^ *+' conftest.er1 >conftest.err
38808 cat conftest.err >&5
38809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38810 (exit $ac_status); } &&
38811 { ac_try='test -z "$ac_cxx_werror_flag"
38812 || test ! -s conftest.err'
38813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38814 (eval $ac_try) 2>&5
38816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38817 (exit $ac_status); }; } &&
38818 { ac_try='test -s conftest.$ac_objext'
38819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38820 (eval $ac_try) 2>&5
38822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38823 (exit $ac_status); }; }; then
38824 ac_header_compiler=yes
38826 echo "$as_me: failed program was:" >&5
38827 sed 's/^/| /' conftest.$ac_ext >&5
38829 ac_header_compiler=no
38831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38832 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38833 echo "${ECHO_T}$ac_header_compiler" >&6
38835 # Is the header present?
38836 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38837 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38838 cat >conftest.$ac_ext <<_ACEOF
38841 cat confdefs.h >>conftest.$ac_ext
38842 cat >>conftest.$ac_ext <<_ACEOF
38843 /* end confdefs.h. */
38844 #include <$ac_header>
38846 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38847 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38849 grep -v '^ *+' conftest.er1 >conftest.err
38851 cat conftest.err >&5
38852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38853 (exit $ac_status); } >/dev/null; then
38854 if test -s conftest.err; then
38855 ac_cpp_err=$ac_cxx_preproc_warn_flag
38856 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38863 if test -z "$ac_cpp_err"; then
38864 ac_header_preproc=yes
38866 echo "$as_me: failed program was:" >&5
38867 sed 's/^/| /' conftest.$ac_ext >&5
38869 ac_header_preproc=no
38871 rm -f conftest.err conftest.$ac_ext
38872 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38873 echo "${ECHO_T}$ac_header_preproc" >&6
38875 # So? What about this header?
38876 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38878 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38879 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38881 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38882 ac_header_preproc=yes
38885 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38886 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38887 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38888 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38889 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38890 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38891 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38892 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38893 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38894 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38895 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38896 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38899 ## ----------------------------------------- ##
38900 ## Report this to wx-dev@lists.wxwidgets.org ##
38901 ## ----------------------------------------- ##
38904 sed "s/^/$as_me: WARNING: /" >&2
38907 echo "$as_me:$LINENO: checking for $ac_header" >&5
38908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38910 echo $ECHO_N "(cached) $ECHO_C" >&6
38912 eval "$as_ac_Header=\$ac_header_preproc"
38914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38915 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38918 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38919 cat >>confdefs.h <<_ACEOF
38920 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38923 EXTRALIBS_ESD="-lesd"
38934 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38935 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38936 cat >conftest.$ac_ext <<_ACEOF
38939 cat confdefs.h >>conftest.$ac_ext
38940 cat >>conftest.$ac_ext <<_ACEOF
38941 /* end confdefs.h. */
38943 #include <linux/cdrom.h>
38946 #include <sys/cdio.h>
38952 struct cdrom_tocentry entry, old_entry;
38957 rm -f conftest.$ac_objext
38958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38959 (eval $ac_compile) 2>conftest.er1
38961 grep -v '^ *+' conftest.er1 >conftest.err
38963 cat conftest.err >&5
38964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38965 (exit $ac_status); } &&
38966 { ac_try='test -z "$ac_cxx_werror_flag"
38967 || test ! -s conftest.err'
38968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38969 (eval $ac_try) 2>&5
38971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38972 (exit $ac_status); }; } &&
38973 { ac_try='test -s conftest.$ac_objext'
38974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38975 (eval $ac_try) 2>&5
38977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38978 (exit $ac_status); }; }; then
38979 echo "$as_me:$LINENO: result: yes" >&5
38980 echo "${ECHO_T}yes" >&6
38981 cat >>confdefs.h <<\_ACEOF
38982 #define HAVE_KNOWN_CDROM_INTERFACE 1
38986 echo "$as_me: failed program was:" >&5
38987 sed 's/^/| /' conftest.$ac_ext >&5
38989 echo "$as_me:$LINENO: result: no" >&5
38990 echo "${ECHO_T}no" >&6
38992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38995 cat >confcache <<\_ACEOF
38996 # This file is a shell script that caches the results of configure
38997 # tests run on this system so they can be shared between configure
38998 # scripts and configure runs, see configure's option --config-cache.
38999 # It is not useful on other systems. If it contains results you don't
39000 # want to keep, you may remove or edit it.
39002 # config.status only pays attention to the cache file if you give it
39003 # the --recheck option to rerun configure.
39005 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39006 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39007 # following values.
39011 # The following way of writing the cache mishandles newlines in values,
39012 # but we know of no workaround that is simple, portable, and efficient.
39013 # So, don't put newlines in cache variables' values.
39014 # Ultrix sh set writes to stderr and can't be redirected directly,
39015 # and sets the high bit in the cache file unless we assign to the vars.
39018 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39020 # `set' does not quote correctly, so add quotes (double-quote
39021 # substitution turns \\\\ into \\, and sed turns \\ into \).
39024 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39027 # `set' quotes correctly as required by POSIX, so do not add quotes.
39029 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39036 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39038 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39040 if diff $cache_file confcache >/dev/null 2>&1; then :; else
39041 if test -w $cache_file; then
39042 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39043 cat confcache >$cache_file
39045 echo "not updating unwritable cache $cache_file"
39051 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39057 if test "$wxUSE_THREADS" = "yes" ; then
39058 if test "$USE_BEOS" = 1; then
39059 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39060 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39065 if test "$wxUSE_THREADS" = "yes" ; then
39068 THREAD_OPTS="-pthread"
39070 *-*-solaris2* | *-*-sunos4* )
39071 if test "x$GCC" = "xyes"; then
39072 THREAD_OPTS="-pthreads $THREAD_OPTS"
39074 THREAD_OPTS="-mt $THREAD_OPTS"
39078 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39080 *-*-darwin* | *-*-cygwin* )
39084 THREAD_OPTS="pthreads"
39087 if test "x$GCC" = "xyes"; then
39088 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39096 if test "x$GCC" = "xyes"; then
39102 if test "x$GCC" != "xyes"; then
39103 THREAD_OPTS="-Ethread"
39108 THREAD_OPTS="$THREAD_OPTS pthread none"
39111 for flag in $THREAD_OPTS; do
39114 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39115 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39119 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39120 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39121 THREADS_CXXFLAGS="$flag"
39125 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39126 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39127 THREADS_LINK="-l$flag"
39132 save_CXXFLAGS="$CXXFLAGS"
39133 LIBS="$THREADS_LINK $LIBS"
39134 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
39136 cat >conftest.$ac_ext <<_ACEOF
39139 cat confdefs.h >>conftest.$ac_ext
39140 cat >>conftest.$ac_ext <<_ACEOF
39141 /* end confdefs.h. */
39142 #include <pthread.h>
39146 pthread_create(0,0,0,0);
39151 rm -f conftest.$ac_objext conftest$ac_exeext
39152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39153 (eval $ac_link) 2>conftest.er1
39155 grep -v '^ *+' conftest.er1 >conftest.err
39157 cat conftest.err >&5
39158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39159 (exit $ac_status); } &&
39160 { ac_try='test -z "$ac_cxx_werror_flag"
39161 || test ! -s conftest.err'
39162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39163 (eval $ac_try) 2>&5
39165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39166 (exit $ac_status); }; } &&
39167 { ac_try='test -s conftest$ac_exeext'
39168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39169 (eval $ac_try) 2>&5
39171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39172 (exit $ac_status); }; }; then
39175 echo "$as_me: failed program was:" >&5
39176 sed 's/^/| /' conftest.$ac_ext >&5
39179 rm -f conftest.err conftest.$ac_objext \
39180 conftest$ac_exeext conftest.$ac_ext
39183 CXXFLAGS="$save_CXXFLAGS"
39185 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39186 echo "${ECHO_T}$THREADS_OK" >&6
39187 if test "x$THREADS_OK" = "xyes"; then
39192 THREADS_CXXFLAGS=""
39195 if test "x$THREADS_OK" != "xyes"; then
39197 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39198 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39200 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
39201 LIBS="$THREADS_LINK $LIBS"
39203 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39204 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39208 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39209 flag="-D_THREAD_SAFE"
39212 flag="-D_THREAD_SAFE"
39215 flag="-D_REENTRANT"
39216 if test "x$GCC" != "xyes"; then
39217 flag="$flag -D_RWSTD_MULTI_THREAD"
39220 *solaris* | alpha*-osf*)
39221 flag="-D_REENTRANT"
39224 echo "$as_me:$LINENO: result: ${flag}" >&5
39225 echo "${ECHO_T}${flag}" >&6
39226 if test "x$flag" != xno; then
39227 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
39230 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
39234 if test "$wxUSE_THREADS" = "yes" ; then
39236 for ac_func in thr_setconcurrency
39238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39239 echo "$as_me:$LINENO: checking for $ac_func" >&5
39240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39241 if eval "test \"\${$as_ac_var+set}\" = set"; then
39242 echo $ECHO_N "(cached) $ECHO_C" >&6
39244 cat >conftest.$ac_ext <<_ACEOF
39247 cat confdefs.h >>conftest.$ac_ext
39248 cat >>conftest.$ac_ext <<_ACEOF
39249 /* end confdefs.h. */
39250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39252 #define $ac_func innocuous_$ac_func
39254 /* System header to define __stub macros and hopefully few prototypes,
39255 which can conflict with char $ac_func (); below.
39256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39257 <limits.h> exists even on freestanding compilers. */
39260 # include <limits.h>
39262 # include <assert.h>
39267 /* Override any gcc2 internal prototype to avoid an error. */
39272 /* We use char because int might match the return type of a gcc2
39273 builtin and then its argument prototype would still apply. */
39275 /* The GNU C library defines this for functions which it implements
39276 to always fail with ENOSYS. Some functions are actually named
39277 something starting with __ and the normal name is an alias. */
39278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39281 char (*f) () = $ac_func;
39290 return f != $ac_func;
39295 rm -f conftest.$ac_objext conftest$ac_exeext
39296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39297 (eval $ac_link) 2>conftest.er1
39299 grep -v '^ *+' conftest.er1 >conftest.err
39301 cat conftest.err >&5
39302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39303 (exit $ac_status); } &&
39304 { ac_try='test -z "$ac_cxx_werror_flag"
39305 || test ! -s conftest.err'
39306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39307 (eval $ac_try) 2>&5
39309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39310 (exit $ac_status); }; } &&
39311 { ac_try='test -s conftest$ac_exeext'
39312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39313 (eval $ac_try) 2>&5
39315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39316 (exit $ac_status); }; }; then
39317 eval "$as_ac_var=yes"
39319 echo "$as_me: failed program was:" >&5
39320 sed 's/^/| /' conftest.$ac_ext >&5
39322 eval "$as_ac_var=no"
39324 rm -f conftest.err conftest.$ac_objext \
39325 conftest$ac_exeext conftest.$ac_ext
39327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39329 if test `eval echo '${'$as_ac_var'}'` = yes; then
39330 cat >>confdefs.h <<_ACEOF
39331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39338 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39339 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39340 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39341 echo $ECHO_N "(cached) $ECHO_C" >&6
39344 cat >conftest.$ac_ext <<_ACEOF
39347 cat confdefs.h >>conftest.$ac_ext
39348 cat >>conftest.$ac_ext <<_ACEOF
39349 /* end confdefs.h. */
39350 #include <pthread.h>
39351 void ThreadCleanupFunc(void *p);
39358 pthread_cleanup_push(ThreadCleanupFunc, p);
39359 pthread_cleanup_pop(0);
39365 rm -f conftest.$ac_objext
39366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39367 (eval $ac_compile) 2>conftest.er1
39369 grep -v '^ *+' conftest.er1 >conftest.err
39371 cat conftest.err >&5
39372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39373 (exit $ac_status); } &&
39374 { ac_try='test -z "$ac_cxx_werror_flag"
39375 || test ! -s conftest.err'
39376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39377 (eval $ac_try) 2>&5
39379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39380 (exit $ac_status); }; } &&
39381 { ac_try='test -s conftest.$ac_objext'
39382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39383 (eval $ac_try) 2>&5
39385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39386 (exit $ac_status); }; }; then
39388 wx_cv_func_pthread_cleanup=yes
39391 echo "$as_me: failed program was:" >&5
39392 sed 's/^/| /' conftest.$ac_ext >&5
39395 wx_cv_func_pthread_cleanup=no
39399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39402 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39403 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39404 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39405 cat >>confdefs.h <<\_ACEOF
39406 #define wxHAVE_PTHREAD_CLEANUP 1
39412 for ac_header in sched.h
39414 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39415 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39416 echo "$as_me:$LINENO: checking for $ac_header" >&5
39417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39419 echo $ECHO_N "(cached) $ECHO_C" >&6
39421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39424 # Is the header compilable?
39425 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39426 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39427 cat >conftest.$ac_ext <<_ACEOF
39430 cat confdefs.h >>conftest.$ac_ext
39431 cat >>conftest.$ac_ext <<_ACEOF
39432 /* end confdefs.h. */
39433 $ac_includes_default
39434 #include <$ac_header>
39436 rm -f conftest.$ac_objext
39437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39438 (eval $ac_compile) 2>conftest.er1
39440 grep -v '^ *+' conftest.er1 >conftest.err
39442 cat conftest.err >&5
39443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39444 (exit $ac_status); } &&
39445 { ac_try='test -z "$ac_cxx_werror_flag"
39446 || test ! -s conftest.err'
39447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39448 (eval $ac_try) 2>&5
39450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39451 (exit $ac_status); }; } &&
39452 { ac_try='test -s conftest.$ac_objext'
39453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39454 (eval $ac_try) 2>&5
39456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39457 (exit $ac_status); }; }; then
39458 ac_header_compiler=yes
39460 echo "$as_me: failed program was:" >&5
39461 sed 's/^/| /' conftest.$ac_ext >&5
39463 ac_header_compiler=no
39465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39466 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39467 echo "${ECHO_T}$ac_header_compiler" >&6
39469 # Is the header present?
39470 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39471 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39472 cat >conftest.$ac_ext <<_ACEOF
39475 cat confdefs.h >>conftest.$ac_ext
39476 cat >>conftest.$ac_ext <<_ACEOF
39477 /* end confdefs.h. */
39478 #include <$ac_header>
39480 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39481 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39483 grep -v '^ *+' conftest.er1 >conftest.err
39485 cat conftest.err >&5
39486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39487 (exit $ac_status); } >/dev/null; then
39488 if test -s conftest.err; then
39489 ac_cpp_err=$ac_cxx_preproc_warn_flag
39490 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39497 if test -z "$ac_cpp_err"; then
39498 ac_header_preproc=yes
39500 echo "$as_me: failed program was:" >&5
39501 sed 's/^/| /' conftest.$ac_ext >&5
39503 ac_header_preproc=no
39505 rm -f conftest.err conftest.$ac_ext
39506 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39507 echo "${ECHO_T}$ac_header_preproc" >&6
39509 # So? What about this header?
39510 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39512 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39513 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39514 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39515 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39516 ac_header_preproc=yes
39519 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39520 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39521 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39522 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39523 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39524 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39525 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39526 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39527 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39528 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39529 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39530 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39533 ## ----------------------------------------- ##
39534 ## Report this to wx-dev@lists.wxwidgets.org ##
39535 ## ----------------------------------------- ##
39538 sed "s/^/$as_me: WARNING: /" >&2
39541 echo "$as_me:$LINENO: checking for $ac_header" >&5
39542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39544 echo $ECHO_N "(cached) $ECHO_C" >&6
39546 eval "$as_ac_Header=\$ac_header_preproc"
39548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39549 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39552 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39553 cat >>confdefs.h <<_ACEOF
39554 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39561 if test "$ac_cv_header_sched_h" = "yes"; then
39562 echo "$as_me:$LINENO: checking for sched_yield" >&5
39563 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39564 if test "${ac_cv_func_sched_yield+set}" = set; then
39565 echo $ECHO_N "(cached) $ECHO_C" >&6
39567 cat >conftest.$ac_ext <<_ACEOF
39570 cat confdefs.h >>conftest.$ac_ext
39571 cat >>conftest.$ac_ext <<_ACEOF
39572 /* end confdefs.h. */
39573 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39575 #define sched_yield innocuous_sched_yield
39577 /* System header to define __stub macros and hopefully few prototypes,
39578 which can conflict with char sched_yield (); below.
39579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39580 <limits.h> exists even on freestanding compilers. */
39583 # include <limits.h>
39585 # include <assert.h>
39590 /* Override any gcc2 internal prototype to avoid an error. */
39595 /* We use char because int might match the return type of a gcc2
39596 builtin and then its argument prototype would still apply. */
39597 char sched_yield ();
39598 /* The GNU C library defines this for functions which it implements
39599 to always fail with ENOSYS. Some functions are actually named
39600 something starting with __ and the normal name is an alias. */
39601 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39604 char (*f) () = sched_yield;
39613 return f != sched_yield;
39618 rm -f conftest.$ac_objext conftest$ac_exeext
39619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39620 (eval $ac_link) 2>conftest.er1
39622 grep -v '^ *+' conftest.er1 >conftest.err
39624 cat conftest.err >&5
39625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39626 (exit $ac_status); } &&
39627 { ac_try='test -z "$ac_cxx_werror_flag"
39628 || test ! -s conftest.err'
39629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39630 (eval $ac_try) 2>&5
39632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39633 (exit $ac_status); }; } &&
39634 { ac_try='test -s conftest$ac_exeext'
39635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39636 (eval $ac_try) 2>&5
39638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39639 (exit $ac_status); }; }; then
39640 ac_cv_func_sched_yield=yes
39642 echo "$as_me: failed program was:" >&5
39643 sed 's/^/| /' conftest.$ac_ext >&5
39645 ac_cv_func_sched_yield=no
39647 rm -f conftest.err conftest.$ac_objext \
39648 conftest$ac_exeext conftest.$ac_ext
39650 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39651 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39652 if test $ac_cv_func_sched_yield = yes; then
39653 cat >>confdefs.h <<\_ACEOF
39654 #define HAVE_SCHED_YIELD 1
39659 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39660 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39661 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39662 echo $ECHO_N "(cached) $ECHO_C" >&6
39664 ac_check_lib_save_LIBS=$LIBS
39665 LIBS="-lposix4 $LIBS"
39666 cat >conftest.$ac_ext <<_ACEOF
39669 cat confdefs.h >>conftest.$ac_ext
39670 cat >>conftest.$ac_ext <<_ACEOF
39671 /* end confdefs.h. */
39673 /* Override any gcc2 internal prototype to avoid an error. */
39677 /* We use char because int might match the return type of a gcc2
39678 builtin and then its argument prototype would still apply. */
39679 char sched_yield ();
39688 rm -f conftest.$ac_objext conftest$ac_exeext
39689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39690 (eval $ac_link) 2>conftest.er1
39692 grep -v '^ *+' conftest.er1 >conftest.err
39694 cat conftest.err >&5
39695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39696 (exit $ac_status); } &&
39697 { ac_try='test -z "$ac_cxx_werror_flag"
39698 || test ! -s conftest.err'
39699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39700 (eval $ac_try) 2>&5
39702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39703 (exit $ac_status); }; } &&
39704 { ac_try='test -s conftest$ac_exeext'
39705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39706 (eval $ac_try) 2>&5
39708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39709 (exit $ac_status); }; }; then
39710 ac_cv_lib_posix4_sched_yield=yes
39712 echo "$as_me: failed program was:" >&5
39713 sed 's/^/| /' conftest.$ac_ext >&5
39715 ac_cv_lib_posix4_sched_yield=no
39717 rm -f conftest.err conftest.$ac_objext \
39718 conftest$ac_exeext conftest.$ac_ext
39719 LIBS=$ac_check_lib_save_LIBS
39721 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39722 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39723 if test $ac_cv_lib_posix4_sched_yield = yes; then
39724 cat >>confdefs.h <<\_ACEOF
39725 #define HAVE_SCHED_YIELD 1
39727 POSIX4_LINK=" -lposix4"
39729 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39730 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39741 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39742 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39743 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39744 echo $ECHO_N "(cached) $ECHO_C" >&6
39746 cat >conftest.$ac_ext <<_ACEOF
39749 cat confdefs.h >>conftest.$ac_ext
39750 cat >>conftest.$ac_ext <<_ACEOF
39751 /* end confdefs.h. */
39752 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39754 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39756 /* System header to define __stub macros and hopefully few prototypes,
39757 which can conflict with char pthread_attr_getschedpolicy (); below.
39758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39759 <limits.h> exists even on freestanding compilers. */
39762 # include <limits.h>
39764 # include <assert.h>
39767 #undef pthread_attr_getschedpolicy
39769 /* Override any gcc2 internal prototype to avoid an error. */
39774 /* We use char because int might match the return type of a gcc2
39775 builtin and then its argument prototype would still apply. */
39776 char pthread_attr_getschedpolicy ();
39777 /* The GNU C library defines this for functions which it implements
39778 to always fail with ENOSYS. Some functions are actually named
39779 something starting with __ and the normal name is an alias. */
39780 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39783 char (*f) () = pthread_attr_getschedpolicy;
39792 return f != pthread_attr_getschedpolicy;
39797 rm -f conftest.$ac_objext conftest$ac_exeext
39798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39799 (eval $ac_link) 2>conftest.er1
39801 grep -v '^ *+' conftest.er1 >conftest.err
39803 cat conftest.err >&5
39804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39805 (exit $ac_status); } &&
39806 { ac_try='test -z "$ac_cxx_werror_flag"
39807 || test ! -s conftest.err'
39808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39809 (eval $ac_try) 2>&5
39811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39812 (exit $ac_status); }; } &&
39813 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
39819 ac_cv_func_pthread_attr_getschedpolicy=yes
39821 echo "$as_me: failed program was:" >&5
39822 sed 's/^/| /' conftest.$ac_ext >&5
39824 ac_cv_func_pthread_attr_getschedpolicy=no
39826 rm -f conftest.err conftest.$ac_objext \
39827 conftest$ac_exeext conftest.$ac_ext
39829 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39830 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39831 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39832 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39833 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39834 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39835 echo $ECHO_N "(cached) $ECHO_C" >&6
39837 cat >conftest.$ac_ext <<_ACEOF
39840 cat confdefs.h >>conftest.$ac_ext
39841 cat >>conftest.$ac_ext <<_ACEOF
39842 /* end confdefs.h. */
39843 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39845 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39847 /* System header to define __stub macros and hopefully few prototypes,
39848 which can conflict with char pthread_attr_setschedparam (); below.
39849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39850 <limits.h> exists even on freestanding compilers. */
39853 # include <limits.h>
39855 # include <assert.h>
39858 #undef pthread_attr_setschedparam
39860 /* Override any gcc2 internal prototype to avoid an error. */
39865 /* We use char because int might match the return type of a gcc2
39866 builtin and then its argument prototype would still apply. */
39867 char pthread_attr_setschedparam ();
39868 /* The GNU C library defines this for functions which it implements
39869 to always fail with ENOSYS. Some functions are actually named
39870 something starting with __ and the normal name is an alias. */
39871 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39874 char (*f) () = pthread_attr_setschedparam;
39883 return f != pthread_attr_setschedparam;
39888 rm -f conftest.$ac_objext conftest$ac_exeext
39889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39890 (eval $ac_link) 2>conftest.er1
39892 grep -v '^ *+' conftest.er1 >conftest.err
39894 cat conftest.err >&5
39895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39896 (exit $ac_status); } &&
39897 { ac_try='test -z "$ac_cxx_werror_flag"
39898 || test ! -s conftest.err'
39899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39900 (eval $ac_try) 2>&5
39902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39903 (exit $ac_status); }; } &&
39904 { ac_try='test -s conftest$ac_exeext'
39905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39906 (eval $ac_try) 2>&5
39908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39909 (exit $ac_status); }; }; then
39910 ac_cv_func_pthread_attr_setschedparam=yes
39912 echo "$as_me: failed program was:" >&5
39913 sed 's/^/| /' conftest.$ac_ext >&5
39915 ac_cv_func_pthread_attr_setschedparam=no
39917 rm -f conftest.err conftest.$ac_objext \
39918 conftest$ac_exeext conftest.$ac_ext
39920 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39921 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39922 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39923 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39924 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39925 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39926 echo $ECHO_N "(cached) $ECHO_C" >&6
39928 cat >conftest.$ac_ext <<_ACEOF
39931 cat confdefs.h >>conftest.$ac_ext
39932 cat >>conftest.$ac_ext <<_ACEOF
39933 /* end confdefs.h. */
39934 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39936 #define sched_get_priority_max innocuous_sched_get_priority_max
39938 /* System header to define __stub macros and hopefully few prototypes,
39939 which can conflict with char sched_get_priority_max (); below.
39940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39941 <limits.h> exists even on freestanding compilers. */
39944 # include <limits.h>
39946 # include <assert.h>
39949 #undef sched_get_priority_max
39951 /* Override any gcc2 internal prototype to avoid an error. */
39956 /* We use char because int might match the return type of a gcc2
39957 builtin and then its argument prototype would still apply. */
39958 char sched_get_priority_max ();
39959 /* The GNU C library defines this for functions which it implements
39960 to always fail with ENOSYS. Some functions are actually named
39961 something starting with __ and the normal name is an alias. */
39962 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39965 char (*f) () = sched_get_priority_max;
39974 return f != sched_get_priority_max;
39979 rm -f conftest.$ac_objext conftest$ac_exeext
39980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39981 (eval $ac_link) 2>conftest.er1
39983 grep -v '^ *+' conftest.er1 >conftest.err
39985 cat conftest.err >&5
39986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39987 (exit $ac_status); } &&
39988 { ac_try='test -z "$ac_cxx_werror_flag"
39989 || test ! -s conftest.err'
39990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39991 (eval $ac_try) 2>&5
39993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39994 (exit $ac_status); }; } &&
39995 { ac_try='test -s conftest$ac_exeext'
39996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39997 (eval $ac_try) 2>&5
39999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40000 (exit $ac_status); }; }; then
40001 ac_cv_func_sched_get_priority_max=yes
40003 echo "$as_me: failed program was:" >&5
40004 sed 's/^/| /' conftest.$ac_ext >&5
40006 ac_cv_func_sched_get_priority_max=no
40008 rm -f conftest.err conftest.$ac_objext \
40009 conftest$ac_exeext conftest.$ac_ext
40011 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40012 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
40013 if test $ac_cv_func_sched_get_priority_max = yes; then
40016 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40017 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
40018 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40019 echo $ECHO_N "(cached) $ECHO_C" >&6
40021 ac_check_lib_save_LIBS=$LIBS
40022 LIBS="-lposix4 $LIBS"
40023 cat >conftest.$ac_ext <<_ACEOF
40026 cat confdefs.h >>conftest.$ac_ext
40027 cat >>conftest.$ac_ext <<_ACEOF
40028 /* end confdefs.h. */
40030 /* Override any gcc2 internal prototype to avoid an error. */
40034 /* We use char because int might match the return type of a gcc2
40035 builtin and then its argument prototype would still apply. */
40036 char sched_get_priority_max ();
40040 sched_get_priority_max ();
40045 rm -f conftest.$ac_objext conftest$ac_exeext
40046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40047 (eval $ac_link) 2>conftest.er1
40049 grep -v '^ *+' conftest.er1 >conftest.err
40051 cat conftest.err >&5
40052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40053 (exit $ac_status); } &&
40054 { ac_try='test -z "$ac_cxx_werror_flag"
40055 || test ! -s conftest.err'
40056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40057 (eval $ac_try) 2>&5
40059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40060 (exit $ac_status); }; } &&
40061 { ac_try='test -s conftest$ac_exeext'
40062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40063 (eval $ac_try) 2>&5
40065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40066 (exit $ac_status); }; }; then
40067 ac_cv_lib_posix4_sched_get_priority_max=yes
40069 echo "$as_me: failed program was:" >&5
40070 sed 's/^/| /' conftest.$ac_ext >&5
40072 ac_cv_lib_posix4_sched_get_priority_max=no
40074 rm -f conftest.err conftest.$ac_objext \
40075 conftest$ac_exeext conftest.$ac_ext
40076 LIBS=$ac_check_lib_save_LIBS
40078 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40079 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
40080 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40083 POSIX4_LINK=" -lposix4"
40097 if test "$HAVE_PRIOR_FUNCS" = 1; then
40098 cat >>confdefs.h <<\_ACEOF
40099 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40103 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40104 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40107 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40108 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40109 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40110 echo $ECHO_N "(cached) $ECHO_C" >&6
40112 cat >conftest.$ac_ext <<_ACEOF
40115 cat confdefs.h >>conftest.$ac_ext
40116 cat >>conftest.$ac_ext <<_ACEOF
40117 /* end confdefs.h. */
40118 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40120 #define pthread_cancel innocuous_pthread_cancel
40122 /* System header to define __stub macros and hopefully few prototypes,
40123 which can conflict with char pthread_cancel (); below.
40124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40125 <limits.h> exists even on freestanding compilers. */
40128 # include <limits.h>
40130 # include <assert.h>
40133 #undef pthread_cancel
40135 /* Override any gcc2 internal prototype to avoid an error. */
40140 /* We use char because int might match the return type of a gcc2
40141 builtin and then its argument prototype would still apply. */
40142 char pthread_cancel ();
40143 /* The GNU C library defines this for functions which it implements
40144 to always fail with ENOSYS. Some functions are actually named
40145 something starting with __ and the normal name is an alias. */
40146 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40149 char (*f) () = pthread_cancel;
40158 return f != pthread_cancel;
40163 rm -f conftest.$ac_objext conftest$ac_exeext
40164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40165 (eval $ac_link) 2>conftest.er1
40167 grep -v '^ *+' conftest.er1 >conftest.err
40169 cat conftest.err >&5
40170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40171 (exit $ac_status); } &&
40172 { ac_try='test -z "$ac_cxx_werror_flag"
40173 || test ! -s conftest.err'
40174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40175 (eval $ac_try) 2>&5
40177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40178 (exit $ac_status); }; } &&
40179 { ac_try='test -s conftest$ac_exeext'
40180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40181 (eval $ac_try) 2>&5
40183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40184 (exit $ac_status); }; }; then
40185 ac_cv_func_pthread_cancel=yes
40187 echo "$as_me: failed program was:" >&5
40188 sed 's/^/| /' conftest.$ac_ext >&5
40190 ac_cv_func_pthread_cancel=no
40192 rm -f conftest.err conftest.$ac_objext \
40193 conftest$ac_exeext conftest.$ac_ext
40195 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40196 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40197 if test $ac_cv_func_pthread_cancel = yes; then
40198 cat >>confdefs.h <<\_ACEOF
40199 #define HAVE_PTHREAD_CANCEL 1
40203 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40204 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40208 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40209 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40210 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40211 echo $ECHO_N "(cached) $ECHO_C" >&6
40213 cat >conftest.$ac_ext <<_ACEOF
40216 cat confdefs.h >>conftest.$ac_ext
40217 cat >>conftest.$ac_ext <<_ACEOF
40218 /* end confdefs.h. */
40219 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40221 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40223 /* System header to define __stub macros and hopefully few prototypes,
40224 which can conflict with char pthread_attr_setstacksize (); below.
40225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40226 <limits.h> exists even on freestanding compilers. */
40229 # include <limits.h>
40231 # include <assert.h>
40234 #undef pthread_attr_setstacksize
40236 /* Override any gcc2 internal prototype to avoid an error. */
40241 /* We use char because int might match the return type of a gcc2
40242 builtin and then its argument prototype would still apply. */
40243 char pthread_attr_setstacksize ();
40244 /* The GNU C library defines this for functions which it implements
40245 to always fail with ENOSYS. Some functions are actually named
40246 something starting with __ and the normal name is an alias. */
40247 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40250 char (*f) () = pthread_attr_setstacksize;
40259 return f != pthread_attr_setstacksize;
40264 rm -f conftest.$ac_objext conftest$ac_exeext
40265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40266 (eval $ac_link) 2>conftest.er1
40268 grep -v '^ *+' conftest.er1 >conftest.err
40270 cat conftest.err >&5
40271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40272 (exit $ac_status); } &&
40273 { ac_try='test -z "$ac_cxx_werror_flag"
40274 || test ! -s conftest.err'
40275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40276 (eval $ac_try) 2>&5
40278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40279 (exit $ac_status); }; } &&
40280 { ac_try='test -s conftest$ac_exeext'
40281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40282 (eval $ac_try) 2>&5
40284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40285 (exit $ac_status); }; }; then
40286 ac_cv_func_pthread_attr_setstacksize=yes
40288 echo "$as_me: failed program was:" >&5
40289 sed 's/^/| /' conftest.$ac_ext >&5
40291 ac_cv_func_pthread_attr_setstacksize=no
40293 rm -f conftest.err conftest.$ac_objext \
40294 conftest$ac_exeext conftest.$ac_ext
40296 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40297 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40298 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40299 cat >>confdefs.h <<\_ACEOF
40300 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40307 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40308 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40309 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40310 echo $ECHO_N "(cached) $ECHO_C" >&6
40313 cat >conftest.$ac_ext <<_ACEOF
40316 cat confdefs.h >>conftest.$ac_ext
40317 cat >>conftest.$ac_ext <<_ACEOF
40318 /* end confdefs.h. */
40319 #include <pthread.h>
40324 pthread_mutexattr_t attr;
40325 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40331 rm -f conftest.$ac_objext
40332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40333 (eval $ac_compile) 2>conftest.er1
40335 grep -v '^ *+' conftest.er1 >conftest.err
40337 cat conftest.err >&5
40338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40339 (exit $ac_status); } &&
40340 { ac_try='test -z "$ac_cxx_werror_flag"
40341 || test ! -s conftest.err'
40342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40343 (eval $ac_try) 2>&5
40345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40346 (exit $ac_status); }; } &&
40347 { ac_try='test -s conftest.$ac_objext'
40348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40349 (eval $ac_try) 2>&5
40351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40352 (exit $ac_status); }; }; then
40353 wx_cv_type_pthread_mutexattr_t=yes
40355 echo "$as_me: failed program was:" >&5
40356 sed 's/^/| /' conftest.$ac_ext >&5
40358 wx_cv_type_pthread_mutexattr_t=no
40361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40364 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40365 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40367 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40368 cat >>confdefs.h <<\_ACEOF
40369 #define HAVE_PTHREAD_MUTEXATTR_T 1
40373 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40374 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40375 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40376 echo $ECHO_N "(cached) $ECHO_C" >&6
40379 cat >conftest.$ac_ext <<_ACEOF
40382 cat confdefs.h >>conftest.$ac_ext
40383 cat >>conftest.$ac_ext <<_ACEOF
40384 /* end confdefs.h. */
40385 #include <pthread.h>
40390 pthread_mutexattr_t attr;
40391 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40397 rm -f conftest.$ac_objext
40398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40399 (eval $ac_compile) 2>conftest.er1
40401 grep -v '^ *+' conftest.er1 >conftest.err
40403 cat conftest.err >&5
40404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40405 (exit $ac_status); } &&
40406 { ac_try='test -z "$ac_cxx_werror_flag"
40407 || test ! -s conftest.err'
40408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40409 (eval $ac_try) 2>&5
40411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40412 (exit $ac_status); }; } &&
40413 { ac_try='test -s conftest.$ac_objext'
40414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40415 (eval $ac_try) 2>&5
40417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40418 (exit $ac_status); }; }; then
40419 wx_cv_func_pthread_mutexattr_settype_decl=yes
40421 echo "$as_me: failed program was:" >&5
40422 sed 's/^/| /' conftest.$ac_ext >&5
40424 wx_cv_func_pthread_mutexattr_settype_decl=no
40427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40430 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40431 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40432 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40433 cat >>confdefs.h <<\_ACEOF
40434 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40439 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40440 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40441 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40442 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 #include <pthread.h>
40456 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40462 rm -f conftest.$ac_objext
40463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40464 (eval $ac_compile) 2>conftest.er1
40466 grep -v '^ *+' conftest.er1 >conftest.err
40468 cat conftest.err >&5
40469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40470 (exit $ac_status); } &&
40471 { ac_try='test -z "$ac_cxx_werror_flag"
40472 || test ! -s conftest.err'
40473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40474 (eval $ac_try) 2>&5
40476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40477 (exit $ac_status); }; } &&
40478 { ac_try='test -s conftest.$ac_objext'
40479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40480 (eval $ac_try) 2>&5
40482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40483 (exit $ac_status); }; }; then
40485 wx_cv_type_pthread_rec_mutex_init=yes
40488 echo "$as_me: failed program was:" >&5
40489 sed 's/^/| /' conftest.$ac_ext >&5
40492 wx_cv_type_pthread_rec_mutex_init=no
40496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40499 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40500 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40501 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40502 cat >>confdefs.h <<\_ACEOF
40503 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40507 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40508 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40514 if test "$wxUSE_THREADS" = "yes" ; then
40517 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40518 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40519 if test "${wx_cv_cflags_mthread+set}" = set; then
40520 echo $ECHO_N "(cached) $ECHO_C" >&6
40523 CXXFLAGS_OLD="$CXXFLAGS"
40524 CXXFLAGS="-mthreads $CXXFLAGS"
40525 cat >conftest.$ac_ext <<_ACEOF
40528 cat confdefs.h >>conftest.$ac_ext
40529 cat >>conftest.$ac_ext <<_ACEOF
40530 /* end confdefs.h. */
40540 rm -f conftest.$ac_objext
40541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40542 (eval $ac_compile) 2>conftest.er1
40544 grep -v '^ *+' conftest.er1 >conftest.err
40546 cat conftest.err >&5
40547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40548 (exit $ac_status); } &&
40549 { ac_try='test -z "$ac_cxx_werror_flag"
40550 || test ! -s conftest.err'
40551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40552 (eval $ac_try) 2>&5
40554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40555 (exit $ac_status); }; } &&
40556 { ac_try='test -s conftest.$ac_objext'
40557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40558 (eval $ac_try) 2>&5
40560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40561 (exit $ac_status); }; }; then
40562 wx_cv_cflags_mthread=yes
40564 echo "$as_me: failed program was:" >&5
40565 sed 's/^/| /' conftest.$ac_ext >&5
40567 wx_cv_cflags_mthread=no
40570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40574 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40575 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40577 if test "$wx_cv_cflags_mthread" = "yes"; then
40578 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
40579 LDFLAGS="$LDFLAGS -mthreads"
40581 CXXFLAGS="$CXXFLAGS_OLD"
40585 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40586 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40587 LDFLAGS="$LDFLAGS -Zmt"
40593 echo "$as_me:$LINENO: checking for localtime_r" >&5
40594 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40595 if test "${ac_cv_func_localtime_r+set}" = set; then
40596 echo $ECHO_N "(cached) $ECHO_C" >&6
40598 cat >conftest.$ac_ext <<_ACEOF
40601 cat confdefs.h >>conftest.$ac_ext
40602 cat >>conftest.$ac_ext <<_ACEOF
40603 /* end confdefs.h. */
40604 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40606 #define localtime_r innocuous_localtime_r
40608 /* System header to define __stub macros and hopefully few prototypes,
40609 which can conflict with char localtime_r (); below.
40610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40611 <limits.h> exists even on freestanding compilers. */
40614 # include <limits.h>
40616 # include <assert.h>
40621 /* Override any gcc2 internal prototype to avoid an error. */
40626 /* We use char because int might match the return type of a gcc2
40627 builtin and then its argument prototype would still apply. */
40628 char localtime_r ();
40629 /* The GNU C library defines this for functions which it implements
40630 to always fail with ENOSYS. Some functions are actually named
40631 something starting with __ and the normal name is an alias. */
40632 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40635 char (*f) () = localtime_r;
40644 return f != localtime_r;
40649 rm -f conftest.$ac_objext conftest$ac_exeext
40650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40651 (eval $ac_link) 2>conftest.er1
40653 grep -v '^ *+' conftest.er1 >conftest.err
40655 cat conftest.err >&5
40656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40657 (exit $ac_status); } &&
40658 { ac_try='test -z "$ac_cxx_werror_flag"
40659 || test ! -s conftest.err'
40660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40661 (eval $ac_try) 2>&5
40663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40664 (exit $ac_status); }; } &&
40665 { ac_try='test -s conftest$ac_exeext'
40666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40667 (eval $ac_try) 2>&5
40669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40670 (exit $ac_status); }; }; then
40671 ac_cv_func_localtime_r=yes
40673 echo "$as_me: failed program was:" >&5
40674 sed 's/^/| /' conftest.$ac_ext >&5
40676 ac_cv_func_localtime_r=no
40678 rm -f conftest.err conftest.$ac_objext \
40679 conftest$ac_exeext conftest.$ac_ext
40681 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40682 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40683 if test $ac_cv_func_localtime_r = yes; then
40684 cat >>confdefs.h <<\_ACEOF
40685 #define HAVE_LOCALTIME_R 1
40690 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40691 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40692 if test "${ac_cv_func_gmtime_r+set}" = set; then
40693 echo $ECHO_N "(cached) $ECHO_C" >&6
40695 cat >conftest.$ac_ext <<_ACEOF
40698 cat confdefs.h >>conftest.$ac_ext
40699 cat >>conftest.$ac_ext <<_ACEOF
40700 /* end confdefs.h. */
40701 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40703 #define gmtime_r innocuous_gmtime_r
40705 /* System header to define __stub macros and hopefully few prototypes,
40706 which can conflict with char gmtime_r (); below.
40707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40708 <limits.h> exists even on freestanding compilers. */
40711 # include <limits.h>
40713 # include <assert.h>
40718 /* Override any gcc2 internal prototype to avoid an error. */
40723 /* We use char because int might match the return type of a gcc2
40724 builtin and then its argument prototype would still apply. */
40726 /* The GNU C library defines this for functions which it implements
40727 to always fail with ENOSYS. Some functions are actually named
40728 something starting with __ and the normal name is an alias. */
40729 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40732 char (*f) () = gmtime_r;
40741 return f != gmtime_r;
40746 rm -f conftest.$ac_objext conftest$ac_exeext
40747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40748 (eval $ac_link) 2>conftest.er1
40750 grep -v '^ *+' conftest.er1 >conftest.err
40752 cat conftest.err >&5
40753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40754 (exit $ac_status); } &&
40755 { ac_try='test -z "$ac_cxx_werror_flag"
40756 || test ! -s conftest.err'
40757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40758 (eval $ac_try) 2>&5
40760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40761 (exit $ac_status); }; } &&
40762 { ac_try='test -s conftest$ac_exeext'
40763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40764 (eval $ac_try) 2>&5
40766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40767 (exit $ac_status); }; }; then
40768 ac_cv_func_gmtime_r=yes
40770 echo "$as_me: failed program was:" >&5
40771 sed 's/^/| /' conftest.$ac_ext >&5
40773 ac_cv_func_gmtime_r=no
40775 rm -f conftest.err conftest.$ac_objext \
40776 conftest$ac_exeext conftest.$ac_ext
40778 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40779 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40780 if test $ac_cv_func_gmtime_r = yes; then
40781 cat >>confdefs.h <<\_ACEOF
40782 #define HAVE_GMTIME_R 1
40787 echo "$as_me:$LINENO: checking for readdir_r" >&5
40788 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40789 if test "${ac_cv_func_readdir_r+set}" = set; then
40790 echo $ECHO_N "(cached) $ECHO_C" >&6
40792 cat >conftest.$ac_ext <<_ACEOF
40795 cat confdefs.h >>conftest.$ac_ext
40796 cat >>conftest.$ac_ext <<_ACEOF
40797 /* end confdefs.h. */
40798 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40800 #define readdir_r innocuous_readdir_r
40802 /* System header to define __stub macros and hopefully few prototypes,
40803 which can conflict with char readdir_r (); below.
40804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40805 <limits.h> exists even on freestanding compilers. */
40808 # include <limits.h>
40810 # include <assert.h>
40815 /* Override any gcc2 internal prototype to avoid an error. */
40820 /* We use char because int might match the return type of a gcc2
40821 builtin and then its argument prototype would still apply. */
40823 /* The GNU C library defines this for functions which it implements
40824 to always fail with ENOSYS. Some functions are actually named
40825 something starting with __ and the normal name is an alias. */
40826 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40829 char (*f) () = readdir_r;
40838 return f != readdir_r;
40843 rm -f conftest.$ac_objext conftest$ac_exeext
40844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40845 (eval $ac_link) 2>conftest.er1
40847 grep -v '^ *+' conftest.er1 >conftest.err
40849 cat conftest.err >&5
40850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40851 (exit $ac_status); } &&
40852 { ac_try='test -z "$ac_cxx_werror_flag"
40853 || test ! -s conftest.err'
40854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40855 (eval $ac_try) 2>&5
40857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40858 (exit $ac_status); }; } &&
40859 { ac_try='test -s conftest$ac_exeext'
40860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40861 (eval $ac_try) 2>&5
40863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40864 (exit $ac_status); }; }; then
40865 ac_cv_func_readdir_r=yes
40867 echo "$as_me: failed program was:" >&5
40868 sed 's/^/| /' conftest.$ac_ext >&5
40870 ac_cv_func_readdir_r=no
40872 rm -f conftest.err conftest.$ac_objext \
40873 conftest$ac_exeext conftest.$ac_ext
40875 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40876 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40877 if test $ac_cv_func_readdir_r = yes; then
40878 cat >>confdefs.h <<\_ACEOF
40879 #define HAVE_READDIR_R 1
40888 ac_cpp='$CPP $CPPFLAGS'
40889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40893 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40894 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40896 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40897 echo $ECHO_N "(cached) $ECHO_C" >&6
40901 ################################################################
40903 ac_cv_func_which_gethostbyname_r=unknown
40906 # ONE ARGUMENT (sanity check)
40909 # This should fail, as there is no variant of gethostbyname_r() that takes
40910 # a single argument. If it actually compiles, then we can assume that
40911 # netdb.h is not declaring the function, and the compiler is thereby
40912 # assuming an implicit prototype. In which case, we're out of luck.
40914 cat >conftest.$ac_ext <<_ACEOF
40917 cat confdefs.h >>conftest.$ac_ext
40918 cat >>conftest.$ac_ext <<_ACEOF
40919 /* end confdefs.h. */
40925 char *name = "www.gnu.org";
40926 (void)gethostbyname_r(name) /* ; */
40932 rm -f conftest.$ac_objext
40933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40934 (eval $ac_compile) 2>conftest.er1
40936 grep -v '^ *+' conftest.er1 >conftest.err
40938 cat conftest.err >&5
40939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40940 (exit $ac_status); } &&
40941 { ac_try='test -z "$ac_c_werror_flag"
40942 || test ! -s conftest.err'
40943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40944 (eval $ac_try) 2>&5
40946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40947 (exit $ac_status); }; } &&
40948 { ac_try='test -s conftest.$ac_objext'
40949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40950 (eval $ac_try) 2>&5
40952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40953 (exit $ac_status); }; }; then
40954 ac_cv_func_which_gethostbyname_r=no
40956 echo "$as_me: failed program was:" >&5
40957 sed 's/^/| /' conftest.$ac_ext >&5
40960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40967 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40969 cat >conftest.$ac_ext <<_ACEOF
40972 cat confdefs.h >>conftest.$ac_ext
40973 cat >>conftest.$ac_ext <<_ACEOF
40974 /* end confdefs.h. */
40980 char *name = "www.gnu.org";
40981 struct hostent ret, *retp;
40985 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40991 rm -f conftest.$ac_objext
40992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40993 (eval $ac_compile) 2>conftest.er1
40995 grep -v '^ *+' conftest.er1 >conftest.err
40997 cat conftest.err >&5
40998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40999 (exit $ac_status); } &&
41000 { ac_try='test -z "$ac_c_werror_flag"
41001 || test ! -s conftest.err'
41002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41003 (eval $ac_try) 2>&5
41005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41006 (exit $ac_status); }; } &&
41007 { ac_try='test -s conftest.$ac_objext'
41008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41009 (eval $ac_try) 2>&5
41011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41012 (exit $ac_status); }; }; then
41013 ac_cv_func_which_gethostbyname_r=six
41015 echo "$as_me: failed program was:" >&5
41016 sed 's/^/| /' conftest.$ac_ext >&5
41019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41028 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41030 cat >conftest.$ac_ext <<_ACEOF
41033 cat confdefs.h >>conftest.$ac_ext
41034 cat >>conftest.$ac_ext <<_ACEOF
41035 /* end confdefs.h. */
41041 char *name = "www.gnu.org";
41042 struct hostent ret;
41046 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41052 rm -f conftest.$ac_objext
41053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41054 (eval $ac_compile) 2>conftest.er1
41056 grep -v '^ *+' conftest.er1 >conftest.err
41058 cat conftest.err >&5
41059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41060 (exit $ac_status); } &&
41061 { ac_try='test -z "$ac_c_werror_flag"
41062 || test ! -s conftest.err'
41063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41064 (eval $ac_try) 2>&5
41066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41067 (exit $ac_status); }; } &&
41068 { ac_try='test -s conftest.$ac_objext'
41069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41070 (eval $ac_try) 2>&5
41072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41073 (exit $ac_status); }; }; then
41074 ac_cv_func_which_gethostbyname_r=five
41076 echo "$as_me: failed program was:" >&5
41077 sed 's/^/| /' conftest.$ac_ext >&5
41080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41086 # (e.g. AIX, HP-UX, Tru64)
41089 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41091 cat >conftest.$ac_ext <<_ACEOF
41094 cat confdefs.h >>conftest.$ac_ext
41095 cat >>conftest.$ac_ext <<_ACEOF
41096 /* end confdefs.h. */
41102 char *name = "www.gnu.org";
41103 struct hostent ret;
41104 struct hostent_data data;
41105 (void)gethostbyname_r(name, &ret, &data) /* ; */
41111 rm -f conftest.$ac_objext
41112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41113 (eval $ac_compile) 2>conftest.er1
41115 grep -v '^ *+' conftest.er1 >conftest.err
41117 cat conftest.err >&5
41118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41119 (exit $ac_status); } &&
41120 { ac_try='test -z "$ac_c_werror_flag"
41121 || test ! -s conftest.err'
41122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41123 (eval $ac_try) 2>&5
41125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41126 (exit $ac_status); }; } &&
41127 { ac_try='test -s conftest.$ac_objext'
41128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41129 (eval $ac_try) 2>&5
41131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41132 (exit $ac_status); }; }; then
41133 ac_cv_func_which_gethostbyname_r=three
41135 echo "$as_me: failed program was:" >&5
41136 sed 's/^/| /' conftest.$ac_ext >&5
41139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41143 ################################################################
41148 case "$ac_cv_func_which_gethostbyname_r" in
41150 echo "$as_me:$LINENO: result: three" >&5
41151 echo "${ECHO_T}three" >&6
41152 cat >>confdefs.h <<\_ACEOF
41153 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41159 echo "$as_me:$LINENO: result: five" >&5
41160 echo "${ECHO_T}five" >&6
41161 cat >>confdefs.h <<\_ACEOF
41162 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41168 echo "$as_me:$LINENO: result: six" >&5
41169 echo "${ECHO_T}six" >&6
41170 cat >>confdefs.h <<\_ACEOF
41171 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41177 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41178 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41182 echo "$as_me:$LINENO: result: can't tell" >&5
41183 echo "${ECHO_T}can't tell" >&6
41187 { { echo "$as_me:$LINENO: error: internal error" >&5
41188 echo "$as_me: error: internal error" >&2;}
41189 { (exit 1); exit 1; }; }
41194 ac_cpp='$CXXCPP $CPPFLAGS'
41195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41201 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41202 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41203 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41204 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41205 if test "${ac_cv_func_gethostbyname+set}" = set; then
41206 echo $ECHO_N "(cached) $ECHO_C" >&6
41208 cat >conftest.$ac_ext <<_ACEOF
41211 cat confdefs.h >>conftest.$ac_ext
41212 cat >>conftest.$ac_ext <<_ACEOF
41213 /* end confdefs.h. */
41214 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41216 #define gethostbyname innocuous_gethostbyname
41218 /* System header to define __stub macros and hopefully few prototypes,
41219 which can conflict with char gethostbyname (); below.
41220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41221 <limits.h> exists even on freestanding compilers. */
41224 # include <limits.h>
41226 # include <assert.h>
41229 #undef gethostbyname
41231 /* Override any gcc2 internal prototype to avoid an error. */
41236 /* We use char because int might match the return type of a gcc2
41237 builtin and then its argument prototype would still apply. */
41238 char gethostbyname ();
41239 /* The GNU C library defines this for functions which it implements
41240 to always fail with ENOSYS. Some functions are actually named
41241 something starting with __ and the normal name is an alias. */
41242 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41245 char (*f) () = gethostbyname;
41254 return f != gethostbyname;
41259 rm -f conftest.$ac_objext conftest$ac_exeext
41260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41261 (eval $ac_link) 2>conftest.er1
41263 grep -v '^ *+' conftest.er1 >conftest.err
41265 cat conftest.err >&5
41266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41267 (exit $ac_status); } &&
41268 { ac_try='test -z "$ac_cxx_werror_flag"
41269 || test ! -s conftest.err'
41270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41271 (eval $ac_try) 2>&5
41273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41274 (exit $ac_status); }; } &&
41275 { ac_try='test -s conftest$ac_exeext'
41276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41277 (eval $ac_try) 2>&5
41279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41280 (exit $ac_status); }; }; then
41281 ac_cv_func_gethostbyname=yes
41283 echo "$as_me: failed program was:" >&5
41284 sed 's/^/| /' conftest.$ac_ext >&5
41286 ac_cv_func_gethostbyname=no
41288 rm -f conftest.err conftest.$ac_objext \
41289 conftest$ac_exeext conftest.$ac_ext
41291 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41292 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41293 if test $ac_cv_func_gethostbyname = yes; then
41294 cat >>confdefs.h <<\_ACEOF
41295 #define HAVE_GETHOSTBYNAME 1
41302 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41303 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41304 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41305 echo $ECHO_N "(cached) $ECHO_C" >&6
41308 cat >conftest.$ac_ext <<_ACEOF
41311 cat confdefs.h >>conftest.$ac_ext
41312 cat >>conftest.$ac_ext <<_ACEOF
41313 /* end confdefs.h. */
41321 struct servent *se, *res;
41324 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41330 rm -f conftest.$ac_objext
41331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41332 (eval $ac_compile) 2>conftest.er1
41334 grep -v '^ *+' conftest.er1 >conftest.err
41336 cat conftest.err >&5
41337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41338 (exit $ac_status); } &&
41339 { ac_try='test -z "$ac_cxx_werror_flag"
41340 || test ! -s conftest.err'
41341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41342 (eval $ac_try) 2>&5
41344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41345 (exit $ac_status); }; } &&
41346 { ac_try='test -s conftest.$ac_objext'
41347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41348 (eval $ac_try) 2>&5
41350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41351 (exit $ac_status); }; }; then
41352 ac_cv_func_which_getservbyname_r=six
41354 echo "$as_me: failed program was:" >&5
41355 sed 's/^/| /' conftest.$ac_ext >&5
41358 cat >conftest.$ac_ext <<_ACEOF
41361 cat confdefs.h >>conftest.$ac_ext
41362 cat >>conftest.$ac_ext <<_ACEOF
41363 /* end confdefs.h. */
41371 struct servent *se;
41374 (void) getservbyname_r(name, proto, se, buffer, buflen)
41380 rm -f conftest.$ac_objext
41381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41382 (eval $ac_compile) 2>conftest.er1
41384 grep -v '^ *+' conftest.er1 >conftest.err
41386 cat conftest.err >&5
41387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41388 (exit $ac_status); } &&
41389 { ac_try='test -z "$ac_cxx_werror_flag"
41390 || test ! -s conftest.err'
41391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41392 (eval $ac_try) 2>&5
41394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41395 (exit $ac_status); }; } &&
41396 { ac_try='test -s conftest.$ac_objext'
41397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41398 (eval $ac_try) 2>&5
41400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41401 (exit $ac_status); }; }; then
41402 ac_cv_func_which_getservbyname_r=five
41404 echo "$as_me: failed program was:" >&5
41405 sed 's/^/| /' conftest.$ac_ext >&5
41408 cat >conftest.$ac_ext <<_ACEOF
41411 cat confdefs.h >>conftest.$ac_ext
41412 cat >>conftest.$ac_ext <<_ACEOF
41413 /* end confdefs.h. */
41421 struct servent *se;
41422 struct servent_data data;
41423 (void) getservbyname_r(name, proto, se, &data);
41429 rm -f conftest.$ac_objext
41430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41431 (eval $ac_compile) 2>conftest.er1
41433 grep -v '^ *+' conftest.er1 >conftest.err
41435 cat conftest.err >&5
41436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41437 (exit $ac_status); } &&
41438 { ac_try='test -z "$ac_cxx_werror_flag"
41439 || test ! -s conftest.err'
41440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41441 (eval $ac_try) 2>&5
41443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41444 (exit $ac_status); }; } &&
41445 { ac_try='test -s conftest.$ac_objext'
41446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41447 (eval $ac_try) 2>&5
41449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41450 (exit $ac_status); }; }; then
41451 ac_cv_func_which_getservbyname_r=four
41453 echo "$as_me: failed program was:" >&5
41454 sed 's/^/| /' conftest.$ac_ext >&5
41456 ac_cv_func_which_getservbyname_r=no
41459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41471 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41472 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41474 if test $ac_cv_func_which_getservbyname_r = six; then
41475 cat >>confdefs.h <<\_ACEOF
41476 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41479 elif test $ac_cv_func_which_getservbyname_r = five; then
41480 cat >>confdefs.h <<\_ACEOF
41481 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41484 elif test $ac_cv_func_which_getservbyname_r = four; then
41485 cat >>confdefs.h <<\_ACEOF
41486 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41492 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41493 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41495 for ac_func in getservbyname
41497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41498 echo "$as_me:$LINENO: checking for $ac_func" >&5
41499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41500 if eval "test \"\${$as_ac_var+set}\" = set"; then
41501 echo $ECHO_N "(cached) $ECHO_C" >&6
41503 cat >conftest.$ac_ext <<_ACEOF
41506 cat confdefs.h >>conftest.$ac_ext
41507 cat >>conftest.$ac_ext <<_ACEOF
41508 /* end confdefs.h. */
41509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41511 #define $ac_func innocuous_$ac_func
41513 /* System header to define __stub macros and hopefully few prototypes,
41514 which can conflict with char $ac_func (); below.
41515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41516 <limits.h> exists even on freestanding compilers. */
41519 # include <limits.h>
41521 # include <assert.h>
41526 /* Override any gcc2 internal prototype to avoid an error. */
41531 /* We use char because int might match the return type of a gcc2
41532 builtin and then its argument prototype would still apply. */
41534 /* The GNU C library defines this for functions which it implements
41535 to always fail with ENOSYS. Some functions are actually named
41536 something starting with __ and the normal name is an alias. */
41537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41540 char (*f) () = $ac_func;
41549 return f != $ac_func;
41554 rm -f conftest.$ac_objext conftest$ac_exeext
41555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41556 (eval $ac_link) 2>conftest.er1
41558 grep -v '^ *+' conftest.er1 >conftest.err
41560 cat conftest.err >&5
41561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41562 (exit $ac_status); } &&
41563 { ac_try='test -z "$ac_cxx_werror_flag"
41564 || test ! -s conftest.err'
41565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41566 (eval $ac_try) 2>&5
41568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41569 (exit $ac_status); }; } &&
41570 { ac_try='test -s conftest$ac_exeext'
41571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41572 (eval $ac_try) 2>&5
41574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41575 (exit $ac_status); }; }; then
41576 eval "$as_ac_var=yes"
41578 echo "$as_me: failed program was:" >&5
41579 sed 's/^/| /' conftest.$ac_ext >&5
41581 eval "$as_ac_var=no"
41583 rm -f conftest.err conftest.$ac_objext \
41584 conftest$ac_exeext conftest.$ac_ext
41586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41588 if test `eval echo '${'$as_ac_var'}'` = yes; then
41589 cat >>confdefs.h <<_ACEOF
41590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41592 cat >>confdefs.h <<\_ACEOF
41593 #define HAVE_GETSERVBYNAME 1
41601 if test "$wxUSE_THREADS" = "yes"; then
41602 cat >>confdefs.h <<\_ACEOF
41603 #define wxUSE_THREADS 1
41607 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41609 if test "$wx_cv_func_strtok_r" = "yes"; then
41610 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41611 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41612 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41613 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41614 echo "$as_me:$LINENO: result: yes" >&5
41615 echo "${ECHO_T}yes" >&6
41617 echo "$as_me:$LINENO: result: no" >&5
41618 echo "${ECHO_T}no" >&6
41623 if test "$WXGTK20" = 1 ; then
41624 cat >>confdefs.h <<_ACEOF
41625 #define __WXGTK20__ $WXGTK20
41631 if test "$WXGTK12" = 1 ; then
41632 cat >>confdefs.h <<_ACEOF
41633 #define __WXGTK12__ $WXGTK12
41638 if test "$WXGTK127" = 1 ; then
41639 cat >>confdefs.h <<_ACEOF
41640 #define __WXGTK127__ $WXGTK127
41645 if test "$WXGPE" = 1 ; then
41646 cat >>confdefs.h <<_ACEOF
41647 #define __WXGPE__ $WXGPE
41653 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41658 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41659 wxUSE_DEBUG_INFO=yes
41660 if test "$GCC" = yes; then
41661 DEBUG_CFLAGS="-ggdb"
41665 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41666 cat >>confdefs.h <<\_ACEOF
41670 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41672 if test "$wxUSE_GTK" = 1 ; then
41673 if test "x$wxGTK_VERSION" = "x1" ; then
41674 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41679 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41680 cat >>confdefs.h <<\_ACEOF
41681 #define wxUSE_MEMORY_TRACING 1
41684 cat >>confdefs.h <<\_ACEOF
41685 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41688 cat >>confdefs.h <<\_ACEOF
41689 #define wxUSE_DEBUG_NEW_ALWAYS 1
41692 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41695 if test "$wxUSE_DMALLOC" = "yes" ; then
41696 DMALLOC_LIBS="-ldmallocthcxx"
41700 if test "$wxUSE_PROFILE" = "yes" ; then
41701 PROFILE_FLAGS=" -pg"
41704 if test "$GCC" = "yes" ; then
41705 if test "$wxUSE_NO_RTTI" = "yes" ; then
41706 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41708 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41709 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41711 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41712 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41717 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41720 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41726 if test "$wxUSE_OPTIMISE" = "no" ; then
41727 if test "$GCC" = yes ; then
41728 OPTIMISE_CFLAGS="-O0"
41731 if test "$GCC" = yes ; then
41733 *-pc-os2_emx | *-pc-os2-emx )
41734 OPTIMISE_CFLAGS="-O2"
41737 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41741 OPTIMISE_CFLAGS="-O"
41746 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41747 cat >>confdefs.h <<\_ACEOF
41748 #define WXWIN_COMPATIBILITY_2_4 1
41752 WXWIN_COMPATIBILITY_2_6="yes"
41755 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41756 cat >>confdefs.h <<\_ACEOF
41757 #define WXWIN_COMPATIBILITY_2_6 1
41763 if test "$wxUSE_GUI" = "yes"; then
41764 cat >>confdefs.h <<\_ACEOF
41765 #define wxUSE_GUI 1
41772 if test "$wxUSE_UNIX" = "yes"; then
41773 cat >>confdefs.h <<\_ACEOF
41774 #define wxUSE_UNIX 1
41780 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41784 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41785 if test "$USE_DARWIN" = 1; then
41787 elif test "$USE_DOS" = 1; then
41791 for ac_func in dlopen
41793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41794 echo "$as_me:$LINENO: checking for $ac_func" >&5
41795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41796 if eval "test \"\${$as_ac_var+set}\" = set"; then
41797 echo $ECHO_N "(cached) $ECHO_C" >&6
41799 cat >conftest.$ac_ext <<_ACEOF
41802 cat confdefs.h >>conftest.$ac_ext
41803 cat >>conftest.$ac_ext <<_ACEOF
41804 /* end confdefs.h. */
41805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41807 #define $ac_func innocuous_$ac_func
41809 /* System header to define __stub macros and hopefully few prototypes,
41810 which can conflict with char $ac_func (); below.
41811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41812 <limits.h> exists even on freestanding compilers. */
41815 # include <limits.h>
41817 # include <assert.h>
41822 /* Override any gcc2 internal prototype to avoid an error. */
41827 /* We use char because int might match the return type of a gcc2
41828 builtin and then its argument prototype would still apply. */
41830 /* The GNU C library defines this for functions which it implements
41831 to always fail with ENOSYS. Some functions are actually named
41832 something starting with __ and the normal name is an alias. */
41833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41836 char (*f) () = $ac_func;
41845 return f != $ac_func;
41850 rm -f conftest.$ac_objext conftest$ac_exeext
41851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41852 (eval $ac_link) 2>conftest.er1
41854 grep -v '^ *+' conftest.er1 >conftest.err
41856 cat conftest.err >&5
41857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41858 (exit $ac_status); } &&
41859 { ac_try='test -z "$ac_cxx_werror_flag"
41860 || test ! -s conftest.err'
41861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41862 (eval $ac_try) 2>&5
41864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41865 (exit $ac_status); }; } &&
41866 { ac_try='test -s conftest$ac_exeext'
41867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41868 (eval $ac_try) 2>&5
41870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41871 (exit $ac_status); }; }; then
41872 eval "$as_ac_var=yes"
41874 echo "$as_me: failed program was:" >&5
41875 sed 's/^/| /' conftest.$ac_ext >&5
41877 eval "$as_ac_var=no"
41879 rm -f conftest.err conftest.$ac_objext \
41880 conftest$ac_exeext conftest.$ac_ext
41882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41884 if test `eval echo '${'$as_ac_var'}'` = yes; then
41885 cat >>confdefs.h <<_ACEOF
41886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41889 cat >>confdefs.h <<\_ACEOF
41890 #define HAVE_DLOPEN 1
41897 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41898 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41899 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41900 echo $ECHO_N "(cached) $ECHO_C" >&6
41902 ac_check_lib_save_LIBS=$LIBS
41904 cat >conftest.$ac_ext <<_ACEOF
41907 cat confdefs.h >>conftest.$ac_ext
41908 cat >>conftest.$ac_ext <<_ACEOF
41909 /* end confdefs.h. */
41911 /* Override any gcc2 internal prototype to avoid an error. */
41915 /* We use char because int might match the return type of a gcc2
41916 builtin and then its argument prototype would still apply. */
41926 rm -f conftest.$ac_objext conftest$ac_exeext
41927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41928 (eval $ac_link) 2>conftest.er1
41930 grep -v '^ *+' conftest.er1 >conftest.err
41932 cat conftest.err >&5
41933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41934 (exit $ac_status); } &&
41935 { ac_try='test -z "$ac_cxx_werror_flag"
41936 || test ! -s conftest.err'
41937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41938 (eval $ac_try) 2>&5
41940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41941 (exit $ac_status); }; } &&
41942 { ac_try='test -s conftest$ac_exeext'
41943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41944 (eval $ac_try) 2>&5
41946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41947 (exit $ac_status); }; }; then
41948 ac_cv_lib_dl_dlopen=yes
41950 echo "$as_me: failed program was:" >&5
41951 sed 's/^/| /' conftest.$ac_ext >&5
41953 ac_cv_lib_dl_dlopen=no
41955 rm -f conftest.err conftest.$ac_objext \
41956 conftest$ac_exeext conftest.$ac_ext
41957 LIBS=$ac_check_lib_save_LIBS
41959 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41960 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41961 if test $ac_cv_lib_dl_dlopen = yes; then
41963 cat >>confdefs.h <<\_ACEOF
41964 #define HAVE_DLOPEN 1
41968 DL_LINK=" -ldl$DL_LINK"
41973 for ac_func in shl_load
41975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41976 echo "$as_me:$LINENO: checking for $ac_func" >&5
41977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41978 if eval "test \"\${$as_ac_var+set}\" = set"; then
41979 echo $ECHO_N "(cached) $ECHO_C" >&6
41981 cat >conftest.$ac_ext <<_ACEOF
41984 cat confdefs.h >>conftest.$ac_ext
41985 cat >>conftest.$ac_ext <<_ACEOF
41986 /* end confdefs.h. */
41987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41989 #define $ac_func innocuous_$ac_func
41991 /* System header to define __stub macros and hopefully few prototypes,
41992 which can conflict with char $ac_func (); below.
41993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41994 <limits.h> exists even on freestanding compilers. */
41997 # include <limits.h>
41999 # include <assert.h>
42004 /* Override any gcc2 internal prototype to avoid an error. */
42009 /* We use char because int might match the return type of a gcc2
42010 builtin and then its argument prototype would still apply. */
42012 /* The GNU C library defines this for functions which it implements
42013 to always fail with ENOSYS. Some functions are actually named
42014 something starting with __ and the normal name is an alias. */
42015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42018 char (*f) () = $ac_func;
42027 return f != $ac_func;
42032 rm -f conftest.$ac_objext conftest$ac_exeext
42033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42034 (eval $ac_link) 2>conftest.er1
42036 grep -v '^ *+' conftest.er1 >conftest.err
42038 cat conftest.err >&5
42039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42040 (exit $ac_status); } &&
42041 { ac_try='test -z "$ac_cxx_werror_flag"
42042 || test ! -s conftest.err'
42043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42044 (eval $ac_try) 2>&5
42046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42047 (exit $ac_status); }; } &&
42048 { ac_try='test -s conftest$ac_exeext'
42049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42050 (eval $ac_try) 2>&5
42052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42053 (exit $ac_status); }; }; then
42054 eval "$as_ac_var=yes"
42056 echo "$as_me: failed program was:" >&5
42057 sed 's/^/| /' conftest.$ac_ext >&5
42059 eval "$as_ac_var=no"
42061 rm -f conftest.err conftest.$ac_objext \
42062 conftest$ac_exeext conftest.$ac_ext
42064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42066 if test `eval echo '${'$as_ac_var'}'` = yes; then
42067 cat >>confdefs.h <<_ACEOF
42068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42071 cat >>confdefs.h <<\_ACEOF
42072 #define HAVE_SHL_LOAD 1
42079 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42080 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
42081 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42082 echo $ECHO_N "(cached) $ECHO_C" >&6
42084 ac_check_lib_save_LIBS=$LIBS
42085 LIBS="-lshl_load $LIBS"
42086 cat >conftest.$ac_ext <<_ACEOF
42089 cat confdefs.h >>conftest.$ac_ext
42090 cat >>conftest.$ac_ext <<_ACEOF
42091 /* end confdefs.h. */
42093 /* Override any gcc2 internal prototype to avoid an error. */
42097 /* We use char because int might match the return type of a gcc2
42098 builtin and then its argument prototype would still apply. */
42108 rm -f conftest.$ac_objext conftest$ac_exeext
42109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42110 (eval $ac_link) 2>conftest.er1
42112 grep -v '^ *+' conftest.er1 >conftest.err
42114 cat conftest.err >&5
42115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42116 (exit $ac_status); } &&
42117 { ac_try='test -z "$ac_cxx_werror_flag"
42118 || test ! -s conftest.err'
42119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42120 (eval $ac_try) 2>&5
42122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42123 (exit $ac_status); }; } &&
42124 { ac_try='test -s conftest$ac_exeext'
42125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42126 (eval $ac_try) 2>&5
42128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42129 (exit $ac_status); }; }; then
42130 ac_cv_lib_shl_load_dld=yes
42132 echo "$as_me: failed program was:" >&5
42133 sed 's/^/| /' conftest.$ac_ext >&5
42135 ac_cv_lib_shl_load_dld=no
42137 rm -f conftest.err conftest.$ac_objext \
42138 conftest$ac_exeext conftest.$ac_ext
42139 LIBS=$ac_check_lib_save_LIBS
42141 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42142 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42143 if test $ac_cv_lib_shl_load_dld = yes; then
42146 DL_LINK=" -ldld$DL_LINK"
42162 if test "$HAVE_DL_FUNCS" = 1; then
42164 for ac_func in dlerror
42166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42167 echo "$as_me:$LINENO: checking for $ac_func" >&5
42168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42169 if eval "test \"\${$as_ac_var+set}\" = set"; then
42170 echo $ECHO_N "(cached) $ECHO_C" >&6
42172 cat >conftest.$ac_ext <<_ACEOF
42175 cat confdefs.h >>conftest.$ac_ext
42176 cat >>conftest.$ac_ext <<_ACEOF
42177 /* end confdefs.h. */
42178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42180 #define $ac_func innocuous_$ac_func
42182 /* System header to define __stub macros and hopefully few prototypes,
42183 which can conflict with char $ac_func (); below.
42184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42185 <limits.h> exists even on freestanding compilers. */
42188 # include <limits.h>
42190 # include <assert.h>
42195 /* Override any gcc2 internal prototype to avoid an error. */
42200 /* We use char because int might match the return type of a gcc2
42201 builtin and then its argument prototype would still apply. */
42203 /* The GNU C library defines this for functions which it implements
42204 to always fail with ENOSYS. Some functions are actually named
42205 something starting with __ and the normal name is an alias. */
42206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42209 char (*f) () = $ac_func;
42218 return f != $ac_func;
42223 rm -f conftest.$ac_objext conftest$ac_exeext
42224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42225 (eval $ac_link) 2>conftest.er1
42227 grep -v '^ *+' conftest.er1 >conftest.err
42229 cat conftest.err >&5
42230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42231 (exit $ac_status); } &&
42232 { ac_try='test -z "$ac_cxx_werror_flag"
42233 || test ! -s conftest.err'
42234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42235 (eval $ac_try) 2>&5
42237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42238 (exit $ac_status); }; } &&
42239 { ac_try='test -s conftest$ac_exeext'
42240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42241 (eval $ac_try) 2>&5
42243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42244 (exit $ac_status); }; }; then
42245 eval "$as_ac_var=yes"
42247 echo "$as_me: failed program was:" >&5
42248 sed 's/^/| /' conftest.$ac_ext >&5
42250 eval "$as_ac_var=no"
42252 rm -f conftest.err conftest.$ac_objext \
42253 conftest$ac_exeext conftest.$ac_ext
42255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42257 if test `eval echo '${'$as_ac_var'}'` = yes; then
42258 cat >>confdefs.h <<_ACEOF
42259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42261 cat >>confdefs.h <<\_ACEOF
42262 #define HAVE_DLERROR 1
42267 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42268 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42269 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42270 echo $ECHO_N "(cached) $ECHO_C" >&6
42272 ac_check_lib_save_LIBS=$LIBS
42274 cat >conftest.$ac_ext <<_ACEOF
42277 cat confdefs.h >>conftest.$ac_ext
42278 cat >>conftest.$ac_ext <<_ACEOF
42279 /* end confdefs.h. */
42281 /* Override any gcc2 internal prototype to avoid an error. */
42285 /* We use char because int might match the return type of a gcc2
42286 builtin and then its argument prototype would still apply. */
42296 rm -f conftest.$ac_objext conftest$ac_exeext
42297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42298 (eval $ac_link) 2>conftest.er1
42300 grep -v '^ *+' conftest.er1 >conftest.err
42302 cat conftest.err >&5
42303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42304 (exit $ac_status); } &&
42305 { ac_try='test -z "$ac_cxx_werror_flag"
42306 || test ! -s conftest.err'
42307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42308 (eval $ac_try) 2>&5
42310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42311 (exit $ac_status); }; } &&
42312 { ac_try='test -s conftest$ac_exeext'
42313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42314 (eval $ac_try) 2>&5
42316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42317 (exit $ac_status); }; }; then
42318 ac_cv_lib_dl_dlerror=yes
42320 echo "$as_me: failed program was:" >&5
42321 sed 's/^/| /' conftest.$ac_ext >&5
42323 ac_cv_lib_dl_dlerror=no
42325 rm -f conftest.err conftest.$ac_objext \
42326 conftest$ac_exeext conftest.$ac_ext
42327 LIBS=$ac_check_lib_save_LIBS
42329 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42330 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42331 if test $ac_cv_lib_dl_dlerror = yes; then
42332 cat >>confdefs.h <<\_ACEOF
42333 #define HAVE_DLERROR 1
42346 if test "$HAVE_DL_FUNCS" = 0; then
42347 if test "$HAVE_SHL_FUNCS" = 0; then
42348 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42349 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42350 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42351 wxUSE_DYNAMIC_LOADER=no
42352 wxUSE_DYNLIB_CLASS=no
42354 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42355 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42362 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42363 cat >>confdefs.h <<\_ACEOF
42364 #define wxUSE_DYNAMIC_LOADER 1
42368 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42369 cat >>confdefs.h <<\_ACEOF
42370 #define wxUSE_DYNLIB_CLASS 1
42377 if test "$wxUSE_PLUGINS" = "yes" ; then
42378 if test "$wxUSE_SHARED" = "no" ; then
42379 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42380 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42383 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42384 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42385 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42388 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42389 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42390 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42393 if test "$wxUSE_PLUGINS" = "yes" ; then
42394 cat >>confdefs.h <<\_ACEOF
42395 #define wxUSE_PLUGINS 1
42402 if test "$wxUSE_STL" = "yes"; then
42403 cat >>confdefs.h <<\_ACEOF
42404 #define wxUSE_STL 1
42409 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42410 cat >>confdefs.h <<\_ACEOF
42411 #define wxUSE_APPLE_IEEE 1
42416 if test "$wxUSE_TIMER" = "yes"; then
42417 cat >>confdefs.h <<\_ACEOF
42418 #define wxUSE_TIMER 1
42423 if test "$USE_UNIX" = "1" ; then
42424 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42425 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42426 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42427 echo $ECHO_N "(cached) $ECHO_C" >&6
42430 cat >conftest.$ac_ext <<_ACEOF
42433 cat confdefs.h >>conftest.$ac_ext
42434 cat >>conftest.$ac_ext <<_ACEOF
42435 /* end confdefs.h. */
42437 #include <sys/ioctl.h>
42438 #include <sys/soundcard.h>
42444 ioctl(0, SNDCTL_DSP_SPEED, 0);
42450 rm -f conftest.$ac_objext conftest$ac_exeext
42451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42452 (eval $ac_link) 2>conftest.er1
42454 grep -v '^ *+' conftest.er1 >conftest.err
42456 cat conftest.err >&5
42457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42458 (exit $ac_status); } &&
42459 { ac_try='test -z "$ac_cxx_werror_flag"
42460 || test ! -s conftest.err'
42461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42462 (eval $ac_try) 2>&5
42464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42465 (exit $ac_status); }; } &&
42466 { ac_try='test -s conftest$ac_exeext'
42467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42468 (eval $ac_try) 2>&5
42470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42471 (exit $ac_status); }; }; then
42472 ac_cv_header_sys_soundcard=yes
42474 echo "$as_me: failed program was:" >&5
42475 sed 's/^/| /' conftest.$ac_ext >&5
42479 LIBS="$saveLibs -lossaudio"
42480 cat >conftest.$ac_ext <<_ACEOF
42483 cat confdefs.h >>conftest.$ac_ext
42484 cat >>conftest.$ac_ext <<_ACEOF
42485 /* end confdefs.h. */
42487 #include <sys/ioctl.h>
42488 #include <sys/soundcard.h>
42494 ioctl(0, SNDCTL_DSP_SPEED, 0);
42500 rm -f conftest.$ac_objext conftest$ac_exeext
42501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42502 (eval $ac_link) 2>conftest.er1
42504 grep -v '^ *+' conftest.er1 >conftest.err
42506 cat conftest.err >&5
42507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42508 (exit $ac_status); } &&
42509 { ac_try='test -z "$ac_cxx_werror_flag"
42510 || test ! -s conftest.err'
42511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42512 (eval $ac_try) 2>&5
42514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42515 (exit $ac_status); }; } &&
42516 { ac_try='test -s conftest$ac_exeext'
42517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42518 (eval $ac_try) 2>&5
42520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42521 (exit $ac_status); }; }; then
42522 ac_cv_header_sys_soundcard=yes
42524 echo "$as_me: failed program was:" >&5
42525 sed 's/^/| /' conftest.$ac_ext >&5
42529 ac_cv_header_sys_soundcard=no
42533 rm -f conftest.err conftest.$ac_objext \
42534 conftest$ac_exeext conftest.$ac_ext
42538 rm -f conftest.err conftest.$ac_objext \
42539 conftest$ac_exeext conftest.$ac_ext
42542 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42543 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42545 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42546 cat >>confdefs.h <<\_ACEOF
42547 #define HAVE_SYS_SOUNDCARD_H 1
42551 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
42555 if test "$wxUSE_SOUND" = "yes"; then
42556 if test "$USE_UNIX" = "1" ; then
42557 if test "$wxUSE_LIBSDL" != "no"; then
42559 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42560 if test "${with_sdl_prefix+set}" = set; then
42561 withval="$with_sdl_prefix"
42562 sdl_prefix="$withval"
42567 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42568 if test "${with_sdl_exec_prefix+set}" = set; then
42569 withval="$with_sdl_exec_prefix"
42570 sdl_exec_prefix="$withval"
42574 # Check whether --enable-sdltest or --disable-sdltest was given.
42575 if test "${enable_sdltest+set}" = set; then
42576 enableval="$enable_sdltest"
42582 if test x$sdl_exec_prefix != x ; then
42583 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42584 if test x${SDL_CONFIG+set} != xset ; then
42585 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42588 if test x$sdl_prefix != x ; then
42589 sdl_args="$sdl_args --prefix=$sdl_prefix"
42590 if test x${SDL_CONFIG+set} != xset ; then
42591 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42595 if test "x$prefix" != xNONE; then
42596 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42598 # Extract the first word of "sdl-config", so it can be a program name with args.
42599 set dummy sdl-config; ac_word=$2
42600 echo "$as_me:$LINENO: checking for $ac_word" >&5
42601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42602 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42603 echo $ECHO_N "(cached) $ECHO_C" >&6
42605 case $SDL_CONFIG in
42607 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42611 for as_dir in $PATH
42614 test -z "$as_dir" && as_dir=.
42615 for ac_exec_ext in '' $ac_executable_extensions; do
42616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42617 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42624 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42628 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42630 if test -n "$SDL_CONFIG"; then
42631 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42632 echo "${ECHO_T}$SDL_CONFIG" >&6
42634 echo "$as_me:$LINENO: result: no" >&5
42635 echo "${ECHO_T}no" >&6
42638 min_sdl_version=1.2.0
42639 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42640 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42642 if test "$SDL_CONFIG" = "no" ; then
42645 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42646 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42648 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42649 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42650 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42651 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42652 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42653 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42654 if test "x$enable_sdltest" = "xyes" ; then
42655 ac_save_CFLAGS="$CFLAGS"
42656 ac_save_CXXFLAGS="$CXXFLAGS"
42657 ac_save_LIBS="$LIBS"
42658 CFLAGS="$CFLAGS $SDL_CFLAGS"
42659 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42660 LIBS="$LIBS $SDL_LIBS"
42662 if test "$cross_compiling" = yes; then
42663 echo $ac_n "cross compiling; assumed OK... $ac_c"
42665 cat >conftest.$ac_ext <<_ACEOF
42668 cat confdefs.h >>conftest.$ac_ext
42669 cat >>conftest.$ac_ext <<_ACEOF
42670 /* end confdefs.h. */
42673 #include <stdlib.h>
42674 #include <string.h>
42678 my_strdup (char *str)
42684 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42685 strcpy (new_str, str);
42693 int main (int argc, char *argv[])
42695 int major, minor, micro;
42698 /* This hangs on some systems (?)
42699 system ("touch conf.sdltest");
42701 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42703 /* HP/UX 9 (%@#!) writes to sscanf strings */
42704 tmp_version = my_strdup("$min_sdl_version");
42705 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42706 printf("%s, bad version string\n", "$min_sdl_version");
42710 if (($sdl_major_version > major) ||
42711 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42712 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42718 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42719 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42720 printf("*** best to upgrade to the required version.\n");
42721 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42722 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42723 printf("*** config.cache before re-running configure\n");
42730 rm -f conftest$ac_exeext
42731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42732 (eval $ac_link) 2>&5
42734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42735 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42737 (eval $ac_try) 2>&5
42739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42740 (exit $ac_status); }; }; then
42743 echo "$as_me: program exited with status $ac_status" >&5
42744 echo "$as_me: failed program was:" >&5
42745 sed 's/^/| /' conftest.$ac_ext >&5
42747 ( exit $ac_status )
42750 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42752 CFLAGS="$ac_save_CFLAGS"
42753 CXXFLAGS="$ac_save_CXXFLAGS"
42754 LIBS="$ac_save_LIBS"
42757 if test "x$no_sdl" = x ; then
42758 echo "$as_me:$LINENO: result: yes" >&5
42759 echo "${ECHO_T}yes" >&6
42761 EXTRALIBS_SDL="$SDL_LIBS"
42762 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42763 cat >>confdefs.h <<\_ACEOF
42764 #define wxUSE_LIBSDL 1
42769 echo "$as_me:$LINENO: result: no" >&5
42770 echo "${ECHO_T}no" >&6
42771 if test "$SDL_CONFIG" = "no" ; then
42772 echo "*** The sdl-config script installed by SDL could not be found"
42773 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42774 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42775 echo "*** full path to sdl-config."
42777 if test -f conf.sdltest ; then
42780 echo "*** Could not run SDL test program, checking why..."
42781 CFLAGS="$CFLAGS $SDL_CFLAGS"
42782 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42783 LIBS="$LIBS $SDL_LIBS"
42784 cat >conftest.$ac_ext <<_ACEOF
42787 cat confdefs.h >>conftest.$ac_ext
42788 cat >>conftest.$ac_ext <<_ACEOF
42789 /* end confdefs.h. */
42794 int main(int argc, char *argv[])
42797 #define main K_and_R_C_main
42807 rm -f conftest.$ac_objext conftest$ac_exeext
42808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42809 (eval $ac_link) 2>conftest.er1
42811 grep -v '^ *+' conftest.er1 >conftest.err
42813 cat conftest.err >&5
42814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42815 (exit $ac_status); } &&
42816 { ac_try='test -z "$ac_cxx_werror_flag"
42817 || test ! -s conftest.err'
42818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42819 (eval $ac_try) 2>&5
42821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42822 (exit $ac_status); }; } &&
42823 { ac_try='test -s conftest$ac_exeext'
42824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42825 (eval $ac_try) 2>&5
42827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42828 (exit $ac_status); }; }; then
42829 echo "*** The test program compiled, but did not run. This usually means"
42830 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42831 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42832 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42833 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42834 echo "*** is required on your system"
42836 echo "*** If you have an old version installed, it is best to remove it, although"
42837 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42839 echo "$as_me: failed program was:" >&5
42840 sed 's/^/| /' conftest.$ac_ext >&5
42842 echo "*** The test program failed to compile or link. See the file config.log for the"
42843 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42844 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42845 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42847 rm -f conftest.err conftest.$ac_objext \
42848 conftest$ac_exeext conftest.$ac_ext
42849 CFLAGS="$ac_save_CFLAGS"
42850 CXXFLAGS="$ac_save_CXXFLAGS"
42851 LIBS="$ac_save_LIBS"
42862 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42868 cat >>confdefs.h <<\_ACEOF
42869 #define wxUSE_SOUND 1
42872 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42875 if test "$WXGTK20" = 1; then
42876 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42877 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42881 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42882 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42884 if test -n "$PKG_CONFIG"; then
42885 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42886 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42888 if test -n "$PKG_CONFIG" && \
42889 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42890 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42893 (exit $ac_status); }; then
42894 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42902 if test -n "$PKG_CONFIG"; then
42903 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42904 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42906 if test -n "$PKG_CONFIG" && \
42907 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42908 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42911 (exit $ac_status); }; then
42912 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42923 if test $pkg_failed = yes; then
42925 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42926 _pkg_short_errors_supported=yes
42928 _pkg_short_errors_supported=no
42930 if test $_pkg_short_errors_supported = yes; then
42931 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42933 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42935 # Put the nasty error message in config.log where it belongs
42936 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42939 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42940 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42941 wxUSE_LIBGNOMEPRINT="no"
42944 elif test $pkg_failed = untried; then
42946 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42947 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42948 wxUSE_LIBGNOMEPRINT="no"
42952 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42953 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42954 echo "$as_me:$LINENO: result: yes" >&5
42955 echo "${ECHO_T}yes" >&6
42957 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42958 cat >>confdefs.h <<\_ACEOF
42959 #define wxUSE_LIBGNOMEPRINT 1
42968 if test "$WXGTK20" = 1; then
42969 if test "$wxUSE_MIMETYPE" = "yes" ; then
42970 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42974 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42975 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42977 if test -n "$PKG_CONFIG"; then
42978 if test -n "$GNOMEVFS_CFLAGS"; then
42979 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42981 if test -n "$PKG_CONFIG" && \
42982 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42983 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42986 (exit $ac_status); }; then
42987 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42995 if test -n "$PKG_CONFIG"; then
42996 if test -n "$GNOMEVFS_LIBS"; then
42997 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42999 if test -n "$PKG_CONFIG" && \
43000 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43001 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43004 (exit $ac_status); }; then
43005 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43016 if test $pkg_failed = yes; then
43018 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43019 _pkg_short_errors_supported=yes
43021 _pkg_short_errors_supported=no
43023 if test $_pkg_short_errors_supported = yes; then
43024 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43026 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43028 # Put the nasty error message in config.log where it belongs
43029 echo "$GNOMEVFS_PKG_ERRORS" >&5
43032 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43033 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43034 wxUSE_LIBGNOMEVFS="no"
43037 elif test $pkg_failed = untried; then
43039 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43040 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43041 wxUSE_LIBGNOMEVFS="no"
43045 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43046 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43047 echo "$as_me:$LINENO: result: yes" >&5
43048 echo "${ECHO_T}yes" >&6
43050 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43051 cat >>confdefs.h <<\_ACEOF
43052 #define wxUSE_LIBGNOMEVFS 1
43061 if test "$WXGTK20" = 1; then
43062 if test "$wxUSE_LIBHILDON" = "yes" ; then
43065 echo "$as_me:$LINENO: checking for HILDON" >&5
43066 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43068 if test -n "$PKG_CONFIG"; then
43069 if test -n "$HILDON_CFLAGS"; then
43070 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43072 if test -n "$PKG_CONFIG" && \
43073 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43074 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43077 (exit $ac_status); }; then
43078 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43086 if test -n "$PKG_CONFIG"; then
43087 if test -n "$HILDON_LIBS"; then
43088 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43090 if test -n "$PKG_CONFIG" && \
43091 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43092 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43095 (exit $ac_status); }; then
43096 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43107 if test $pkg_failed = yes; then
43109 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43110 _pkg_short_errors_supported=yes
43112 _pkg_short_errors_supported=no
43114 if test $_pkg_short_errors_supported = yes; then
43115 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43117 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43119 # Put the nasty error message in config.log where it belongs
43120 echo "$HILDON_PKG_ERRORS" >&5
43123 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43124 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43125 wxUSE_LIBHILDON="no"
43128 elif test $pkg_failed = untried; then
43130 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43131 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43132 wxUSE_LIBHILDON="no"
43136 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43137 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43138 echo "$as_me:$LINENO: result: yes" >&5
43139 echo "${ECHO_T}yes" >&6
43141 EXTRALIBS_HILDON="$HILDON_LIBS"
43142 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43143 cat >>confdefs.h <<\_ACEOF
43144 #define wxUSE_LIBHILDON 1
43152 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43153 cat >>confdefs.h <<\_ACEOF
43154 #define wxUSE_CMDLINE_PARSER 1
43159 if test "$wxUSE_STOPWATCH" = "yes"; then
43160 cat >>confdefs.h <<\_ACEOF
43161 #define wxUSE_STOPWATCH 1
43166 if test "$wxUSE_DATETIME" = "yes"; then
43167 cat >>confdefs.h <<\_ACEOF
43168 #define wxUSE_DATETIME 1
43173 if test "$wxUSE_FILE" = "yes"; then
43174 cat >>confdefs.h <<\_ACEOF
43175 #define wxUSE_FILE 1
43180 if test "$wxUSE_FFILE" = "yes"; then
43181 cat >>confdefs.h <<\_ACEOF
43182 #define wxUSE_FFILE 1
43187 if test "$wxUSE_FILESYSTEM" = "yes"; then
43188 cat >>confdefs.h <<\_ACEOF
43189 #define wxUSE_FILESYSTEM 1
43194 if test "$wxUSE_FS_ZIP" = "yes"; then
43195 cat >>confdefs.h <<\_ACEOF
43196 #define wxUSE_FS_ZIP 1
43201 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43202 cat >>confdefs.h <<\_ACEOF
43203 #define wxUSE_ARCHIVE_STREAMS 1
43208 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43209 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43210 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43211 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43212 elif test "$wxUSE_ZLIB" = "no"; then
43213 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43214 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43216 cat >>confdefs.h <<\_ACEOF
43217 #define wxUSE_ZIPSTREAM 1
43223 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43224 if test "$USE_UNIX" != 1; then
43225 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43226 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43227 wxUSE_ON_FATAL_EXCEPTION=no
43229 cat >>confdefs.h <<\_ACEOF
43230 #define wxUSE_ON_FATAL_EXCEPTION 1
43236 if test "$wxUSE_STACKWALKER" = "yes"; then
43237 cat >>confdefs.h <<\_ACEOF
43238 #define wxUSE_STACKWALKER 1
43243 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43244 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43245 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43246 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43247 wxUSE_DEBUGREPORT=no
43249 cat >>confdefs.h <<\_ACEOF
43250 #define wxUSE_DEBUGREPORT 1
43253 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43254 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43259 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43260 cat >>confdefs.h <<\_ACEOF
43261 #define wxUSE_SNGLINST_CHECKER 1
43266 if test "$wxUSE_BUSYINFO" = "yes"; then
43267 cat >>confdefs.h <<\_ACEOF
43268 #define wxUSE_BUSYINFO 1
43273 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43274 cat >>confdefs.h <<\_ACEOF
43275 #define wxUSE_STD_IOSTREAM 1
43280 if test "$wxUSE_STD_STRING" = "yes"; then
43281 cat >>confdefs.h <<\_ACEOF
43282 #define wxUSE_STD_STRING 1
43287 if test "$wxUSE_STDPATHS" = "yes"; then
43288 cat >>confdefs.h <<\_ACEOF
43289 #define wxUSE_STDPATHS 1
43294 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43295 cat >>confdefs.h <<\_ACEOF
43296 #define wxUSE_TEXTBUFFER 1
43301 if test "$wxUSE_TEXTFILE" = "yes"; then
43302 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43303 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43304 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43306 cat >>confdefs.h <<\_ACEOF
43307 #define wxUSE_TEXTFILE 1
43313 if test "$wxUSE_CONFIG" = "yes" ; then
43314 if test "$wxUSE_TEXTFILE" != "yes"; then
43315 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43316 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43318 cat >>confdefs.h <<\_ACEOF
43319 #define wxUSE_CONFIG 1
43322 cat >>confdefs.h <<\_ACEOF
43323 #define wxUSE_CONFIG_NATIVE 1
43326 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43330 if test "$wxUSE_INTL" = "yes" ; then
43331 if test "$wxUSE_FILE" != "yes"; then
43332 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43333 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43335 cat >>confdefs.h <<\_ACEOF
43336 #define wxUSE_INTL 1
43339 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43340 GUIDIST="$GUIDIST INTL_DIST"
43344 if test "$wxUSE_LOG" = "yes"; then
43345 cat >>confdefs.h <<\_ACEOF
43346 #define wxUSE_LOG 1
43350 if test "$wxUSE_LOGGUI" = "yes"; then
43351 cat >>confdefs.h <<\_ACEOF
43352 #define wxUSE_LOGGUI 1
43357 if test "$wxUSE_LOGWINDOW" = "yes"; then
43358 cat >>confdefs.h <<\_ACEOF
43359 #define wxUSE_LOGWINDOW 1
43364 if test "$wxUSE_LOGDIALOG" = "yes"; then
43365 cat >>confdefs.h <<\_ACEOF
43366 #define wxUSE_LOG_DIALOG 1
43371 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43374 if test "$wxUSE_LONGLONG" = "yes"; then
43375 cat >>confdefs.h <<\_ACEOF
43376 #define wxUSE_LONGLONG 1
43381 if test "$wxUSE_GEOMETRY" = "yes"; then
43382 cat >>confdefs.h <<\_ACEOF
43383 #define wxUSE_GEOMETRY 1
43388 if test "$wxUSE_STREAMS" = "yes" ; then
43389 cat >>confdefs.h <<\_ACEOF
43390 #define wxUSE_STREAMS 1
43395 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43396 cat >>confdefs.h <<\_ACEOF
43397 #define wxUSE_PRINTF_POS_PARAMS 1
43404 if test "$wxUSE_DATETIME" = "yes"; then
43406 for ac_func in strptime
43408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43409 echo "$as_me:$LINENO: checking for $ac_func" >&5
43410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43411 if eval "test \"\${$as_ac_var+set}\" = set"; then
43412 echo $ECHO_N "(cached) $ECHO_C" >&6
43414 cat >conftest.$ac_ext <<_ACEOF
43417 cat confdefs.h >>conftest.$ac_ext
43418 cat >>conftest.$ac_ext <<_ACEOF
43419 /* end confdefs.h. */
43420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43422 #define $ac_func innocuous_$ac_func
43424 /* System header to define __stub macros and hopefully few prototypes,
43425 which can conflict with char $ac_func (); below.
43426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43427 <limits.h> exists even on freestanding compilers. */
43430 # include <limits.h>
43432 # include <assert.h>
43437 /* Override any gcc2 internal prototype to avoid an error. */
43442 /* We use char because int might match the return type of a gcc2
43443 builtin and then its argument prototype would still apply. */
43445 /* The GNU C library defines this for functions which it implements
43446 to always fail with ENOSYS. Some functions are actually named
43447 something starting with __ and the normal name is an alias. */
43448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43451 char (*f) () = $ac_func;
43460 return f != $ac_func;
43465 rm -f conftest.$ac_objext conftest$ac_exeext
43466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43467 (eval $ac_link) 2>conftest.er1
43469 grep -v '^ *+' conftest.er1 >conftest.err
43471 cat conftest.err >&5
43472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43473 (exit $ac_status); } &&
43474 { ac_try='test -z "$ac_cxx_werror_flag"
43475 || test ! -s conftest.err'
43476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43477 (eval $ac_try) 2>&5
43479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43480 (exit $ac_status); }; } &&
43481 { ac_try='test -s conftest$ac_exeext'
43482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43483 (eval $ac_try) 2>&5
43485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43486 (exit $ac_status); }; }; then
43487 eval "$as_ac_var=yes"
43489 echo "$as_me: failed program was:" >&5
43490 sed 's/^/| /' conftest.$ac_ext >&5
43492 eval "$as_ac_var=no"
43494 rm -f conftest.err conftest.$ac_objext \
43495 conftest$ac_exeext conftest.$ac_ext
43497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43499 if test `eval echo '${'$as_ac_var'}'` = yes; then
43500 cat >>confdefs.h <<_ACEOF
43501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43507 if test "$ac_cv_func_strptime" = "yes"; then
43508 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43509 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43510 if test "${wx_cv_func_strptime_decl+set}" = set; then
43511 echo $ECHO_N "(cached) $ECHO_C" >&6
43514 cat >conftest.$ac_ext <<_ACEOF
43517 cat confdefs.h >>conftest.$ac_ext
43518 cat >>conftest.$ac_ext <<_ACEOF
43519 /* end confdefs.h. */
43528 strptime("foo", "bar", &t);
43534 rm -f conftest.$ac_objext
43535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43536 (eval $ac_compile) 2>conftest.er1
43538 grep -v '^ *+' conftest.er1 >conftest.err
43540 cat conftest.err >&5
43541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43542 (exit $ac_status); } &&
43543 { ac_try='test -z "$ac_cxx_werror_flag"
43544 || test ! -s conftest.err'
43545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43546 (eval $ac_try) 2>&5
43548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43549 (exit $ac_status); }; } &&
43550 { ac_try='test -s conftest.$ac_objext'
43551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43552 (eval $ac_try) 2>&5
43554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43555 (exit $ac_status); }; }; then
43556 wx_cv_func_strptime_decl=yes
43558 echo "$as_me: failed program was:" >&5
43559 sed 's/^/| /' conftest.$ac_ext >&5
43561 wx_cv_func_strptime_decl=no
43564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43568 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43569 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43571 if test "$wx_cv_func_strptime_decl" = "yes"; then
43572 cat >>confdefs.h <<\_ACEOF
43573 #define HAVE_STRPTIME_DECL 1
43578 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43579 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43580 if test "${wx_cv_var_timezone+set}" = set; then
43581 echo $ECHO_N "(cached) $ECHO_C" >&6
43584 cat >conftest.$ac_ext <<_ACEOF
43587 cat confdefs.h >>conftest.$ac_ext
43588 cat >>conftest.$ac_ext <<_ACEOF
43589 /* end confdefs.h. */
43604 rm -f conftest.$ac_objext
43605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43606 (eval $ac_compile) 2>conftest.er1
43608 grep -v '^ *+' conftest.er1 >conftest.err
43610 cat conftest.err >&5
43611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43612 (exit $ac_status); } &&
43613 { ac_try='test -z "$ac_cxx_werror_flag"
43614 || test ! -s conftest.err'
43615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43616 (eval $ac_try) 2>&5
43618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43619 (exit $ac_status); }; } &&
43620 { ac_try='test -s conftest.$ac_objext'
43621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43622 (eval $ac_try) 2>&5
43624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43625 (exit $ac_status); }; }; then
43627 wx_cv_var_timezone=timezone
43630 echo "$as_me: failed program was:" >&5
43631 sed 's/^/| /' conftest.$ac_ext >&5
43634 cat >conftest.$ac_ext <<_ACEOF
43637 cat confdefs.h >>conftest.$ac_ext
43638 cat >>conftest.$ac_ext <<_ACEOF
43639 /* end confdefs.h. */
43654 rm -f conftest.$ac_objext
43655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43656 (eval $ac_compile) 2>conftest.er1
43658 grep -v '^ *+' conftest.er1 >conftest.err
43660 cat conftest.err >&5
43661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43662 (exit $ac_status); } &&
43663 { ac_try='test -z "$ac_cxx_werror_flag"
43664 || test ! -s conftest.err'
43665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43666 (eval $ac_try) 2>&5
43668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43669 (exit $ac_status); }; } &&
43670 { ac_try='test -s conftest.$ac_objext'
43671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43672 (eval $ac_try) 2>&5
43674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43675 (exit $ac_status); }; }; then
43677 wx_cv_var_timezone=_timezone
43680 echo "$as_me: failed program was:" >&5
43681 sed 's/^/| /' conftest.$ac_ext >&5
43684 cat >conftest.$ac_ext <<_ACEOF
43687 cat confdefs.h >>conftest.$ac_ext
43688 cat >>conftest.$ac_ext <<_ACEOF
43689 /* end confdefs.h. */
43704 rm -f conftest.$ac_objext
43705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43706 (eval $ac_compile) 2>conftest.er1
43708 grep -v '^ *+' conftest.er1 >conftest.err
43710 cat conftest.err >&5
43711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43712 (exit $ac_status); } &&
43713 { ac_try='test -z "$ac_cxx_werror_flag"
43714 || test ! -s conftest.err'
43715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43716 (eval $ac_try) 2>&5
43718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43719 (exit $ac_status); }; } &&
43720 { ac_try='test -s conftest.$ac_objext'
43721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43722 (eval $ac_try) 2>&5
43724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43725 (exit $ac_status); }; }; then
43727 wx_cv_var_timezone=__timezone
43730 echo "$as_me: failed program was:" >&5
43731 sed 's/^/| /' conftest.$ac_ext >&5
43734 if test "$USE_DOS" = 0 ; then
43735 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43736 echo "$as_me: WARNING: no timezone variable" >&2;}
43741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43753 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43754 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43756 if test "x$wx_cv_var_timezone" != x ; then
43757 cat >>confdefs.h <<_ACEOF
43758 #define WX_TIMEZONE $wx_cv_var_timezone
43764 for ac_func in localtime
43766 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43767 echo "$as_me:$LINENO: checking for $ac_func" >&5
43768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43769 if eval "test \"\${$as_ac_var+set}\" = set"; then
43770 echo $ECHO_N "(cached) $ECHO_C" >&6
43772 cat >conftest.$ac_ext <<_ACEOF
43775 cat confdefs.h >>conftest.$ac_ext
43776 cat >>conftest.$ac_ext <<_ACEOF
43777 /* end confdefs.h. */
43778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43780 #define $ac_func innocuous_$ac_func
43782 /* System header to define __stub macros and hopefully few prototypes,
43783 which can conflict with char $ac_func (); below.
43784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43785 <limits.h> exists even on freestanding compilers. */
43788 # include <limits.h>
43790 # include <assert.h>
43795 /* Override any gcc2 internal prototype to avoid an error. */
43800 /* We use char because int might match the return type of a gcc2
43801 builtin and then its argument prototype would still apply. */
43803 /* The GNU C library defines this for functions which it implements
43804 to always fail with ENOSYS. Some functions are actually named
43805 something starting with __ and the normal name is an alias. */
43806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43809 char (*f) () = $ac_func;
43818 return f != $ac_func;
43823 rm -f conftest.$ac_objext conftest$ac_exeext
43824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43825 (eval $ac_link) 2>conftest.er1
43827 grep -v '^ *+' conftest.er1 >conftest.err
43829 cat conftest.err >&5
43830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43831 (exit $ac_status); } &&
43832 { ac_try='test -z "$ac_cxx_werror_flag"
43833 || test ! -s conftest.err'
43834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43835 (eval $ac_try) 2>&5
43837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43838 (exit $ac_status); }; } &&
43839 { ac_try='test -s conftest$ac_exeext'
43840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43841 (eval $ac_try) 2>&5
43843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43844 (exit $ac_status); }; }; then
43845 eval "$as_ac_var=yes"
43847 echo "$as_me: failed program was:" >&5
43848 sed 's/^/| /' conftest.$ac_ext >&5
43850 eval "$as_ac_var=no"
43852 rm -f conftest.err conftest.$ac_objext \
43853 conftest$ac_exeext conftest.$ac_ext
43855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43857 if test `eval echo '${'$as_ac_var'}'` = yes; then
43858 cat >>confdefs.h <<_ACEOF
43859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43866 if test "$ac_cv_func_localtime" = "yes"; then
43867 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43868 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43869 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43870 echo $ECHO_N "(cached) $ECHO_C" >&6
43873 cat >conftest.$ac_ext <<_ACEOF
43876 cat confdefs.h >>conftest.$ac_ext
43877 cat >>conftest.$ac_ext <<_ACEOF
43878 /* end confdefs.h. */
43893 rm -f conftest.$ac_objext
43894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43895 (eval $ac_compile) 2>conftest.er1
43897 grep -v '^ *+' conftest.er1 >conftest.err
43899 cat conftest.err >&5
43900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43901 (exit $ac_status); } &&
43902 { ac_try='test -z "$ac_cxx_werror_flag"
43903 || test ! -s conftest.err'
43904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43905 (eval $ac_try) 2>&5
43907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43908 (exit $ac_status); }; } &&
43909 { ac_try='test -s conftest.$ac_objext'
43910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43911 (eval $ac_try) 2>&5
43913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43914 (exit $ac_status); }; }; then
43916 wx_cv_struct_tm_has_gmtoff=yes
43919 echo "$as_me: failed program was:" >&5
43920 sed 's/^/| /' conftest.$ac_ext >&5
43922 wx_cv_struct_tm_has_gmtoff=no
43925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43928 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43929 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43932 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43933 cat >>confdefs.h <<\_ACEOF
43934 #define WX_GMTOFF_IN_TM 1
43941 for ac_func in gettimeofday ftime
43943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43944 echo "$as_me:$LINENO: checking for $ac_func" >&5
43945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43946 if eval "test \"\${$as_ac_var+set}\" = set"; then
43947 echo $ECHO_N "(cached) $ECHO_C" >&6
43949 cat >conftest.$ac_ext <<_ACEOF
43952 cat confdefs.h >>conftest.$ac_ext
43953 cat >>conftest.$ac_ext <<_ACEOF
43954 /* end confdefs.h. */
43955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43957 #define $ac_func innocuous_$ac_func
43959 /* System header to define __stub macros and hopefully few prototypes,
43960 which can conflict with char $ac_func (); below.
43961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43962 <limits.h> exists even on freestanding compilers. */
43965 # include <limits.h>
43967 # include <assert.h>
43972 /* Override any gcc2 internal prototype to avoid an error. */
43977 /* We use char because int might match the return type of a gcc2
43978 builtin and then its argument prototype would still apply. */
43980 /* The GNU C library defines this for functions which it implements
43981 to always fail with ENOSYS. Some functions are actually named
43982 something starting with __ and the normal name is an alias. */
43983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43986 char (*f) () = $ac_func;
43995 return f != $ac_func;
44000 rm -f conftest.$ac_objext conftest$ac_exeext
44001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44002 (eval $ac_link) 2>conftest.er1
44004 grep -v '^ *+' conftest.er1 >conftest.err
44006 cat conftest.err >&5
44007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44008 (exit $ac_status); } &&
44009 { ac_try='test -z "$ac_cxx_werror_flag"
44010 || test ! -s conftest.err'
44011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44012 (eval $ac_try) 2>&5
44014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44015 (exit $ac_status); }; } &&
44016 { ac_try='test -s conftest$ac_exeext'
44017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44018 (eval $ac_try) 2>&5
44020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44021 (exit $ac_status); }; }; then
44022 eval "$as_ac_var=yes"
44024 echo "$as_me: failed program was:" >&5
44025 sed 's/^/| /' conftest.$ac_ext >&5
44027 eval "$as_ac_var=no"
44029 rm -f conftest.err conftest.$ac_objext \
44030 conftest$ac_exeext conftest.$ac_ext
44032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44034 if test `eval echo '${'$as_ac_var'}'` = yes; then
44035 cat >>confdefs.h <<_ACEOF
44036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44043 if test "$ac_cv_func_gettimeofday" = "yes"; then
44044 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44045 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44046 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44047 echo $ECHO_N "(cached) $ECHO_C" >&6
44050 cat >conftest.$ac_ext <<_ACEOF
44053 cat confdefs.h >>conftest.$ac_ext
44054 cat >>conftest.$ac_ext <<_ACEOF
44055 /* end confdefs.h. */
44057 #include <sys/time.h>
44058 #include <unistd.h>
44065 gettimeofday(&tv, NULL);
44071 rm -f conftest.$ac_objext
44072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44073 (eval $ac_compile) 2>conftest.er1
44075 grep -v '^ *+' conftest.er1 >conftest.err
44077 cat conftest.err >&5
44078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44079 (exit $ac_status); } &&
44080 { ac_try='test -z "$ac_cxx_werror_flag"
44081 || test ! -s conftest.err'
44082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44083 (eval $ac_try) 2>&5
44085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44086 (exit $ac_status); }; } &&
44087 { ac_try='test -s conftest.$ac_objext'
44088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44089 (eval $ac_try) 2>&5
44091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44092 (exit $ac_status); }; }; then
44093 wx_cv_func_gettimeofday_has_2_args=yes
44095 echo "$as_me: failed program was:" >&5
44096 sed 's/^/| /' conftest.$ac_ext >&5
44098 cat >conftest.$ac_ext <<_ACEOF
44101 cat confdefs.h >>conftest.$ac_ext
44102 cat >>conftest.$ac_ext <<_ACEOF
44103 /* end confdefs.h. */
44105 #include <sys/time.h>
44106 #include <unistd.h>
44119 rm -f conftest.$ac_objext
44120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44121 (eval $ac_compile) 2>conftest.er1
44123 grep -v '^ *+' conftest.er1 >conftest.err
44125 cat conftest.err >&5
44126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44127 (exit $ac_status); } &&
44128 { ac_try='test -z "$ac_cxx_werror_flag"
44129 || test ! -s conftest.err'
44130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44131 (eval $ac_try) 2>&5
44133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44134 (exit $ac_status); }; } &&
44135 { ac_try='test -s conftest.$ac_objext'
44136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44137 (eval $ac_try) 2>&5
44139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44140 (exit $ac_status); }; }; then
44141 wx_cv_func_gettimeofday_has_2_args=no
44143 echo "$as_me: failed program was:" >&5
44144 sed 's/^/| /' conftest.$ac_ext >&5
44147 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44148 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44149 wx_cv_func_gettimeofday_has_2_args=unknown
44153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44159 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44160 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44162 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44163 cat >>confdefs.h <<\_ACEOF
44164 #define WX_GETTIMEOFDAY_NO_TZ 1
44170 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44174 if test "$wxUSE_SOCKETS" = "yes"; then
44175 if test "$wxUSE_MGL" = "1"; then
44176 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44177 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44182 if test "$wxUSE_SOCKETS" = "yes"; then
44183 if test "$TOOLKIT" != "MSW"; then
44184 echo "$as_me:$LINENO: checking for socket" >&5
44185 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44186 if test "${ac_cv_func_socket+set}" = set; then
44187 echo $ECHO_N "(cached) $ECHO_C" >&6
44189 cat >conftest.$ac_ext <<_ACEOF
44192 cat confdefs.h >>conftest.$ac_ext
44193 cat >>conftest.$ac_ext <<_ACEOF
44194 /* end confdefs.h. */
44195 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44197 #define socket innocuous_socket
44199 /* System header to define __stub macros and hopefully few prototypes,
44200 which can conflict with char socket (); below.
44201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44202 <limits.h> exists even on freestanding compilers. */
44205 # include <limits.h>
44207 # include <assert.h>
44212 /* Override any gcc2 internal prototype to avoid an error. */
44217 /* We use char because int might match the return type of a gcc2
44218 builtin and then its argument prototype would still apply. */
44220 /* The GNU C library defines this for functions which it implements
44221 to always fail with ENOSYS. Some functions are actually named
44222 something starting with __ and the normal name is an alias. */
44223 #if defined (__stub_socket) || defined (__stub___socket)
44226 char (*f) () = socket;
44235 return f != socket;
44240 rm -f conftest.$ac_objext conftest$ac_exeext
44241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44242 (eval $ac_link) 2>conftest.er1
44244 grep -v '^ *+' conftest.er1 >conftest.err
44246 cat conftest.err >&5
44247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44248 (exit $ac_status); } &&
44249 { ac_try='test -z "$ac_cxx_werror_flag"
44250 || test ! -s conftest.err'
44251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44252 (eval $ac_try) 2>&5
44254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44255 (exit $ac_status); }; } &&
44256 { ac_try='test -s conftest$ac_exeext'
44257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44258 (eval $ac_try) 2>&5
44260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44261 (exit $ac_status); }; }; then
44262 ac_cv_func_socket=yes
44264 echo "$as_me: failed program was:" >&5
44265 sed 's/^/| /' conftest.$ac_ext >&5
44267 ac_cv_func_socket=no
44269 rm -f conftest.err conftest.$ac_objext \
44270 conftest$ac_exeext conftest.$ac_ext
44272 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44273 echo "${ECHO_T}$ac_cv_func_socket" >&6
44274 if test $ac_cv_func_socket = yes; then
44278 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44279 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44280 if test "${ac_cv_lib_socket_socket+set}" = set; then
44281 echo $ECHO_N "(cached) $ECHO_C" >&6
44283 ac_check_lib_save_LIBS=$LIBS
44284 LIBS="-lsocket $LIBS"
44285 cat >conftest.$ac_ext <<_ACEOF
44288 cat confdefs.h >>conftest.$ac_ext
44289 cat >>conftest.$ac_ext <<_ACEOF
44290 /* end confdefs.h. */
44292 /* Override any gcc2 internal prototype to avoid an error. */
44296 /* We use char because int might match the return type of a gcc2
44297 builtin and then its argument prototype would still apply. */
44307 rm -f conftest.$ac_objext conftest$ac_exeext
44308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44309 (eval $ac_link) 2>conftest.er1
44311 grep -v '^ *+' conftest.er1 >conftest.err
44313 cat conftest.err >&5
44314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44315 (exit $ac_status); } &&
44316 { ac_try='test -z "$ac_cxx_werror_flag"
44317 || test ! -s conftest.err'
44318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44319 (eval $ac_try) 2>&5
44321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44322 (exit $ac_status); }; } &&
44323 { ac_try='test -s conftest$ac_exeext'
44324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44325 (eval $ac_try) 2>&5
44327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44328 (exit $ac_status); }; }; then
44329 ac_cv_lib_socket_socket=yes
44331 echo "$as_me: failed program was:" >&5
44332 sed 's/^/| /' conftest.$ac_ext >&5
44334 ac_cv_lib_socket_socket=no
44336 rm -f conftest.err conftest.$ac_objext \
44337 conftest$ac_exeext conftest.$ac_ext
44338 LIBS=$ac_check_lib_save_LIBS
44340 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44341 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44342 if test $ac_cv_lib_socket_socket = yes; then
44343 if test "$INET_LINK" != " -lsocket"; then
44344 INET_LINK="$INET_LINK -lsocket"
44348 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44349 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44362 if test "$wxUSE_SOCKETS" = "yes" ; then
44363 if test "$TOOLKIT" != "MSW"; then
44364 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44365 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44366 if test "${wx_cv_type_getsockname3+set}" = set; then
44367 echo $ECHO_N "(cached) $ECHO_C" >&6
44370 cat >conftest.$ac_ext <<_ACEOF
44373 cat confdefs.h >>conftest.$ac_ext
44374 cat >>conftest.$ac_ext <<_ACEOF
44375 /* end confdefs.h. */
44377 #include <sys/types.h>
44378 #include <sys/socket.h>
44385 getsockname(0, 0, &len);
44391 rm -f conftest.$ac_objext
44392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44393 (eval $ac_compile) 2>conftest.er1
44395 grep -v '^ *+' conftest.er1 >conftest.err
44397 cat conftest.err >&5
44398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44399 (exit $ac_status); } &&
44400 { ac_try='test -z "$ac_cxx_werror_flag"
44401 || test ! -s conftest.err'
44402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44403 (eval $ac_try) 2>&5
44405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44406 (exit $ac_status); }; } &&
44407 { ac_try='test -s conftest.$ac_objext'
44408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44409 (eval $ac_try) 2>&5
44411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44412 (exit $ac_status); }; }; then
44413 wx_cv_type_getsockname3=socklen_t
44415 echo "$as_me: failed program was:" >&5
44416 sed 's/^/| /' conftest.$ac_ext >&5
44419 CXXFLAGS_OLD="$CXXFLAGS"
44420 if test "$GCC" = yes ; then
44421 CXXFLAGS="-Werror $CXXFLAGS"
44424 cat >conftest.$ac_ext <<_ACEOF
44427 cat confdefs.h >>conftest.$ac_ext
44428 cat >>conftest.$ac_ext <<_ACEOF
44429 /* end confdefs.h. */
44431 #include <sys/types.h>
44432 #include <sys/socket.h>
44439 getsockname(0, 0, &len);
44445 rm -f conftest.$ac_objext
44446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44447 (eval $ac_compile) 2>conftest.er1
44449 grep -v '^ *+' conftest.er1 >conftest.err
44451 cat conftest.err >&5
44452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44453 (exit $ac_status); } &&
44454 { ac_try='test -z "$ac_cxx_werror_flag"
44455 || test ! -s conftest.err'
44456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44457 (eval $ac_try) 2>&5
44459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44460 (exit $ac_status); }; } &&
44461 { ac_try='test -s conftest.$ac_objext'
44462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44463 (eval $ac_try) 2>&5
44465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44466 (exit $ac_status); }; }; then
44467 wx_cv_type_getsockname3=size_t
44469 echo "$as_me: failed program was:" >&5
44470 sed 's/^/| /' conftest.$ac_ext >&5
44472 cat >conftest.$ac_ext <<_ACEOF
44475 cat confdefs.h >>conftest.$ac_ext
44476 cat >>conftest.$ac_ext <<_ACEOF
44477 /* end confdefs.h. */
44479 #include <sys/types.h>
44480 #include <sys/socket.h>
44487 getsockname(0, 0, &len);
44493 rm -f conftest.$ac_objext
44494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44495 (eval $ac_compile) 2>conftest.er1
44497 grep -v '^ *+' conftest.er1 >conftest.err
44499 cat conftest.err >&5
44500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44501 (exit $ac_status); } &&
44502 { ac_try='test -z "$ac_cxx_werror_flag"
44503 || test ! -s conftest.err'
44504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44505 (eval $ac_try) 2>&5
44507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44508 (exit $ac_status); }; } &&
44509 { ac_try='test -s conftest.$ac_objext'
44510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44511 (eval $ac_try) 2>&5
44513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44514 (exit $ac_status); }; }; then
44515 wx_cv_type_getsockname3=int
44517 echo "$as_me: failed program was:" >&5
44518 sed 's/^/| /' conftest.$ac_ext >&5
44520 wx_cv_type_getsockname3=unknown
44523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44528 CXXFLAGS="$CXXFLAGS_OLD"
44532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44535 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44536 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44538 if test "$wx_cv_type_getsockname3" = "unknown"; then
44540 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44541 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44543 cat >>confdefs.h <<_ACEOF
44544 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44548 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44549 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44550 if test "${wx_cv_type_getsockopt5+set}" = set; then
44551 echo $ECHO_N "(cached) $ECHO_C" >&6
44554 cat >conftest.$ac_ext <<_ACEOF
44557 cat confdefs.h >>conftest.$ac_ext
44558 cat >>conftest.$ac_ext <<_ACEOF
44559 /* end confdefs.h. */
44561 #include <sys/types.h>
44562 #include <sys/socket.h>
44569 getsockopt(0, 0, 0, 0, &len);
44575 rm -f conftest.$ac_objext
44576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44577 (eval $ac_compile) 2>conftest.er1
44579 grep -v '^ *+' conftest.er1 >conftest.err
44581 cat conftest.err >&5
44582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44583 (exit $ac_status); } &&
44584 { ac_try='test -z "$ac_cxx_werror_flag"
44585 || test ! -s conftest.err'
44586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44587 (eval $ac_try) 2>&5
44589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44590 (exit $ac_status); }; } &&
44591 { ac_try='test -s conftest.$ac_objext'
44592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44593 (eval $ac_try) 2>&5
44595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44596 (exit $ac_status); }; }; then
44597 wx_cv_type_getsockopt5=socklen_t
44599 echo "$as_me: failed program was:" >&5
44600 sed 's/^/| /' conftest.$ac_ext >&5
44603 CXXFLAGS_OLD="$CXXFLAGS"
44604 if test "$GCC" = yes ; then
44605 CXXFLAGS="-Werror $CXXFLAGS"
44608 cat >conftest.$ac_ext <<_ACEOF
44611 cat confdefs.h >>conftest.$ac_ext
44612 cat >>conftest.$ac_ext <<_ACEOF
44613 /* end confdefs.h. */
44615 #include <sys/types.h>
44616 #include <sys/socket.h>
44623 getsockopt(0, 0, 0, 0, &len);
44629 rm -f conftest.$ac_objext
44630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44631 (eval $ac_compile) 2>conftest.er1
44633 grep -v '^ *+' conftest.er1 >conftest.err
44635 cat conftest.err >&5
44636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44637 (exit $ac_status); } &&
44638 { ac_try='test -z "$ac_cxx_werror_flag"
44639 || test ! -s conftest.err'
44640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44641 (eval $ac_try) 2>&5
44643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44644 (exit $ac_status); }; } &&
44645 { ac_try='test -s conftest.$ac_objext'
44646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44647 (eval $ac_try) 2>&5
44649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44650 (exit $ac_status); }; }; then
44651 wx_cv_type_getsockopt5=size_t
44653 echo "$as_me: failed program was:" >&5
44654 sed 's/^/| /' conftest.$ac_ext >&5
44656 cat >conftest.$ac_ext <<_ACEOF
44659 cat confdefs.h >>conftest.$ac_ext
44660 cat >>conftest.$ac_ext <<_ACEOF
44661 /* end confdefs.h. */
44663 #include <sys/types.h>
44664 #include <sys/socket.h>
44671 getsockopt(0, 0, 0, 0, &len);
44677 rm -f conftest.$ac_objext
44678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44679 (eval $ac_compile) 2>conftest.er1
44681 grep -v '^ *+' conftest.er1 >conftest.err
44683 cat conftest.err >&5
44684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44685 (exit $ac_status); } &&
44686 { ac_try='test -z "$ac_cxx_werror_flag"
44687 || test ! -s conftest.err'
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); }; } &&
44693 { ac_try='test -s conftest.$ac_objext'
44694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44695 (eval $ac_try) 2>&5
44697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44698 (exit $ac_status); }; }; then
44699 wx_cv_type_getsockopt5=int
44701 echo "$as_me: failed program was:" >&5
44702 sed 's/^/| /' conftest.$ac_ext >&5
44704 wx_cv_type_getsockopt5=unknown
44707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44712 CXXFLAGS="$CXXFLAGS_OLD"
44716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44719 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44720 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44722 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44724 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44725 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44727 cat >>confdefs.h <<_ACEOF
44728 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44735 if test "$wxUSE_SOCKETS" = "yes" ; then
44736 cat >>confdefs.h <<\_ACEOF
44737 #define wxUSE_SOCKETS 1
44740 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44743 if test "$wxUSE_PROTOCOL" = "yes"; then
44744 if test "$wxUSE_SOCKETS" != "yes"; then
44745 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44746 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44751 if test "$wxUSE_PROTOCOL" = "yes"; then
44752 cat >>confdefs.h <<\_ACEOF
44753 #define wxUSE_PROTOCOL 1
44757 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44758 cat >>confdefs.h <<\_ACEOF
44759 #define wxUSE_PROTOCOL_HTTP 1
44763 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44764 cat >>confdefs.h <<\_ACEOF
44765 #define wxUSE_PROTOCOL_FTP 1
44769 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44770 cat >>confdefs.h <<\_ACEOF
44771 #define wxUSE_PROTOCOL_FILE 1
44776 if test "$wxUSE_FS_INET" = "yes"; then
44777 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44778 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44783 if test "$wxUSE_URL" = "yes"; then
44784 if test "$wxUSE_PROTOCOL" != "yes"; then
44785 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44786 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44789 if test "$wxUSE_URL" = "yes"; then
44790 cat >>confdefs.h <<\_ACEOF
44791 #define wxUSE_URL 1
44797 if test "$wxUSE_VARIANT" = "yes"; then
44798 cat >>confdefs.h <<\_ACEOF
44799 #define wxUSE_VARIANT 1
44804 if test "$wxUSE_FS_INET" = "yes"; then
44805 cat >>confdefs.h <<\_ACEOF
44806 #define wxUSE_FS_INET 1
44812 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44815 if test "$TOOLKIT" = "MSW"; then
44818 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44819 if test "$USE_DARWIN" = 1; then
44820 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44821 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44822 cat >conftest.$ac_ext <<_ACEOF
44825 cat confdefs.h >>conftest.$ac_ext
44826 cat >>conftest.$ac_ext <<_ACEOF
44827 /* end confdefs.h. */
44828 #include <IOKit/hid/IOHIDLib.h>
44832 IOHIDQueueInterface *qi = NULL;
44833 IOHIDCallbackFunction cb = NULL;
44834 qi->setEventCallout(NULL, cb, NULL, NULL);
44839 rm -f conftest.$ac_objext
44840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44841 (eval $ac_compile) 2>conftest.er1
44843 grep -v '^ *+' conftest.er1 >conftest.err
44845 cat conftest.err >&5
44846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44847 (exit $ac_status); } &&
44848 { ac_try='test -z "$ac_cxx_werror_flag"
44849 || test ! -s conftest.err'
44850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44851 (eval $ac_try) 2>&5
44853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44854 (exit $ac_status); }; } &&
44855 { ac_try='test -s conftest.$ac_objext'
44856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44857 (eval $ac_try) 2>&5
44859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44860 (exit $ac_status); }; }; then
44864 echo "$as_me: failed program was:" >&5
44865 sed 's/^/| /' conftest.$ac_ext >&5
44868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44869 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44870 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44875 for ac_header in linux/joystick.h
44877 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44879 echo "$as_me:$LINENO: checking for $ac_header" >&5
44880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44882 echo $ECHO_N "(cached) $ECHO_C" >&6
44884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44885 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44887 # Is the header compilable?
44888 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44889 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44890 cat >conftest.$ac_ext <<_ACEOF
44893 cat confdefs.h >>conftest.$ac_ext
44894 cat >>conftest.$ac_ext <<_ACEOF
44895 /* end confdefs.h. */
44896 $ac_includes_default
44897 #include <$ac_header>
44899 rm -f conftest.$ac_objext
44900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44901 (eval $ac_compile) 2>conftest.er1
44903 grep -v '^ *+' conftest.er1 >conftest.err
44905 cat conftest.err >&5
44906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44907 (exit $ac_status); } &&
44908 { ac_try='test -z "$ac_cxx_werror_flag"
44909 || test ! -s conftest.err'
44910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44911 (eval $ac_try) 2>&5
44913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44914 (exit $ac_status); }; } &&
44915 { ac_try='test -s conftest.$ac_objext'
44916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44917 (eval $ac_try) 2>&5
44919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44920 (exit $ac_status); }; }; then
44921 ac_header_compiler=yes
44923 echo "$as_me: failed program was:" >&5
44924 sed 's/^/| /' conftest.$ac_ext >&5
44926 ac_header_compiler=no
44928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44929 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44930 echo "${ECHO_T}$ac_header_compiler" >&6
44932 # Is the header present?
44933 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44934 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44935 cat >conftest.$ac_ext <<_ACEOF
44938 cat confdefs.h >>conftest.$ac_ext
44939 cat >>conftest.$ac_ext <<_ACEOF
44940 /* end confdefs.h. */
44941 #include <$ac_header>
44943 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44944 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44946 grep -v '^ *+' conftest.er1 >conftest.err
44948 cat conftest.err >&5
44949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44950 (exit $ac_status); } >/dev/null; then
44951 if test -s conftest.err; then
44952 ac_cpp_err=$ac_cxx_preproc_warn_flag
44953 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
44960 if test -z "$ac_cpp_err"; then
44961 ac_header_preproc=yes
44963 echo "$as_me: failed program was:" >&5
44964 sed 's/^/| /' conftest.$ac_ext >&5
44966 ac_header_preproc=no
44968 rm -f conftest.err conftest.$ac_ext
44969 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44970 echo "${ECHO_T}$ac_header_preproc" >&6
44972 # So? What about this header?
44973 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44975 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44976 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44978 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44979 ac_header_preproc=yes
44982 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44983 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44984 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44985 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44986 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44987 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44988 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44989 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44991 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44992 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44993 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44996 ## ----------------------------------------- ##
44997 ## Report this to wx-dev@lists.wxwidgets.org ##
44998 ## ----------------------------------------- ##
45001 sed "s/^/$as_me: WARNING: /" >&2
45004 echo "$as_me:$LINENO: checking for $ac_header" >&5
45005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45007 echo $ECHO_N "(cached) $ECHO_C" >&6
45009 eval "$as_ac_Header=\$ac_header_preproc"
45011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45012 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45015 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45016 cat >>confdefs.h <<_ACEOF
45017 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45026 if test "$wxUSE_JOYSTICK" = "yes"; then
45027 cat >>confdefs.h <<\_ACEOF
45028 #define wxUSE_JOYSTICK 1
45031 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45033 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45034 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45040 if test "$wxUSE_FONTMAP" = "yes" ; then
45041 cat >>confdefs.h <<\_ACEOF
45042 #define wxUSE_FONTMAP 1
45047 if test "$wxUSE_UNICODE" = "yes" ; then
45048 cat >>confdefs.h <<\_ACEOF
45049 #define wxUSE_UNICODE 1
45053 if test "$USE_WIN32" != 1; then
45054 wxUSE_UNICODE_MSLU=no
45057 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45058 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45059 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
45060 if test "${ac_cv_lib_unicows_main+set}" = set; then
45061 echo $ECHO_N "(cached) $ECHO_C" >&6
45063 ac_check_lib_save_LIBS=$LIBS
45064 LIBS="-lunicows $LIBS"
45065 cat >conftest.$ac_ext <<_ACEOF
45068 cat confdefs.h >>conftest.$ac_ext
45069 cat >>conftest.$ac_ext <<_ACEOF
45070 /* end confdefs.h. */
45081 rm -f conftest.$ac_objext conftest$ac_exeext
45082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45083 (eval $ac_link) 2>conftest.er1
45085 grep -v '^ *+' conftest.er1 >conftest.err
45087 cat conftest.err >&5
45088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45089 (exit $ac_status); } &&
45090 { ac_try='test -z "$ac_cxx_werror_flag"
45091 || test ! -s conftest.err'
45092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45093 (eval $ac_try) 2>&5
45095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45096 (exit $ac_status); }; } &&
45097 { ac_try='test -s conftest$ac_exeext'
45098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45099 (eval $ac_try) 2>&5
45101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45102 (exit $ac_status); }; }; then
45103 ac_cv_lib_unicows_main=yes
45105 echo "$as_me: failed program was:" >&5
45106 sed 's/^/| /' conftest.$ac_ext >&5
45108 ac_cv_lib_unicows_main=no
45110 rm -f conftest.err conftest.$ac_objext \
45111 conftest$ac_exeext conftest.$ac_ext
45112 LIBS=$ac_check_lib_save_LIBS
45114 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45115 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45116 if test $ac_cv_lib_unicows_main = yes; then
45118 cat >>confdefs.h <<\_ACEOF
45119 #define wxUSE_UNICODE_MSLU 1
45125 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45126 Applications will only run on Windows NT/2000/XP!" >&5
45127 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45128 Applications will only run on Windows NT/2000/XP!" >&2;}
45129 wxUSE_UNICODE_MSLU=no
45136 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45137 cat >>confdefs.h <<\_ACEOF
45138 #define wxUSE_EXPERIMENTAL_PRINTF 1
45144 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45145 cat >>confdefs.h <<\_ACEOF
45146 #define wxUSE_POSTSCRIPT 1
45151 cat >>confdefs.h <<\_ACEOF
45152 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45156 cat >>confdefs.h <<\_ACEOF
45157 #define wxUSE_NORMALIZED_PS_FONTS 1
45162 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45163 cat >>confdefs.h <<\_ACEOF
45164 #define wxUSE_CONSTRAINTS 1
45167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45170 if test "$wxUSE_MDI" = "yes"; then
45171 cat >>confdefs.h <<\_ACEOF
45172 #define wxUSE_MDI 1
45176 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45177 cat >>confdefs.h <<\_ACEOF
45178 #define wxUSE_MDI_ARCHITECTURE 1
45181 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45185 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45186 cat >>confdefs.h <<\_ACEOF
45187 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45191 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45192 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45196 if test "$wxUSE_HELP" = "yes"; then
45197 cat >>confdefs.h <<\_ACEOF
45198 #define wxUSE_HELP 1
45201 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45203 if test "$wxUSE_MSW" = 1; then
45204 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45205 cat >>confdefs.h <<\_ACEOF
45206 #define wxUSE_MS_HTML_HELP 1
45212 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45213 if test "$wxUSE_HTML" = "yes"; then
45214 cat >>confdefs.h <<\_ACEOF
45215 #define wxUSE_WXHTML_HELP 1
45219 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45220 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45221 wxUSE_WXHTML_HELP=no
45226 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45227 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45228 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45229 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45231 cat >>confdefs.h <<\_ACEOF
45232 #define wxUSE_PRINTING_ARCHITECTURE 1
45236 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45239 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45240 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45241 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45242 { (exit 1); exit 1; }; }
45246 if test "$wxUSE_METAFILE" = "yes"; then
45247 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45248 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45249 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45255 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45256 -o "$wxUSE_CLIPBOARD" = "yes" \
45257 -o "$wxUSE_OLE" = "yes" \
45258 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45260 for ac_header in ole2.h
45262 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45264 echo "$as_me:$LINENO: checking for $ac_header" >&5
45265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45267 echo $ECHO_N "(cached) $ECHO_C" >&6
45269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45270 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45272 # Is the header compilable?
45273 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45274 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45275 cat >conftest.$ac_ext <<_ACEOF
45278 cat confdefs.h >>conftest.$ac_ext
45279 cat >>conftest.$ac_ext <<_ACEOF
45280 /* end confdefs.h. */
45281 $ac_includes_default
45282 #include <$ac_header>
45284 rm -f conftest.$ac_objext
45285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45286 (eval $ac_compile) 2>conftest.er1
45288 grep -v '^ *+' conftest.er1 >conftest.err
45290 cat conftest.err >&5
45291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45292 (exit $ac_status); } &&
45293 { ac_try='test -z "$ac_cxx_werror_flag"
45294 || test ! -s conftest.err'
45295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45296 (eval $ac_try) 2>&5
45298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45299 (exit $ac_status); }; } &&
45300 { ac_try='test -s conftest.$ac_objext'
45301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45302 (eval $ac_try) 2>&5
45304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45305 (exit $ac_status); }; }; then
45306 ac_header_compiler=yes
45308 echo "$as_me: failed program was:" >&5
45309 sed 's/^/| /' conftest.$ac_ext >&5
45311 ac_header_compiler=no
45313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45314 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45315 echo "${ECHO_T}$ac_header_compiler" >&6
45317 # Is the header present?
45318 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45319 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45320 cat >conftest.$ac_ext <<_ACEOF
45323 cat confdefs.h >>conftest.$ac_ext
45324 cat >>conftest.$ac_ext <<_ACEOF
45325 /* end confdefs.h. */
45326 #include <$ac_header>
45328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45329 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45331 grep -v '^ *+' conftest.er1 >conftest.err
45333 cat conftest.err >&5
45334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45335 (exit $ac_status); } >/dev/null; then
45336 if test -s conftest.err; then
45337 ac_cpp_err=$ac_cxx_preproc_warn_flag
45338 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
45345 if test -z "$ac_cpp_err"; then
45346 ac_header_preproc=yes
45348 echo "$as_me: failed program was:" >&5
45349 sed 's/^/| /' conftest.$ac_ext >&5
45351 ac_header_preproc=no
45353 rm -f conftest.err conftest.$ac_ext
45354 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45355 echo "${ECHO_T}$ac_header_preproc" >&6
45357 # So? What about this header?
45358 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45360 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45361 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45362 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45363 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45364 ac_header_preproc=yes
45367 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45368 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45369 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45370 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45371 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45372 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45373 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45374 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45375 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45376 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45377 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45378 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45381 ## ----------------------------------------- ##
45382 ## Report this to wx-dev@lists.wxwidgets.org ##
45383 ## ----------------------------------------- ##
45386 sed "s/^/$as_me: WARNING: /" >&2
45389 echo "$as_me:$LINENO: checking for $ac_header" >&5
45390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45392 echo $ECHO_N "(cached) $ECHO_C" >&6
45394 eval "$as_ac_Header=\$ac_header_preproc"
45396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45397 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45400 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45401 cat >>confdefs.h <<_ACEOF
45402 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45410 if test "$ac_cv_header_ole2_h" = "yes" ; then
45411 if test "$GCC" = yes ; then
45412 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45413 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45414 cat >conftest.$ac_ext <<_ACEOF
45417 cat confdefs.h >>conftest.$ac_ext
45418 cat >>conftest.$ac_ext <<_ACEOF
45419 /* end confdefs.h. */
45420 #include <windows.h>
45430 rm -f conftest.$ac_objext
45431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45432 (eval $ac_compile) 2>conftest.er1
45434 grep -v '^ *+' conftest.er1 >conftest.err
45436 cat conftest.err >&5
45437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45438 (exit $ac_status); } &&
45439 { ac_try='test -z "$ac_cxx_werror_flag"
45440 || test ! -s conftest.err'
45441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45442 (eval $ac_try) 2>&5
45444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45445 (exit $ac_status); }; } &&
45446 { ac_try='test -s conftest.$ac_objext'
45447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45448 (eval $ac_try) 2>&5
45450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45451 (exit $ac_status); }; }; then
45452 echo "$as_me:$LINENO: result: no" >&5
45453 echo "${ECHO_T}no" >&6
45455 echo "$as_me: failed program was:" >&5
45456 sed 's/^/| /' conftest.$ac_ext >&5
45458 echo "$as_me:$LINENO: result: yes" >&5
45459 echo "${ECHO_T}yes" >&6
45460 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45463 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45464 if test "$wxUSE_OLE" = "yes" ; then
45465 cat >>confdefs.h <<\_ACEOF
45466 #define wxUSE_OLE 1
45469 cat >>confdefs.h <<\_ACEOF
45470 #define wxUSE_OLE_AUTOMATION 1
45473 cat >>confdefs.h <<\_ACEOF
45474 #define wxUSE_OLE_ACTIVEX 1
45477 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45481 if test "$wxUSE_DATAOBJ" = "yes" ; then
45482 cat >>confdefs.h <<\_ACEOF
45483 #define wxUSE_DATAOBJ 1
45488 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45489 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45492 wxUSE_DRAG_AND_DROP=no
45497 if test "$wxUSE_METAFILE" = "yes"; then
45498 cat >>confdefs.h <<\_ACEOF
45499 #define wxUSE_METAFILE 1
45503 cat >>confdefs.h <<\_ACEOF
45504 #define wxUSE_ENH_METAFILE 1
45510 if test "$wxUSE_IPC" = "yes"; then
45511 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45512 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45513 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45517 if test "$wxUSE_IPC" = "yes"; then
45518 cat >>confdefs.h <<\_ACEOF
45519 #define wxUSE_IPC 1
45522 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45526 if test "$wxUSE_DATAOBJ" = "yes"; then
45527 if test "$wxUSE_MGL" = 1; then
45528 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45529 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45532 cat >>confdefs.h <<\_ACEOF
45533 #define wxUSE_DATAOBJ 1
45538 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45539 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45541 wxUSE_DRAG_AND_DROP=no
45544 if test "$wxUSE_CLIPBOARD" = "yes"; then
45545 if test "$wxUSE_MGL" = 1; then
45546 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45547 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45551 if test "$wxUSE_CLIPBOARD" = "yes"; then
45552 cat >>confdefs.h <<\_ACEOF
45553 #define wxUSE_CLIPBOARD 1
45559 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45560 if test "$wxUSE_GTK" = 1; then
45561 if test "$WXGTK12" != 1; then
45562 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45563 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45564 wxUSE_DRAG_AND_DROP=no
45568 if test "$wxUSE_MOTIF" = 1; then
45569 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45570 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45571 wxUSE_DRAG_AND_DROP=no
45574 if test "$wxUSE_X11" = 1; then
45575 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45576 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45577 wxUSE_DRAG_AND_DROP=no
45580 if test "$wxUSE_MGL" = 1; then
45581 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45582 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45583 wxUSE_DRAG_AND_DROP=no
45586 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45587 cat >>confdefs.h <<\_ACEOF
45588 #define wxUSE_DRAG_AND_DROP 1
45595 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45599 if test "$wxUSE_SPLINES" = "yes" ; then
45600 cat >>confdefs.h <<\_ACEOF
45601 #define wxUSE_SPLINES 1
45606 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45607 cat >>confdefs.h <<\_ACEOF
45608 #define wxUSE_MOUSEWHEEL 1
45615 if test "$wxUSE_CONTROLS" = "yes"; then
45619 if test "$wxUSE_ACCEL" = "yes"; then
45620 cat >>confdefs.h <<\_ACEOF
45621 #define wxUSE_ACCEL 1
45627 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45628 cat >>confdefs.h <<\_ACEOF
45629 #define wxUSE_ANIMATIONCTRL 1
45633 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45636 if test "$wxUSE_BUTTON" = "yes"; then
45637 cat >>confdefs.h <<\_ACEOF
45638 #define wxUSE_BUTTON 1
45644 if test "$wxUSE_BMPBUTTON" = "yes"; then
45645 cat >>confdefs.h <<\_ACEOF
45646 #define wxUSE_BMPBUTTON 1
45652 if test "$wxUSE_CALCTRL" = "yes"; then
45653 cat >>confdefs.h <<\_ACEOF
45654 #define wxUSE_CALENDARCTRL 1
45658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45661 if test "$wxUSE_CARET" = "yes"; then
45662 cat >>confdefs.h <<\_ACEOF
45663 #define wxUSE_CARET 1
45667 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45670 if test "$wxUSE_COMBOBOX" = "yes"; then
45671 cat >>confdefs.h <<\_ACEOF
45672 #define wxUSE_COMBOBOX 1
45678 if test "$wxUSE_COMBOCTRL" = "yes"; then
45679 cat >>confdefs.h <<\_ACEOF
45680 #define wxUSE_COMBOCTRL 1
45686 if test "$wxUSE_CHOICE" = "yes"; then
45687 cat >>confdefs.h <<\_ACEOF
45688 #define wxUSE_CHOICE 1
45694 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45695 cat >>confdefs.h <<\_ACEOF
45696 #define wxUSE_CHOICEBOOK 1
45702 if test "$wxUSE_CHECKBOX" = "yes"; then
45703 cat >>confdefs.h <<\_ACEOF
45704 #define wxUSE_CHECKBOX 1
45710 if test "$wxUSE_CHECKLST" = "yes"; then
45711 cat >>confdefs.h <<\_ACEOF
45712 #define wxUSE_CHECKLISTBOX 1
45716 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
45719 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45720 cat >>confdefs.h <<\_ACEOF
45721 #define wxUSE_COLOURPICKERCTRL 1
45727 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45728 cat >>confdefs.h <<\_ACEOF
45729 #define wxUSE_DATEPICKCTRL 1
45735 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45736 cat >>confdefs.h <<\_ACEOF
45737 #define wxUSE_DIRPICKERCTRL 1
45743 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45744 cat >>confdefs.h <<\_ACEOF
45745 #define wxUSE_FILEPICKERCTRL 1
45751 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45752 cat >>confdefs.h <<\_ACEOF
45753 #define wxUSE_FONTPICKERCTRL 1
45759 if test "$wxUSE_DISPLAY" = "yes"; then
45760 cat >>confdefs.h <<\_ACEOF
45761 #define wxUSE_DISPLAY 1
45764 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
45767 if test "$wxUSE_DETECT_SM" = "yes"; then
45768 cat >>confdefs.h <<\_ACEOF
45769 #define wxUSE_DETECT_SM 1
45774 if test "$wxUSE_GAUGE" = "yes"; then
45775 cat >>confdefs.h <<\_ACEOF
45776 #define wxUSE_GAUGE 1
45782 if test "$wxUSE_GRID" = "yes"; then
45783 cat >>confdefs.h <<\_ACEOF
45784 #define wxUSE_GRID 1
45788 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45791 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45792 cat >>confdefs.h <<\_ACEOF
45793 #define wxUSE_HYPERLINKCTRL 1
45799 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45800 cat >>confdefs.h <<\_ACEOF
45801 #define wxUSE_BITMAPCOMBOBOX 1
45807 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45808 cat >>confdefs.h <<\_ACEOF
45809 #define wxUSE_DATAVIEWCTRL 1
45813 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45816 if test "$wxUSE_IMAGLIST" = "yes"; then
45817 cat >>confdefs.h <<\_ACEOF
45818 #define wxUSE_IMAGLIST 1
45823 if test "$wxUSE_LISTBOOK" = "yes"; then
45824 cat >>confdefs.h <<\_ACEOF
45825 #define wxUSE_LISTBOOK 1
45831 if test "$wxUSE_LISTBOX" = "yes"; then
45832 cat >>confdefs.h <<\_ACEOF
45833 #define wxUSE_LISTBOX 1
45837 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
45840 if test "$wxUSE_LISTCTRL" = "yes"; then
45841 if test "$wxUSE_IMAGLIST" = "yes"; then
45842 cat >>confdefs.h <<\_ACEOF
45843 #define wxUSE_LISTCTRL 1
45847 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45849 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45850 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45854 if test "$wxUSE_NOTEBOOK" = "yes"; then
45855 cat >>confdefs.h <<\_ACEOF
45856 #define wxUSE_NOTEBOOK 1
45860 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45863 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45864 cat >>confdefs.h <<\_ACEOF
45865 #define wxUSE_ODCOMBOBOX 1
45869 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45873 if test "$wxUSE_RADIOBOX" = "yes"; then
45874 cat >>confdefs.h <<\_ACEOF
45875 #define wxUSE_RADIOBOX 1
45881 if test "$wxUSE_RADIOBTN" = "yes"; then
45882 cat >>confdefs.h <<\_ACEOF
45883 #define wxUSE_RADIOBTN 1
45889 if test "$wxUSE_SASH" = "yes"; then
45890 cat >>confdefs.h <<\_ACEOF
45891 #define wxUSE_SASH 1
45894 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45897 if test "$wxUSE_SCROLLBAR" = "yes"; then
45898 cat >>confdefs.h <<\_ACEOF
45899 #define wxUSE_SCROLLBAR 1
45903 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45906 if test "$wxUSE_SLIDER" = "yes"; then
45907 cat >>confdefs.h <<\_ACEOF
45908 #define wxUSE_SLIDER 1
45914 if test "$wxUSE_SPINBTN" = "yes"; then
45915 cat >>confdefs.h <<\_ACEOF
45916 #define wxUSE_SPINBTN 1
45922 if test "$wxUSE_SPINCTRL" = "yes"; then
45923 cat >>confdefs.h <<\_ACEOF
45924 #define wxUSE_SPINCTRL 1
45930 if test "$wxUSE_SPLITTER" = "yes"; then
45931 cat >>confdefs.h <<\_ACEOF
45932 #define wxUSE_SPLITTER 1
45935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45938 if test "$wxUSE_STATBMP" = "yes"; then
45939 cat >>confdefs.h <<\_ACEOF
45940 #define wxUSE_STATBMP 1
45946 if test "$wxUSE_STATBOX" = "yes"; then
45947 cat >>confdefs.h <<\_ACEOF
45948 #define wxUSE_STATBOX 1
45954 if test "$wxUSE_STATTEXT" = "yes"; then
45955 cat >>confdefs.h <<\_ACEOF
45956 #define wxUSE_STATTEXT 1
45962 if test "$wxUSE_STATLINE" = "yes"; then
45963 cat >>confdefs.h <<\_ACEOF
45964 #define wxUSE_STATLINE 1
45970 if test "$wxUSE_STATUSBAR" = "yes"; then
45971 cat >>confdefs.h <<\_ACEOF
45972 #define wxUSE_NATIVE_STATUSBAR 1
45975 cat >>confdefs.h <<\_ACEOF
45976 #define wxUSE_STATUSBAR 1
45981 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45984 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45985 cat >>confdefs.h <<\_ACEOF
45986 #define wxUSE_TAB_DIALOG 1
45991 if test "$wxUSE_TEXTCTRL" = "yes"; then
45992 cat >>confdefs.h <<\_ACEOF
45993 #define wxUSE_TEXTCTRL 1
45997 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46000 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46001 if test "$wxUSE_COCOA" = 1 ; then
46002 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46003 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46007 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46008 cat >>confdefs.h <<\_ACEOF
46009 #define wxUSE_TOGGLEBTN 1
46016 if test "$wxUSE_TOOLBAR" = "yes"; then
46017 cat >>confdefs.h <<\_ACEOF
46018 #define wxUSE_TOOLBAR 1
46023 if test "$wxUSE_UNIVERSAL" = "yes"; then
46024 wxUSE_TOOLBAR_NATIVE="no"
46026 wxUSE_TOOLBAR_NATIVE="yes"
46027 cat >>confdefs.h <<\_ACEOF
46028 #define wxUSE_TOOLBAR_NATIVE 1
46033 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46036 if test "$wxUSE_TOOLTIPS" = "yes"; then
46037 if test "$wxUSE_MOTIF" = 1; then
46038 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46039 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46041 if test "$wxUSE_UNIVERSAL" = "yes"; then
46042 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46043 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46045 cat >>confdefs.h <<\_ACEOF
46046 #define wxUSE_TOOLTIPS 1
46053 if test "$wxUSE_TREEBOOK" = "yes"; then
46054 cat >>confdefs.h <<\_ACEOF
46055 #define wxUSE_TREEBOOK 1
46061 if test "$wxUSE_TOOLBOOK" = "yes"; then
46062 cat >>confdefs.h <<\_ACEOF
46063 #define wxUSE_TOOLBOOK 1
46069 if test "$wxUSE_TREECTRL" = "yes"; then
46070 if test "$wxUSE_IMAGLIST" = "yes"; then
46071 cat >>confdefs.h <<\_ACEOF
46072 #define wxUSE_TREECTRL 1
46076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46078 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46079 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46083 if test "$wxUSE_POPUPWIN" = "yes"; then
46084 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46085 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46086 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46088 if test "$wxUSE_PM" = 1; then
46089 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46090 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46092 cat >>confdefs.h <<\_ACEOF
46093 #define wxUSE_POPUPWIN 1
46096 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46103 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46104 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46105 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
46106 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
46108 cat >>confdefs.h <<\_ACEOF
46109 #define wxUSE_DIALUP_MANAGER 1
46112 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46116 if test "$wxUSE_TIPWINDOW" = "yes"; then
46117 if test "$wxUSE_PM" = 1; then
46118 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46119 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46121 cat >>confdefs.h <<\_ACEOF
46122 #define wxUSE_TIPWINDOW 1
46128 if test "$USES_CONTROLS" = 1; then
46129 cat >>confdefs.h <<\_ACEOF
46130 #define wxUSE_CONTROLS 1
46136 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46137 cat >>confdefs.h <<\_ACEOF
46138 #define wxUSE_ACCESSIBILITY 1
46141 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46144 if test "$wxUSE_DC_CACHEING" = "yes"; then
46145 cat >>confdefs.h <<\_ACEOF
46146 #define wxUSE_DC_CACHEING 1
46151 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46152 cat >>confdefs.h <<\_ACEOF
46153 #define wxUSE_DRAGIMAGE 1
46156 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46159 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46160 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46161 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46162 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46164 cat >>confdefs.h <<\_ACEOF
46165 #define wxUSE_EXCEPTIONS 1
46168 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46173 if test "$wxUSE_HTML" = "yes"; then
46174 cat >>confdefs.h <<\_ACEOF
46175 #define wxUSE_HTML 1
46179 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46180 if test "$wxUSE_MAC" = 1; then
46181 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46184 if test "$wxUSE_WEBKIT" = "yes"; then
46185 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46186 old_CPPFLAGS="$CPPFLAGS"
46187 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46188 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46189 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46190 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46191 echo $ECHO_N "(cached) $ECHO_C" >&6
46193 cat >conftest.$ac_ext <<_ACEOF
46196 cat confdefs.h >>conftest.$ac_ext
46197 cat >>conftest.$ac_ext <<_ACEOF
46198 /* end confdefs.h. */
46199 #include <Carbon/Carbon.h>
46201 #include <WebKit/HIWebView.h>
46203 rm -f conftest.$ac_objext
46204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46205 (eval $ac_compile) 2>conftest.er1
46207 grep -v '^ *+' conftest.er1 >conftest.err
46209 cat conftest.err >&5
46210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46211 (exit $ac_status); } &&
46212 { ac_try='test -z "$ac_cxx_werror_flag"
46213 || test ! -s conftest.err'
46214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46215 (eval $ac_try) 2>&5
46217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46218 (exit $ac_status); }; } &&
46219 { ac_try='test -s conftest.$ac_objext'
46220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46221 (eval $ac_try) 2>&5
46223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46224 (exit $ac_status); }; }; then
46225 ac_cv_header_WebKit_HIWebView_h=yes
46227 echo "$as_me: failed program was:" >&5
46228 sed 's/^/| /' conftest.$ac_ext >&5
46230 ac_cv_header_WebKit_HIWebView_h=no
46232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46234 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46235 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46236 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46238 cat >>confdefs.h <<\_ACEOF
46239 #define wxUSE_WEBKIT 1
46242 WEBKIT_LINK="-framework WebKit"
46246 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46247 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46253 CPPFLAGS="$old_CPPFLAGS"
46254 elif test "$wxUSE_COCOA" = 1; then
46255 cat >>confdefs.h <<\_ACEOF
46256 #define wxUSE_WEBKIT 1
46265 if test "$wxUSE_XRC" = "yes"; then
46266 if test "$wxUSE_XML" != "yes"; then
46267 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46268 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46271 cat >>confdefs.h <<\_ACEOF
46272 #define wxUSE_XRC 1
46276 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46281 if test "$wxUSE_AUI" = "yes"; then
46282 cat >>confdefs.h <<\_ACEOF
46283 #define wxUSE_AUI 1
46287 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46290 if test "$wxUSE_MENUS" = "yes"; then
46291 cat >>confdefs.h <<\_ACEOF
46292 #define wxUSE_MENUS 1
46295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46298 if test "$wxUSE_METAFILE" = "yes"; then
46299 cat >>confdefs.h <<\_ACEOF
46300 #define wxUSE_METAFILE 1
46305 if test "$wxUSE_MIMETYPE" = "yes"; then
46306 cat >>confdefs.h <<\_ACEOF
46307 #define wxUSE_MIMETYPE 1
46312 if test "$wxUSE_MINIFRAME" = "yes"; then
46313 cat >>confdefs.h <<\_ACEOF
46314 #define wxUSE_MINIFRAME 1
46317 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
46320 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46321 cat >>confdefs.h <<\_ACEOF
46322 #define wxUSE_SYSTEM_OPTIONS 1
46325 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46326 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46327 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46332 if test "$wxUSE_VALIDATORS" = "yes"; then
46333 cat >>confdefs.h <<\_ACEOF
46334 #define wxUSE_VALIDATORS 1
46337 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46340 if test "$wxUSE_PALETTE" = "yes" ; then
46341 cat >>confdefs.h <<\_ACEOF
46342 #define wxUSE_PALETTE 1
46347 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46348 LIBS=" -lunicows $LIBS"
46352 if test "$wxUSE_RICHTEXT" = "yes"; then
46353 cat >>confdefs.h <<\_ACEOF
46354 #define wxUSE_RICHTEXT 1
46358 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46362 if test "$wxUSE_IMAGE" = "yes" ; then
46363 cat >>confdefs.h <<\_ACEOF
46364 #define wxUSE_IMAGE 1
46368 if test "$wxUSE_GIF" = "yes" ; then
46369 cat >>confdefs.h <<\_ACEOF
46370 #define wxUSE_GIF 1
46375 if test "$wxUSE_PCX" = "yes" ; then
46376 cat >>confdefs.h <<\_ACEOF
46377 #define wxUSE_PCX 1
46382 if test "$wxUSE_IFF" = "yes" ; then
46383 cat >>confdefs.h <<\_ACEOF
46384 #define wxUSE_IFF 1
46389 if test "$wxUSE_PNM" = "yes" ; then
46390 cat >>confdefs.h <<\_ACEOF
46391 #define wxUSE_PNM 1
46396 if test "$wxUSE_XPM" = "yes" ; then
46397 cat >>confdefs.h <<\_ACEOF
46398 #define wxUSE_XPM 1
46403 if test "$wxUSE_ICO_CUR" = "yes" ; then
46404 cat >>confdefs.h <<\_ACEOF
46405 #define wxUSE_ICO_CUR 1
46412 if test "$wxUSE_ABOUTDLG" = "yes"; then
46413 cat >>confdefs.h <<\_ACEOF
46414 #define wxUSE_ABOUTDLG 1
46419 if test "$wxUSE_CHOICEDLG" = "yes"; then
46420 cat >>confdefs.h <<\_ACEOF
46421 #define wxUSE_CHOICEDLG 1
46426 if test "$wxUSE_COLOURDLG" = "yes"; then
46427 cat >>confdefs.h <<\_ACEOF
46428 #define wxUSE_COLOURDLG 1
46433 if test "$wxUSE_FILEDLG" = "yes"; then
46434 cat >>confdefs.h <<\_ACEOF
46435 #define wxUSE_FILEDLG 1
46440 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46441 cat >>confdefs.h <<\_ACEOF
46442 #define wxUSE_FINDREPLDLG 1
46447 if test "$wxUSE_FONTDLG" = "yes"; then
46448 cat >>confdefs.h <<\_ACEOF
46449 #define wxUSE_FONTDLG 1
46454 if test "$wxUSE_DIRDLG" = "yes"; then
46455 if test "$wxUSE_TREECTRL" != "yes"; then
46456 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46457 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46459 cat >>confdefs.h <<\_ACEOF
46460 #define wxUSE_DIRDLG 1
46466 if test "$wxUSE_MSGDLG" = "yes"; then
46467 cat >>confdefs.h <<\_ACEOF
46468 #define wxUSE_MSGDLG 1
46473 if test "$wxUSE_NUMBERDLG" = "yes"; then
46474 cat >>confdefs.h <<\_ACEOF
46475 #define wxUSE_NUMBERDLG 1
46480 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46481 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46482 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46483 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46485 cat >>confdefs.h <<\_ACEOF
46486 #define wxUSE_PROGRESSDLG 1
46492 if test "$wxUSE_SPLASH" = "yes"; then
46493 cat >>confdefs.h <<\_ACEOF
46494 #define wxUSE_SPLASH 1
46497 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46500 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46501 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46502 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46503 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46505 cat >>confdefs.h <<\_ACEOF
46506 #define wxUSE_STARTUP_TIPS 1
46512 if test "$wxUSE_TEXTDLG" = "yes"; then
46513 cat >>confdefs.h <<\_ACEOF
46514 #define wxUSE_TEXTDLG 1
46519 if test "$wxUSE_WIZARDDLG" = "yes"; then
46520 cat >>confdefs.h <<\_ACEOF
46521 #define wxUSE_WIZARDDLG 1
46524 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46528 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46529 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
46530 cat >>confdefs.h <<\_ACEOF
46531 #define wxUSE_GRAPHICS_CONTEXT 1
46534 elif test "$wxUSE_GTK" != 1; then
46535 cat >>confdefs.h <<\_ACEOF
46536 #define wxUSE_GRAPHICS_CONTEXT 1
46542 echo "$as_me:$LINENO: checking for CAIRO" >&5
46543 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
46545 if test -n "$PKG_CONFIG"; then
46546 if test -n "$CAIRO_CFLAGS"; then
46547 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46549 if test -n "$PKG_CONFIG" && \
46550 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46551 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46554 (exit $ac_status); }; then
46555 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46563 if test -n "$PKG_CONFIG"; then
46564 if test -n "$CAIRO_LIBS"; then
46565 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46567 if test -n "$PKG_CONFIG" && \
46568 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46569 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46572 (exit $ac_status); }; then
46573 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46584 if test $pkg_failed = yes; then
46586 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46587 _pkg_short_errors_supported=yes
46589 _pkg_short_errors_supported=no
46591 if test $_pkg_short_errors_supported = yes; then
46592 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46594 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46596 # Put the nasty error message in config.log where it belongs
46597 echo "$CAIRO_PKG_ERRORS" >&5
46600 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46601 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46604 elif test $pkg_failed = untried; then
46606 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46607 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46611 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46612 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46613 echo "$as_me:$LINENO: result: yes" >&5
46614 echo "${ECHO_T}yes" >&6
46616 cat >>confdefs.h <<\_ACEOF
46617 #define wxUSE_GRAPHICS_CONTEXT 1
46628 if test "$wxUSE_MEDIACTRL" = "yes"; then
46631 if test "$wxUSE_GTK" = 1; then
46632 wxUSE_GSTREAMER="no"
46634 GST_VERSION_MAJOR=0
46635 GST_VERSION_MINOR=10
46636 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46638 if test "$wxUSE_GSTREAMER8" = "no"; then
46641 echo "$as_me:$LINENO: checking for GST" >&5
46642 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46644 if test -n "$PKG_CONFIG"; then
46645 if test -n "$GST_CFLAGS"; then
46646 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46648 if test -n "$PKG_CONFIG" && \
46649 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46650 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46653 (exit $ac_status); }; then
46654 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46662 if test -n "$PKG_CONFIG"; then
46663 if test -n "$GST_LIBS"; then
46664 pkg_cv_GST_LIBS="$GST_LIBS"
46666 if test -n "$PKG_CONFIG" && \
46667 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46668 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46671 (exit $ac_status); }; then
46672 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46683 if test $pkg_failed = yes; then
46685 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46686 _pkg_short_errors_supported=yes
46688 _pkg_short_errors_supported=no
46690 if test $_pkg_short_errors_supported = yes; then
46691 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46693 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46695 # Put the nasty error message in config.log where it belongs
46696 echo "$GST_PKG_ERRORS" >&5
46699 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46700 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46701 GST_VERSION_MINOR=8
46704 elif test $pkg_failed = untried; then
46706 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46707 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46708 GST_VERSION_MINOR=8
46712 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46713 GST_LIBS=$pkg_cv_GST_LIBS
46714 echo "$as_me:$LINENO: result: yes" >&5
46715 echo "${ECHO_T}yes" >&6
46717 wxUSE_GSTREAMER="yes"
46718 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46722 GST_VERSION_MINOR=8
46725 if test $GST_VERSION_MINOR = "8"; then
46726 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46729 echo "$as_me:$LINENO: checking for GST" >&5
46730 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46732 if test -n "$PKG_CONFIG"; then
46733 if test -n "$GST_CFLAGS"; then
46734 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46736 if test -n "$PKG_CONFIG" && \
46737 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46738 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46741 (exit $ac_status); }; then
46742 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46750 if test -n "$PKG_CONFIG"; then
46751 if test -n "$GST_LIBS"; then
46752 pkg_cv_GST_LIBS="$GST_LIBS"
46754 if test -n "$PKG_CONFIG" && \
46755 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46756 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46759 (exit $ac_status); }; then
46760 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46771 if test $pkg_failed = yes; then
46773 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46774 _pkg_short_errors_supported=yes
46776 _pkg_short_errors_supported=no
46778 if test $_pkg_short_errors_supported = yes; then
46779 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46781 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46783 # Put the nasty error message in config.log where it belongs
46784 echo "$GST_PKG_ERRORS" >&5
46787 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46788 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46790 elif test $pkg_failed = untried; then
46792 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46793 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46796 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46797 GST_LIBS=$pkg_cv_GST_LIBS
46798 echo "$as_me:$LINENO: result: yes" >&5
46799 echo "${ECHO_T}yes" >&6
46800 wxUSE_GSTREAMER="yes"
46805 if test "$wxUSE_GSTREAMER" = "yes"; then
46808 if "$GCC" = yes; then
46809 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
46810 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
46814 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46815 LIBS="$GST_LIBS $LIBS"
46817 cat >>confdefs.h <<\_ACEOF
46818 #define wxUSE_GSTREAMER 1
46826 if test $USE_MEDIA = 1; then
46827 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46828 cat >>confdefs.h <<\_ACEOF
46829 #define wxUSE_MEDIACTRL 1
46836 if test "$cross_compiling" = "yes"; then
46839 OSINFO=`uname -s -r -m`
46840 OSINFO="\"$OSINFO\""
46843 cat >>confdefs.h <<_ACEOF
46844 #define WXWIN_OS_DESCRIPTION $OSINFO
46849 if test "x$prefix" != "xNONE"; then
46852 wxPREFIX=$ac_default_prefix
46855 cat >>confdefs.h <<_ACEOF
46856 #define wxINSTALL_PREFIX "$wxPREFIX"
46862 CORE_BASE_LIBS="net base"
46863 CORE_GUI_LIBS="adv core"
46865 if test "$wxUSE_XML" = "yes" ; then
46866 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
46868 if test "$wxUSE_ODBC" != "no" ; then
46869 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
46870 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
46872 if test "$wxUSE_HTML" = "yes" ; then
46873 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
46875 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46876 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
46878 if test "$wxUSE_XRC" = "yes" ; then
46879 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
46881 if test "$wxUSE_AUI" = "yes" ; then
46882 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
46885 if test "$wxUSE_GUI" != "yes"; then
46894 ac_cpp='$CPP $CPPFLAGS'
46895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46901 if test "$wxUSE_MAC" = 1 ; then
46902 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46903 if test "$USE_DARWIN" = 1; then
46904 LDFLAGS="$LDFLAGS -framework QuickTime"
46906 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46909 if test "$USE_DARWIN" = 1; then
46910 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46912 LDFLAGS="$LDFLAGS -lCarbonLib"
46915 if test "$wxUSE_COCOA" = 1 ; then
46916 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46917 if test "$wxUSE_MEDIACTRL" = "yes"; then
46918 LDFLAGS="$LDFLAGS -framework QuickTime"
46921 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46922 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46925 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46927 if test "$wxUSE_GUI" = "yes"; then
46930 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46931 dynamic erase event exec font image minimal mobile \
46932 mobile/wxedit mobile/styles propsize render \
46933 rotate shaped vscroll widgets"
46935 if test "$wxUSE_MONOLITHIC" != "yes"; then
46936 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46938 if test "$TOOLKIT" = "MSW"; then
46939 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46940 if test "$wxUSE_UNIVERSAL" != "yes"; then
46941 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46944 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46945 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46948 SAMPLES_SUBDIRS="console"
46952 if test "x$INTELCC" = "xyes" ; then
46953 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46954 elif test "$GCC" = yes ; then
46955 CWARNINGS="-Wall -Wundef"
46958 if test "x$INTELCXX" = "xyes" ; then
46959 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46960 elif test "$GXX" = yes ; then
46961 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
46965 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46966 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46969 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46970 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
46971 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46974 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46975 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46976 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
46978 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46981 if test "x$MWCC" = "xyes"; then
46983 CC="$CC -cwd source -I-"
46984 CXX="$CXX -cwd source -I-"
46989 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46990 EXTRALIBS_XML="$EXPAT_LINK"
46991 EXTRALIBS_HTML="$MSPACK_LINK"
46992 EXTRALIBS_ODBC="$ODBC_LINK"
46993 if test "$wxUSE_GUI" = "yes"; then
46994 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46996 if test "$wxUSE_OPENGL" = "yes"; then
46997 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47000 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47002 WXCONFIG_LIBS="$LIBS"
47004 if test "$wxUSE_REGEX" = "builtin" ; then
47005 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47007 if test "$wxUSE_EXPAT" = "builtin" ; then
47008 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47010 if test "$wxUSE_ODBC" = "builtin" ; then
47011 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
47013 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47014 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47016 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47017 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47019 if test "$wxUSE_LIBPNG" = "builtin" ; then
47020 wxconfig_3rdparty="png $wxconfig_3rdparty"
47022 if test "$wxUSE_ZLIB" = "builtin" ; then
47023 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47026 for i in $wxconfig_3rdparty ; do
47027 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47031 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47034 case "$wxUNIV_THEMES" in
47036 cat >>confdefs.h <<\_ACEOF
47037 #define wxUSE_ALL_THEMES 1
47043 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
47044 cat >>confdefs.h <<_ACEOF
47045 #define wxUSE_THEME_$t 1
47062 if test $wxUSE_MONOLITHIC = "yes" ; then
47068 if test $wxUSE_PLUGINS = "yes" ; then
47074 if test $wxUSE_ODBC != "no" ; then
47080 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47086 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47116 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47127 TOOLKIT_DESC="GTK+"
47128 if test "$WXGTK20" = 1; then
47129 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47130 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47131 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47133 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47134 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47136 if test "$wxUSE_LIBHILDON" = "yes"; then
47137 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47140 if test "$TOOLKIT_EXTRA" != ""; then
47141 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47147 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47151 TOOLKIT_DESC="base only"
47155 if test "$wxUSE_WINE" = "yes"; then
47156 BAKEFILE_FORCE_PLATFORM=win32
47159 if test "$wxUSE_MAC" = 1 ; then
47160 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
47161 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
47162 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47164 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47166 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
47167 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
47168 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
47169 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
47172 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47173 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47179 if test "x$BAKEFILE_HOST" = "x"; then
47180 if test "x${host}" = "x" ; then
47181 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47182 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47183 { (exit 1); exit 1; }; }
47186 BAKEFILE_HOST="${host}"
47189 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47191 if test -n "$ac_tool_prefix"; then
47192 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47193 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47194 echo "$as_me:$LINENO: checking for $ac_word" >&5
47195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47196 if test "${ac_cv_prog_RANLIB+set}" = set; then
47197 echo $ECHO_N "(cached) $ECHO_C" >&6
47199 if test -n "$RANLIB"; then
47200 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47203 for as_dir in $PATH
47206 test -z "$as_dir" && as_dir=.
47207 for ac_exec_ext in '' $ac_executable_extensions; do
47208 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47209 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47218 RANLIB=$ac_cv_prog_RANLIB
47219 if test -n "$RANLIB"; then
47220 echo "$as_me:$LINENO: result: $RANLIB" >&5
47221 echo "${ECHO_T}$RANLIB" >&6
47223 echo "$as_me:$LINENO: result: no" >&5
47224 echo "${ECHO_T}no" >&6
47228 if test -z "$ac_cv_prog_RANLIB"; then
47229 ac_ct_RANLIB=$RANLIB
47230 # Extract the first word of "ranlib", so it can be a program name with args.
47231 set dummy ranlib; ac_word=$2
47232 echo "$as_me:$LINENO: checking for $ac_word" >&5
47233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47234 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47235 echo $ECHO_N "(cached) $ECHO_C" >&6
47237 if test -n "$ac_ct_RANLIB"; then
47238 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47241 for as_dir in $PATH
47244 test -z "$as_dir" && as_dir=.
47245 for ac_exec_ext in '' $ac_executable_extensions; do
47246 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47247 ac_cv_prog_ac_ct_RANLIB="ranlib"
47248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47254 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
47257 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47258 if test -n "$ac_ct_RANLIB"; then
47259 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47260 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47262 echo "$as_me:$LINENO: result: no" >&5
47263 echo "${ECHO_T}no" >&6
47266 RANLIB=$ac_ct_RANLIB
47268 RANLIB="$ac_cv_prog_RANLIB"
47271 # Find a good install program. We prefer a C program (faster),
47272 # so one script is as good as another. But avoid the broken or
47273 # incompatible versions:
47274 # SysV /etc/install, /usr/sbin/install
47275 # SunOS /usr/etc/install
47276 # IRIX /sbin/install
47278 # AmigaOS /C/install, which installs bootblocks on floppy discs
47279 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47280 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47281 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47282 # OS/2's system install, which has a completely different semantic
47283 # ./install, which can be erroneously created by make from ./install.sh.
47284 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47285 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47286 if test -z "$INSTALL"; then
47287 if test "${ac_cv_path_install+set}" = set; then
47288 echo $ECHO_N "(cached) $ECHO_C" >&6
47290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47291 for as_dir in $PATH
47294 test -z "$as_dir" && as_dir=.
47295 # Account for people who put trailing slashes in PATH elements.
47297 ./ | .// | /cC/* | \
47298 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47299 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47302 # OSF1 and SCO ODT 3.0 have their own names for install.
47303 # Don't use installbsd from OSF since it installs stuff as root
47305 for ac_prog in ginstall scoinst install; do
47306 for ac_exec_ext in '' $ac_executable_extensions; do
47307 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47308 if test $ac_prog = install &&
47309 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47310 # AIX install. It has an incompatible calling convention.
47312 elif test $ac_prog = install &&
47313 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47314 # program-specific install script used by HP pwplus--don't use.
47317 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47329 if test "${ac_cv_path_install+set}" = set; then
47330 INSTALL=$ac_cv_path_install
47332 # As a last resort, use the slow shell script. We don't cache a
47333 # path for INSTALL within a source directory, because that will
47334 # break other packages using the cache if that directory is
47335 # removed, or if the path is relative.
47336 INSTALL=$ac_install_sh
47339 echo "$as_me:$LINENO: result: $INSTALL" >&5
47340 echo "${ECHO_T}$INSTALL" >&6
47342 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47343 # It thinks the first close brace ends the variable substitution.
47344 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47346 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47348 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47350 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47351 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47353 if test "$LN_S" = "ln -s"; then
47354 echo "$as_me:$LINENO: result: yes" >&5
47355 echo "${ECHO_T}yes" >&6
47357 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47358 echo "${ECHO_T}no, using $LN_S" >&6
47362 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47363 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47364 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
47365 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47366 echo $ECHO_N "(cached) $ECHO_C" >&6
47368 cat >conftest.make <<\_ACEOF
47370 @echo 'ac_maketemp="$(MAKE)"'
47372 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47373 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47374 if test -n "$ac_maketemp"; then
47375 eval ac_cv_prog_make_${ac_make}_set=yes
47377 eval ac_cv_prog_make_${ac_make}_set=no
47379 rm -f conftest.make
47381 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47382 echo "$as_me:$LINENO: result: yes" >&5
47383 echo "${ECHO_T}yes" >&6
47386 echo "$as_me:$LINENO: result: no" >&5
47387 echo "${ECHO_T}no" >&6
47388 SET_MAKE="MAKE=${MAKE-make}"
47393 if test -n "$ac_tool_prefix"; then
47394 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47395 set dummy ${ac_tool_prefix}ar; ac_word=$2
47396 echo "$as_me:$LINENO: checking for $ac_word" >&5
47397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47398 if test "${ac_cv_prog_AR+set}" = set; then
47399 echo $ECHO_N "(cached) $ECHO_C" >&6
47401 if test -n "$AR"; then
47402 ac_cv_prog_AR="$AR" # Let the user override the test.
47404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47405 for as_dir in $PATH
47408 test -z "$as_dir" && as_dir=.
47409 for ac_exec_ext in '' $ac_executable_extensions; do
47410 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47411 ac_cv_prog_AR="${ac_tool_prefix}ar"
47412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47421 if test -n "$AR"; then
47422 echo "$as_me:$LINENO: result: $AR" >&5
47423 echo "${ECHO_T}$AR" >&6
47425 echo "$as_me:$LINENO: result: no" >&5
47426 echo "${ECHO_T}no" >&6
47430 if test -z "$ac_cv_prog_AR"; then
47432 # Extract the first word of "ar", so it can be a program name with args.
47433 set dummy ar; ac_word=$2
47434 echo "$as_me:$LINENO: checking for $ac_word" >&5
47435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47436 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47437 echo $ECHO_N "(cached) $ECHO_C" >&6
47439 if test -n "$ac_ct_AR"; then
47440 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47443 for as_dir in $PATH
47446 test -z "$as_dir" && as_dir=.
47447 for ac_exec_ext in '' $ac_executable_extensions; do
47448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47449 ac_cv_prog_ac_ct_AR="ar"
47450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47456 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
47459 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47460 if test -n "$ac_ct_AR"; then
47461 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47462 echo "${ECHO_T}$ac_ct_AR" >&6
47464 echo "$as_me:$LINENO: result: no" >&5
47465 echo "${ECHO_T}no" >&6
47470 AR="$ac_cv_prog_AR"
47473 if test -n "$ac_tool_prefix"; then
47474 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47475 set dummy ${ac_tool_prefix}strip; ac_word=$2
47476 echo "$as_me:$LINENO: checking for $ac_word" >&5
47477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47478 if test "${ac_cv_prog_STRIP+set}" = set; then
47479 echo $ECHO_N "(cached) $ECHO_C" >&6
47481 if test -n "$STRIP"; then
47482 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47485 for as_dir in $PATH
47488 test -z "$as_dir" && as_dir=.
47489 for ac_exec_ext in '' $ac_executable_extensions; do
47490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47491 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47500 STRIP=$ac_cv_prog_STRIP
47501 if test -n "$STRIP"; then
47502 echo "$as_me:$LINENO: result: $STRIP" >&5
47503 echo "${ECHO_T}$STRIP" >&6
47505 echo "$as_me:$LINENO: result: no" >&5
47506 echo "${ECHO_T}no" >&6
47510 if test -z "$ac_cv_prog_STRIP"; then
47512 # Extract the first word of "strip", so it can be a program name with args.
47513 set dummy strip; ac_word=$2
47514 echo "$as_me:$LINENO: checking for $ac_word" >&5
47515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47516 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47517 echo $ECHO_N "(cached) $ECHO_C" >&6
47519 if test -n "$ac_ct_STRIP"; then
47520 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47523 for as_dir in $PATH
47526 test -z "$as_dir" && as_dir=.
47527 for ac_exec_ext in '' $ac_executable_extensions; do
47528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47529 ac_cv_prog_ac_ct_STRIP="strip"
47530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47536 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
47539 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47540 if test -n "$ac_ct_STRIP"; then
47541 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47542 echo "${ECHO_T}$ac_ct_STRIP" >&6
47544 echo "$as_me:$LINENO: result: no" >&5
47545 echo "${ECHO_T}no" >&6
47550 STRIP="$ac_cv_prog_STRIP"
47553 if test -n "$ac_tool_prefix"; then
47554 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47555 set dummy ${ac_tool_prefix}nm; ac_word=$2
47556 echo "$as_me:$LINENO: checking for $ac_word" >&5
47557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47558 if test "${ac_cv_prog_NM+set}" = set; then
47559 echo $ECHO_N "(cached) $ECHO_C" >&6
47561 if test -n "$NM"; then
47562 ac_cv_prog_NM="$NM" # Let the user override the test.
47564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47565 for as_dir in $PATH
47568 test -z "$as_dir" && as_dir=.
47569 for ac_exec_ext in '' $ac_executable_extensions; do
47570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47571 ac_cv_prog_NM="${ac_tool_prefix}nm"
47572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47581 if test -n "$NM"; then
47582 echo "$as_me:$LINENO: result: $NM" >&5
47583 echo "${ECHO_T}$NM" >&6
47585 echo "$as_me:$LINENO: result: no" >&5
47586 echo "${ECHO_T}no" >&6
47590 if test -z "$ac_cv_prog_NM"; then
47592 # Extract the first word of "nm", so it can be a program name with args.
47593 set dummy nm; ac_word=$2
47594 echo "$as_me:$LINENO: checking for $ac_word" >&5
47595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47596 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47597 echo $ECHO_N "(cached) $ECHO_C" >&6
47599 if test -n "$ac_ct_NM"; then
47600 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47603 for as_dir in $PATH
47606 test -z "$as_dir" && as_dir=.
47607 for ac_exec_ext in '' $ac_executable_extensions; do
47608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47609 ac_cv_prog_ac_ct_NM="nm"
47610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47616 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
47619 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47620 if test -n "$ac_ct_NM"; then
47621 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47622 echo "${ECHO_T}$ac_ct_NM" >&6
47624 echo "$as_me:$LINENO: result: no" >&5
47625 echo "${ECHO_T}no" >&6
47630 NM="$ac_cv_prog_NM"
47634 case ${BAKEFILE_HOST} in
47636 INSTALL_DIR="mkdir -p"
47638 *) INSTALL_DIR="$INSTALL -d"
47644 case ${BAKEFILE_HOST} in
47645 *-*-cygwin* | *-*-mingw32* )
47646 LDFLAGS_GUI="-mwindows"
47652 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47653 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47654 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47655 echo $ECHO_N "(cached) $ECHO_C" >&6
47658 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47659 egrep -s GNU > /dev/null); then
47660 bakefile_cv_prog_makeisgnu="yes"
47662 bakefile_cv_prog_makeisgnu="no"
47666 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47667 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47669 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47686 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47687 case "${BAKEFILE_HOST}" in
47694 *-pc-os2_emx | *-pc-os2-emx )
47704 powerpc-apple-macos* )
47713 case "$BAKEFILE_FORCE_PLATFORM" in
47734 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47735 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47736 { (exit 1); exit 1; }; }
47751 # Check whether --enable-omf or --disable-omf was given.
47752 if test "${enable_omf+set}" = set; then
47753 enableval="$enable_omf"
47754 bk_os2_use_omf="$enableval"
47757 case "${BAKEFILE_HOST}" in
47759 if test "x$GCC" = "xyes"; then
47760 CFLAGS="$CFLAGS -fno-common"
47761 CXXFLAGS="$CXXFLAGS -fno-common"
47763 if test "x$XLCC" = "xyes"; then
47764 CFLAGS="$CFLAGS -qnocommon"
47765 CXXFLAGS="$CXXFLAGS -qnocommon"
47769 *-pc-os2_emx | *-pc-os2-emx )
47770 if test "x$bk_os2_use_omf" = "xyes" ; then
47773 LDFLAGS="-Zomf $LDFLAGS"
47774 CFLAGS="-Zomf $CFLAGS"
47775 CXXFLAGS="-Zomf $CXXFLAGS"
47783 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47789 SO_SUFFIX_MODULE="so"
47794 DLLPREFIX_MODULE=""
47798 case "${BAKEFILE_HOST}" in
47801 SO_SUFFIX_MODULE="sl"
47805 SO_SUFFIX_MODULE="a"
47809 SO_SUFFIX_MODULE="dll"
47810 DLLIMP_SUFFIX="dll.a"
47817 SO_SUFFIX_MODULE="dll"
47818 DLLIMP_SUFFIX="dll.a"
47828 *-pc-os2_emx | *-pc-os2-emx )
47830 SO_SUFFIX_MODULE="dll"
47831 DLLIMP_SUFFIX=$OS2_LIBEXT
47835 LIBEXT=".$OS2_LIBEXT"
47840 SO_SUFFIX_MODULE="bundle"
47844 if test "x$DLLIMP_SUFFIX" = "x" ; then
47845 DLLIMP_SUFFIX="$SO_SUFFIX"
47860 if test "x$GCC" = "xyes"; then
47864 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47865 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47868 case "${BAKEFILE_HOST}" in
47870 if test "x$GCC" != "xyes"; then
47871 LDFLAGS="$LDFLAGS -L/usr/lib"
47873 SHARED_LD_CC="${CC} -b -o"
47874 SHARED_LD_CXX="${CXX} -b -o"
47880 if test "x$GCC" != "xyes"; then
47881 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47882 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47883 if test "${bakefile_cv_prog_icc+set}" = set; then
47884 echo $ECHO_N "(cached) $ECHO_C" >&6
47887 cat >conftest.$ac_ext <<_ACEOF
47890 cat confdefs.h >>conftest.$ac_ext
47891 cat >>conftest.$ac_ext <<_ACEOF
47892 /* end confdefs.h. */
47898 #ifndef __INTEL_COMPILER
47906 rm -f conftest.$ac_objext
47907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47908 (eval $ac_compile) 2>conftest.er1
47910 grep -v '^ *+' conftest.er1 >conftest.err
47912 cat conftest.err >&5
47913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47914 (exit $ac_status); } &&
47915 { ac_try='test -z "$ac_c_werror_flag"
47916 || test ! -s conftest.err'
47917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47918 (eval $ac_try) 2>&5
47920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47921 (exit $ac_status); }; } &&
47922 { ac_try='test -s conftest.$ac_objext'
47923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47924 (eval $ac_try) 2>&5
47926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47927 (exit $ac_status); }; }; then
47928 bakefile_cv_prog_icc=yes
47930 echo "$as_me: failed program was:" >&5
47931 sed 's/^/| /' conftest.$ac_ext >&5
47933 bakefile_cv_prog_icc=no
47936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47939 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
47940 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
47941 if test "$bakefile_cv_prog_icc" = "yes"; then
47948 if test "x$GCC" != xyes ; then
47949 SHARED_LD_CC="${CC} -G -o"
47950 SHARED_LD_CXX="${CXX} -G -o"
47958 cat <<EOF >shared-ld-sh
47960 #-----------------------------------------------------------------------------
47961 #-- Name: distrib/mac/shared-ld-sh
47962 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47963 #-- Author: Gilles Depeyrot
47964 #-- Copyright: (c) 2002 Gilles Depeyrot
47965 #-- Licence: any use permitted
47966 #-----------------------------------------------------------------------------
47971 linking_flag="-dynamiclib"
47972 ldargs="-r -keep_private_externs -nostdlib"
47974 while test ${D}# -gt 0; do
47981 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47982 # collect these options and values
47983 args="${D}{args} ${D}1 ${D}2"
47988 # collect these load args
47989 ldargs="${D}{ldargs} ${D}1"
47992 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47993 # collect these options
47994 args="${D}{args} ${D}1"
47997 -dynamiclib|-bundle)
47998 linking_flag="${D}1"
48002 echo "shared-ld: unhandled option '${D}1'"
48006 *.o | *.a | *.dylib)
48007 # collect object files
48008 objects="${D}{objects} ${D}1"
48012 echo "shared-ld: unhandled argument '${D}1'"
48023 # Link one module containing all the others
48025 if test ${D}{verbose} = 1; then
48026 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48028 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48032 # Link the shared library from the single module created, but only if the
48033 # previous command didn't fail:
48035 if test ${D}{status} = 0; then
48036 if test ${D}{verbose} = 1; then
48037 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48039 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48044 # Remove intermediate module
48046 rm -f master.${D}${D}.o
48051 chmod +x shared-ld-sh
48053 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48054 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
48057 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48058 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48059 if test "${bakefile_cv_gcc31+set}" = set; then
48060 echo $ECHO_N "(cached) $ECHO_C" >&6
48063 cat >conftest.$ac_ext <<_ACEOF
48066 cat confdefs.h >>conftest.$ac_ext
48067 cat >>conftest.$ac_ext <<_ACEOF
48068 /* end confdefs.h. */
48074 #if (__GNUC__ < 3) || \
48075 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48083 rm -f conftest.$ac_objext
48084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48085 (eval $ac_compile) 2>conftest.er1
48087 grep -v '^ *+' conftest.er1 >conftest.err
48089 cat conftest.err >&5
48090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48091 (exit $ac_status); } &&
48092 { ac_try='test -z "$ac_c_werror_flag"
48093 || test ! -s conftest.err'
48094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48095 (eval $ac_try) 2>&5
48097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48098 (exit $ac_status); }; } &&
48099 { ac_try='test -s conftest.$ac_objext'
48100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48101 (eval $ac_try) 2>&5
48103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48104 (exit $ac_status); }; }; then
48106 bakefile_cv_gcc31=yes
48109 echo "$as_me: failed program was:" >&5
48110 sed 's/^/| /' conftest.$ac_ext >&5
48113 bakefile_cv_gcc31=no
48117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48120 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48121 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48122 if test "$bakefile_cv_gcc31" = "no"; then
48123 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48124 SHARED_LD_CXX="$SHARED_LD_CC"
48126 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48127 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48130 if test "x$GCC" == "xyes"; then
48131 PIC_FLAG="-dynamic -fPIC"
48133 if test "x$XLCC" = "xyes"; then
48134 PIC_FLAG="-dynamic -DPIC"
48139 if test "x$GCC" = "xyes"; then
48142 case "${BAKEFILE_HOST}" in
48144 LD_EXPFULL="-Wl,-bexpfull"
48148 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48149 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48151 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48152 set dummy makeC++SharedLib; ac_word=$2
48153 echo "$as_me:$LINENO: checking for $ac_word" >&5
48154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48155 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48156 echo $ECHO_N "(cached) $ECHO_C" >&6
48158 if test -n "$AIX_CXX_LD"; then
48159 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48162 for as_dir in $PATH
48165 test -z "$as_dir" && as_dir=.
48166 for ac_exec_ext in '' $ac_executable_extensions; do
48167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48168 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48175 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48178 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48179 if test -n "$AIX_CXX_LD"; then
48180 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48181 echo "${ECHO_T}$AIX_CXX_LD" >&6
48183 echo "$as_me:$LINENO: result: no" >&5
48184 echo "${ECHO_T}no" >&6
48187 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48188 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48193 SHARED_LD_CC="${LD} -nostart -o"
48194 SHARED_LD_CXX="${LD} -nostart -o"
48198 if test "x$GCC" != "xyes"; then
48203 *-*-cygwin* | *-*-mingw32* )
48205 SHARED_LD_CC="\$(CC) -shared -o"
48206 SHARED_LD_CXX="\$(CXX) -shared -o"
48210 *-pc-os2_emx | *-pc-os2-emx )
48211 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48212 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48216 cat <<EOF >dllar.sh
48219 # dllar - a tool to build both a .dll and an .a file
48220 # from a set of object (.o) files for EMX/OS2.
48222 # Written by Andrew Zabolotny, bit@freya.etu.ru
48223 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48225 # This script will accept a set of files on the command line.
48226 # All the public symbols from the .o files will be exported into
48227 # a .DEF file, then linker will be run (through gcc) against them to
48228 # build a shared library consisting of all given .o files. All libraries
48229 # (.a) will be first decompressed into component .o files then act as
48230 # described above. You can optionally give a description (-d "description")
48231 # which will be put into .DLL. To see the list of accepted options (as well
48232 # as command-line format) simply run this program without options. The .DLL
48233 # is built to be imported by name (there is no guarantee that new versions
48234 # of the library you build will have same ordinals for same symbols).
48236 # dllar is free software; you can redistribute it and/or modify
48237 # it under the terms of the GNU General Public License as published by
48238 # the Free Software Foundation; either version 2, or (at your option)
48239 # any later version.
48241 # dllar is distributed in the hope that it will be useful,
48242 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48243 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48244 # GNU General Public License for more details.
48246 # You should have received a copy of the GNU General Public License
48247 # along with dllar; see the file COPYING. If not, write to the Free
48248 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48251 # To successfuly run this program you will need:
48252 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48253 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48255 # (used to build the .dll)
48257 # (used to create .def file from .o files)
48259 # (used to create .a file from .def file)
48260 # - GNU text utilites (cat, sort, uniq)
48261 # used to process emxexp output
48262 # - GNU file utilities (mv, rm)
48264 # - lxlite (optional, see flag below)
48265 # (used for general .dll cleanup)
48272 # basnam, variant of basename, which does _not_ remove the path, _iff_
48273 # second argument (suffix to remove) is given
48277 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48280 echo ${D}1 | sed 's/'${D}2'${D}//'
48283 echo "error in basnam ${D}*"
48289 # Cleanup temporary files and output
48292 for i in ${D}inputFiles ; do
48295 rm -rf \`basnam ${D}i !\`
48302 # Kill result in case of failure as there is just to many stupid make/nmake
48303 # things out there which doesn't do this.
48304 if [ ${D}# -eq 0 ]; then
48305 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48309 # Print usage and exit script with rc=1.
48311 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48312 echo ' [-name-mangler-script script.sh]'
48313 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48314 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48315 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48316 echo ' [*.o] [*.a]'
48317 echo '*> "output_file" should have no extension.'
48318 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48319 echo ' The import library name is derived from this and is set to "name".a,'
48320 echo ' unless overridden by -import'
48321 echo '*> "importlib_name" should have no extension.'
48322 echo ' If it has the .o, or .a extension, it is automatically removed.'
48323 echo ' This name is used as the import library name and may be longer and'
48324 echo ' more descriptive than the DLL name which has to follow the old '
48325 echo ' 8.3 convention of FAT.'
48326 echo '*> "script.sh may be given to override the output_file name by a'
48327 echo ' different name. It is mainly useful if the regular make process'
48328 echo ' of some package does not take into account OS/2 restriction of'
48329 echo ' DLL name lengths. It takes the importlib name as input and is'
48330 echo ' supposed to procude a shorter name as output. The script should'
48331 echo ' expect to get importlib_name without extension and should produce'
48332 echo ' a (max.) 8 letter name without extension.'
48333 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48334 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48335 echo ' These flags will be put at the start of GCC command line.'
48336 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48337 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48338 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48339 echo ' If the last character of a symbol is "*", all symbols beginning'
48340 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48341 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48342 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48343 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48344 echo ' C runtime DLLs.'
48345 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48346 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48347 echo ' unchanged to GCC at the end of command line.'
48348 echo '*> If you create a DLL from a library and you do not specify -o,'
48349 echo ' the basename for DLL and import library will be set to library name,'
48350 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48351 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48352 echo ' library will be renamed into gcc_s.a.'
48355 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48356 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48361 # Execute a command.
48362 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48363 # @Uses Whatever CleanUp() uses.
48369 if [ ${D}rcCmd -ne 0 ]; then
48370 echo "command failed, exit code="${D}rcCmd
48385 CFLAGS="-s -Zcrtdll"
48387 EXPORT_BY_ORDINALS=0
48392 case ${D}curDirS in
48396 curDirS=${D}{curDirS}"/"
48399 # Parse commandline
48402 while [ ${D}1 ]; do
48405 EXPORT_BY_ORDINALS=1;
48415 -name-mangler-script)
48436 exclude_symbols=${D}{exclude_symbols}${D}1" "
48440 library_flags=${D}{library_flags}${D}1" "
48459 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48462 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48463 if [ ${D}omfLinking -eq 1 ]; then
48464 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48466 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48471 if [ ${D}libsToLink -ne 0 ]; then
48472 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48474 for file in ${D}1 ; do
48475 if [ -f ${D}file ]; then
48476 inputFiles="${D}{inputFiles} ${D}file"
48480 if [ ${D}found -eq 0 ]; then
48481 echo "ERROR: No file(s) found: "${D}1
48488 done # iterate cmdline words
48491 if [ -z "${D}inputFiles" ]; then
48492 echo "dllar: no input files"
48496 # Now extract all .o files from .a files
48498 for file in ${D}inputFiles ; do
48509 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48514 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48516 if [ ${D}? -ne 0 ]; then
48517 echo "Failed to create subdirectory ./${D}dirname"
48521 # Append '!' to indicate archive
48522 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48523 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48526 for subfile in ${D}dirname/*.o* ; do
48527 if [ -f ${D}subfile ]; then
48529 if [ -s ${D}subfile ]; then
48530 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48531 newInputFiles="${D}newInputFiles ${D}subfile"
48535 if [ ${D}found -eq 0 ]; then
48536 echo "WARNING: there are no files in archive \\'${D}file\\'"
48540 newInputFiles="${D}{newInputFiles} ${D}file"
48544 inputFiles="${D}newInputFiles"
48546 # Output filename(s).
48548 if [ -z ${D}outFile ]; then
48550 set outFile ${D}inputFiles; outFile=${D}2
48553 # If it is an archive, remove the '!' and the '_%' suffixes
48554 case ${D}outFile in
48556 outFile=\`basnam ${D}outFile _%!\`
48561 case ${D}outFile in
48563 outFile=\`basnam ${D}outFile .dll\`
48566 outFile=\`basnam ${D}outFile .DLL\`
48569 outFile=\`basnam ${D}outFile .o\`
48572 outFile=\`basnam ${D}outFile .obj\`
48575 outFile=\`basnam ${D}outFile .a\`
48578 outFile=\`basnam ${D}outFile .lib\`
48583 case ${D}outimpFile in
48585 outimpFile=\`basnam ${D}outimpFile .a\`
48588 outimpFile=\`basnam ${D}outimpFile .lib\`
48593 if [ -z ${D}outimpFile ]; then
48594 outimpFile=${D}outFile
48596 defFile="${D}{outFile}.def"
48597 arcFile="${D}{outimpFile}.a"
48598 arcFile2="${D}{outimpFile}.lib"
48600 #create ${D}dllFile as something matching 8.3 restrictions,
48601 if [ -z ${D}renameScript ] ; then
48602 dllFile="${D}outFile"
48604 dllFile=\`${D}renameScript ${D}outimpFile\`
48607 if [ ${D}do_backup -ne 0 ] ; then
48608 if [ -f ${D}arcFile ] ; then
48609 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48611 if [ -f ${D}arcFile2 ] ; then
48612 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48616 # Extract public symbols from all the object files.
48617 tmpdefFile=${D}{defFile}_%
48618 rm -f ${D}tmpdefFile
48619 for file in ${D}inputFiles ; do
48624 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48629 # Create the def file.
48631 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48632 dllFile="${D}{dllFile}.dll"
48633 if [ ! -z ${D}description ]; then
48634 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48636 echo "EXPORTS" >> ${D}defFile
48638 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48639 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48641 # Checks if the export is ok or not.
48642 for word in ${D}exclude_symbols; do
48643 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48644 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48648 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48649 sed "=" < ${D}tmpdefFile | \\
48653 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48655 ' > ${D}{tmpdefFile}%
48656 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48658 rm -f ${D}{tmpdefFile}%
48660 cat ${D}tmpdefFile >> ${D}defFile
48661 rm -f ${D}tmpdefFile
48663 # Do linking, create implib, and apply lxlite.
48665 for file in ${D}inputFiles ; do
48670 gccCmdl="${D}gccCmdl ${D}file"
48674 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48675 touch "${D}{outFile}.dll"
48677 doCommand "emximp -o ${D}arcFile ${D}defFile"
48678 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48680 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48683 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48685 doCommand "emxomf -s -l ${D}arcFile"
48695 powerpc-apple-macos* | \
48696 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48707 if test "x$PIC_FLAG" != "x" ; then
48708 PIC_FLAG="$PIC_FLAG -DPIC"
48711 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48712 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48714 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48715 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48734 case "${BAKEFILE_HOST}" in
48735 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48736 SONAME_FLAG="-Wl,-soname,"
48770 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48771 if test "${enable_dependency_tracking+set}" = set; then
48772 enableval="$enable_dependency_tracking"
48773 bk_use_trackdeps="$enableval"
48776 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48777 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48779 if test "x$bk_use_trackdeps" = "xno" ; then
48781 echo "$as_me:$LINENO: result: disabled" >&5
48782 echo "${ECHO_T}disabled" >&6
48786 if test "x$GCC" = "xyes"; then
48788 case "${BAKEFILE_HOST}" in
48790 DEPSFLAG="-no-cpp-precomp -MMD"
48796 echo "$as_me:$LINENO: result: gcc" >&5
48797 echo "${ECHO_T}gcc" >&6
48798 elif test "x$MWCC" = "xyes"; then
48801 echo "$as_me:$LINENO: result: mwcc" >&5
48802 echo "${ECHO_T}mwcc" >&6
48803 elif test "x$SUNCC" = "xyes"; then
48806 echo "$as_me:$LINENO: result: Sun cc" >&5
48807 echo "${ECHO_T}Sun cc" >&6
48808 elif test "x$SGICC" = "xyes"; then
48811 echo "$as_me:$LINENO: result: SGI cc" >&5
48812 echo "${ECHO_T}SGI cc" >&6
48813 elif test "x$HPCC" = "xyes"; then
48816 echo "$as_me:$LINENO: result: HP cc" >&5
48817 echo "${ECHO_T}HP cc" >&6
48818 elif test "x$COMPAQCC" = "xyes"; then
48821 echo "$as_me:$LINENO: result: Compaq cc" >&5
48822 echo "${ECHO_T}Compaq cc" >&6
48825 echo "$as_me:$LINENO: result: none" >&5
48826 echo "${ECHO_T}none" >&6
48829 if test $DEPS_TRACKING = 1 ; then
48835 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48836 # script. It is used to track C/C++ files dependencies in portable way.
48838 # Permission is given to use this file in any way.
48840 DEPSMODE=${DEPSMODE}
48842 DEPSFLAG="${DEPSFLAG}"
48844 mkdir -p ${D}DEPSDIR
48846 if test ${D}DEPSMODE = gcc ; then
48847 ${D}* ${D}{DEPSFLAG}
48849 if test ${D}{status} != 0 ; then
48852 # move created file to the location we want it in:
48853 while test ${D}# -gt 0; do
48867 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48868 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48869 if test -f ${D}depfile ; then
48870 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48873 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48874 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48875 if test ! -f ${D}depfile ; then
48876 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48877 depfile="${D}objfile.d"
48879 if test -f ${D}depfile ; then
48880 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48885 elif test ${D}DEPSMODE = mwcc ; then
48886 ${D}* || exit ${D}?
48887 # Run mwcc again with -MM and redirect into the dep file we want
48888 # NOTE: We can't use shift here because we need ${D}* to be valid
48890 for arg in ${D}* ; do
48891 if test "${D}prevarg" = "-o"; then
48904 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48906 elif test ${D}DEPSMODE = unixcc; then
48907 ${D}* || exit ${D}?
48908 # Run compiler again with deps flag and redirect into the dep file.
48909 # It doesn't work if the '-o FILE' option is used, but without it the
48910 # dependency file will contain the wrong name for the object. So it is
48911 # removed from the command line, and the dep file is fixed with sed.
48913 while test ${D}# -gt 0; do
48920 eval arg${D}#=\\${D}1
48921 cmd="${D}cmd \\${D}arg${D}#"
48926 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48941 case ${BAKEFILE_HOST} in
48942 *-*-cygwin* | *-*-mingw32* )
48943 if test -n "$ac_tool_prefix"; then
48944 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48945 set dummy ${ac_tool_prefix}windres; ac_word=$2
48946 echo "$as_me:$LINENO: checking for $ac_word" >&5
48947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48948 if test "${ac_cv_prog_WINDRES+set}" = set; then
48949 echo $ECHO_N "(cached) $ECHO_C" >&6
48951 if test -n "$WINDRES"; then
48952 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48955 for as_dir in $PATH
48958 test -z "$as_dir" && as_dir=.
48959 for ac_exec_ext in '' $ac_executable_extensions; do
48960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48961 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48970 WINDRES=$ac_cv_prog_WINDRES
48971 if test -n "$WINDRES"; then
48972 echo "$as_me:$LINENO: result: $WINDRES" >&5
48973 echo "${ECHO_T}$WINDRES" >&6
48975 echo "$as_me:$LINENO: result: no" >&5
48976 echo "${ECHO_T}no" >&6
48980 if test -z "$ac_cv_prog_WINDRES"; then
48981 ac_ct_WINDRES=$WINDRES
48982 # Extract the first word of "windres", so it can be a program name with args.
48983 set dummy windres; ac_word=$2
48984 echo "$as_me:$LINENO: checking for $ac_word" >&5
48985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48986 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48987 echo $ECHO_N "(cached) $ECHO_C" >&6
48989 if test -n "$ac_ct_WINDRES"; then
48990 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48993 for as_dir in $PATH
48996 test -z "$as_dir" && as_dir=.
48997 for ac_exec_ext in '' $ac_executable_extensions; do
48998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48999 ac_cv_prog_ac_ct_WINDRES="windres"
49000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49008 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49009 if test -n "$ac_ct_WINDRES"; then
49010 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49011 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49013 echo "$as_me:$LINENO: result: no" >&5
49014 echo "${ECHO_T}no" >&6
49017 WINDRES=$ac_ct_WINDRES
49019 WINDRES="$ac_cv_prog_WINDRES"
49024 *-*-darwin* | powerpc-apple-macos* )
49025 # Extract the first word of "Rez", so it can be a program name with args.
49026 set dummy Rez; ac_word=$2
49027 echo "$as_me:$LINENO: checking for $ac_word" >&5
49028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49029 if test "${ac_cv_prog_REZ+set}" = set; then
49030 echo $ECHO_N "(cached) $ECHO_C" >&6
49032 if test -n "$REZ"; then
49033 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49036 for as_dir in $PATH
49039 test -z "$as_dir" && as_dir=.
49040 for ac_exec_ext in '' $ac_executable_extensions; do
49041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49042 ac_cv_prog_REZ="Rez"
49043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49049 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49052 REZ=$ac_cv_prog_REZ
49053 if test -n "$REZ"; then
49054 echo "$as_me:$LINENO: result: $REZ" >&5
49055 echo "${ECHO_T}$REZ" >&6
49057 echo "$as_me:$LINENO: result: no" >&5
49058 echo "${ECHO_T}no" >&6
49061 # Extract the first word of "SetFile", so it can be a program name with args.
49062 set dummy SetFile; ac_word=$2
49063 echo "$as_me:$LINENO: checking for $ac_word" >&5
49064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49065 if test "${ac_cv_prog_SETFILE+set}" = set; then
49066 echo $ECHO_N "(cached) $ECHO_C" >&6
49068 if test -n "$SETFILE"; then
49069 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49072 for as_dir in $PATH
49075 test -z "$as_dir" && as_dir=.
49076 for ac_exec_ext in '' $ac_executable_extensions; do
49077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49078 ac_cv_prog_SETFILE="SetFile"
49079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49085 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49088 SETFILE=$ac_cv_prog_SETFILE
49089 if test -n "$SETFILE"; then
49090 echo "$as_me:$LINENO: result: $SETFILE" >&5
49091 echo "${ECHO_T}$SETFILE" >&6
49093 echo "$as_me:$LINENO: result: no" >&5
49094 echo "${ECHO_T}no" >&6
49105 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
49108 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
49112 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49113 if test "${enable_precomp_headers+set}" = set; then
49114 enableval="$enable_precomp_headers"
49115 bk_use_pch="$enableval"
49122 case ${BAKEFILE_HOST} in
49128 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49129 if test "x$GCC" = "xyes"; then
49130 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49131 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49132 cat >conftest.$ac_ext <<_ACEOF
49135 cat confdefs.h >>conftest.$ac_ext
49136 cat >>conftest.$ac_ext <<_ACEOF
49137 /* end confdefs.h. */
49143 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49144 There is no PCH support
49147 There is no PCH support
49149 #if (__GNUC__ == 3) && \
49150 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49151 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49152 ( defined(__INTEL_COMPILER) )
49153 There is no PCH support
49160 rm -f conftest.$ac_objext
49161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49162 (eval $ac_compile) 2>conftest.er1
49164 grep -v '^ *+' conftest.er1 >conftest.err
49166 cat conftest.err >&5
49167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49168 (exit $ac_status); } &&
49169 { ac_try='test -z "$ac_c_werror_flag"
49170 || test ! -s conftest.err'
49171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49172 (eval $ac_try) 2>&5
49174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49175 (exit $ac_status); }; } &&
49176 { ac_try='test -s conftest.$ac_objext'
49177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49178 (eval $ac_try) 2>&5
49180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49181 (exit $ac_status); }; }; then
49183 echo "$as_me:$LINENO: result: yes" >&5
49184 echo "${ECHO_T}yes" >&6
49188 echo "$as_me: failed program was:" >&5
49189 sed 's/^/| /' conftest.$ac_ext >&5
49192 cat >conftest.$ac_ext <<_ACEOF
49195 cat confdefs.h >>conftest.$ac_ext
49196 cat >>conftest.$ac_ext <<_ACEOF
49197 /* end confdefs.h. */
49203 #if !defined(__INTEL_COMPILER) || \
49204 (__INTEL_COMPILER < 800)
49205 There is no PCH support
49212 rm -f conftest.$ac_objext
49213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49214 (eval $ac_compile) 2>conftest.er1
49216 grep -v '^ *+' conftest.er1 >conftest.err
49218 cat conftest.err >&5
49219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49220 (exit $ac_status); } &&
49221 { ac_try='test -z "$ac_c_werror_flag"
49222 || test ! -s conftest.err'
49223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49224 (eval $ac_try) 2>&5
49226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49227 (exit $ac_status); }; } &&
49228 { ac_try='test -s conftest.$ac_objext'
49229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49230 (eval $ac_try) 2>&5
49232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49233 (exit $ac_status); }; }; then
49235 echo "$as_me:$LINENO: result: yes" >&5
49236 echo "${ECHO_T}yes" >&6
49240 echo "$as_me: failed program was:" >&5
49241 sed 's/^/| /' conftest.$ac_ext >&5
49244 echo "$as_me:$LINENO: result: no" >&5
49245 echo "${ECHO_T}no" >&6
49248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49252 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49256 cat <<EOF >bk-make-pch
49259 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49260 # script. It is used to generated precompiled headers.
49262 # Permission is given to use this file in any way.
49272 while test ${D}{#} -gt 0; do
49276 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49277 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49278 headerfile="${D}{incdir}/${D}{header}"
49281 -use-pch|-use_pch )
49286 if test ${D}add_to_cmdline = 1 ; then
49287 compiler="${D}{compiler} ${D}{1}"
49292 if test "x${D}{headerfile}" = "x" ; then
49293 echo "error: can't find header ${D}{header} in include paths" >&2
49295 if test -f ${D}{outfile} ; then
49296 rm -f ${D}{outfile}
49298 mkdir -p \`dirname ${D}{outfile}\`
49300 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49302 if test "x${GCC_PCH}" = "x1" ; then
49303 # can do this because gcc is >= 3.4:
49304 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49305 elif test "x${ICC_PCH}" = "x1" ; then
49306 filename=pch_gen-${D}${D}
49307 file=${D}{filename}.c
49308 dfile=${D}{filename}.d
49309 cat > ${D}file <<EOT
49310 #include "${D}header"
49312 # using -MF icc complains about differing command lines in creation/use
49313 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49314 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49315 rm -f ${D}file ${D}dfile ${D}{filename}.o
49321 chmod +x bk-make-pch
49329 COND_BUILD_DEBUG="#"
49330 if test "x$BUILD" = "xdebug" ; then
49331 COND_BUILD_DEBUG=""
49334 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49335 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49336 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49339 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49340 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49341 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49344 COND_BUILD_DEBUG_UNICODE_0="#"
49345 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49346 COND_BUILD_DEBUG_UNICODE_0=""
49349 COND_BUILD_DEBUG_UNICODE_1="#"
49350 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49351 COND_BUILD_DEBUG_UNICODE_1=""
49354 COND_BUILD_RELEASE="#"
49355 if test "x$BUILD" = "xrelease" ; then
49356 COND_BUILD_RELEASE=""
49359 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49360 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49361 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49364 COND_BUILD_RELEASE_UNICODE_0="#"
49365 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49366 COND_BUILD_RELEASE_UNICODE_0=""
49369 COND_BUILD_RELEASE_UNICODE_1="#"
49370 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49371 COND_BUILD_RELEASE_UNICODE_1=""
49374 COND_DEBUG_FLAG_1="#"
49375 if test "x$DEBUG_FLAG" = "x1" ; then
49376 COND_DEBUG_FLAG_1=""
49379 COND_DEBUG_INFO_0="#"
49380 if test "x$DEBUG_INFO" = "x0" ; then
49381 COND_DEBUG_INFO_0=""
49384 COND_DEBUG_INFO_1="#"
49385 if test "x$DEBUG_INFO" = "x1" ; then
49386 COND_DEBUG_INFO_1=""
49389 COND_DEPS_TRACKING_0="#"
49390 if test "x$DEPS_TRACKING" = "x0" ; then
49391 COND_DEPS_TRACKING_0=""
49394 COND_DEPS_TRACKING_1="#"
49395 if test "x$DEPS_TRACKING" = "x1" ; then
49396 COND_DEPS_TRACKING_1=""
49400 if test "x$GCC_PCH" = "x1" ; then
49405 if test "x$ICC_PCH" = "x1" ; then
49409 COND_MONOLITHIC_0="#"
49410 if test "x$MONOLITHIC" = "x0" ; then
49411 COND_MONOLITHIC_0=""
49414 COND_MONOLITHIC_0_SHARED_0="#"
49415 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49416 COND_MONOLITHIC_0_SHARED_0=""
49419 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49420 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49421 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49424 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49425 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49426 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49429 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49430 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49431 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49434 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49435 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49436 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49439 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
49440 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49441 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
49444 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49445 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49446 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49449 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
49450 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49451 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
49454 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49455 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49456 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49459 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49460 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49461 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49464 COND_MONOLITHIC_0_SHARED_1="#"
49465 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49466 COND_MONOLITHIC_0_SHARED_1=""
49469 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49470 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49471 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49474 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49475 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49476 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49479 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49480 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49481 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49484 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49485 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49486 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49489 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
49490 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49491 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
49494 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49495 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49496 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49499 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
49500 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49501 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
49504 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49505 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49506 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49509 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49510 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49511 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49514 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49515 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49516 COND_MONOLITHIC_0_USE_MEDIA_1=""
49519 COND_MONOLITHIC_0_USE_ODBC_1="#"
49520 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49521 COND_MONOLITHIC_0_USE_ODBC_1=""
49524 COND_MONOLITHIC_1="#"
49525 if test "x$MONOLITHIC" = "x1" ; then
49526 COND_MONOLITHIC_1=""
49529 COND_MONOLITHIC_1_SHARED_0="#"
49530 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49531 COND_MONOLITHIC_1_SHARED_0=""
49534 COND_MONOLITHIC_1_SHARED_1="#"
49535 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49536 COND_MONOLITHIC_1_SHARED_1=""
49539 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49540 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49541 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49544 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49545 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49546 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49549 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49550 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49551 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49554 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49555 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49556 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49559 COND_PLATFORM_MACOSX_1="#"
49560 if test "x$PLATFORM_MACOSX" = "x1" ; then
49561 COND_PLATFORM_MACOSX_1=""
49564 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49565 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49566 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49569 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49570 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49571 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49574 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49575 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49576 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49579 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49580 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49581 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49584 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49585 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49586 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49589 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49590 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49591 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49594 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49595 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49596 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49599 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49600 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49601 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49604 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49605 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49606 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49609 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49610 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49611 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49614 COND_PLATFORM_MACOS_1="#"
49615 if test "x$PLATFORM_MACOS" = "x1" ; then
49616 COND_PLATFORM_MACOS_1=""
49619 COND_PLATFORM_MAC_1="#"
49620 if test "x$PLATFORM_MAC" = "x1" ; then
49621 COND_PLATFORM_MAC_1=""
49624 COND_PLATFORM_MSDOS_0="#"
49625 if test "x$PLATFORM_MSDOS" = "x0" ; then
49626 COND_PLATFORM_MSDOS_0=""
49629 COND_PLATFORM_MSDOS_1="#"
49630 if test "x$PLATFORM_MSDOS" = "x1" ; then
49631 COND_PLATFORM_MSDOS_1=""
49634 COND_PLATFORM_OS2_1="#"
49635 if test "x$PLATFORM_OS2" = "x1" ; then
49636 COND_PLATFORM_OS2_1=""
49639 COND_PLATFORM_UNIX_0="#"
49640 if test "x$PLATFORM_UNIX" = "x0" ; then
49641 COND_PLATFORM_UNIX_0=""
49644 COND_PLATFORM_UNIX_1="#"
49645 if test "x$PLATFORM_UNIX" = "x1" ; then
49646 COND_PLATFORM_UNIX_1=""
49649 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49650 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49651 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49654 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49655 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49656 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49659 COND_PLATFORM_WIN32_0="#"
49660 if test "x$PLATFORM_WIN32" = "x0" ; then
49661 COND_PLATFORM_WIN32_0=""
49664 COND_PLATFORM_WIN32_1="#"
49665 if test "x$PLATFORM_WIN32" = "x1" ; then
49666 COND_PLATFORM_WIN32_1=""
49670 if test "x$SHARED" = "x0" ; then
49674 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49675 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49676 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49679 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49680 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49681 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49684 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49685 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49686 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49689 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49690 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49691 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49694 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49695 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49696 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49699 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49700 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49701 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49704 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49705 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49706 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49709 COND_SHARED_0_USE_XRC_1="#"
49710 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49711 COND_SHARED_0_USE_XRC_1=""
49714 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49715 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49716 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49719 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
49720 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49721 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
49724 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49725 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49726 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49729 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49730 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49731 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49735 if test "x$SHARED" = "x1" ; then
49739 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49740 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49741 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49744 COND_SHARED_1_USE_XRC_1="#"
49745 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49746 COND_SHARED_1_USE_XRC_1=""
49750 if test "x$TOOLKIT" = "x" ; then
49754 COND_TOOLKIT_COCOA="#"
49755 if test "x$TOOLKIT" = "xCOCOA" ; then
49756 COND_TOOLKIT_COCOA=""
49759 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49760 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49761 COND_TOOLKIT_COCOA_USE_GUI_1=""
49764 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49765 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49766 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49769 COND_TOOLKIT_DFB="#"
49770 if test "x$TOOLKIT" = "xDFB" ; then
49771 COND_TOOLKIT_DFB=""
49774 COND_TOOLKIT_DFB_USE_GUI_1="#"
49775 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49776 COND_TOOLKIT_DFB_USE_GUI_1=""
49779 COND_TOOLKIT_GTK="#"
49780 if test "x$TOOLKIT" = "xGTK" ; then
49781 COND_TOOLKIT_GTK=""
49784 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49785 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49786 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49789 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49790 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49791 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49794 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49795 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49796 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49799 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49800 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49801 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49804 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49805 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49806 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49809 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49810 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49811 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49814 COND_TOOLKIT_GTK_USE_GUI_1="#"
49815 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49816 COND_TOOLKIT_GTK_USE_GUI_1=""
49819 COND_TOOLKIT_MAC="#"
49820 if test "x$TOOLKIT" = "xMAC" ; then
49821 COND_TOOLKIT_MAC=""
49824 COND_TOOLKIT_MAC_USE_GUI_1="#"
49825 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49826 COND_TOOLKIT_MAC_USE_GUI_1=""
49829 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49830 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49831 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49834 COND_TOOLKIT_MGL="#"
49835 if test "x$TOOLKIT" = "xMGL" ; then
49836 COND_TOOLKIT_MGL=""
49839 COND_TOOLKIT_MGL_USE_GUI_1="#"
49840 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49841 COND_TOOLKIT_MGL_USE_GUI_1=""
49844 COND_TOOLKIT_MOTIF="#"
49845 if test "x$TOOLKIT" = "xMOTIF" ; then
49846 COND_TOOLKIT_MOTIF=""
49849 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49850 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49851 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49854 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49855 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49856 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49859 COND_TOOLKIT_MSW="#"
49860 if test "x$TOOLKIT" = "xMSW" ; then
49861 COND_TOOLKIT_MSW=""
49864 COND_TOOLKIT_MSW_USE_GUI_1="#"
49865 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49866 COND_TOOLKIT_MSW_USE_GUI_1=""
49869 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49870 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49871 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49874 COND_TOOLKIT_MSW_WXUNIV_0="#"
49875 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49876 COND_TOOLKIT_MSW_WXUNIV_0=""
49879 COND_TOOLKIT_PM="#"
49880 if test "x$TOOLKIT" = "xPM" ; then
49884 COND_TOOLKIT_PM_USE_GUI_1="#"
49885 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49886 COND_TOOLKIT_PM_USE_GUI_1=""
49889 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49890 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49891 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49894 COND_TOOLKIT_WINCE="#"
49895 if test "x$TOOLKIT" = "xWINCE" ; then
49896 COND_TOOLKIT_WINCE=""
49899 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49900 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49901 COND_TOOLKIT_WINCE_USE_GUI_1=""
49904 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49905 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49906 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49909 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49910 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49911 COND_TOOLKIT_WINCE_WXUNIV_0=""
49914 COND_TOOLKIT_X11="#"
49915 if test "x$TOOLKIT" = "xX11" ; then
49916 COND_TOOLKIT_X11=""
49919 COND_TOOLKIT_X11_USE_GUI_1="#"
49920 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49921 COND_TOOLKIT_X11_USE_GUI_1=""
49925 if test "x$UNICODE" = "x1" ; then
49929 COND_USE_EXCEPTIONS_0="#"
49930 if test "x$USE_EXCEPTIONS" = "x0" ; then
49931 COND_USE_EXCEPTIONS_0=""
49934 COND_USE_EXCEPTIONS_1="#"
49935 if test "x$USE_EXCEPTIONS" = "x1" ; then
49936 COND_USE_EXCEPTIONS_1=""
49940 if test "x$USE_GUI" = "x0" ; then
49945 if test "x$USE_GUI" = "x1" ; then
49949 COND_USE_GUI_1_WXUNIV_0="#"
49950 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49951 COND_USE_GUI_1_WXUNIV_0=""
49954 COND_USE_GUI_1_WXUNIV_1="#"
49955 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49956 COND_USE_GUI_1_WXUNIV_1=""
49959 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49960 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49961 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49964 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49965 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49966 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49969 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49970 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49971 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49974 COND_USE_ODBC_1="#"
49975 if test "x$USE_ODBC" = "x1" ; then
49979 COND_USE_OPENGL_1="#"
49980 if test "x$USE_OPENGL" = "x1" ; then
49981 COND_USE_OPENGL_1=""
49985 if test "x$USE_PCH" = "x1" ; then
49989 COND_USE_PLUGINS_0="#"
49990 if test "x$USE_PLUGINS" = "x0" ; then
49991 COND_USE_PLUGINS_0=""
49994 COND_USE_RTTI_0="#"
49995 if test "x$USE_RTTI" = "x0" ; then
49999 COND_USE_RTTI_1="#"
50000 if test "x$USE_RTTI" = "x1" ; then
50004 COND_USE_SOSYMLINKS_1="#"
50005 if test "x$USE_SOSYMLINKS" = "x1" ; then
50006 COND_USE_SOSYMLINKS_1=""
50009 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50010 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50011 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50014 COND_USE_SOVERLINUX_1="#"
50015 if test "x$USE_SOVERLINUX" = "x1" ; then
50016 COND_USE_SOVERLINUX_1=""
50019 COND_USE_SOVERSION_0="#"
50020 if test "x$USE_SOVERSION" = "x0" ; then
50021 COND_USE_SOVERSION_0=""
50024 COND_USE_SOVERSOLARIS_1="#"
50025 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50026 COND_USE_SOVERSOLARIS_1=""
50029 COND_USE_THREADS_0="#"
50030 if test "x$USE_THREADS" = "x0" ; then
50031 COND_USE_THREADS_0=""
50034 COND_USE_THREADS_1="#"
50035 if test "x$USE_THREADS" = "x1" ; then
50036 COND_USE_THREADS_1=""
50040 if test "x$USE_XRC" = "x1" ; then
50044 COND_WINDOWS_IMPLIB_1="#"
50045 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50046 COND_WINDOWS_IMPLIB_1=""
50049 COND_WITH_PLUGIN_SDL_1="#"
50050 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50051 COND_WITH_PLUGIN_SDL_1=""
50055 if test "x$WXUNIV" = "x0" ; then
50060 if test "x$WXUNIV" = "x1" ; then
50064 COND_WXUSE_EXPAT_BUILTIN="#"
50065 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50066 COND_WXUSE_EXPAT_BUILTIN=""
50069 COND_WXUSE_LIBJPEG_BUILTIN="#"
50070 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50071 COND_WXUSE_LIBJPEG_BUILTIN=""
50074 COND_WXUSE_LIBPNG_BUILTIN="#"
50075 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50076 COND_WXUSE_LIBPNG_BUILTIN=""
50079 COND_WXUSE_LIBTIFF_BUILTIN="#"
50080 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50081 COND_WXUSE_LIBTIFF_BUILTIN=""
50084 COND_WXUSE_ODBC_BUILTIN="#"
50085 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50086 COND_WXUSE_ODBC_BUILTIN=""
50089 COND_WXUSE_REGEX_BUILTIN="#"
50090 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50091 COND_WXUSE_REGEX_BUILTIN=""
50094 COND_WXUSE_ZLIB_BUILTIN="#"
50095 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50096 COND_WXUSE_ZLIB_BUILTIN=""
50101 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50102 { { 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
50103 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;}
50104 { (exit 1); exit 1; }; }
50107 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50108 { { 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
50109 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;}
50110 { (exit 1); exit 1; }; }
50115 if test "$wxUSE_MAC" = 1 ; then
50116 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50117 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50123 if test "$wxUSE_SHARED" = "yes"; then
50125 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
50126 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
50129 *-pc-os2_emx | *-pc-os2-emx )
50130 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50131 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50132 cp -p ${srcdir}/src/os2/dllnames.sh .
50133 cp -p ${srcdir}/src/os2/dllar.sh .
50138 EXE_LINKER="$CXX -o"
50141 if test "$wxUSE_OMF" = "yes"; then
50143 *-pc-os2_emx | *-pc-os2-emx )
50144 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50145 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50146 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50151 if test $GCC_PCH = 1 ; then
50152 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
50155 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50157 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50219 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50220 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50221 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
50222 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50223 echo $ECHO_N "(cached) $ECHO_C" >&6
50225 cat >conftest.make <<\_ACEOF
50227 @echo 'ac_maketemp="$(MAKE)"'
50229 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50230 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50231 if test -n "$ac_maketemp"; then
50232 eval ac_cv_prog_make_${ac_make}_set=yes
50234 eval ac_cv_prog_make_${ac_make}_set=no
50236 rm -f conftest.make
50238 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50239 echo "$as_me:$LINENO: result: yes" >&5
50240 echo "${ECHO_T}yes" >&6
50243 echo "$as_me:$LINENO: result: no" >&5
50244 echo "${ECHO_T}no" >&6
50245 SET_MAKE="MAKE=${MAKE-make}"
50250 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50253 if test "$USE_WIN32" = 1; then
50254 ac_config_commands="$ac_config_commands
50260 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50263 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50266 ac_config_files="$ac_config_files version-script Makefile"
50269 ac_config_commands="$ac_config_commands wx-config"
50273 if test "$wxWITH_SUBDIRS" != "no"; then
50274 if test "$wxUSE_GUI" = "yes"; then
50275 SUBDIRS="samples demos utils contrib"
50276 else SUBDIRS="samples utils"
50281 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50282 if test "${with_cppunit_prefix+set}" = set; then
50283 withval="$with_cppunit_prefix"
50284 cppunit_config_prefix="$withval"
50286 cppunit_config_prefix=""
50289 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50290 if test "${with_cppunit_exec_prefix+set}" = set; then
50291 withval="$with_cppunit_exec_prefix"
50292 cppunit_config_exec_prefix="$withval"
50294 cppunit_config_exec_prefix=""
50297 if test x$cppunit_config_exec_prefix != x ; then
50298 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50299 if test x${CPPUNIT_CONFIG+set} != xset ; then
50300 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50303 if test x$cppunit_config_prefix != x ; then
50304 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50305 if test x${CPPUNIT_CONFIG+set} != xset ; then
50306 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50310 # Extract the first word of "cppunit-config", so it can be a program name with args.
50311 set dummy cppunit-config; ac_word=$2
50312 echo "$as_me:$LINENO: checking for $ac_word" >&5
50313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50314 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50315 echo $ECHO_N "(cached) $ECHO_C" >&6
50317 case $CPPUNIT_CONFIG in
50319 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50323 for as_dir in $PATH
50326 test -z "$as_dir" && as_dir=.
50327 for ac_exec_ext in '' $ac_executable_extensions; do
50328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50329 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50336 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50340 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50342 if test -n "$CPPUNIT_CONFIG"; then
50343 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50344 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50346 echo "$as_me:$LINENO: result: no" >&5
50347 echo "${ECHO_T}no" >&6
50350 cppunit_version_min=1.8.0
50352 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50353 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50355 if test "$CPPUNIT_CONFIG" = "no" ; then
50356 echo "$as_me:$LINENO: result: no" >&5
50357 echo "${ECHO_T}no" >&6
50360 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50361 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50362 cppunit_version=`$CPPUNIT_CONFIG --version`
50364 cppunit_major_version=`echo $cppunit_version | \
50365 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50366 cppunit_minor_version=`echo $cppunit_version | \
50367 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50368 cppunit_micro_version=`echo $cppunit_version | \
50369 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50371 cppunit_major_min=`echo $cppunit_version_min | \
50372 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50373 cppunit_minor_min=`echo $cppunit_version_min | \
50374 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50375 cppunit_micro_min=`echo $cppunit_version_min | \
50376 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50378 cppunit_version_proper=`expr \
50379 $cppunit_major_version \> $cppunit_major_min \| \
50380 $cppunit_major_version \= $cppunit_major_min \& \
50381 $cppunit_minor_version \> $cppunit_minor_min \| \
50382 $cppunit_major_version \= $cppunit_major_min \& \
50383 $cppunit_minor_version \= $cppunit_minor_min \& \
50384 $cppunit_micro_version \>= $cppunit_micro_min `
50386 if test "$cppunit_version_proper" = "1" ; then
50387 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50388 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50390 echo "$as_me:$LINENO: result: no" >&5
50391 echo "${ECHO_T}no" >&6
50396 if test "x$no_cppunit" = x ; then
50397 SUBDIRS="$SUBDIRS tests"
50408 for subdir in `echo $SUBDIRS`; do
50409 if test -d ${srcdir}/${subdir} ; then
50410 if test "$wxUSE_GUI" = "yes"; then
50411 if test ${subdir} = "samples"; then
50412 makefiles="samples/Makefile.in $makefiles"
50413 for sample in `echo $SAMPLES_SUBDIRS`; do
50414 if test -d $srcdir/samples/$sample; then
50415 makefiles="samples/$sample/Makefile.in $makefiles"
50419 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
50420 eval "disabled=\$$disabled_var"
50421 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50422 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50424 else if test ${subdir} = "samples"; then
50425 makefiles="samples/Makefile.in samples/console/Makefile.in"
50426 elif test ${subdir} = "utils"; then
50428 for util in HelpGen tex2rtf ; do
50429 if test -d $srcdir/utils/$util ; then
50430 makefiles="utils/$util/Makefile.in \
50431 utils/$util/src/Makefile.in \
50435 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50439 for mkin in $makefiles ; do
50440 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50441 ac_config_files="$ac_config_files $mk"
50447 cat >confcache <<\_ACEOF
50448 # This file is a shell script that caches the results of configure
50449 # tests run on this system so they can be shared between configure
50450 # scripts and configure runs, see configure's option --config-cache.
50451 # It is not useful on other systems. If it contains results you don't
50452 # want to keep, you may remove or edit it.
50454 # config.status only pays attention to the cache file if you give it
50455 # the --recheck option to rerun configure.
50457 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50458 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50459 # following values.
50463 # The following way of writing the cache mishandles newlines in values,
50464 # but we know of no workaround that is simple, portable, and efficient.
50465 # So, don't put newlines in cache variables' values.
50466 # Ultrix sh set writes to stderr and can't be redirected directly,
50467 # and sets the high bit in the cache file unless we assign to the vars.
50470 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50472 # `set' does not quote correctly, so add quotes (double-quote
50473 # substitution turns \\\\ into \\, and sed turns \\ into \).
50476 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50479 # `set' quotes correctly as required by POSIX, so do not add quotes.
50481 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50488 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50490 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50492 if diff $cache_file confcache >/dev/null 2>&1; then :; else
50493 if test -w $cache_file; then
50494 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50495 cat confcache >$cache_file
50497 echo "not updating unwritable cache $cache_file"
50502 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50503 # Let make expand exec_prefix.
50504 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50506 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50507 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50508 # trailing colons and then remove the whole line if VPATH becomes empty
50509 # (actually we leave an empty line to preserve line numbers).
50510 if test "x$srcdir" = x.; then
50511 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50512 s/:*\$(srcdir):*/:/;
50513 s/:*\${srcdir}:*/:/;
50515 s/^\([^=]*=[ ]*\):*/\1/;
50521 DEFS=-DHAVE_CONFIG_H
50525 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50526 # 1. Remove the extension, and $U if already installed.
50527 ac_i=`echo "$ac_i" |
50528 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50530 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
50531 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
50533 LIBOBJS=$ac_libobjs
50535 LTLIBOBJS=$ac_ltlibobjs
50539 : ${CONFIG_STATUS=./config.status}
50540 ac_clean_files_save=$ac_clean_files
50541 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50542 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50543 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50544 cat >$CONFIG_STATUS <<_ACEOF
50546 # Generated by $as_me.
50547 # Run this file to recreate the current configuration.
50548 # Compiler output produced by configure, useful for debugging
50549 # configure, is in config.log if it exists.
50552 ac_cs_recheck=false
50554 SHELL=\${CONFIG_SHELL-$SHELL}
50557 cat >>$CONFIG_STATUS <<\_ACEOF
50558 ## --------------------- ##
50559 ## M4sh Initialization. ##
50560 ## --------------------- ##
50562 # Be Bourne compatible
50563 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50566 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50567 # is contrary to our usage. Disable this feature.
50568 alias -g '${1+"$@"}'='"$@"'
50569 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
50572 DUALCASE=1; export DUALCASE # for MKS sh
50574 # Support unset when possible.
50575 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50582 # Work around bugs in pre-3.0 UWIN ksh.
50583 $as_unset ENV MAIL MAILPATH
50590 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50591 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50592 LC_TELEPHONE LC_TIME
50594 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50595 eval $as_var=C; export $as_var
50601 # Required to use basename.
50602 if expr a : '\(a\)' >/dev/null 2>&1; then
50608 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
50609 as_basename=basename
50615 # Name of the executable.
50616 as_me=`$as_basename "$0" ||
50617 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50618 X"$0" : 'X\(//\)$' \| \
50619 X"$0" : 'X\(/\)$' \| \
50620 . : '\(.\)' 2>/dev/null ||
50622 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50623 /^X\/\(\/\/\)$/{ s//\1/; q; }
50624 /^X\/\(\/\).*/{ s//\1/; q; }
50628 # PATH needs CR, and LINENO needs CR and PATH.
50629 # Avoid depending upon Character Ranges.
50630 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50631 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50632 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50633 as_cr_digits='0123456789'
50634 as_cr_alnum=$as_cr_Letters$as_cr_digits
50636 # The user is always right.
50637 if test "${PATH_SEPARATOR+set}" != set; then
50638 echo "#! /bin/sh" >conf$$.sh
50639 echo "exit 0" >>conf$$.sh
50641 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50650 as_lineno_1=$LINENO
50651 as_lineno_2=$LINENO
50652 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50653 test "x$as_lineno_1" != "x$as_lineno_2" &&
50654 test "x$as_lineno_3" = "x$as_lineno_2" || {
50655 # Find who we are. Look in the path if we contain no path at all
50658 *[\\/]* ) as_myself=$0 ;;
50659 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50660 for as_dir in $PATH
50663 test -z "$as_dir" && as_dir=.
50664 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50669 # We did not find ourselves, most probably we were run as `sh COMMAND'
50670 # in which case we are not to be found in the path.
50671 if test "x$as_myself" = x; then
50674 if test ! -f "$as_myself"; then
50675 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50676 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50677 { (exit 1); exit 1; }; }
50679 case $CONFIG_SHELL in
50681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50682 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
50685 test -z "$as_dir" && as_dir=.
50686 for as_base in sh bash ksh sh5; do
50689 if ("$as_dir/$as_base" -c '
50690 as_lineno_1=$LINENO
50691 as_lineno_2=$LINENO
50692 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50693 test "x$as_lineno_1" != "x$as_lineno_2" &&
50694 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
50695 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
50696 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
50697 CONFIG_SHELL=$as_dir/$as_base
50698 export CONFIG_SHELL
50699 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50707 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50708 # uniformly replaced by the line number. The first 'sed' inserts a
50709 # line-number line before each line; the second 'sed' does the real
50710 # work. The second script uses 'N' to pair each line-number line
50711 # with the numbered line, and appends trailing '-' during
50712 # substitution so that $LINENO is not a special case at line end.
50713 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50714 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50715 sed '=' <$as_myself |
50720 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50723 s,^['$as_cr_digits']*\n,,
50724 ' >$as_me.lineno &&
50725 chmod +x $as_me.lineno ||
50726 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50727 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50728 { (exit 1); exit 1; }; }
50730 # Don't try to exec as it changes $[0], causing all sort of problems
50731 # (the dirname of $[0] is not the place where we might find the
50732 # original and so on. Autoconf is especially sensible to this).
50734 # Exit status is that of the last command.
50739 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50740 *c*,-n*) ECHO_N= ECHO_C='
50742 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
50743 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
50746 if expr a : '\(a\)' >/dev/null 2>&1; then
50752 rm -f conf$$ conf$$.exe conf$$.file
50754 if ln -s conf$$.file conf$$ 2>/dev/null; then
50755 # We could just check for DJGPP; but this test a) works b) is more generic
50756 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50757 if test -f conf$$.exe; then
50758 # Don't use ln at all; we don't have any links
50763 elif ln conf$$.file conf$$ 2>/dev/null; then
50768 rm -f conf$$ conf$$.exe conf$$.file
50770 if mkdir -p . 2>/dev/null; then
50773 test -d ./-p && rmdir ./-p
50777 as_executable_p="test -f"
50779 # Sed expression to map a string onto a valid CPP name.
50780 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50782 # Sed expression to map a string onto a valid variable name.
50783 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50787 # We need space, tab and new line, in precisely that order.
50797 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50798 # report actual input values of CONFIG_FILES etc. instead of their
50799 # values after options handling. Logging --version etc. is OK.
50803 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50804 ## Running $as_me. ##
50809 This file was extended by wxWidgets $as_me 2.7.1, which was
50810 generated by GNU Autoconf 2.59. Invocation command line was
50812 CONFIG_FILES = $CONFIG_FILES
50813 CONFIG_HEADERS = $CONFIG_HEADERS
50814 CONFIG_LINKS = $CONFIG_LINKS
50815 CONFIG_COMMANDS = $CONFIG_COMMANDS
50819 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50823 # Files that config.status was made for.
50824 if test -n "$ac_config_files"; then
50825 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50828 if test -n "$ac_config_headers"; then
50829 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50832 if test -n "$ac_config_links"; then
50833 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50836 if test -n "$ac_config_commands"; then
50837 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50840 cat >>$CONFIG_STATUS <<\_ACEOF
50843 \`$as_me' instantiates files from templates according to the
50844 current configuration.
50846 Usage: $0 [OPTIONS] [FILE]...
50848 -h, --help print this help, then exit
50849 -V, --version print version number, then exit
50850 -q, --quiet do not print progress messages
50851 -d, --debug don't remove temporary files
50852 --recheck update $as_me by reconfiguring in the same conditions
50853 --file=FILE[:TEMPLATE]
50854 instantiate the configuration file FILE
50855 --header=FILE[:TEMPLATE]
50856 instantiate the configuration header FILE
50858 Configuration files:
50861 Configuration headers:
50864 Configuration commands:
50867 Report bugs to <bug-autoconf@gnu.org>."
50870 cat >>$CONFIG_STATUS <<_ACEOF
50872 wxWidgets config.status 2.7.1
50873 configured by $0, generated by GNU Autoconf 2.59,
50874 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50876 Copyright (C) 2003 Free Software Foundation, Inc.
50877 This config.status script is free software; the Free Software Foundation
50878 gives unlimited permission to copy, distribute and modify it."
50883 cat >>$CONFIG_STATUS <<\_ACEOF
50884 # If no file are specified by the user, then we need to provide default
50885 # value. By we need to know if files were specified by the user.
50891 ac_option=`expr "x$1" : 'x\([^=]*\)='`
50892 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
50900 *) # This is not an option, so the user has probably given explicit
50903 ac_need_defaults=false;;
50907 # Handling of the options.
50909 cat >>$CONFIG_STATUS <<\_ACEOF
50910 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50912 --version | --vers* | -V )
50913 echo "$ac_cs_version"; exit 0 ;;
50915 # Conflict between --help and --header
50916 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50917 Try \`$0 --help' for more information." >&5
50918 echo "$as_me: error: ambiguous option: $1
50919 Try \`$0 --help' for more information." >&2;}
50920 { (exit 1); exit 1; }; };;
50921 --help | --hel | -h )
50922 echo "$ac_cs_usage"; exit 0 ;;
50923 --debug | --d* | -d )
50925 --file | --fil | --fi | --f )
50927 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50928 ac_need_defaults=false;;
50929 --header | --heade | --head | --hea )
50931 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50932 ac_need_defaults=false;;
50933 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50934 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50937 # This is an error.
50938 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
50939 Try \`$0 --help' for more information." >&5
50940 echo "$as_me: error: unrecognized option: $1
50941 Try \`$0 --help' for more information." >&2;}
50942 { (exit 1); exit 1; }; } ;;
50944 *) ac_config_targets="$ac_config_targets $1" ;;
50950 ac_configure_extra_args=
50952 if $ac_cs_silent; then
50954 ac_configure_extra_args="$ac_configure_extra_args --silent"
50958 cat >>$CONFIG_STATUS <<_ACEOF
50959 if \$ac_cs_recheck; then
50960 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50961 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50966 cat >>$CONFIG_STATUS <<_ACEOF
50968 # INIT-COMMANDS section.
50973 infile="$srcdir/include/wx/msw/genrcdefs.h"
50974 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50977 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50978 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50979 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50987 cat >>$CONFIG_STATUS <<\_ACEOF
50988 for ac_config_target in $ac_config_targets
50990 case "$ac_config_target" in
50991 # Handling of arguments.
50992 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50993 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50994 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
50995 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50996 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
50997 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50998 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50999 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51000 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51001 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51002 { (exit 1); exit 1; }; };;
51006 # If the user did not use the arguments to specify the items to instantiate,
51007 # then the envvar interface is used. Set only those that are not.
51008 # We use the long form for the default assignment because of an extremely
51009 # bizarre bug on SunOS 4.1.3.
51010 if $ac_need_defaults; then
51011 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51012 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51013 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51016 # Have a temporary directory for convenience. Make it in the build tree
51017 # simply because there is no reason to put it here, and in addition,
51018 # creating and moving files from /tmp can sometimes cause problems.
51019 # Create a temporary directory, and hook for its removal unless debugging.
51022 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51023 trap '{ (exit 1); exit 1; }' 1 2 13 15
51026 # Create a (secure) tmp directory for tmp files.
51029 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51030 test -n "$tmp" && test -d "$tmp"
51033 tmp=./confstat$$-$RANDOM
51034 (umask 077 && mkdir $tmp)
51037 echo "$me: cannot create a temporary directory in ." >&2
51038 { (exit 1); exit 1; }
51043 cat >>$CONFIG_STATUS <<_ACEOF
51046 # CONFIG_FILES section.
51049 # No need to generate the scripts if there are no CONFIG_FILES.
51050 # This happens for instance when ./config.status config.h
51051 if test -n "\$CONFIG_FILES"; then
51052 # Protect against being on the right side of a sed subst in config.status.
51053 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51054 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51055 s,@SHELL@,$SHELL,;t t
51056 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51057 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51058 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51059 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51060 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51061 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51062 s,@exec_prefix@,$exec_prefix,;t t
51063 s,@prefix@,$prefix,;t t
51064 s,@program_transform_name@,$program_transform_name,;t t
51065 s,@bindir@,$bindir,;t t
51066 s,@sbindir@,$sbindir,;t t
51067 s,@libexecdir@,$libexecdir,;t t
51068 s,@datadir@,$datadir,;t t
51069 s,@sysconfdir@,$sysconfdir,;t t
51070 s,@sharedstatedir@,$sharedstatedir,;t t
51071 s,@localstatedir@,$localstatedir,;t t
51072 s,@libdir@,$libdir,;t t
51073 s,@includedir@,$includedir,;t t
51074 s,@oldincludedir@,$oldincludedir,;t t
51075 s,@infodir@,$infodir,;t t
51076 s,@mandir@,$mandir,;t t
51077 s,@build_alias@,$build_alias,;t t
51078 s,@host_alias@,$host_alias,;t t
51079 s,@target_alias@,$target_alias,;t t
51080 s,@DEFS@,$DEFS,;t t
51081 s,@ECHO_C@,$ECHO_C,;t t
51082 s,@ECHO_N@,$ECHO_N,;t t
51083 s,@ECHO_T@,$ECHO_T,;t t
51084 s,@LIBS@,$LIBS,;t t
51085 s,@build@,$build,;t t
51086 s,@build_cpu@,$build_cpu,;t t
51087 s,@build_vendor@,$build_vendor,;t t
51088 s,@build_os@,$build_os,;t t
51089 s,@host@,$host,;t t
51090 s,@host_cpu@,$host_cpu,;t t
51091 s,@host_vendor@,$host_vendor,;t t
51092 s,@host_os@,$host_os,;t t
51093 s,@target@,$target,;t t
51094 s,@target_cpu@,$target_cpu,;t t
51095 s,@target_vendor@,$target_vendor,;t t
51096 s,@target_os@,$target_os,;t t
51098 s,@CFLAGS@,$CFLAGS,;t t
51099 s,@LDFLAGS@,$LDFLAGS,;t t
51100 s,@CPPFLAGS@,$CPPFLAGS,;t t
51101 s,@ac_ct_CC@,$ac_ct_CC,;t t
51102 s,@EXEEXT@,$EXEEXT,;t t
51103 s,@OBJEXT@,$OBJEXT,;t t
51105 s,@EGREP@,$EGREP,;t t
51107 s,@CXXFLAGS@,$CXXFLAGS,;t t
51108 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51109 s,@RANLIB@,$RANLIB,;t t
51110 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51112 s,@ac_ct_AR@,$ac_ct_AR,;t t
51113 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51114 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51115 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51116 s,@STRIP@,$STRIP,;t t
51117 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51118 s,@WINDRES@,$WINDRES,;t t
51119 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51120 s,@DLLTOOL@,$DLLTOOL,;t t
51121 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51122 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51123 s,@LN_S@,$LN_S,;t t
51124 s,@CXXCPP@,$CXXCPP,;t t
51125 s,@subdirs@,$subdirs,;t t
51126 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51127 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51128 s,@GTK_LIBS@,$GTK_LIBS,;t t
51129 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51130 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51131 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51132 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51133 s,@X_CFLAGS@,$X_CFLAGS,;t t
51134 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51135 s,@X_LIBS@,$X_LIBS,;t t
51136 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51137 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51138 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51139 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51140 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51141 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51142 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51144 s,@DEREZ@,$DEREZ,;t t
51145 s,@SETFILE@,$SETFILE,;t t
51146 s,@LIBICONV@,$LIBICONV,;t t
51147 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51148 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51149 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51150 s,@SDL_LIBS@,$SDL_LIBS,;t t
51151 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51152 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51153 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51154 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51155 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51156 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51157 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51158 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51159 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51160 s,@GST_LIBS@,$GST_LIBS,;t t
51161 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51162 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51163 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51164 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51165 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51166 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51167 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51168 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51169 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51170 s,@VENDOR@,$VENDOR,;t t
51171 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51172 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51173 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51174 s,@WXUNIV@,$WXUNIV,;t t
51175 s,@MONOLITHIC@,$MONOLITHIC,;t t
51176 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51177 s,@EXTRALIBS@,$EXTRALIBS,;t t
51178 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51179 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51180 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51181 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51182 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51183 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51184 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51185 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51186 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51187 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51188 s,@UNICODE@,$UNICODE,;t t
51189 s,@BUILD@,$BUILD,;t t
51190 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51191 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51192 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51193 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51194 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51195 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51196 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51197 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51198 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51199 s,@SET_MAKE@,$SET_MAKE,;t t
51200 s,@MAKE_SET@,$MAKE_SET,;t t
51202 s,@ac_ct_NM@,$ac_ct_NM,;t t
51203 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51204 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51205 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51206 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51207 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51208 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51209 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51210 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51211 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51212 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51213 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51214 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51215 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51216 s,@LIBPREFIX@,$LIBPREFIX,;t t
51217 s,@LIBEXT@,$LIBEXT,;t t
51218 s,@DLLPREFIX@,$DLLPREFIX,;t t
51219 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51220 s,@dlldir@,$dlldir,;t t
51221 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51222 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51223 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51224 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51225 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51226 s,@PIC_FLAG@,$PIC_FLAG,;t t
51227 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51228 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51229 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51230 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51231 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51232 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51233 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51234 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51235 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51236 s,@GCC_PCH@,$GCC_PCH,;t t
51237 s,@ICC_PCH@,$ICC_PCH,;t t
51238 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51239 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51240 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51241 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51242 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51243 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51244 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51245 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51246 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51247 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51248 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51249 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51250 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51251 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51252 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51253 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51254 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51255 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51256 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51257 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51258 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
51259 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
51260 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
51261 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
51262 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51263 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51264 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51265 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51266 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51267 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51268 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
51269 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
51270 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
51271 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
51272 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51273 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51274 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51275 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51276 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51277 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51278 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51279 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51280 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51281 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51282 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51283 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51284 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51285 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51286 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51287 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51288 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51289 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51290 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
51291 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51292 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51293 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51294 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51295 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51296 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51297 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51298 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51299 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51300 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51301 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51302 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51303 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51304 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51305 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51306 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51307 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51308 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51309 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51310 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51311 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51312 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51313 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51314 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51315 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51316 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51317 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51318 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51319 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51320 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51321 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51322 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51323 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51324 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51325 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51326 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51327 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51328 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51329 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51330 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51331 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51332 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
51333 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51334 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51335 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51336 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51337 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51338 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51339 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51340 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51341 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51342 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51343 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51344 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51345 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51346 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51347 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51348 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51349 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51350 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51351 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51352 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51353 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51354 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51355 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51356 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51357 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51358 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51359 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51360 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51361 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51362 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51363 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51364 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51365 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51366 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51367 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51368 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51369 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51370 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51371 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51372 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51373 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51374 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51375 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51376 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51377 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51378 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51379 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51380 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51381 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51382 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51383 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51384 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51385 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51386 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51387 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51388 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51389 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51390 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51391 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51392 s,@SHARED@,$SHARED,;t t
51393 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51394 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51395 s,@USE_GUI@,$USE_GUI,;t t
51396 s,@AFMINSTALL@,$AFMINSTALL,;t t
51397 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51398 s,@TOOLKIT@,$TOOLKIT,;t t
51399 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51400 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51401 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51402 s,@cross_compiling@,$cross_compiling,;t t
51403 s,@WIDGET_SET@,$WIDGET_SET,;t t
51404 s,@WX_RELEASE@,$WX_RELEASE,;t t
51405 s,@WX_VERSION@,$WX_VERSION,;t t
51406 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51407 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51408 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51409 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51410 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51411 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51412 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51413 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51414 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51415 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51416 s,@EXE_LINKER@,$EXE_LINKER,;t t
51417 s,@GUIDIST@,$GUIDIST,;t t
51418 s,@DISTDIR@,$DISTDIR,;t t
51419 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51420 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51421 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51422 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51423 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51424 s,@RESCOMP@,$RESCOMP,;t t
51425 s,@RESFLAGS@,$RESFLAGS,;t t
51426 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51427 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51428 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51429 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51430 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51431 s,@MACSETFILE@,$MACSETFILE,;t t
51433 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51434 s,@LIBOBJS@,$LIBOBJS,;t t
51435 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51440 cat >>$CONFIG_STATUS <<\_ACEOF
51441 # Split the substitutions into bite-sized pieces for seds with
51442 # small command number limits, like on Digital OSF/1 and HP-UX.
51443 ac_max_sed_lines=48
51444 ac_sed_frag=1 # Number of current file.
51445 ac_beg=1 # First line for current file.
51446 ac_end=$ac_max_sed_lines # Line after last line for current file.
51449 while $ac_more_lines; do
51450 if test $ac_beg -gt 1; then
51451 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51453 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51455 if test ! -s $tmp/subs.frag; then
51456 ac_more_lines=false
51458 # The purpose of the label and of the branching condition is to
51459 # speed up the sed processing (if there are no `@' at all, there
51460 # is no need to browse any of the substitutions).
51461 # These are the two extra sed commands mentioned above.
51463 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
51464 if test -z "$ac_sed_cmds"; then
51465 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
51467 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51469 ac_sed_frag=`expr $ac_sed_frag + 1`
51471 ac_end=`expr $ac_end + $ac_max_sed_lines`
51474 if test -z "$ac_sed_cmds"; then
51477 fi # test -n "$CONFIG_FILES"
51480 cat >>$CONFIG_STATUS <<\_ACEOF
51481 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
51482 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51484 - | *:- | *:-:* ) # input from stdin
51486 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51487 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51488 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51489 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51490 * ) ac_file_in=$ac_file.in ;;
51493 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51494 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51495 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51496 X"$ac_file" : 'X\(//\)[^/]' \| \
51497 X"$ac_file" : 'X\(//\)$' \| \
51498 X"$ac_file" : 'X\(/\)' \| \
51499 . : '\(.\)' 2>/dev/null ||
51501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51502 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51503 /^X\(\/\/\)$/{ s//\1/; q; }
51504 /^X\(\/\).*/{ s//\1/; q; }
51506 { if $as_mkdir_p; then
51511 while test ! -d "$as_dir"; do
51512 as_dirs="$as_dir $as_dirs"
51513 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51514 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51515 X"$as_dir" : 'X\(//\)[^/]' \| \
51516 X"$as_dir" : 'X\(//\)$' \| \
51517 X"$as_dir" : 'X\(/\)' \| \
51518 . : '\(.\)' 2>/dev/null ||
51520 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51521 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51522 /^X\(\/\/\)$/{ s//\1/; q; }
51523 /^X\(\/\).*/{ s//\1/; q; }
51526 test ! -n "$as_dirs" || mkdir $as_dirs
51527 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51528 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51529 { (exit 1); exit 1; }; }; }
51533 if test "$ac_dir" != .; then
51534 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51535 # A "../" for each directory in $ac_dir_suffix.
51536 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51538 ac_dir_suffix= ac_top_builddir=
51542 .) # No --srcdir option. We are building in place.
51544 if test -z "$ac_top_builddir"; then
51547 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51549 [\\/]* | ?:[\\/]* ) # Absolute path.
51550 ac_srcdir=$srcdir$ac_dir_suffix;
51551 ac_top_srcdir=$srcdir ;;
51552 *) # Relative path.
51553 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51554 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51557 # Do not use `cd foo && pwd` to compute absolute paths, because
51558 # the directories may not exist.
51560 .) ac_abs_builddir="$ac_dir";;
51563 .) ac_abs_builddir=`pwd`;;
51564 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51565 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51568 case $ac_abs_builddir in
51569 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51571 case ${ac_top_builddir}. in
51572 .) ac_abs_top_builddir=$ac_abs_builddir;;
51573 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51574 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51577 case $ac_abs_builddir in
51578 .) ac_abs_srcdir=$ac_srcdir;;
51581 .) ac_abs_srcdir=$ac_abs_builddir;;
51582 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51583 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51586 case $ac_abs_builddir in
51587 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51589 case $ac_top_srcdir in
51590 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51591 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51592 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51598 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51599 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
51602 if test x"$ac_file" != x-; then
51603 { echo "$as_me:$LINENO: creating $ac_file" >&5
51604 echo "$as_me: creating $ac_file" >&6;}
51607 # Let's still pretend it is `configure' which instantiates (i.e., don't
51608 # use $as_me), people would be surprised to read:
51609 # /* config.h. Generated by config.status. */
51610 if test x"$ac_file" = x-; then
51613 configure_input="$ac_file. "
51615 configure_input=$configure_input"Generated from `echo $ac_file_in |
51616 sed 's,.*/,,'` by configure."
51618 # First look for the input files in the build tree, otherwise in the
51620 ac_file_inputs=`IFS=:
51621 for f in $ac_file_in; do
51623 -) echo $tmp/stdin ;;
51625 # Absolute (can't be DOS-style, as IFS=:)
51626 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51627 echo "$as_me: error: cannot find input file: $f" >&2;}
51628 { (exit 1); exit 1; }; }
51631 if test -f "$f"; then
51634 elif test -f "$srcdir/$f"; then
51639 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51640 echo "$as_me: error: cannot find input file: $f" >&2;}
51641 { (exit 1); exit 1; }; }
51644 done` || { (exit 1); exit 1; }
51646 cat >>$CONFIG_STATUS <<_ACEOF
51650 cat >>$CONFIG_STATUS <<\_ACEOF
51652 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51653 s,@configure_input@,$configure_input,;t t
51654 s,@srcdir@,$ac_srcdir,;t t
51655 s,@abs_srcdir@,$ac_abs_srcdir,;t t
51656 s,@top_srcdir@,$ac_top_srcdir,;t t
51657 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
51658 s,@builddir@,$ac_builddir,;t t
51659 s,@abs_builddir@,$ac_abs_builddir,;t t
51660 s,@top_builddir@,$ac_top_builddir,;t t
51661 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
51662 s,@INSTALL@,$ac_INSTALL,;t t
51663 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51665 if test x"$ac_file" != x-; then
51666 mv $tmp/out $ac_file
51672 # Run the commands associated with the file.
51674 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51675 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51679 cat >>$CONFIG_STATUS <<\_ACEOF
51682 # CONFIG_HEADER section.
51685 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
51686 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51688 # ac_d sets the value in "#define NAME VALUE" lines.
51689 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51690 ac_dB='[ ].*$,\1#\2'
51693 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51694 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51695 ac_uB='$,\1#\2define\3'
51699 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
51700 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51702 - | *:- | *:-:* ) # input from stdin
51704 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51705 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51706 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51707 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51708 * ) ac_file_in=$ac_file.in ;;
51711 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51712 echo "$as_me: creating $ac_file" >&6;}
51714 # First look for the input files in the build tree, otherwise in the
51716 ac_file_inputs=`IFS=:
51717 for f in $ac_file_in; do
51719 -) echo $tmp/stdin ;;
51721 # Absolute (can't be DOS-style, as IFS=:)
51722 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51723 echo "$as_me: error: cannot find input file: $f" >&2;}
51724 { (exit 1); exit 1; }; }
51725 # Do quote $f, to prevent DOS paths from being IFS'd.
51728 if test -f "$f"; then
51731 elif test -f "$srcdir/$f"; then
51736 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51737 echo "$as_me: error: cannot find input file: $f" >&2;}
51738 { (exit 1); exit 1; }; }
51741 done` || { (exit 1); exit 1; }
51742 # Remove the trailing spaces.
51743 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51747 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51748 # `conftest.undefs', that substitutes the proper values into
51749 # config.h.in to produce config.h. The first handles `#define'
51750 # templates, and the second `#undef' templates.
51751 # And first: Protect against being on the right side of a sed subst in
51752 # config.status. Protect against being in an unquoted here document
51753 # in config.status.
51754 rm -f conftest.defines conftest.undefs
51755 # Using a here document instead of a string reduces the quoting nightmare.
51756 # Putting comments in sed scripts is not portable.
51758 # `end' is used to avoid that the second main sed command (meant for
51759 # 0-ary CPP macros) applies to n-ary macro definitions.
51760 # See the Autoconf documentation for `clear'.
51761 cat >confdef2sed.sed <<\_ACEOF
51766 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51768 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51771 # If some macros were called several times there might be several times
51772 # the same #defines, which is useless. Nevertheless, we may not want to
51773 # sort them, since we want the *last* AC-DEFINE to be honored.
51774 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51775 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51776 rm -f confdef2sed.sed
51778 # This sed command replaces #undef with comments. This is necessary, for
51779 # example, in the case of _POSIX_SOURCE, which is predefined and required
51780 # on some systems where configure will not decide to define it.
51781 cat >>conftest.undefs <<\_ACEOF
51782 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51785 # Break up conftest.defines because some shells have a limit on the size
51786 # of here documents, and old seds have small limits too (100 cmds).
51787 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51788 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51789 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51790 echo ' :' >>$CONFIG_STATUS
51791 rm -f conftest.tail
51792 while grep . conftest.defines >/dev/null
51794 # Write a limited-size here document to $tmp/defines.sed.
51795 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51796 # Speed up: don't consider the non `#define' lines.
51797 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51798 # Work around the forget-to-reset-the-flag bug.
51799 echo 't clr' >>$CONFIG_STATUS
51800 echo ': clr' >>$CONFIG_STATUS
51801 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
51803 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51805 mv $tmp/out $tmp/in
51807 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
51808 rm -f conftest.defines
51809 mv conftest.tail conftest.defines
51811 rm -f conftest.defines
51812 echo ' fi # grep' >>$CONFIG_STATUS
51813 echo >>$CONFIG_STATUS
51815 # Break up conftest.undefs because some shells have a limit on the size
51816 # of here documents, and old seds have small limits too (100 cmds).
51817 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51818 rm -f conftest.tail
51819 while grep . conftest.undefs >/dev/null
51821 # Write a limited-size here document to $tmp/undefs.sed.
51822 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51823 # Speed up: don't consider the non `#undef'
51824 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51825 # Work around the forget-to-reset-the-flag bug.
51826 echo 't clr' >>$CONFIG_STATUS
51827 echo ': clr' >>$CONFIG_STATUS
51828 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51830 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51832 mv $tmp/out $tmp/in
51834 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51835 rm -f conftest.undefs
51836 mv conftest.tail conftest.undefs
51838 rm -f conftest.undefs
51840 cat >>$CONFIG_STATUS <<\_ACEOF
51841 # Let's still pretend it is `configure' which instantiates (i.e., don't
51842 # use $as_me), people would be surprised to read:
51843 # /* config.h. Generated by config.status. */
51844 if test x"$ac_file" = x-; then
51845 echo "/* Generated by configure. */" >$tmp/config.h
51847 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51849 cat $tmp/in >>$tmp/config.h
51851 if test x"$ac_file" != x-; then
51852 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
51853 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51854 echo "$as_me: $ac_file is unchanged" >&6;}
51856 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51857 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51858 X"$ac_file" : 'X\(//\)[^/]' \| \
51859 X"$ac_file" : 'X\(//\)$' \| \
51860 X"$ac_file" : 'X\(/\)' \| \
51861 . : '\(.\)' 2>/dev/null ||
51863 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51864 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51865 /^X\(\/\/\)$/{ s//\1/; q; }
51866 /^X\(\/\).*/{ s//\1/; q; }
51868 { if $as_mkdir_p; then
51873 while test ! -d "$as_dir"; do
51874 as_dirs="$as_dir $as_dirs"
51875 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51876 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51877 X"$as_dir" : 'X\(//\)[^/]' \| \
51878 X"$as_dir" : 'X\(//\)$' \| \
51879 X"$as_dir" : 'X\(/\)' \| \
51880 . : '\(.\)' 2>/dev/null ||
51882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51883 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51884 /^X\(\/\/\)$/{ s//\1/; q; }
51885 /^X\(\/\).*/{ s//\1/; q; }
51888 test ! -n "$as_dirs" || mkdir $as_dirs
51889 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51890 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51891 { (exit 1); exit 1; }; }; }
51894 mv $tmp/config.h $ac_file
51898 rm -f $tmp/config.h
51902 cat >>$CONFIG_STATUS <<\_ACEOF
51905 # CONFIG_COMMANDS section.
51907 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
51908 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
51909 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
51910 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
51911 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51912 X"$ac_dest" : 'X\(//\)[^/]' \| \
51913 X"$ac_dest" : 'X\(//\)$' \| \
51914 X"$ac_dest" : 'X\(/\)' \| \
51915 . : '\(.\)' 2>/dev/null ||
51917 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51918 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51919 /^X\(\/\/\)$/{ s//\1/; q; }
51920 /^X\(\/\).*/{ s//\1/; q; }
51922 { if $as_mkdir_p; then
51927 while test ! -d "$as_dir"; do
51928 as_dirs="$as_dir $as_dirs"
51929 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51930 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51931 X"$as_dir" : 'X\(//\)[^/]' \| \
51932 X"$as_dir" : 'X\(//\)$' \| \
51933 X"$as_dir" : 'X\(/\)' \| \
51934 . : '\(.\)' 2>/dev/null ||
51936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51937 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51938 /^X\(\/\/\)$/{ s//\1/; q; }
51939 /^X\(\/\).*/{ s//\1/; q; }
51942 test ! -n "$as_dirs" || mkdir $as_dirs
51943 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51944 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51945 { (exit 1); exit 1; }; }; }
51949 if test "$ac_dir" != .; then
51950 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51951 # A "../" for each directory in $ac_dir_suffix.
51952 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51954 ac_dir_suffix= ac_top_builddir=
51958 .) # No --srcdir option. We are building in place.
51960 if test -z "$ac_top_builddir"; then
51963 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51965 [\\/]* | ?:[\\/]* ) # Absolute path.
51966 ac_srcdir=$srcdir$ac_dir_suffix;
51967 ac_top_srcdir=$srcdir ;;
51968 *) # Relative path.
51969 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51970 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51973 # Do not use `cd foo && pwd` to compute absolute paths, because
51974 # the directories may not exist.
51976 .) ac_abs_builddir="$ac_dir";;
51979 .) ac_abs_builddir=`pwd`;;
51980 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51981 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51984 case $ac_abs_builddir in
51985 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51987 case ${ac_top_builddir}. in
51988 .) ac_abs_top_builddir=$ac_abs_builddir;;
51989 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51990 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51993 case $ac_abs_builddir in
51994 .) ac_abs_srcdir=$ac_srcdir;;
51997 .) ac_abs_srcdir=$ac_abs_builddir;;
51998 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51999 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52002 case $ac_abs_builddir in
52003 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52005 case $ac_top_srcdir in
52006 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52007 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52008 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52013 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52014 echo "$as_me: executing $ac_dest commands" >&6;}
52017 mkdir -p $outdir &&
52018 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52020 wx-config ) rm -f wx-config
52021 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52027 cat >>$CONFIG_STATUS <<\_ACEOF
52029 { (exit 0); exit 0; }
52031 chmod +x $CONFIG_STATUS
52032 ac_clean_files=$ac_clean_files_save
52035 # configure is writing to config.log, and then calls config.status.
52036 # config.status does its own redirection, appending to config.log.
52037 # Unfortunately, on DOS this fails, as config.log is still kept open
52038 # by configure, so config.status won't be able to write to it; its
52039 # output is simply discarded. So we exec the FD to /dev/null,
52040 # effectively closing config.log, so it can be properly (re)opened and
52041 # appended to by config.status. When coming back to configure, we
52042 # need to make the FD available again.
52043 if test "$no_create" != yes; then
52045 ac_config_status_args=
52046 test "$silent" = yes &&
52047 ac_config_status_args="$ac_config_status_args --quiet"
52049 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52051 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52052 # would make configure fail if this is the last instruction.
52053 $ac_cs_success || { (exit 1); exit 1; }
52057 # CONFIG_SUBDIRS section.
52059 if test "$no_recursion" != yes; then
52061 # Remove --cache-file and --srcdir arguments so they do not pile up.
52062 ac_sub_configure_args=
52064 for ac_arg in $ac_configure_args; do
52065 if test -n "$ac_prev"; then
52070 -cache-file | --cache-file | --cache-fil | --cache-fi \
52071 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52072 ac_prev=cache_file ;;
52073 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52074 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52077 --config-cache | -C)
52079 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52081 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52083 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52085 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52087 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
52091 # Always prepend --prefix to ensure using the same prefix
52092 # in subdir configurations.
52093 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
52096 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52098 # Do not complain, so a configure script can configure whichever
52099 # parts of a large source tree are present.
52100 test -d $srcdir/$ac_dir || continue
52102 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52103 echo "$as_me: configuring in $ac_dir" >&6;}
52104 { if $as_mkdir_p; then
52109 while test ! -d "$as_dir"; do
52110 as_dirs="$as_dir $as_dirs"
52111 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52112 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52113 X"$as_dir" : 'X\(//\)[^/]' \| \
52114 X"$as_dir" : 'X\(//\)$' \| \
52115 X"$as_dir" : 'X\(/\)' \| \
52116 . : '\(.\)' 2>/dev/null ||
52118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52119 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52120 /^X\(\/\/\)$/{ s//\1/; q; }
52121 /^X\(\/\).*/{ s//\1/; q; }
52124 test ! -n "$as_dirs" || mkdir $as_dirs
52125 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52126 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52127 { (exit 1); exit 1; }; }; }
52131 if test "$ac_dir" != .; then
52132 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52133 # A "../" for each directory in $ac_dir_suffix.
52134 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52136 ac_dir_suffix= ac_top_builddir=
52140 .) # No --srcdir option. We are building in place.
52142 if test -z "$ac_top_builddir"; then
52145 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52147 [\\/]* | ?:[\\/]* ) # Absolute path.
52148 ac_srcdir=$srcdir$ac_dir_suffix;
52149 ac_top_srcdir=$srcdir ;;
52150 *) # Relative path.
52151 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52152 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52155 # Do not use `cd foo && pwd` to compute absolute paths, because
52156 # the directories may not exist.
52158 .) ac_abs_builddir="$ac_dir";;
52161 .) ac_abs_builddir=`pwd`;;
52162 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52163 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52166 case $ac_abs_builddir in
52167 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52169 case ${ac_top_builddir}. in
52170 .) ac_abs_top_builddir=$ac_abs_builddir;;
52171 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52172 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52175 case $ac_abs_builddir in
52176 .) ac_abs_srcdir=$ac_srcdir;;
52179 .) ac_abs_srcdir=$ac_abs_builddir;;
52180 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52181 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52184 case $ac_abs_builddir in
52185 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52187 case $ac_top_srcdir in
52188 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52189 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52190 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52197 # Check for guested configure; otherwise get Cygnus style configure.
52198 if test -f $ac_srcdir/configure.gnu; then
52199 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
52200 elif test -f $ac_srcdir/configure; then
52201 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
52202 elif test -f $ac_srcdir/configure.in; then
52203 ac_sub_configure=$ac_configure
52205 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52206 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52210 # The recursion is here.
52211 if test -n "$ac_sub_configure"; then
52212 # Make the cache file name correct relative to the subdirectory.
52213 case $cache_file in
52214 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52215 *) # Relative path.
52216 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
52219 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52220 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52221 # The eval makes quoting arguments work.
52222 eval $ac_sub_configure $ac_sub_configure_args \
52223 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52224 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52225 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52226 { (exit 1); exit 1; }; }
52235 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52237 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52238 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52240 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52241 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52242 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52244 echo " What level of wxWidgets compatibility should be enabled?"
52245 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52246 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52248 echo " Which libraries should wxWidgets use?"
52249 echo " jpeg ${wxUSE_LIBJPEG-none}"
52250 echo " png ${wxUSE_LIBPNG-none}"
52251 echo " regex ${wxUSE_REGEX}"
52252 echo " tiff ${wxUSE_LIBTIFF-none}"
52253 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52254 echo " xpm ${wxUSE_LIBXPM-none}"
52256 echo " zlib ${wxUSE_ZLIB}"
52257 echo " odbc ${wxUSE_ODBC}"
52258 echo " expat ${wxUSE_EXPAT}"
52259 echo " libmspack ${wxUSE_LIBMSPACK}"
52260 echo " sdl ${wxUSE_LIBSDL}"