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=2
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
2078 cat >>confdefs.h <<\_ACEOF
2083 DEFAULT_DEFAULT_wxUSE_MGL=1
2086 *-pc-os2_emx | *-pc-os2-emx )
2087 cat >>confdefs.h <<\_ACEOF
2092 cat >>confdefs.h <<\_ACEOF
2097 DEFAULT_DEFAULT_wxUSE_PM=1
2099 LDFLAGS="$LDFLAGS -Zcrtdll"
2100 ac_executable_extensions=".exe"
2101 export ac_executable_extensions
2105 for ac_dir in $PATH; do
2107 if test -z "$ac_TEMP_PATH"; then
2108 ac_TEMP_PATH="$ac_dir"
2110 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2113 export PATH="$ac_TEMP_PATH"
2122 cat >>confdefs.h <<\_ACEOF
2126 cat >>confdefs.h <<\_ACEOF
2127 #define __DARWIN__ 1
2130 cat >>confdefs.h <<\_ACEOF
2131 #define TARGET_CARBON 1
2134 DEFAULT_DEFAULT_wxUSE_MAC=1
2137 powerpc-apple-macos* )
2139 ac_cv_c_bigendian=yes
2141 DEFAULT_DEFAULT_wxUSE_MAC=1
2147 cat >>confdefs.h <<\_ACEOF
2154 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2155 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2156 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2157 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2159 DEFAULT_DEFAULT_wxUSE_X11=1
2160 DEFAULT_wxUSE_SHARED=no
2166 wx_arg_cache_file="configarg.cache"
2167 echo "loading argument cache $wx_arg_cache_file"
2168 rm -f ${wx_arg_cache_file}.tmp
2169 touch ${wx_arg_cache_file}.tmp
2170 touch ${wx_arg_cache_file}
2174 if test $DEBUG_CONFIGURE = 1; then
2175 DEFAULT_wxUSE_UNIVERSAL=no
2176 DEFAULT_wxUSE_STL=no
2178 DEFAULT_wxUSE_NANOX=no
2180 DEFAULT_wxUSE_THREADS=yes
2182 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2183 DEFAULT_wxUSE_OPTIMISE=no
2184 DEFAULT_wxUSE_PROFILE=no
2185 DEFAULT_wxUSE_NO_DEPS=no
2186 DEFAULT_wxUSE_NO_RTTI=no
2187 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2188 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2189 DEFAULT_wxUSE_RPATH=yes
2190 DEFAULT_wxUSE_PERMISSIVE=no
2191 DEFAULT_wxUSE_DEBUG_FLAG=yes
2192 DEFAULT_wxUSE_DEBUG_INFO=yes
2193 DEFAULT_wxUSE_DEBUG_GDB=yes
2194 DEFAULT_wxUSE_MEM_TRACING=no
2195 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2196 DEFAULT_wxUSE_DMALLOC=no
2197 DEFAULT_wxUSE_APPLE_IEEE=no
2199 DEFAULT_wxUSE_EXCEPTIONS=no
2200 DEFAULT_wxUSE_LOG=yes
2201 DEFAULT_wxUSE_LOGWINDOW=no
2202 DEFAULT_wxUSE_LOGGUI=no
2203 DEFAULT_wxUSE_LOGDIALOG=no
2205 DEFAULT_wxUSE_GUI=yes
2206 DEFAULT_wxUSE_CONTROLS=no
2208 DEFAULT_wxUSE_REGEX=no
2209 DEFAULT_wxUSE_XML=no
2210 DEFAULT_wxUSE_EXPAT=no
2211 DEFAULT_wxUSE_ZLIB=no
2212 DEFAULT_wxUSE_LIBPNG=no
2213 DEFAULT_wxUSE_LIBJPEG=no
2214 DEFAULT_wxUSE_LIBTIFF=no
2215 DEFAULT_wxUSE_LIBXPM=no
2216 DEFAULT_wxUSE_LIBMSPACK=no
2217 DEFAULT_wxUSE_LIBSDL=no
2218 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2219 DEFAULT_wxUSE_LIBGNOMEVFS=no
2220 DEFAULT_wxUSE_LIBHILDON=no
2221 DEFAULT_wxUSE_ODBC=no
2222 DEFAULT_wxUSE_OPENGL=no
2224 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2225 DEFAULT_wxUSE_STACKWALKER=no
2226 DEFAULT_wxUSE_DEBUGREPORT=no
2227 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2228 DEFAULT_wxUSE_STD_IOSTREAM=no
2229 DEFAULT_wxUSE_STD_STRING=no
2230 DEFAULT_wxUSE_CMDLINE_PARSER=no
2231 DEFAULT_wxUSE_DATETIME=no
2232 DEFAULT_wxUSE_TIMER=no
2233 DEFAULT_wxUSE_STOPWATCH=no
2234 DEFAULT_wxUSE_FILE=no
2235 DEFAULT_wxUSE_FFILE=no
2236 DEFAULT_wxUSE_STDPATHS=no
2237 DEFAULT_wxUSE_TEXTBUFFER=no
2238 DEFAULT_wxUSE_TEXTFILE=no
2239 DEFAULT_wxUSE_SOUND=no
2240 DEFAULT_wxUSE_MEDIACTRL=no
2241 DEFAULT_wxUSE_GSTREAMER8=no
2242 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2243 DEFAULT_wxUSE_INTL=no
2244 DEFAULT_wxUSE_CONFIG=no
2245 DEFAULT_wxUSE_FONTMAP=no
2246 DEFAULT_wxUSE_STREAMS=no
2247 DEFAULT_wxUSE_SOCKETS=no
2248 DEFAULT_wxUSE_OLE=no
2249 DEFAULT_wxUSE_DATAOBJ=no
2250 DEFAULT_wxUSE_DIALUP_MANAGER=no
2251 DEFAULT_wxUSE_JOYSTICK=no
2252 DEFAULT_wxUSE_DYNLIB_CLASS=no
2253 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2254 DEFAULT_wxUSE_LONGLONG=no
2255 DEFAULT_wxUSE_GEOMETRY=no
2257 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2258 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2259 DEFAULT_wxUSE_POSTSCRIPT=no
2261 DEFAULT_wxUSE_CLIPBOARD=no
2262 DEFAULT_wxUSE_TOOLTIPS=no
2263 DEFAULT_wxUSE_DRAG_AND_DROP=no
2264 DEFAULT_wxUSE_DRAGIMAGE=no
2265 DEFAULT_wxUSE_SPLINES=no
2266 DEFAULT_wxUSE_MOUSEWHEEL=no
2268 DEFAULT_wxUSE_MDI=no
2269 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2270 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2271 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2273 DEFAULT_wxUSE_RESOURCES=no
2274 DEFAULT_wxUSE_CONSTRAINTS=no
2275 DEFAULT_wxUSE_IPC=no
2276 DEFAULT_wxUSE_HELP=no
2277 DEFAULT_wxUSE_MS_HTML_HELP=no
2278 DEFAULT_wxUSE_WXHTML_HELP=no
2279 DEFAULT_wxUSE_TREELAYOUT=no
2280 DEFAULT_wxUSE_METAFILE=no
2281 DEFAULT_wxUSE_MIMETYPE=no
2282 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2283 DEFAULT_wxUSE_PROTOCOL=no
2284 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2285 DEFAULT_wxUSE_PROTOCOL_FTP=no
2286 DEFAULT_wxUSE_PROTOCOL_FILE=no
2287 DEFAULT_wxUSE_URL=no
2288 DEFAULT_wxUSE_VARIANT=no
2290 DEFAULT_wxUSE_ABOUTDLG=no
2291 DEFAULT_wxUSE_COMMONDLGS=no
2292 DEFAULT_wxUSE_CHOICEDLG=no
2293 DEFAULT_wxUSE_COLOURDLG=no
2294 DEFAULT_wxUSE_DIRDLG=no
2295 DEFAULT_wxUSE_FILEDLG=no
2296 DEFAULT_wxUSE_FINDREPLDLG=no
2297 DEFAULT_wxUSE_FONTDLG=no
2298 DEFAULT_wxUSE_MSGDLG=no
2299 DEFAULT_wxUSE_NUMBERDLG=no
2300 DEFAULT_wxUSE_TEXTDLG=no
2301 DEFAULT_wxUSE_SPLASH=no
2302 DEFAULT_wxUSE_STARTUP_TIPS=no
2303 DEFAULT_wxUSE_PROGRESSDLG=no
2304 DEFAULT_wxUSE_WIZARDDLG=no
2306 DEFAULT_wxUSE_MENUS=no
2307 DEFAULT_wxUSE_MINIFRAME=no
2308 DEFAULT_wxUSE_HTML=no
2309 DEFAULT_wxUSE_RICHTEXT=no
2310 DEFAULT_wxUSE_XRC=no
2311 DEFAULT_wxUSE_AUI=no
2312 DEFAULT_wxUSE_WEBKIT=no
2313 DEFAULT_wxUSE_FILESYSTEM=no
2314 DEFAULT_wxUSE_FS_INET=no
2315 DEFAULT_wxUSE_FS_ZIP=no
2316 DEFAULT_wxUSE_BUSYINFO=no
2317 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2318 DEFAULT_wxUSE_ZIPSTREAM=no
2319 DEFAULT_wxUSE_VALIDATORS=no
2321 DEFAULT_wxUSE_ACCEL=no
2322 DEFAULT_wxUSE_ANIMATIONCTRL=no
2323 DEFAULT_wxUSE_BUTTON=no
2324 DEFAULT_wxUSE_BMPBUTTON=no
2325 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2326 DEFAULT_wxUSE_CALCTRL=no
2327 DEFAULT_wxUSE_CARET=no
2328 DEFAULT_wxUSE_CHECKBOX=no
2329 DEFAULT_wxUSE_CHECKLST=no
2330 DEFAULT_wxUSE_CHOICE=no
2331 DEFAULT_wxUSE_CHOICEBOOK=no
2332 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2333 DEFAULT_wxUSE_COMBOBOX=no
2334 DEFAULT_wxUSE_COMBOCTRL=no
2335 DEFAULT_wxUSE_DATEPICKCTRL=no
2336 DEFAULT_wxUSE_DISPLAY=no
2337 DEFAULT_wxUSE_DETECT_SM=no
2338 DEFAULT_wxUSE_DIRPICKERCTRL=no
2339 DEFAULT_wxUSE_FILEPICKERCTRL=no
2340 DEFAULT_wxUSE_FONTPICKERCTRL=no
2341 DEFAULT_wxUSE_GAUGE=no
2342 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2343 DEFAULT_wxUSE_GRID=no
2344 DEFAULT_wxUSE_HYPERLINKCTRL=no
2345 DEFAULT_wxUSE_DATAVIEWCTRL=no
2346 DEFAULT_wxUSE_IMAGLIST=no
2347 DEFAULT_wxUSE_LISTBOOK=no
2348 DEFAULT_wxUSE_LISTBOX=no
2349 DEFAULT_wxUSE_LISTCTRL=no
2350 DEFAULT_wxUSE_NOTEBOOK=no
2351 DEFAULT_wxUSE_ODCOMBOBOX=no
2352 DEFAULT_wxUSE_RADIOBOX=no
2353 DEFAULT_wxUSE_RADIOBTN=no
2354 DEFAULT_wxUSE_SASH=no
2355 DEFAULT_wxUSE_SCROLLBAR=no
2356 DEFAULT_wxUSE_SLIDER=no
2357 DEFAULT_wxUSE_SPINBTN=no
2358 DEFAULT_wxUSE_SPINCTRL=no
2359 DEFAULT_wxUSE_SPLITTER=no
2360 DEFAULT_wxUSE_STATBMP=no
2361 DEFAULT_wxUSE_STATBOX=no
2362 DEFAULT_wxUSE_STATLINE=no
2363 DEFAULT_wxUSE_STATTEXT=no
2364 DEFAULT_wxUSE_STATUSBAR=yes
2365 DEFAULT_wxUSE_TAB_DIALOG=no
2366 DEFAULT_wxUSE_TEXTCTRL=no
2367 DEFAULT_wxUSE_TOGGLEBTN=no
2368 DEFAULT_wxUSE_TOOLBAR=no
2369 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2370 DEFAULT_wxUSE_TREEBOOK=no
2371 DEFAULT_wxUSE_TOOLBOOK=no
2372 DEFAULT_wxUSE_TREECTRL=no
2373 DEFAULT_wxUSE_POPUPWIN=no
2374 DEFAULT_wxUSE_TIPWINDOW=no
2376 DEFAULT_wxUSE_UNICODE=no
2377 DEFAULT_wxUSE_UNICODE_MSLU=no
2378 DEFAULT_wxUSE_WCSRTOMBS=no
2380 DEFAULT_wxUSE_PALETTE=no
2381 DEFAULT_wxUSE_IMAGE=no
2382 DEFAULT_wxUSE_GIF=no
2383 DEFAULT_wxUSE_PCX=no
2384 DEFAULT_wxUSE_PNM=no
2385 DEFAULT_wxUSE_IFF=no
2386 DEFAULT_wxUSE_XPM=no
2387 DEFAULT_wxUSE_ICO_CUR=no
2388 DEFAULT_wxUSE_ACCESSIBILITY=no
2390 DEFAULT_wxUSE_MONOLITHIC=no
2391 DEFAULT_wxUSE_PLUGINS=no
2392 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2394 DEFAULT_wxUSE_UNIVERSAL=no
2395 DEFAULT_wxUSE_STL=no
2397 DEFAULT_wxUSE_NANOX=no
2399 DEFAULT_wxUSE_THREADS=yes
2401 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2402 DEFAULT_wxUSE_OPTIMISE=yes
2403 DEFAULT_wxUSE_PROFILE=no
2404 DEFAULT_wxUSE_NO_DEPS=no
2405 DEFAULT_wxUSE_NO_RTTI=no
2406 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2407 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2408 DEFAULT_wxUSE_RPATH=yes
2409 DEFAULT_wxUSE_PERMISSIVE=no
2410 DEFAULT_wxUSE_DEBUG_FLAG=no
2411 DEFAULT_wxUSE_DEBUG_INFO=no
2412 DEFAULT_wxUSE_DEBUG_GDB=no
2413 DEFAULT_wxUSE_MEM_TRACING=no
2414 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2415 DEFAULT_wxUSE_DMALLOC=no
2416 DEFAULT_wxUSE_APPLE_IEEE=yes
2418 DEFAULT_wxUSE_EXCEPTIONS=yes
2419 DEFAULT_wxUSE_LOG=yes
2420 DEFAULT_wxUSE_LOGWINDOW=yes
2421 DEFAULT_wxUSE_LOGGUI=yes
2422 DEFAULT_wxUSE_LOGDIALOG=yes
2424 DEFAULT_wxUSE_GUI=yes
2426 DEFAULT_wxUSE_REGEX=yes
2427 DEFAULT_wxUSE_XML=yes
2428 DEFAULT_wxUSE_EXPAT=yes
2429 DEFAULT_wxUSE_ZLIB=yes
2430 DEFAULT_wxUSE_LIBPNG=yes
2431 DEFAULT_wxUSE_LIBJPEG=yes
2432 DEFAULT_wxUSE_LIBTIFF=yes
2433 DEFAULT_wxUSE_LIBXPM=yes
2434 DEFAULT_wxUSE_LIBMSPACK=yes
2435 DEFAULT_wxUSE_LIBSDL=no
2436 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2437 DEFAULT_wxUSE_LIBGNOMEVFS=no
2438 DEFAULT_wxUSE_LIBHILDON=no
2439 DEFAULT_wxUSE_ODBC=no
2440 DEFAULT_wxUSE_OPENGL=no
2442 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2443 DEFAULT_wxUSE_STACKWALKER=yes
2444 DEFAULT_wxUSE_DEBUGREPORT=yes
2445 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2446 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2447 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2448 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2449 DEFAULT_wxUSE_DATETIME=yes
2450 DEFAULT_wxUSE_TIMER=yes
2451 DEFAULT_wxUSE_STOPWATCH=yes
2452 DEFAULT_wxUSE_FILE=yes
2453 DEFAULT_wxUSE_FFILE=yes
2454 DEFAULT_wxUSE_STDPATHS=yes
2455 DEFAULT_wxUSE_TEXTBUFFER=yes
2456 DEFAULT_wxUSE_TEXTFILE=yes
2457 DEFAULT_wxUSE_SOUND=yes
2458 DEFAULT_wxUSE_MEDIACTRL=no
2459 DEFAULT_wxUSE_GSTREAMER8=no
2460 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2461 DEFAULT_wxUSE_INTL=yes
2462 DEFAULT_wxUSE_CONFIG=yes
2463 DEFAULT_wxUSE_FONTMAP=yes
2464 DEFAULT_wxUSE_STREAMS=yes
2465 DEFAULT_wxUSE_SOCKETS=yes
2466 DEFAULT_wxUSE_OLE=yes
2467 DEFAULT_wxUSE_DATAOBJ=yes
2468 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2469 DEFAULT_wxUSE_JOYSTICK=yes
2470 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2471 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2472 DEFAULT_wxUSE_LONGLONG=yes
2473 DEFAULT_wxUSE_GEOMETRY=yes
2475 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2476 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2477 DEFAULT_wxUSE_POSTSCRIPT=yes
2479 DEFAULT_wxUSE_CLIPBOARD=yes
2480 DEFAULT_wxUSE_TOOLTIPS=yes
2481 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2482 DEFAULT_wxUSE_DRAGIMAGE=yes
2483 DEFAULT_wxUSE_SPLINES=yes
2484 DEFAULT_wxUSE_MOUSEWHEEL=yes
2486 DEFAULT_wxUSE_MDI=yes
2487 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2488 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2489 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2491 DEFAULT_wxUSE_RESOURCES=no
2492 DEFAULT_wxUSE_CONSTRAINTS=yes
2493 DEFAULT_wxUSE_IPC=yes
2494 DEFAULT_wxUSE_HELP=yes
2495 DEFAULT_wxUSE_MS_HTML_HELP=yes
2496 DEFAULT_wxUSE_WXHTML_HELP=yes
2497 DEFAULT_wxUSE_TREELAYOUT=yes
2498 DEFAULT_wxUSE_METAFILE=yes
2499 DEFAULT_wxUSE_MIMETYPE=yes
2500 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2501 DEFAULT_wxUSE_PROTOCOL=yes
2502 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2503 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2504 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2505 DEFAULT_wxUSE_URL=yes
2506 DEFAULT_wxUSE_VARIANT=yes
2508 DEFAULT_wxUSE_ABOUTDLG=yes
2509 DEFAULT_wxUSE_COMMONDLGS=yes
2510 DEFAULT_wxUSE_CHOICEDLG=yes
2511 DEFAULT_wxUSE_COLOURDLG=yes
2512 DEFAULT_wxUSE_DIRDLG=yes
2513 DEFAULT_wxUSE_FILEDLG=yes
2514 DEFAULT_wxUSE_FINDREPLDLG=yes
2515 DEFAULT_wxUSE_FONTDLG=yes
2516 DEFAULT_wxUSE_MSGDLG=yes
2517 DEFAULT_wxUSE_NUMBERDLG=yes
2518 DEFAULT_wxUSE_TEXTDLG=yes
2519 DEFAULT_wxUSE_SPLASH=yes
2520 DEFAULT_wxUSE_STARTUP_TIPS=yes
2521 DEFAULT_wxUSE_PROGRESSDLG=yes
2522 DEFAULT_wxUSE_WIZARDDLG=yes
2524 DEFAULT_wxUSE_MENUS=yes
2525 DEFAULT_wxUSE_MINIFRAME=yes
2526 DEFAULT_wxUSE_HTML=yes
2527 DEFAULT_wxUSE_RICHTEXT=yes
2528 DEFAULT_wxUSE_XRC=yes
2529 DEFAULT_wxUSE_AUI=yes
2530 DEFAULT_wxUSE_WEBKIT=yes
2531 DEFAULT_wxUSE_FILESYSTEM=yes
2532 DEFAULT_wxUSE_FS_INET=yes
2533 DEFAULT_wxUSE_FS_ZIP=yes
2534 DEFAULT_wxUSE_BUSYINFO=yes
2535 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2536 DEFAULT_wxUSE_ZIPSTREAM=yes
2537 DEFAULT_wxUSE_VALIDATORS=yes
2539 DEFAULT_wxUSE_ACCEL=yes
2540 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2541 DEFAULT_wxUSE_BUTTON=yes
2542 DEFAULT_wxUSE_BMPBUTTON=yes
2543 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2544 DEFAULT_wxUSE_CALCTRL=yes
2545 DEFAULT_wxUSE_CARET=yes
2546 DEFAULT_wxUSE_CHECKBOX=yes
2547 DEFAULT_wxUSE_CHECKLST=yes
2548 DEFAULT_wxUSE_CHOICE=yes
2549 DEFAULT_wxUSE_CHOICEBOOK=yes
2550 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2551 DEFAULT_wxUSE_COMBOBOX=yes
2552 DEFAULT_wxUSE_COMBOCTRL=yes
2553 DEFAULT_wxUSE_DATEPICKCTRL=yes
2554 DEFAULT_wxUSE_DISPLAY=yes
2555 DEFAULT_wxUSE_DETECT_SM=yes
2556 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2557 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2558 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2559 DEFAULT_wxUSE_GAUGE=yes
2560 DEFAULT_wxUSE_GRID=yes
2561 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2562 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2563 DEFAULT_wxUSE_DATAVIEWCTRL=no
2564 DEFAULT_wxUSE_IMAGLIST=yes
2565 DEFAULT_wxUSE_LISTBOOK=yes
2566 DEFAULT_wxUSE_LISTBOX=yes
2567 DEFAULT_wxUSE_LISTCTRL=yes
2568 DEFAULT_wxUSE_NOTEBOOK=yes
2569 DEFAULT_wxUSE_ODCOMBOBOX=yes
2570 DEFAULT_wxUSE_RADIOBOX=yes
2571 DEFAULT_wxUSE_RADIOBTN=yes
2572 DEFAULT_wxUSE_SASH=yes
2573 DEFAULT_wxUSE_SCROLLBAR=yes
2574 DEFAULT_wxUSE_SLIDER=yes
2575 DEFAULT_wxUSE_SPINBTN=yes
2576 DEFAULT_wxUSE_SPINCTRL=yes
2577 DEFAULT_wxUSE_SPLITTER=yes
2578 DEFAULT_wxUSE_STATBMP=yes
2579 DEFAULT_wxUSE_STATBOX=yes
2580 DEFAULT_wxUSE_STATLINE=yes
2581 DEFAULT_wxUSE_STATTEXT=yes
2582 DEFAULT_wxUSE_STATUSBAR=yes
2583 DEFAULT_wxUSE_TAB_DIALOG=no
2584 DEFAULT_wxUSE_TEXTCTRL=yes
2585 DEFAULT_wxUSE_TOGGLEBTN=yes
2586 DEFAULT_wxUSE_TOOLBAR=yes
2587 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2588 DEFAULT_wxUSE_TREEBOOK=yes
2589 DEFAULT_wxUSE_TOOLBOOK=yes
2590 DEFAULT_wxUSE_TREECTRL=yes
2591 DEFAULT_wxUSE_POPUPWIN=yes
2592 DEFAULT_wxUSE_TIPWINDOW=yes
2594 DEFAULT_wxUSE_UNICODE=no
2595 DEFAULT_wxUSE_UNICODE_MSLU=yes
2596 DEFAULT_wxUSE_WCSRTOMBS=no
2598 DEFAULT_wxUSE_PALETTE=yes
2599 DEFAULT_wxUSE_IMAGE=yes
2600 DEFAULT_wxUSE_GIF=yes
2601 DEFAULT_wxUSE_PCX=yes
2602 DEFAULT_wxUSE_IFF=no
2603 DEFAULT_wxUSE_PNM=yes
2604 DEFAULT_wxUSE_XPM=yes
2605 DEFAULT_wxUSE_ICO_CUR=yes
2606 DEFAULT_wxUSE_ACCESSIBILITY=no
2608 DEFAULT_wxUSE_MONOLITHIC=no
2609 DEFAULT_wxUSE_PLUGINS=no
2610 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2612 DEFAULT_wxUSE_GTK2=yes
2618 for toolkit in `echo $ALL_TOOLKITS`; do
2619 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2620 if test "x$LINE" != "x" ; then
2621 has_toolkit_in_cache=1
2622 eval "DEFAULT_$LINE"
2623 eval "CACHE_$toolkit=1"
2625 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2626 if test "x$LINE" != "x" ; then
2627 eval "DEFAULT_$LINE"
2635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2636 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2638 # Check whether --enable-gui or --disable-gui was given.
2639 if test "${enable_gui+set}" = set; then
2640 enableval="$enable_gui"
2642 if test "$enableval" = yes; then
2643 ac_cv_use_gui='wxUSE_GUI=yes'
2645 ac_cv_use_gui='wxUSE_GUI=no'
2650 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2651 if test "x$LINE" != x ; then
2652 eval "DEFAULT_$LINE"
2657 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2661 eval "$ac_cv_use_gui"
2662 if test "$no_cache" != 1; then
2663 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2666 if test "$wxUSE_GUI" = yes; then
2667 echo "$as_me:$LINENO: result: yes" >&5
2668 echo "${ECHO_T}yes" >&6
2670 echo "$as_me:$LINENO: result: no" >&5
2671 echo "${ECHO_T}no" >&6
2676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2677 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2679 # Check whether --enable-monolithic or --disable-monolithic was given.
2680 if test "${enable_monolithic+set}" = set; then
2681 enableval="$enable_monolithic"
2683 if test "$enableval" = yes; then
2684 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2686 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2691 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2692 if test "x$LINE" != x ; then
2693 eval "DEFAULT_$LINE"
2698 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2702 eval "$ac_cv_use_monolithic"
2703 if test "$no_cache" != 1; then
2704 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2707 if test "$wxUSE_MONOLITHIC" = yes; then
2708 echo "$as_me:$LINENO: result: yes" >&5
2709 echo "${ECHO_T}yes" >&6
2711 echo "$as_me:$LINENO: result: no" >&5
2712 echo "${ECHO_T}no" >&6
2717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2718 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2720 # Check whether --enable-plugins or --disable-plugins was given.
2721 if test "${enable_plugins+set}" = set; then
2722 enableval="$enable_plugins"
2724 if test "$enableval" = yes; then
2725 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2727 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2732 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2733 if test "x$LINE" != x ; then
2734 eval "DEFAULT_$LINE"
2739 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2743 eval "$ac_cv_use_plugins"
2744 if test "$no_cache" != 1; then
2745 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2748 if test "$wxUSE_PLUGINS" = yes; then
2749 echo "$as_me:$LINENO: result: yes" >&5
2750 echo "${ECHO_T}yes" >&6
2752 echo "$as_me:$LINENO: result: no" >&5
2753 echo "${ECHO_T}no" >&6
2758 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2759 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2762 # Check whether --with-subdirs or --without-subdirs was given.
2763 if test "${with_subdirs+set}" = set; then
2764 withval="$with_subdirs"
2766 if test "$withval" = yes; then
2767 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2769 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2774 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2775 if test "x$LINE" != x ; then
2776 eval "DEFAULT_$LINE"
2781 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2785 eval "$ac_cv_use_subdirs"
2786 if test "$no_cache" != 1; then
2787 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2790 if test "$wxWITH_SUBDIRS" = yes; then
2791 echo "$as_me:$LINENO: result: yes" >&5
2792 echo "${ECHO_T}yes" >&6
2794 echo "$as_me:$LINENO: result: no" >&5
2795 echo "${ECHO_T}no" >&6
2799 if test "$wxUSE_GUI" = "yes"; then
2803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2804 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2806 # Check whether --enable-universal or --disable-universal was given.
2807 if test "${enable_universal+set}" = set; then
2808 enableval="$enable_universal"
2810 if test "$enableval" = yes; then
2811 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2813 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2818 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2819 if test "x$LINE" != x ; then
2820 eval "DEFAULT_$LINE"
2825 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2829 eval "$ac_cv_use_universal"
2830 if test "$no_cache" != 1; then
2831 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2834 if test "$wxUSE_UNIVERSAL" = yes; then
2835 echo "$as_me:$LINENO: result: yes" >&5
2836 echo "${ECHO_T}yes" >&6
2838 echo "$as_me:$LINENO: result: no" >&5
2839 echo "${ECHO_T}no" >&6
2843 # Check whether --with-gtk or --without-gtk was given.
2844 if test "${with_gtk+set}" = set; then
2846 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2849 # Check whether --with-motif or --without-motif was given.
2850 if test "${with_motif+set}" = set; then
2851 withval="$with_motif"
2852 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2855 # Check whether --with-mac or --without-mac was given.
2856 if test "${with_mac+set}" = set; then
2858 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2861 # Check whether --with-cocoa or --without-cocoa was given.
2862 if test "${with_cocoa+set}" = set; then
2863 withval="$with_cocoa"
2864 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2867 # Check whether --with-wine or --without-wine was given.
2868 if test "${with_wine+set}" = set; then
2869 withval="$with_wine"
2870 wxUSE_WINE="$withval" CACHE_WINE=1
2873 # Check whether --with-msw or --without-msw was given.
2874 if test "${with_msw+set}" = set; then
2876 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2879 # Check whether --with-pm or --without-pm was given.
2880 if test "${with_pm+set}" = set; then
2882 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2885 # Check whether --with-mgl or --without-mgl was given.
2886 if test "${with_mgl+set}" = set; then
2888 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2891 # Check whether --with-directfb or --without-directfb was given.
2892 if test "${with_directfb+set}" = set; then
2893 withval="$with_directfb"
2894 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2897 # Check whether --with-microwin or --without-microwin was given.
2898 if test "${with_microwin+set}" = set; then
2899 withval="$with_microwin"
2900 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2903 # Check whether --with-x11 or --without-x11 was given.
2904 if test "${with_x11+set}" = set; then
2906 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2911 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2913 # Check whether --enable-nanox or --disable-nanox was given.
2914 if test "${enable_nanox+set}" = set; then
2915 enableval="$enable_nanox"
2917 if test "$enableval" = yes; then
2918 ac_cv_use_nanox='wxUSE_NANOX=yes'
2920 ac_cv_use_nanox='wxUSE_NANOX=no'
2925 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2926 if test "x$LINE" != x ; then
2927 eval "DEFAULT_$LINE"
2932 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2936 eval "$ac_cv_use_nanox"
2937 if test "$no_cache" != 1; then
2938 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2941 if test "$wxUSE_NANOX" = yes; then
2942 echo "$as_me:$LINENO: result: yes" >&5
2943 echo "${ECHO_T}yes" >&6
2945 echo "$as_me:$LINENO: result: no" >&5
2946 echo "${ECHO_T}no" >&6
2950 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2951 if test "${enable_gtk2+set}" = set; then
2952 enableval="$enable_gtk2"
2953 wxUSE_GTK2="$enableval"
2957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2958 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2960 # Check whether --enable-gpe or --disable-gpe was given.
2961 if test "${enable_gpe+set}" = set; then
2962 enableval="$enable_gpe"
2964 if test "$enableval" = yes; then
2965 ac_cv_use_gpe='wxUSE_GPE=yes'
2967 ac_cv_use_gpe='wxUSE_GPE=no'
2972 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2973 if test "x$LINE" != x ; then
2974 eval "DEFAULT_$LINE"
2979 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2983 eval "$ac_cv_use_gpe"
2984 if test "$no_cache" != 1; then
2985 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2988 if test "$wxUSE_GPE" = yes; then
2989 echo "$as_me:$LINENO: result: yes" >&5
2990 echo "${ECHO_T}yes" >&6
2992 echo "$as_me:$LINENO: result: no" >&5
2993 echo "${ECHO_T}no" >&6
2998 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2999 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3002 # Check whether --with-libpng or --without-libpng was given.
3003 if test "${with_libpng+set}" = set; then
3004 withval="$with_libpng"
3006 if test "$withval" = yes; then
3007 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3008 elif test "$withval" = no; then
3009 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3010 elif test "$withval" = sys; then
3011 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3012 elif test "$withval" = builtin; then
3013 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3015 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3016 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3017 { (exit 1); exit 1; }; }
3022 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3023 if test "x$LINE" != x ; then
3024 eval "DEFAULT_$LINE"
3029 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3033 eval "$ac_cv_use_libpng"
3034 if test "$no_cache" != 1; then
3035 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3038 if test "$wxUSE_LIBPNG" = yes; then
3039 echo "$as_me:$LINENO: result: yes" >&5
3040 echo "${ECHO_T}yes" >&6
3041 elif test "$wxUSE_LIBPNG" = no; then
3042 echo "$as_me:$LINENO: result: no" >&5
3043 echo "${ECHO_T}no" >&6
3044 elif test "$wxUSE_LIBPNG" = sys; then
3045 echo "$as_me:$LINENO: result: system version" >&5
3046 echo "${ECHO_T}system version" >&6
3047 elif test "$wxUSE_LIBPNG" = builtin; then
3048 echo "$as_me:$LINENO: result: builtin version" >&5
3049 echo "${ECHO_T}builtin version" >&6
3051 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3052 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3053 { (exit 1); exit 1; }; }
3057 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3058 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3061 # Check whether --with-libjpeg or --without-libjpeg was given.
3062 if test "${with_libjpeg+set}" = set; then
3063 withval="$with_libjpeg"
3065 if test "$withval" = yes; then
3066 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3067 elif test "$withval" = no; then
3068 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3069 elif test "$withval" = sys; then
3070 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3071 elif test "$withval" = builtin; then
3072 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3074 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3075 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3076 { (exit 1); exit 1; }; }
3081 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3082 if test "x$LINE" != x ; then
3083 eval "DEFAULT_$LINE"
3088 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3092 eval "$ac_cv_use_libjpeg"
3093 if test "$no_cache" != 1; then
3094 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3097 if test "$wxUSE_LIBJPEG" = yes; then
3098 echo "$as_me:$LINENO: result: yes" >&5
3099 echo "${ECHO_T}yes" >&6
3100 elif test "$wxUSE_LIBJPEG" = no; then
3101 echo "$as_me:$LINENO: result: no" >&5
3102 echo "${ECHO_T}no" >&6
3103 elif test "$wxUSE_LIBJPEG" = sys; then
3104 echo "$as_me:$LINENO: result: system version" >&5
3105 echo "${ECHO_T}system version" >&6
3106 elif test "$wxUSE_LIBJPEG" = builtin; then
3107 echo "$as_me:$LINENO: result: builtin version" >&5
3108 echo "${ECHO_T}builtin version" >&6
3110 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3111 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3112 { (exit 1); exit 1; }; }
3116 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3117 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3120 # Check whether --with-libtiff or --without-libtiff was given.
3121 if test "${with_libtiff+set}" = set; then
3122 withval="$with_libtiff"
3124 if test "$withval" = yes; then
3125 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3126 elif test "$withval" = no; then
3127 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3128 elif test "$withval" = sys; then
3129 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3130 elif test "$withval" = builtin; then
3131 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3133 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3134 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3135 { (exit 1); exit 1; }; }
3140 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3141 if test "x$LINE" != x ; then
3142 eval "DEFAULT_$LINE"
3147 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3151 eval "$ac_cv_use_libtiff"
3152 if test "$no_cache" != 1; then
3153 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3156 if test "$wxUSE_LIBTIFF" = yes; then
3157 echo "$as_me:$LINENO: result: yes" >&5
3158 echo "${ECHO_T}yes" >&6
3159 elif test "$wxUSE_LIBTIFF" = no; then
3160 echo "$as_me:$LINENO: result: no" >&5
3161 echo "${ECHO_T}no" >&6
3162 elif test "$wxUSE_LIBTIFF" = sys; then
3163 echo "$as_me:$LINENO: result: system version" >&5
3164 echo "${ECHO_T}system version" >&6
3165 elif test "$wxUSE_LIBTIFF" = builtin; then
3166 echo "$as_me:$LINENO: result: builtin version" >&5
3167 echo "${ECHO_T}builtin version" >&6
3169 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3170 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3171 { (exit 1); exit 1; }; }
3175 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3176 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3179 # Check whether --with-libxpm or --without-libxpm was given.
3180 if test "${with_libxpm+set}" = set; then
3181 withval="$with_libxpm"
3183 if test "$withval" = yes; then
3184 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3185 elif test "$withval" = no; then
3186 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3187 elif test "$withval" = sys; then
3188 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3189 elif test "$withval" = builtin; then
3190 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3192 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3193 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3194 { (exit 1); exit 1; }; }
3199 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3200 if test "x$LINE" != x ; then
3201 eval "DEFAULT_$LINE"
3206 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3210 eval "$ac_cv_use_libxpm"
3211 if test "$no_cache" != 1; then
3212 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3215 if test "$wxUSE_LIBXPM" = yes; then
3216 echo "$as_me:$LINENO: result: yes" >&5
3217 echo "${ECHO_T}yes" >&6
3218 elif test "$wxUSE_LIBXPM" = no; then
3219 echo "$as_me:$LINENO: result: no" >&5
3220 echo "${ECHO_T}no" >&6
3221 elif test "$wxUSE_LIBXPM" = sys; then
3222 echo "$as_me:$LINENO: result: system version" >&5
3223 echo "${ECHO_T}system version" >&6
3224 elif test "$wxUSE_LIBXPM" = builtin; then
3225 echo "$as_me:$LINENO: result: builtin version" >&5
3226 echo "${ECHO_T}builtin version" >&6
3228 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3229 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3230 { (exit 1); exit 1; }; }
3235 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3236 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3239 # Check whether --with-libmspack or --without-libmspack was given.
3240 if test "${with_libmspack+set}" = set; then
3241 withval="$with_libmspack"
3243 if test "$withval" = yes; then
3244 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3246 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3251 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3252 if test "x$LINE" != x ; then
3253 eval "DEFAULT_$LINE"
3258 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3262 eval "$ac_cv_use_libmspack"
3263 if test "$no_cache" != 1; then
3264 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3267 if test "$wxUSE_LIBMSPACK" = yes; then
3268 echo "$as_me:$LINENO: result: yes" >&5
3269 echo "${ECHO_T}yes" >&6
3271 echo "$as_me:$LINENO: result: no" >&5
3272 echo "${ECHO_T}no" >&6
3277 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3278 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3281 # Check whether --with-sdl or --without-sdl was given.
3282 if test "${with_sdl+set}" = set; then
3285 if test "$withval" = yes; then
3286 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3288 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3293 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3294 if test "x$LINE" != x ; then
3295 eval "DEFAULT_$LINE"
3300 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3304 eval "$ac_cv_use_sdl"
3305 if test "$no_cache" != 1; then
3306 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3309 if test "$wxUSE_LIBSDL" = yes; then
3310 echo "$as_me:$LINENO: result: yes" >&5
3311 echo "${ECHO_T}yes" >&6
3313 echo "$as_me:$LINENO: result: no" >&5
3314 echo "${ECHO_T}no" >&6
3319 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3320 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3323 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3324 if test "${with_gnomeprint+set}" = set; then
3325 withval="$with_gnomeprint"
3327 if test "$withval" = yes; then
3328 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3330 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3335 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3336 if test "x$LINE" != x ; then
3337 eval "DEFAULT_$LINE"
3342 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3346 eval "$ac_cv_use_gnomeprint"
3347 if test "$no_cache" != 1; then
3348 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3351 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3352 echo "$as_me:$LINENO: result: yes" >&5
3353 echo "${ECHO_T}yes" >&6
3355 echo "$as_me:$LINENO: result: no" >&5
3356 echo "${ECHO_T}no" >&6
3361 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3362 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3365 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3366 if test "${with_gnomevfs+set}" = set; then
3367 withval="$with_gnomevfs"
3369 if test "$withval" = yes; then
3370 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3372 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3377 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3378 if test "x$LINE" != x ; then
3379 eval "DEFAULT_$LINE"
3384 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3388 eval "$ac_cv_use_gnomevfs"
3389 if test "$no_cache" != 1; then
3390 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3393 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3394 echo "$as_me:$LINENO: result: yes" >&5
3395 echo "${ECHO_T}yes" >&6
3397 echo "$as_me:$LINENO: result: no" >&5
3398 echo "${ECHO_T}no" >&6
3403 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3404 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3407 # Check whether --with-hildon or --without-hildon was given.
3408 if test "${with_hildon+set}" = set; then
3409 withval="$with_hildon"
3411 if test "$withval" = yes; then
3412 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3414 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3419 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3420 if test "x$LINE" != x ; then
3421 eval "DEFAULT_$LINE"
3426 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3430 eval "$ac_cv_use_hildon"
3431 if test "$no_cache" != 1; then
3432 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3435 if test "$wxUSE_LIBHILDON" = yes; then
3436 echo "$as_me:$LINENO: result: yes" >&5
3437 echo "${ECHO_T}yes" >&6
3439 echo "$as_me:$LINENO: result: no" >&5
3440 echo "${ECHO_T}no" >&6
3445 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3446 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3449 # Check whether --with-opengl or --without-opengl was given.
3450 if test "${with_opengl+set}" = set; then
3451 withval="$with_opengl"
3453 if test "$withval" = yes; then
3454 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3456 ac_cv_use_opengl='wxUSE_OPENGL=no'
3461 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3462 if test "x$LINE" != x ; then
3463 eval "DEFAULT_$LINE"
3468 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3472 eval "$ac_cv_use_opengl"
3473 if test "$no_cache" != 1; then
3474 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3477 if test "$wxUSE_OPENGL" = yes; then
3478 echo "$as_me:$LINENO: result: yes" >&5
3479 echo "${ECHO_T}yes" >&6
3481 echo "$as_me:$LINENO: result: no" >&5
3482 echo "${ECHO_T}no" >&6
3486 if test "$wxUSE_UNIVERSAL" = "yes"; then
3488 # Check whether --with-themes or --without-themes was given.
3489 if test "${with_themes+set}" = set; then
3490 withval="$with_themes"
3491 wxUNIV_THEMES="$withval"
3499 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3500 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3503 # Check whether --with-dmalloc or --without-dmalloc was given.
3504 if test "${with_dmalloc+set}" = set; then
3505 withval="$with_dmalloc"
3507 if test "$withval" = yes; then
3508 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3510 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3515 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3516 if test "x$LINE" != x ; then
3517 eval "DEFAULT_$LINE"
3522 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3526 eval "$ac_cv_use_dmalloc"
3527 if test "$no_cache" != 1; then
3528 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3531 if test "$wxUSE_DMALLOC" = yes; then
3532 echo "$as_me:$LINENO: result: yes" >&5
3533 echo "${ECHO_T}yes" >&6
3535 echo "$as_me:$LINENO: result: no" >&5
3536 echo "${ECHO_T}no" >&6
3540 echo "$as_me:$LINENO: checking for --with-regex" >&5
3541 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3544 # Check whether --with-regex or --without-regex was given.
3545 if test "${with_regex+set}" = set; then
3546 withval="$with_regex"
3548 if test "$withval" = yes; then
3549 ac_cv_use_regex='wxUSE_REGEX=yes'
3550 elif test "$withval" = no; then
3551 ac_cv_use_regex='wxUSE_REGEX=no'
3552 elif test "$withval" = sys; then
3553 ac_cv_use_regex='wxUSE_REGEX=sys'
3554 elif test "$withval" = builtin; then
3555 ac_cv_use_regex='wxUSE_REGEX=builtin'
3557 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3558 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3559 { (exit 1); exit 1; }; }
3564 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3565 if test "x$LINE" != x ; then
3566 eval "DEFAULT_$LINE"
3571 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3575 eval "$ac_cv_use_regex"
3576 if test "$no_cache" != 1; then
3577 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3580 if test "$wxUSE_REGEX" = yes; then
3581 echo "$as_me:$LINENO: result: yes" >&5
3582 echo "${ECHO_T}yes" >&6
3583 elif test "$wxUSE_REGEX" = no; then
3584 echo "$as_me:$LINENO: result: no" >&5
3585 echo "${ECHO_T}no" >&6
3586 elif test "$wxUSE_REGEX" = sys; then
3587 echo "$as_me:$LINENO: result: system version" >&5
3588 echo "${ECHO_T}system version" >&6
3589 elif test "$wxUSE_REGEX" = builtin; then
3590 echo "$as_me:$LINENO: result: builtin version" >&5
3591 echo "${ECHO_T}builtin version" >&6
3593 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3594 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3595 { (exit 1); exit 1; }; }
3599 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3600 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3603 # Check whether --with-zlib or --without-zlib was given.
3604 if test "${with_zlib+set}" = set; then
3605 withval="$with_zlib"
3607 if test "$withval" = yes; then
3608 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3609 elif test "$withval" = no; then
3610 ac_cv_use_zlib='wxUSE_ZLIB=no'
3611 elif test "$withval" = sys; then
3612 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3613 elif test "$withval" = builtin; then
3614 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3616 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3617 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3618 { (exit 1); exit 1; }; }
3623 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3624 if test "x$LINE" != x ; then
3625 eval "DEFAULT_$LINE"
3630 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3634 eval "$ac_cv_use_zlib"
3635 if test "$no_cache" != 1; then
3636 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3639 if test "$wxUSE_ZLIB" = yes; then
3640 echo "$as_me:$LINENO: result: yes" >&5
3641 echo "${ECHO_T}yes" >&6
3642 elif test "$wxUSE_ZLIB" = no; then
3643 echo "$as_me:$LINENO: result: no" >&5
3644 echo "${ECHO_T}no" >&6
3645 elif test "$wxUSE_ZLIB" = sys; then
3646 echo "$as_me:$LINENO: result: system version" >&5
3647 echo "${ECHO_T}system version" >&6
3648 elif test "$wxUSE_ZLIB" = builtin; then
3649 echo "$as_me:$LINENO: result: builtin version" >&5
3650 echo "${ECHO_T}builtin version" >&6
3652 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3653 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3654 { (exit 1); exit 1; }; }
3658 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3659 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3662 # Check whether --with-odbc or --without-odbc was given.
3663 if test "${with_odbc+set}" = set; then
3664 withval="$with_odbc"
3666 if test "$withval" = yes; then
3667 ac_cv_use_odbc='wxUSE_ODBC=yes'
3668 elif test "$withval" = no; then
3669 ac_cv_use_odbc='wxUSE_ODBC=no'
3670 elif test "$withval" = sys; then
3671 ac_cv_use_odbc='wxUSE_ODBC=sys'
3672 elif test "$withval" = builtin; then
3673 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3675 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3676 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3677 { (exit 1); exit 1; }; }
3682 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3683 if test "x$LINE" != x ; then
3684 eval "DEFAULT_$LINE"
3689 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3693 eval "$ac_cv_use_odbc"
3694 if test "$no_cache" != 1; then
3695 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3698 if test "$wxUSE_ODBC" = yes; then
3699 echo "$as_me:$LINENO: result: yes" >&5
3700 echo "${ECHO_T}yes" >&6
3701 elif test "$wxUSE_ODBC" = no; then
3702 echo "$as_me:$LINENO: result: no" >&5
3703 echo "${ECHO_T}no" >&6
3704 elif test "$wxUSE_ODBC" = sys; then
3705 echo "$as_me:$LINENO: result: system version" >&5
3706 echo "${ECHO_T}system version" >&6
3707 elif test "$wxUSE_ODBC" = builtin; then
3708 echo "$as_me:$LINENO: result: builtin version" >&5
3709 echo "${ECHO_T}builtin version" >&6
3711 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3712 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3713 { (exit 1); exit 1; }; }
3717 echo "$as_me:$LINENO: checking for --with-expat" >&5
3718 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3721 # Check whether --with-expat or --without-expat was given.
3722 if test "${with_expat+set}" = set; then
3723 withval="$with_expat"
3725 if test "$withval" = yes; then
3726 ac_cv_use_expat='wxUSE_EXPAT=yes'
3727 elif test "$withval" = no; then
3728 ac_cv_use_expat='wxUSE_EXPAT=no'
3729 elif test "$withval" = sys; then
3730 ac_cv_use_expat='wxUSE_EXPAT=sys'
3731 elif test "$withval" = builtin; then
3732 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3734 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3735 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3736 { (exit 1); exit 1; }; }
3741 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3742 if test "x$LINE" != x ; then
3743 eval "DEFAULT_$LINE"
3748 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3752 eval "$ac_cv_use_expat"
3753 if test "$no_cache" != 1; then
3754 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3757 if test "$wxUSE_EXPAT" = yes; then
3758 echo "$as_me:$LINENO: result: yes" >&5
3759 echo "${ECHO_T}yes" >&6
3760 elif test "$wxUSE_EXPAT" = no; then
3761 echo "$as_me:$LINENO: result: no" >&5
3762 echo "${ECHO_T}no" >&6
3763 elif test "$wxUSE_EXPAT" = sys; then
3764 echo "$as_me:$LINENO: result: system version" >&5
3765 echo "${ECHO_T}system version" >&6
3766 elif test "$wxUSE_EXPAT" = builtin; then
3767 echo "$as_me:$LINENO: result: builtin version" >&5
3768 echo "${ECHO_T}builtin version" >&6
3770 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3771 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3772 { (exit 1); exit 1; }; }
3779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3780 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3782 # Check whether --enable-shared or --disable-shared was given.
3783 if test "${enable_shared+set}" = set; then
3784 enableval="$enable_shared"
3786 if test "$enableval" = yes; then
3787 ac_cv_use_shared='wxUSE_SHARED=yes'
3789 ac_cv_use_shared='wxUSE_SHARED=no'
3794 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3795 if test "x$LINE" != x ; then
3796 eval "DEFAULT_$LINE"
3801 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3805 eval "$ac_cv_use_shared"
3806 if test "$no_cache" != 1; then
3807 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3810 if test "$wxUSE_SHARED" = yes; then
3811 echo "$as_me:$LINENO: result: yes" >&5
3812 echo "${ECHO_T}yes" >&6
3814 echo "$as_me:$LINENO: result: no" >&5
3815 echo "${ECHO_T}no" >&6
3820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3821 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3823 # Check whether --enable-optimise or --disable-optimise was given.
3824 if test "${enable_optimise+set}" = set; then
3825 enableval="$enable_optimise"
3827 if test "$enableval" = yes; then
3828 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3830 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3835 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3836 if test "x$LINE" != x ; then
3837 eval "DEFAULT_$LINE"
3842 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3846 eval "$ac_cv_use_optimise"
3847 if test "$no_cache" != 1; then
3848 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3851 if test "$wxUSE_OPTIMISE" = yes; then
3852 echo "$as_me:$LINENO: result: yes" >&5
3853 echo "${ECHO_T}yes" >&6
3855 echo "$as_me:$LINENO: result: no" >&5
3856 echo "${ECHO_T}no" >&6
3861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3862 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3864 # Check whether --enable-debug or --disable-debug was given.
3865 if test "${enable_debug+set}" = set; then
3866 enableval="$enable_debug"
3868 if test "$enableval" = yes; then
3869 ac_cv_use_debug='wxUSE_DEBUG=yes'
3871 ac_cv_use_debug='wxUSE_DEBUG=no'
3876 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3877 if test "x$LINE" != x ; then
3878 eval "DEFAULT_$LINE"
3883 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3887 eval "$ac_cv_use_debug"
3888 if test "$no_cache" != 1; then
3889 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3892 if test "$wxUSE_DEBUG" = yes; then
3893 echo "$as_me:$LINENO: result: yes" >&5
3894 echo "${ECHO_T}yes" >&6
3896 echo "$as_me:$LINENO: result: no" >&5
3897 echo "${ECHO_T}no" >&6
3902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3903 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3905 # Check whether --enable-stl or --disable-stl was given.
3906 if test "${enable_stl+set}" = set; then
3907 enableval="$enable_stl"
3909 if test "$enableval" = yes; then
3910 ac_cv_use_stl='wxUSE_STL=yes'
3912 ac_cv_use_stl='wxUSE_STL=no'
3917 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3918 if test "x$LINE" != x ; then
3919 eval "DEFAULT_$LINE"
3924 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3928 eval "$ac_cv_use_stl"
3929 if test "$no_cache" != 1; then
3930 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3933 if test "$wxUSE_STL" = yes; then
3934 echo "$as_me:$LINENO: result: yes" >&5
3935 echo "${ECHO_T}yes" >&6
3937 echo "$as_me:$LINENO: result: no" >&5
3938 echo "${ECHO_T}no" >&6
3941 if test "$USE_OS2" = "1"; then
3942 DEFAULT_wxUSE_OMF=no
3945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3946 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3948 # Check whether --enable-omf or --disable-omf was given.
3949 if test "${enable_omf+set}" = set; then
3950 enableval="$enable_omf"
3952 if test "$enableval" = yes; then
3953 ac_cv_use_omf='wxUSE_OMF=yes'
3955 ac_cv_use_omf='wxUSE_OMF=no'
3960 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3961 if test "x$LINE" != x ; then
3962 eval "DEFAULT_$LINE"
3967 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3971 eval "$ac_cv_use_omf"
3972 if test "$no_cache" != 1; then
3973 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3976 if test "$wxUSE_OMF" = yes; then
3977 echo "$as_me:$LINENO: result: yes" >&5
3978 echo "${ECHO_T}yes" >&6
3980 echo "$as_me:$LINENO: result: no" >&5
3981 echo "${ECHO_T}no" >&6
3986 if test "$wxUSE_DEBUG" = "yes"; then
3987 DEFAULT_wxUSE_DEBUG_FLAG=yes
3988 DEFAULT_wxUSE_DEBUG_INFO=yes
3990 elif test "$wxUSE_DEBUG" = "no"; then
3991 DEFAULT_wxUSE_DEBUG_FLAG=no
3992 DEFAULT_wxUSE_DEBUG_INFO=no
3998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3999 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4001 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4002 if test "${enable_debug_flag+set}" = set; then
4003 enableval="$enable_debug_flag"
4005 if test "$enableval" = yes; then
4006 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4008 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4013 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4014 if test "x$LINE" != x ; then
4015 eval "DEFAULT_$LINE"
4020 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4024 eval "$ac_cv_use_debug_flag"
4025 if test "$no_cache" != 1; then
4026 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4029 if test "$wxUSE_DEBUG_FLAG" = yes; then
4030 echo "$as_me:$LINENO: result: yes" >&5
4031 echo "${ECHO_T}yes" >&6
4033 echo "$as_me:$LINENO: result: no" >&5
4034 echo "${ECHO_T}no" >&6
4039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4040 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4042 # Check whether --enable-debug_info or --disable-debug_info was given.
4043 if test "${enable_debug_info+set}" = set; then
4044 enableval="$enable_debug_info"
4046 if test "$enableval" = yes; then
4047 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4049 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4054 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4055 if test "x$LINE" != x ; then
4056 eval "DEFAULT_$LINE"
4061 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4065 eval "$ac_cv_use_debug_info"
4066 if test "$no_cache" != 1; then
4067 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4070 if test "$wxUSE_DEBUG_INFO" = yes; then
4071 echo "$as_me:$LINENO: result: yes" >&5
4072 echo "${ECHO_T}yes" >&6
4074 echo "$as_me:$LINENO: result: no" >&5
4075 echo "${ECHO_T}no" >&6
4080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4081 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4083 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4084 if test "${enable_debug_gdb+set}" = set; then
4085 enableval="$enable_debug_gdb"
4087 if test "$enableval" = yes; then
4088 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4090 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4095 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4096 if test "x$LINE" != x ; then
4097 eval "DEFAULT_$LINE"
4102 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4106 eval "$ac_cv_use_debug_gdb"
4107 if test "$no_cache" != 1; then
4108 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4111 if test "$wxUSE_DEBUG_GDB" = yes; then
4112 echo "$as_me:$LINENO: result: yes" >&5
4113 echo "${ECHO_T}yes" >&6
4115 echo "$as_me:$LINENO: result: no" >&5
4116 echo "${ECHO_T}no" >&6
4121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4122 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4124 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4125 if test "${enable_debug_cntxt+set}" = set; then
4126 enableval="$enable_debug_cntxt"
4128 if test "$enableval" = yes; then
4129 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4131 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4136 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4137 if test "x$LINE" != x ; then
4138 eval "DEFAULT_$LINE"
4143 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4147 eval "$ac_cv_use_debug_cntxt"
4148 if test "$no_cache" != 1; then
4149 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4152 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4153 echo "$as_me:$LINENO: result: yes" >&5
4154 echo "${ECHO_T}yes" >&6
4156 echo "$as_me:$LINENO: result: no" >&5
4157 echo "${ECHO_T}no" >&6
4162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4163 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4165 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4166 if test "${enable_mem_tracing+set}" = set; then
4167 enableval="$enable_mem_tracing"
4169 if test "$enableval" = yes; then
4170 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4172 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4177 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4178 if test "x$LINE" != x ; then
4179 eval "DEFAULT_$LINE"
4184 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4188 eval "$ac_cv_use_mem_tracing"
4189 if test "$no_cache" != 1; then
4190 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4193 if test "$wxUSE_MEM_TRACING" = yes; then
4194 echo "$as_me:$LINENO: result: yes" >&5
4195 echo "${ECHO_T}yes" >&6
4197 echo "$as_me:$LINENO: result: no" >&5
4198 echo "${ECHO_T}no" >&6
4203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4204 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4206 # Check whether --enable-profile or --disable-profile was given.
4207 if test "${enable_profile+set}" = set; then
4208 enableval="$enable_profile"
4210 if test "$enableval" = yes; then
4211 ac_cv_use_profile='wxUSE_PROFILE=yes'
4213 ac_cv_use_profile='wxUSE_PROFILE=no'
4218 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4219 if test "x$LINE" != x ; then
4220 eval "DEFAULT_$LINE"
4225 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4229 eval "$ac_cv_use_profile"
4230 if test "$no_cache" != 1; then
4231 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4234 if test "$wxUSE_PROFILE" = yes; then
4235 echo "$as_me:$LINENO: result: yes" >&5
4236 echo "${ECHO_T}yes" >&6
4238 echo "$as_me:$LINENO: result: no" >&5
4239 echo "${ECHO_T}no" >&6
4244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4245 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4247 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4248 if test "${enable_no_rtti+set}" = set; then
4249 enableval="$enable_no_rtti"
4251 if test "$enableval" = yes; then
4252 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4254 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4259 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4260 if test "x$LINE" != x ; then
4261 eval "DEFAULT_$LINE"
4266 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4270 eval "$ac_cv_use_no_rtti"
4271 if test "$no_cache" != 1; then
4272 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4275 if test "$wxUSE_NO_RTTI" = yes; then
4276 echo "$as_me:$LINENO: result: yes" >&5
4277 echo "${ECHO_T}yes" >&6
4279 echo "$as_me:$LINENO: result: no" >&5
4280 echo "${ECHO_T}no" >&6
4285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4286 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4288 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4289 if test "${enable_no_exceptions+set}" = set; then
4290 enableval="$enable_no_exceptions"
4292 if test "$enableval" = yes; then
4293 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4295 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4300 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4301 if test "x$LINE" != x ; then
4302 eval "DEFAULT_$LINE"
4307 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4311 eval "$ac_cv_use_no_exceptions"
4312 if test "$no_cache" != 1; then
4313 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4316 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4317 echo "$as_me:$LINENO: result: yes" >&5
4318 echo "${ECHO_T}yes" >&6
4320 echo "$as_me:$LINENO: result: no" >&5
4321 echo "${ECHO_T}no" >&6
4326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4327 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4329 # Check whether --enable-permissive or --disable-permissive was given.
4330 if test "${enable_permissive+set}" = set; then
4331 enableval="$enable_permissive"
4333 if test "$enableval" = yes; then
4334 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4336 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4341 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4342 if test "x$LINE" != x ; then
4343 eval "DEFAULT_$LINE"
4348 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4352 eval "$ac_cv_use_permissive"
4353 if test "$no_cache" != 1; then
4354 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4357 if test "$wxUSE_PERMISSIVE" = yes; then
4358 echo "$as_me:$LINENO: result: yes" >&5
4359 echo "${ECHO_T}yes" >&6
4361 echo "$as_me:$LINENO: result: no" >&5
4362 echo "${ECHO_T}no" >&6
4367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4368 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4370 # Check whether --enable-no_deps or --disable-no_deps was given.
4371 if test "${enable_no_deps+set}" = set; then
4372 enableval="$enable_no_deps"
4374 if test "$enableval" = yes; then
4375 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4377 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4382 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4383 if test "x$LINE" != x ; then
4384 eval "DEFAULT_$LINE"
4389 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4393 eval "$ac_cv_use_no_deps"
4394 if test "$no_cache" != 1; then
4395 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4398 if test "$wxUSE_NO_DEPS" = yes; then
4399 echo "$as_me:$LINENO: result: yes" >&5
4400 echo "${ECHO_T}yes" >&6
4402 echo "$as_me:$LINENO: result: no" >&5
4403 echo "${ECHO_T}no" >&6
4408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4409 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4411 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4412 if test "${enable_universal_binary+set}" = set; then
4413 enableval="$enable_universal_binary"
4415 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4419 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4420 if test "x$LINE" != x ; then
4421 eval "DEFAULT_$LINE"
4422 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4425 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4430 eval "$wx_cv_use_universal_binary"
4431 if test "$no_cache" != 1; then
4432 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4435 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4436 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4442 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4444 # Check whether --enable-compat24 or --disable-compat24 was given.
4445 if test "${enable_compat24+set}" = set; then
4446 enableval="$enable_compat24"
4448 if test "$enableval" = yes; then
4449 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4451 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4456 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4457 if test "x$LINE" != x ; then
4458 eval "DEFAULT_$LINE"
4463 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4467 eval "$ac_cv_use_compat24"
4468 if test "$no_cache" != 1; then
4469 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4472 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4473 echo "$as_me:$LINENO: result: yes" >&5
4474 echo "${ECHO_T}yes" >&6
4476 echo "$as_me:$LINENO: result: no" >&5
4477 echo "${ECHO_T}no" >&6
4481 enablestring=disable
4482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4483 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4485 # Check whether --enable-compat26 or --disable-compat26 was given.
4486 if test "${enable_compat26+set}" = set; then
4487 enableval="$enable_compat26"
4489 if test "$enableval" = yes; then
4490 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4492 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4497 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4498 if test "x$LINE" != x ; then
4499 eval "DEFAULT_$LINE"
4504 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4508 eval "$ac_cv_use_compat26"
4509 if test "$no_cache" != 1; then
4510 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4513 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4514 echo "$as_me:$LINENO: result: yes" >&5
4515 echo "${ECHO_T}yes" >&6
4517 echo "$as_me:$LINENO: result: no" >&5
4518 echo "${ECHO_T}no" >&6
4524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4525 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4527 # Check whether --enable-rpath or --disable-rpath was given.
4528 if test "${enable_rpath+set}" = set; then
4529 enableval="$enable_rpath"
4531 if test "$enableval" = yes; then
4532 ac_cv_use_rpath='wxUSE_RPATH=yes'
4534 ac_cv_use_rpath='wxUSE_RPATH=no'
4539 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4540 if test "x$LINE" != x ; then
4541 eval "DEFAULT_$LINE"
4546 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4550 eval "$ac_cv_use_rpath"
4551 if test "$no_cache" != 1; then
4552 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4555 if test "$wxUSE_RPATH" = yes; then
4556 echo "$as_me:$LINENO: result: yes" >&5
4557 echo "${ECHO_T}yes" >&6
4559 echo "$as_me:$LINENO: result: no" >&5
4560 echo "${ECHO_T}no" >&6
4568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4569 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4571 # Check whether --enable-intl or --disable-intl was given.
4572 if test "${enable_intl+set}" = set; then
4573 enableval="$enable_intl"
4575 if test "$enableval" = yes; then
4576 ac_cv_use_intl='wxUSE_INTL=yes'
4578 ac_cv_use_intl='wxUSE_INTL=no'
4583 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4584 if test "x$LINE" != x ; then
4585 eval "DEFAULT_$LINE"
4590 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4594 eval "$ac_cv_use_intl"
4595 if test "$no_cache" != 1; then
4596 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4599 if test "$wxUSE_INTL" = yes; then
4600 echo "$as_me:$LINENO: result: yes" >&5
4601 echo "${ECHO_T}yes" >&6
4603 echo "$as_me:$LINENO: result: no" >&5
4604 echo "${ECHO_T}no" >&6
4609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4610 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4612 # Check whether --enable-config or --disable-config was given.
4613 if test "${enable_config+set}" = set; then
4614 enableval="$enable_config"
4616 if test "$enableval" = yes; then
4617 ac_cv_use_config='wxUSE_CONFIG=yes'
4619 ac_cv_use_config='wxUSE_CONFIG=no'
4624 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4625 if test "x$LINE" != x ; then
4626 eval "DEFAULT_$LINE"
4631 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4635 eval "$ac_cv_use_config"
4636 if test "$no_cache" != 1; then
4637 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4640 if test "$wxUSE_CONFIG" = yes; then
4641 echo "$as_me:$LINENO: result: yes" >&5
4642 echo "${ECHO_T}yes" >&6
4644 echo "$as_me:$LINENO: result: no" >&5
4645 echo "${ECHO_T}no" >&6
4651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4652 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4654 # Check whether --enable-protocols or --disable-protocols was given.
4655 if test "${enable_protocols+set}" = set; then
4656 enableval="$enable_protocols"
4658 if test "$enableval" = yes; then
4659 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4661 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4666 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4667 if test "x$LINE" != x ; then
4668 eval "DEFAULT_$LINE"
4673 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4677 eval "$ac_cv_use_protocols"
4678 if test "$no_cache" != 1; then
4679 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4682 if test "$wxUSE_PROTOCOL" = yes; then
4683 echo "$as_me:$LINENO: result: yes" >&5
4684 echo "${ECHO_T}yes" >&6
4686 echo "$as_me:$LINENO: result: no" >&5
4687 echo "${ECHO_T}no" >&6
4692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4693 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4695 # Check whether --enable-ftp or --disable-ftp was given.
4696 if test "${enable_ftp+set}" = set; then
4697 enableval="$enable_ftp"
4699 if test "$enableval" = yes; then
4700 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4702 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4707 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4708 if test "x$LINE" != x ; then
4709 eval "DEFAULT_$LINE"
4714 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4718 eval "$ac_cv_use_ftp"
4719 if test "$no_cache" != 1; then
4720 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4723 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4724 echo "$as_me:$LINENO: result: yes" >&5
4725 echo "${ECHO_T}yes" >&6
4727 echo "$as_me:$LINENO: result: no" >&5
4728 echo "${ECHO_T}no" >&6
4733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4734 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4736 # Check whether --enable-http or --disable-http was given.
4737 if test "${enable_http+set}" = set; then
4738 enableval="$enable_http"
4740 if test "$enableval" = yes; then
4741 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4743 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4748 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4749 if test "x$LINE" != x ; then
4750 eval "DEFAULT_$LINE"
4755 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4759 eval "$ac_cv_use_http"
4760 if test "$no_cache" != 1; then
4761 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4764 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4765 echo "$as_me:$LINENO: result: yes" >&5
4766 echo "${ECHO_T}yes" >&6
4768 echo "$as_me:$LINENO: result: no" >&5
4769 echo "${ECHO_T}no" >&6
4774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4775 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4777 # Check whether --enable-fileproto or --disable-fileproto was given.
4778 if test "${enable_fileproto+set}" = set; then
4779 enableval="$enable_fileproto"
4781 if test "$enableval" = yes; then
4782 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4784 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4789 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4790 if test "x$LINE" != x ; then
4791 eval "DEFAULT_$LINE"
4796 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4800 eval "$ac_cv_use_fileproto"
4801 if test "$no_cache" != 1; then
4802 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4805 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4806 echo "$as_me:$LINENO: result: yes" >&5
4807 echo "${ECHO_T}yes" >&6
4809 echo "$as_me:$LINENO: result: no" >&5
4810 echo "${ECHO_T}no" >&6
4815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4816 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4818 # Check whether --enable-sockets or --disable-sockets was given.
4819 if test "${enable_sockets+set}" = set; then
4820 enableval="$enable_sockets"
4822 if test "$enableval" = yes; then
4823 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4825 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4830 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4831 if test "x$LINE" != x ; then
4832 eval "DEFAULT_$LINE"
4837 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4841 eval "$ac_cv_use_sockets"
4842 if test "$no_cache" != 1; then
4843 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4846 if test "$wxUSE_SOCKETS" = yes; then
4847 echo "$as_me:$LINENO: result: yes" >&5
4848 echo "${ECHO_T}yes" >&6
4850 echo "$as_me:$LINENO: result: no" >&5
4851 echo "${ECHO_T}no" >&6
4856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4857 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4859 # Check whether --enable-ole or --disable-ole was given.
4860 if test "${enable_ole+set}" = set; then
4861 enableval="$enable_ole"
4863 if test "$enableval" = yes; then
4864 ac_cv_use_ole='wxUSE_OLE=yes'
4866 ac_cv_use_ole='wxUSE_OLE=no'
4871 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4872 if test "x$LINE" != x ; then
4873 eval "DEFAULT_$LINE"
4878 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4882 eval "$ac_cv_use_ole"
4883 if test "$no_cache" != 1; then
4884 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4887 if test "$wxUSE_OLE" = yes; then
4888 echo "$as_me:$LINENO: result: yes" >&5
4889 echo "${ECHO_T}yes" >&6
4891 echo "$as_me:$LINENO: result: no" >&5
4892 echo "${ECHO_T}no" >&6
4897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4898 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4900 # Check whether --enable-dataobj or --disable-dataobj was given.
4901 if test "${enable_dataobj+set}" = set; then
4902 enableval="$enable_dataobj"
4904 if test "$enableval" = yes; then
4905 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4907 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4912 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4913 if test "x$LINE" != x ; then
4914 eval "DEFAULT_$LINE"
4919 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4923 eval "$ac_cv_use_dataobj"
4924 if test "$no_cache" != 1; then
4925 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4928 if test "$wxUSE_DATAOBJ" = yes; then
4929 echo "$as_me:$LINENO: result: yes" >&5
4930 echo "${ECHO_T}yes" >&6
4932 echo "$as_me:$LINENO: result: no" >&5
4933 echo "${ECHO_T}no" >&6
4939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4940 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4942 # Check whether --enable-ipc or --disable-ipc was given.
4943 if test "${enable_ipc+set}" = set; then
4944 enableval="$enable_ipc"
4946 if test "$enableval" = yes; then
4947 ac_cv_use_ipc='wxUSE_IPC=yes'
4949 ac_cv_use_ipc='wxUSE_IPC=no'
4954 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4955 if test "x$LINE" != x ; then
4956 eval "DEFAULT_$LINE"
4961 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4965 eval "$ac_cv_use_ipc"
4966 if test "$no_cache" != 1; then
4967 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4970 if test "$wxUSE_IPC" = yes; then
4971 echo "$as_me:$LINENO: result: yes" >&5
4972 echo "${ECHO_T}yes" >&6
4974 echo "$as_me:$LINENO: result: no" >&5
4975 echo "${ECHO_T}no" >&6
4981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4982 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4984 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4985 if test "${enable_apple_ieee+set}" = set; then
4986 enableval="$enable_apple_ieee"
4988 if test "$enableval" = yes; then
4989 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4991 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4996 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4997 if test "x$LINE" != x ; then
4998 eval "DEFAULT_$LINE"
5003 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5007 eval "$ac_cv_use_apple_ieee"
5008 if test "$no_cache" != 1; then
5009 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5012 if test "$wxUSE_APPLE_IEEE" = yes; then
5013 echo "$as_me:$LINENO: result: yes" >&5
5014 echo "${ECHO_T}yes" >&6
5016 echo "$as_me:$LINENO: result: no" >&5
5017 echo "${ECHO_T}no" >&6
5022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5023 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5025 # Check whether --enable-arcstream or --disable-arcstream was given.
5026 if test "${enable_arcstream+set}" = set; then
5027 enableval="$enable_arcstream"
5029 if test "$enableval" = yes; then
5030 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5032 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5037 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5038 if test "x$LINE" != x ; then
5039 eval "DEFAULT_$LINE"
5044 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5048 eval "$ac_cv_use_arcstream"
5049 if test "$no_cache" != 1; then
5050 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5053 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5054 echo "$as_me:$LINENO: result: yes" >&5
5055 echo "${ECHO_T}yes" >&6
5057 echo "$as_me:$LINENO: result: no" >&5
5058 echo "${ECHO_T}no" >&6
5063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5064 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5066 # Check whether --enable-backtrace or --disable-backtrace was given.
5067 if test "${enable_backtrace+set}" = set; then
5068 enableval="$enable_backtrace"
5070 if test "$enableval" = yes; then
5071 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5073 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5078 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5079 if test "x$LINE" != x ; then
5080 eval "DEFAULT_$LINE"
5085 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5089 eval "$ac_cv_use_backtrace"
5090 if test "$no_cache" != 1; then
5091 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5094 if test "$wxUSE_STACKWALKER" = yes; then
5095 echo "$as_me:$LINENO: result: yes" >&5
5096 echo "${ECHO_T}yes" >&6
5098 echo "$as_me:$LINENO: result: no" >&5
5099 echo "${ECHO_T}no" >&6
5104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5105 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5107 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5108 if test "${enable_catch_segvs+set}" = set; then
5109 enableval="$enable_catch_segvs"
5111 if test "$enableval" = yes; then
5112 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5114 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5119 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5120 if test "x$LINE" != x ; then
5121 eval "DEFAULT_$LINE"
5126 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5130 eval "$ac_cv_use_catch_segvs"
5131 if test "$no_cache" != 1; then
5132 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5135 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5136 echo "$as_me:$LINENO: result: yes" >&5
5137 echo "${ECHO_T}yes" >&6
5139 echo "$as_me:$LINENO: result: no" >&5
5140 echo "${ECHO_T}no" >&6
5145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5146 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5148 # Check whether --enable-cmdline or --disable-cmdline was given.
5149 if test "${enable_cmdline+set}" = set; then
5150 enableval="$enable_cmdline"
5152 if test "$enableval" = yes; then
5153 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5155 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5160 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5161 if test "x$LINE" != x ; then
5162 eval "DEFAULT_$LINE"
5167 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5171 eval "$ac_cv_use_cmdline"
5172 if test "$no_cache" != 1; then
5173 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5176 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5177 echo "$as_me:$LINENO: result: yes" >&5
5178 echo "${ECHO_T}yes" >&6
5180 echo "$as_me:$LINENO: result: no" >&5
5181 echo "${ECHO_T}no" >&6
5186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5187 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5189 # Check whether --enable-datetime or --disable-datetime was given.
5190 if test "${enable_datetime+set}" = set; then
5191 enableval="$enable_datetime"
5193 if test "$enableval" = yes; then
5194 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5196 ac_cv_use_datetime='wxUSE_DATETIME=no'
5201 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5202 if test "x$LINE" != x ; then
5203 eval "DEFAULT_$LINE"
5208 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5212 eval "$ac_cv_use_datetime"
5213 if test "$no_cache" != 1; then
5214 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5217 if test "$wxUSE_DATETIME" = yes; then
5218 echo "$as_me:$LINENO: result: yes" >&5
5219 echo "${ECHO_T}yes" >&6
5221 echo "$as_me:$LINENO: result: no" >&5
5222 echo "${ECHO_T}no" >&6
5227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5228 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5230 # Check whether --enable-debugreport or --disable-debugreport was given.
5231 if test "${enable_debugreport+set}" = set; then
5232 enableval="$enable_debugreport"
5234 if test "$enableval" = yes; then
5235 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5237 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5242 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5243 if test "x$LINE" != x ; then
5244 eval "DEFAULT_$LINE"
5249 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5253 eval "$ac_cv_use_debugreport"
5254 if test "$no_cache" != 1; then
5255 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5258 if test "$wxUSE_DEBUGREPORT" = yes; then
5259 echo "$as_me:$LINENO: result: yes" >&5
5260 echo "${ECHO_T}yes" >&6
5262 echo "$as_me:$LINENO: result: no" >&5
5263 echo "${ECHO_T}no" >&6
5268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5269 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5271 # Check whether --enable-dialupman or --disable-dialupman was given.
5272 if test "${enable_dialupman+set}" = set; then
5273 enableval="$enable_dialupman"
5275 if test "$enableval" = yes; then
5276 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5278 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5283 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5284 if test "x$LINE" != x ; then
5285 eval "DEFAULT_$LINE"
5290 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5294 eval "$ac_cv_use_dialupman"
5295 if test "$no_cache" != 1; then
5296 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5299 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5300 echo "$as_me:$LINENO: result: yes" >&5
5301 echo "${ECHO_T}yes" >&6
5303 echo "$as_me:$LINENO: result: no" >&5
5304 echo "${ECHO_T}no" >&6
5309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5310 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5312 # Check whether --enable-dynlib or --disable-dynlib was given.
5313 if test "${enable_dynlib+set}" = set; then
5314 enableval="$enable_dynlib"
5316 if test "$enableval" = yes; then
5317 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5319 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5324 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5325 if test "x$LINE" != x ; then
5326 eval "DEFAULT_$LINE"
5331 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5335 eval "$ac_cv_use_dynlib"
5336 if test "$no_cache" != 1; then
5337 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5340 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5341 echo "$as_me:$LINENO: result: yes" >&5
5342 echo "${ECHO_T}yes" >&6
5344 echo "$as_me:$LINENO: result: no" >&5
5345 echo "${ECHO_T}no" >&6
5350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5351 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5353 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5354 if test "${enable_dynamicloader+set}" = set; then
5355 enableval="$enable_dynamicloader"
5357 if test "$enableval" = yes; then
5358 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5360 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5365 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5366 if test "x$LINE" != x ; then
5367 eval "DEFAULT_$LINE"
5372 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5376 eval "$ac_cv_use_dynamicloader"
5377 if test "$no_cache" != 1; then
5378 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5381 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5382 echo "$as_me:$LINENO: result: yes" >&5
5383 echo "${ECHO_T}yes" >&6
5385 echo "$as_me:$LINENO: result: no" >&5
5386 echo "${ECHO_T}no" >&6
5391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5392 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5394 # Check whether --enable-exceptions or --disable-exceptions was given.
5395 if test "${enable_exceptions+set}" = set; then
5396 enableval="$enable_exceptions"
5398 if test "$enableval" = yes; then
5399 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5401 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5406 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5407 if test "x$LINE" != x ; then
5408 eval "DEFAULT_$LINE"
5413 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5417 eval "$ac_cv_use_exceptions"
5418 if test "$no_cache" != 1; then
5419 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5422 if test "$wxUSE_EXCEPTIONS" = yes; then
5423 echo "$as_me:$LINENO: result: yes" >&5
5424 echo "${ECHO_T}yes" >&6
5426 echo "$as_me:$LINENO: result: no" >&5
5427 echo "${ECHO_T}no" >&6
5432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5433 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5435 # Check whether --enable-ffile or --disable-ffile was given.
5436 if test "${enable_ffile+set}" = set; then
5437 enableval="$enable_ffile"
5439 if test "$enableval" = yes; then
5440 ac_cv_use_ffile='wxUSE_FFILE=yes'
5442 ac_cv_use_ffile='wxUSE_FFILE=no'
5447 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5448 if test "x$LINE" != x ; then
5449 eval "DEFAULT_$LINE"
5454 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5458 eval "$ac_cv_use_ffile"
5459 if test "$no_cache" != 1; then
5460 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5463 if test "$wxUSE_FFILE" = yes; then
5464 echo "$as_me:$LINENO: result: yes" >&5
5465 echo "${ECHO_T}yes" >&6
5467 echo "$as_me:$LINENO: result: no" >&5
5468 echo "${ECHO_T}no" >&6
5473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5474 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5476 # Check whether --enable-file or --disable-file was given.
5477 if test "${enable_file+set}" = set; then
5478 enableval="$enable_file"
5480 if test "$enableval" = yes; then
5481 ac_cv_use_file='wxUSE_FILE=yes'
5483 ac_cv_use_file='wxUSE_FILE=no'
5488 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5489 if test "x$LINE" != x ; then
5490 eval "DEFAULT_$LINE"
5495 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5499 eval "$ac_cv_use_file"
5500 if test "$no_cache" != 1; then
5501 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5504 if test "$wxUSE_FILE" = yes; then
5505 echo "$as_me:$LINENO: result: yes" >&5
5506 echo "${ECHO_T}yes" >&6
5508 echo "$as_me:$LINENO: result: no" >&5
5509 echo "${ECHO_T}no" >&6
5514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5515 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5517 # Check whether --enable-filesystem or --disable-filesystem was given.
5518 if test "${enable_filesystem+set}" = set; then
5519 enableval="$enable_filesystem"
5521 if test "$enableval" = yes; then
5522 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5524 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5529 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5530 if test "x$LINE" != x ; then
5531 eval "DEFAULT_$LINE"
5536 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5540 eval "$ac_cv_use_filesystem"
5541 if test "$no_cache" != 1; then
5542 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5545 if test "$wxUSE_FILESYSTEM" = yes; then
5546 echo "$as_me:$LINENO: result: yes" >&5
5547 echo "${ECHO_T}yes" >&6
5549 echo "$as_me:$LINENO: result: no" >&5
5550 echo "${ECHO_T}no" >&6
5555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5556 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5558 # Check whether --enable-fontmap or --disable-fontmap was given.
5559 if test "${enable_fontmap+set}" = set; then
5560 enableval="$enable_fontmap"
5562 if test "$enableval" = yes; then
5563 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5565 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5570 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5571 if test "x$LINE" != x ; then
5572 eval "DEFAULT_$LINE"
5577 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5581 eval "$ac_cv_use_fontmap"
5582 if test "$no_cache" != 1; then
5583 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5586 if test "$wxUSE_FONTMAP" = yes; then
5587 echo "$as_me:$LINENO: result: yes" >&5
5588 echo "${ECHO_T}yes" >&6
5590 echo "$as_me:$LINENO: result: no" >&5
5591 echo "${ECHO_T}no" >&6
5596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5597 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5599 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5600 if test "${enable_fs_inet+set}" = set; then
5601 enableval="$enable_fs_inet"
5603 if test "$enableval" = yes; then
5604 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5606 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5611 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5612 if test "x$LINE" != x ; then
5613 eval "DEFAULT_$LINE"
5618 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5622 eval "$ac_cv_use_fs_inet"
5623 if test "$no_cache" != 1; then
5624 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5627 if test "$wxUSE_FS_INET" = yes; then
5628 echo "$as_me:$LINENO: result: yes" >&5
5629 echo "${ECHO_T}yes" >&6
5631 echo "$as_me:$LINENO: result: no" >&5
5632 echo "${ECHO_T}no" >&6
5637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5638 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5640 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5641 if test "${enable_fs_zip+set}" = set; then
5642 enableval="$enable_fs_zip"
5644 if test "$enableval" = yes; then
5645 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5647 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5652 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5653 if test "x$LINE" != x ; then
5654 eval "DEFAULT_$LINE"
5659 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5663 eval "$ac_cv_use_fs_zip"
5664 if test "$no_cache" != 1; then
5665 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5668 if test "$wxUSE_FS_ZIP" = yes; then
5669 echo "$as_me:$LINENO: result: yes" >&5
5670 echo "${ECHO_T}yes" >&6
5672 echo "$as_me:$LINENO: result: no" >&5
5673 echo "${ECHO_T}no" >&6
5678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5679 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5681 # Check whether --enable-geometry or --disable-geometry was given.
5682 if test "${enable_geometry+set}" = set; then
5683 enableval="$enable_geometry"
5685 if test "$enableval" = yes; then
5686 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5688 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5693 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5694 if test "x$LINE" != x ; then
5695 eval "DEFAULT_$LINE"
5700 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5704 eval "$ac_cv_use_geometry"
5705 if test "$no_cache" != 1; then
5706 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5709 if test "$wxUSE_GEOMETRY" = yes; then
5710 echo "$as_me:$LINENO: result: yes" >&5
5711 echo "${ECHO_T}yes" >&6
5713 echo "$as_me:$LINENO: result: no" >&5
5714 echo "${ECHO_T}no" >&6
5719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5720 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5722 # Check whether --enable-log or --disable-log was given.
5723 if test "${enable_log+set}" = set; then
5724 enableval="$enable_log"
5726 if test "$enableval" = yes; then
5727 ac_cv_use_log='wxUSE_LOG=yes'
5729 ac_cv_use_log='wxUSE_LOG=no'
5734 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5735 if test "x$LINE" != x ; then
5736 eval "DEFAULT_$LINE"
5741 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5745 eval "$ac_cv_use_log"
5746 if test "$no_cache" != 1; then
5747 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5750 if test "$wxUSE_LOG" = yes; then
5751 echo "$as_me:$LINENO: result: yes" >&5
5752 echo "${ECHO_T}yes" >&6
5754 echo "$as_me:$LINENO: result: no" >&5
5755 echo "${ECHO_T}no" >&6
5760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5761 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5763 # Check whether --enable-longlong or --disable-longlong was given.
5764 if test "${enable_longlong+set}" = set; then
5765 enableval="$enable_longlong"
5767 if test "$enableval" = yes; then
5768 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5770 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5775 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5776 if test "x$LINE" != x ; then
5777 eval "DEFAULT_$LINE"
5782 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5786 eval "$ac_cv_use_longlong"
5787 if test "$no_cache" != 1; then
5788 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5791 if test "$wxUSE_LONGLONG" = yes; then
5792 echo "$as_me:$LINENO: result: yes" >&5
5793 echo "${ECHO_T}yes" >&6
5795 echo "$as_me:$LINENO: result: no" >&5
5796 echo "${ECHO_T}no" >&6
5801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5802 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5804 # Check whether --enable-mimetype or --disable-mimetype was given.
5805 if test "${enable_mimetype+set}" = set; then
5806 enableval="$enable_mimetype"
5808 if test "$enableval" = yes; then
5809 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5811 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5816 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5817 if test "x$LINE" != x ; then
5818 eval "DEFAULT_$LINE"
5823 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5827 eval "$ac_cv_use_mimetype"
5828 if test "$no_cache" != 1; then
5829 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5832 if test "$wxUSE_MIMETYPE" = yes; then
5833 echo "$as_me:$LINENO: result: yes" >&5
5834 echo "${ECHO_T}yes" >&6
5836 echo "$as_me:$LINENO: result: no" >&5
5837 echo "${ECHO_T}no" >&6
5842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5843 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5845 # Check whether --enable-mslu or --disable-mslu was given.
5846 if test "${enable_mslu+set}" = set; then
5847 enableval="$enable_mslu"
5849 if test "$enableval" = yes; then
5850 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5852 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5857 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5858 if test "x$LINE" != x ; then
5859 eval "DEFAULT_$LINE"
5864 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5868 eval "$ac_cv_use_mslu"
5869 if test "$no_cache" != 1; then
5870 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5873 if test "$wxUSE_UNICODE_MSLU" = yes; then
5874 echo "$as_me:$LINENO: result: yes" >&5
5875 echo "${ECHO_T}yes" >&6
5877 echo "$as_me:$LINENO: result: no" >&5
5878 echo "${ECHO_T}no" >&6
5883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5884 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5886 # Check whether --enable-snglinst or --disable-snglinst was given.
5887 if test "${enable_snglinst+set}" = set; then
5888 enableval="$enable_snglinst"
5890 if test "$enableval" = yes; then
5891 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5893 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5898 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5899 if test "x$LINE" != x ; then
5900 eval "DEFAULT_$LINE"
5905 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5909 eval "$ac_cv_use_snglinst"
5910 if test "$no_cache" != 1; then
5911 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5914 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5915 echo "$as_me:$LINENO: result: yes" >&5
5916 echo "${ECHO_T}yes" >&6
5918 echo "$as_me:$LINENO: result: no" >&5
5919 echo "${ECHO_T}no" >&6
5924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5925 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5927 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5928 if test "${enable_std_iostreams+set}" = set; then
5929 enableval="$enable_std_iostreams"
5931 if test "$enableval" = yes; then
5932 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5934 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5939 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5940 if test "x$LINE" != x ; then
5941 eval "DEFAULT_$LINE"
5946 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5950 eval "$ac_cv_use_std_iostreams"
5951 if test "$no_cache" != 1; then
5952 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5955 if test "$wxUSE_STD_IOSTREAM" = yes; then
5956 echo "$as_me:$LINENO: result: yes" >&5
5957 echo "${ECHO_T}yes" >&6
5959 echo "$as_me:$LINENO: result: no" >&5
5960 echo "${ECHO_T}no" >&6
5965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5966 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5968 # Check whether --enable-std_string or --disable-std_string was given.
5969 if test "${enable_std_string+set}" = set; then
5970 enableval="$enable_std_string"
5972 if test "$enableval" = yes; then
5973 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5975 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5980 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5981 if test "x$LINE" != x ; then
5982 eval "DEFAULT_$LINE"
5987 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5991 eval "$ac_cv_use_std_string"
5992 if test "$no_cache" != 1; then
5993 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5996 if test "$wxUSE_STD_STRING" = yes; then
5997 echo "$as_me:$LINENO: result: yes" >&5
5998 echo "${ECHO_T}yes" >&6
6000 echo "$as_me:$LINENO: result: no" >&5
6001 echo "${ECHO_T}no" >&6
6006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6007 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6009 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6010 if test "${enable_stdpaths+set}" = set; then
6011 enableval="$enable_stdpaths"
6013 if test "$enableval" = yes; then
6014 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6016 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6021 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6022 if test "x$LINE" != x ; then
6023 eval "DEFAULT_$LINE"
6028 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6032 eval "$ac_cv_use_stdpaths"
6033 if test "$no_cache" != 1; then
6034 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6037 if test "$wxUSE_STDPATHS" = yes; then
6038 echo "$as_me:$LINENO: result: yes" >&5
6039 echo "${ECHO_T}yes" >&6
6041 echo "$as_me:$LINENO: result: no" >&5
6042 echo "${ECHO_T}no" >&6
6047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6048 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6050 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6051 if test "${enable_stopwatch+set}" = set; then
6052 enableval="$enable_stopwatch"
6054 if test "$enableval" = yes; then
6055 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6057 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6062 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6063 if test "x$LINE" != x ; then
6064 eval "DEFAULT_$LINE"
6069 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6073 eval "$ac_cv_use_stopwatch"
6074 if test "$no_cache" != 1; then
6075 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6078 if test "$wxUSE_STOPWATCH" = yes; then
6079 echo "$as_me:$LINENO: result: yes" >&5
6080 echo "${ECHO_T}yes" >&6
6082 echo "$as_me:$LINENO: result: no" >&5
6083 echo "${ECHO_T}no" >&6
6088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6089 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6091 # Check whether --enable-streams or --disable-streams was given.
6092 if test "${enable_streams+set}" = set; then
6093 enableval="$enable_streams"
6095 if test "$enableval" = yes; then
6096 ac_cv_use_streams='wxUSE_STREAMS=yes'
6098 ac_cv_use_streams='wxUSE_STREAMS=no'
6103 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6104 if test "x$LINE" != x ; then
6105 eval "DEFAULT_$LINE"
6110 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6114 eval "$ac_cv_use_streams"
6115 if test "$no_cache" != 1; then
6116 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6119 if test "$wxUSE_STREAMS" = yes; then
6120 echo "$as_me:$LINENO: result: yes" >&5
6121 echo "${ECHO_T}yes" >&6
6123 echo "$as_me:$LINENO: result: no" >&5
6124 echo "${ECHO_T}no" >&6
6129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6130 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6132 # Check whether --enable-system_options or --disable-system_options was given.
6133 if test "${enable_system_options+set}" = set; then
6134 enableval="$enable_system_options"
6136 if test "$enableval" = yes; then
6137 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6139 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6144 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6145 if test "x$LINE" != x ; then
6146 eval "DEFAULT_$LINE"
6151 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6155 eval "$ac_cv_use_system_options"
6156 if test "$no_cache" != 1; then
6157 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6160 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6161 echo "$as_me:$LINENO: result: yes" >&5
6162 echo "${ECHO_T}yes" >&6
6164 echo "$as_me:$LINENO: result: no" >&5
6165 echo "${ECHO_T}no" >&6
6170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6171 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6173 # Check whether --enable-textbuf or --disable-textbuf was given.
6174 if test "${enable_textbuf+set}" = set; then
6175 enableval="$enable_textbuf"
6177 if test "$enableval" = yes; then
6178 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6180 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6185 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6186 if test "x$LINE" != x ; then
6187 eval "DEFAULT_$LINE"
6192 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6196 eval "$ac_cv_use_textbuf"
6197 if test "$no_cache" != 1; then
6198 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6201 if test "$wxUSE_TEXTBUFFER" = yes; then
6202 echo "$as_me:$LINENO: result: yes" >&5
6203 echo "${ECHO_T}yes" >&6
6205 echo "$as_me:$LINENO: result: no" >&5
6206 echo "${ECHO_T}no" >&6
6211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6212 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6214 # Check whether --enable-textfile or --disable-textfile was given.
6215 if test "${enable_textfile+set}" = set; then
6216 enableval="$enable_textfile"
6218 if test "$enableval" = yes; then
6219 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6221 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6226 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6227 if test "x$LINE" != x ; then
6228 eval "DEFAULT_$LINE"
6233 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6237 eval "$ac_cv_use_textfile"
6238 if test "$no_cache" != 1; then
6239 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6242 if test "$wxUSE_TEXTFILE" = yes; then
6243 echo "$as_me:$LINENO: result: yes" >&5
6244 echo "${ECHO_T}yes" >&6
6246 echo "$as_me:$LINENO: result: no" >&5
6247 echo "${ECHO_T}no" >&6
6252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6253 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6255 # Check whether --enable-timer or --disable-timer was given.
6256 if test "${enable_timer+set}" = set; then
6257 enableval="$enable_timer"
6259 if test "$enableval" = yes; then
6260 ac_cv_use_timer='wxUSE_TIMER=yes'
6262 ac_cv_use_timer='wxUSE_TIMER=no'
6267 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6268 if test "x$LINE" != x ; then
6269 eval "DEFAULT_$LINE"
6274 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6278 eval "$ac_cv_use_timer"
6279 if test "$no_cache" != 1; then
6280 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6283 if test "$wxUSE_TIMER" = yes; then
6284 echo "$as_me:$LINENO: result: yes" >&5
6285 echo "${ECHO_T}yes" >&6
6287 echo "$as_me:$LINENO: result: no" >&5
6288 echo "${ECHO_T}no" >&6
6293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6294 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6296 # Check whether --enable-unicode or --disable-unicode was given.
6297 if test "${enable_unicode+set}" = set; then
6298 enableval="$enable_unicode"
6300 if test "$enableval" = yes; then
6301 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6303 ac_cv_use_unicode='wxUSE_UNICODE=no'
6308 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6309 if test "x$LINE" != x ; then
6310 eval "DEFAULT_$LINE"
6315 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6319 eval "$ac_cv_use_unicode"
6320 if test "$no_cache" != 1; then
6321 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6324 if test "$wxUSE_UNICODE" = yes; then
6325 echo "$as_me:$LINENO: result: yes" >&5
6326 echo "${ECHO_T}yes" >&6
6328 echo "$as_me:$LINENO: result: no" >&5
6329 echo "${ECHO_T}no" >&6
6334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6335 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6337 # Check whether --enable-sound or --disable-sound was given.
6338 if test "${enable_sound+set}" = set; then
6339 enableval="$enable_sound"
6341 if test "$enableval" = yes; then
6342 ac_cv_use_sound='wxUSE_SOUND=yes'
6344 ac_cv_use_sound='wxUSE_SOUND=no'
6349 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6350 if test "x$LINE" != x ; then
6351 eval "DEFAULT_$LINE"
6356 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6360 eval "$ac_cv_use_sound"
6361 if test "$no_cache" != 1; then
6362 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6365 if test "$wxUSE_SOUND" = yes; then
6366 echo "$as_me:$LINENO: result: yes" >&5
6367 echo "${ECHO_T}yes" >&6
6369 echo "$as_me:$LINENO: result: no" >&5
6370 echo "${ECHO_T}no" >&6
6375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6376 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6378 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6379 if test "${enable_mediactrl+set}" = set; then
6380 enableval="$enable_mediactrl"
6382 if test "$enableval" = yes; then
6383 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6385 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6390 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6391 if test "x$LINE" != x ; then
6392 eval "DEFAULT_$LINE"
6397 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6401 eval "$ac_cv_use_mediactrl"
6402 if test "$no_cache" != 1; then
6403 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6406 if test "$wxUSE_MEDIACTRL" = yes; then
6407 echo "$as_me:$LINENO: result: yes" >&5
6408 echo "${ECHO_T}yes" >&6
6410 echo "$as_me:$LINENO: result: no" >&5
6411 echo "${ECHO_T}no" >&6
6416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6417 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6419 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6420 if test "${enable_gstreamer8+set}" = set; then
6421 enableval="$enable_gstreamer8"
6423 if test "$enableval" = yes; then
6424 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6426 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6431 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6432 if test "x$LINE" != x ; then
6433 eval "DEFAULT_$LINE"
6438 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6442 eval "$ac_cv_use_gstreamer8"
6443 if test "$no_cache" != 1; then
6444 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6447 if test "$wxUSE_GSTREAMER8" = yes; then
6448 echo "$as_me:$LINENO: result: yes" >&5
6449 echo "${ECHO_T}yes" >&6
6451 echo "$as_me:$LINENO: result: no" >&5
6452 echo "${ECHO_T}no" >&6
6457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6458 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6460 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6461 if test "${enable_printfposparam+set}" = set; then
6462 enableval="$enable_printfposparam"
6464 if test "$enableval" = yes; then
6465 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6467 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6472 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6473 if test "x$LINE" != x ; then
6474 eval "DEFAULT_$LINE"
6479 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6483 eval "$ac_cv_use_printfposparam"
6484 if test "$no_cache" != 1; then
6485 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6488 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6489 echo "$as_me:$LINENO: result: yes" >&5
6490 echo "${ECHO_T}yes" >&6
6492 echo "$as_me:$LINENO: result: no" >&5
6493 echo "${ECHO_T}no" >&6
6498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6499 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6501 # Check whether --enable-zipstream or --disable-zipstream was given.
6502 if test "${enable_zipstream+set}" = set; then
6503 enableval="$enable_zipstream"
6505 if test "$enableval" = yes; then
6506 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6508 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6513 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6514 if test "x$LINE" != x ; then
6515 eval "DEFAULT_$LINE"
6520 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6524 eval "$ac_cv_use_zipstream"
6525 if test "$no_cache" != 1; then
6526 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6529 if test "$wxUSE_ZIPSTREAM" = yes; then
6530 echo "$as_me:$LINENO: result: yes" >&5
6531 echo "${ECHO_T}yes" >&6
6533 echo "$as_me:$LINENO: result: no" >&5
6534 echo "${ECHO_T}no" >&6
6540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6541 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6543 # Check whether --enable-url or --disable-url was given.
6544 if test "${enable_url+set}" = set; then
6545 enableval="$enable_url"
6547 if test "$enableval" = yes; then
6548 ac_cv_use_url='wxUSE_URL=yes'
6550 ac_cv_use_url='wxUSE_URL=no'
6555 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6556 if test "x$LINE" != x ; then
6557 eval "DEFAULT_$LINE"
6562 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6566 eval "$ac_cv_use_url"
6567 if test "$no_cache" != 1; then
6568 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6571 if test "$wxUSE_URL" = yes; then
6572 echo "$as_me:$LINENO: result: yes" >&5
6573 echo "${ECHO_T}yes" >&6
6575 echo "$as_me:$LINENO: result: no" >&5
6576 echo "${ECHO_T}no" >&6
6581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6582 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6584 # Check whether --enable-variant or --disable-variant was given.
6585 if test "${enable_variant+set}" = set; then
6586 enableval="$enable_variant"
6588 if test "$enableval" = yes; then
6589 ac_cv_use_variant='wxUSE_VARIANT=yes'
6591 ac_cv_use_variant='wxUSE_VARIANT=no'
6596 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6597 if test "x$LINE" != x ; then
6598 eval "DEFAULT_$LINE"
6603 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6607 eval "$ac_cv_use_variant"
6608 if test "$no_cache" != 1; then
6609 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6612 if test "$wxUSE_VARIANT" = yes; then
6613 echo "$as_me:$LINENO: result: yes" >&5
6614 echo "${ECHO_T}yes" >&6
6616 echo "$as_me:$LINENO: result: no" >&5
6617 echo "${ECHO_T}no" >&6
6622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6623 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6625 # Check whether --enable-protocol or --disable-protocol was given.
6626 if test "${enable_protocol+set}" = set; then
6627 enableval="$enable_protocol"
6629 if test "$enableval" = yes; then
6630 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6632 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6637 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6638 if test "x$LINE" != x ; then
6639 eval "DEFAULT_$LINE"
6644 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6648 eval "$ac_cv_use_protocol"
6649 if test "$no_cache" != 1; then
6650 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6653 if test "$wxUSE_PROTOCOL" = yes; then
6654 echo "$as_me:$LINENO: result: yes" >&5
6655 echo "${ECHO_T}yes" >&6
6657 echo "$as_me:$LINENO: result: no" >&5
6658 echo "${ECHO_T}no" >&6
6663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6664 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6666 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6667 if test "${enable_protocol_http+set}" = set; then
6668 enableval="$enable_protocol_http"
6670 if test "$enableval" = yes; then
6671 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6673 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6678 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6679 if test "x$LINE" != x ; then
6680 eval "DEFAULT_$LINE"
6685 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6689 eval "$ac_cv_use_protocol_http"
6690 if test "$no_cache" != 1; then
6691 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6694 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6695 echo "$as_me:$LINENO: result: yes" >&5
6696 echo "${ECHO_T}yes" >&6
6698 echo "$as_me:$LINENO: result: no" >&5
6699 echo "${ECHO_T}no" >&6
6704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6705 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6707 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6708 if test "${enable_protocol_ftp+set}" = set; then
6709 enableval="$enable_protocol_ftp"
6711 if test "$enableval" = yes; then
6712 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6714 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6719 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6720 if test "x$LINE" != x ; then
6721 eval "DEFAULT_$LINE"
6726 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6730 eval "$ac_cv_use_protocol_ftp"
6731 if test "$no_cache" != 1; then
6732 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6735 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6736 echo "$as_me:$LINENO: result: yes" >&5
6737 echo "${ECHO_T}yes" >&6
6739 echo "$as_me:$LINENO: result: no" >&5
6740 echo "${ECHO_T}no" >&6
6745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6746 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6748 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6749 if test "${enable_protocol_file+set}" = set; then
6750 enableval="$enable_protocol_file"
6752 if test "$enableval" = yes; then
6753 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6755 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6760 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6761 if test "x$LINE" != x ; then
6762 eval "DEFAULT_$LINE"
6767 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6771 eval "$ac_cv_use_protocol_file"
6772 if test "$no_cache" != 1; then
6773 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6776 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6777 echo "$as_me:$LINENO: result: yes" >&5
6778 echo "${ECHO_T}yes" >&6
6780 echo "$as_me:$LINENO: result: no" >&5
6781 echo "${ECHO_T}no" >&6
6789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6790 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6792 # Check whether --enable-threads or --disable-threads was given.
6793 if test "${enable_threads+set}" = set; then
6794 enableval="$enable_threads"
6796 if test "$enableval" = yes; then
6797 ac_cv_use_threads='wxUSE_THREADS=yes'
6799 ac_cv_use_threads='wxUSE_THREADS=no'
6804 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6805 if test "x$LINE" != x ; then
6806 eval "DEFAULT_$LINE"
6811 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6815 eval "$ac_cv_use_threads"
6816 if test "$no_cache" != 1; then
6817 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6820 if test "$wxUSE_THREADS" = yes; then
6821 echo "$as_me:$LINENO: result: yes" >&5
6822 echo "${ECHO_T}yes" >&6
6824 echo "$as_me:$LINENO: result: no" >&5
6825 echo "${ECHO_T}no" >&6
6829 if test "$wxUSE_GUI" = "yes"; then
6834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6835 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6837 # Check whether --enable-docview or --disable-docview was given.
6838 if test "${enable_docview+set}" = set; then
6839 enableval="$enable_docview"
6841 if test "$enableval" = yes; then
6842 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6844 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6849 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6850 if test "x$LINE" != x ; then
6851 eval "DEFAULT_$LINE"
6856 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6860 eval "$ac_cv_use_docview"
6861 if test "$no_cache" != 1; then
6862 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6865 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6866 echo "$as_me:$LINENO: result: yes" >&5
6867 echo "${ECHO_T}yes" >&6
6869 echo "$as_me:$LINENO: result: no" >&5
6870 echo "${ECHO_T}no" >&6
6875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6876 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6878 # Check whether --enable-help or --disable-help was given.
6879 if test "${enable_help+set}" = set; then
6880 enableval="$enable_help"
6882 if test "$enableval" = yes; then
6883 ac_cv_use_help='wxUSE_HELP=yes'
6885 ac_cv_use_help='wxUSE_HELP=no'
6890 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6891 if test "x$LINE" != x ; then
6892 eval "DEFAULT_$LINE"
6897 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6901 eval "$ac_cv_use_help"
6902 if test "$no_cache" != 1; then
6903 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6906 if test "$wxUSE_HELP" = yes; then
6907 echo "$as_me:$LINENO: result: yes" >&5
6908 echo "${ECHO_T}yes" >&6
6910 echo "$as_me:$LINENO: result: no" >&5
6911 echo "${ECHO_T}no" >&6
6916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6917 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6919 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6920 if test "${enable_mshtmlhelp+set}" = set; then
6921 enableval="$enable_mshtmlhelp"
6923 if test "$enableval" = yes; then
6924 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6926 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6931 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6932 if test "x$LINE" != x ; then
6933 eval "DEFAULT_$LINE"
6938 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6942 eval "$ac_cv_use_mshtmlhelp"
6943 if test "$no_cache" != 1; then
6944 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6947 if test "$wxUSE_MS_HTML_HELP" = yes; then
6948 echo "$as_me:$LINENO: result: yes" >&5
6949 echo "${ECHO_T}yes" >&6
6951 echo "$as_me:$LINENO: result: no" >&5
6952 echo "${ECHO_T}no" >&6
6957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6958 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6960 # Check whether --enable-html or --disable-html was given.
6961 if test "${enable_html+set}" = set; then
6962 enableval="$enable_html"
6964 if test "$enableval" = yes; then
6965 ac_cv_use_html='wxUSE_HTML=yes'
6967 ac_cv_use_html='wxUSE_HTML=no'
6972 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6973 if test "x$LINE" != x ; then
6974 eval "DEFAULT_$LINE"
6979 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6983 eval "$ac_cv_use_html"
6984 if test "$no_cache" != 1; then
6985 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6988 if test "$wxUSE_HTML" = yes; then
6989 echo "$as_me:$LINENO: result: yes" >&5
6990 echo "${ECHO_T}yes" >&6
6992 echo "$as_me:$LINENO: result: no" >&5
6993 echo "${ECHO_T}no" >&6
6998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6999 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7001 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7002 if test "${enable_htmlhelp+set}" = set; then
7003 enableval="$enable_htmlhelp"
7005 if test "$enableval" = yes; then
7006 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7008 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7013 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7014 if test "x$LINE" != x ; then
7015 eval "DEFAULT_$LINE"
7020 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7024 eval "$ac_cv_use_htmlhelp"
7025 if test "$no_cache" != 1; then
7026 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7029 if test "$wxUSE_WXHTML_HELP" = yes; then
7030 echo "$as_me:$LINENO: result: yes" >&5
7031 echo "${ECHO_T}yes" >&6
7033 echo "$as_me:$LINENO: result: no" >&5
7034 echo "${ECHO_T}no" >&6
7039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7040 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7042 # Check whether --enable-xrc or --disable-xrc was given.
7043 if test "${enable_xrc+set}" = set; then
7044 enableval="$enable_xrc"
7046 if test "$enableval" = yes; then
7047 ac_cv_use_xrc='wxUSE_XRC=yes'
7049 ac_cv_use_xrc='wxUSE_XRC=no'
7054 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7055 if test "x$LINE" != x ; then
7056 eval "DEFAULT_$LINE"
7061 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7065 eval "$ac_cv_use_xrc"
7066 if test "$no_cache" != 1; then
7067 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7070 if test "$wxUSE_XRC" = yes; then
7071 echo "$as_me:$LINENO: result: yes" >&5
7072 echo "${ECHO_T}yes" >&6
7074 echo "$as_me:$LINENO: result: no" >&5
7075 echo "${ECHO_T}no" >&6
7080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7081 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7083 # Check whether --enable-aui or --disable-aui was given.
7084 if test "${enable_aui+set}" = set; then
7085 enableval="$enable_aui"
7087 if test "$enableval" = yes; then
7088 ac_cv_use_aui='wxUSE_AUI=yes'
7090 ac_cv_use_aui='wxUSE_AUI=no'
7095 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7096 if test "x$LINE" != x ; then
7097 eval "DEFAULT_$LINE"
7102 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7106 eval "$ac_cv_use_aui"
7107 if test "$no_cache" != 1; then
7108 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7111 if test "$wxUSE_AUI" = yes; then
7112 echo "$as_me:$LINENO: result: yes" >&5
7113 echo "${ECHO_T}yes" >&6
7115 echo "$as_me:$LINENO: result: no" >&5
7116 echo "${ECHO_T}no" >&6
7121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7122 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7124 # Check whether --enable-constraints or --disable-constraints was given.
7125 if test "${enable_constraints+set}" = set; then
7126 enableval="$enable_constraints"
7128 if test "$enableval" = yes; then
7129 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7131 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7136 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7137 if test "x$LINE" != x ; then
7138 eval "DEFAULT_$LINE"
7143 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7147 eval "$ac_cv_use_constraints"
7148 if test "$no_cache" != 1; then
7149 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7152 if test "$wxUSE_CONSTRAINTS" = yes; then
7153 echo "$as_me:$LINENO: result: yes" >&5
7154 echo "${ECHO_T}yes" >&6
7156 echo "$as_me:$LINENO: result: no" >&5
7157 echo "${ECHO_T}no" >&6
7162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7163 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7165 # Check whether --enable-printarch or --disable-printarch was given.
7166 if test "${enable_printarch+set}" = set; then
7167 enableval="$enable_printarch"
7169 if test "$enableval" = yes; then
7170 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7172 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7177 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7178 if test "x$LINE" != x ; then
7179 eval "DEFAULT_$LINE"
7184 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7188 eval "$ac_cv_use_printarch"
7189 if test "$no_cache" != 1; then
7190 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7193 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7194 echo "$as_me:$LINENO: result: yes" >&5
7195 echo "${ECHO_T}yes" >&6
7197 echo "$as_me:$LINENO: result: no" >&5
7198 echo "${ECHO_T}no" >&6
7203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7204 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7206 # Check whether --enable-mdi or --disable-mdi was given.
7207 if test "${enable_mdi+set}" = set; then
7208 enableval="$enable_mdi"
7210 if test "$enableval" = yes; then
7211 ac_cv_use_mdi='wxUSE_MDI=yes'
7213 ac_cv_use_mdi='wxUSE_MDI=no'
7218 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7219 if test "x$LINE" != x ; then
7220 eval "DEFAULT_$LINE"
7225 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7229 eval "$ac_cv_use_mdi"
7230 if test "$no_cache" != 1; then
7231 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7234 if test "$wxUSE_MDI" = yes; then
7235 echo "$as_me:$LINENO: result: yes" >&5
7236 echo "${ECHO_T}yes" >&6
7238 echo "$as_me:$LINENO: result: no" >&5
7239 echo "${ECHO_T}no" >&6
7244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7245 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7247 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7248 if test "${enable_mdidoc+set}" = set; then
7249 enableval="$enable_mdidoc"
7251 if test "$enableval" = yes; then
7252 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7254 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7259 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7260 if test "x$LINE" != x ; then
7261 eval "DEFAULT_$LINE"
7266 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7270 eval "$ac_cv_use_mdidoc"
7271 if test "$no_cache" != 1; then
7272 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7275 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7276 echo "$as_me:$LINENO: result: yes" >&5
7277 echo "${ECHO_T}yes" >&6
7279 echo "$as_me:$LINENO: result: no" >&5
7280 echo "${ECHO_T}no" >&6
7285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7286 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7288 # Check whether --enable-loggui or --disable-loggui was given.
7289 if test "${enable_loggui+set}" = set; then
7290 enableval="$enable_loggui"
7292 if test "$enableval" = yes; then
7293 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7295 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7300 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7301 if test "x$LINE" != x ; then
7302 eval "DEFAULT_$LINE"
7307 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7311 eval "$ac_cv_use_loggui"
7312 if test "$no_cache" != 1; then
7313 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7316 if test "$wxUSE_LOGGUI" = yes; then
7317 echo "$as_me:$LINENO: result: yes" >&5
7318 echo "${ECHO_T}yes" >&6
7320 echo "$as_me:$LINENO: result: no" >&5
7321 echo "${ECHO_T}no" >&6
7326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7327 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7329 # Check whether --enable-logwin or --disable-logwin was given.
7330 if test "${enable_logwin+set}" = set; then
7331 enableval="$enable_logwin"
7333 if test "$enableval" = yes; then
7334 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7336 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7341 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7342 if test "x$LINE" != x ; then
7343 eval "DEFAULT_$LINE"
7348 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7352 eval "$ac_cv_use_logwin"
7353 if test "$no_cache" != 1; then
7354 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7357 if test "$wxUSE_LOGWINDOW" = yes; then
7358 echo "$as_me:$LINENO: result: yes" >&5
7359 echo "${ECHO_T}yes" >&6
7361 echo "$as_me:$LINENO: result: no" >&5
7362 echo "${ECHO_T}no" >&6
7367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7368 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7370 # Check whether --enable-logdialog or --disable-logdialog was given.
7371 if test "${enable_logdialog+set}" = set; then
7372 enableval="$enable_logdialog"
7374 if test "$enableval" = yes; then
7375 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7377 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7382 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7383 if test "x$LINE" != x ; then
7384 eval "DEFAULT_$LINE"
7389 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7393 eval "$ac_cv_use_logdialog"
7394 if test "$no_cache" != 1; then
7395 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7398 if test "$wxUSE_LOGDIALOG" = yes; then
7399 echo "$as_me:$LINENO: result: yes" >&5
7400 echo "${ECHO_T}yes" >&6
7402 echo "$as_me:$LINENO: result: no" >&5
7403 echo "${ECHO_T}no" >&6
7408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7409 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7411 # Check whether --enable-webkit or --disable-webkit was given.
7412 if test "${enable_webkit+set}" = set; then
7413 enableval="$enable_webkit"
7415 if test "$enableval" = yes; then
7416 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7418 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7423 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7424 if test "x$LINE" != x ; then
7425 eval "DEFAULT_$LINE"
7430 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7434 eval "$ac_cv_use_webkit"
7435 if test "$no_cache" != 1; then
7436 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7439 if test "$wxUSE_WEBKIT" = yes; then
7440 echo "$as_me:$LINENO: result: yes" >&5
7441 echo "${ECHO_T}yes" >&6
7443 echo "$as_me:$LINENO: result: no" >&5
7444 echo "${ECHO_T}no" >&6
7449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7450 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7452 # Check whether --enable-html or --disable-html was given.
7453 if test "${enable_html+set}" = set; then
7454 enableval="$enable_html"
7456 if test "$enableval" = yes; then
7457 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7459 ac_cv_use_html='wxUSE_RICHTEXT=no'
7464 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7465 if test "x$LINE" != x ; then
7466 eval "DEFAULT_$LINE"
7471 ac_cv_use_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7475 eval "$ac_cv_use_html"
7476 if test "$no_cache" != 1; then
7477 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7480 if test "$wxUSE_RICHTEXT" = yes; then
7481 echo "$as_me:$LINENO: result: yes" >&5
7482 echo "${ECHO_T}yes" >&6
7484 echo "$as_me:$LINENO: result: no" >&5
7485 echo "${ECHO_T}no" >&6
7490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7491 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7493 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7494 if test "${enable_graphics_ctx+set}" = set; then
7495 enableval="$enable_graphics_ctx"
7497 if test "$enableval" = yes; then
7498 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7500 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7505 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7506 if test "x$LINE" != x ; then
7507 eval "DEFAULT_$LINE"
7512 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7516 eval "$ac_cv_use_graphics_ctx"
7517 if test "$no_cache" != 1; then
7518 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7521 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7522 echo "$as_me:$LINENO: result: yes" >&5
7523 echo "${ECHO_T}yes" >&6
7525 echo "$as_me:$LINENO: result: no" >&5
7526 echo "${ECHO_T}no" >&6
7532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7533 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7535 # Check whether --enable-postscript or --disable-postscript was given.
7536 if test "${enable_postscript+set}" = set; then
7537 enableval="$enable_postscript"
7539 if test "$enableval" = yes; then
7540 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7542 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7547 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7548 if test "x$LINE" != x ; then
7549 eval "DEFAULT_$LINE"
7554 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7558 eval "$ac_cv_use_postscript"
7559 if test "$no_cache" != 1; then
7560 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7563 if test "$wxUSE_POSTSCRIPT" = yes; then
7564 echo "$as_me:$LINENO: result: yes" >&5
7565 echo "${ECHO_T}yes" >&6
7567 echo "$as_me:$LINENO: result: no" >&5
7568 echo "${ECHO_T}no" >&6
7576 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7577 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7579 # Check whether --enable-prologio or --disable-prologio was given.
7580 if test "${enable_prologio+set}" = set; then
7581 enableval="$enable_prologio"
7583 if test "$enableval" = yes; then
7584 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7586 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7591 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7592 if test "x$LINE" != x ; then
7593 eval "DEFAULT_$LINE"
7598 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7602 eval "$ac_cv_use_prologio"
7603 if test "$no_cache" != 1; then
7604 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7607 if test "$wxUSE_PROLOGIO" = yes; then
7608 echo "$as_me:$LINENO: result: yes" >&5
7609 echo "${ECHO_T}yes" >&6
7611 echo "$as_me:$LINENO: result: no" >&5
7612 echo "${ECHO_T}no" >&6
7617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7618 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7620 # Check whether --enable-resources or --disable-resources was given.
7621 if test "${enable_resources+set}" = set; then
7622 enableval="$enable_resources"
7624 if test "$enableval" = yes; then
7625 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7627 ac_cv_use_resources='wxUSE_RESOURCES=no'
7632 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7633 if test "x$LINE" != x ; then
7634 eval "DEFAULT_$LINE"
7639 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7643 eval "$ac_cv_use_resources"
7644 if test "$no_cache" != 1; then
7645 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7648 if test "$wxUSE_RESOURCES" = yes; then
7649 echo "$as_me:$LINENO: result: yes" >&5
7650 echo "${ECHO_T}yes" >&6
7652 echo "$as_me:$LINENO: result: no" >&5
7653 echo "${ECHO_T}no" >&6
7660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7661 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7663 # Check whether --enable-clipboard or --disable-clipboard was given.
7664 if test "${enable_clipboard+set}" = set; then
7665 enableval="$enable_clipboard"
7667 if test "$enableval" = yes; then
7668 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7670 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7675 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7676 if test "x$LINE" != x ; then
7677 eval "DEFAULT_$LINE"
7682 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7686 eval "$ac_cv_use_clipboard"
7687 if test "$no_cache" != 1; then
7688 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7691 if test "$wxUSE_CLIPBOARD" = yes; then
7692 echo "$as_me:$LINENO: result: yes" >&5
7693 echo "${ECHO_T}yes" >&6
7695 echo "$as_me:$LINENO: result: no" >&5
7696 echo "${ECHO_T}no" >&6
7701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7702 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7704 # Check whether --enable-dnd or --disable-dnd was given.
7705 if test "${enable_dnd+set}" = set; then
7706 enableval="$enable_dnd"
7708 if test "$enableval" = yes; then
7709 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7711 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7716 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7717 if test "x$LINE" != x ; then
7718 eval "DEFAULT_$LINE"
7723 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7727 eval "$ac_cv_use_dnd"
7728 if test "$no_cache" != 1; then
7729 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7732 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7733 echo "$as_me:$LINENO: result: yes" >&5
7734 echo "${ECHO_T}yes" >&6
7736 echo "$as_me:$LINENO: result: no" >&5
7737 echo "${ECHO_T}no" >&6
7742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7743 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7745 # Check whether --enable-metafile or --disable-metafile was given.
7746 if test "${enable_metafile+set}" = set; then
7747 enableval="$enable_metafile"
7749 if test "$enableval" = yes; then
7750 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7752 ac_cv_use_metafile='wxUSE_METAFILE=no'
7757 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7758 if test "x$LINE" != x ; then
7759 eval "DEFAULT_$LINE"
7764 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7768 eval "$ac_cv_use_metafile"
7769 if test "$no_cache" != 1; then
7770 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7773 if test "$wxUSE_METAFILE" = yes; then
7774 echo "$as_me:$LINENO: result: yes" >&5
7775 echo "${ECHO_T}yes" >&6
7777 echo "$as_me:$LINENO: result: no" >&5
7778 echo "${ECHO_T}no" >&6
7786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7787 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7789 # Check whether --enable-controls or --disable-controls was given.
7790 if test "${enable_controls+set}" = set; then
7791 enableval="$enable_controls"
7793 if test "$enableval" = yes; then
7794 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7796 ac_cv_use_controls='wxUSE_CONTROLS=no'
7801 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7802 if test "x$LINE" != x ; then
7803 eval "DEFAULT_$LINE"
7808 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7812 eval "$ac_cv_use_controls"
7813 if test "$no_cache" != 1; then
7814 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7817 if test "$wxUSE_CONTROLS" = yes; then
7818 echo "$as_me:$LINENO: result: yes" >&5
7819 echo "${ECHO_T}yes" >&6
7821 echo "$as_me:$LINENO: result: no" >&5
7822 echo "${ECHO_T}no" >&6
7826 if test "$wxUSE_CONTROLS" = "yes"; then
7827 DEFAULT_wxUSE_ACCEL=yes
7828 DEFAULT_wxUSE_ANIMATIONCTRL=yes
7829 DEFAULT_wxUSE_BMPBUTTON=yes
7830 DEFAULT_wxUSE_BUTTON=yes
7831 DEFAULT_wxUSE_CALCTRL=yes
7832 DEFAULT_wxUSE_CARET=yes
7833 DEFAULT_wxUSE_COMBOBOX=yes
7834 DEFAULT_wxUSE_CHECKBOX=yes
7835 DEFAULT_wxUSE_CHECKLISTBOX=yes
7836 DEFAULT_wxUSE_CHOICE=yes
7837 DEFAULT_wxUSE_CHOICEBOOK=yes
7838 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7839 DEFAULT_wxUSE_COMBOBOX=yes
7840 DEFAULT_wxUSE_DATEPICKCTRL=yes
7841 DEFAULT_wxUSE_DISPLAY=yes
7842 DEFAULT_wxUSE_DETECT_SM=yes
7843 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7844 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7845 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7846 DEFAULT_wxUSE_GAUGE=yes
7847 DEFAULT_wxUSE_GRID=yes
7848 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7849 DEFAULT_wxUSE_DATAVIEWCTRL=no
7850 DEFAULT_wxUSE_IMAGLIST=yes
7851 DEFAULT_wxUSE_LISTBOOK=yes
7852 DEFAULT_wxUSE_LISTBOX=yes
7853 DEFAULT_wxUSE_LISTCTRL=yes
7854 DEFAULT_wxUSE_NOTEBOOK=yes
7855 DEFAULT_wxUSE_RADIOBOX=yes
7856 DEFAULT_wxUSE_RADIOBTN=yes
7857 DEFAULT_wxUSE_SASH=yes
7858 DEFAULT_wxUSE_SCROLLBAR=yes
7859 DEFAULT_wxUSE_SLIDER=yes
7860 DEFAULT_wxUSE_SPINBTN=yes
7861 DEFAULT_wxUSE_SPINCTRL=yes
7862 DEFAULT_wxUSE_SPLITTER=yes
7863 DEFAULT_wxUSE_STATBMP=yes
7864 DEFAULT_wxUSE_STATBOX=yes
7865 DEFAULT_wxUSE_STATLINE=yes
7866 DEFAULT_wxUSE_STATUSBAR=yes
7867 DEFAULT_wxUSE_TAB_DIALOG=yes
7868 DEFAULT_wxUSE_TOGGLEBTN=yes
7869 DEFAULT_wxUSE_TOOLBAR=yes
7870 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7871 DEFAULT_wxUSE_TOOLTIPS=yes
7872 DEFAULT_wxUSE_TREEBOOK=yes
7873 DEFAULT_wxUSE_TOOLBOOK=yes
7874 DEFAULT_wxUSE_TREECTRL=yes
7875 DEFAULT_wxUSE_POPUPWIN=yes
7876 DEFAULT_wxUSE_TIPWINDOW=yes
7877 elif test "$wxUSE_CONTROLS" = "no"; then
7878 DEFAULT_wxUSE_ACCEL=no
7879 DEFAULT_wxUSE_ANIMATIONCTRL=no
7880 DEFAULT_wxUSE_BMPBUTTON=no
7881 DEFAULT_wxUSE_BUTTON=no
7882 DEFAULT_wxUSE_CALCTRL=no
7883 DEFAULT_wxUSE_CARET=no
7884 DEFAULT_wxUSE_COMBOBOX=no
7885 DEFAULT_wxUSE_CHECKBOX=no
7886 DEFAULT_wxUSE_CHECKLISTBOX=no
7887 DEFAULT_wxUSE_CHOICE=no
7888 DEFAULT_wxUSE_CHOICEBOOK=no
7889 DEFAULT_wxUSE_COLOURPICKERCTRL=no
7890 DEFAULT_wxUSE_COMBOBOX=no
7891 DEFAULT_wxUSE_DATEPICKCTRL=no
7892 DEFAULT_wxUSE_DISPLAY=no
7893 DEFAULT_wxUSE_DETECT_SM=no
7894 DEFAULT_wxUSE_DIRPICKERCTRL=no
7895 DEFAULT_wxUSE_FILEPICKERCTRL=no
7896 DEFAULT_wxUSE_FONTPICKERCTRL=no
7897 DEFAULT_wxUSE_GAUGE=no
7898 DEFAULT_wxUSE_GRID=no
7899 DEFAULT_wxUSE_HYPERLINKCTRL=no
7900 DEFAULT_wxUSE_DATAVIEWCTRL=no
7901 DEFAULT_wxUSE_IMAGLIST=no
7902 DEFAULT_wxUSE_LISTBOOK=no
7903 DEFAULT_wxUSE_LISTBOX=no
7904 DEFAULT_wxUSE_LISTCTRL=no
7905 DEFAULT_wxUSE_NOTEBOOK=no
7906 DEFAULT_wxUSE_RADIOBOX=no
7907 DEFAULT_wxUSE_RADIOBTN=no
7908 DEFAULT_wxUSE_SASH=no
7909 DEFAULT_wxUSE_SCROLLBAR=no
7910 DEFAULT_wxUSE_SLIDER=no
7911 DEFAULT_wxUSE_SPINBTN=no
7912 DEFAULT_wxUSE_SPINCTRL=no
7913 DEFAULT_wxUSE_SPLITTER=no
7914 DEFAULT_wxUSE_STATBMP=no
7915 DEFAULT_wxUSE_STATBOX=no
7916 DEFAULT_wxUSE_STATLINE=no
7917 DEFAULT_wxUSE_STATUSBAR=no
7918 DEFAULT_wxUSE_TAB_DIALOG=no
7919 DEFAULT_wxUSE_TOGGLEBTN=no
7920 DEFAULT_wxUSE_TOOLBAR=no
7921 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7922 DEFAULT_wxUSE_TOOLTIPS=no
7923 DEFAULT_wxUSE_TREEBOOK=no
7924 DEFAULT_wxUSE_TOOLBOOK=no
7925 DEFAULT_wxUSE_TREECTRL=no
7926 DEFAULT_wxUSE_POPUPWIN=no
7927 DEFAULT_wxUSE_TIPWINDOW=no
7932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7933 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7935 # Check whether --enable-accel or --disable-accel was given.
7936 if test "${enable_accel+set}" = set; then
7937 enableval="$enable_accel"
7939 if test "$enableval" = yes; then
7940 ac_cv_use_accel='wxUSE_ACCEL=yes'
7942 ac_cv_use_accel='wxUSE_ACCEL=no'
7947 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7948 if test "x$LINE" != x ; then
7949 eval "DEFAULT_$LINE"
7954 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7958 eval "$ac_cv_use_accel"
7959 if test "$no_cache" != 1; then
7960 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7963 if test "$wxUSE_ACCEL" = yes; then
7964 echo "$as_me:$LINENO: result: yes" >&5
7965 echo "${ECHO_T}yes" >&6
7967 echo "$as_me:$LINENO: result: no" >&5
7968 echo "${ECHO_T}no" >&6
7973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
7974 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
7976 # Check whether --enable-animatectrl or --disable-animatectrl was given.
7977 if test "${enable_animatectrl+set}" = set; then
7978 enableval="$enable_animatectrl"
7980 if test "$enableval" = yes; then
7981 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
7983 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
7988 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
7989 if test "x$LINE" != x ; then
7990 eval "DEFAULT_$LINE"
7995 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
7999 eval "$ac_cv_use_animatectrl"
8000 if test "$no_cache" != 1; then
8001 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8004 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8005 echo "$as_me:$LINENO: result: yes" >&5
8006 echo "${ECHO_T}yes" >&6
8008 echo "$as_me:$LINENO: result: no" >&5
8009 echo "${ECHO_T}no" >&6
8014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8015 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8017 # Check whether --enable-button or --disable-button was given.
8018 if test "${enable_button+set}" = set; then
8019 enableval="$enable_button"
8021 if test "$enableval" = yes; then
8022 ac_cv_use_button='wxUSE_BUTTON=yes'
8024 ac_cv_use_button='wxUSE_BUTTON=no'
8029 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8030 if test "x$LINE" != x ; then
8031 eval "DEFAULT_$LINE"
8036 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8040 eval "$ac_cv_use_button"
8041 if test "$no_cache" != 1; then
8042 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8045 if test "$wxUSE_BUTTON" = yes; then
8046 echo "$as_me:$LINENO: result: yes" >&5
8047 echo "${ECHO_T}yes" >&6
8049 echo "$as_me:$LINENO: result: no" >&5
8050 echo "${ECHO_T}no" >&6
8055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8056 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8058 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8059 if test "${enable_bmpbutton+set}" = set; then
8060 enableval="$enable_bmpbutton"
8062 if test "$enableval" = yes; then
8063 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8065 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8070 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8071 if test "x$LINE" != x ; then
8072 eval "DEFAULT_$LINE"
8077 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8081 eval "$ac_cv_use_bmpbutton"
8082 if test "$no_cache" != 1; then
8083 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8086 if test "$wxUSE_BMPBUTTON" = yes; then
8087 echo "$as_me:$LINENO: result: yes" >&5
8088 echo "${ECHO_T}yes" >&6
8090 echo "$as_me:$LINENO: result: no" >&5
8091 echo "${ECHO_T}no" >&6
8096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8097 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8099 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8100 if test "${enable_bmpcombobox+set}" = set; then
8101 enableval="$enable_bmpcombobox"
8103 if test "$enableval" = yes; then
8104 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8106 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8111 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8112 if test "x$LINE" != x ; then
8113 eval "DEFAULT_$LINE"
8118 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8122 eval "$ac_cv_use_bmpcombobox"
8123 if test "$no_cache" != 1; then
8124 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8127 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8128 echo "$as_me:$LINENO: result: yes" >&5
8129 echo "${ECHO_T}yes" >&6
8131 echo "$as_me:$LINENO: result: no" >&5
8132 echo "${ECHO_T}no" >&6
8137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8138 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8140 # Check whether --enable-calendar or --disable-calendar was given.
8141 if test "${enable_calendar+set}" = set; then
8142 enableval="$enable_calendar"
8144 if test "$enableval" = yes; then
8145 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8147 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8152 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8153 if test "x$LINE" != x ; then
8154 eval "DEFAULT_$LINE"
8159 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8163 eval "$ac_cv_use_calendar"
8164 if test "$no_cache" != 1; then
8165 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8168 if test "$wxUSE_CALCTRL" = yes; then
8169 echo "$as_me:$LINENO: result: yes" >&5
8170 echo "${ECHO_T}yes" >&6
8172 echo "$as_me:$LINENO: result: no" >&5
8173 echo "${ECHO_T}no" >&6
8178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8179 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8181 # Check whether --enable-caret or --disable-caret was given.
8182 if test "${enable_caret+set}" = set; then
8183 enableval="$enable_caret"
8185 if test "$enableval" = yes; then
8186 ac_cv_use_caret='wxUSE_CARET=yes'
8188 ac_cv_use_caret='wxUSE_CARET=no'
8193 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8194 if test "x$LINE" != x ; then
8195 eval "DEFAULT_$LINE"
8200 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8204 eval "$ac_cv_use_caret"
8205 if test "$no_cache" != 1; then
8206 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8209 if test "$wxUSE_CARET" = yes; then
8210 echo "$as_me:$LINENO: result: yes" >&5
8211 echo "${ECHO_T}yes" >&6
8213 echo "$as_me:$LINENO: result: no" >&5
8214 echo "${ECHO_T}no" >&6
8219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8220 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8222 # Check whether --enable-checkbox or --disable-checkbox was given.
8223 if test "${enable_checkbox+set}" = set; then
8224 enableval="$enable_checkbox"
8226 if test "$enableval" = yes; then
8227 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8229 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8234 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8235 if test "x$LINE" != x ; then
8236 eval "DEFAULT_$LINE"
8241 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8245 eval "$ac_cv_use_checkbox"
8246 if test "$no_cache" != 1; then
8247 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8250 if test "$wxUSE_CHECKBOX" = yes; then
8251 echo "$as_me:$LINENO: result: yes" >&5
8252 echo "${ECHO_T}yes" >&6
8254 echo "$as_me:$LINENO: result: no" >&5
8255 echo "${ECHO_T}no" >&6
8260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8261 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8263 # Check whether --enable-checklst or --disable-checklst was given.
8264 if test "${enable_checklst+set}" = set; then
8265 enableval="$enable_checklst"
8267 if test "$enableval" = yes; then
8268 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8270 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8275 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8276 if test "x$LINE" != x ; then
8277 eval "DEFAULT_$LINE"
8282 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8286 eval "$ac_cv_use_checklst"
8287 if test "$no_cache" != 1; then
8288 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8291 if test "$wxUSE_CHECKLST" = yes; then
8292 echo "$as_me:$LINENO: result: yes" >&5
8293 echo "${ECHO_T}yes" >&6
8295 echo "$as_me:$LINENO: result: no" >&5
8296 echo "${ECHO_T}no" >&6
8301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8302 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8304 # Check whether --enable-choice or --disable-choice was given.
8305 if test "${enable_choice+set}" = set; then
8306 enableval="$enable_choice"
8308 if test "$enableval" = yes; then
8309 ac_cv_use_choice='wxUSE_CHOICE=yes'
8311 ac_cv_use_choice='wxUSE_CHOICE=no'
8316 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8317 if test "x$LINE" != x ; then
8318 eval "DEFAULT_$LINE"
8323 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8327 eval "$ac_cv_use_choice"
8328 if test "$no_cache" != 1; then
8329 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8332 if test "$wxUSE_CHOICE" = yes; then
8333 echo "$as_me:$LINENO: result: yes" >&5
8334 echo "${ECHO_T}yes" >&6
8336 echo "$as_me:$LINENO: result: no" >&5
8337 echo "${ECHO_T}no" >&6
8342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8343 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8345 # Check whether --enable-choicebook or --disable-choicebook was given.
8346 if test "${enable_choicebook+set}" = set; then
8347 enableval="$enable_choicebook"
8349 if test "$enableval" = yes; then
8350 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8352 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8357 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8358 if test "x$LINE" != x ; then
8359 eval "DEFAULT_$LINE"
8364 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8368 eval "$ac_cv_use_choicebook"
8369 if test "$no_cache" != 1; then
8370 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8373 if test "$wxUSE_CHOICEBOOK" = yes; then
8374 echo "$as_me:$LINENO: result: yes" >&5
8375 echo "${ECHO_T}yes" >&6
8377 echo "$as_me:$LINENO: result: no" >&5
8378 echo "${ECHO_T}no" >&6
8383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8384 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8386 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8387 if test "${enable_colourpicker+set}" = set; then
8388 enableval="$enable_colourpicker"
8390 if test "$enableval" = yes; then
8391 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8393 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8398 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8399 if test "x$LINE" != x ; then
8400 eval "DEFAULT_$LINE"
8405 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8409 eval "$ac_cv_use_colourpicker"
8410 if test "$no_cache" != 1; then
8411 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8414 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8415 echo "$as_me:$LINENO: result: yes" >&5
8416 echo "${ECHO_T}yes" >&6
8418 echo "$as_me:$LINENO: result: no" >&5
8419 echo "${ECHO_T}no" >&6
8424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8425 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8427 # Check whether --enable-combobox or --disable-combobox was given.
8428 if test "${enable_combobox+set}" = set; then
8429 enableval="$enable_combobox"
8431 if test "$enableval" = yes; then
8432 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8434 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8439 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8440 if test "x$LINE" != x ; then
8441 eval "DEFAULT_$LINE"
8446 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8450 eval "$ac_cv_use_combobox"
8451 if test "$no_cache" != 1; then
8452 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8455 if test "$wxUSE_COMBOBOX" = yes; then
8456 echo "$as_me:$LINENO: result: yes" >&5
8457 echo "${ECHO_T}yes" >&6
8459 echo "$as_me:$LINENO: result: no" >&5
8460 echo "${ECHO_T}no" >&6
8465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8466 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8468 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8469 if test "${enable_comboctrl+set}" = set; then
8470 enableval="$enable_comboctrl"
8472 if test "$enableval" = yes; then
8473 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8475 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8480 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8481 if test "x$LINE" != x ; then
8482 eval "DEFAULT_$LINE"
8487 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8491 eval "$ac_cv_use_comboctrl"
8492 if test "$no_cache" != 1; then
8493 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8496 if test "$wxUSE_COMBOCTRL" = yes; then
8497 echo "$as_me:$LINENO: result: yes" >&5
8498 echo "${ECHO_T}yes" >&6
8500 echo "$as_me:$LINENO: result: no" >&5
8501 echo "${ECHO_T}no" >&6
8506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8507 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8509 # Check whether --enable-datepick or --disable-datepick was given.
8510 if test "${enable_datepick+set}" = set; then
8511 enableval="$enable_datepick"
8513 if test "$enableval" = yes; then
8514 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8516 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8521 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8522 if test "x$LINE" != x ; then
8523 eval "DEFAULT_$LINE"
8528 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8532 eval "$ac_cv_use_datepick"
8533 if test "$no_cache" != 1; then
8534 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8537 if test "$wxUSE_DATEPICKCTRL" = yes; then
8538 echo "$as_me:$LINENO: result: yes" >&5
8539 echo "${ECHO_T}yes" >&6
8541 echo "$as_me:$LINENO: result: no" >&5
8542 echo "${ECHO_T}no" >&6
8547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8548 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8550 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8551 if test "${enable_dirpicker+set}" = set; then
8552 enableval="$enable_dirpicker"
8554 if test "$enableval" = yes; then
8555 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8557 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8562 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8563 if test "x$LINE" != x ; then
8564 eval "DEFAULT_$LINE"
8569 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8573 eval "$ac_cv_use_dirpicker"
8574 if test "$no_cache" != 1; then
8575 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8578 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8579 echo "$as_me:$LINENO: result: yes" >&5
8580 echo "${ECHO_T}yes" >&6
8582 echo "$as_me:$LINENO: result: no" >&5
8583 echo "${ECHO_T}no" >&6
8588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8589 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8591 # Check whether --enable-display or --disable-display was given.
8592 if test "${enable_display+set}" = set; then
8593 enableval="$enable_display"
8595 if test "$enableval" = yes; then
8596 ac_cv_use_display='wxUSE_DISPLAY=yes'
8598 ac_cv_use_display='wxUSE_DISPLAY=no'
8603 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8604 if test "x$LINE" != x ; then
8605 eval "DEFAULT_$LINE"
8610 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8614 eval "$ac_cv_use_display"
8615 if test "$no_cache" != 1; then
8616 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8619 if test "$wxUSE_DISPLAY" = yes; then
8620 echo "$as_me:$LINENO: result: yes" >&5
8621 echo "${ECHO_T}yes" >&6
8623 echo "$as_me:$LINENO: result: no" >&5
8624 echo "${ECHO_T}no" >&6
8629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8630 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8632 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8633 if test "${enable_detect_sm+set}" = set; then
8634 enableval="$enable_detect_sm"
8636 if test "$enableval" = yes; then
8637 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
8639 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
8644 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8645 if test "x$LINE" != x ; then
8646 eval "DEFAULT_$LINE"
8651 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8655 eval "$ac_cv_use_detect_sm"
8656 if test "$no_cache" != 1; then
8657 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8660 if test "$wxUSE_DETECT_SM" = yes; then
8661 echo "$as_me:$LINENO: result: yes" >&5
8662 echo "${ECHO_T}yes" >&6
8664 echo "$as_me:$LINENO: result: no" >&5
8665 echo "${ECHO_T}no" >&6
8670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8671 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8673 # Check whether --enable-filepicker or --disable-filepicker was given.
8674 if test "${enable_filepicker+set}" = set; then
8675 enableval="$enable_filepicker"
8677 if test "$enableval" = yes; then
8678 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8680 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8685 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8686 if test "x$LINE" != x ; then
8687 eval "DEFAULT_$LINE"
8692 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8696 eval "$ac_cv_use_filepicker"
8697 if test "$no_cache" != 1; then
8698 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8701 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8702 echo "$as_me:$LINENO: result: yes" >&5
8703 echo "${ECHO_T}yes" >&6
8705 echo "$as_me:$LINENO: result: no" >&5
8706 echo "${ECHO_T}no" >&6
8711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8712 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8714 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8715 if test "${enable_fontpicker+set}" = set; then
8716 enableval="$enable_fontpicker"
8718 if test "$enableval" = yes; then
8719 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8721 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8726 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8727 if test "x$LINE" != x ; then
8728 eval "DEFAULT_$LINE"
8733 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8737 eval "$ac_cv_use_fontpicker"
8738 if test "$no_cache" != 1; then
8739 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8742 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8743 echo "$as_me:$LINENO: result: yes" >&5
8744 echo "${ECHO_T}yes" >&6
8746 echo "$as_me:$LINENO: result: no" >&5
8747 echo "${ECHO_T}no" >&6
8752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8753 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8755 # Check whether --enable-gauge or --disable-gauge was given.
8756 if test "${enable_gauge+set}" = set; then
8757 enableval="$enable_gauge"
8759 if test "$enableval" = yes; then
8760 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8762 ac_cv_use_gauge='wxUSE_GAUGE=no'
8767 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8768 if test "x$LINE" != x ; then
8769 eval "DEFAULT_$LINE"
8774 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8778 eval "$ac_cv_use_gauge"
8779 if test "$no_cache" != 1; then
8780 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8783 if test "$wxUSE_GAUGE" = yes; then
8784 echo "$as_me:$LINENO: result: yes" >&5
8785 echo "${ECHO_T}yes" >&6
8787 echo "$as_me:$LINENO: result: no" >&5
8788 echo "${ECHO_T}no" >&6
8793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8794 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8796 # Check whether --enable-grid or --disable-grid was given.
8797 if test "${enable_grid+set}" = set; then
8798 enableval="$enable_grid"
8800 if test "$enableval" = yes; then
8801 ac_cv_use_grid='wxUSE_GRID=yes'
8803 ac_cv_use_grid='wxUSE_GRID=no'
8808 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8809 if test "x$LINE" != x ; then
8810 eval "DEFAULT_$LINE"
8815 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8819 eval "$ac_cv_use_grid"
8820 if test "$no_cache" != 1; then
8821 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8824 if test "$wxUSE_GRID" = yes; then
8825 echo "$as_me:$LINENO: result: yes" >&5
8826 echo "${ECHO_T}yes" >&6
8828 echo "$as_me:$LINENO: result: no" >&5
8829 echo "${ECHO_T}no" >&6
8834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8835 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8837 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8838 if test "${enable_dataviewctrl+set}" = set; then
8839 enableval="$enable_dataviewctrl"
8841 if test "$enableval" = yes; then
8842 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8844 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8849 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8850 if test "x$LINE" != x ; then
8851 eval "DEFAULT_$LINE"
8856 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8860 eval "$ac_cv_use_dataviewctrl"
8861 if test "$no_cache" != 1; then
8862 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8865 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8866 echo "$as_me:$LINENO: result: yes" >&5
8867 echo "${ECHO_T}yes" >&6
8869 echo "$as_me:$LINENO: result: no" >&5
8870 echo "${ECHO_T}no" >&6
8875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8876 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8878 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8879 if test "${enable_hyperlink+set}" = set; then
8880 enableval="$enable_hyperlink"
8882 if test "$enableval" = yes; then
8883 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
8885 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
8890 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8891 if test "x$LINE" != x ; then
8892 eval "DEFAULT_$LINE"
8897 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8901 eval "$ac_cv_use_hyperlink"
8902 if test "$no_cache" != 1; then
8903 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8906 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8907 echo "$as_me:$LINENO: result: yes" >&5
8908 echo "${ECHO_T}yes" >&6
8910 echo "$as_me:$LINENO: result: no" >&5
8911 echo "${ECHO_T}no" >&6
8916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8917 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8919 # Check whether --enable-imaglist or --disable-imaglist was given.
8920 if test "${enable_imaglist+set}" = set; then
8921 enableval="$enable_imaglist"
8923 if test "$enableval" = yes; then
8924 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
8926 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
8931 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8932 if test "x$LINE" != x ; then
8933 eval "DEFAULT_$LINE"
8938 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8942 eval "$ac_cv_use_imaglist"
8943 if test "$no_cache" != 1; then
8944 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8947 if test "$wxUSE_IMAGLIST" = yes; then
8948 echo "$as_me:$LINENO: result: yes" >&5
8949 echo "${ECHO_T}yes" >&6
8951 echo "$as_me:$LINENO: result: no" >&5
8952 echo "${ECHO_T}no" >&6
8957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8958 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8960 # Check whether --enable-listbook or --disable-listbook was given.
8961 if test "${enable_listbook+set}" = set; then
8962 enableval="$enable_listbook"
8964 if test "$enableval" = yes; then
8965 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
8967 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
8972 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8973 if test "x$LINE" != x ; then
8974 eval "DEFAULT_$LINE"
8979 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8983 eval "$ac_cv_use_listbook"
8984 if test "$no_cache" != 1; then
8985 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8988 if test "$wxUSE_LISTBOOK" = yes; then
8989 echo "$as_me:$LINENO: result: yes" >&5
8990 echo "${ECHO_T}yes" >&6
8992 echo "$as_me:$LINENO: result: no" >&5
8993 echo "${ECHO_T}no" >&6
8998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8999 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9001 # Check whether --enable-listbox or --disable-listbox was given.
9002 if test "${enable_listbox+set}" = set; then
9003 enableval="$enable_listbox"
9005 if test "$enableval" = yes; then
9006 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9008 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9013 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9014 if test "x$LINE" != x ; then
9015 eval "DEFAULT_$LINE"
9020 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9024 eval "$ac_cv_use_listbox"
9025 if test "$no_cache" != 1; then
9026 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9029 if test "$wxUSE_LISTBOX" = yes; then
9030 echo "$as_me:$LINENO: result: yes" >&5
9031 echo "${ECHO_T}yes" >&6
9033 echo "$as_me:$LINENO: result: no" >&5
9034 echo "${ECHO_T}no" >&6
9039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9040 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9042 # Check whether --enable-listctrl or --disable-listctrl was given.
9043 if test "${enable_listctrl+set}" = set; then
9044 enableval="$enable_listctrl"
9046 if test "$enableval" = yes; then
9047 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9049 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9054 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9055 if test "x$LINE" != x ; then
9056 eval "DEFAULT_$LINE"
9061 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9065 eval "$ac_cv_use_listctrl"
9066 if test "$no_cache" != 1; then
9067 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9070 if test "$wxUSE_LISTCTRL" = yes; then
9071 echo "$as_me:$LINENO: result: yes" >&5
9072 echo "${ECHO_T}yes" >&6
9074 echo "$as_me:$LINENO: result: no" >&5
9075 echo "${ECHO_T}no" >&6
9080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9081 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9083 # Check whether --enable-notebook or --disable-notebook was given.
9084 if test "${enable_notebook+set}" = set; then
9085 enableval="$enable_notebook"
9087 if test "$enableval" = yes; then
9088 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9090 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9095 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9096 if test "x$LINE" != x ; then
9097 eval "DEFAULT_$LINE"
9102 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9106 eval "$ac_cv_use_notebook"
9107 if test "$no_cache" != 1; then
9108 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9111 if test "$wxUSE_NOTEBOOK" = yes; then
9112 echo "$as_me:$LINENO: result: yes" >&5
9113 echo "${ECHO_T}yes" >&6
9115 echo "$as_me:$LINENO: result: no" >&5
9116 echo "${ECHO_T}no" >&6
9121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9122 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9124 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9125 if test "${enable_odcombobox+set}" = set; then
9126 enableval="$enable_odcombobox"
9128 if test "$enableval" = yes; then
9129 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9131 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9136 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9137 if test "x$LINE" != x ; then
9138 eval "DEFAULT_$LINE"
9143 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9147 eval "$ac_cv_use_odcombobox"
9148 if test "$no_cache" != 1; then
9149 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9152 if test "$wxUSE_ODCOMBOBOX" = yes; then
9153 echo "$as_me:$LINENO: result: yes" >&5
9154 echo "${ECHO_T}yes" >&6
9156 echo "$as_me:$LINENO: result: no" >&5
9157 echo "${ECHO_T}no" >&6
9162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9163 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9165 # Check whether --enable-radiobox or --disable-radiobox was given.
9166 if test "${enable_radiobox+set}" = set; then
9167 enableval="$enable_radiobox"
9169 if test "$enableval" = yes; then
9170 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9172 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9177 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9178 if test "x$LINE" != x ; then
9179 eval "DEFAULT_$LINE"
9184 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9188 eval "$ac_cv_use_radiobox"
9189 if test "$no_cache" != 1; then
9190 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9193 if test "$wxUSE_RADIOBOX" = yes; then
9194 echo "$as_me:$LINENO: result: yes" >&5
9195 echo "${ECHO_T}yes" >&6
9197 echo "$as_me:$LINENO: result: no" >&5
9198 echo "${ECHO_T}no" >&6
9203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9204 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9206 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9207 if test "${enable_radiobtn+set}" = set; then
9208 enableval="$enable_radiobtn"
9210 if test "$enableval" = yes; then
9211 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9213 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9218 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9219 if test "x$LINE" != x ; then
9220 eval "DEFAULT_$LINE"
9225 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9229 eval "$ac_cv_use_radiobtn"
9230 if test "$no_cache" != 1; then
9231 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9234 if test "$wxUSE_RADIOBTN" = yes; then
9235 echo "$as_me:$LINENO: result: yes" >&5
9236 echo "${ECHO_T}yes" >&6
9238 echo "$as_me:$LINENO: result: no" >&5
9239 echo "${ECHO_T}no" >&6
9244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9245 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9247 # Check whether --enable-sash or --disable-sash was given.
9248 if test "${enable_sash+set}" = set; then
9249 enableval="$enable_sash"
9251 if test "$enableval" = yes; then
9252 ac_cv_use_sash='wxUSE_SASH=yes'
9254 ac_cv_use_sash='wxUSE_SASH=no'
9259 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9260 if test "x$LINE" != x ; then
9261 eval "DEFAULT_$LINE"
9266 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9270 eval "$ac_cv_use_sash"
9271 if test "$no_cache" != 1; then
9272 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9275 if test "$wxUSE_SASH" = yes; then
9276 echo "$as_me:$LINENO: result: yes" >&5
9277 echo "${ECHO_T}yes" >&6
9279 echo "$as_me:$LINENO: result: no" >&5
9280 echo "${ECHO_T}no" >&6
9285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9286 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9288 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9289 if test "${enable_scrollbar+set}" = set; then
9290 enableval="$enable_scrollbar"
9292 if test "$enableval" = yes; then
9293 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9295 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9300 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9301 if test "x$LINE" != x ; then
9302 eval "DEFAULT_$LINE"
9307 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9311 eval "$ac_cv_use_scrollbar"
9312 if test "$no_cache" != 1; then
9313 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9316 if test "$wxUSE_SCROLLBAR" = yes; then
9317 echo "$as_me:$LINENO: result: yes" >&5
9318 echo "${ECHO_T}yes" >&6
9320 echo "$as_me:$LINENO: result: no" >&5
9321 echo "${ECHO_T}no" >&6
9326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9327 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9329 # Check whether --enable-slider or --disable-slider was given.
9330 if test "${enable_slider+set}" = set; then
9331 enableval="$enable_slider"
9333 if test "$enableval" = yes; then
9334 ac_cv_use_slider='wxUSE_SLIDER=yes'
9336 ac_cv_use_slider='wxUSE_SLIDER=no'
9341 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9342 if test "x$LINE" != x ; then
9343 eval "DEFAULT_$LINE"
9348 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9352 eval "$ac_cv_use_slider"
9353 if test "$no_cache" != 1; then
9354 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9357 if test "$wxUSE_SLIDER" = yes; then
9358 echo "$as_me:$LINENO: result: yes" >&5
9359 echo "${ECHO_T}yes" >&6
9361 echo "$as_me:$LINENO: result: no" >&5
9362 echo "${ECHO_T}no" >&6
9367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9368 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9370 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9371 if test "${enable_spinbtn+set}" = set; then
9372 enableval="$enable_spinbtn"
9374 if test "$enableval" = yes; then
9375 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9377 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9382 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9383 if test "x$LINE" != x ; then
9384 eval "DEFAULT_$LINE"
9389 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9393 eval "$ac_cv_use_spinbtn"
9394 if test "$no_cache" != 1; then
9395 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9398 if test "$wxUSE_SPINBTN" = yes; then
9399 echo "$as_me:$LINENO: result: yes" >&5
9400 echo "${ECHO_T}yes" >&6
9402 echo "$as_me:$LINENO: result: no" >&5
9403 echo "${ECHO_T}no" >&6
9408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9409 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9411 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9412 if test "${enable_spinctrl+set}" = set; then
9413 enableval="$enable_spinctrl"
9415 if test "$enableval" = yes; then
9416 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9418 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9423 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9424 if test "x$LINE" != x ; then
9425 eval "DEFAULT_$LINE"
9430 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9434 eval "$ac_cv_use_spinctrl"
9435 if test "$no_cache" != 1; then
9436 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9439 if test "$wxUSE_SPINCTRL" = yes; then
9440 echo "$as_me:$LINENO: result: yes" >&5
9441 echo "${ECHO_T}yes" >&6
9443 echo "$as_me:$LINENO: result: no" >&5
9444 echo "${ECHO_T}no" >&6
9449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9450 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9452 # Check whether --enable-splitter or --disable-splitter was given.
9453 if test "${enable_splitter+set}" = set; then
9454 enableval="$enable_splitter"
9456 if test "$enableval" = yes; then
9457 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9459 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9464 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9465 if test "x$LINE" != x ; then
9466 eval "DEFAULT_$LINE"
9471 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9475 eval "$ac_cv_use_splitter"
9476 if test "$no_cache" != 1; then
9477 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9480 if test "$wxUSE_SPLITTER" = yes; then
9481 echo "$as_me:$LINENO: result: yes" >&5
9482 echo "${ECHO_T}yes" >&6
9484 echo "$as_me:$LINENO: result: no" >&5
9485 echo "${ECHO_T}no" >&6
9490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9491 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9493 # Check whether --enable-statbmp or --disable-statbmp was given.
9494 if test "${enable_statbmp+set}" = set; then
9495 enableval="$enable_statbmp"
9497 if test "$enableval" = yes; then
9498 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9500 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9505 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9506 if test "x$LINE" != x ; then
9507 eval "DEFAULT_$LINE"
9512 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9516 eval "$ac_cv_use_statbmp"
9517 if test "$no_cache" != 1; then
9518 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9521 if test "$wxUSE_STATBMP" = yes; then
9522 echo "$as_me:$LINENO: result: yes" >&5
9523 echo "${ECHO_T}yes" >&6
9525 echo "$as_me:$LINENO: result: no" >&5
9526 echo "${ECHO_T}no" >&6
9531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9532 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9534 # Check whether --enable-statbox or --disable-statbox was given.
9535 if test "${enable_statbox+set}" = set; then
9536 enableval="$enable_statbox"
9538 if test "$enableval" = yes; then
9539 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9541 ac_cv_use_statbox='wxUSE_STATBOX=no'
9546 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9547 if test "x$LINE" != x ; then
9548 eval "DEFAULT_$LINE"
9553 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9557 eval "$ac_cv_use_statbox"
9558 if test "$no_cache" != 1; then
9559 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9562 if test "$wxUSE_STATBOX" = yes; then
9563 echo "$as_me:$LINENO: result: yes" >&5
9564 echo "${ECHO_T}yes" >&6
9566 echo "$as_me:$LINENO: result: no" >&5
9567 echo "${ECHO_T}no" >&6
9572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9573 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9575 # Check whether --enable-statline or --disable-statline was given.
9576 if test "${enable_statline+set}" = set; then
9577 enableval="$enable_statline"
9579 if test "$enableval" = yes; then
9580 ac_cv_use_statline='wxUSE_STATLINE=yes'
9582 ac_cv_use_statline='wxUSE_STATLINE=no'
9587 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9588 if test "x$LINE" != x ; then
9589 eval "DEFAULT_$LINE"
9594 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9598 eval "$ac_cv_use_statline"
9599 if test "$no_cache" != 1; then
9600 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9603 if test "$wxUSE_STATLINE" = yes; then
9604 echo "$as_me:$LINENO: result: yes" >&5
9605 echo "${ECHO_T}yes" >&6
9607 echo "$as_me:$LINENO: result: no" >&5
9608 echo "${ECHO_T}no" >&6
9613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9614 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9616 # Check whether --enable-stattext or --disable-stattext was given.
9617 if test "${enable_stattext+set}" = set; then
9618 enableval="$enable_stattext"
9620 if test "$enableval" = yes; then
9621 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9623 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9628 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9629 if test "x$LINE" != x ; then
9630 eval "DEFAULT_$LINE"
9635 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9639 eval "$ac_cv_use_stattext"
9640 if test "$no_cache" != 1; then
9641 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9644 if test "$wxUSE_STATTEXT" = yes; then
9645 echo "$as_me:$LINENO: result: yes" >&5
9646 echo "${ECHO_T}yes" >&6
9648 echo "$as_me:$LINENO: result: no" >&5
9649 echo "${ECHO_T}no" >&6
9654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9655 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9657 # Check whether --enable-statusbar or --disable-statusbar was given.
9658 if test "${enable_statusbar+set}" = set; then
9659 enableval="$enable_statusbar"
9661 if test "$enableval" = yes; then
9662 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9664 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9669 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9670 if test "x$LINE" != x ; then
9671 eval "DEFAULT_$LINE"
9676 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9680 eval "$ac_cv_use_statusbar"
9681 if test "$no_cache" != 1; then
9682 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9685 if test "$wxUSE_STATUSBAR" = yes; then
9686 echo "$as_me:$LINENO: result: yes" >&5
9687 echo "${ECHO_T}yes" >&6
9689 echo "$as_me:$LINENO: result: no" >&5
9690 echo "${ECHO_T}no" >&6
9695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9696 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9698 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9699 if test "${enable_tabdialog+set}" = set; then
9700 enableval="$enable_tabdialog"
9702 if test "$enableval" = yes; then
9703 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9705 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9710 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9711 if test "x$LINE" != x ; then
9712 eval "DEFAULT_$LINE"
9717 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9721 eval "$ac_cv_use_tabdialog"
9722 if test "$no_cache" != 1; then
9723 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9726 if test "$wxUSE_TAB_DIALOG" = yes; then
9727 echo "$as_me:$LINENO: result: yes" >&5
9728 echo "${ECHO_T}yes" >&6
9730 echo "$as_me:$LINENO: result: no" >&5
9731 echo "${ECHO_T}no" >&6
9736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9737 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9739 # Check whether --enable-textctrl or --disable-textctrl was given.
9740 if test "${enable_textctrl+set}" = set; then
9741 enableval="$enable_textctrl"
9743 if test "$enableval" = yes; then
9744 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9746 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9751 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9752 if test "x$LINE" != x ; then
9753 eval "DEFAULT_$LINE"
9758 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9762 eval "$ac_cv_use_textctrl"
9763 if test "$no_cache" != 1; then
9764 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9767 if test "$wxUSE_TEXTCTRL" = yes; then
9768 echo "$as_me:$LINENO: result: yes" >&5
9769 echo "${ECHO_T}yes" >&6
9771 echo "$as_me:$LINENO: result: no" >&5
9772 echo "${ECHO_T}no" >&6
9777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9778 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9780 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9781 if test "${enable_togglebtn+set}" = set; then
9782 enableval="$enable_togglebtn"
9784 if test "$enableval" = yes; then
9785 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9787 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9792 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9793 if test "x$LINE" != x ; then
9794 eval "DEFAULT_$LINE"
9799 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9803 eval "$ac_cv_use_togglebtn"
9804 if test "$no_cache" != 1; then
9805 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9808 if test "$wxUSE_TOGGLEBTN" = yes; then
9809 echo "$as_me:$LINENO: result: yes" >&5
9810 echo "${ECHO_T}yes" >&6
9812 echo "$as_me:$LINENO: result: no" >&5
9813 echo "${ECHO_T}no" >&6
9818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9819 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9821 # Check whether --enable-toolbar or --disable-toolbar was given.
9822 if test "${enable_toolbar+set}" = set; then
9823 enableval="$enable_toolbar"
9825 if test "$enableval" = yes; then
9826 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9828 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9833 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9834 if test "x$LINE" != x ; then
9835 eval "DEFAULT_$LINE"
9840 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9844 eval "$ac_cv_use_toolbar"
9845 if test "$no_cache" != 1; then
9846 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9849 if test "$wxUSE_TOOLBAR" = yes; then
9850 echo "$as_me:$LINENO: result: yes" >&5
9851 echo "${ECHO_T}yes" >&6
9853 echo "$as_me:$LINENO: result: no" >&5
9854 echo "${ECHO_T}no" >&6
9859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9860 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9862 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9863 if test "${enable_tbarnative+set}" = set; then
9864 enableval="$enable_tbarnative"
9866 if test "$enableval" = yes; then
9867 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
9869 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
9874 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9875 if test "x$LINE" != x ; then
9876 eval "DEFAULT_$LINE"
9881 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9885 eval "$ac_cv_use_tbarnative"
9886 if test "$no_cache" != 1; then
9887 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9890 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9891 echo "$as_me:$LINENO: result: yes" >&5
9892 echo "${ECHO_T}yes" >&6
9894 echo "$as_me:$LINENO: result: no" >&5
9895 echo "${ECHO_T}no" >&6
9900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9901 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9903 # Check whether --enable-treebook or --disable-treebook was given.
9904 if test "${enable_treebook+set}" = set; then
9905 enableval="$enable_treebook"
9907 if test "$enableval" = yes; then
9908 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
9910 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
9915 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9916 if test "x$LINE" != x ; then
9917 eval "DEFAULT_$LINE"
9922 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9926 eval "$ac_cv_use_treebook"
9927 if test "$no_cache" != 1; then
9928 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9931 if test "$wxUSE_TREEBOOK" = yes; then
9932 echo "$as_me:$LINENO: result: yes" >&5
9933 echo "${ECHO_T}yes" >&6
9935 echo "$as_me:$LINENO: result: no" >&5
9936 echo "${ECHO_T}no" >&6
9941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9942 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9944 # Check whether --enable-toolbook or --disable-toolbook was given.
9945 if test "${enable_toolbook+set}" = set; then
9946 enableval="$enable_toolbook"
9948 if test "$enableval" = yes; then
9949 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
9951 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
9956 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9957 if test "x$LINE" != x ; then
9958 eval "DEFAULT_$LINE"
9963 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9967 eval "$ac_cv_use_toolbook"
9968 if test "$no_cache" != 1; then
9969 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9972 if test "$wxUSE_TOOLBOOK" = yes; then
9973 echo "$as_me:$LINENO: result: yes" >&5
9974 echo "${ECHO_T}yes" >&6
9976 echo "$as_me:$LINENO: result: no" >&5
9977 echo "${ECHO_T}no" >&6
9982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9983 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9985 # Check whether --enable-treectrl or --disable-treectrl was given.
9986 if test "${enable_treectrl+set}" = set; then
9987 enableval="$enable_treectrl"
9989 if test "$enableval" = yes; then
9990 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
9992 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
9997 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9998 if test "x$LINE" != x ; then
9999 eval "DEFAULT_$LINE"
10004 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10008 eval "$ac_cv_use_treectrl"
10009 if test "$no_cache" != 1; then
10010 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10013 if test "$wxUSE_TREECTRL" = yes; then
10014 echo "$as_me:$LINENO: result: yes" >&5
10015 echo "${ECHO_T}yes" >&6
10017 echo "$as_me:$LINENO: result: no" >&5
10018 echo "${ECHO_T}no" >&6
10023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10024 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10026 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10027 if test "${enable_tipwindow+set}" = set; then
10028 enableval="$enable_tipwindow"
10030 if test "$enableval" = yes; then
10031 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10033 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10038 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10039 if test "x$LINE" != x ; then
10040 eval "DEFAULT_$LINE"
10045 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10049 eval "$ac_cv_use_tipwindow"
10050 if test "$no_cache" != 1; then
10051 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10054 if test "$wxUSE_TIPWINDOW" = yes; then
10055 echo "$as_me:$LINENO: result: yes" >&5
10056 echo "${ECHO_T}yes" >&6
10058 echo "$as_me:$LINENO: result: no" >&5
10059 echo "${ECHO_T}no" >&6
10064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10065 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10067 # Check whether --enable-popupwin or --disable-popupwin was given.
10068 if test "${enable_popupwin+set}" = set; then
10069 enableval="$enable_popupwin"
10071 if test "$enableval" = yes; then
10072 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10074 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10079 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10080 if test "x$LINE" != x ; then
10081 eval "DEFAULT_$LINE"
10086 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10090 eval "$ac_cv_use_popupwin"
10091 if test "$no_cache" != 1; then
10092 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10095 if test "$wxUSE_POPUPWIN" = yes; then
10096 echo "$as_me:$LINENO: result: yes" >&5
10097 echo "${ECHO_T}yes" >&6
10099 echo "$as_me:$LINENO: result: no" >&5
10100 echo "${ECHO_T}no" >&6
10107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10108 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10110 # Check whether --enable-commondlg or --disable-commondlg was given.
10111 if test "${enable_commondlg+set}" = set; then
10112 enableval="$enable_commondlg"
10114 if test "$enableval" = yes; then
10115 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10117 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10122 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10123 if test "x$LINE" != x ; then
10124 eval "DEFAULT_$LINE"
10129 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10133 eval "$ac_cv_use_commondlg"
10134 if test "$no_cache" != 1; then
10135 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10138 if test "$wxUSE_COMMONDLGS" = yes; then
10139 echo "$as_me:$LINENO: result: yes" >&5
10140 echo "${ECHO_T}yes" >&6
10142 echo "$as_me:$LINENO: result: no" >&5
10143 echo "${ECHO_T}no" >&6
10148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10149 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10151 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10152 if test "${enable_aboutdlg+set}" = set; then
10153 enableval="$enable_aboutdlg"
10155 if test "$enableval" = yes; then
10156 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10158 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10163 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10164 if test "x$LINE" != x ; then
10165 eval "DEFAULT_$LINE"
10170 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10174 eval "$ac_cv_use_aboutdlg"
10175 if test "$no_cache" != 1; then
10176 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10179 if test "$wxUSE_ABOUTDLG" = yes; then
10180 echo "$as_me:$LINENO: result: yes" >&5
10181 echo "${ECHO_T}yes" >&6
10183 echo "$as_me:$LINENO: result: no" >&5
10184 echo "${ECHO_T}no" >&6
10189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10190 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10192 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10193 if test "${enable_choicedlg+set}" = set; then
10194 enableval="$enable_choicedlg"
10196 if test "$enableval" = yes; then
10197 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10199 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10204 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10205 if test "x$LINE" != x ; then
10206 eval "DEFAULT_$LINE"
10211 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10215 eval "$ac_cv_use_choicedlg"
10216 if test "$no_cache" != 1; then
10217 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10220 if test "$wxUSE_CHOICEDLG" = yes; then
10221 echo "$as_me:$LINENO: result: yes" >&5
10222 echo "${ECHO_T}yes" >&6
10224 echo "$as_me:$LINENO: result: no" >&5
10225 echo "${ECHO_T}no" >&6
10230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10231 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10233 # Check whether --enable-coldlg or --disable-coldlg was given.
10234 if test "${enable_coldlg+set}" = set; then
10235 enableval="$enable_coldlg"
10237 if test "$enableval" = yes; then
10238 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10240 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10245 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10246 if test "x$LINE" != x ; then
10247 eval "DEFAULT_$LINE"
10252 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10256 eval "$ac_cv_use_coldlg"
10257 if test "$no_cache" != 1; then
10258 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10261 if test "$wxUSE_COLOURDLG" = yes; then
10262 echo "$as_me:$LINENO: result: yes" >&5
10263 echo "${ECHO_T}yes" >&6
10265 echo "$as_me:$LINENO: result: no" >&5
10266 echo "${ECHO_T}no" >&6
10271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10272 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10274 # Check whether --enable-filedlg or --disable-filedlg was given.
10275 if test "${enable_filedlg+set}" = set; then
10276 enableval="$enable_filedlg"
10278 if test "$enableval" = yes; then
10279 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10281 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10286 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10287 if test "x$LINE" != x ; then
10288 eval "DEFAULT_$LINE"
10293 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10297 eval "$ac_cv_use_filedlg"
10298 if test "$no_cache" != 1; then
10299 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10302 if test "$wxUSE_FILEDLG" = yes; then
10303 echo "$as_me:$LINENO: result: yes" >&5
10304 echo "${ECHO_T}yes" >&6
10306 echo "$as_me:$LINENO: result: no" >&5
10307 echo "${ECHO_T}no" >&6
10312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10313 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10315 # Check whether --enable-finddlg or --disable-finddlg was given.
10316 if test "${enable_finddlg+set}" = set; then
10317 enableval="$enable_finddlg"
10319 if test "$enableval" = yes; then
10320 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10322 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10327 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10328 if test "x$LINE" != x ; then
10329 eval "DEFAULT_$LINE"
10334 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10338 eval "$ac_cv_use_finddlg"
10339 if test "$no_cache" != 1; then
10340 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10343 if test "$wxUSE_FINDREPLDLG" = yes; then
10344 echo "$as_me:$LINENO: result: yes" >&5
10345 echo "${ECHO_T}yes" >&6
10347 echo "$as_me:$LINENO: result: no" >&5
10348 echo "${ECHO_T}no" >&6
10353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10354 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10356 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10357 if test "${enable_fontdlg+set}" = set; then
10358 enableval="$enable_fontdlg"
10360 if test "$enableval" = yes; then
10361 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10363 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10368 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10369 if test "x$LINE" != x ; then
10370 eval "DEFAULT_$LINE"
10375 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10379 eval "$ac_cv_use_fontdlg"
10380 if test "$no_cache" != 1; then
10381 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10384 if test "$wxUSE_FONTDLG" = yes; then
10385 echo "$as_me:$LINENO: result: yes" >&5
10386 echo "${ECHO_T}yes" >&6
10388 echo "$as_me:$LINENO: result: no" >&5
10389 echo "${ECHO_T}no" >&6
10394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10395 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10397 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10398 if test "${enable_dirdlg+set}" = set; then
10399 enableval="$enable_dirdlg"
10401 if test "$enableval" = yes; then
10402 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10404 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10409 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10410 if test "x$LINE" != x ; then
10411 eval "DEFAULT_$LINE"
10416 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10420 eval "$ac_cv_use_dirdlg"
10421 if test "$no_cache" != 1; then
10422 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10425 if test "$wxUSE_DIRDLG" = yes; then
10426 echo "$as_me:$LINENO: result: yes" >&5
10427 echo "${ECHO_T}yes" >&6
10429 echo "$as_me:$LINENO: result: no" >&5
10430 echo "${ECHO_T}no" >&6
10435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10436 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10438 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10439 if test "${enable_msgdlg+set}" = set; then
10440 enableval="$enable_msgdlg"
10442 if test "$enableval" = yes; then
10443 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10445 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10450 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10451 if test "x$LINE" != x ; then
10452 eval "DEFAULT_$LINE"
10457 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10461 eval "$ac_cv_use_msgdlg"
10462 if test "$no_cache" != 1; then
10463 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10466 if test "$wxUSE_MSGDLG" = yes; then
10467 echo "$as_me:$LINENO: result: yes" >&5
10468 echo "${ECHO_T}yes" >&6
10470 echo "$as_me:$LINENO: result: no" >&5
10471 echo "${ECHO_T}no" >&6
10476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10477 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10479 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10480 if test "${enable_numberdlg+set}" = set; then
10481 enableval="$enable_numberdlg"
10483 if test "$enableval" = yes; then
10484 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10486 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10491 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10492 if test "x$LINE" != x ; then
10493 eval "DEFAULT_$LINE"
10498 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10502 eval "$ac_cv_use_numberdlg"
10503 if test "$no_cache" != 1; then
10504 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10507 if test "$wxUSE_NUMBERDLG" = yes; then
10508 echo "$as_me:$LINENO: result: yes" >&5
10509 echo "${ECHO_T}yes" >&6
10511 echo "$as_me:$LINENO: result: no" >&5
10512 echo "${ECHO_T}no" >&6
10517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10518 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10520 # Check whether --enable-splash or --disable-splash was given.
10521 if test "${enable_splash+set}" = set; then
10522 enableval="$enable_splash"
10524 if test "$enableval" = yes; then
10525 ac_cv_use_splash='wxUSE_SPLASH=yes'
10527 ac_cv_use_splash='wxUSE_SPLASH=no'
10532 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10533 if test "x$LINE" != x ; then
10534 eval "DEFAULT_$LINE"
10539 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10543 eval "$ac_cv_use_splash"
10544 if test "$no_cache" != 1; then
10545 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10548 if test "$wxUSE_SPLASH" = yes; then
10549 echo "$as_me:$LINENO: result: yes" >&5
10550 echo "${ECHO_T}yes" >&6
10552 echo "$as_me:$LINENO: result: no" >&5
10553 echo "${ECHO_T}no" >&6
10558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10559 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10561 # Check whether --enable-textdlg or --disable-textdlg was given.
10562 if test "${enable_textdlg+set}" = set; then
10563 enableval="$enable_textdlg"
10565 if test "$enableval" = yes; then
10566 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10568 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10573 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10574 if test "x$LINE" != x ; then
10575 eval "DEFAULT_$LINE"
10580 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10584 eval "$ac_cv_use_textdlg"
10585 if test "$no_cache" != 1; then
10586 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10589 if test "$wxUSE_TEXTDLG" = yes; then
10590 echo "$as_me:$LINENO: result: yes" >&5
10591 echo "${ECHO_T}yes" >&6
10593 echo "$as_me:$LINENO: result: no" >&5
10594 echo "${ECHO_T}no" >&6
10599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10600 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10602 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10603 if test "${enable_tipdlg+set}" = set; then
10604 enableval="$enable_tipdlg"
10606 if test "$enableval" = yes; then
10607 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10609 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10614 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10615 if test "x$LINE" != x ; then
10616 eval "DEFAULT_$LINE"
10621 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10625 eval "$ac_cv_use_tipdlg"
10626 if test "$no_cache" != 1; then
10627 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10630 if test "$wxUSE_STARTUP_TIPS" = yes; then
10631 echo "$as_me:$LINENO: result: yes" >&5
10632 echo "${ECHO_T}yes" >&6
10634 echo "$as_me:$LINENO: result: no" >&5
10635 echo "${ECHO_T}no" >&6
10640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10641 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10643 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10644 if test "${enable_progressdlg+set}" = set; then
10645 enableval="$enable_progressdlg"
10647 if test "$enableval" = yes; then
10648 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10650 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10655 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10656 if test "x$LINE" != x ; then
10657 eval "DEFAULT_$LINE"
10662 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10666 eval "$ac_cv_use_progressdlg"
10667 if test "$no_cache" != 1; then
10668 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10671 if test "$wxUSE_PROGRESSDLG" = yes; then
10672 echo "$as_me:$LINENO: result: yes" >&5
10673 echo "${ECHO_T}yes" >&6
10675 echo "$as_me:$LINENO: result: no" >&5
10676 echo "${ECHO_T}no" >&6
10681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10682 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10684 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10685 if test "${enable_wizarddlg+set}" = set; then
10686 enableval="$enable_wizarddlg"
10688 if test "$enableval" = yes; then
10689 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10691 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10696 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10697 if test "x$LINE" != x ; then
10698 eval "DEFAULT_$LINE"
10703 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10707 eval "$ac_cv_use_wizarddlg"
10708 if test "$no_cache" != 1; then
10709 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10712 if test "$wxUSE_WIZARDDLG" = yes; then
10713 echo "$as_me:$LINENO: result: yes" >&5
10714 echo "${ECHO_T}yes" >&6
10716 echo "$as_me:$LINENO: result: no" >&5
10717 echo "${ECHO_T}no" >&6
10724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10725 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10727 # Check whether --enable-menus or --disable-menus was given.
10728 if test "${enable_menus+set}" = set; then
10729 enableval="$enable_menus"
10731 if test "$enableval" = yes; then
10732 ac_cv_use_menus='wxUSE_MENUS=yes'
10734 ac_cv_use_menus='wxUSE_MENUS=no'
10739 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10740 if test "x$LINE" != x ; then
10741 eval "DEFAULT_$LINE"
10746 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10750 eval "$ac_cv_use_menus"
10751 if test "$no_cache" != 1; then
10752 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10755 if test "$wxUSE_MENUS" = yes; then
10756 echo "$as_me:$LINENO: result: yes" >&5
10757 echo "${ECHO_T}yes" >&6
10759 echo "$as_me:$LINENO: result: no" >&5
10760 echo "${ECHO_T}no" >&6
10765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10766 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10768 # Check whether --enable-miniframe or --disable-miniframe was given.
10769 if test "${enable_miniframe+set}" = set; then
10770 enableval="$enable_miniframe"
10772 if test "$enableval" = yes; then
10773 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10775 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10780 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10781 if test "x$LINE" != x ; then
10782 eval "DEFAULT_$LINE"
10787 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10791 eval "$ac_cv_use_miniframe"
10792 if test "$no_cache" != 1; then
10793 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10796 if test "$wxUSE_MINIFRAME" = yes; then
10797 echo "$as_me:$LINENO: result: yes" >&5
10798 echo "${ECHO_T}yes" >&6
10800 echo "$as_me:$LINENO: result: no" >&5
10801 echo "${ECHO_T}no" >&6
10806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10807 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10809 # Check whether --enable-tooltips or --disable-tooltips was given.
10810 if test "${enable_tooltips+set}" = set; then
10811 enableval="$enable_tooltips"
10813 if test "$enableval" = yes; then
10814 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10816 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10821 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10822 if test "x$LINE" != x ; then
10823 eval "DEFAULT_$LINE"
10828 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10832 eval "$ac_cv_use_tooltips"
10833 if test "$no_cache" != 1; then
10834 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10837 if test "$wxUSE_TOOLTIPS" = yes; then
10838 echo "$as_me:$LINENO: result: yes" >&5
10839 echo "${ECHO_T}yes" >&6
10841 echo "$as_me:$LINENO: result: no" >&5
10842 echo "${ECHO_T}no" >&6
10847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10848 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10850 # Check whether --enable-splines or --disable-splines was given.
10851 if test "${enable_splines+set}" = set; then
10852 enableval="$enable_splines"
10854 if test "$enableval" = yes; then
10855 ac_cv_use_splines='wxUSE_SPLINES=yes'
10857 ac_cv_use_splines='wxUSE_SPLINES=no'
10862 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10863 if test "x$LINE" != x ; then
10864 eval "DEFAULT_$LINE"
10869 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10873 eval "$ac_cv_use_splines"
10874 if test "$no_cache" != 1; then
10875 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10878 if test "$wxUSE_SPLINES" = yes; then
10879 echo "$as_me:$LINENO: result: yes" >&5
10880 echo "${ECHO_T}yes" >&6
10882 echo "$as_me:$LINENO: result: no" >&5
10883 echo "${ECHO_T}no" >&6
10888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10889 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10891 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10892 if test "${enable_mousewheel+set}" = set; then
10893 enableval="$enable_mousewheel"
10895 if test "$enableval" = yes; then
10896 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
10898 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
10903 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10904 if test "x$LINE" != x ; then
10905 eval "DEFAULT_$LINE"
10910 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10914 eval "$ac_cv_use_mousewheel"
10915 if test "$no_cache" != 1; then
10916 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10919 if test "$wxUSE_MOUSEWHEEL" = yes; then
10920 echo "$as_me:$LINENO: result: yes" >&5
10921 echo "${ECHO_T}yes" >&6
10923 echo "$as_me:$LINENO: result: no" >&5
10924 echo "${ECHO_T}no" >&6
10929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10930 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10932 # Check whether --enable-validators or --disable-validators was given.
10933 if test "${enable_validators+set}" = set; then
10934 enableval="$enable_validators"
10936 if test "$enableval" = yes; then
10937 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
10939 ac_cv_use_validators='wxUSE_VALIDATORS=no'
10944 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10945 if test "x$LINE" != x ; then
10946 eval "DEFAULT_$LINE"
10951 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10955 eval "$ac_cv_use_validators"
10956 if test "$no_cache" != 1; then
10957 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10960 if test "$wxUSE_VALIDATORS" = yes; then
10961 echo "$as_me:$LINENO: result: yes" >&5
10962 echo "${ECHO_T}yes" >&6
10964 echo "$as_me:$LINENO: result: no" >&5
10965 echo "${ECHO_T}no" >&6
10970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10971 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10973 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10974 if test "${enable_busyinfo+set}" = set; then
10975 enableval="$enable_busyinfo"
10977 if test "$enableval" = yes; then
10978 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
10980 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
10985 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10986 if test "x$LINE" != x ; then
10987 eval "DEFAULT_$LINE"
10992 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10996 eval "$ac_cv_use_busyinfo"
10997 if test "$no_cache" != 1; then
10998 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11001 if test "$wxUSE_BUSYINFO" = yes; then
11002 echo "$as_me:$LINENO: result: yes" >&5
11003 echo "${ECHO_T}yes" >&6
11005 echo "$as_me:$LINENO: result: no" >&5
11006 echo "${ECHO_T}no" >&6
11011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11012 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11014 # Check whether --enable-joystick or --disable-joystick was given.
11015 if test "${enable_joystick+set}" = set; then
11016 enableval="$enable_joystick"
11018 if test "$enableval" = yes; then
11019 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11021 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11026 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11027 if test "x$LINE" != x ; then
11028 eval "DEFAULT_$LINE"
11033 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11037 eval "$ac_cv_use_joystick"
11038 if test "$no_cache" != 1; then
11039 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11042 if test "$wxUSE_JOYSTICK" = yes; then
11043 echo "$as_me:$LINENO: result: yes" >&5
11044 echo "${ECHO_T}yes" >&6
11046 echo "$as_me:$LINENO: result: no" >&5
11047 echo "${ECHO_T}no" >&6
11052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11053 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11055 # Check whether --enable-metafile or --disable-metafile was given.
11056 if test "${enable_metafile+set}" = set; then
11057 enableval="$enable_metafile"
11059 if test "$enableval" = yes; then
11060 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11062 ac_cv_use_metafile='wxUSE_METAFILE=no'
11067 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11068 if test "x$LINE" != x ; then
11069 eval "DEFAULT_$LINE"
11074 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11078 eval "$ac_cv_use_metafile"
11079 if test "$no_cache" != 1; then
11080 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11083 if test "$wxUSE_METAFILE" = yes; then
11084 echo "$as_me:$LINENO: result: yes" >&5
11085 echo "${ECHO_T}yes" >&6
11087 echo "$as_me:$LINENO: result: no" >&5
11088 echo "${ECHO_T}no" >&6
11093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11094 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11096 # Check whether --enable-dragimage or --disable-dragimage was given.
11097 if test "${enable_dragimage+set}" = set; then
11098 enableval="$enable_dragimage"
11100 if test "$enableval" = yes; then
11101 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11103 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11108 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11109 if test "x$LINE" != x ; then
11110 eval "DEFAULT_$LINE"
11115 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11119 eval "$ac_cv_use_dragimage"
11120 if test "$no_cache" != 1; then
11121 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11124 if test "$wxUSE_DRAGIMAGE" = yes; then
11125 echo "$as_me:$LINENO: result: yes" >&5
11126 echo "${ECHO_T}yes" >&6
11128 echo "$as_me:$LINENO: result: no" >&5
11129 echo "${ECHO_T}no" >&6
11134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11135 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11137 # Check whether --enable-accessibility or --disable-accessibility was given.
11138 if test "${enable_accessibility+set}" = set; then
11139 enableval="$enable_accessibility"
11141 if test "$enableval" = yes; then
11142 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11144 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11149 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11150 if test "x$LINE" != x ; then
11151 eval "DEFAULT_$LINE"
11156 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11160 eval "$ac_cv_use_accessibility"
11161 if test "$no_cache" != 1; then
11162 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11165 if test "$wxUSE_ACCESSIBILITY" = yes; then
11166 echo "$as_me:$LINENO: result: yes" >&5
11167 echo "${ECHO_T}yes" >&6
11169 echo "$as_me:$LINENO: result: no" >&5
11170 echo "${ECHO_T}no" >&6
11174 if test "$wxUSE_MSW" = "1"; then
11177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11178 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11180 # Check whether --enable-dccache or --disable-dccache was given.
11181 if test "${enable_dccache+set}" = set; then
11182 enableval="$enable_dccache"
11184 if test "$enableval" = yes; then
11185 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11187 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11192 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11193 if test "x$LINE" != x ; then
11194 eval "DEFAULT_$LINE"
11199 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11203 eval "$ac_cv_use_dccache"
11204 if test "$no_cache" != 1; then
11205 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11208 if test "$wxUSE_DC_CACHEING" = yes; then
11209 echo "$as_me:$LINENO: result: yes" >&5
11210 echo "${ECHO_T}yes" >&6
11212 echo "$as_me:$LINENO: result: no" >&5
11213 echo "${ECHO_T}no" >&6
11221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11222 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11224 # Check whether --enable-palette or --disable-palette was given.
11225 if test "${enable_palette+set}" = set; then
11226 enableval="$enable_palette"
11228 if test "$enableval" = yes; then
11229 ac_cv_use_palette='wxUSE_PALETTE=yes'
11231 ac_cv_use_palette='wxUSE_PALETTE=no'
11236 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11237 if test "x$LINE" != x ; then
11238 eval "DEFAULT_$LINE"
11243 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11247 eval "$ac_cv_use_palette"
11248 if test "$no_cache" != 1; then
11249 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11252 if test "$wxUSE_PALETTE" = yes; then
11253 echo "$as_me:$LINENO: result: yes" >&5
11254 echo "${ECHO_T}yes" >&6
11256 echo "$as_me:$LINENO: result: no" >&5
11257 echo "${ECHO_T}no" >&6
11262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11263 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11265 # Check whether --enable-image or --disable-image was given.
11266 if test "${enable_image+set}" = set; then
11267 enableval="$enable_image"
11269 if test "$enableval" = yes; then
11270 ac_cv_use_image='wxUSE_IMAGE=yes'
11272 ac_cv_use_image='wxUSE_IMAGE=no'
11277 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11278 if test "x$LINE" != x ; then
11279 eval "DEFAULT_$LINE"
11284 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11288 eval "$ac_cv_use_image"
11289 if test "$no_cache" != 1; then
11290 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11293 if test "$wxUSE_IMAGE" = yes; then
11294 echo "$as_me:$LINENO: result: yes" >&5
11295 echo "${ECHO_T}yes" >&6
11297 echo "$as_me:$LINENO: result: no" >&5
11298 echo "${ECHO_T}no" >&6
11303 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11304 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11306 # Check whether --enable-gif or --disable-gif was given.
11307 if test "${enable_gif+set}" = set; then
11308 enableval="$enable_gif"
11310 if test "$enableval" = yes; then
11311 ac_cv_use_gif='wxUSE_GIF=yes'
11313 ac_cv_use_gif='wxUSE_GIF=no'
11318 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11319 if test "x$LINE" != x ; then
11320 eval "DEFAULT_$LINE"
11325 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11329 eval "$ac_cv_use_gif"
11330 if test "$no_cache" != 1; then
11331 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11334 if test "$wxUSE_GIF" = yes; then
11335 echo "$as_me:$LINENO: result: yes" >&5
11336 echo "${ECHO_T}yes" >&6
11338 echo "$as_me:$LINENO: result: no" >&5
11339 echo "${ECHO_T}no" >&6
11344 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11345 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11347 # Check whether --enable-pcx or --disable-pcx was given.
11348 if test "${enable_pcx+set}" = set; then
11349 enableval="$enable_pcx"
11351 if test "$enableval" = yes; then
11352 ac_cv_use_pcx='wxUSE_PCX=yes'
11354 ac_cv_use_pcx='wxUSE_PCX=no'
11359 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11360 if test "x$LINE" != x ; then
11361 eval "DEFAULT_$LINE"
11366 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11370 eval "$ac_cv_use_pcx"
11371 if test "$no_cache" != 1; then
11372 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11375 if test "$wxUSE_PCX" = yes; then
11376 echo "$as_me:$LINENO: result: yes" >&5
11377 echo "${ECHO_T}yes" >&6
11379 echo "$as_me:$LINENO: result: no" >&5
11380 echo "${ECHO_T}no" >&6
11385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11386 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11388 # Check whether --enable-iff or --disable-iff was given.
11389 if test "${enable_iff+set}" = set; then
11390 enableval="$enable_iff"
11392 if test "$enableval" = yes; then
11393 ac_cv_use_iff='wxUSE_IFF=yes'
11395 ac_cv_use_iff='wxUSE_IFF=no'
11400 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11401 if test "x$LINE" != x ; then
11402 eval "DEFAULT_$LINE"
11407 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11411 eval "$ac_cv_use_iff"
11412 if test "$no_cache" != 1; then
11413 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11416 if test "$wxUSE_IFF" = yes; then
11417 echo "$as_me:$LINENO: result: yes" >&5
11418 echo "${ECHO_T}yes" >&6
11420 echo "$as_me:$LINENO: result: no" >&5
11421 echo "${ECHO_T}no" >&6
11426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11427 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11429 # Check whether --enable-pnm or --disable-pnm was given.
11430 if test "${enable_pnm+set}" = set; then
11431 enableval="$enable_pnm"
11433 if test "$enableval" = yes; then
11434 ac_cv_use_pnm='wxUSE_PNM=yes'
11436 ac_cv_use_pnm='wxUSE_PNM=no'
11441 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11442 if test "x$LINE" != x ; then
11443 eval "DEFAULT_$LINE"
11448 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11452 eval "$ac_cv_use_pnm"
11453 if test "$no_cache" != 1; then
11454 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11457 if test "$wxUSE_PNM" = yes; then
11458 echo "$as_me:$LINENO: result: yes" >&5
11459 echo "${ECHO_T}yes" >&6
11461 echo "$as_me:$LINENO: result: no" >&5
11462 echo "${ECHO_T}no" >&6
11467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11468 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11470 # Check whether --enable-xpm or --disable-xpm was given.
11471 if test "${enable_xpm+set}" = set; then
11472 enableval="$enable_xpm"
11474 if test "$enableval" = yes; then
11475 ac_cv_use_xpm='wxUSE_XPM=yes'
11477 ac_cv_use_xpm='wxUSE_XPM=no'
11482 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11483 if test "x$LINE" != x ; then
11484 eval "DEFAULT_$LINE"
11489 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11493 eval "$ac_cv_use_xpm"
11494 if test "$no_cache" != 1; then
11495 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11498 if test "$wxUSE_XPM" = yes; then
11499 echo "$as_me:$LINENO: result: yes" >&5
11500 echo "${ECHO_T}yes" >&6
11502 echo "$as_me:$LINENO: result: no" >&5
11503 echo "${ECHO_T}no" >&6
11508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11509 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11511 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11512 if test "${enable_ico_cur+set}" = set; then
11513 enableval="$enable_ico_cur"
11515 if test "$enableval" = yes; then
11516 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11518 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11523 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11524 if test "x$LINE" != x ; then
11525 eval "DEFAULT_$LINE"
11530 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11534 eval "$ac_cv_use_ico_cur"
11535 if test "$no_cache" != 1; then
11536 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11539 if test "$wxUSE_ICO_CUR" = yes; then
11540 echo "$as_me:$LINENO: result: yes" >&5
11541 echo "${ECHO_T}yes" >&6
11543 echo "$as_me:$LINENO: result: no" >&5
11544 echo "${ECHO_T}no" >&6
11552 # Check whether --with-flavour or --without-flavour was given.
11553 if test "${with_flavour+set}" = set; then
11554 withval="$with_flavour"
11555 WX_FLAVOUR="$withval"
11561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11562 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11564 # Check whether --enable-official_build or --disable-official_build was given.
11565 if test "${enable_official_build+set}" = set; then
11566 enableval="$enable_official_build"
11568 if test "$enableval" = yes; then
11569 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11571 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11576 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11577 if test "x$LINE" != x ; then
11578 eval "DEFAULT_$LINE"
11583 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11587 eval "$ac_cv_use_official_build"
11588 if test "$no_cache" != 1; then
11589 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11592 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11593 echo "$as_me:$LINENO: result: yes" >&5
11594 echo "${ECHO_T}yes" >&6
11596 echo "$as_me:$LINENO: result: no" >&5
11597 echo "${ECHO_T}no" >&6
11600 # Check whether --enable-vendor or --disable-vendor was given.
11601 if test "${enable_vendor+set}" = set; then
11602 enableval="$enable_vendor"
11603 VENDOR="$enableval"
11605 if test "x$VENDOR" = "x"; then
11612 echo "saving argument cache $wx_arg_cache_file"
11613 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11617 echo "$as_me:$LINENO: checking for toolkit" >&5
11618 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11620 # In Wine, we need to default to MSW, not GTK or MOTIF
11621 if test "$wxUSE_WINE" = "yes"; then
11622 DEFAULT_DEFAULT_wxUSE_GTK=0
11623 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11624 DEFAULT_DEFAULT_wxUSE_MSW=1
11629 if test "$wxUSE_GUI" = "yes"; then
11631 if test "$USE_BEOS" = 1; then
11632 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11633 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11634 { (exit 1); exit 1; }; }
11637 if test "$TOOLKIT_GIVEN" = 1; then
11638 for toolkit in `echo $ALL_TOOLKITS`; do
11640 eval "value=\$${var}"
11641 if test "x$value" = "xno"; then
11643 elif test "x$value" != "x"; then
11647 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11648 eval "wx${toolkit}_VERSION=$value"
11652 for toolkit in `echo $ALL_TOOLKITS`; do
11653 if test "$has_toolkit_in_cache" != 1; then
11654 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11656 var=DEFAULT_wxUSE_$toolkit
11658 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11659 if test "x$version" != "x"; then
11660 eval "wx${toolkit}_VERSION=$version"
11663 eval "wxUSE_$toolkit=\$${var}"
11667 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11668 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11669 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11672 *-pc-os2_emx | *-pc-os2-emx )
11673 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11676 case "$NUM_TOOLKITS" in
11680 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11681 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11682 { (exit 1); exit 1; }; }
11685 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11686 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11687 { (exit 1); exit 1; }; }
11690 # to be removed when --disable-gtk2 isn't needed
11691 if test "x$wxUSE_GTK2" = "xyes"; then
11693 elif test "x$wxUSE_GTK2" = "xno"; then
11697 for toolkit in `echo $ALL_TOOLKITS`; do
11699 eval "value=\$${var}"
11700 if test "x$value" != x; then
11701 cache_var=CACHE_$toolkit
11702 eval "cache=\$${cache_var}"
11703 if test "$cache" = 1; then
11704 echo "$var=$value" >> ${wx_arg_cache_file}
11705 eval "version=\$wx${toolkit}_VERSION"
11706 if test "x$version" != "x"; then
11707 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11710 if test "$value" = 1; then
11711 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11712 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11713 echo "${ECHO_T}$toolkit_echo" >&6
11718 if test "x$host_alias" != "x"; then
11719 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11720 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11722 echo "$as_me:$LINENO: result: base only" >&5
11723 echo "${ECHO_T}base only" >&6
11728 doesnt_want_win32=0
11731 if test "$wxUSE_MSW" = 1 ; then
11733 BAKEFILE_FORCE_PLATFORM=win32
11735 doesnt_want_win32=1
11743 if test "$wxUSE_WINE" = "yes"; then
11747 LDFLAGS_GUI="-mwindows"
11750 if test "$wants_win32" = 1 ; then
11753 cat >>confdefs.h <<\_ACEOF
11754 #define __WIN32__ 1
11757 cat >>confdefs.h <<\_ACEOF
11758 #define __WIN95__ 1
11761 cat >>confdefs.h <<\_ACEOF
11762 #define __WINDOWS__ 1
11765 cat >>confdefs.h <<\_ACEOF
11766 #define __GNUWIN32__ 1
11769 cat >>confdefs.h <<\_ACEOF
11773 cat >>confdefs.h <<\_ACEOF
11774 #define WINVER 0x0400
11778 if test "$doesnt_want_win32" = 1 ; then
11783 if test "$USE_UNIX" = 1 ; then
11785 cat >>confdefs.h <<\_ACEOF
11792 cat >confcache <<\_ACEOF
11793 # This file is a shell script that caches the results of configure
11794 # tests run on this system so they can be shared between configure
11795 # scripts and configure runs, see configure's option --config-cache.
11796 # It is not useful on other systems. If it contains results you don't
11797 # want to keep, you may remove or edit it.
11799 # config.status only pays attention to the cache file if you give it
11800 # the --recheck option to rerun configure.
11802 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11803 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11804 # following values.
11808 # The following way of writing the cache mishandles newlines in values,
11809 # but we know of no workaround that is simple, portable, and efficient.
11810 # So, don't put newlines in cache variables' values.
11811 # Ultrix sh set writes to stderr and can't be redirected directly,
11812 # and sets the high bit in the cache file unless we assign to the vars.
11815 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11817 # `set' does not quote correctly, so add quotes (double-quote
11818 # substitution turns \\\\ into \\, and sed turns \\ into \).
11821 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11824 # `set' quotes correctly as required by POSIX, so do not add quotes.
11826 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11833 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11835 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11837 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11838 if test -w $cache_file; then
11839 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11840 cat confcache >$cache_file
11842 echo "not updating unwritable cache $cache_file"
11852 ac_cpp='$CPP $CPPFLAGS'
11853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11856 if test -n "$ac_tool_prefix"; then
11857 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11858 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11859 echo "$as_me:$LINENO: checking for $ac_word" >&5
11860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11861 if test "${ac_cv_prog_CC+set}" = set; then
11862 echo $ECHO_N "(cached) $ECHO_C" >&6
11864 if test -n "$CC"; then
11865 ac_cv_prog_CC="$CC" # Let the user override the test.
11867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11868 for as_dir in $PATH
11871 test -z "$as_dir" && as_dir=.
11872 for ac_exec_ext in '' $ac_executable_extensions; do
11873 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11874 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11884 if test -n "$CC"; then
11885 echo "$as_me:$LINENO: result: $CC" >&5
11886 echo "${ECHO_T}$CC" >&6
11888 echo "$as_me:$LINENO: result: no" >&5
11889 echo "${ECHO_T}no" >&6
11893 if test -z "$ac_cv_prog_CC"; then
11895 # Extract the first word of "gcc", so it can be a program name with args.
11896 set dummy gcc; ac_word=$2
11897 echo "$as_me:$LINENO: checking for $ac_word" >&5
11898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11899 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11900 echo $ECHO_N "(cached) $ECHO_C" >&6
11902 if test -n "$ac_ct_CC"; then
11903 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11906 for as_dir in $PATH
11909 test -z "$as_dir" && as_dir=.
11910 for ac_exec_ext in '' $ac_executable_extensions; do
11911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11912 ac_cv_prog_ac_ct_CC="gcc"
11913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11921 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11922 if test -n "$ac_ct_CC"; then
11923 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11924 echo "${ECHO_T}$ac_ct_CC" >&6
11926 echo "$as_me:$LINENO: result: no" >&5
11927 echo "${ECHO_T}no" >&6
11932 CC="$ac_cv_prog_CC"
11935 if test -z "$CC"; then
11936 if test -n "$ac_tool_prefix"; then
11937 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11938 set dummy ${ac_tool_prefix}cc; ac_word=$2
11939 echo "$as_me:$LINENO: checking for $ac_word" >&5
11940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11941 if test "${ac_cv_prog_CC+set}" = set; then
11942 echo $ECHO_N "(cached) $ECHO_C" >&6
11944 if test -n "$CC"; then
11945 ac_cv_prog_CC="$CC" # Let the user override the test.
11947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11948 for as_dir in $PATH
11951 test -z "$as_dir" && as_dir=.
11952 for ac_exec_ext in '' $ac_executable_extensions; do
11953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11954 ac_cv_prog_CC="${ac_tool_prefix}cc"
11955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11964 if test -n "$CC"; then
11965 echo "$as_me:$LINENO: result: $CC" >&5
11966 echo "${ECHO_T}$CC" >&6
11968 echo "$as_me:$LINENO: result: no" >&5
11969 echo "${ECHO_T}no" >&6
11973 if test -z "$ac_cv_prog_CC"; then
11975 # Extract the first word of "cc", so it can be a program name with args.
11976 set dummy cc; ac_word=$2
11977 echo "$as_me:$LINENO: checking for $ac_word" >&5
11978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11979 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11980 echo $ECHO_N "(cached) $ECHO_C" >&6
11982 if test -n "$ac_ct_CC"; then
11983 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11986 for as_dir in $PATH
11989 test -z "$as_dir" && as_dir=.
11990 for ac_exec_ext in '' $ac_executable_extensions; do
11991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11992 ac_cv_prog_ac_ct_CC="cc"
11993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12001 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12002 if test -n "$ac_ct_CC"; then
12003 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12004 echo "${ECHO_T}$ac_ct_CC" >&6
12006 echo "$as_me:$LINENO: result: no" >&5
12007 echo "${ECHO_T}no" >&6
12012 CC="$ac_cv_prog_CC"
12016 if test -z "$CC"; then
12017 # Extract the first word of "cc", so it can be a program name with args.
12018 set dummy cc; ac_word=$2
12019 echo "$as_me:$LINENO: checking for $ac_word" >&5
12020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12021 if test "${ac_cv_prog_CC+set}" = set; then
12022 echo $ECHO_N "(cached) $ECHO_C" >&6
12024 if test -n "$CC"; then
12025 ac_cv_prog_CC="$CC" # Let the user override the test.
12027 ac_prog_rejected=no
12028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12029 for as_dir in $PATH
12032 test -z "$as_dir" && as_dir=.
12033 for ac_exec_ext in '' $ac_executable_extensions; do
12034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12035 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12036 ac_prog_rejected=yes
12040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12046 if test $ac_prog_rejected = yes; then
12047 # We found a bogon in the path, so make sure we never use it.
12048 set dummy $ac_cv_prog_CC
12050 if test $# != 0; then
12051 # We chose a different compiler from the bogus one.
12052 # However, it has the same basename, so the bogon will be chosen
12053 # first if we set CC to just the basename; use the full file name.
12055 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12061 if test -n "$CC"; then
12062 echo "$as_me:$LINENO: result: $CC" >&5
12063 echo "${ECHO_T}$CC" >&6
12065 echo "$as_me:$LINENO: result: no" >&5
12066 echo "${ECHO_T}no" >&6
12070 if test -z "$CC"; then
12071 if test -n "$ac_tool_prefix"; then
12074 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12075 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12076 echo "$as_me:$LINENO: checking for $ac_word" >&5
12077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12078 if test "${ac_cv_prog_CC+set}" = set; then
12079 echo $ECHO_N "(cached) $ECHO_C" >&6
12081 if test -n "$CC"; then
12082 ac_cv_prog_CC="$CC" # Let the user override the test.
12084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12085 for as_dir in $PATH
12088 test -z "$as_dir" && as_dir=.
12089 for ac_exec_ext in '' $ac_executable_extensions; do
12090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12091 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12101 if test -n "$CC"; then
12102 echo "$as_me:$LINENO: result: $CC" >&5
12103 echo "${ECHO_T}$CC" >&6
12105 echo "$as_me:$LINENO: result: no" >&5
12106 echo "${ECHO_T}no" >&6
12109 test -n "$CC" && break
12112 if test -z "$CC"; then
12116 # Extract the first word of "$ac_prog", so it can be a program name with args.
12117 set dummy $ac_prog; ac_word=$2
12118 echo "$as_me:$LINENO: checking for $ac_word" >&5
12119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12120 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12121 echo $ECHO_N "(cached) $ECHO_C" >&6
12123 if test -n "$ac_ct_CC"; then
12124 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12127 for as_dir in $PATH
12130 test -z "$as_dir" && as_dir=.
12131 for ac_exec_ext in '' $ac_executable_extensions; do
12132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12133 ac_cv_prog_ac_ct_CC="$ac_prog"
12134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12142 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12143 if test -n "$ac_ct_CC"; then
12144 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12145 echo "${ECHO_T}$ac_ct_CC" >&6
12147 echo "$as_me:$LINENO: result: no" >&5
12148 echo "${ECHO_T}no" >&6
12151 test -n "$ac_ct_CC" && break
12160 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12161 See \`config.log' for more details." >&5
12162 echo "$as_me: error: no acceptable C compiler found in \$PATH
12163 See \`config.log' for more details." >&2;}
12164 { (exit 1); exit 1; }; }
12166 # Provide some information about the compiler.
12167 echo "$as_me:$LINENO:" \
12168 "checking for C compiler version" >&5
12169 ac_compiler=`set X $ac_compile; echo $2`
12170 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12171 (eval $ac_compiler --version </dev/null >&5) 2>&5
12173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12174 (exit $ac_status); }
12175 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12176 (eval $ac_compiler -v </dev/null >&5) 2>&5
12178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179 (exit $ac_status); }
12180 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12181 (eval $ac_compiler -V </dev/null >&5) 2>&5
12183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12184 (exit $ac_status); }
12186 cat >conftest.$ac_ext <<_ACEOF
12189 cat confdefs.h >>conftest.$ac_ext
12190 cat >>conftest.$ac_ext <<_ACEOF
12191 /* end confdefs.h. */
12201 ac_clean_files_save=$ac_clean_files
12202 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12203 # Try to create an executable without -o first, disregard a.out.
12204 # It will help us diagnose broken compilers, and finding out an intuition
12206 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12207 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12208 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12209 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12210 (eval $ac_link_default) 2>&5
12212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12213 (exit $ac_status); }; then
12214 # Find the output, starting from the most likely. This scheme is
12215 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12218 # Be careful to initialize this variable, since it used to be cached.
12219 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12221 # b.out is created by i960 compilers.
12222 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12224 test -f "$ac_file" || continue
12226 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12229 # This is the source file.
12232 # We found the default executable, but exeext='' is most
12236 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12237 # FIXME: I believe we export ac_cv_exeext for Libtool,
12238 # but it would be cool to find out if it's true. Does anybody
12239 # maintain Libtool? --akim.
12240 export ac_cv_exeext
12247 echo "$as_me: failed program was:" >&5
12248 sed 's/^/| /' conftest.$ac_ext >&5
12250 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12251 See \`config.log' for more details." >&5
12252 echo "$as_me: error: C compiler cannot create executables
12253 See \`config.log' for more details." >&2;}
12254 { (exit 77); exit 77; }; }
12257 ac_exeext=$ac_cv_exeext
12258 echo "$as_me:$LINENO: result: $ac_file" >&5
12259 echo "${ECHO_T}$ac_file" >&6
12261 # Check the compiler produces executables we can run. If not, either
12262 # the compiler is broken, or we cross compile.
12263 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12264 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12265 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12266 # If not cross compiling, check that we can run a simple program.
12267 if test "$cross_compiling" != yes; then
12268 if { ac_try='./$ac_file'
12269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12270 (eval $ac_try) 2>&5
12272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 (exit $ac_status); }; }; then
12276 if test "$cross_compiling" = maybe; then
12277 cross_compiling=yes
12279 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12280 If you meant to cross compile, use \`--host'.
12281 See \`config.log' for more details." >&5
12282 echo "$as_me: error: cannot run C compiled programs.
12283 If you meant to cross compile, use \`--host'.
12284 See \`config.log' for more details." >&2;}
12285 { (exit 1); exit 1; }; }
12289 echo "$as_me:$LINENO: result: yes" >&5
12290 echo "${ECHO_T}yes" >&6
12292 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12293 ac_clean_files=$ac_clean_files_save
12294 # Check the compiler produces executables we can run. If not, either
12295 # the compiler is broken, or we cross compile.
12296 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12297 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12298 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12299 echo "${ECHO_T}$cross_compiling" >&6
12301 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12302 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12304 (eval $ac_link) 2>&5
12306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12307 (exit $ac_status); }; then
12308 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12309 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12310 # work properly (i.e., refer to `conftest.exe'), while it won't with
12312 for ac_file in conftest.exe conftest conftest.*; do
12313 test -f "$ac_file" || continue
12315 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12316 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12317 export ac_cv_exeext
12323 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12324 See \`config.log' for more details." >&5
12325 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12326 See \`config.log' for more details." >&2;}
12327 { (exit 1); exit 1; }; }
12330 rm -f conftest$ac_cv_exeext
12331 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12332 echo "${ECHO_T}$ac_cv_exeext" >&6
12334 rm -f conftest.$ac_ext
12335 EXEEXT=$ac_cv_exeext
12337 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12338 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12339 if test "${ac_cv_objext+set}" = set; then
12340 echo $ECHO_N "(cached) $ECHO_C" >&6
12342 cat >conftest.$ac_ext <<_ACEOF
12345 cat confdefs.h >>conftest.$ac_ext
12346 cat >>conftest.$ac_ext <<_ACEOF
12347 /* end confdefs.h. */
12357 rm -f conftest.o conftest.obj
12358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12359 (eval $ac_compile) 2>&5
12361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12362 (exit $ac_status); }; then
12363 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12365 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12366 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12371 echo "$as_me: failed program was:" >&5
12372 sed 's/^/| /' conftest.$ac_ext >&5
12374 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12375 See \`config.log' for more details." >&5
12376 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12377 See \`config.log' for more details." >&2;}
12378 { (exit 1); exit 1; }; }
12381 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12383 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12384 echo "${ECHO_T}$ac_cv_objext" >&6
12385 OBJEXT=$ac_cv_objext
12387 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12388 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12389 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12390 echo $ECHO_N "(cached) $ECHO_C" >&6
12392 cat >conftest.$ac_ext <<_ACEOF
12395 cat confdefs.h >>conftest.$ac_ext
12396 cat >>conftest.$ac_ext <<_ACEOF
12397 /* end confdefs.h. */
12410 rm -f conftest.$ac_objext
12411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12412 (eval $ac_compile) 2>conftest.er1
12414 grep -v '^ *+' conftest.er1 >conftest.err
12416 cat conftest.err >&5
12417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12418 (exit $ac_status); } &&
12419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12421 (eval $ac_try) 2>&5
12423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12424 (exit $ac_status); }; } &&
12425 { ac_try='test -s conftest.$ac_objext'
12426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12427 (eval $ac_try) 2>&5
12429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12430 (exit $ac_status); }; }; then
12431 ac_compiler_gnu=yes
12433 echo "$as_me: failed program was:" >&5
12434 sed 's/^/| /' conftest.$ac_ext >&5
12438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12439 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12442 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12443 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12444 GCC=`test $ac_compiler_gnu = yes && echo yes`
12445 ac_test_CFLAGS=${CFLAGS+set}
12446 ac_save_CFLAGS=$CFLAGS
12448 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12449 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12450 if test "${ac_cv_prog_cc_g+set}" = set; then
12451 echo $ECHO_N "(cached) $ECHO_C" >&6
12453 cat >conftest.$ac_ext <<_ACEOF
12456 cat confdefs.h >>conftest.$ac_ext
12457 cat >>conftest.$ac_ext <<_ACEOF
12458 /* end confdefs.h. */
12468 rm -f conftest.$ac_objext
12469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12470 (eval $ac_compile) 2>conftest.er1
12472 grep -v '^ *+' conftest.er1 >conftest.err
12474 cat conftest.err >&5
12475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12476 (exit $ac_status); } &&
12477 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12479 (eval $ac_try) 2>&5
12481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12482 (exit $ac_status); }; } &&
12483 { ac_try='test -s conftest.$ac_objext'
12484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12485 (eval $ac_try) 2>&5
12487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12488 (exit $ac_status); }; }; then
12489 ac_cv_prog_cc_g=yes
12491 echo "$as_me: failed program was:" >&5
12492 sed 's/^/| /' conftest.$ac_ext >&5
12496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12498 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12499 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12500 if test "$ac_test_CFLAGS" = set; then
12501 CFLAGS=$ac_save_CFLAGS
12502 elif test $ac_cv_prog_cc_g = yes; then
12503 if test "$GCC" = yes; then
12509 if test "$GCC" = yes; then
12515 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12516 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12517 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12518 echo $ECHO_N "(cached) $ECHO_C" >&6
12520 ac_cv_prog_cc_stdc=no
12522 cat >conftest.$ac_ext <<_ACEOF
12525 cat confdefs.h >>conftest.$ac_ext
12526 cat >>conftest.$ac_ext <<_ACEOF
12527 /* end confdefs.h. */
12528 #include <stdarg.h>
12530 #include <sys/types.h>
12531 #include <sys/stat.h>
12532 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12533 struct buf { int x; };
12534 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12535 static char *e (p, i)
12541 static char *f (char * (*g) (char **, int), char **p, ...)
12546 s = g (p, va_arg (v,int));
12551 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12552 function prototypes and stuff, but not '\xHH' hex character constants.
12553 These don't provoke an error unfortunately, instead are silently treated
12554 as 'x'. The following induces an error, until -std1 is added to get
12555 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12556 array size at least. It's necessary to write '\x00'==0 to get something
12557 that's true only with -std1. */
12558 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12560 int test (int i, double x);
12561 struct s1 {int (*f) (int a);};
12562 struct s2 {int (*f) (double a);};
12563 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12569 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12574 # Don't try gcc -ansi; that turns off useful extensions and
12575 # breaks some systems' header files.
12576 # AIX -qlanglvl=ansi
12577 # Ultrix and OSF/1 -std1
12578 # HP-UX 10.20 and later -Ae
12579 # HP-UX older versions -Aa -D_HPUX_SOURCE
12580 # SVR4 -Xc -D__EXTENSIONS__
12581 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12583 CC="$ac_save_CC $ac_arg"
12584 rm -f conftest.$ac_objext
12585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12586 (eval $ac_compile) 2>conftest.er1
12588 grep -v '^ *+' conftest.er1 >conftest.err
12590 cat conftest.err >&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); } &&
12593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12595 (eval $ac_try) 2>&5
12597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 (exit $ac_status); }; } &&
12599 { ac_try='test -s conftest.$ac_objext'
12600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12601 (eval $ac_try) 2>&5
12603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604 (exit $ac_status); }; }; then
12605 ac_cv_prog_cc_stdc=$ac_arg
12608 echo "$as_me: failed program was:" >&5
12609 sed 's/^/| /' conftest.$ac_ext >&5
12612 rm -f conftest.err conftest.$ac_objext
12614 rm -f conftest.$ac_ext conftest.$ac_objext
12619 case "x$ac_cv_prog_cc_stdc" in
12621 echo "$as_me:$LINENO: result: none needed" >&5
12622 echo "${ECHO_T}none needed" >&6 ;;
12624 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12625 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12626 CC="$CC $ac_cv_prog_cc_stdc" ;;
12629 # Some people use a C++ compiler to compile C. Since we use `exit',
12630 # in C++ we need to declare it. In case someone uses the same compiler
12631 # for both compiling C and C++ we need to have the C++ compiler decide
12632 # the declaration of exit, since it's the most demanding environment.
12633 cat >conftest.$ac_ext <<_ACEOF
12634 #ifndef __cplusplus
12638 rm -f conftest.$ac_objext
12639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12640 (eval $ac_compile) 2>conftest.er1
12642 grep -v '^ *+' conftest.er1 >conftest.err
12644 cat conftest.err >&5
12645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 (exit $ac_status); } &&
12647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12649 (eval $ac_try) 2>&5
12651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12652 (exit $ac_status); }; } &&
12653 { ac_try='test -s conftest.$ac_objext'
12654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12655 (eval $ac_try) 2>&5
12657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12658 (exit $ac_status); }; }; then
12659 for ac_declaration in \
12661 'extern "C" void std::exit (int) throw (); using std::exit;' \
12662 'extern "C" void std::exit (int); using std::exit;' \
12663 'extern "C" void exit (int) throw ();' \
12664 'extern "C" void exit (int);' \
12667 cat >conftest.$ac_ext <<_ACEOF
12670 cat confdefs.h >>conftest.$ac_ext
12671 cat >>conftest.$ac_ext <<_ACEOF
12672 /* end confdefs.h. */
12674 #include <stdlib.h>
12683 rm -f conftest.$ac_objext
12684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12685 (eval $ac_compile) 2>conftest.er1
12687 grep -v '^ *+' conftest.er1 >conftest.err
12689 cat conftest.err >&5
12690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12691 (exit $ac_status); } &&
12692 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12694 (eval $ac_try) 2>&5
12696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697 (exit $ac_status); }; } &&
12698 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
12706 echo "$as_me: failed program was:" >&5
12707 sed 's/^/| /' conftest.$ac_ext >&5
12711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12712 cat >conftest.$ac_ext <<_ACEOF
12715 cat confdefs.h >>conftest.$ac_ext
12716 cat >>conftest.$ac_ext <<_ACEOF
12717 /* end confdefs.h. */
12727 rm -f conftest.$ac_objext
12728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12729 (eval $ac_compile) 2>conftest.er1
12731 grep -v '^ *+' conftest.er1 >conftest.err
12733 cat conftest.err >&5
12734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735 (exit $ac_status); } &&
12736 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12738 (eval $ac_try) 2>&5
12740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12741 (exit $ac_status); }; } &&
12742 { ac_try='test -s conftest.$ac_objext'
12743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12744 (eval $ac_try) 2>&5
12746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12747 (exit $ac_status); }; }; then
12750 echo "$as_me: failed program was:" >&5
12751 sed 's/^/| /' conftest.$ac_ext >&5
12754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12757 if test -n "$ac_declaration"; then
12758 echo '#ifdef __cplusplus' >>confdefs.h
12759 echo $ac_declaration >>confdefs.h
12760 echo '#endif' >>confdefs.h
12764 echo "$as_me: failed program was:" >&5
12765 sed 's/^/| /' conftest.$ac_ext >&5
12768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12770 ac_cpp='$CPP $CPPFLAGS'
12771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12778 ac_cpp='$CPP $CPPFLAGS'
12779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12783 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12784 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12785 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12786 echo $ECHO_N "(cached) $ECHO_C" >&6
12788 cat >conftest.$ac_ext <<_ACEOF
12791 cat confdefs.h >>conftest.$ac_ext
12792 cat >>conftest.$ac_ext <<_ACEOF
12793 /* end confdefs.h. */
12799 #ifndef __INTEL_COMPILER
12807 rm -f conftest.$ac_objext
12808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12809 (eval $ac_compile) 2>conftest.er1
12811 grep -v '^ *+' conftest.er1 >conftest.err
12813 cat conftest.err >&5
12814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12815 (exit $ac_status); } &&
12816 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12818 (eval $ac_try) 2>&5
12820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12821 (exit $ac_status); }; } &&
12822 { ac_try='test -s conftest.$ac_objext'
12823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12824 (eval $ac_try) 2>&5
12826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12827 (exit $ac_status); }; }; then
12828 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12830 echo "$as_me: failed program was:" >&5
12831 sed 's/^/| /' conftest.$ac_ext >&5
12833 bakefile_cv_c_compiler___INTEL_COMPILER=no
12836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12840 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12841 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12843 ac_cpp='$CPP $CPPFLAGS'
12844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12848 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12855 if test "x$GCC" != "xyes"; then
12856 if test "xCC" = "xC"; then
12857 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12858 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12859 if test "${bakefile_cv_c_exto+set}" = set; then
12860 echo $ECHO_N "(cached) $ECHO_C" >&6
12862 cat >conftest.$ac_ext <<_ACEOF
12865 cat confdefs.h >>conftest.$ac_ext
12866 cat >>conftest.$ac_ext <<_ACEOF
12867 /* end confdefs.h. */
12877 rm -f conftest.$ac_objext conftest.$ac_ext.o
12878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12879 (eval $ac_compile) 2>&5
12881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12882 (exit $ac_status); }; then
12883 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12885 conftest.$ac_ext.o)
12886 bakefile_cv_c_exto="-ext o"
12893 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12894 See \`config.log' for more details." >&5
12895 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12896 See \`config.log' for more details." >&2;}
12897 { (exit 1); exit 1; }; }
12901 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12904 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12905 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12906 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12907 if test "c" = "c"; then
12908 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
12910 if test "c" = "cxx"; then
12911 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
12915 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12916 unset ac_cv_prog_cc_g
12917 ac_test_CFLAGS=${CFLAGS+set}
12918 ac_save_CFLAGS=$CFLAGS
12920 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12921 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12922 if test "${ac_cv_prog_cc_g+set}" = set; then
12923 echo $ECHO_N "(cached) $ECHO_C" >&6
12925 cat >conftest.$ac_ext <<_ACEOF
12928 cat confdefs.h >>conftest.$ac_ext
12929 cat >>conftest.$ac_ext <<_ACEOF
12930 /* end confdefs.h. */
12940 rm -f conftest.$ac_objext
12941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12942 (eval $ac_compile) 2>conftest.er1
12944 grep -v '^ *+' conftest.er1 >conftest.err
12946 cat conftest.err >&5
12947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12948 (exit $ac_status); } &&
12949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12951 (eval $ac_try) 2>&5
12953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12954 (exit $ac_status); }; } &&
12955 { ac_try='test -s conftest.$ac_objext'
12956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12957 (eval $ac_try) 2>&5
12959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12960 (exit $ac_status); }; }; then
12961 ac_cv_prog_cc_g=yes
12963 echo "$as_me: failed program was:" >&5
12964 sed 's/^/| /' conftest.$ac_ext >&5
12968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12970 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12971 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12972 if test "$ac_test_CFLAGS" = set; then
12973 CFLAGS=$ac_save_CFLAGS
12974 elif test $ac_cv_prog_cc_g = yes; then
12975 if test "$GCC" = yes; then
12981 if test "$GCC" = yes; then
12993 ac_cpp='$CPP $CPPFLAGS'
12994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12998 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12999 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13000 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13001 echo $ECHO_N "(cached) $ECHO_C" >&6
13003 cat >conftest.$ac_ext <<_ACEOF
13006 cat confdefs.h >>conftest.$ac_ext
13007 cat >>conftest.$ac_ext <<_ACEOF
13008 /* end confdefs.h. */
13021 rm -f conftest.$ac_objext
13022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13023 (eval $ac_compile) 2>conftest.er1
13025 grep -v '^ *+' conftest.er1 >conftest.err
13027 cat conftest.err >&5
13028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13029 (exit $ac_status); } &&
13030 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13032 (eval $ac_try) 2>&5
13034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13035 (exit $ac_status); }; } &&
13036 { ac_try='test -s conftest.$ac_objext'
13037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13038 (eval $ac_try) 2>&5
13040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13041 (exit $ac_status); }; }; then
13042 bakefile_compiler_xlc=yes
13044 echo "$as_me: failed program was:" >&5
13045 sed 's/^/| /' conftest.$ac_ext >&5
13047 bakefile_compiler_xlc=no
13049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13050 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13053 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13054 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13056 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13058 ac_cpp='$CPP $CPPFLAGS'
13059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
13073 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13074 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13075 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13076 echo $ECHO_N "(cached) $ECHO_C" >&6
13078 cat >conftest.$ac_ext <<_ACEOF
13081 cat confdefs.h >>conftest.$ac_ext
13082 cat >>conftest.$ac_ext <<_ACEOF
13083 /* end confdefs.h. */
13096 rm -f conftest.$ac_objext
13097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13098 (eval $ac_compile) 2>conftest.er1
13100 grep -v '^ *+' conftest.er1 >conftest.err
13102 cat conftest.err >&5
13103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13104 (exit $ac_status); } &&
13105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13107 (eval $ac_try) 2>&5
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); }; } &&
13111 { ac_try='test -s conftest.$ac_objext'
13112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13113 (eval $ac_try) 2>&5
13115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13116 (exit $ac_status); }; }; then
13117 bakefile_compiler_mwerks=yes
13119 echo "$as_me: failed program was:" >&5
13120 sed 's/^/| /' conftest.$ac_ext >&5
13122 bakefile_compiler_mwerks=no
13124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13125 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13128 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13129 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13131 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13133 ac_cpp='$CPP $CPPFLAGS'
13134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13140 ac_cpp='$CPP $CPPFLAGS'
13141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13145 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13146 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13147 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13148 echo $ECHO_N "(cached) $ECHO_C" >&6
13150 cat >conftest.$ac_ext <<_ACEOF
13153 cat confdefs.h >>conftest.$ac_ext
13154 cat >>conftest.$ac_ext <<_ACEOF
13155 /* end confdefs.h. */
13168 rm -f conftest.$ac_objext
13169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13170 (eval $ac_compile) 2>conftest.er1
13172 grep -v '^ *+' conftest.er1 >conftest.err
13174 cat conftest.err >&5
13175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13176 (exit $ac_status); } &&
13177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13179 (eval $ac_try) 2>&5
13181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13182 (exit $ac_status); }; } &&
13183 { ac_try='test -s conftest.$ac_objext'
13184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13185 (eval $ac_try) 2>&5
13187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13188 (exit $ac_status); }; }; then
13189 bakefile_compiler_xlc=yes
13191 echo "$as_me: failed program was:" >&5
13192 sed 's/^/| /' conftest.$ac_ext >&5
13194 bakefile_compiler_xlc=no
13196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13197 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13200 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13201 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13203 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13205 ac_cpp='$CPP $CPPFLAGS'
13206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
13222 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13223 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13224 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13225 echo $ECHO_N "(cached) $ECHO_C" >&6
13227 cat >conftest.$ac_ext <<_ACEOF
13230 cat confdefs.h >>conftest.$ac_ext
13231 cat >>conftest.$ac_ext <<_ACEOF
13232 /* end confdefs.h. */
13238 #ifndef _SGI_COMPILER_VERSION
13246 rm -f conftest.$ac_objext
13247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13248 (eval $ac_compile) 2>conftest.er1
13250 grep -v '^ *+' conftest.er1 >conftest.err
13252 cat conftest.err >&5
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); } &&
13255 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13257 (eval $ac_try) 2>&5
13259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260 (exit $ac_status); }; } &&
13261 { ac_try='test -s conftest.$ac_objext'
13262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13263 (eval $ac_try) 2>&5
13265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13266 (exit $ac_status); }; }; then
13267 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13269 echo "$as_me: failed program was:" >&5
13270 sed 's/^/| /' conftest.$ac_ext >&5
13272 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13279 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13280 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13282 ac_cpp='$CPP $CPPFLAGS'
13283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13287 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13300 ac_cpp='$CPP $CPPFLAGS'
13301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13305 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13306 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13307 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13308 echo $ECHO_N "(cached) $ECHO_C" >&6
13310 cat >conftest.$ac_ext <<_ACEOF
13313 cat confdefs.h >>conftest.$ac_ext
13314 cat >>conftest.$ac_ext <<_ACEOF
13315 /* end confdefs.h. */
13329 rm -f conftest.$ac_objext
13330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13331 (eval $ac_compile) 2>conftest.er1
13333 grep -v '^ *+' conftest.er1 >conftest.err
13335 cat conftest.err >&5
13336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13337 (exit $ac_status); } &&
13338 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13340 (eval $ac_try) 2>&5
13342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13343 (exit $ac_status); }; } &&
13344 { ac_try='test -s conftest.$ac_objext'
13345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13346 (eval $ac_try) 2>&5
13348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); }; }; then
13350 bakefile_cv_c_compiler___HP_cc=yes
13352 echo "$as_me: failed program was:" >&5
13353 sed 's/^/| /' conftest.$ac_ext >&5
13355 bakefile_cv_c_compiler___HP_cc=no
13358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13362 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13363 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13365 ac_cpp='$CPP $CPPFLAGS'
13366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13370 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13383 ac_cpp='$CPP $CPPFLAGS'
13384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13388 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13389 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13390 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13391 echo $ECHO_N "(cached) $ECHO_C" >&6
13393 cat >conftest.$ac_ext <<_ACEOF
13396 cat confdefs.h >>conftest.$ac_ext
13397 cat >>conftest.$ac_ext <<_ACEOF
13398 /* end confdefs.h. */
13412 rm -f conftest.$ac_objext
13413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13414 (eval $ac_compile) 2>conftest.er1
13416 grep -v '^ *+' conftest.er1 >conftest.err
13418 cat conftest.err >&5
13419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13420 (exit $ac_status); } &&
13421 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13423 (eval $ac_try) 2>&5
13425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13426 (exit $ac_status); }; } &&
13427 { ac_try='test -s conftest.$ac_objext'
13428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13429 (eval $ac_try) 2>&5
13431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13432 (exit $ac_status); }; }; then
13433 bakefile_cv_c_compiler___DECC=yes
13435 echo "$as_me: failed program was:" >&5
13436 sed 's/^/| /' conftest.$ac_ext >&5
13438 bakefile_cv_c_compiler___DECC=no
13441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13445 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13446 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13448 ac_cpp='$CPP $CPPFLAGS'
13449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13453 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13466 ac_cpp='$CPP $CPPFLAGS'
13467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13471 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13472 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13473 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13474 echo $ECHO_N "(cached) $ECHO_C" >&6
13476 cat >conftest.$ac_ext <<_ACEOF
13479 cat confdefs.h >>conftest.$ac_ext
13480 cat >>conftest.$ac_ext <<_ACEOF
13481 /* end confdefs.h. */
13495 rm -f conftest.$ac_objext
13496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13497 (eval $ac_compile) 2>conftest.er1
13499 grep -v '^ *+' conftest.er1 >conftest.err
13501 cat conftest.err >&5
13502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13503 (exit $ac_status); } &&
13504 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13506 (eval $ac_try) 2>&5
13508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13509 (exit $ac_status); }; } &&
13510 { ac_try='test -s conftest.$ac_objext'
13511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13512 (eval $ac_try) 2>&5
13514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13515 (exit $ac_status); }; }; then
13516 bakefile_cv_c_compiler___SUNPRO_C=yes
13518 echo "$as_me: failed program was:" >&5
13519 sed 's/^/| /' conftest.$ac_ext >&5
13521 bakefile_cv_c_compiler___SUNPRO_C=no
13524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13528 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13529 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13531 ac_cpp='$CPP $CPPFLAGS'
13532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13536 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13550 ac_cpp='$CPP $CPPFLAGS'
13551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13554 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13555 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13556 # On Suns, sometimes $CPP names a directory.
13557 if test -n "$CPP" && test -d "$CPP"; then
13560 if test -z "$CPP"; then
13561 if test "${ac_cv_prog_CPP+set}" = set; then
13562 echo $ECHO_N "(cached) $ECHO_C" >&6
13564 # Double quotes because CPP needs to be expanded
13565 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13567 ac_preproc_ok=false
13568 for ac_c_preproc_warn_flag in '' yes
13570 # Use a header file that comes with gcc, so configuring glibc
13571 # with a fresh cross-compiler works.
13572 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13573 # <limits.h> exists even on freestanding compilers.
13574 # On the NeXT, cc -E runs the code through the compiler's parser,
13575 # not just through cpp. "Syntax error" is here to catch this case.
13576 cat >conftest.$ac_ext <<_ACEOF
13579 cat confdefs.h >>conftest.$ac_ext
13580 cat >>conftest.$ac_ext <<_ACEOF
13581 /* end confdefs.h. */
13583 # include <limits.h>
13585 # include <assert.h>
13589 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13590 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13592 grep -v '^ *+' conftest.er1 >conftest.err
13594 cat conftest.err >&5
13595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13596 (exit $ac_status); } >/dev/null; then
13597 if test -s conftest.err; then
13598 ac_cpp_err=$ac_c_preproc_warn_flag
13599 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13606 if test -z "$ac_cpp_err"; then
13609 echo "$as_me: failed program was:" >&5
13610 sed 's/^/| /' conftest.$ac_ext >&5
13612 # Broken: fails on valid input.
13615 rm -f conftest.err conftest.$ac_ext
13617 # OK, works on sane cases. Now check whether non-existent headers
13618 # can be detected and how.
13619 cat >conftest.$ac_ext <<_ACEOF
13622 cat confdefs.h >>conftest.$ac_ext
13623 cat >>conftest.$ac_ext <<_ACEOF
13624 /* end confdefs.h. */
13625 #include <ac_nonexistent.h>
13627 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13628 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13630 grep -v '^ *+' conftest.er1 >conftest.err
13632 cat conftest.err >&5
13633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13634 (exit $ac_status); } >/dev/null; then
13635 if test -s conftest.err; then
13636 ac_cpp_err=$ac_c_preproc_warn_flag
13637 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13644 if test -z "$ac_cpp_err"; then
13645 # Broken: success on invalid input.
13648 echo "$as_me: failed program was:" >&5
13649 sed 's/^/| /' conftest.$ac_ext >&5
13651 # Passes both tests.
13655 rm -f conftest.err conftest.$ac_ext
13658 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13659 rm -f conftest.err conftest.$ac_ext
13660 if $ac_preproc_ok; then
13665 ac_cv_prog_CPP=$CPP
13668 CPP=$ac_cv_prog_CPP
13670 ac_cv_prog_CPP=$CPP
13672 echo "$as_me:$LINENO: result: $CPP" >&5
13673 echo "${ECHO_T}$CPP" >&6
13674 ac_preproc_ok=false
13675 for ac_c_preproc_warn_flag in '' yes
13677 # Use a header file that comes with gcc, so configuring glibc
13678 # with a fresh cross-compiler works.
13679 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13680 # <limits.h> exists even on freestanding compilers.
13681 # On the NeXT, cc -E runs the code through the compiler's parser,
13682 # not just through cpp. "Syntax error" is here to catch this case.
13683 cat >conftest.$ac_ext <<_ACEOF
13686 cat confdefs.h >>conftest.$ac_ext
13687 cat >>conftest.$ac_ext <<_ACEOF
13688 /* end confdefs.h. */
13690 # include <limits.h>
13692 # include <assert.h>
13696 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13697 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13699 grep -v '^ *+' conftest.er1 >conftest.err
13701 cat conftest.err >&5
13702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703 (exit $ac_status); } >/dev/null; then
13704 if test -s conftest.err; then
13705 ac_cpp_err=$ac_c_preproc_warn_flag
13706 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13713 if test -z "$ac_cpp_err"; then
13716 echo "$as_me: failed program was:" >&5
13717 sed 's/^/| /' conftest.$ac_ext >&5
13719 # Broken: fails on valid input.
13722 rm -f conftest.err conftest.$ac_ext
13724 # OK, works on sane cases. Now check whether non-existent headers
13725 # can be detected and how.
13726 cat >conftest.$ac_ext <<_ACEOF
13729 cat confdefs.h >>conftest.$ac_ext
13730 cat >>conftest.$ac_ext <<_ACEOF
13731 /* end confdefs.h. */
13732 #include <ac_nonexistent.h>
13734 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13735 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13737 grep -v '^ *+' conftest.er1 >conftest.err
13739 cat conftest.err >&5
13740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13741 (exit $ac_status); } >/dev/null; then
13742 if test -s conftest.err; then
13743 ac_cpp_err=$ac_c_preproc_warn_flag
13744 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13751 if test -z "$ac_cpp_err"; then
13752 # Broken: success on invalid input.
13755 echo "$as_me: failed program was:" >&5
13756 sed 's/^/| /' conftest.$ac_ext >&5
13758 # Passes both tests.
13762 rm -f conftest.err conftest.$ac_ext
13765 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13766 rm -f conftest.err conftest.$ac_ext
13767 if $ac_preproc_ok; then
13770 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13771 See \`config.log' for more details." >&5
13772 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13773 See \`config.log' for more details." >&2;}
13774 { (exit 1); exit 1; }; }
13778 ac_cpp='$CPP $CPPFLAGS'
13779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13784 echo "$as_me:$LINENO: checking for egrep" >&5
13785 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13786 if test "${ac_cv_prog_egrep+set}" = set; then
13787 echo $ECHO_N "(cached) $ECHO_C" >&6
13789 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13790 then ac_cv_prog_egrep='grep -E'
13791 else ac_cv_prog_egrep='egrep'
13794 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13795 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13796 EGREP=$ac_cv_prog_egrep
13799 if test $ac_cv_c_compiler_gnu = yes; then
13800 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13801 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13802 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13803 echo $ECHO_N "(cached) $ECHO_C" >&6
13805 ac_pattern="Autoconf.*'x'"
13806 cat >conftest.$ac_ext <<_ACEOF
13809 cat confdefs.h >>conftest.$ac_ext
13810 cat >>conftest.$ac_ext <<_ACEOF
13811 /* end confdefs.h. */
13815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13816 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13817 ac_cv_prog_gcc_traditional=yes
13819 ac_cv_prog_gcc_traditional=no
13824 if test $ac_cv_prog_gcc_traditional = no; then
13825 cat >conftest.$ac_ext <<_ACEOF
13828 cat confdefs.h >>conftest.$ac_ext
13829 cat >>conftest.$ac_ext <<_ACEOF
13830 /* end confdefs.h. */
13831 #include <termio.h>
13834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13835 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13836 ac_cv_prog_gcc_traditional=yes
13842 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13843 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13844 if test $ac_cv_prog_gcc_traditional = yes; then
13845 CC="$CC -traditional"
13851 ac_cpp='$CXXCPP $CPPFLAGS'
13852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13857 CXXFLAGS=${CXXFLAGS:=}
13862 ac_cpp='$CXXCPP $CPPFLAGS'
13863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13866 if test -n "$ac_tool_prefix"; then
13867 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13869 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13870 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13871 echo "$as_me:$LINENO: checking for $ac_word" >&5
13872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13873 if test "${ac_cv_prog_CXX+set}" = set; then
13874 echo $ECHO_N "(cached) $ECHO_C" >&6
13876 if test -n "$CXX"; then
13877 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13880 for as_dir in $PATH
13883 test -z "$as_dir" && as_dir=.
13884 for ac_exec_ext in '' $ac_executable_extensions; do
13885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13886 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13895 CXX=$ac_cv_prog_CXX
13896 if test -n "$CXX"; then
13897 echo "$as_me:$LINENO: result: $CXX" >&5
13898 echo "${ECHO_T}$CXX" >&6
13900 echo "$as_me:$LINENO: result: no" >&5
13901 echo "${ECHO_T}no" >&6
13904 test -n "$CXX" && break
13907 if test -z "$CXX"; then
13909 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13911 # Extract the first word of "$ac_prog", so it can be a program name with args.
13912 set dummy $ac_prog; ac_word=$2
13913 echo "$as_me:$LINENO: checking for $ac_word" >&5
13914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13915 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13916 echo $ECHO_N "(cached) $ECHO_C" >&6
13918 if test -n "$ac_ct_CXX"; then
13919 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13922 for as_dir in $PATH
13925 test -z "$as_dir" && as_dir=.
13926 for ac_exec_ext in '' $ac_executable_extensions; do
13927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13928 ac_cv_prog_ac_ct_CXX="$ac_prog"
13929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13937 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13938 if test -n "$ac_ct_CXX"; then
13939 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13940 echo "${ECHO_T}$ac_ct_CXX" >&6
13942 echo "$as_me:$LINENO: result: no" >&5
13943 echo "${ECHO_T}no" >&6
13946 test -n "$ac_ct_CXX" && break
13948 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
13954 # Provide some information about the compiler.
13955 echo "$as_me:$LINENO:" \
13956 "checking for C++ compiler version" >&5
13957 ac_compiler=`set X $ac_compile; echo $2`
13958 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13959 (eval $ac_compiler --version </dev/null >&5) 2>&5
13961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13962 (exit $ac_status); }
13963 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13964 (eval $ac_compiler -v </dev/null >&5) 2>&5
13966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13967 (exit $ac_status); }
13968 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13969 (eval $ac_compiler -V </dev/null >&5) 2>&5
13971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13972 (exit $ac_status); }
13974 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13975 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13976 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13977 echo $ECHO_N "(cached) $ECHO_C" >&6
13979 cat >conftest.$ac_ext <<_ACEOF
13982 cat confdefs.h >>conftest.$ac_ext
13983 cat >>conftest.$ac_ext <<_ACEOF
13984 /* end confdefs.h. */
13997 rm -f conftest.$ac_objext
13998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13999 (eval $ac_compile) 2>conftest.er1
14001 grep -v '^ *+' conftest.er1 >conftest.err
14003 cat conftest.err >&5
14004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14005 (exit $ac_status); } &&
14006 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14008 (eval $ac_try) 2>&5
14010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011 (exit $ac_status); }; } &&
14012 { ac_try='test -s conftest.$ac_objext'
14013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14014 (eval $ac_try) 2>&5
14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 (exit $ac_status); }; }; then
14018 ac_compiler_gnu=yes
14020 echo "$as_me: failed program was:" >&5
14021 sed 's/^/| /' conftest.$ac_ext >&5
14025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14026 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14029 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14030 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14031 GXX=`test $ac_compiler_gnu = yes && echo yes`
14032 ac_test_CXXFLAGS=${CXXFLAGS+set}
14033 ac_save_CXXFLAGS=$CXXFLAGS
14035 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14036 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14037 if test "${ac_cv_prog_cxx_g+set}" = set; then
14038 echo $ECHO_N "(cached) $ECHO_C" >&6
14040 cat >conftest.$ac_ext <<_ACEOF
14043 cat confdefs.h >>conftest.$ac_ext
14044 cat >>conftest.$ac_ext <<_ACEOF
14045 /* end confdefs.h. */
14055 rm -f conftest.$ac_objext
14056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14057 (eval $ac_compile) 2>conftest.er1
14059 grep -v '^ *+' conftest.er1 >conftest.err
14061 cat conftest.err >&5
14062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14063 (exit $ac_status); } &&
14064 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14066 (eval $ac_try) 2>&5
14068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14069 (exit $ac_status); }; } &&
14070 { ac_try='test -s conftest.$ac_objext'
14071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14072 (eval $ac_try) 2>&5
14074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14075 (exit $ac_status); }; }; then
14076 ac_cv_prog_cxx_g=yes
14078 echo "$as_me: failed program was:" >&5
14079 sed 's/^/| /' conftest.$ac_ext >&5
14081 ac_cv_prog_cxx_g=no
14083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14085 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14086 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14087 if test "$ac_test_CXXFLAGS" = set; then
14088 CXXFLAGS=$ac_save_CXXFLAGS
14089 elif test $ac_cv_prog_cxx_g = yes; then
14090 if test "$GXX" = yes; then
14096 if test "$GXX" = yes; then
14102 for ac_declaration in \
14104 'extern "C" void std::exit (int) throw (); using std::exit;' \
14105 'extern "C" void std::exit (int); using std::exit;' \
14106 'extern "C" void exit (int) throw ();' \
14107 'extern "C" void exit (int);' \
14110 cat >conftest.$ac_ext <<_ACEOF
14113 cat confdefs.h >>conftest.$ac_ext
14114 cat >>conftest.$ac_ext <<_ACEOF
14115 /* end confdefs.h. */
14117 #include <stdlib.h>
14126 rm -f conftest.$ac_objext
14127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14128 (eval $ac_compile) 2>conftest.er1
14130 grep -v '^ *+' conftest.er1 >conftest.err
14132 cat conftest.err >&5
14133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14134 (exit $ac_status); } &&
14135 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14137 (eval $ac_try) 2>&5
14139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14140 (exit $ac_status); }; } &&
14141 { ac_try='test -s conftest.$ac_objext'
14142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14143 (eval $ac_try) 2>&5
14145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14146 (exit $ac_status); }; }; then
14149 echo "$as_me: failed program was:" >&5
14150 sed 's/^/| /' conftest.$ac_ext >&5
14154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14155 cat >conftest.$ac_ext <<_ACEOF
14158 cat confdefs.h >>conftest.$ac_ext
14159 cat >>conftest.$ac_ext <<_ACEOF
14160 /* end confdefs.h. */
14170 rm -f conftest.$ac_objext
14171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14172 (eval $ac_compile) 2>conftest.er1
14174 grep -v '^ *+' conftest.er1 >conftest.err
14176 cat conftest.err >&5
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); } &&
14179 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181 (eval $ac_try) 2>&5
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; } &&
14185 { ac_try='test -s conftest.$ac_objext'
14186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14187 (eval $ac_try) 2>&5
14189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14190 (exit $ac_status); }; }; then
14193 echo "$as_me: failed program was:" >&5
14194 sed 's/^/| /' conftest.$ac_ext >&5
14197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14200 if test -n "$ac_declaration"; then
14201 echo '#ifdef __cplusplus' >>confdefs.h
14202 echo $ac_declaration >>confdefs.h
14203 echo '#endif' >>confdefs.h
14207 ac_cpp='$CXXCPP $CPPFLAGS'
14208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14215 ac_cpp='$CXXCPP $CPPFLAGS'
14216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14220 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14221 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14222 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14223 echo $ECHO_N "(cached) $ECHO_C" >&6
14225 cat >conftest.$ac_ext <<_ACEOF
14228 cat confdefs.h >>conftest.$ac_ext
14229 cat >>conftest.$ac_ext <<_ACEOF
14230 /* end confdefs.h. */
14236 #ifndef __INTEL_COMPILER
14244 rm -f conftest.$ac_objext
14245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14246 (eval $ac_compile) 2>conftest.er1
14248 grep -v '^ *+' conftest.er1 >conftest.err
14250 cat conftest.err >&5
14251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14252 (exit $ac_status); } &&
14253 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14255 (eval $ac_try) 2>&5
14257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14258 (exit $ac_status); }; } &&
14259 { ac_try='test -s conftest.$ac_objext'
14260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14261 (eval $ac_try) 2>&5
14263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14264 (exit $ac_status); }; }; then
14265 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14267 echo "$as_me: failed program was:" >&5
14268 sed 's/^/| /' conftest.$ac_ext >&5
14270 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14277 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14278 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14280 ac_cpp='$CXXCPP $CPPFLAGS'
14281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14285 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14292 if test "x$GCXX" != "xyes"; then
14293 if test "xCXX" = "xC"; then
14294 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14295 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14296 if test "${bakefile_cv_cxx_exto+set}" = set; then
14297 echo $ECHO_N "(cached) $ECHO_C" >&6
14299 cat >conftest.$ac_ext <<_ACEOF
14302 cat confdefs.h >>conftest.$ac_ext
14303 cat >>conftest.$ac_ext <<_ACEOF
14304 /* end confdefs.h. */
14314 rm -f conftest.$ac_objext conftest.$ac_ext.o
14315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14316 (eval $ac_compile) 2>&5
14318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14319 (exit $ac_status); }; then
14320 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14322 conftest.$ac_ext.o)
14323 bakefile_cv_cxx_exto="-ext o"
14330 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14331 See \`config.log' for more details." >&5
14332 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14333 See \`config.log' for more details." >&2;}
14334 { (exit 1); exit 1; }; }
14338 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14341 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14342 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14343 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14344 if test "cxx" = "c"; then
14345 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
14347 if test "cxx" = "cxx"; then
14348 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
14352 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14353 unset ac_cv_prog_cc_g
14354 ac_test_CFLAGS=${CFLAGS+set}
14355 ac_save_CFLAGS=$CFLAGS
14357 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14358 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14359 if test "${ac_cv_prog_cc_g+set}" = set; then
14360 echo $ECHO_N "(cached) $ECHO_C" >&6
14362 cat >conftest.$ac_ext <<_ACEOF
14365 cat confdefs.h >>conftest.$ac_ext
14366 cat >>conftest.$ac_ext <<_ACEOF
14367 /* end confdefs.h. */
14377 rm -f conftest.$ac_objext
14378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14379 (eval $ac_compile) 2>conftest.er1
14381 grep -v '^ *+' conftest.er1 >conftest.err
14383 cat conftest.err >&5
14384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385 (exit $ac_status); } &&
14386 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14388 (eval $ac_try) 2>&5
14390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 (exit $ac_status); }; } &&
14392 { ac_try='test -s conftest.$ac_objext'
14393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14394 (eval $ac_try) 2>&5
14396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14397 (exit $ac_status); }; }; then
14398 ac_cv_prog_cc_g=yes
14400 echo "$as_me: failed program was:" >&5
14401 sed 's/^/| /' conftest.$ac_ext >&5
14405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14407 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14408 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14409 if test "$ac_test_CFLAGS" = set; then
14410 CFLAGS=$ac_save_CFLAGS
14411 elif test $ac_cv_prog_cc_g = yes; then
14412 if test "$GCC" = yes; then
14418 if test "$GCC" = yes; then
14430 ac_cpp='$CXXCPP $CPPFLAGS'
14431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14435 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14436 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14437 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14438 echo $ECHO_N "(cached) $ECHO_C" >&6
14440 cat >conftest.$ac_ext <<_ACEOF
14443 cat confdefs.h >>conftest.$ac_ext
14444 cat >>conftest.$ac_ext <<_ACEOF
14445 /* end confdefs.h. */
14458 rm -f conftest.$ac_objext
14459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14460 (eval $ac_compile) 2>conftest.er1
14462 grep -v '^ *+' conftest.er1 >conftest.err
14464 cat conftest.err >&5
14465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466 (exit $ac_status); } &&
14467 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14469 (eval $ac_try) 2>&5
14471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14472 (exit $ac_status); }; } &&
14473 { ac_try='test -s conftest.$ac_objext'
14474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14475 (eval $ac_try) 2>&5
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); }; }; then
14479 bakefile_compiler_xlc=yes
14481 echo "$as_me: failed program was:" >&5
14482 sed 's/^/| /' conftest.$ac_ext >&5
14484 bakefile_compiler_xlc=no
14486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14487 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14490 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14491 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14493 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14495 ac_cpp='$CXXCPP $CPPFLAGS'
14496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14505 ac_cpp='$CXXCPP $CPPFLAGS'
14506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14510 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14511 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14512 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14513 echo $ECHO_N "(cached) $ECHO_C" >&6
14515 cat >conftest.$ac_ext <<_ACEOF
14518 cat confdefs.h >>conftest.$ac_ext
14519 cat >>conftest.$ac_ext <<_ACEOF
14520 /* end confdefs.h. */
14533 rm -f conftest.$ac_objext
14534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14535 (eval $ac_compile) 2>conftest.er1
14537 grep -v '^ *+' conftest.er1 >conftest.err
14539 cat conftest.err >&5
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); } &&
14542 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14544 (eval $ac_try) 2>&5
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); }; } &&
14548 { ac_try='test -s conftest.$ac_objext'
14549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14550 (eval $ac_try) 2>&5
14552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14553 (exit $ac_status); }; }; then
14554 bakefile_compiler_mwerks=yes
14556 echo "$as_me: failed program was:" >&5
14557 sed 's/^/| /' conftest.$ac_ext >&5
14559 bakefile_compiler_mwerks=no
14561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14562 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14565 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14566 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14568 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14570 ac_cpp='$CXXCPP $CPPFLAGS'
14571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14577 ac_cpp='$CXXCPP $CPPFLAGS'
14578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14582 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14583 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14584 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14585 echo $ECHO_N "(cached) $ECHO_C" >&6
14587 cat >conftest.$ac_ext <<_ACEOF
14590 cat confdefs.h >>conftest.$ac_ext
14591 cat >>conftest.$ac_ext <<_ACEOF
14592 /* end confdefs.h. */
14605 rm -f conftest.$ac_objext
14606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14607 (eval $ac_compile) 2>conftest.er1
14609 grep -v '^ *+' conftest.er1 >conftest.err
14611 cat conftest.err >&5
14612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14613 (exit $ac_status); } &&
14614 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14616 (eval $ac_try) 2>&5
14618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14619 (exit $ac_status); }; } &&
14620 { ac_try='test -s conftest.$ac_objext'
14621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14622 (eval $ac_try) 2>&5
14624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14625 (exit $ac_status); }; }; then
14626 bakefile_compiler_xlc=yes
14628 echo "$as_me: failed program was:" >&5
14629 sed 's/^/| /' conftest.$ac_ext >&5
14631 bakefile_compiler_xlc=no
14633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14634 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14637 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14638 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14640 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14642 ac_cpp='$CXXCPP $CPPFLAGS'
14643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14654 ac_cpp='$CXXCPP $CPPFLAGS'
14655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14659 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14660 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14661 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14662 echo $ECHO_N "(cached) $ECHO_C" >&6
14664 cat >conftest.$ac_ext <<_ACEOF
14667 cat confdefs.h >>conftest.$ac_ext
14668 cat >>conftest.$ac_ext <<_ACEOF
14669 /* end confdefs.h. */
14675 #ifndef _SGI_COMPILER_VERSION
14683 rm -f conftest.$ac_objext
14684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14685 (eval $ac_compile) 2>conftest.er1
14687 grep -v '^ *+' conftest.er1 >conftest.err
14689 cat conftest.err >&5
14690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14691 (exit $ac_status); } &&
14692 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14694 (eval $ac_try) 2>&5
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); }; } &&
14698 { ac_try='test -s conftest.$ac_objext'
14699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14700 (eval $ac_try) 2>&5
14702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14703 (exit $ac_status); }; }; then
14704 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14706 echo "$as_me: failed program was:" >&5
14707 sed 's/^/| /' conftest.$ac_ext >&5
14709 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14716 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14717 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14719 ac_cpp='$CXXCPP $CPPFLAGS'
14720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14724 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14737 ac_cpp='$CXXCPP $CPPFLAGS'
14738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14742 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14743 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14744 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14745 echo $ECHO_N "(cached) $ECHO_C" >&6
14747 cat >conftest.$ac_ext <<_ACEOF
14750 cat confdefs.h >>conftest.$ac_ext
14751 cat >>conftest.$ac_ext <<_ACEOF
14752 /* end confdefs.h. */
14766 rm -f conftest.$ac_objext
14767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14768 (eval $ac_compile) 2>conftest.er1
14770 grep -v '^ *+' conftest.er1 >conftest.err
14772 cat conftest.err >&5
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); } &&
14775 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14777 (eval $ac_try) 2>&5
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); }; } &&
14781 { ac_try='test -s conftest.$ac_objext'
14782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14783 (eval $ac_try) 2>&5
14785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14786 (exit $ac_status); }; }; then
14787 bakefile_cv_cxx_compiler___HP_aCC=yes
14789 echo "$as_me: failed program was:" >&5
14790 sed 's/^/| /' conftest.$ac_ext >&5
14792 bakefile_cv_cxx_compiler___HP_aCC=no
14795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14799 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14800 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14802 ac_cpp='$CXXCPP $CPPFLAGS'
14803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14807 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14820 ac_cpp='$CXXCPP $CPPFLAGS'
14821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14825 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14826 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14827 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14828 echo $ECHO_N "(cached) $ECHO_C" >&6
14830 cat >conftest.$ac_ext <<_ACEOF
14833 cat confdefs.h >>conftest.$ac_ext
14834 cat >>conftest.$ac_ext <<_ACEOF
14835 /* end confdefs.h. */
14849 rm -f conftest.$ac_objext
14850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14851 (eval $ac_compile) 2>conftest.er1
14853 grep -v '^ *+' conftest.er1 >conftest.err
14855 cat conftest.err >&5
14856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14857 (exit $ac_status); } &&
14858 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14860 (eval $ac_try) 2>&5
14862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14863 (exit $ac_status); }; } &&
14864 { ac_try='test -s conftest.$ac_objext'
14865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14866 (eval $ac_try) 2>&5
14868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 (exit $ac_status); }; }; then
14870 bakefile_cv_cxx_compiler___DECCXX=yes
14872 echo "$as_me: failed program was:" >&5
14873 sed 's/^/| /' conftest.$ac_ext >&5
14875 bakefile_cv_cxx_compiler___DECCXX=no
14878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14882 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14883 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14885 ac_cpp='$CXXCPP $CPPFLAGS'
14886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14890 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14903 ac_cpp='$CXXCPP $CPPFLAGS'
14904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14908 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14909 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14910 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14911 echo $ECHO_N "(cached) $ECHO_C" >&6
14913 cat >conftest.$ac_ext <<_ACEOF
14916 cat confdefs.h >>conftest.$ac_ext
14917 cat >>conftest.$ac_ext <<_ACEOF
14918 /* end confdefs.h. */
14924 #ifndef __SUNPRO_CC
14932 rm -f conftest.$ac_objext
14933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14934 (eval $ac_compile) 2>conftest.er1
14936 grep -v '^ *+' conftest.er1 >conftest.err
14938 cat conftest.err >&5
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); } &&
14941 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14943 (eval $ac_try) 2>&5
14945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14946 (exit $ac_status); }; } &&
14947 { ac_try='test -s conftest.$ac_objext'
14948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14949 (eval $ac_try) 2>&5
14951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14952 (exit $ac_status); }; }; then
14953 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
14955 echo "$as_me: failed program was:" >&5
14956 sed 's/^/| /' conftest.$ac_ext >&5
14958 bakefile_cv_cxx_compiler___SUNPRO_CC=no
14961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14965 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14966 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14968 ac_cpp='$CXXCPP $CPPFLAGS'
14969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14973 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14986 if test -n "$ac_tool_prefix"; then
14987 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14988 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14989 echo "$as_me:$LINENO: checking for $ac_word" >&5
14990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14991 if test "${ac_cv_prog_RANLIB+set}" = set; then
14992 echo $ECHO_N "(cached) $ECHO_C" >&6
14994 if test -n "$RANLIB"; then
14995 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14998 for as_dir in $PATH
15001 test -z "$as_dir" && as_dir=.
15002 for ac_exec_ext in '' $ac_executable_extensions; do
15003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15004 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15013 RANLIB=$ac_cv_prog_RANLIB
15014 if test -n "$RANLIB"; then
15015 echo "$as_me:$LINENO: result: $RANLIB" >&5
15016 echo "${ECHO_T}$RANLIB" >&6
15018 echo "$as_me:$LINENO: result: no" >&5
15019 echo "${ECHO_T}no" >&6
15023 if test -z "$ac_cv_prog_RANLIB"; then
15024 ac_ct_RANLIB=$RANLIB
15025 # Extract the first word of "ranlib", so it can be a program name with args.
15026 set dummy ranlib; ac_word=$2
15027 echo "$as_me:$LINENO: checking for $ac_word" >&5
15028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15029 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15030 echo $ECHO_N "(cached) $ECHO_C" >&6
15032 if test -n "$ac_ct_RANLIB"; then
15033 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15036 for as_dir in $PATH
15039 test -z "$as_dir" && as_dir=.
15040 for ac_exec_ext in '' $ac_executable_extensions; do
15041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15042 ac_cv_prog_ac_ct_RANLIB="ranlib"
15043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15049 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15052 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15053 if test -n "$ac_ct_RANLIB"; then
15054 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15055 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15057 echo "$as_me:$LINENO: result: no" >&5
15058 echo "${ECHO_T}no" >&6
15061 RANLIB=$ac_ct_RANLIB
15063 RANLIB="$ac_cv_prog_RANLIB"
15067 if test -n "$ac_tool_prefix"; then
15068 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15069 set dummy ${ac_tool_prefix}ar; ac_word=$2
15070 echo "$as_me:$LINENO: checking for $ac_word" >&5
15071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15072 if test "${ac_cv_prog_AR+set}" = set; then
15073 echo $ECHO_N "(cached) $ECHO_C" >&6
15075 if test -n "$AR"; then
15076 ac_cv_prog_AR="$AR" # Let the user override the test.
15078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15079 for as_dir in $PATH
15082 test -z "$as_dir" && as_dir=.
15083 for ac_exec_ext in '' $ac_executable_extensions; do
15084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15085 ac_cv_prog_AR="${ac_tool_prefix}ar"
15086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15095 if test -n "$AR"; then
15096 echo "$as_me:$LINENO: result: $AR" >&5
15097 echo "${ECHO_T}$AR" >&6
15099 echo "$as_me:$LINENO: result: no" >&5
15100 echo "${ECHO_T}no" >&6
15104 if test -z "$ac_cv_prog_AR"; then
15106 # Extract the first word of "ar", so it can be a program name with args.
15107 set dummy ar; ac_word=$2
15108 echo "$as_me:$LINENO: checking for $ac_word" >&5
15109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15110 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15111 echo $ECHO_N "(cached) $ECHO_C" >&6
15113 if test -n "$ac_ct_AR"; then
15114 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15117 for as_dir in $PATH
15120 test -z "$as_dir" && as_dir=.
15121 for ac_exec_ext in '' $ac_executable_extensions; do
15122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15123 ac_cv_prog_ac_ct_AR="ar"
15124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15132 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15133 if test -n "$ac_ct_AR"; then
15134 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15135 echo "${ECHO_T}$ac_ct_AR" >&6
15137 echo "$as_me:$LINENO: result: no" >&5
15138 echo "${ECHO_T}no" >&6
15143 AR="$ac_cv_prog_AR"
15146 if test "x$AR" = "x" ; then
15147 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15148 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15149 { (exit 1); exit 1; }; }
15152 # Find a good install program. We prefer a C program (faster),
15153 # so one script is as good as another. But avoid the broken or
15154 # incompatible versions:
15155 # SysV /etc/install, /usr/sbin/install
15156 # SunOS /usr/etc/install
15157 # IRIX /sbin/install
15159 # AmigaOS /C/install, which installs bootblocks on floppy discs
15160 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15161 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15162 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15163 # OS/2's system install, which has a completely different semantic
15164 # ./install, which can be erroneously created by make from ./install.sh.
15165 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15166 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15167 if test -z "$INSTALL"; then
15168 if test "${ac_cv_path_install+set}" = set; then
15169 echo $ECHO_N "(cached) $ECHO_C" >&6
15171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15172 for as_dir in $PATH
15175 test -z "$as_dir" && as_dir=.
15176 # Account for people who put trailing slashes in PATH elements.
15178 ./ | .// | /cC/* | \
15179 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15180 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15183 # OSF1 and SCO ODT 3.0 have their own names for install.
15184 # Don't use installbsd from OSF since it installs stuff as root
15186 for ac_prog in ginstall scoinst install; do
15187 for ac_exec_ext in '' $ac_executable_extensions; do
15188 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15189 if test $ac_prog = install &&
15190 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15191 # AIX install. It has an incompatible calling convention.
15193 elif test $ac_prog = install &&
15194 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15195 # program-specific install script used by HP pwplus--don't use.
15198 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15210 if test "${ac_cv_path_install+set}" = set; then
15211 INSTALL=$ac_cv_path_install
15213 # As a last resort, use the slow shell script. We don't cache a
15214 # path for INSTALL within a source directory, because that will
15215 # break other packages using the cache if that directory is
15216 # removed, or if the path is relative.
15217 INSTALL=$ac_install_sh
15220 echo "$as_me:$LINENO: result: $INSTALL" >&5
15221 echo "${ECHO_T}$INSTALL" >&6
15223 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15224 # It thinks the first close brace ends the variable substitution.
15225 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15227 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15229 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15235 ?:* ) # Drive letter, considered as absolute.
15238 INSTALL=`pwd`/${INSTALL} ;;
15245 INSTALL_PROGRAM="cp -fp"
15246 INSTALL_DATA="cp -fp"
15252 if test -n "$ac_tool_prefix"; then
15253 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15254 set dummy ${ac_tool_prefix}strip; ac_word=$2
15255 echo "$as_me:$LINENO: checking for $ac_word" >&5
15256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15257 if test "${ac_cv_prog_STRIP+set}" = set; then
15258 echo $ECHO_N "(cached) $ECHO_C" >&6
15260 if test -n "$STRIP"; then
15261 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15264 for as_dir in $PATH
15267 test -z "$as_dir" && as_dir=.
15268 for ac_exec_ext in '' $ac_executable_extensions; do
15269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15270 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15279 STRIP=$ac_cv_prog_STRIP
15280 if test -n "$STRIP"; then
15281 echo "$as_me:$LINENO: result: $STRIP" >&5
15282 echo "${ECHO_T}$STRIP" >&6
15284 echo "$as_me:$LINENO: result: no" >&5
15285 echo "${ECHO_T}no" >&6
15289 if test -z "$ac_cv_prog_STRIP"; then
15291 # Extract the first word of "strip", so it can be a program name with args.
15292 set dummy strip; ac_word=$2
15293 echo "$as_me:$LINENO: checking for $ac_word" >&5
15294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15295 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15296 echo $ECHO_N "(cached) $ECHO_C" >&6
15298 if test -n "$ac_ct_STRIP"; then
15299 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15302 for as_dir in $PATH
15305 test -z "$as_dir" && as_dir=.
15306 for ac_exec_ext in '' $ac_executable_extensions; do
15307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15308 ac_cv_prog_ac_ct_STRIP="strip"
15309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15315 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15318 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15319 if test -n "$ac_ct_STRIP"; then
15320 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15321 echo "${ECHO_T}$ac_ct_STRIP" >&6
15323 echo "$as_me:$LINENO: result: no" >&5
15324 echo "${ECHO_T}no" >&6
15329 STRIP="$ac_cv_prog_STRIP"
15333 if test "$wxUSE_WINE" = "yes"; then
15334 if test -n "$ac_tool_prefix"; then
15335 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15336 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15337 echo "$as_me:$LINENO: checking for $ac_word" >&5
15338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15339 if test "${ac_cv_prog_WINDRES+set}" = set; then
15340 echo $ECHO_N "(cached) $ECHO_C" >&6
15342 if test -n "$WINDRES"; then
15343 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15346 for as_dir in $PATH
15349 test -z "$as_dir" && as_dir=.
15350 for ac_exec_ext in '' $ac_executable_extensions; do
15351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15352 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15361 WINDRES=$ac_cv_prog_WINDRES
15362 if test -n "$WINDRES"; then
15363 echo "$as_me:$LINENO: result: $WINDRES" >&5
15364 echo "${ECHO_T}$WINDRES" >&6
15366 echo "$as_me:$LINENO: result: no" >&5
15367 echo "${ECHO_T}no" >&6
15371 if test -z "$ac_cv_prog_WINDRES"; then
15372 ac_ct_WINDRES=$WINDRES
15373 # Extract the first word of "wrc", so it can be a program name with args.
15374 set dummy wrc; ac_word=$2
15375 echo "$as_me:$LINENO: checking for $ac_word" >&5
15376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15377 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15378 echo $ECHO_N "(cached) $ECHO_C" >&6
15380 if test -n "$ac_ct_WINDRES"; then
15381 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15384 for as_dir in $PATH
15387 test -z "$as_dir" && as_dir=.
15388 for ac_exec_ext in '' $ac_executable_extensions; do
15389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15390 ac_cv_prog_ac_ct_WINDRES="wrc"
15391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15399 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15400 if test -n "$ac_ct_WINDRES"; then
15401 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15402 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15404 echo "$as_me:$LINENO: result: no" >&5
15405 echo "${ECHO_T}no" >&6
15408 WINDRES=$ac_ct_WINDRES
15410 WINDRES="$ac_cv_prog_WINDRES"
15416 *-*-cygwin* | *-*-mingw32* )
15417 if test -n "$ac_tool_prefix"; then
15418 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15419 set dummy ${ac_tool_prefix}windres; ac_word=$2
15420 echo "$as_me:$LINENO: checking for $ac_word" >&5
15421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15422 if test "${ac_cv_prog_WINDRES+set}" = set; then
15423 echo $ECHO_N "(cached) $ECHO_C" >&6
15425 if test -n "$WINDRES"; then
15426 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15429 for as_dir in $PATH
15432 test -z "$as_dir" && as_dir=.
15433 for ac_exec_ext in '' $ac_executable_extensions; do
15434 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15435 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15444 WINDRES=$ac_cv_prog_WINDRES
15445 if test -n "$WINDRES"; then
15446 echo "$as_me:$LINENO: result: $WINDRES" >&5
15447 echo "${ECHO_T}$WINDRES" >&6
15449 echo "$as_me:$LINENO: result: no" >&5
15450 echo "${ECHO_T}no" >&6
15454 if test -z "$ac_cv_prog_WINDRES"; then
15455 ac_ct_WINDRES=$WINDRES
15456 # Extract the first word of "windres", so it can be a program name with args.
15457 set dummy windres; ac_word=$2
15458 echo "$as_me:$LINENO: checking for $ac_word" >&5
15459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15460 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15461 echo $ECHO_N "(cached) $ECHO_C" >&6
15463 if test -n "$ac_ct_WINDRES"; then
15464 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15467 for as_dir in $PATH
15470 test -z "$as_dir" && as_dir=.
15471 for ac_exec_ext in '' $ac_executable_extensions; do
15472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15473 ac_cv_prog_ac_ct_WINDRES="windres"
15474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15482 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15483 if test -n "$ac_ct_WINDRES"; then
15484 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15485 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15487 echo "$as_me:$LINENO: result: no" >&5
15488 echo "${ECHO_T}no" >&6
15491 WINDRES=$ac_ct_WINDRES
15493 WINDRES="$ac_cv_prog_WINDRES"
15497 if test -n "$ac_tool_prefix"; then
15498 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15499 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15500 echo "$as_me:$LINENO: checking for $ac_word" >&5
15501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15502 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15503 echo $ECHO_N "(cached) $ECHO_C" >&6
15505 if test -n "$DLLTOOL"; then
15506 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15509 for as_dir in $PATH
15512 test -z "$as_dir" && as_dir=.
15513 for ac_exec_ext in '' $ac_executable_extensions; do
15514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15515 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15524 DLLTOOL=$ac_cv_prog_DLLTOOL
15525 if test -n "$DLLTOOL"; then
15526 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15527 echo "${ECHO_T}$DLLTOOL" >&6
15529 echo "$as_me:$LINENO: result: no" >&5
15530 echo "${ECHO_T}no" >&6
15534 if test -z "$ac_cv_prog_DLLTOOL"; then
15535 ac_ct_DLLTOOL=$DLLTOOL
15536 # Extract the first word of "dlltool", so it can be a program name with args.
15537 set dummy dlltool; ac_word=$2
15538 echo "$as_me:$LINENO: checking for $ac_word" >&5
15539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15540 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15541 echo $ECHO_N "(cached) $ECHO_C" >&6
15543 if test -n "$ac_ct_DLLTOOL"; then
15544 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15547 for as_dir in $PATH
15550 test -z "$as_dir" && as_dir=.
15551 for ac_exec_ext in '' $ac_executable_extensions; do
15552 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15553 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15562 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15563 if test -n "$ac_ct_DLLTOOL"; then
15564 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15565 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15567 echo "$as_me:$LINENO: result: no" >&5
15568 echo "${ECHO_T}no" >&6
15571 DLLTOOL=$ac_ct_DLLTOOL
15573 DLLTOOL="$ac_cv_prog_DLLTOOL"
15580 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15581 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15582 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15583 echo $ECHO_N "(cached) $ECHO_C" >&6
15586 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15587 egrep -s GNU > /dev/null); then
15588 wx_cv_prog_makeisgnu="yes"
15590 wx_cv_prog_makeisgnu="no"
15594 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15595 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15597 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15605 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15606 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15607 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15608 if test "${wx_cv_prog_makevpath+set}" = set; then
15609 echo $ECHO_N "(cached) $ECHO_C" >&6
15612 cat - << EOF > confMake
15618 if test ! -d sub ; then
15621 echo dummy > sub/file
15622 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15624 rm -f sub/file check final_file confMake
15626 if test "$RESULT" = 0; then
15627 wx_cv_prog_makevpath="yes"
15629 wx_cv_prog_makevpath="no"
15633 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15634 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15636 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15637 { { echo "$as_me:$LINENO: error:
15638 You need a make-utility that is able to use the variable
15640 If your version of make does not support VPATH correctly,
15641 please install GNU-make (possibly as gmake), and start
15642 configure with the following command:
15643 export MAKE=gmake; ./configure for sh-type shells
15644 setenv MAKE gmake; ./configure for csh-type shells
15645 Also please do remember to use gmake in this case every time
15646 you are trying to compile.
15648 echo "$as_me: error:
15649 You need a make-utility that is able to use the variable
15651 If your version of make does not support VPATH correctly,
15652 please install GNU-make (possibly as gmake), and start
15653 configure with the following command:
15654 export MAKE=gmake; ./configure for sh-type shells
15655 setenv MAKE gmake; ./configure for csh-type shells
15656 Also please do remember to use gmake in this case every time
15657 you are trying to compile.
15659 { (exit 1); exit 1; }; }
15661 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15662 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15664 if test "$LN_S" = "ln -s"; then
15665 echo "$as_me:$LINENO: result: yes" >&5
15666 echo "${ECHO_T}yes" >&6
15668 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15669 echo "${ECHO_T}no, using $LN_S" >&6
15675 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15676 CXXFLAGS="-qunique $CXXFLAGS"
15680 powerpc-*-darwin* )
15681 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15682 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15683 cat >conftest.$ac_ext <<_ACEOF
15686 cat confdefs.h >>conftest.$ac_ext
15687 cat >>conftest.$ac_ext <<_ACEOF
15688 /* end confdefs.h. */
15693 #ifndef __POWERPC__
15694 choke me for lack of PowerPC
15701 rm -f conftest.$ac_objext
15702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15703 (eval $ac_compile) 2>conftest.er1
15705 grep -v '^ *+' conftest.er1 >conftest.err
15707 cat conftest.err >&5
15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709 (exit $ac_status); } &&
15710 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15712 (eval $ac_try) 2>&5
15714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715 (exit $ac_status); }; } &&
15716 { ac_try='test -s conftest.$ac_objext'
15717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15718 (eval $ac_try) 2>&5
15720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721 (exit $ac_status); }; }; then
15722 echo "$as_me:$LINENO: result: yes" >&5
15723 echo "${ECHO_T}yes" >&6
15725 echo "$as_me: failed program was:" >&5
15726 sed 's/^/| /' conftest.$ac_ext >&5
15728 echo "$as_me:$LINENO: result: no" >&5
15729 echo "${ECHO_T}no" >&6
15730 cat >>confdefs.h <<\_ACEOF
15731 #define __POWERPC__ 1
15736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15742 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15743 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15744 cat >conftest.$ac_ext <<_ACEOF
15747 cat confdefs.h >>conftest.$ac_ext
15748 cat >>conftest.$ac_ext <<_ACEOF
15749 /* end confdefs.h. */
15750 #include <CoreFoundation/CFBase.h>
15760 rm -f conftest.$ac_objext
15761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15762 (eval $ac_compile) 2>conftest.er1
15764 grep -v '^ *+' conftest.er1 >conftest.err
15766 cat conftest.err >&5
15767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768 (exit $ac_status); } &&
15769 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15771 (eval $ac_try) 2>&5
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); }; } &&
15775 { ac_try='test -s conftest.$ac_objext'
15776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15777 (eval $ac_try) 2>&5
15779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780 (exit $ac_status); }; }; then
15781 echo "$as_me:$LINENO: result: yes" >&5
15782 echo "${ECHO_T}yes" >&6
15784 echo "$as_me: failed program was:" >&5
15785 sed 's/^/| /' conftest.$ac_ext >&5
15787 echo "$as_me:$LINENO: result: no" >&5
15788 echo "${ECHO_T}no" >&6
15789 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15790 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15791 cat >conftest.$ac_ext <<_ACEOF
15794 cat confdefs.h >>conftest.$ac_ext
15795 cat >>conftest.$ac_ext <<_ACEOF
15796 /* end confdefs.h. */
15797 #define __CF_USE_FRAMEWORK_INCLUDES__
15798 #include <CoreFoundation/CFBase.h>
15808 rm -f conftest.$ac_objext
15809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15810 (eval $ac_compile) 2>conftest.er1
15812 grep -v '^ *+' conftest.er1 >conftest.err
15814 cat conftest.err >&5
15815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15816 (exit $ac_status); } &&
15817 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15819 (eval $ac_try) 2>&5
15821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15822 (exit $ac_status); }; } &&
15823 { ac_try='test -s conftest.$ac_objext'
15824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15825 (eval $ac_try) 2>&5
15827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15828 (exit $ac_status); }; }; then
15829 echo "$as_me:$LINENO: result: yes" >&5
15830 echo "${ECHO_T}yes" >&6
15831 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15833 echo "$as_me: failed program was:" >&5
15834 sed 's/^/| /' conftest.$ac_ext >&5
15836 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15837 See \`config.log' for more details." >&5
15838 echo "$as_me: error: no. CoreFoundation not available.
15839 See \`config.log' for more details." >&2;}
15840 { (exit 1); exit 1; }; }
15843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15852 *-pc-os2_emx | *-pc-os2-emx )
15854 ac_cpp='$CPP $CPPFLAGS'
15855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15859 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15860 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15861 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15862 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15863 echo $ECHO_N "(cached) $ECHO_C" >&6
15865 ac_check_lib_save_LIBS=$LIBS
15866 LIBS="-lcExt $LIBS"
15867 cat >conftest.$ac_ext <<_ACEOF
15870 cat confdefs.h >>conftest.$ac_ext
15871 cat >>conftest.$ac_ext <<_ACEOF
15872 /* end confdefs.h. */
15874 /* Override any gcc2 internal prototype to avoid an error. */
15878 /* We use char because int might match the return type of a gcc2
15879 builtin and then its argument prototype would still apply. */
15889 rm -f conftest.$ac_objext conftest$ac_exeext
15890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15891 (eval $ac_link) 2>conftest.er1
15893 grep -v '^ *+' conftest.er1 >conftest.err
15895 cat conftest.err >&5
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); } &&
15898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15900 (eval $ac_try) 2>&5
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); }; } &&
15904 { ac_try='test -s conftest$ac_exeext'
15905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15906 (eval $ac_try) 2>&5
15908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15909 (exit $ac_status); }; }; then
15910 ac_cv_lib_cExt_drand48=yes
15912 echo "$as_me: failed program was:" >&5
15913 sed 's/^/| /' conftest.$ac_ext >&5
15915 ac_cv_lib_cExt_drand48=no
15917 rm -f conftest.err conftest.$ac_objext \
15918 conftest$ac_exeext conftest.$ac_ext
15919 LIBS=$ac_check_lib_save_LIBS
15921 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15922 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15923 if test $ac_cv_lib_cExt_drand48 = yes; then
15924 LIBS="$LIBS -lcExt"
15928 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
15930 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15931 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15932 if test "${wx_cv_gccversion+set}" = set; then
15933 echo $ECHO_N "(cached) $ECHO_C" >&6
15936 if test "$cross_compiling" = yes; then
15937 wx_cv_gccversion="EMX2"
15940 cat >conftest.$ac_ext <<_ACEOF
15943 cat confdefs.h >>conftest.$ac_ext
15944 cat >>conftest.$ac_ext <<_ACEOF
15945 /* end confdefs.h. */
15951 FILE *f=fopen("conftestval", "w");
15956 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15958 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15968 rm -f conftest$ac_exeext
15969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15970 (eval $ac_link) 2>&5
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15975 (eval $ac_try) 2>&5
15977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978 (exit $ac_status); }; }; then
15979 wx_cv_gccversion=`cat conftestval`
15981 echo "$as_me: program exited with status $ac_status" >&5
15982 echo "$as_me: failed program was:" >&5
15983 sed 's/^/| /' conftest.$ac_ext >&5
15985 ( exit $ac_status )
15986 wx_cv_gccversion="EMX2"
15988 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15992 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15993 echo "${ECHO_T}$wx_cv_gccversion" >&6
15995 ac_cpp='$CXXCPP $CPPFLAGS'
15996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16000 if test "$wx_cv_gccversion" = "EMX2"; then
16001 LIBS="$LIBS -lstdcpp"
16002 LDFLAGS="$LDFLAGS -Zsysv-signals"
16004 if test "$wx_cv_gccversion" = "EMX3"; then
16005 LIBS="$LIBS -lstdcxx -lgcc"
16006 LDFLAGS="$LDFLAGS -Zsysv-signals"
16008 LIBS="$LIBS -lstdc++"
16011 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16012 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16013 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16020 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16021 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16022 if test "${ac_cv_string_strcasecmp+set}" = set; then
16023 echo $ECHO_N "(cached) $ECHO_C" >&6
16026 cat >conftest.$ac_ext <<_ACEOF
16029 cat confdefs.h >>conftest.$ac_ext
16030 cat >>conftest.$ac_ext <<_ACEOF
16031 /* end confdefs.h. */
16033 #include <string.h>
16039 strcasecmp("foo", "bar");
16045 rm -f conftest.$ac_objext conftest$ac_exeext
16046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16047 (eval $ac_link) 2>conftest.er1
16049 grep -v '^ *+' conftest.er1 >conftest.err
16051 cat conftest.err >&5
16052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053 (exit $ac_status); } &&
16054 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16056 (eval $ac_try) 2>&5
16058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16059 (exit $ac_status); }; } &&
16060 { ac_try='test -s conftest$ac_exeext'
16061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16062 (eval $ac_try) 2>&5
16064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); }; }; then
16066 ac_cv_string_strcasecmp=yes
16068 echo "$as_me: failed program was:" >&5
16069 sed 's/^/| /' conftest.$ac_ext >&5
16071 ac_cv_string_strcasecmp=no
16074 rm -f conftest.err conftest.$ac_objext \
16075 conftest$ac_exeext conftest.$ac_ext
16078 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16079 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16081 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16082 cat >>confdefs.h <<\_ACEOF
16083 #define HAVE_STRCASECMP_IN_STRING_H 1
16087 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16088 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16089 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16090 echo $ECHO_N "(cached) $ECHO_C" >&6
16093 cat >conftest.$ac_ext <<_ACEOF
16096 cat confdefs.h >>conftest.$ac_ext
16097 cat >>conftest.$ac_ext <<_ACEOF
16098 /* end confdefs.h. */
16100 #include <strings.h>
16106 strcasecmp("foo", "bar");
16112 rm -f conftest.$ac_objext conftest$ac_exeext
16113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16114 (eval $ac_link) 2>conftest.er1
16116 grep -v '^ *+' conftest.er1 >conftest.err
16118 cat conftest.err >&5
16119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16120 (exit $ac_status); } &&
16121 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16123 (eval $ac_try) 2>&5
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); }; } &&
16127 { ac_try='test -s conftest$ac_exeext'
16128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16129 (eval $ac_try) 2>&5
16131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16132 (exit $ac_status); }; }; then
16133 ac_cv_strings_strcasecmp=yes
16135 echo "$as_me: failed program was:" >&5
16136 sed 's/^/| /' conftest.$ac_ext >&5
16138 ac_cv_strings_strcasecmp=no
16141 rm -f conftest.err conftest.$ac_objext \
16142 conftest$ac_exeext conftest.$ac_ext
16145 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16146 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16148 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16149 cat >>confdefs.h <<\_ACEOF
16150 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16154 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16155 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16156 { (exit 1); exit 1; }; }
16165 ac_cpp='$CXXCPP $CPPFLAGS'
16166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16169 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16170 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16171 if test -z "$CXXCPP"; then
16172 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16173 echo $ECHO_N "(cached) $ECHO_C" >&6
16175 # Double quotes because CXXCPP needs to be expanded
16176 for CXXCPP in "$CXX -E" "/lib/cpp"
16178 ac_preproc_ok=false
16179 for ac_cxx_preproc_warn_flag in '' yes
16181 # Use a header file that comes with gcc, so configuring glibc
16182 # with a fresh cross-compiler works.
16183 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16184 # <limits.h> exists even on freestanding compilers.
16185 # On the NeXT, cc -E runs the code through the compiler's parser,
16186 # not just through cpp. "Syntax error" is here to catch this case.
16187 cat >conftest.$ac_ext <<_ACEOF
16190 cat confdefs.h >>conftest.$ac_ext
16191 cat >>conftest.$ac_ext <<_ACEOF
16192 /* end confdefs.h. */
16194 # include <limits.h>
16196 # include <assert.h>
16200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16201 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16203 grep -v '^ *+' conftest.er1 >conftest.err
16205 cat conftest.err >&5
16206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16207 (exit $ac_status); } >/dev/null; then
16208 if test -s conftest.err; then
16209 ac_cpp_err=$ac_cxx_preproc_warn_flag
16210 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16217 if test -z "$ac_cpp_err"; then
16220 echo "$as_me: failed program was:" >&5
16221 sed 's/^/| /' conftest.$ac_ext >&5
16223 # Broken: fails on valid input.
16226 rm -f conftest.err conftest.$ac_ext
16228 # OK, works on sane cases. Now check whether non-existent headers
16229 # can be detected and how.
16230 cat >conftest.$ac_ext <<_ACEOF
16233 cat confdefs.h >>conftest.$ac_ext
16234 cat >>conftest.$ac_ext <<_ACEOF
16235 /* end confdefs.h. */
16236 #include <ac_nonexistent.h>
16238 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16239 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16241 grep -v '^ *+' conftest.er1 >conftest.err
16243 cat conftest.err >&5
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); } >/dev/null; then
16246 if test -s conftest.err; then
16247 ac_cpp_err=$ac_cxx_preproc_warn_flag
16248 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16255 if test -z "$ac_cpp_err"; then
16256 # Broken: success on invalid input.
16259 echo "$as_me: failed program was:" >&5
16260 sed 's/^/| /' conftest.$ac_ext >&5
16262 # Passes both tests.
16266 rm -f conftest.err conftest.$ac_ext
16269 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16270 rm -f conftest.err conftest.$ac_ext
16271 if $ac_preproc_ok; then
16276 ac_cv_prog_CXXCPP=$CXXCPP
16279 CXXCPP=$ac_cv_prog_CXXCPP
16281 ac_cv_prog_CXXCPP=$CXXCPP
16283 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16284 echo "${ECHO_T}$CXXCPP" >&6
16285 ac_preproc_ok=false
16286 for ac_cxx_preproc_warn_flag in '' yes
16288 # Use a header file that comes with gcc, so configuring glibc
16289 # with a fresh cross-compiler works.
16290 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16291 # <limits.h> exists even on freestanding compilers.
16292 # On the NeXT, cc -E runs the code through the compiler's parser,
16293 # not just through cpp. "Syntax error" is here to catch this case.
16294 cat >conftest.$ac_ext <<_ACEOF
16297 cat confdefs.h >>conftest.$ac_ext
16298 cat >>conftest.$ac_ext <<_ACEOF
16299 /* end confdefs.h. */
16301 # include <limits.h>
16303 # include <assert.h>
16307 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16308 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16310 grep -v '^ *+' conftest.er1 >conftest.err
16312 cat conftest.err >&5
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); } >/dev/null; then
16315 if test -s conftest.err; then
16316 ac_cpp_err=$ac_cxx_preproc_warn_flag
16317 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16324 if test -z "$ac_cpp_err"; then
16327 echo "$as_me: failed program was:" >&5
16328 sed 's/^/| /' conftest.$ac_ext >&5
16330 # Broken: fails on valid input.
16333 rm -f conftest.err conftest.$ac_ext
16335 # OK, works on sane cases. Now check whether non-existent headers
16336 # can be detected and how.
16337 cat >conftest.$ac_ext <<_ACEOF
16340 cat confdefs.h >>conftest.$ac_ext
16341 cat >>conftest.$ac_ext <<_ACEOF
16342 /* end confdefs.h. */
16343 #include <ac_nonexistent.h>
16345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16346 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16348 grep -v '^ *+' conftest.er1 >conftest.err
16350 cat conftest.err >&5
16351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16352 (exit $ac_status); } >/dev/null; then
16353 if test -s conftest.err; then
16354 ac_cpp_err=$ac_cxx_preproc_warn_flag
16355 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16362 if test -z "$ac_cpp_err"; then
16363 # Broken: success on invalid input.
16366 echo "$as_me: failed program was:" >&5
16367 sed 's/^/| /' conftest.$ac_ext >&5
16369 # Passes both tests.
16373 rm -f conftest.err conftest.$ac_ext
16376 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16377 rm -f conftest.err conftest.$ac_ext
16378 if $ac_preproc_ok; then
16381 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16382 See \`config.log' for more details." >&5
16383 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16384 See \`config.log' for more details." >&2;}
16385 { (exit 1); exit 1; }; }
16389 ac_cpp='$CXXCPP $CPPFLAGS'
16390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16395 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16396 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16397 if test "${ac_cv_header_stdc+set}" = set; then
16398 echo $ECHO_N "(cached) $ECHO_C" >&6
16400 cat >conftest.$ac_ext <<_ACEOF
16403 cat confdefs.h >>conftest.$ac_ext
16404 cat >>conftest.$ac_ext <<_ACEOF
16405 /* end confdefs.h. */
16406 #include <stdlib.h>
16407 #include <stdarg.h>
16408 #include <string.h>
16419 rm -f conftest.$ac_objext
16420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16421 (eval $ac_compile) 2>conftest.er1
16423 grep -v '^ *+' conftest.er1 >conftest.err
16425 cat conftest.err >&5
16426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16427 (exit $ac_status); } &&
16428 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16430 (eval $ac_try) 2>&5
16432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433 (exit $ac_status); }; } &&
16434 { ac_try='test -s conftest.$ac_objext'
16435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16436 (eval $ac_try) 2>&5
16438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16439 (exit $ac_status); }; }; then
16440 ac_cv_header_stdc=yes
16442 echo "$as_me: failed program was:" >&5
16443 sed 's/^/| /' conftest.$ac_ext >&5
16445 ac_cv_header_stdc=no
16447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16449 if test $ac_cv_header_stdc = yes; then
16450 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16451 cat >conftest.$ac_ext <<_ACEOF
16454 cat confdefs.h >>conftest.$ac_ext
16455 cat >>conftest.$ac_ext <<_ACEOF
16456 /* end confdefs.h. */
16457 #include <string.h>
16460 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16461 $EGREP "memchr" >/dev/null 2>&1; then
16464 ac_cv_header_stdc=no
16470 if test $ac_cv_header_stdc = yes; then
16471 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16472 cat >conftest.$ac_ext <<_ACEOF
16475 cat confdefs.h >>conftest.$ac_ext
16476 cat >>conftest.$ac_ext <<_ACEOF
16477 /* end confdefs.h. */
16478 #include <stdlib.h>
16481 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16482 $EGREP "free" >/dev/null 2>&1; then
16485 ac_cv_header_stdc=no
16491 if test $ac_cv_header_stdc = yes; then
16492 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16493 if test "$cross_compiling" = yes; then
16496 cat >conftest.$ac_ext <<_ACEOF
16499 cat confdefs.h >>conftest.$ac_ext
16500 cat >>conftest.$ac_ext <<_ACEOF
16501 /* end confdefs.h. */
16503 #if ((' ' & 0x0FF) == 0x020)
16504 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16505 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16507 # define ISLOWER(c) \
16508 (('a' <= (c) && (c) <= 'i') \
16509 || ('j' <= (c) && (c) <= 'r') \
16510 || ('s' <= (c) && (c) <= 'z'))
16511 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16514 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16519 for (i = 0; i < 256; i++)
16520 if (XOR (islower (i), ISLOWER (i))
16521 || toupper (i) != TOUPPER (i))
16526 rm -f conftest$ac_exeext
16527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16528 (eval $ac_link) 2>&5
16530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16533 (eval $ac_try) 2>&5
16535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16536 (exit $ac_status); }; }; then
16539 echo "$as_me: program exited with status $ac_status" >&5
16540 echo "$as_me: failed program was:" >&5
16541 sed 's/^/| /' conftest.$ac_ext >&5
16543 ( exit $ac_status )
16544 ac_cv_header_stdc=no
16546 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16550 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16551 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16552 if test $ac_cv_header_stdc = yes; then
16554 cat >>confdefs.h <<\_ACEOF
16555 #define STDC_HEADERS 1
16560 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16570 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16571 inttypes.h stdint.h unistd.h
16573 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16574 echo "$as_me:$LINENO: checking for $ac_header" >&5
16575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16577 echo $ECHO_N "(cached) $ECHO_C" >&6
16579 cat >conftest.$ac_ext <<_ACEOF
16582 cat confdefs.h >>conftest.$ac_ext
16583 cat >>conftest.$ac_ext <<_ACEOF
16584 /* end confdefs.h. */
16585 $ac_includes_default
16587 #include <$ac_header>
16589 rm -f conftest.$ac_objext
16590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16591 (eval $ac_compile) 2>conftest.er1
16593 grep -v '^ *+' conftest.er1 >conftest.err
16595 cat conftest.err >&5
16596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16597 (exit $ac_status); } &&
16598 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16600 (eval $ac_try) 2>&5
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); }; } &&
16604 { ac_try='test -s conftest.$ac_objext'
16605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16606 (eval $ac_try) 2>&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); }; }; then
16610 eval "$as_ac_Header=yes"
16612 echo "$as_me: failed program was:" >&5
16613 sed 's/^/| /' conftest.$ac_ext >&5
16615 eval "$as_ac_Header=no"
16617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16621 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16622 cat >>confdefs.h <<_ACEOF
16623 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16632 for ac_header in stdlib.h
16634 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16636 echo "$as_me:$LINENO: checking for $ac_header" >&5
16637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16639 echo $ECHO_N "(cached) $ECHO_C" >&6
16641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16642 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16644 # Is the header compilable?
16645 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16646 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16647 cat >conftest.$ac_ext <<_ACEOF
16650 cat confdefs.h >>conftest.$ac_ext
16651 cat >>conftest.$ac_ext <<_ACEOF
16652 /* end confdefs.h. */
16653 $ac_includes_default
16654 #include <$ac_header>
16656 rm -f conftest.$ac_objext
16657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16658 (eval $ac_compile) 2>conftest.er1
16660 grep -v '^ *+' conftest.er1 >conftest.err
16662 cat conftest.err >&5
16663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16664 (exit $ac_status); } &&
16665 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16667 (eval $ac_try) 2>&5
16669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16670 (exit $ac_status); }; } &&
16671 { ac_try='test -s conftest.$ac_objext'
16672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16673 (eval $ac_try) 2>&5
16675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16676 (exit $ac_status); }; }; then
16677 ac_header_compiler=yes
16679 echo "$as_me: failed program was:" >&5
16680 sed 's/^/| /' conftest.$ac_ext >&5
16682 ac_header_compiler=no
16684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16685 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16686 echo "${ECHO_T}$ac_header_compiler" >&6
16688 # Is the header present?
16689 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16690 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16691 cat >conftest.$ac_ext <<_ACEOF
16694 cat confdefs.h >>conftest.$ac_ext
16695 cat >>conftest.$ac_ext <<_ACEOF
16696 /* end confdefs.h. */
16697 #include <$ac_header>
16699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16700 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16702 grep -v '^ *+' conftest.er1 >conftest.err
16704 cat conftest.err >&5
16705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706 (exit $ac_status); } >/dev/null; then
16707 if test -s conftest.err; then
16708 ac_cpp_err=$ac_cxx_preproc_warn_flag
16709 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16716 if test -z "$ac_cpp_err"; then
16717 ac_header_preproc=yes
16719 echo "$as_me: failed program was:" >&5
16720 sed 's/^/| /' conftest.$ac_ext >&5
16722 ac_header_preproc=no
16724 rm -f conftest.err conftest.$ac_ext
16725 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16726 echo "${ECHO_T}$ac_header_preproc" >&6
16728 # So? What about this header?
16729 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16731 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16732 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16733 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16734 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16735 ac_header_preproc=yes
16738 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16739 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16740 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16741 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16742 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16743 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16744 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16745 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16746 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16747 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16748 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16749 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16752 ## ----------------------------------------- ##
16753 ## Report this to wx-dev@lists.wxwidgets.org ##
16754 ## ----------------------------------------- ##
16757 sed "s/^/$as_me: WARNING: /" >&2
16760 echo "$as_me:$LINENO: checking for $ac_header" >&5
16761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16763 echo $ECHO_N "(cached) $ECHO_C" >&6
16765 eval "$as_ac_Header=\$ac_header_preproc"
16767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16768 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16772 cat >>confdefs.h <<_ACEOF
16773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16781 for ac_header in malloc.h
16783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16785 echo "$as_me:$LINENO: checking for $ac_header" >&5
16786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16788 echo $ECHO_N "(cached) $ECHO_C" >&6
16790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16793 # Is the header compilable?
16794 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16795 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16796 cat >conftest.$ac_ext <<_ACEOF
16799 cat confdefs.h >>conftest.$ac_ext
16800 cat >>conftest.$ac_ext <<_ACEOF
16801 /* end confdefs.h. */
16802 $ac_includes_default
16803 #include <$ac_header>
16805 rm -f conftest.$ac_objext
16806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16807 (eval $ac_compile) 2>conftest.er1
16809 grep -v '^ *+' conftest.er1 >conftest.err
16811 cat conftest.err >&5
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); } &&
16814 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16816 (eval $ac_try) 2>&5
16818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819 (exit $ac_status); }; } &&
16820 { ac_try='test -s conftest.$ac_objext'
16821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16822 (eval $ac_try) 2>&5
16824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16825 (exit $ac_status); }; }; then
16826 ac_header_compiler=yes
16828 echo "$as_me: failed program was:" >&5
16829 sed 's/^/| /' conftest.$ac_ext >&5
16831 ac_header_compiler=no
16833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16834 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16835 echo "${ECHO_T}$ac_header_compiler" >&6
16837 # Is the header present?
16838 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16839 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16840 cat >conftest.$ac_ext <<_ACEOF
16843 cat confdefs.h >>conftest.$ac_ext
16844 cat >>conftest.$ac_ext <<_ACEOF
16845 /* end confdefs.h. */
16846 #include <$ac_header>
16848 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16849 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16851 grep -v '^ *+' conftest.er1 >conftest.err
16853 cat conftest.err >&5
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); } >/dev/null; then
16856 if test -s conftest.err; then
16857 ac_cpp_err=$ac_cxx_preproc_warn_flag
16858 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16865 if test -z "$ac_cpp_err"; then
16866 ac_header_preproc=yes
16868 echo "$as_me: failed program was:" >&5
16869 sed 's/^/| /' conftest.$ac_ext >&5
16871 ac_header_preproc=no
16873 rm -f conftest.err conftest.$ac_ext
16874 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16875 echo "${ECHO_T}$ac_header_preproc" >&6
16877 # So? What about this header?
16878 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16880 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16881 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16883 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16884 ac_header_preproc=yes
16887 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16888 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16889 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16890 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16891 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16892 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16893 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16894 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16896 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16897 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16898 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16901 ## ----------------------------------------- ##
16902 ## Report this to wx-dev@lists.wxwidgets.org ##
16903 ## ----------------------------------------- ##
16906 sed "s/^/$as_me: WARNING: /" >&2
16909 echo "$as_me:$LINENO: checking for $ac_header" >&5
16910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16912 echo $ECHO_N "(cached) $ECHO_C" >&6
16914 eval "$as_ac_Header=\$ac_header_preproc"
16916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16921 cat >>confdefs.h <<_ACEOF
16922 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16930 for ac_header in unistd.h
16932 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16934 echo "$as_me:$LINENO: checking for $ac_header" >&5
16935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16937 echo $ECHO_N "(cached) $ECHO_C" >&6
16939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16942 # Is the header compilable?
16943 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16944 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16945 cat >conftest.$ac_ext <<_ACEOF
16948 cat confdefs.h >>conftest.$ac_ext
16949 cat >>conftest.$ac_ext <<_ACEOF
16950 /* end confdefs.h. */
16951 $ac_includes_default
16952 #include <$ac_header>
16954 rm -f conftest.$ac_objext
16955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16956 (eval $ac_compile) 2>conftest.er1
16958 grep -v '^ *+' conftest.er1 >conftest.err
16960 cat conftest.err >&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); } &&
16963 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16965 (eval $ac_try) 2>&5
16967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16968 (exit $ac_status); }; } &&
16969 { ac_try='test -s conftest.$ac_objext'
16970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16971 (eval $ac_try) 2>&5
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); }; }; then
16975 ac_header_compiler=yes
16977 echo "$as_me: failed program was:" >&5
16978 sed 's/^/| /' conftest.$ac_ext >&5
16980 ac_header_compiler=no
16982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16983 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16984 echo "${ECHO_T}$ac_header_compiler" >&6
16986 # Is the header present?
16987 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16988 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16989 cat >conftest.$ac_ext <<_ACEOF
16992 cat confdefs.h >>conftest.$ac_ext
16993 cat >>conftest.$ac_ext <<_ACEOF
16994 /* end confdefs.h. */
16995 #include <$ac_header>
16997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16998 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17000 grep -v '^ *+' conftest.er1 >conftest.err
17002 cat conftest.err >&5
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); } >/dev/null; then
17005 if test -s conftest.err; then
17006 ac_cpp_err=$ac_cxx_preproc_warn_flag
17007 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17014 if test -z "$ac_cpp_err"; then
17015 ac_header_preproc=yes
17017 echo "$as_me: failed program was:" >&5
17018 sed 's/^/| /' conftest.$ac_ext >&5
17020 ac_header_preproc=no
17022 rm -f conftest.err conftest.$ac_ext
17023 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17024 echo "${ECHO_T}$ac_header_preproc" >&6
17026 # So? What about this header?
17027 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17029 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17030 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17032 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17033 ac_header_preproc=yes
17036 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17037 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17038 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17039 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17040 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17041 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17042 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17043 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17045 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17046 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17047 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17050 ## ----------------------------------------- ##
17051 ## Report this to wx-dev@lists.wxwidgets.org ##
17052 ## ----------------------------------------- ##
17055 sed "s/^/$as_me: WARNING: /" >&2
17058 echo "$as_me:$LINENO: checking for $ac_header" >&5
17059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17061 echo $ECHO_N "(cached) $ECHO_C" >&6
17063 eval "$as_ac_Header=\$ac_header_preproc"
17065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17066 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17069 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17070 cat >>confdefs.h <<_ACEOF
17071 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17079 for ac_header in wchar.h
17081 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17083 echo "$as_me:$LINENO: checking for $ac_header" >&5
17084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17086 echo $ECHO_N "(cached) $ECHO_C" >&6
17088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17091 # Is the header compilable?
17092 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17093 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17094 cat >conftest.$ac_ext <<_ACEOF
17097 cat confdefs.h >>conftest.$ac_ext
17098 cat >>conftest.$ac_ext <<_ACEOF
17099 /* end confdefs.h. */
17100 $ac_includes_default
17101 #include <$ac_header>
17103 rm -f conftest.$ac_objext
17104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17105 (eval $ac_compile) 2>conftest.er1
17107 grep -v '^ *+' conftest.er1 >conftest.err
17109 cat conftest.err >&5
17110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17111 (exit $ac_status); } &&
17112 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17114 (eval $ac_try) 2>&5
17116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17117 (exit $ac_status); }; } &&
17118 { ac_try='test -s conftest.$ac_objext'
17119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17120 (eval $ac_try) 2>&5
17122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17123 (exit $ac_status); }; }; then
17124 ac_header_compiler=yes
17126 echo "$as_me: failed program was:" >&5
17127 sed 's/^/| /' conftest.$ac_ext >&5
17129 ac_header_compiler=no
17131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17132 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17133 echo "${ECHO_T}$ac_header_compiler" >&6
17135 # Is the header present?
17136 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17137 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17138 cat >conftest.$ac_ext <<_ACEOF
17141 cat confdefs.h >>conftest.$ac_ext
17142 cat >>conftest.$ac_ext <<_ACEOF
17143 /* end confdefs.h. */
17144 #include <$ac_header>
17146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17147 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17149 grep -v '^ *+' conftest.er1 >conftest.err
17151 cat conftest.err >&5
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); } >/dev/null; then
17154 if test -s conftest.err; then
17155 ac_cpp_err=$ac_cxx_preproc_warn_flag
17156 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17163 if test -z "$ac_cpp_err"; then
17164 ac_header_preproc=yes
17166 echo "$as_me: failed program was:" >&5
17167 sed 's/^/| /' conftest.$ac_ext >&5
17169 ac_header_preproc=no
17171 rm -f conftest.err conftest.$ac_ext
17172 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17173 echo "${ECHO_T}$ac_header_preproc" >&6
17175 # So? What about this header?
17176 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17178 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17179 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17180 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17181 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17182 ac_header_preproc=yes
17185 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17186 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17187 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17188 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17189 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17190 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17191 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17192 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17194 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17195 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17196 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17199 ## ----------------------------------------- ##
17200 ## Report this to wx-dev@lists.wxwidgets.org ##
17201 ## ----------------------------------------- ##
17204 sed "s/^/$as_me: WARNING: /" >&2
17207 echo "$as_me:$LINENO: checking for $ac_header" >&5
17208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17210 echo $ECHO_N "(cached) $ECHO_C" >&6
17212 eval "$as_ac_Header=\$ac_header_preproc"
17214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17215 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17218 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17219 cat >>confdefs.h <<_ACEOF
17220 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17228 if test "$ac_cv_header_wchar_h" != "yes"; then
17230 for ac_header in wcstr.h
17232 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17234 echo "$as_me:$LINENO: checking for $ac_header" >&5
17235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17237 echo $ECHO_N "(cached) $ECHO_C" >&6
17239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17242 # Is the header compilable?
17243 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17244 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17245 cat >conftest.$ac_ext <<_ACEOF
17248 cat confdefs.h >>conftest.$ac_ext
17249 cat >>conftest.$ac_ext <<_ACEOF
17250 /* end confdefs.h. */
17251 $ac_includes_default
17252 #include <$ac_header>
17254 rm -f conftest.$ac_objext
17255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17256 (eval $ac_compile) 2>conftest.er1
17258 grep -v '^ *+' conftest.er1 >conftest.err
17260 cat conftest.err >&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); } &&
17263 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17265 (eval $ac_try) 2>&5
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); }; } &&
17269 { ac_try='test -s conftest.$ac_objext'
17270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17271 (eval $ac_try) 2>&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); }; }; then
17275 ac_header_compiler=yes
17277 echo "$as_me: failed program was:" >&5
17278 sed 's/^/| /' conftest.$ac_ext >&5
17280 ac_header_compiler=no
17282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17283 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17284 echo "${ECHO_T}$ac_header_compiler" >&6
17286 # Is the header present?
17287 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17288 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17289 cat >conftest.$ac_ext <<_ACEOF
17292 cat confdefs.h >>conftest.$ac_ext
17293 cat >>conftest.$ac_ext <<_ACEOF
17294 /* end confdefs.h. */
17295 #include <$ac_header>
17297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17298 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17300 grep -v '^ *+' conftest.er1 >conftest.err
17302 cat conftest.err >&5
17303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304 (exit $ac_status); } >/dev/null; then
17305 if test -s conftest.err; then
17306 ac_cpp_err=$ac_cxx_preproc_warn_flag
17307 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17314 if test -z "$ac_cpp_err"; then
17315 ac_header_preproc=yes
17317 echo "$as_me: failed program was:" >&5
17318 sed 's/^/| /' conftest.$ac_ext >&5
17320 ac_header_preproc=no
17322 rm -f conftest.err conftest.$ac_ext
17323 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17324 echo "${ECHO_T}$ac_header_preproc" >&6
17326 # So? What about this header?
17327 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17329 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17330 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17331 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17332 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17333 ac_header_preproc=yes
17336 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17337 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17338 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17339 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17340 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17341 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17342 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17343 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17345 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17346 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17347 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17350 ## ----------------------------------------- ##
17351 ## Report this to wx-dev@lists.wxwidgets.org ##
17352 ## ----------------------------------------- ##
17355 sed "s/^/$as_me: WARNING: /" >&2
17358 echo "$as_me:$LINENO: checking for $ac_header" >&5
17359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17361 echo $ECHO_N "(cached) $ECHO_C" >&6
17363 eval "$as_ac_Header=\$ac_header_preproc"
17365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17369 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17370 cat >>confdefs.h <<_ACEOF
17371 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17381 for ac_header in fnmatch.h
17383 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17385 echo "$as_me:$LINENO: checking for $ac_header" >&5
17386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17388 echo $ECHO_N "(cached) $ECHO_C" >&6
17390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17391 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17393 # Is the header compilable?
17394 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17395 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17396 cat >conftest.$ac_ext <<_ACEOF
17399 cat confdefs.h >>conftest.$ac_ext
17400 cat >>conftest.$ac_ext <<_ACEOF
17401 /* end confdefs.h. */
17402 $ac_includes_default
17403 #include <$ac_header>
17405 rm -f conftest.$ac_objext
17406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17407 (eval $ac_compile) 2>conftest.er1
17409 grep -v '^ *+' conftest.er1 >conftest.err
17411 cat conftest.err >&5
17412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17413 (exit $ac_status); } &&
17414 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17416 (eval $ac_try) 2>&5
17418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17419 (exit $ac_status); }; } &&
17420 { ac_try='test -s conftest.$ac_objext'
17421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17422 (eval $ac_try) 2>&5
17424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17425 (exit $ac_status); }; }; then
17426 ac_header_compiler=yes
17428 echo "$as_me: failed program was:" >&5
17429 sed 's/^/| /' conftest.$ac_ext >&5
17431 ac_header_compiler=no
17433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17434 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17435 echo "${ECHO_T}$ac_header_compiler" >&6
17437 # Is the header present?
17438 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17439 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17440 cat >conftest.$ac_ext <<_ACEOF
17443 cat confdefs.h >>conftest.$ac_ext
17444 cat >>conftest.$ac_ext <<_ACEOF
17445 /* end confdefs.h. */
17446 #include <$ac_header>
17448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17449 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
17456 if test -s conftest.err; then
17457 ac_cpp_err=$ac_cxx_preproc_warn_flag
17458 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17465 if test -z "$ac_cpp_err"; then
17466 ac_header_preproc=yes
17468 echo "$as_me: failed program was:" >&5
17469 sed 's/^/| /' conftest.$ac_ext >&5
17471 ac_header_preproc=no
17473 rm -f conftest.err conftest.$ac_ext
17474 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17475 echo "${ECHO_T}$ac_header_preproc" >&6
17477 # So? What about this header?
17478 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17480 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17481 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17483 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17484 ac_header_preproc=yes
17487 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17488 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17489 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17490 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17491 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17492 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17493 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17494 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17496 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17497 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17498 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17501 ## ----------------------------------------- ##
17502 ## Report this to wx-dev@lists.wxwidgets.org ##
17503 ## ----------------------------------------- ##
17506 sed "s/^/$as_me: WARNING: /" >&2
17509 echo "$as_me:$LINENO: checking for $ac_header" >&5
17510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17512 echo $ECHO_N "(cached) $ECHO_C" >&6
17514 eval "$as_ac_Header=\$ac_header_preproc"
17516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17521 cat >>confdefs.h <<_ACEOF
17522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17531 for ac_header in langinfo.h
17533 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17535 echo "$as_me:$LINENO: checking for $ac_header" >&5
17536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17538 echo $ECHO_N "(cached) $ECHO_C" >&6
17540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17541 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17543 # Is the header compilable?
17544 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17545 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17546 cat >conftest.$ac_ext <<_ACEOF
17549 cat confdefs.h >>conftest.$ac_ext
17550 cat >>conftest.$ac_ext <<_ACEOF
17551 /* end confdefs.h. */
17552 $ac_includes_default
17553 #include <$ac_header>
17555 rm -f conftest.$ac_objext
17556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17557 (eval $ac_compile) 2>conftest.er1
17559 grep -v '^ *+' conftest.er1 >conftest.err
17561 cat conftest.err >&5
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); } &&
17564 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17566 (eval $ac_try) 2>&5
17568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17569 (exit $ac_status); }; } &&
17570 { ac_try='test -s conftest.$ac_objext'
17571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17572 (eval $ac_try) 2>&5
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); }; }; then
17576 ac_header_compiler=yes
17578 echo "$as_me: failed program was:" >&5
17579 sed 's/^/| /' conftest.$ac_ext >&5
17581 ac_header_compiler=no
17583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17584 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17585 echo "${ECHO_T}$ac_header_compiler" >&6
17587 # Is the header present?
17588 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17589 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17590 cat >conftest.$ac_ext <<_ACEOF
17593 cat confdefs.h >>conftest.$ac_ext
17594 cat >>conftest.$ac_ext <<_ACEOF
17595 /* end confdefs.h. */
17596 #include <$ac_header>
17598 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17599 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17601 grep -v '^ *+' conftest.er1 >conftest.err
17603 cat conftest.err >&5
17604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17605 (exit $ac_status); } >/dev/null; then
17606 if test -s conftest.err; then
17607 ac_cpp_err=$ac_cxx_preproc_warn_flag
17608 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17615 if test -z "$ac_cpp_err"; then
17616 ac_header_preproc=yes
17618 echo "$as_me: failed program was:" >&5
17619 sed 's/^/| /' conftest.$ac_ext >&5
17621 ac_header_preproc=no
17623 rm -f conftest.err conftest.$ac_ext
17624 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17625 echo "${ECHO_T}$ac_header_preproc" >&6
17627 # So? What about this header?
17628 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17630 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17631 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17633 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17634 ac_header_preproc=yes
17637 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17638 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17639 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17640 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17641 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17642 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17643 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17644 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17645 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17646 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17647 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17648 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17651 ## ----------------------------------------- ##
17652 ## Report this to wx-dev@lists.wxwidgets.org ##
17653 ## ----------------------------------------- ##
17656 sed "s/^/$as_me: WARNING: /" >&2
17659 echo "$as_me:$LINENO: checking for $ac_header" >&5
17660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17662 echo $ECHO_N "(cached) $ECHO_C" >&6
17664 eval "$as_ac_Header=\$ac_header_preproc"
17666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17667 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17670 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17671 cat >>confdefs.h <<_ACEOF
17672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17681 *-pc-os2_emx | *-pc-os2-emx )
17682 if test $ac_cv_header_langinfo_h = "yes" \
17683 -a \( "$wx_cv_gccversion" = "EMX2" \
17684 -o "$wx_cv_gccversion" = "EMX3" \
17685 -o "$wx_cv_gccversion" = "Innotek5" \); then
17686 LIBS="$LIBS -lintl"
17691 if test "$USE_UNIX" = 1 ; then
17693 for ac_header in sys/select.h
17695 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17697 echo "$as_me:$LINENO: checking for $ac_header" >&5
17698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17700 echo $ECHO_N "(cached) $ECHO_C" >&6
17702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17705 # Is the header compilable?
17706 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17707 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17708 cat >conftest.$ac_ext <<_ACEOF
17711 cat confdefs.h >>conftest.$ac_ext
17712 cat >>conftest.$ac_ext <<_ACEOF
17713 /* end confdefs.h. */
17714 $ac_includes_default
17715 #include <$ac_header>
17717 rm -f conftest.$ac_objext
17718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17719 (eval $ac_compile) 2>conftest.er1
17721 grep -v '^ *+' conftest.er1 >conftest.err
17723 cat conftest.err >&5
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); } &&
17726 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17728 (eval $ac_try) 2>&5
17730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17731 (exit $ac_status); }; } &&
17732 { ac_try='test -s conftest.$ac_objext'
17733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17734 (eval $ac_try) 2>&5
17736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); }; }; then
17738 ac_header_compiler=yes
17740 echo "$as_me: failed program was:" >&5
17741 sed 's/^/| /' conftest.$ac_ext >&5
17743 ac_header_compiler=no
17745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17746 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17747 echo "${ECHO_T}$ac_header_compiler" >&6
17749 # Is the header present?
17750 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17751 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
17760 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17761 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17763 grep -v '^ *+' conftest.er1 >conftest.err
17765 cat conftest.err >&5
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); } >/dev/null; then
17768 if test -s conftest.err; then
17769 ac_cpp_err=$ac_cxx_preproc_warn_flag
17770 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17777 if test -z "$ac_cpp_err"; then
17778 ac_header_preproc=yes
17780 echo "$as_me: failed program was:" >&5
17781 sed 's/^/| /' conftest.$ac_ext >&5
17783 ac_header_preproc=no
17785 rm -f conftest.err conftest.$ac_ext
17786 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17787 echo "${ECHO_T}$ac_header_preproc" >&6
17789 # So? What about this header?
17790 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17792 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17793 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17794 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17795 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17796 ac_header_preproc=yes
17799 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17800 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17801 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17802 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17803 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17804 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17805 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17806 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17808 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17809 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17810 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17813 ## ----------------------------------------- ##
17814 ## Report this to wx-dev@lists.wxwidgets.org ##
17815 ## ----------------------------------------- ##
17818 sed "s/^/$as_me: WARNING: /" >&2
17821 echo "$as_me:$LINENO: checking for $ac_header" >&5
17822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17824 echo $ECHO_N "(cached) $ECHO_C" >&6
17826 eval "$as_ac_Header=\$ac_header_preproc"
17828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17832 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17833 cat >>confdefs.h <<_ACEOF
17834 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17844 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17845 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17846 if test "${ac_cv_c_const+set}" = set; then
17847 echo $ECHO_N "(cached) $ECHO_C" >&6
17849 cat >conftest.$ac_ext <<_ACEOF
17852 cat confdefs.h >>conftest.$ac_ext
17853 cat >>conftest.$ac_ext <<_ACEOF
17854 /* end confdefs.h. */
17859 /* FIXME: Include the comments suggested by Paul. */
17860 #ifndef __cplusplus
17861 /* Ultrix mips cc rejects this. */
17862 typedef int charset[2];
17864 /* SunOS 4.1.1 cc rejects this. */
17865 char const *const *ccp;
17867 /* NEC SVR4.0.2 mips cc rejects this. */
17868 struct point {int x, y;};
17869 static struct point const zero = {0,0};
17870 /* AIX XL C 1.02.0.0 rejects this.
17871 It does not let you subtract one const X* pointer from another in
17872 an arm of an if-expression whose if-part is not a constant
17874 const char *g = "string";
17875 ccp = &g + (g ? g-g : 0);
17876 /* HPUX 7.0 cc rejects these. */
17879 ccp = (char const *const *) p;
17880 { /* SCO 3.2v4 cc rejects this. */
17882 char const *s = 0 ? (char *) 0 : (char const *) 0;
17886 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17887 int x[] = {25, 17};
17888 const int *foo = &x[0];
17891 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17892 typedef const int *iptr;
17896 { /* AIX XL C 1.02.0.0 rejects this saying
17897 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17898 struct s { int j; const int *ap[3]; };
17899 struct s *b; b->j = 5;
17901 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17902 const int foo = 10;
17910 rm -f conftest.$ac_objext
17911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17912 (eval $ac_compile) 2>conftest.er1
17914 grep -v '^ *+' conftest.er1 >conftest.err
17916 cat conftest.err >&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); } &&
17919 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17921 (eval $ac_try) 2>&5
17923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924 (exit $ac_status); }; } &&
17925 { ac_try='test -s conftest.$ac_objext'
17926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17927 (eval $ac_try) 2>&5
17929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17930 (exit $ac_status); }; }; then
17933 echo "$as_me: failed program was:" >&5
17934 sed 's/^/| /' conftest.$ac_ext >&5
17938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17940 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17941 echo "${ECHO_T}$ac_cv_c_const" >&6
17942 if test $ac_cv_c_const = no; then
17944 cat >>confdefs.h <<\_ACEOF
17950 echo "$as_me:$LINENO: checking for inline" >&5
17951 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17952 if test "${ac_cv_c_inline+set}" = set; then
17953 echo $ECHO_N "(cached) $ECHO_C" >&6
17956 for ac_kw in inline __inline__ __inline; do
17957 cat >conftest.$ac_ext <<_ACEOF
17960 cat confdefs.h >>conftest.$ac_ext
17961 cat >>conftest.$ac_ext <<_ACEOF
17962 /* end confdefs.h. */
17963 #ifndef __cplusplus
17965 static $ac_kw foo_t static_foo () {return 0; }
17966 $ac_kw foo_t foo () {return 0; }
17970 rm -f conftest.$ac_objext
17971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17972 (eval $ac_compile) 2>conftest.er1
17974 grep -v '^ *+' conftest.er1 >conftest.err
17976 cat conftest.err >&5
17977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17978 (exit $ac_status); } &&
17979 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17981 (eval $ac_try) 2>&5
17983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17984 (exit $ac_status); }; } &&
17985 { ac_try='test -s conftest.$ac_objext'
17986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17987 (eval $ac_try) 2>&5
17989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17990 (exit $ac_status); }; }; then
17991 ac_cv_c_inline=$ac_kw; break
17993 echo "$as_me: failed program was:" >&5
17994 sed 's/^/| /' conftest.$ac_ext >&5
17997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18001 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18002 echo "${ECHO_T}$ac_cv_c_inline" >&6
18005 case $ac_cv_c_inline in
18008 case $ac_cv_c_inline in
18010 *) ac_val=$ac_cv_c_inline;;
18012 cat >>confdefs.h <<_ACEOF
18013 #ifndef __cplusplus
18014 #define inline $ac_val
18021 echo "$as_me:$LINENO: checking for char" >&5
18022 echo $ECHO_N "checking for char... $ECHO_C" >&6
18023 if test "${ac_cv_type_char+set}" = set; then
18024 echo $ECHO_N "(cached) $ECHO_C" >&6
18026 cat >conftest.$ac_ext <<_ACEOF
18029 cat confdefs.h >>conftest.$ac_ext
18030 cat >>conftest.$ac_ext <<_ACEOF
18031 /* end confdefs.h. */
18032 $ac_includes_default
18044 rm -f conftest.$ac_objext
18045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18046 (eval $ac_compile) 2>conftest.er1
18048 grep -v '^ *+' conftest.er1 >conftest.err
18050 cat conftest.err >&5
18051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18052 (exit $ac_status); } &&
18053 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18055 (eval $ac_try) 2>&5
18057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058 (exit $ac_status); }; } &&
18059 { ac_try='test -s conftest.$ac_objext'
18060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18061 (eval $ac_try) 2>&5
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); }; }; then
18065 ac_cv_type_char=yes
18067 echo "$as_me: failed program was:" >&5
18068 sed 's/^/| /' conftest.$ac_ext >&5
18072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18074 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18075 echo "${ECHO_T}$ac_cv_type_char" >&6
18077 echo "$as_me:$LINENO: checking size of char" >&5
18078 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18079 if test "${ac_cv_sizeof_char+set}" = set; then
18080 echo $ECHO_N "(cached) $ECHO_C" >&6
18082 if test "$ac_cv_type_char" = yes; then
18083 # The cast to unsigned long works around a bug in the HP C Compiler
18084 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18085 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18086 # This bug is HP SR number 8606223364.
18087 if test "$cross_compiling" = yes; then
18088 # Depending upon the size, compute the lo and hi bounds.
18089 cat >conftest.$ac_ext <<_ACEOF
18092 cat confdefs.h >>conftest.$ac_ext
18093 cat >>conftest.$ac_ext <<_ACEOF
18094 /* end confdefs.h. */
18095 $ac_includes_default
18099 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18106 rm -f conftest.$ac_objext
18107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18108 (eval $ac_compile) 2>conftest.er1
18110 grep -v '^ *+' conftest.er1 >conftest.err
18112 cat conftest.err >&5
18113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114 (exit $ac_status); } &&
18115 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18117 (eval $ac_try) 2>&5
18119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18120 (exit $ac_status); }; } &&
18121 { ac_try='test -s conftest.$ac_objext'
18122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18123 (eval $ac_try) 2>&5
18125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18126 (exit $ac_status); }; }; then
18129 cat >conftest.$ac_ext <<_ACEOF
18132 cat confdefs.h >>conftest.$ac_ext
18133 cat >>conftest.$ac_ext <<_ACEOF
18134 /* end confdefs.h. */
18135 $ac_includes_default
18139 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18146 rm -f conftest.$ac_objext
18147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18148 (eval $ac_compile) 2>conftest.er1
18150 grep -v '^ *+' conftest.er1 >conftest.err
18152 cat conftest.err >&5
18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154 (exit $ac_status); } &&
18155 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18157 (eval $ac_try) 2>&5
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); }; } &&
18161 { ac_try='test -s conftest.$ac_objext'
18162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18163 (eval $ac_try) 2>&5
18165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18166 (exit $ac_status); }; }; then
18167 ac_hi=$ac_mid; break
18169 echo "$as_me: failed program was:" >&5
18170 sed 's/^/| /' conftest.$ac_ext >&5
18172 ac_lo=`expr $ac_mid + 1`
18173 if test $ac_lo -le $ac_mid; then
18177 ac_mid=`expr 2 '*' $ac_mid + 1`
18179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18182 echo "$as_me: failed program was:" >&5
18183 sed 's/^/| /' conftest.$ac_ext >&5
18185 cat >conftest.$ac_ext <<_ACEOF
18188 cat confdefs.h >>conftest.$ac_ext
18189 cat >>conftest.$ac_ext <<_ACEOF
18190 /* end confdefs.h. */
18191 $ac_includes_default
18195 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18202 rm -f conftest.$ac_objext
18203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18204 (eval $ac_compile) 2>conftest.er1
18206 grep -v '^ *+' conftest.er1 >conftest.err
18208 cat conftest.err >&5
18209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210 (exit $ac_status); } &&
18211 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
18217 { ac_try='test -s conftest.$ac_objext'
18218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18219 (eval $ac_try) 2>&5
18221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222 (exit $ac_status); }; }; then
18225 cat >conftest.$ac_ext <<_ACEOF
18228 cat confdefs.h >>conftest.$ac_ext
18229 cat >>conftest.$ac_ext <<_ACEOF
18230 /* end confdefs.h. */
18231 $ac_includes_default
18235 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18242 rm -f conftest.$ac_objext
18243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18244 (eval $ac_compile) 2>conftest.er1
18246 grep -v '^ *+' conftest.er1 >conftest.err
18248 cat conftest.err >&5
18249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18250 (exit $ac_status); } &&
18251 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18253 (eval $ac_try) 2>&5
18255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18256 (exit $ac_status); }; } &&
18257 { ac_try='test -s conftest.$ac_objext'
18258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18259 (eval $ac_try) 2>&5
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); }; }; then
18263 ac_lo=$ac_mid; break
18265 echo "$as_me: failed program was:" >&5
18266 sed 's/^/| /' conftest.$ac_ext >&5
18268 ac_hi=`expr '(' $ac_mid ')' - 1`
18269 if test $ac_mid -le $ac_hi; then
18273 ac_mid=`expr 2 '*' $ac_mid`
18275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18278 echo "$as_me: failed program was:" >&5
18279 sed 's/^/| /' conftest.$ac_ext >&5
18283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18286 # Binary search between lo and hi bounds.
18287 while test "x$ac_lo" != "x$ac_hi"; do
18288 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18289 cat >conftest.$ac_ext <<_ACEOF
18292 cat confdefs.h >>conftest.$ac_ext
18293 cat >>conftest.$ac_ext <<_ACEOF
18294 /* end confdefs.h. */
18295 $ac_includes_default
18299 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18306 rm -f conftest.$ac_objext
18307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18308 (eval $ac_compile) 2>conftest.er1
18310 grep -v '^ *+' conftest.er1 >conftest.err
18312 cat conftest.err >&5
18313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18314 (exit $ac_status); } &&
18315 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18317 (eval $ac_try) 2>&5
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); }; } &&
18321 { ac_try='test -s conftest.$ac_objext'
18322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18323 (eval $ac_try) 2>&5
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); }; }; then
18329 echo "$as_me: failed program was:" >&5
18330 sed 's/^/| /' conftest.$ac_ext >&5
18332 ac_lo=`expr '(' $ac_mid ')' + 1`
18334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18337 ?*) ac_cv_sizeof_char=$ac_lo;;
18338 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18339 See \`config.log' for more details." >&5
18340 echo "$as_me: error: cannot compute sizeof (char), 77
18341 See \`config.log' for more details." >&2;}
18342 { (exit 1); exit 1; }; } ;;
18345 if test "$cross_compiling" = yes; then
18346 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18347 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18348 { (exit 1); exit 1; }; }
18350 cat >conftest.$ac_ext <<_ACEOF
18353 cat confdefs.h >>conftest.$ac_ext
18354 cat >>conftest.$ac_ext <<_ACEOF
18355 /* end confdefs.h. */
18356 $ac_includes_default
18357 long longval () { return (long) (sizeof (char)); }
18358 unsigned long ulongval () { return (long) (sizeof (char)); }
18360 #include <stdlib.h>
18365 FILE *f = fopen ("conftest.val", "w");
18368 if (((long) (sizeof (char))) < 0)
18370 long i = longval ();
18371 if (i != ((long) (sizeof (char))))
18373 fprintf (f, "%ld\n", i);
18377 unsigned long i = ulongval ();
18378 if (i != ((long) (sizeof (char))))
18380 fprintf (f, "%lu\n", i);
18382 exit (ferror (f) || fclose (f) != 0);
18388 rm -f conftest$ac_exeext
18389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18390 (eval $ac_link) 2>&5
18392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18395 (eval $ac_try) 2>&5
18397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18398 (exit $ac_status); }; }; then
18399 ac_cv_sizeof_char=`cat conftest.val`
18401 echo "$as_me: program exited with status $ac_status" >&5
18402 echo "$as_me: failed program was:" >&5
18403 sed 's/^/| /' conftest.$ac_ext >&5
18405 ( exit $ac_status )
18406 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18407 See \`config.log' for more details." >&5
18408 echo "$as_me: error: cannot compute sizeof (char), 77
18409 See \`config.log' for more details." >&2;}
18410 { (exit 1); exit 1; }; }
18412 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18417 ac_cv_sizeof_char=0
18420 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18421 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18422 cat >>confdefs.h <<_ACEOF
18423 #define SIZEOF_CHAR $ac_cv_sizeof_char
18427 echo "$as_me:$LINENO: checking for short" >&5
18428 echo $ECHO_N "checking for short... $ECHO_C" >&6
18429 if test "${ac_cv_type_short+set}" = set; then
18430 echo $ECHO_N "(cached) $ECHO_C" >&6
18432 cat >conftest.$ac_ext <<_ACEOF
18435 cat confdefs.h >>conftest.$ac_ext
18436 cat >>conftest.$ac_ext <<_ACEOF
18437 /* end confdefs.h. */
18438 $ac_includes_default
18444 if (sizeof (short))
18450 rm -f conftest.$ac_objext
18451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18452 (eval $ac_compile) 2>conftest.er1
18454 grep -v '^ *+' conftest.er1 >conftest.err
18456 cat conftest.err >&5
18457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18458 (exit $ac_status); } &&
18459 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18461 (eval $ac_try) 2>&5
18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464 (exit $ac_status); }; } &&
18465 { ac_try='test -s conftest.$ac_objext'
18466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18467 (eval $ac_try) 2>&5
18469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18470 (exit $ac_status); }; }; then
18471 ac_cv_type_short=yes
18473 echo "$as_me: failed program was:" >&5
18474 sed 's/^/| /' conftest.$ac_ext >&5
18476 ac_cv_type_short=no
18478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18480 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18481 echo "${ECHO_T}$ac_cv_type_short" >&6
18483 echo "$as_me:$LINENO: checking size of short" >&5
18484 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18485 if test "${ac_cv_sizeof_short+set}" = set; then
18486 echo $ECHO_N "(cached) $ECHO_C" >&6
18488 if test "$ac_cv_type_short" = yes; then
18489 # The cast to unsigned long works around a bug in the HP C Compiler
18490 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18491 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18492 # This bug is HP SR number 8606223364.
18493 if test "$cross_compiling" = yes; then
18494 # Depending upon the size, compute the lo and hi bounds.
18495 cat >conftest.$ac_ext <<_ACEOF
18498 cat confdefs.h >>conftest.$ac_ext
18499 cat >>conftest.$ac_ext <<_ACEOF
18500 /* end confdefs.h. */
18501 $ac_includes_default
18505 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18512 rm -f conftest.$ac_objext
18513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18514 (eval $ac_compile) 2>conftest.er1
18516 grep -v '^ *+' conftest.er1 >conftest.err
18518 cat conftest.err >&5
18519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18520 (exit $ac_status); } &&
18521 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
18527 { ac_try='test -s conftest.$ac_objext'
18528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18529 (eval $ac_try) 2>&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); }; }; then
18535 cat >conftest.$ac_ext <<_ACEOF
18538 cat confdefs.h >>conftest.$ac_ext
18539 cat >>conftest.$ac_ext <<_ACEOF
18540 /* end confdefs.h. */
18541 $ac_includes_default
18545 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18552 rm -f conftest.$ac_objext
18553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18554 (eval $ac_compile) 2>conftest.er1
18556 grep -v '^ *+' conftest.er1 >conftest.err
18558 cat conftest.err >&5
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); } &&
18561 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18563 (eval $ac_try) 2>&5
18565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18566 (exit $ac_status); }; } &&
18567 { ac_try='test -s conftest.$ac_objext'
18568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18569 (eval $ac_try) 2>&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); }; }; then
18573 ac_hi=$ac_mid; break
18575 echo "$as_me: failed program was:" >&5
18576 sed 's/^/| /' conftest.$ac_ext >&5
18578 ac_lo=`expr $ac_mid + 1`
18579 if test $ac_lo -le $ac_mid; then
18583 ac_mid=`expr 2 '*' $ac_mid + 1`
18585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18588 echo "$as_me: failed program was:" >&5
18589 sed 's/^/| /' conftest.$ac_ext >&5
18591 cat >conftest.$ac_ext <<_ACEOF
18594 cat confdefs.h >>conftest.$ac_ext
18595 cat >>conftest.$ac_ext <<_ACEOF
18596 /* end confdefs.h. */
18597 $ac_includes_default
18601 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18608 rm -f conftest.$ac_objext
18609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18610 (eval $ac_compile) 2>conftest.er1
18612 grep -v '^ *+' conftest.er1 >conftest.err
18614 cat conftest.err >&5
18615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616 (exit $ac_status); } &&
18617 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18619 (eval $ac_try) 2>&5
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); }; } &&
18623 { ac_try='test -s conftest.$ac_objext'
18624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18625 (eval $ac_try) 2>&5
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); }; }; then
18631 cat >conftest.$ac_ext <<_ACEOF
18634 cat confdefs.h >>conftest.$ac_ext
18635 cat >>conftest.$ac_ext <<_ACEOF
18636 /* end confdefs.h. */
18637 $ac_includes_default
18641 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18648 rm -f conftest.$ac_objext
18649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18650 (eval $ac_compile) 2>conftest.er1
18652 grep -v '^ *+' conftest.er1 >conftest.err
18654 cat conftest.err >&5
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); } &&
18657 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18659 (eval $ac_try) 2>&5
18661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18662 (exit $ac_status); }; } &&
18663 { ac_try='test -s conftest.$ac_objext'
18664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18665 (eval $ac_try) 2>&5
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); }; }; then
18669 ac_lo=$ac_mid; break
18671 echo "$as_me: failed program was:" >&5
18672 sed 's/^/| /' conftest.$ac_ext >&5
18674 ac_hi=`expr '(' $ac_mid ')' - 1`
18675 if test $ac_mid -le $ac_hi; then
18679 ac_mid=`expr 2 '*' $ac_mid`
18681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18684 echo "$as_me: failed program was:" >&5
18685 sed 's/^/| /' conftest.$ac_ext >&5
18689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18692 # Binary search between lo and hi bounds.
18693 while test "x$ac_lo" != "x$ac_hi"; do
18694 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18695 cat >conftest.$ac_ext <<_ACEOF
18698 cat confdefs.h >>conftest.$ac_ext
18699 cat >>conftest.$ac_ext <<_ACEOF
18700 /* end confdefs.h. */
18701 $ac_includes_default
18705 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18712 rm -f conftest.$ac_objext
18713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18714 (eval $ac_compile) 2>conftest.er1
18716 grep -v '^ *+' conftest.er1 >conftest.err
18718 cat conftest.err >&5
18719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18720 (exit $ac_status); } &&
18721 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18723 (eval $ac_try) 2>&5
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); }; } &&
18727 { ac_try='test -s conftest.$ac_objext'
18728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729 (eval $ac_try) 2>&5
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); }; }; then
18735 echo "$as_me: failed program was:" >&5
18736 sed 's/^/| /' conftest.$ac_ext >&5
18738 ac_lo=`expr '(' $ac_mid ')' + 1`
18740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18743 ?*) ac_cv_sizeof_short=$ac_lo;;
18744 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18745 See \`config.log' for more details." >&5
18746 echo "$as_me: error: cannot compute sizeof (short), 77
18747 See \`config.log' for more details." >&2;}
18748 { (exit 1); exit 1; }; } ;;
18751 if test "$cross_compiling" = yes; then
18752 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18753 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18754 { (exit 1); exit 1; }; }
18756 cat >conftest.$ac_ext <<_ACEOF
18759 cat confdefs.h >>conftest.$ac_ext
18760 cat >>conftest.$ac_ext <<_ACEOF
18761 /* end confdefs.h. */
18762 $ac_includes_default
18763 long longval () { return (long) (sizeof (short)); }
18764 unsigned long ulongval () { return (long) (sizeof (short)); }
18766 #include <stdlib.h>
18771 FILE *f = fopen ("conftest.val", "w");
18774 if (((long) (sizeof (short))) < 0)
18776 long i = longval ();
18777 if (i != ((long) (sizeof (short))))
18779 fprintf (f, "%ld\n", i);
18783 unsigned long i = ulongval ();
18784 if (i != ((long) (sizeof (short))))
18786 fprintf (f, "%lu\n", i);
18788 exit (ferror (f) || fclose (f) != 0);
18794 rm -f conftest$ac_exeext
18795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18796 (eval $ac_link) 2>&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18801 (eval $ac_try) 2>&5
18803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18804 (exit $ac_status); }; }; then
18805 ac_cv_sizeof_short=`cat conftest.val`
18807 echo "$as_me: program exited with status $ac_status" >&5
18808 echo "$as_me: failed program was:" >&5
18809 sed 's/^/| /' conftest.$ac_ext >&5
18811 ( exit $ac_status )
18812 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18813 See \`config.log' for more details." >&5
18814 echo "$as_me: error: cannot compute sizeof (short), 77
18815 See \`config.log' for more details." >&2;}
18816 { (exit 1); exit 1; }; }
18818 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18823 ac_cv_sizeof_short=0
18826 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18827 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18828 cat >>confdefs.h <<_ACEOF
18829 #define SIZEOF_SHORT $ac_cv_sizeof_short
18833 echo "$as_me:$LINENO: checking for void *" >&5
18834 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18835 if test "${ac_cv_type_void_p+set}" = set; then
18836 echo $ECHO_N "(cached) $ECHO_C" >&6
18838 cat >conftest.$ac_ext <<_ACEOF
18841 cat confdefs.h >>conftest.$ac_ext
18842 cat >>conftest.$ac_ext <<_ACEOF
18843 /* end confdefs.h. */
18844 $ac_includes_default
18850 if (sizeof (void *))
18856 rm -f conftest.$ac_objext
18857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18858 (eval $ac_compile) 2>conftest.er1
18860 grep -v '^ *+' conftest.er1 >conftest.err
18862 cat conftest.err >&5
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); } &&
18865 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18867 (eval $ac_try) 2>&5
18869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18870 (exit $ac_status); }; } &&
18871 { ac_try='test -s conftest.$ac_objext'
18872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18873 (eval $ac_try) 2>&5
18875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18876 (exit $ac_status); }; }; then
18877 ac_cv_type_void_p=yes
18879 echo "$as_me: failed program was:" >&5
18880 sed 's/^/| /' conftest.$ac_ext >&5
18882 ac_cv_type_void_p=no
18884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18886 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18887 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18889 echo "$as_me:$LINENO: checking size of void *" >&5
18890 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18891 if test "${ac_cv_sizeof_void_p+set}" = set; then
18892 echo $ECHO_N "(cached) $ECHO_C" >&6
18894 if test "$ac_cv_type_void_p" = yes; then
18895 # The cast to unsigned long works around a bug in the HP C Compiler
18896 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18897 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18898 # This bug is HP SR number 8606223364.
18899 if test "$cross_compiling" = yes; then
18900 # Depending upon the size, compute the lo and hi bounds.
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
18911 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18918 rm -f conftest.$ac_objext
18919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18920 (eval $ac_compile) 2>conftest.er1
18922 grep -v '^ *+' conftest.er1 >conftest.err
18924 cat conftest.err >&5
18925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18926 (exit $ac_status); } &&
18927 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18929 (eval $ac_try) 2>&5
18931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18932 (exit $ac_status); }; } &&
18933 { ac_try='test -s conftest.$ac_objext'
18934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18935 (eval $ac_try) 2>&5
18937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18938 (exit $ac_status); }; }; then
18941 cat >conftest.$ac_ext <<_ACEOF
18944 cat confdefs.h >>conftest.$ac_ext
18945 cat >>conftest.$ac_ext <<_ACEOF
18946 /* end confdefs.h. */
18947 $ac_includes_default
18951 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18958 rm -f conftest.$ac_objext
18959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18960 (eval $ac_compile) 2>conftest.er1
18962 grep -v '^ *+' conftest.er1 >conftest.err
18964 cat conftest.err >&5
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); } &&
18967 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18969 (eval $ac_try) 2>&5
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); }; } &&
18973 { ac_try='test -s conftest.$ac_objext'
18974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18975 (eval $ac_try) 2>&5
18977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978 (exit $ac_status); }; }; then
18979 ac_hi=$ac_mid; break
18981 echo "$as_me: failed program was:" >&5
18982 sed 's/^/| /' conftest.$ac_ext >&5
18984 ac_lo=`expr $ac_mid + 1`
18985 if test $ac_lo -le $ac_mid; then
18989 ac_mid=`expr 2 '*' $ac_mid + 1`
18991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18994 echo "$as_me: failed program was:" >&5
18995 sed 's/^/| /' conftest.$ac_ext >&5
18997 cat >conftest.$ac_ext <<_ACEOF
19000 cat confdefs.h >>conftest.$ac_ext
19001 cat >>conftest.$ac_ext <<_ACEOF
19002 /* end confdefs.h. */
19003 $ac_includes_default
19007 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
19014 rm -f conftest.$ac_objext
19015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19016 (eval $ac_compile) 2>conftest.er1
19018 grep -v '^ *+' conftest.er1 >conftest.err
19020 cat conftest.err >&5
19021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19022 (exit $ac_status); } &&
19023 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19025 (eval $ac_try) 2>&5
19027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19028 (exit $ac_status); }; } &&
19029 { ac_try='test -s conftest.$ac_objext'
19030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19031 (eval $ac_try) 2>&5
19033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19034 (exit $ac_status); }; }; then
19037 cat >conftest.$ac_ext <<_ACEOF
19040 cat confdefs.h >>conftest.$ac_ext
19041 cat >>conftest.$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19043 $ac_includes_default
19047 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19054 rm -f conftest.$ac_objext
19055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19056 (eval $ac_compile) 2>conftest.er1
19058 grep -v '^ *+' conftest.er1 >conftest.err
19060 cat conftest.err >&5
19061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19062 (exit $ac_status); } &&
19063 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19065 (eval $ac_try) 2>&5
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); }; } &&
19069 { ac_try='test -s conftest.$ac_objext'
19070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19071 (eval $ac_try) 2>&5
19073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19074 (exit $ac_status); }; }; then
19075 ac_lo=$ac_mid; break
19077 echo "$as_me: failed program was:" >&5
19078 sed 's/^/| /' conftest.$ac_ext >&5
19080 ac_hi=`expr '(' $ac_mid ')' - 1`
19081 if test $ac_mid -le $ac_hi; then
19085 ac_mid=`expr 2 '*' $ac_mid`
19087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19090 echo "$as_me: failed program was:" >&5
19091 sed 's/^/| /' conftest.$ac_ext >&5
19095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19098 # Binary search between lo and hi bounds.
19099 while test "x$ac_lo" != "x$ac_hi"; do
19100 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19101 cat >conftest.$ac_ext <<_ACEOF
19104 cat confdefs.h >>conftest.$ac_ext
19105 cat >>conftest.$ac_ext <<_ACEOF
19106 /* end confdefs.h. */
19107 $ac_includes_default
19111 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19118 rm -f conftest.$ac_objext
19119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19120 (eval $ac_compile) 2>conftest.er1
19122 grep -v '^ *+' conftest.er1 >conftest.err
19124 cat conftest.err >&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); } &&
19127 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19129 (eval $ac_try) 2>&5
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); }; } &&
19133 { ac_try='test -s conftest.$ac_objext'
19134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19135 (eval $ac_try) 2>&5
19137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19138 (exit $ac_status); }; }; then
19141 echo "$as_me: failed program was:" >&5
19142 sed 's/^/| /' conftest.$ac_ext >&5
19144 ac_lo=`expr '(' $ac_mid ')' + 1`
19146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19149 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19150 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19151 See \`config.log' for more details." >&5
19152 echo "$as_me: error: cannot compute sizeof (void *), 77
19153 See \`config.log' for more details." >&2;}
19154 { (exit 1); exit 1; }; } ;;
19157 if test "$cross_compiling" = yes; then
19158 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19159 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19160 { (exit 1); exit 1; }; }
19162 cat >conftest.$ac_ext <<_ACEOF
19165 cat confdefs.h >>conftest.$ac_ext
19166 cat >>conftest.$ac_ext <<_ACEOF
19167 /* end confdefs.h. */
19168 $ac_includes_default
19169 long longval () { return (long) (sizeof (void *)); }
19170 unsigned long ulongval () { return (long) (sizeof (void *)); }
19172 #include <stdlib.h>
19177 FILE *f = fopen ("conftest.val", "w");
19180 if (((long) (sizeof (void *))) < 0)
19182 long i = longval ();
19183 if (i != ((long) (sizeof (void *))))
19185 fprintf (f, "%ld\n", i);
19189 unsigned long i = ulongval ();
19190 if (i != ((long) (sizeof (void *))))
19192 fprintf (f, "%lu\n", i);
19194 exit (ferror (f) || fclose (f) != 0);
19200 rm -f conftest$ac_exeext
19201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19202 (eval $ac_link) 2>&5
19204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19205 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19207 (eval $ac_try) 2>&5
19209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19210 (exit $ac_status); }; }; then
19211 ac_cv_sizeof_void_p=`cat conftest.val`
19213 echo "$as_me: program exited with status $ac_status" >&5
19214 echo "$as_me: failed program was:" >&5
19215 sed 's/^/| /' conftest.$ac_ext >&5
19217 ( exit $ac_status )
19218 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19219 See \`config.log' for more details." >&5
19220 echo "$as_me: error: cannot compute sizeof (void *), 77
19221 See \`config.log' for more details." >&2;}
19222 { (exit 1); exit 1; }; }
19224 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19229 ac_cv_sizeof_void_p=0
19232 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19233 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19234 cat >>confdefs.h <<_ACEOF
19235 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19239 echo "$as_me:$LINENO: checking for int" >&5
19240 echo $ECHO_N "checking for int... $ECHO_C" >&6
19241 if test "${ac_cv_type_int+set}" = set; then
19242 echo $ECHO_N "(cached) $ECHO_C" >&6
19244 cat >conftest.$ac_ext <<_ACEOF
19247 cat confdefs.h >>conftest.$ac_ext
19248 cat >>conftest.$ac_ext <<_ACEOF
19249 /* end confdefs.h. */
19250 $ac_includes_default
19262 rm -f conftest.$ac_objext
19263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19264 (eval $ac_compile) 2>conftest.er1
19266 grep -v '^ *+' conftest.er1 >conftest.err
19268 cat conftest.err >&5
19269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270 (exit $ac_status); } &&
19271 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19273 (eval $ac_try) 2>&5
19275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19276 (exit $ac_status); }; } &&
19277 { ac_try='test -s conftest.$ac_objext'
19278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19279 (eval $ac_try) 2>&5
19281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19282 (exit $ac_status); }; }; then
19285 echo "$as_me: failed program was:" >&5
19286 sed 's/^/| /' conftest.$ac_ext >&5
19290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19292 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19293 echo "${ECHO_T}$ac_cv_type_int" >&6
19295 echo "$as_me:$LINENO: checking size of int" >&5
19296 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19297 if test "${ac_cv_sizeof_int+set}" = set; then
19298 echo $ECHO_N "(cached) $ECHO_C" >&6
19300 if test "$ac_cv_type_int" = yes; then
19301 # The cast to unsigned long works around a bug in the HP C Compiler
19302 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19303 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19304 # This bug is HP SR number 8606223364.
19305 if test "$cross_compiling" = yes; then
19306 # Depending upon the size, compute the lo and hi bounds.
19307 cat >conftest.$ac_ext <<_ACEOF
19310 cat confdefs.h >>conftest.$ac_ext
19311 cat >>conftest.$ac_ext <<_ACEOF
19312 /* end confdefs.h. */
19313 $ac_includes_default
19317 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19324 rm -f conftest.$ac_objext
19325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19326 (eval $ac_compile) 2>conftest.er1
19328 grep -v '^ *+' conftest.er1 >conftest.err
19330 cat conftest.err >&5
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); } &&
19333 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19335 (eval $ac_try) 2>&5
19337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19338 (exit $ac_status); }; } &&
19339 { ac_try='test -s conftest.$ac_objext'
19340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19341 (eval $ac_try) 2>&5
19343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344 (exit $ac_status); }; }; then
19347 cat >conftest.$ac_ext <<_ACEOF
19350 cat confdefs.h >>conftest.$ac_ext
19351 cat >>conftest.$ac_ext <<_ACEOF
19352 /* end confdefs.h. */
19353 $ac_includes_default
19357 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19364 rm -f conftest.$ac_objext
19365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19366 (eval $ac_compile) 2>conftest.er1
19368 grep -v '^ *+' conftest.er1 >conftest.err
19370 cat conftest.err >&5
19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19372 (exit $ac_status); } &&
19373 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19375 (eval $ac_try) 2>&5
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); }; } &&
19379 { ac_try='test -s conftest.$ac_objext'
19380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19381 (eval $ac_try) 2>&5
19383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19384 (exit $ac_status); }; }; then
19385 ac_hi=$ac_mid; break
19387 echo "$as_me: failed program was:" >&5
19388 sed 's/^/| /' conftest.$ac_ext >&5
19390 ac_lo=`expr $ac_mid + 1`
19391 if test $ac_lo -le $ac_mid; then
19395 ac_mid=`expr 2 '*' $ac_mid + 1`
19397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19400 echo "$as_me: failed program was:" >&5
19401 sed 's/^/| /' conftest.$ac_ext >&5
19403 cat >conftest.$ac_ext <<_ACEOF
19406 cat confdefs.h >>conftest.$ac_ext
19407 cat >>conftest.$ac_ext <<_ACEOF
19408 /* end confdefs.h. */
19409 $ac_includes_default
19413 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19420 rm -f conftest.$ac_objext
19421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19422 (eval $ac_compile) 2>conftest.er1
19424 grep -v '^ *+' conftest.er1 >conftest.err
19426 cat conftest.err >&5
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); } &&
19429 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19431 (eval $ac_try) 2>&5
19433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19434 (exit $ac_status); }; } &&
19435 { ac_try='test -s conftest.$ac_objext'
19436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19437 (eval $ac_try) 2>&5
19439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19440 (exit $ac_status); }; }; then
19443 cat >conftest.$ac_ext <<_ACEOF
19446 cat confdefs.h >>conftest.$ac_ext
19447 cat >>conftest.$ac_ext <<_ACEOF
19448 /* end confdefs.h. */
19449 $ac_includes_default
19453 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19460 rm -f conftest.$ac_objext
19461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19462 (eval $ac_compile) 2>conftest.er1
19464 grep -v '^ *+' conftest.er1 >conftest.err
19466 cat conftest.err >&5
19467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19468 (exit $ac_status); } &&
19469 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19471 (eval $ac_try) 2>&5
19473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19474 (exit $ac_status); }; } &&
19475 { ac_try='test -s conftest.$ac_objext'
19476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19477 (eval $ac_try) 2>&5
19479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19480 (exit $ac_status); }; }; then
19481 ac_lo=$ac_mid; break
19483 echo "$as_me: failed program was:" >&5
19484 sed 's/^/| /' conftest.$ac_ext >&5
19486 ac_hi=`expr '(' $ac_mid ')' - 1`
19487 if test $ac_mid -le $ac_hi; then
19491 ac_mid=`expr 2 '*' $ac_mid`
19493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19496 echo "$as_me: failed program was:" >&5
19497 sed 's/^/| /' conftest.$ac_ext >&5
19501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19504 # Binary search between lo and hi bounds.
19505 while test "x$ac_lo" != "x$ac_hi"; do
19506 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19507 cat >conftest.$ac_ext <<_ACEOF
19510 cat confdefs.h >>conftest.$ac_ext
19511 cat >>conftest.$ac_ext <<_ACEOF
19512 /* end confdefs.h. */
19513 $ac_includes_default
19517 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19524 rm -f conftest.$ac_objext
19525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19526 (eval $ac_compile) 2>conftest.er1
19528 grep -v '^ *+' conftest.er1 >conftest.err
19530 cat conftest.err >&5
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); } &&
19533 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19535 (eval $ac_try) 2>&5
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); }; } &&
19539 { ac_try='test -s conftest.$ac_objext'
19540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19541 (eval $ac_try) 2>&5
19543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 (exit $ac_status); }; }; then
19547 echo "$as_me: failed program was:" >&5
19548 sed 's/^/| /' conftest.$ac_ext >&5
19550 ac_lo=`expr '(' $ac_mid ')' + 1`
19552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19555 ?*) ac_cv_sizeof_int=$ac_lo;;
19556 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19557 See \`config.log' for more details." >&5
19558 echo "$as_me: error: cannot compute sizeof (int), 77
19559 See \`config.log' for more details." >&2;}
19560 { (exit 1); exit 1; }; } ;;
19563 if test "$cross_compiling" = yes; then
19564 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19565 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19566 { (exit 1); exit 1; }; }
19568 cat >conftest.$ac_ext <<_ACEOF
19571 cat confdefs.h >>conftest.$ac_ext
19572 cat >>conftest.$ac_ext <<_ACEOF
19573 /* end confdefs.h. */
19574 $ac_includes_default
19575 long longval () { return (long) (sizeof (int)); }
19576 unsigned long ulongval () { return (long) (sizeof (int)); }
19578 #include <stdlib.h>
19583 FILE *f = fopen ("conftest.val", "w");
19586 if (((long) (sizeof (int))) < 0)
19588 long i = longval ();
19589 if (i != ((long) (sizeof (int))))
19591 fprintf (f, "%ld\n", i);
19595 unsigned long i = ulongval ();
19596 if (i != ((long) (sizeof (int))))
19598 fprintf (f, "%lu\n", i);
19600 exit (ferror (f) || fclose (f) != 0);
19606 rm -f conftest$ac_exeext
19607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19608 (eval $ac_link) 2>&5
19610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19611 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19613 (eval $ac_try) 2>&5
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); }; }; then
19617 ac_cv_sizeof_int=`cat conftest.val`
19619 echo "$as_me: program exited with status $ac_status" >&5
19620 echo "$as_me: failed program was:" >&5
19621 sed 's/^/| /' conftest.$ac_ext >&5
19623 ( exit $ac_status )
19624 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19625 See \`config.log' for more details." >&5
19626 echo "$as_me: error: cannot compute sizeof (int), 77
19627 See \`config.log' for more details." >&2;}
19628 { (exit 1); exit 1; }; }
19630 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19638 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19639 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19640 cat >>confdefs.h <<_ACEOF
19641 #define SIZEOF_INT $ac_cv_sizeof_int
19645 echo "$as_me:$LINENO: checking for long" >&5
19646 echo $ECHO_N "checking for long... $ECHO_C" >&6
19647 if test "${ac_cv_type_long+set}" = set; then
19648 echo $ECHO_N "(cached) $ECHO_C" >&6
19650 cat >conftest.$ac_ext <<_ACEOF
19653 cat confdefs.h >>conftest.$ac_ext
19654 cat >>conftest.$ac_ext <<_ACEOF
19655 /* end confdefs.h. */
19656 $ac_includes_default
19668 rm -f conftest.$ac_objext
19669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19670 (eval $ac_compile) 2>conftest.er1
19672 grep -v '^ *+' conftest.er1 >conftest.err
19674 cat conftest.err >&5
19675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676 (exit $ac_status); } &&
19677 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19679 (eval $ac_try) 2>&5
19681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682 (exit $ac_status); }; } &&
19683 { ac_try='test -s conftest.$ac_objext'
19684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19685 (eval $ac_try) 2>&5
19687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19688 (exit $ac_status); }; }; then
19689 ac_cv_type_long=yes
19691 echo "$as_me: failed program was:" >&5
19692 sed 's/^/| /' conftest.$ac_ext >&5
19696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19698 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19699 echo "${ECHO_T}$ac_cv_type_long" >&6
19701 echo "$as_me:$LINENO: checking size of long" >&5
19702 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19703 if test "${ac_cv_sizeof_long+set}" = set; then
19704 echo $ECHO_N "(cached) $ECHO_C" >&6
19706 if test "$ac_cv_type_long" = yes; then
19707 # The cast to unsigned long works around a bug in the HP C Compiler
19708 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19709 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19710 # This bug is HP SR number 8606223364.
19711 if test "$cross_compiling" = yes; then
19712 # Depending upon the size, compute the lo and hi bounds.
19713 cat >conftest.$ac_ext <<_ACEOF
19716 cat confdefs.h >>conftest.$ac_ext
19717 cat >>conftest.$ac_ext <<_ACEOF
19718 /* end confdefs.h. */
19719 $ac_includes_default
19723 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19730 rm -f conftest.$ac_objext
19731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19732 (eval $ac_compile) 2>conftest.er1
19734 grep -v '^ *+' conftest.er1 >conftest.err
19736 cat conftest.err >&5
19737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19738 (exit $ac_status); } &&
19739 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19741 (eval $ac_try) 2>&5
19743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744 (exit $ac_status); }; } &&
19745 { ac_try='test -s conftest.$ac_objext'
19746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19747 (eval $ac_try) 2>&5
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); }; }; then
19753 cat >conftest.$ac_ext <<_ACEOF
19756 cat confdefs.h >>conftest.$ac_ext
19757 cat >>conftest.$ac_ext <<_ACEOF
19758 /* end confdefs.h. */
19759 $ac_includes_default
19763 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19770 rm -f conftest.$ac_objext
19771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19772 (eval $ac_compile) 2>conftest.er1
19774 grep -v '^ *+' conftest.er1 >conftest.err
19776 cat conftest.err >&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); } &&
19779 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19781 (eval $ac_try) 2>&5
19783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784 (exit $ac_status); }; } &&
19785 { ac_try='test -s conftest.$ac_objext'
19786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19787 (eval $ac_try) 2>&5
19789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19790 (exit $ac_status); }; }; then
19791 ac_hi=$ac_mid; break
19793 echo "$as_me: failed program was:" >&5
19794 sed 's/^/| /' conftest.$ac_ext >&5
19796 ac_lo=`expr $ac_mid + 1`
19797 if test $ac_lo -le $ac_mid; then
19801 ac_mid=`expr 2 '*' $ac_mid + 1`
19803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19806 echo "$as_me: failed program was:" >&5
19807 sed 's/^/| /' conftest.$ac_ext >&5
19809 cat >conftest.$ac_ext <<_ACEOF
19812 cat confdefs.h >>conftest.$ac_ext
19813 cat >>conftest.$ac_ext <<_ACEOF
19814 /* end confdefs.h. */
19815 $ac_includes_default
19819 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19826 rm -f conftest.$ac_objext
19827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19828 (eval $ac_compile) 2>conftest.er1
19830 grep -v '^ *+' conftest.er1 >conftest.err
19832 cat conftest.err >&5
19833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19834 (exit $ac_status); } &&
19835 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19837 (eval $ac_try) 2>&5
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); }; } &&
19841 { ac_try='test -s conftest.$ac_objext'
19842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19843 (eval $ac_try) 2>&5
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); }; }; then
19849 cat >conftest.$ac_ext <<_ACEOF
19852 cat confdefs.h >>conftest.$ac_ext
19853 cat >>conftest.$ac_ext <<_ACEOF
19854 /* end confdefs.h. */
19855 $ac_includes_default
19859 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19866 rm -f conftest.$ac_objext
19867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19868 (eval $ac_compile) 2>conftest.er1
19870 grep -v '^ *+' conftest.er1 >conftest.err
19872 cat conftest.err >&5
19873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19874 (exit $ac_status); } &&
19875 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19877 (eval $ac_try) 2>&5
19879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880 (exit $ac_status); }; } &&
19881 { ac_try='test -s conftest.$ac_objext'
19882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19883 (eval $ac_try) 2>&5
19885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886 (exit $ac_status); }; }; then
19887 ac_lo=$ac_mid; break
19889 echo "$as_me: failed program was:" >&5
19890 sed 's/^/| /' conftest.$ac_ext >&5
19892 ac_hi=`expr '(' $ac_mid ')' - 1`
19893 if test $ac_mid -le $ac_hi; then
19897 ac_mid=`expr 2 '*' $ac_mid`
19899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19902 echo "$as_me: failed program was:" >&5
19903 sed 's/^/| /' conftest.$ac_ext >&5
19907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19910 # Binary search between lo and hi bounds.
19911 while test "x$ac_lo" != "x$ac_hi"; do
19912 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19913 cat >conftest.$ac_ext <<_ACEOF
19916 cat confdefs.h >>conftest.$ac_ext
19917 cat >>conftest.$ac_ext <<_ACEOF
19918 /* end confdefs.h. */
19919 $ac_includes_default
19923 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19930 rm -f conftest.$ac_objext
19931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19932 (eval $ac_compile) 2>conftest.er1
19934 grep -v '^ *+' conftest.er1 >conftest.err
19936 cat conftest.err >&5
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); } &&
19939 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19941 (eval $ac_try) 2>&5
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); }; } &&
19945 { ac_try='test -s conftest.$ac_objext'
19946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19947 (eval $ac_try) 2>&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); }; }; then
19953 echo "$as_me: failed program was:" >&5
19954 sed 's/^/| /' conftest.$ac_ext >&5
19956 ac_lo=`expr '(' $ac_mid ')' + 1`
19958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19961 ?*) ac_cv_sizeof_long=$ac_lo;;
19962 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19963 See \`config.log' for more details." >&5
19964 echo "$as_me: error: cannot compute sizeof (long), 77
19965 See \`config.log' for more details." >&2;}
19966 { (exit 1); exit 1; }; } ;;
19969 if test "$cross_compiling" = yes; then
19970 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19971 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19972 { (exit 1); exit 1; }; }
19974 cat >conftest.$ac_ext <<_ACEOF
19977 cat confdefs.h >>conftest.$ac_ext
19978 cat >>conftest.$ac_ext <<_ACEOF
19979 /* end confdefs.h. */
19980 $ac_includes_default
19981 long longval () { return (long) (sizeof (long)); }
19982 unsigned long ulongval () { return (long) (sizeof (long)); }
19984 #include <stdlib.h>
19989 FILE *f = fopen ("conftest.val", "w");
19992 if (((long) (sizeof (long))) < 0)
19994 long i = longval ();
19995 if (i != ((long) (sizeof (long))))
19997 fprintf (f, "%ld\n", i);
20001 unsigned long i = ulongval ();
20002 if (i != ((long) (sizeof (long))))
20004 fprintf (f, "%lu\n", i);
20006 exit (ferror (f) || fclose (f) != 0);
20012 rm -f conftest$ac_exeext
20013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20014 (eval $ac_link) 2>&5
20016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20017 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20019 (eval $ac_try) 2>&5
20021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20022 (exit $ac_status); }; }; then
20023 ac_cv_sizeof_long=`cat conftest.val`
20025 echo "$as_me: program exited with status $ac_status" >&5
20026 echo "$as_me: failed program was:" >&5
20027 sed 's/^/| /' conftest.$ac_ext >&5
20029 ( exit $ac_status )
20030 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20031 See \`config.log' for more details." >&5
20032 echo "$as_me: error: cannot compute sizeof (long), 77
20033 See \`config.log' for more details." >&2;}
20034 { (exit 1); exit 1; }; }
20036 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20041 ac_cv_sizeof_long=0
20044 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20045 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20046 cat >>confdefs.h <<_ACEOF
20047 #define SIZEOF_LONG $ac_cv_sizeof_long
20051 echo "$as_me:$LINENO: checking for size_t" >&5
20052 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20053 if test "${ac_cv_type_size_t+set}" = set; then
20054 echo $ECHO_N "(cached) $ECHO_C" >&6
20056 cat >conftest.$ac_ext <<_ACEOF
20059 cat confdefs.h >>conftest.$ac_ext
20060 cat >>conftest.$ac_ext <<_ACEOF
20061 /* end confdefs.h. */
20062 $ac_includes_default
20068 if (sizeof (size_t))
20074 rm -f conftest.$ac_objext
20075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20076 (eval $ac_compile) 2>conftest.er1
20078 grep -v '^ *+' conftest.er1 >conftest.err
20080 cat conftest.err >&5
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); } &&
20083 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20085 (eval $ac_try) 2>&5
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); }; } &&
20089 { ac_try='test -s conftest.$ac_objext'
20090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20091 (eval $ac_try) 2>&5
20093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20094 (exit $ac_status); }; }; then
20095 ac_cv_type_size_t=yes
20097 echo "$as_me: failed program was:" >&5
20098 sed 's/^/| /' conftest.$ac_ext >&5
20100 ac_cv_type_size_t=no
20102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20104 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20105 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20107 echo "$as_me:$LINENO: checking size of size_t" >&5
20108 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20109 if test "${ac_cv_sizeof_size_t+set}" = set; then
20110 echo $ECHO_N "(cached) $ECHO_C" >&6
20112 if test "$ac_cv_type_size_t" = yes; then
20113 # The cast to unsigned long works around a bug in the HP C Compiler
20114 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20115 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20116 # This bug is HP SR number 8606223364.
20117 if test "$cross_compiling" = yes; then
20118 # Depending upon the size, compute the lo and hi bounds.
20119 cat >conftest.$ac_ext <<_ACEOF
20122 cat confdefs.h >>conftest.$ac_ext
20123 cat >>conftest.$ac_ext <<_ACEOF
20124 /* end confdefs.h. */
20125 $ac_includes_default
20129 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20136 rm -f conftest.$ac_objext
20137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20138 (eval $ac_compile) 2>conftest.er1
20140 grep -v '^ *+' conftest.er1 >conftest.err
20142 cat conftest.err >&5
20143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144 (exit $ac_status); } &&
20145 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20147 (eval $ac_try) 2>&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); }; } &&
20151 { ac_try='test -s conftest.$ac_objext'
20152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20153 (eval $ac_try) 2>&5
20155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20156 (exit $ac_status); }; }; then
20159 cat >conftest.$ac_ext <<_ACEOF
20162 cat confdefs.h >>conftest.$ac_ext
20163 cat >>conftest.$ac_ext <<_ACEOF
20164 /* end confdefs.h. */
20165 $ac_includes_default
20169 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20176 rm -f conftest.$ac_objext
20177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20178 (eval $ac_compile) 2>conftest.er1
20180 grep -v '^ *+' conftest.er1 >conftest.err
20182 cat conftest.err >&5
20183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20184 (exit $ac_status); } &&
20185 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20187 (eval $ac_try) 2>&5
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); }; } &&
20191 { ac_try='test -s conftest.$ac_objext'
20192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20193 (eval $ac_try) 2>&5
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); }; }; then
20197 ac_hi=$ac_mid; break
20199 echo "$as_me: failed program was:" >&5
20200 sed 's/^/| /' conftest.$ac_ext >&5
20202 ac_lo=`expr $ac_mid + 1`
20203 if test $ac_lo -le $ac_mid; then
20207 ac_mid=`expr 2 '*' $ac_mid + 1`
20209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20212 echo "$as_me: failed program was:" >&5
20213 sed 's/^/| /' conftest.$ac_ext >&5
20215 cat >conftest.$ac_ext <<_ACEOF
20218 cat confdefs.h >>conftest.$ac_ext
20219 cat >>conftest.$ac_ext <<_ACEOF
20220 /* end confdefs.h. */
20221 $ac_includes_default
20225 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20232 rm -f conftest.$ac_objext
20233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20234 (eval $ac_compile) 2>conftest.er1
20236 grep -v '^ *+' conftest.er1 >conftest.err
20238 cat conftest.err >&5
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); } &&
20241 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20243 (eval $ac_try) 2>&5
20245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20246 (exit $ac_status); }; } &&
20247 { ac_try='test -s conftest.$ac_objext'
20248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20249 (eval $ac_try) 2>&5
20251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20252 (exit $ac_status); }; }; then
20255 cat >conftest.$ac_ext <<_ACEOF
20258 cat confdefs.h >>conftest.$ac_ext
20259 cat >>conftest.$ac_ext <<_ACEOF
20260 /* end confdefs.h. */
20261 $ac_includes_default
20265 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20272 rm -f conftest.$ac_objext
20273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20274 (eval $ac_compile) 2>conftest.er1
20276 grep -v '^ *+' conftest.er1 >conftest.err
20278 cat conftest.err >&5
20279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20280 (exit $ac_status); } &&
20281 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
20287 { ac_try='test -s conftest.$ac_objext'
20288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20289 (eval $ac_try) 2>&5
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); }; }; then
20293 ac_lo=$ac_mid; break
20295 echo "$as_me: failed program was:" >&5
20296 sed 's/^/| /' conftest.$ac_ext >&5
20298 ac_hi=`expr '(' $ac_mid ')' - 1`
20299 if test $ac_mid -le $ac_hi; then
20303 ac_mid=`expr 2 '*' $ac_mid`
20305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20308 echo "$as_me: failed program was:" >&5
20309 sed 's/^/| /' conftest.$ac_ext >&5
20313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20316 # Binary search between lo and hi bounds.
20317 while test "x$ac_lo" != "x$ac_hi"; do
20318 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20319 cat >conftest.$ac_ext <<_ACEOF
20322 cat confdefs.h >>conftest.$ac_ext
20323 cat >>conftest.$ac_ext <<_ACEOF
20324 /* end confdefs.h. */
20325 $ac_includes_default
20329 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20336 rm -f conftest.$ac_objext
20337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20338 (eval $ac_compile) 2>conftest.er1
20340 grep -v '^ *+' conftest.er1 >conftest.err
20342 cat conftest.err >&5
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); } &&
20345 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20347 (eval $ac_try) 2>&5
20349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20350 (exit $ac_status); }; } &&
20351 { ac_try='test -s conftest.$ac_objext'
20352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20353 (eval $ac_try) 2>&5
20355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356 (exit $ac_status); }; }; then
20359 echo "$as_me: failed program was:" >&5
20360 sed 's/^/| /' conftest.$ac_ext >&5
20362 ac_lo=`expr '(' $ac_mid ')' + 1`
20364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20367 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20368 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20369 See \`config.log' for more details." >&5
20370 echo "$as_me: error: cannot compute sizeof (size_t), 77
20371 See \`config.log' for more details." >&2;}
20372 { (exit 1); exit 1; }; } ;;
20375 if test "$cross_compiling" = yes; then
20376 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20377 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20378 { (exit 1); exit 1; }; }
20380 cat >conftest.$ac_ext <<_ACEOF
20383 cat confdefs.h >>conftest.$ac_ext
20384 cat >>conftest.$ac_ext <<_ACEOF
20385 /* end confdefs.h. */
20386 $ac_includes_default
20387 long longval () { return (long) (sizeof (size_t)); }
20388 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20390 #include <stdlib.h>
20395 FILE *f = fopen ("conftest.val", "w");
20398 if (((long) (sizeof (size_t))) < 0)
20400 long i = longval ();
20401 if (i != ((long) (sizeof (size_t))))
20403 fprintf (f, "%ld\n", i);
20407 unsigned long i = ulongval ();
20408 if (i != ((long) (sizeof (size_t))))
20410 fprintf (f, "%lu\n", i);
20412 exit (ferror (f) || fclose (f) != 0);
20418 rm -f conftest$ac_exeext
20419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20420 (eval $ac_link) 2>&5
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20425 (eval $ac_try) 2>&5
20427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20428 (exit $ac_status); }; }; then
20429 ac_cv_sizeof_size_t=`cat conftest.val`
20431 echo "$as_me: program exited with status $ac_status" >&5
20432 echo "$as_me: failed program was:" >&5
20433 sed 's/^/| /' conftest.$ac_ext >&5
20435 ( exit $ac_status )
20436 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20437 See \`config.log' for more details." >&5
20438 echo "$as_me: error: cannot compute sizeof (size_t), 77
20439 See \`config.log' for more details." >&2;}
20440 { (exit 1); exit 1; }; }
20442 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20447 ac_cv_sizeof_size_t=0
20450 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20451 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20452 cat >>confdefs.h <<_ACEOF
20453 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20460 echo "$as_me:$LINENO: checking for long long" >&5
20461 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20462 if test "${ac_cv_type_long_long+set}" = set; then
20463 echo $ECHO_N "(cached) $ECHO_C" >&6
20465 cat >conftest.$ac_ext <<_ACEOF
20468 cat confdefs.h >>conftest.$ac_ext
20469 cat >>conftest.$ac_ext <<_ACEOF
20470 /* end confdefs.h. */
20471 $ac_includes_default
20475 if ((long long *) 0)
20477 if (sizeof (long long))
20483 rm -f conftest.$ac_objext
20484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20485 (eval $ac_compile) 2>conftest.er1
20487 grep -v '^ *+' conftest.er1 >conftest.err
20489 cat conftest.err >&5
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); } &&
20492 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20494 (eval $ac_try) 2>&5
20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); }; } &&
20498 { ac_try='test -s conftest.$ac_objext'
20499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20500 (eval $ac_try) 2>&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); }; }; then
20504 ac_cv_type_long_long=yes
20506 echo "$as_me: failed program was:" >&5
20507 sed 's/^/| /' conftest.$ac_ext >&5
20509 ac_cv_type_long_long=no
20511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20513 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20514 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20516 echo "$as_me:$LINENO: checking size of long long" >&5
20517 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20518 if test "${ac_cv_sizeof_long_long+set}" = set; then
20519 echo $ECHO_N "(cached) $ECHO_C" >&6
20521 if test "$ac_cv_type_long_long" = yes; then
20522 # The cast to unsigned long works around a bug in the HP C Compiler
20523 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20524 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20525 # This bug is HP SR number 8606223364.
20526 if test "$cross_compiling" = yes; then
20527 # Depending upon the size, compute the lo and hi bounds.
20528 cat >conftest.$ac_ext <<_ACEOF
20531 cat confdefs.h >>conftest.$ac_ext
20532 cat >>conftest.$ac_ext <<_ACEOF
20533 /* end confdefs.h. */
20534 $ac_includes_default
20538 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20545 rm -f conftest.$ac_objext
20546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20547 (eval $ac_compile) 2>conftest.er1
20549 grep -v '^ *+' conftest.er1 >conftest.err
20551 cat conftest.err >&5
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); } &&
20554 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20556 (eval $ac_try) 2>&5
20558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559 (exit $ac_status); }; } &&
20560 { ac_try='test -s conftest.$ac_objext'
20561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20562 (eval $ac_try) 2>&5
20564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20565 (exit $ac_status); }; }; then
20568 cat >conftest.$ac_ext <<_ACEOF
20571 cat confdefs.h >>conftest.$ac_ext
20572 cat >>conftest.$ac_ext <<_ACEOF
20573 /* end confdefs.h. */
20574 $ac_includes_default
20578 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20585 rm -f conftest.$ac_objext
20586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20587 (eval $ac_compile) 2>conftest.er1
20589 grep -v '^ *+' conftest.er1 >conftest.err
20591 cat conftest.err >&5
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); } &&
20594 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
20600 { ac_try='test -s conftest.$ac_objext'
20601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20602 (eval $ac_try) 2>&5
20604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20605 (exit $ac_status); }; }; then
20606 ac_hi=$ac_mid; break
20608 echo "$as_me: failed program was:" >&5
20609 sed 's/^/| /' conftest.$ac_ext >&5
20611 ac_lo=`expr $ac_mid + 1`
20612 if test $ac_lo -le $ac_mid; then
20616 ac_mid=`expr 2 '*' $ac_mid + 1`
20618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20621 echo "$as_me: failed program was:" >&5
20622 sed 's/^/| /' conftest.$ac_ext >&5
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" || test ! -s conftest.err'
20651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20652 (eval $ac_try) 2>&5
20654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20655 (exit $ac_status); }; } &&
20656 { ac_try='test -s conftest.$ac_objext'
20657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20658 (eval $ac_try) 2>&5
20660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20661 (exit $ac_status); }; }; then
20664 cat >conftest.$ac_ext <<_ACEOF
20667 cat confdefs.h >>conftest.$ac_ext
20668 cat >>conftest.$ac_ext <<_ACEOF
20669 /* end confdefs.h. */
20670 $ac_includes_default
20674 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20681 rm -f conftest.$ac_objext
20682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20683 (eval $ac_compile) 2>conftest.er1
20685 grep -v '^ *+' conftest.er1 >conftest.err
20687 cat conftest.err >&5
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); } &&
20690 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20692 (eval $ac_try) 2>&5
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); }; } &&
20696 { ac_try='test -s conftest.$ac_objext'
20697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20698 (eval $ac_try) 2>&5
20700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701 (exit $ac_status); }; }; then
20702 ac_lo=$ac_mid; break
20704 echo "$as_me: failed program was:" >&5
20705 sed 's/^/| /' conftest.$ac_ext >&5
20707 ac_hi=`expr '(' $ac_mid ')' - 1`
20708 if test $ac_mid -le $ac_hi; then
20712 ac_mid=`expr 2 '*' $ac_mid`
20714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20717 echo "$as_me: failed program was:" >&5
20718 sed 's/^/| /' conftest.$ac_ext >&5
20722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20725 # Binary search between lo and hi bounds.
20726 while test "x$ac_lo" != "x$ac_hi"; do
20727 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20728 cat >conftest.$ac_ext <<_ACEOF
20731 cat confdefs.h >>conftest.$ac_ext
20732 cat >>conftest.$ac_ext <<_ACEOF
20733 /* end confdefs.h. */
20734 $ac_includes_default
20738 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20745 rm -f conftest.$ac_objext
20746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20747 (eval $ac_compile) 2>conftest.er1
20749 grep -v '^ *+' conftest.er1 >conftest.err
20751 cat conftest.err >&5
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); } &&
20754 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20756 (eval $ac_try) 2>&5
20758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20759 (exit $ac_status); }; } &&
20760 { ac_try='test -s conftest.$ac_objext'
20761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20762 (eval $ac_try) 2>&5
20764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20765 (exit $ac_status); }; }; then
20768 echo "$as_me: failed program was:" >&5
20769 sed 's/^/| /' conftest.$ac_ext >&5
20771 ac_lo=`expr '(' $ac_mid ')' + 1`
20773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20776 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20777 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20778 See \`config.log' for more details." >&5
20779 echo "$as_me: error: cannot compute sizeof (long long), 77
20780 See \`config.log' for more details." >&2;}
20781 { (exit 1); exit 1; }; } ;;
20784 if test "$cross_compiling" = yes; then
20785 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20786 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20787 { (exit 1); exit 1; }; }
20789 cat >conftest.$ac_ext <<_ACEOF
20792 cat confdefs.h >>conftest.$ac_ext
20793 cat >>conftest.$ac_ext <<_ACEOF
20794 /* end confdefs.h. */
20795 $ac_includes_default
20796 long longval () { return (long) (sizeof (long long)); }
20797 unsigned long ulongval () { return (long) (sizeof (long long)); }
20799 #include <stdlib.h>
20804 FILE *f = fopen ("conftest.val", "w");
20807 if (((long) (sizeof (long long))) < 0)
20809 long i = longval ();
20810 if (i != ((long) (sizeof (long long))))
20812 fprintf (f, "%ld\n", i);
20816 unsigned long i = ulongval ();
20817 if (i != ((long) (sizeof (long long))))
20819 fprintf (f, "%lu\n", i);
20821 exit (ferror (f) || fclose (f) != 0);
20827 rm -f conftest$ac_exeext
20828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20829 (eval $ac_link) 2>&5
20831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20834 (eval $ac_try) 2>&5
20836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837 (exit $ac_status); }; }; then
20838 ac_cv_sizeof_long_long=`cat conftest.val`
20840 echo "$as_me: program exited with status $ac_status" >&5
20841 echo "$as_me: failed program was:" >&5
20842 sed 's/^/| /' conftest.$ac_ext >&5
20844 ( exit $ac_status )
20845 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20846 See \`config.log' for more details." >&5
20847 echo "$as_me: error: cannot compute sizeof (long long), 77
20848 See \`config.log' for more details." >&2;}
20849 { (exit 1); exit 1; }; }
20851 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20856 ac_cv_sizeof_long_long=0
20859 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20860 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20861 cat >>confdefs.h <<_ACEOF
20862 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20868 echo "$as_me:$LINENO: checking for long long" >&5
20869 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20870 if test "${ac_cv_type_long_long+set}" = set; then
20871 echo $ECHO_N "(cached) $ECHO_C" >&6
20873 cat >conftest.$ac_ext <<_ACEOF
20876 cat confdefs.h >>conftest.$ac_ext
20877 cat >>conftest.$ac_ext <<_ACEOF
20878 /* end confdefs.h. */
20879 $ac_includes_default
20883 if ((long long *) 0)
20885 if (sizeof (long long))
20891 rm -f conftest.$ac_objext
20892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20893 (eval $ac_compile) 2>conftest.er1
20895 grep -v '^ *+' conftest.er1 >conftest.err
20897 cat conftest.err >&5
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); } &&
20900 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20902 (eval $ac_try) 2>&5
20904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20905 (exit $ac_status); }; } &&
20906 { ac_try='test -s conftest.$ac_objext'
20907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20908 (eval $ac_try) 2>&5
20910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20911 (exit $ac_status); }; }; then
20912 ac_cv_type_long_long=yes
20914 echo "$as_me: failed program was:" >&5
20915 sed 's/^/| /' conftest.$ac_ext >&5
20917 ac_cv_type_long_long=no
20919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20921 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20922 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20924 echo "$as_me:$LINENO: checking size of long long" >&5
20925 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20926 if test "${ac_cv_sizeof_long_long+set}" = set; then
20927 echo $ECHO_N "(cached) $ECHO_C" >&6
20929 if test "$ac_cv_type_long_long" = yes; then
20930 # The cast to unsigned long works around a bug in the HP C Compiler
20931 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20932 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20933 # This bug is HP SR number 8606223364.
20934 if test "$cross_compiling" = yes; then
20935 # Depending upon the size, compute the lo and hi bounds.
20936 cat >conftest.$ac_ext <<_ACEOF
20939 cat confdefs.h >>conftest.$ac_ext
20940 cat >>conftest.$ac_ext <<_ACEOF
20941 /* end confdefs.h. */
20942 $ac_includes_default
20946 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20953 rm -f conftest.$ac_objext
20954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20955 (eval $ac_compile) 2>conftest.er1
20957 grep -v '^ *+' conftest.er1 >conftest.err
20959 cat conftest.err >&5
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); } &&
20962 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20964 (eval $ac_try) 2>&5
20966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20967 (exit $ac_status); }; } &&
20968 { ac_try='test -s conftest.$ac_objext'
20969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20970 (eval $ac_try) 2>&5
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); }; }; then
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 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20993 rm -f conftest.$ac_objext
20994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20995 (eval $ac_compile) 2>conftest.er1
20997 grep -v '^ *+' conftest.er1 >conftest.err
20999 cat conftest.err >&5
21000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21001 (exit $ac_status); } &&
21002 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21004 (eval $ac_try) 2>&5
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); }; } &&
21008 { ac_try='test -s conftest.$ac_objext'
21009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21010 (eval $ac_try) 2>&5
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); }; }; then
21014 ac_hi=$ac_mid; break
21016 echo "$as_me: failed program was:" >&5
21017 sed 's/^/| /' conftest.$ac_ext >&5
21019 ac_lo=`expr $ac_mid + 1`
21020 if test $ac_lo -le $ac_mid; then
21024 ac_mid=`expr 2 '*' $ac_mid + 1`
21026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21029 echo "$as_me: failed program was:" >&5
21030 sed 's/^/| /' conftest.$ac_ext >&5
21032 cat >conftest.$ac_ext <<_ACEOF
21035 cat confdefs.h >>conftest.$ac_ext
21036 cat >>conftest.$ac_ext <<_ACEOF
21037 /* end confdefs.h. */
21038 $ac_includes_default
21042 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21049 rm -f conftest.$ac_objext
21050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21051 (eval $ac_compile) 2>conftest.er1
21053 grep -v '^ *+' conftest.er1 >conftest.err
21055 cat conftest.err >&5
21056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21057 (exit $ac_status); } &&
21058 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21060 (eval $ac_try) 2>&5
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); }; } &&
21064 { ac_try='test -s conftest.$ac_objext'
21065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21066 (eval $ac_try) 2>&5
21068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069 (exit $ac_status); }; }; then
21072 cat >conftest.$ac_ext <<_ACEOF
21075 cat confdefs.h >>conftest.$ac_ext
21076 cat >>conftest.$ac_ext <<_ACEOF
21077 /* end confdefs.h. */
21078 $ac_includes_default
21082 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21089 rm -f conftest.$ac_objext
21090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21091 (eval $ac_compile) 2>conftest.er1
21093 grep -v '^ *+' conftest.er1 >conftest.err
21095 cat conftest.err >&5
21096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21097 (exit $ac_status); } &&
21098 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21100 (eval $ac_try) 2>&5
21102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21103 (exit $ac_status); }; } &&
21104 { ac_try='test -s conftest.$ac_objext'
21105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21106 (eval $ac_try) 2>&5
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); }; }; then
21110 ac_lo=$ac_mid; break
21112 echo "$as_me: failed program was:" >&5
21113 sed 's/^/| /' conftest.$ac_ext >&5
21115 ac_hi=`expr '(' $ac_mid ')' - 1`
21116 if test $ac_mid -le $ac_hi; then
21120 ac_mid=`expr 2 '*' $ac_mid`
21122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21125 echo "$as_me: failed program was:" >&5
21126 sed 's/^/| /' conftest.$ac_ext >&5
21130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21133 # Binary search between lo and hi bounds.
21134 while test "x$ac_lo" != "x$ac_hi"; do
21135 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21136 cat >conftest.$ac_ext <<_ACEOF
21139 cat confdefs.h >>conftest.$ac_ext
21140 cat >>conftest.$ac_ext <<_ACEOF
21141 /* end confdefs.h. */
21142 $ac_includes_default
21146 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21153 rm -f conftest.$ac_objext
21154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21155 (eval $ac_compile) 2>conftest.er1
21157 grep -v '^ *+' conftest.er1 >conftest.err
21159 cat conftest.err >&5
21160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21161 (exit $ac_status); } &&
21162 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21164 (eval $ac_try) 2>&5
21166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21167 (exit $ac_status); }; } &&
21168 { ac_try='test -s conftest.$ac_objext'
21169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21170 (eval $ac_try) 2>&5
21172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21173 (exit $ac_status); }; }; then
21176 echo "$as_me: failed program was:" >&5
21177 sed 's/^/| /' conftest.$ac_ext >&5
21179 ac_lo=`expr '(' $ac_mid ')' + 1`
21181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21184 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21185 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21186 See \`config.log' for more details." >&5
21187 echo "$as_me: error: cannot compute sizeof (long long), 77
21188 See \`config.log' for more details." >&2;}
21189 { (exit 1); exit 1; }; } ;;
21192 if test "$cross_compiling" = yes; then
21193 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21194 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21195 { (exit 1); exit 1; }; }
21197 cat >conftest.$ac_ext <<_ACEOF
21200 cat confdefs.h >>conftest.$ac_ext
21201 cat >>conftest.$ac_ext <<_ACEOF
21202 /* end confdefs.h. */
21203 $ac_includes_default
21204 long longval () { return (long) (sizeof (long long)); }
21205 unsigned long ulongval () { return (long) (sizeof (long long)); }
21207 #include <stdlib.h>
21212 FILE *f = fopen ("conftest.val", "w");
21215 if (((long) (sizeof (long long))) < 0)
21217 long i = longval ();
21218 if (i != ((long) (sizeof (long long))))
21220 fprintf (f, "%ld\n", i);
21224 unsigned long i = ulongval ();
21225 if (i != ((long) (sizeof (long long))))
21227 fprintf (f, "%lu\n", i);
21229 exit (ferror (f) || fclose (f) != 0);
21235 rm -f conftest$ac_exeext
21236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21237 (eval $ac_link) 2>&5
21239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21240 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21242 (eval $ac_try) 2>&5
21244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21245 (exit $ac_status); }; }; then
21246 ac_cv_sizeof_long_long=`cat conftest.val`
21248 echo "$as_me: program exited with status $ac_status" >&5
21249 echo "$as_me: failed program was:" >&5
21250 sed 's/^/| /' conftest.$ac_ext >&5
21252 ( exit $ac_status )
21253 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21254 See \`config.log' for more details." >&5
21255 echo "$as_me: error: cannot compute sizeof (long long), 77
21256 See \`config.log' for more details." >&2;}
21257 { (exit 1); exit 1; }; }
21259 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21264 ac_cv_sizeof_long_long=0
21267 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21268 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21269 cat >>confdefs.h <<_ACEOF
21270 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21274 if test "$ac_cv_sizeof_long_long" != "0"; then
21275 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21279 echo "$as_me:$LINENO: checking for long long" >&5
21280 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21281 if test "${ac_cv_type_long_long+set}" = set; then
21282 echo $ECHO_N "(cached) $ECHO_C" >&6
21284 cat >conftest.$ac_ext <<_ACEOF
21287 cat confdefs.h >>conftest.$ac_ext
21288 cat >>conftest.$ac_ext <<_ACEOF
21289 /* end confdefs.h. */
21290 $ac_includes_default
21294 if ((long long *) 0)
21296 if (sizeof (long long))
21302 rm -f conftest.$ac_objext
21303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21304 (eval $ac_compile) 2>conftest.er1
21306 grep -v '^ *+' conftest.er1 >conftest.err
21308 cat conftest.err >&5
21309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310 (exit $ac_status); } &&
21311 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21313 (eval $ac_try) 2>&5
21315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21316 (exit $ac_status); }; } &&
21317 { ac_try='test -s conftest.$ac_objext'
21318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21319 (eval $ac_try) 2>&5
21321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322 (exit $ac_status); }; }; then
21323 ac_cv_type_long_long=yes
21325 echo "$as_me: failed program was:" >&5
21326 sed 's/^/| /' conftest.$ac_ext >&5
21328 ac_cv_type_long_long=no
21330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21332 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21333 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21335 echo "$as_me:$LINENO: checking size of long long" >&5
21336 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21337 if test "${ac_cv_sizeof_long_long+set}" = set; then
21338 echo $ECHO_N "(cached) $ECHO_C" >&6
21340 if test "$ac_cv_type_long_long" = yes; then
21341 # The cast to unsigned long works around a bug in the HP C Compiler
21342 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21343 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21344 # This bug is HP SR number 8606223364.
21345 if test "$cross_compiling" = yes; then
21346 # Depending upon the size, compute the lo and hi bounds.
21347 cat >conftest.$ac_ext <<_ACEOF
21350 cat confdefs.h >>conftest.$ac_ext
21351 cat >>conftest.$ac_ext <<_ACEOF
21352 /* end confdefs.h. */
21353 $ac_includes_default
21357 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21364 rm -f conftest.$ac_objext
21365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21366 (eval $ac_compile) 2>conftest.er1
21368 grep -v '^ *+' conftest.er1 >conftest.err
21370 cat conftest.err >&5
21371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372 (exit $ac_status); } &&
21373 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21375 (eval $ac_try) 2>&5
21377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21378 (exit $ac_status); }; } &&
21379 { ac_try='test -s conftest.$ac_objext'
21380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21381 (eval $ac_try) 2>&5
21383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384 (exit $ac_status); }; }; then
21387 cat >conftest.$ac_ext <<_ACEOF
21390 cat confdefs.h >>conftest.$ac_ext
21391 cat >>conftest.$ac_ext <<_ACEOF
21392 /* end confdefs.h. */
21393 $ac_includes_default
21397 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21404 rm -f conftest.$ac_objext
21405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21406 (eval $ac_compile) 2>conftest.er1
21408 grep -v '^ *+' conftest.er1 >conftest.err
21410 cat conftest.err >&5
21411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21412 (exit $ac_status); } &&
21413 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21415 (eval $ac_try) 2>&5
21417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21418 (exit $ac_status); }; } &&
21419 { ac_try='test -s conftest.$ac_objext'
21420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21421 (eval $ac_try) 2>&5
21423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21424 (exit $ac_status); }; }; then
21425 ac_hi=$ac_mid; break
21427 echo "$as_me: failed program was:" >&5
21428 sed 's/^/| /' conftest.$ac_ext >&5
21430 ac_lo=`expr $ac_mid + 1`
21431 if test $ac_lo -le $ac_mid; then
21435 ac_mid=`expr 2 '*' $ac_mid + 1`
21437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21440 echo "$as_me: failed program was:" >&5
21441 sed 's/^/| /' conftest.$ac_ext >&5
21443 cat >conftest.$ac_ext <<_ACEOF
21446 cat confdefs.h >>conftest.$ac_ext
21447 cat >>conftest.$ac_ext <<_ACEOF
21448 /* end confdefs.h. */
21449 $ac_includes_default
21453 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21460 rm -f conftest.$ac_objext
21461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21462 (eval $ac_compile) 2>conftest.er1
21464 grep -v '^ *+' conftest.er1 >conftest.err
21466 cat conftest.err >&5
21467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21468 (exit $ac_status); } &&
21469 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21471 (eval $ac_try) 2>&5
21473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21474 (exit $ac_status); }; } &&
21475 { ac_try='test -s conftest.$ac_objext'
21476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21477 (eval $ac_try) 2>&5
21479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21480 (exit $ac_status); }; }; then
21483 cat >conftest.$ac_ext <<_ACEOF
21486 cat confdefs.h >>conftest.$ac_ext
21487 cat >>conftest.$ac_ext <<_ACEOF
21488 /* end confdefs.h. */
21489 $ac_includes_default
21493 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21500 rm -f conftest.$ac_objext
21501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21502 (eval $ac_compile) 2>conftest.er1
21504 grep -v '^ *+' conftest.er1 >conftest.err
21506 cat conftest.err >&5
21507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21508 (exit $ac_status); } &&
21509 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21511 (eval $ac_try) 2>&5
21513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21514 (exit $ac_status); }; } &&
21515 { ac_try='test -s conftest.$ac_objext'
21516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21517 (eval $ac_try) 2>&5
21519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21520 (exit $ac_status); }; }; then
21521 ac_lo=$ac_mid; break
21523 echo "$as_me: failed program was:" >&5
21524 sed 's/^/| /' conftest.$ac_ext >&5
21526 ac_hi=`expr '(' $ac_mid ')' - 1`
21527 if test $ac_mid -le $ac_hi; then
21531 ac_mid=`expr 2 '*' $ac_mid`
21533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21536 echo "$as_me: failed program was:" >&5
21537 sed 's/^/| /' conftest.$ac_ext >&5
21541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21544 # Binary search between lo and hi bounds.
21545 while test "x$ac_lo" != "x$ac_hi"; do
21546 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21547 cat >conftest.$ac_ext <<_ACEOF
21550 cat confdefs.h >>conftest.$ac_ext
21551 cat >>conftest.$ac_ext <<_ACEOF
21552 /* end confdefs.h. */
21553 $ac_includes_default
21557 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21564 rm -f conftest.$ac_objext
21565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21566 (eval $ac_compile) 2>conftest.er1
21568 grep -v '^ *+' conftest.er1 >conftest.err
21570 cat conftest.err >&5
21571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21572 (exit $ac_status); } &&
21573 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21575 (eval $ac_try) 2>&5
21577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578 (exit $ac_status); }; } &&
21579 { ac_try='test -s conftest.$ac_objext'
21580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21581 (eval $ac_try) 2>&5
21583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584 (exit $ac_status); }; }; then
21587 echo "$as_me: failed program was:" >&5
21588 sed 's/^/| /' conftest.$ac_ext >&5
21590 ac_lo=`expr '(' $ac_mid ')' + 1`
21592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21595 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21596 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21597 See \`config.log' for more details." >&5
21598 echo "$as_me: error: cannot compute sizeof (long long), 77
21599 See \`config.log' for more details." >&2;}
21600 { (exit 1); exit 1; }; } ;;
21603 if test "$cross_compiling" = yes; then
21604 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21605 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21606 { (exit 1); exit 1; }; }
21608 cat >conftest.$ac_ext <<_ACEOF
21611 cat confdefs.h >>conftest.$ac_ext
21612 cat >>conftest.$ac_ext <<_ACEOF
21613 /* end confdefs.h. */
21614 $ac_includes_default
21615 long longval () { return (long) (sizeof (long long)); }
21616 unsigned long ulongval () { return (long) (sizeof (long long)); }
21618 #include <stdlib.h>
21623 FILE *f = fopen ("conftest.val", "w");
21626 if (((long) (sizeof (long long))) < 0)
21628 long i = longval ();
21629 if (i != ((long) (sizeof (long long))))
21631 fprintf (f, "%ld\n", i);
21635 unsigned long i = ulongval ();
21636 if (i != ((long) (sizeof (long long))))
21638 fprintf (f, "%lu\n", i);
21640 exit (ferror (f) || fclose (f) != 0);
21646 rm -f conftest$ac_exeext
21647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21648 (eval $ac_link) 2>&5
21650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21653 (eval $ac_try) 2>&5
21655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21656 (exit $ac_status); }; }; then
21657 ac_cv_sizeof_long_long=`cat conftest.val`
21659 echo "$as_me: program exited with status $ac_status" >&5
21660 echo "$as_me: failed program was:" >&5
21661 sed 's/^/| /' conftest.$ac_ext >&5
21663 ( exit $ac_status )
21664 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21665 See \`config.log' for more details." >&5
21666 echo "$as_me: error: cannot compute sizeof (long long), 77
21667 See \`config.log' for more details." >&2;}
21668 { (exit 1); exit 1; }; }
21670 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21675 ac_cv_sizeof_long_long=0
21678 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21679 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21680 cat >>confdefs.h <<_ACEOF
21681 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21687 echo "$as_me:$LINENO: checking for wchar_t" >&5
21688 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21689 if test "${ac_cv_type_wchar_t+set}" = set; then
21690 echo $ECHO_N "(cached) $ECHO_C" >&6
21692 cat >conftest.$ac_ext <<_ACEOF
21695 cat confdefs.h >>conftest.$ac_ext
21696 cat >>conftest.$ac_ext <<_ACEOF
21697 /* end confdefs.h. */
21699 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21700 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21701 # error "fake wchar_t"
21703 #ifdef HAVE_WCHAR_H
21705 # include <stddef.h>
21707 # include <wchar.h>
21709 #ifdef HAVE_STDLIB_H
21710 # include <stdlib.h>
21721 if (sizeof (wchar_t))
21727 rm -f conftest.$ac_objext
21728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21729 (eval $ac_compile) 2>conftest.er1
21731 grep -v '^ *+' conftest.er1 >conftest.err
21733 cat conftest.err >&5
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); } &&
21736 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21738 (eval $ac_try) 2>&5
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); }; } &&
21742 { ac_try='test -s conftest.$ac_objext'
21743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21744 (eval $ac_try) 2>&5
21746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21747 (exit $ac_status); }; }; then
21748 ac_cv_type_wchar_t=yes
21750 echo "$as_me: failed program was:" >&5
21751 sed 's/^/| /' conftest.$ac_ext >&5
21753 ac_cv_type_wchar_t=no
21755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21757 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21758 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21760 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21761 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21762 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21763 echo $ECHO_N "(cached) $ECHO_C" >&6
21765 if test "$ac_cv_type_wchar_t" = yes; then
21766 # The cast to unsigned long works around a bug in the HP C Compiler
21767 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21768 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21769 # This bug is HP SR number 8606223364.
21770 if test "$cross_compiling" = yes; then
21771 # Depending upon the size, compute the lo and hi bounds.
21772 cat >conftest.$ac_ext <<_ACEOF
21775 cat confdefs.h >>conftest.$ac_ext
21776 cat >>conftest.$ac_ext <<_ACEOF
21777 /* end confdefs.h. */
21779 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21780 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21781 # error "fake wchar_t"
21783 #ifdef HAVE_WCHAR_H
21785 # include <stddef.h>
21787 # include <wchar.h>
21789 #ifdef HAVE_STDLIB_H
21790 # include <stdlib.h>
21799 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21806 rm -f conftest.$ac_objext
21807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21808 (eval $ac_compile) 2>conftest.er1
21810 grep -v '^ *+' conftest.er1 >conftest.err
21812 cat conftest.err >&5
21813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21814 (exit $ac_status); } &&
21815 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21817 (eval $ac_try) 2>&5
21819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21820 (exit $ac_status); }; } &&
21821 { ac_try='test -s conftest.$ac_objext'
21822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21823 (eval $ac_try) 2>&5
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); }; }; then
21829 cat >conftest.$ac_ext <<_ACEOF
21832 cat confdefs.h >>conftest.$ac_ext
21833 cat >>conftest.$ac_ext <<_ACEOF
21834 /* end confdefs.h. */
21836 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21837 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21838 # error "fake wchar_t"
21840 #ifdef HAVE_WCHAR_H
21842 # include <stddef.h>
21844 # include <wchar.h>
21846 #ifdef HAVE_STDLIB_H
21847 # include <stdlib.h>
21856 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21863 rm -f conftest.$ac_objext
21864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21865 (eval $ac_compile) 2>conftest.er1
21867 grep -v '^ *+' conftest.er1 >conftest.err
21869 cat conftest.err >&5
21870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21871 (exit $ac_status); } &&
21872 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21874 (eval $ac_try) 2>&5
21876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877 (exit $ac_status); }; } &&
21878 { ac_try='test -s conftest.$ac_objext'
21879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21880 (eval $ac_try) 2>&5
21882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21883 (exit $ac_status); }; }; then
21884 ac_hi=$ac_mid; break
21886 echo "$as_me: failed program was:" >&5
21887 sed 's/^/| /' conftest.$ac_ext >&5
21889 ac_lo=`expr $ac_mid + 1`
21890 if test $ac_lo -le $ac_mid; then
21894 ac_mid=`expr 2 '*' $ac_mid + 1`
21896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21899 echo "$as_me: failed program was:" >&5
21900 sed 's/^/| /' conftest.$ac_ext >&5
21902 cat >conftest.$ac_ext <<_ACEOF
21905 cat confdefs.h >>conftest.$ac_ext
21906 cat >>conftest.$ac_ext <<_ACEOF
21907 /* end confdefs.h. */
21909 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21910 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21911 # error "fake wchar_t"
21913 #ifdef HAVE_WCHAR_H
21915 # include <stddef.h>
21917 # include <wchar.h>
21919 #ifdef HAVE_STDLIB_H
21920 # include <stdlib.h>
21929 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21936 rm -f conftest.$ac_objext
21937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21938 (eval $ac_compile) 2>conftest.er1
21940 grep -v '^ *+' conftest.er1 >conftest.err
21942 cat conftest.err >&5
21943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21944 (exit $ac_status); } &&
21945 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21947 (eval $ac_try) 2>&5
21949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21950 (exit $ac_status); }; } &&
21951 { ac_try='test -s conftest.$ac_objext'
21952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21953 (eval $ac_try) 2>&5
21955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21956 (exit $ac_status); }; }; then
21959 cat >conftest.$ac_ext <<_ACEOF
21962 cat confdefs.h >>conftest.$ac_ext
21963 cat >>conftest.$ac_ext <<_ACEOF
21964 /* end confdefs.h. */
21966 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21967 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21968 # error "fake wchar_t"
21970 #ifdef HAVE_WCHAR_H
21972 # include <stddef.h>
21974 # include <wchar.h>
21976 #ifdef HAVE_STDLIB_H
21977 # include <stdlib.h>
21986 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21993 rm -f conftest.$ac_objext
21994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21995 (eval $ac_compile) 2>conftest.er1
21997 grep -v '^ *+' conftest.er1 >conftest.err
21999 cat conftest.err >&5
22000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22001 (exit $ac_status); } &&
22002 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22004 (eval $ac_try) 2>&5
22006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22007 (exit $ac_status); }; } &&
22008 { ac_try='test -s conftest.$ac_objext'
22009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22010 (eval $ac_try) 2>&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); }; }; then
22014 ac_lo=$ac_mid; break
22016 echo "$as_me: failed program was:" >&5
22017 sed 's/^/| /' conftest.$ac_ext >&5
22019 ac_hi=`expr '(' $ac_mid ')' - 1`
22020 if test $ac_mid -le $ac_hi; then
22024 ac_mid=`expr 2 '*' $ac_mid`
22026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22029 echo "$as_me: failed program was:" >&5
22030 sed 's/^/| /' conftest.$ac_ext >&5
22034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22037 # Binary search between lo and hi bounds.
22038 while test "x$ac_lo" != "x$ac_hi"; do
22039 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22040 cat >conftest.$ac_ext <<_ACEOF
22043 cat confdefs.h >>conftest.$ac_ext
22044 cat >>conftest.$ac_ext <<_ACEOF
22045 /* end confdefs.h. */
22047 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22048 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22049 # error "fake wchar_t"
22051 #ifdef HAVE_WCHAR_H
22053 # include <stddef.h>
22055 # include <wchar.h>
22057 #ifdef HAVE_STDLIB_H
22058 # include <stdlib.h>
22067 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22074 rm -f conftest.$ac_objext
22075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22076 (eval $ac_compile) 2>conftest.er1
22078 grep -v '^ *+' conftest.er1 >conftest.err
22080 cat conftest.err >&5
22081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22082 (exit $ac_status); } &&
22083 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22085 (eval $ac_try) 2>&5
22087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22088 (exit $ac_status); }; } &&
22089 { ac_try='test -s conftest.$ac_objext'
22090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22091 (eval $ac_try) 2>&5
22093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22094 (exit $ac_status); }; }; then
22097 echo "$as_me: failed program was:" >&5
22098 sed 's/^/| /' conftest.$ac_ext >&5
22100 ac_lo=`expr '(' $ac_mid ')' + 1`
22102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22105 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22106 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22107 See \`config.log' for more details." >&5
22108 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22109 See \`config.log' for more details." >&2;}
22110 { (exit 1); exit 1; }; } ;;
22113 if test "$cross_compiling" = yes; then
22114 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22115 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22116 { (exit 1); exit 1; }; }
22118 cat >conftest.$ac_ext <<_ACEOF
22121 cat confdefs.h >>conftest.$ac_ext
22122 cat >>conftest.$ac_ext <<_ACEOF
22123 /* end confdefs.h. */
22125 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22126 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22127 # error "fake wchar_t"
22129 #ifdef HAVE_WCHAR_H
22131 # include <stddef.h>
22133 # include <wchar.h>
22135 #ifdef HAVE_STDLIB_H
22136 # include <stdlib.h>
22142 long longval () { return (long) (sizeof (wchar_t)); }
22143 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22145 #include <stdlib.h>
22150 FILE *f = fopen ("conftest.val", "w");
22153 if (((long) (sizeof (wchar_t))) < 0)
22155 long i = longval ();
22156 if (i != ((long) (sizeof (wchar_t))))
22158 fprintf (f, "%ld\n", i);
22162 unsigned long i = ulongval ();
22163 if (i != ((long) (sizeof (wchar_t))))
22165 fprintf (f, "%lu\n", i);
22167 exit (ferror (f) || fclose (f) != 0);
22173 rm -f conftest$ac_exeext
22174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22175 (eval $ac_link) 2>&5
22177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22178 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22180 (eval $ac_try) 2>&5
22182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22183 (exit $ac_status); }; }; then
22184 ac_cv_sizeof_wchar_t=`cat conftest.val`
22186 echo "$as_me: program exited with status $ac_status" >&5
22187 echo "$as_me: failed program was:" >&5
22188 sed 's/^/| /' conftest.$ac_ext >&5
22190 ( exit $ac_status )
22191 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22192 See \`config.log' for more details." >&5
22193 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22194 See \`config.log' for more details." >&2;}
22195 { (exit 1); exit 1; }; }
22197 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22202 ac_cv_sizeof_wchar_t=0
22205 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22206 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22207 cat >>confdefs.h <<_ACEOF
22208 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22212 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22218 echo "$as_me:$LINENO: checking for va_copy" >&5
22219 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22220 if test "${wx_cv_func_va_copy+set}" = set; then
22221 echo $ECHO_N "(cached) $ECHO_C" >&6
22224 cat >conftest.$ac_ext <<_ACEOF
22226 #include <stdarg.h>
22227 void foo(char *f, ...)
22241 rm -f conftest.$ac_objext conftest$ac_exeext
22242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22243 (eval $ac_link) 2>conftest.er1
22245 grep -v '^ *+' conftest.er1 >conftest.err
22247 cat conftest.err >&5
22248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22249 (exit $ac_status); } &&
22250 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22252 (eval $ac_try) 2>&5
22254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22255 (exit $ac_status); }; } &&
22256 { ac_try='test -s conftest$ac_exeext'
22257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22258 (eval $ac_try) 2>&5
22260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22261 (exit $ac_status); }; }; then
22262 wx_cv_func_va_copy=yes
22264 echo "$as_me: failed program was:" >&5
22265 sed 's/^/| /' conftest.$ac_ext >&5
22267 wx_cv_func_va_copy=no
22270 rm -f conftest.err conftest.$ac_objext \
22271 conftest$ac_exeext conftest.$ac_ext
22275 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22276 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22278 if test $wx_cv_func_va_copy = "yes"; then
22279 cat >>confdefs.h <<\_ACEOF
22280 #define HAVE_VA_COPY 1
22284 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22285 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22286 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22287 echo $ECHO_N "(cached) $ECHO_C" >&6
22290 if test "$cross_compiling" = yes; then
22291 wx_cv_type_va_list_lvalue=yes
22294 cat >conftest.$ac_ext <<_ACEOF
22296 #include <stdarg.h>
22297 int foo(char *f, ...)
22302 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22310 return foo("hi", 17);
22313 rm -f conftest$ac_exeext
22314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22315 (eval $ac_link) 2>&5
22317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22318 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22320 (eval $ac_try) 2>&5
22322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22323 (exit $ac_status); }; }; then
22324 wx_cv_type_va_list_lvalue=yes
22326 echo "$as_me: program exited with status $ac_status" >&5
22327 echo "$as_me: failed program was:" >&5
22328 sed 's/^/| /' conftest.$ac_ext >&5
22330 ( exit $ac_status )
22331 wx_cv_type_va_list_lvalue=no
22333 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22338 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22339 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22341 if test $wx_cv_type_va_list_lvalue != "yes"; then
22342 cat >>confdefs.h <<\_ACEOF
22343 #define VA_LIST_IS_ARRAY 1
22349 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22350 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22351 if test "${wx_cv_have_variadic_macros+set}" = set; then
22352 echo $ECHO_N "(cached) $ECHO_C" >&6
22355 cat >conftest.$ac_ext <<_ACEOF
22358 cat confdefs.h >>conftest.$ac_ext
22359 cat >>conftest.$ac_ext <<_ACEOF
22360 /* end confdefs.h. */
22363 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22369 test("%s %d %p", "test", 1, 0);
22376 rm -f conftest.$ac_objext
22377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22378 (eval $ac_compile) 2>conftest.er1
22380 grep -v '^ *+' conftest.er1 >conftest.err
22382 cat conftest.err >&5
22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384 (exit $ac_status); } &&
22385 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22387 (eval $ac_try) 2>&5
22389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22390 (exit $ac_status); }; } &&
22391 { ac_try='test -s conftest.$ac_objext'
22392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22393 (eval $ac_try) 2>&5
22395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396 (exit $ac_status); }; }; then
22397 wx_cv_have_variadic_macros=yes
22399 echo "$as_me: failed program was:" >&5
22400 sed 's/^/| /' conftest.$ac_ext >&5
22402 wx_cv_have_variadic_macros=no
22405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22409 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22410 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22412 if test $wx_cv_have_variadic_macros = "yes"; then
22413 cat >>confdefs.h <<\_ACEOF
22414 #define HAVE_VARIADIC_MACROS 1
22419 # Check whether --enable-largefile or --disable-largefile was given.
22420 if test "${enable_largefile+set}" = set; then
22421 enableval="$enable_largefile"
22424 if test "$enable_largefile" != no; then
22427 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22428 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22429 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22430 echo $ECHO_N "(cached) $ECHO_C" >&6
22433 cat >conftest.$ac_ext <<_ACEOF
22436 cat confdefs.h >>conftest.$ac_ext
22437 cat >>conftest.$ac_ext <<_ACEOF
22438 /* end confdefs.h. */
22439 #define _FILE_OFFSET_BITS 64
22440 #include <sys/types.h>
22445 unsigned int field: sizeof(off_t) == 8;
22452 rm -f conftest.$ac_objext
22453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22454 (eval $ac_compile) 2>conftest.er1
22456 grep -v '^ *+' conftest.er1 >conftest.err
22458 cat conftest.err >&5
22459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22460 (exit $ac_status); } &&
22461 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22463 (eval $ac_try) 2>&5
22465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22466 (exit $ac_status); }; } &&
22467 { ac_try='test -s conftest.$ac_objext'
22468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22469 (eval $ac_try) 2>&5
22471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22472 (exit $ac_status); }; }; then
22473 ac_cv_sys_file_offset_bits=64
22475 echo "$as_me: failed program was:" >&5
22476 sed 's/^/| /' conftest.$ac_ext >&5
22478 ac_cv_sys_file_offset_bits=no
22480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22484 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22485 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22487 if test "$ac_cv_sys_file_offset_bits" != no; then
22489 cat >>confdefs.h <<_ACEOF
22490 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22495 if test "x$wx_largefile" != "xyes"; then
22497 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22498 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22499 if test "${ac_cv_sys_large_files+set}" = set; then
22500 echo $ECHO_N "(cached) $ECHO_C" >&6
22503 cat >conftest.$ac_ext <<_ACEOF
22506 cat confdefs.h >>conftest.$ac_ext
22507 cat >>conftest.$ac_ext <<_ACEOF
22508 /* end confdefs.h. */
22509 #define _LARGE_FILES 1
22510 #include <sys/types.h>
22515 unsigned int field: sizeof(off_t) == 8;
22522 rm -f conftest.$ac_objext
22523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22524 (eval $ac_compile) 2>conftest.er1
22526 grep -v '^ *+' conftest.er1 >conftest.err
22528 cat conftest.err >&5
22529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22530 (exit $ac_status); } &&
22531 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22533 (eval $ac_try) 2>&5
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); }; } &&
22537 { ac_try='test -s conftest.$ac_objext'
22538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22539 (eval $ac_try) 2>&5
22541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22542 (exit $ac_status); }; }; then
22543 ac_cv_sys_large_files=1
22545 echo "$as_me: failed program was:" >&5
22546 sed 's/^/| /' conftest.$ac_ext >&5
22548 ac_cv_sys_large_files=no
22550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22554 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22555 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22557 if test "$ac_cv_sys_large_files" != no; then
22559 cat >>confdefs.h <<_ACEOF
22560 #define _LARGE_FILES $ac_cv_sys_large_files
22567 echo "$as_me:$LINENO: checking if large file support is available" >&5
22568 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22569 if test "x$wx_largefile" = "xyes"; then
22570 cat >>confdefs.h <<\_ACEOF
22571 #define HAVE_LARGEFILE_SUPPORT 1
22575 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22576 echo "${ECHO_T}$wx_largefile" >&6
22580 if test "x$wx_largefile" = "xyes"; then
22581 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22582 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22584 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22585 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22586 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22587 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22588 echo $ECHO_N "(cached) $ECHO_C" >&6
22591 cat >conftest.$ac_ext <<_ACEOF
22594 cat confdefs.h >>conftest.$ac_ext
22595 cat >>conftest.$ac_ext <<_ACEOF
22596 /* end confdefs.h. */
22602 #ifndef __STDC_EXT__
22610 rm -f conftest.$ac_objext
22611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22612 (eval $ac_compile) 2>conftest.er1
22614 grep -v '^ *+' conftest.er1 >conftest.err
22616 cat conftest.err >&5
22617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22618 (exit $ac_status); } &&
22619 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22621 (eval $ac_try) 2>&5
22623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22624 (exit $ac_status); }; } &&
22625 { ac_try='test -s conftest.$ac_objext'
22626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22627 (eval $ac_try) 2>&5
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); }; }; then
22631 wx_cv_STDC_EXT_required=no
22633 echo "$as_me: failed program was:" >&5
22634 sed 's/^/| /' conftest.$ac_ext >&5
22636 wx_cv_STDC_EXT_required=yes
22639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22643 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22644 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22645 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22646 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22650 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22652 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22653 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22654 if test "${ac_cv_sys_largefile_source+set}" = set; then
22655 echo $ECHO_N "(cached) $ECHO_C" >&6
22658 ac_cv_sys_largefile_source=no
22659 cat >conftest.$ac_ext <<_ACEOF
22662 cat confdefs.h >>conftest.$ac_ext
22663 cat >>conftest.$ac_ext <<_ACEOF
22664 /* end confdefs.h. */
22674 rm -f conftest.$ac_objext
22675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22676 (eval $ac_compile) 2>conftest.er1
22678 grep -v '^ *+' conftest.er1 >conftest.err
22680 cat conftest.err >&5
22681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22682 (exit $ac_status); } &&
22683 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22685 (eval $ac_try) 2>&5
22687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22688 (exit $ac_status); }; } &&
22689 { ac_try='test -s conftest.$ac_objext'
22690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22691 (eval $ac_try) 2>&5
22693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22694 (exit $ac_status); }; }; then
22697 echo "$as_me: failed program was:" >&5
22698 sed 's/^/| /' conftest.$ac_ext >&5
22701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22702 cat >conftest.$ac_ext <<_ACEOF
22705 cat confdefs.h >>conftest.$ac_ext
22706 cat >>conftest.$ac_ext <<_ACEOF
22707 /* end confdefs.h. */
22708 #define _LARGEFILE_SOURCE 1
22718 rm -f conftest.$ac_objext
22719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22720 (eval $ac_compile) 2>conftest.er1
22722 grep -v '^ *+' conftest.er1 >conftest.err
22724 cat conftest.err >&5
22725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22726 (exit $ac_status); } &&
22727 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22729 (eval $ac_try) 2>&5
22731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22732 (exit $ac_status); }; } &&
22733 { ac_try='test -s conftest.$ac_objext'
22734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22735 (eval $ac_try) 2>&5
22737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22738 (exit $ac_status); }; }; then
22739 ac_cv_sys_largefile_source=1; break
22741 echo "$as_me: failed program was:" >&5
22742 sed 's/^/| /' conftest.$ac_ext >&5
22745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22749 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22750 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22751 if test "$ac_cv_sys_largefile_source" != no; then
22753 cat >>confdefs.h <<_ACEOF
22754 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22760 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22761 # in glibc 2.1.3, but that breaks too many other things.
22762 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22763 echo "$as_me:$LINENO: checking for fseeko" >&5
22764 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22765 if test "${ac_cv_func_fseeko+set}" = set; then
22766 echo $ECHO_N "(cached) $ECHO_C" >&6
22768 cat >conftest.$ac_ext <<_ACEOF
22771 cat confdefs.h >>conftest.$ac_ext
22772 cat >>conftest.$ac_ext <<_ACEOF
22773 /* end confdefs.h. */
22778 return fseeko && fseeko (stdin, 0, 0);
22783 rm -f conftest.$ac_objext conftest$ac_exeext
22784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22785 (eval $ac_link) 2>conftest.er1
22787 grep -v '^ *+' conftest.er1 >conftest.err
22789 cat conftest.err >&5
22790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22791 (exit $ac_status); } &&
22792 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22794 (eval $ac_try) 2>&5
22796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22797 (exit $ac_status); }; } &&
22798 { ac_try='test -s conftest$ac_exeext'
22799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22800 (eval $ac_try) 2>&5
22802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22803 (exit $ac_status); }; }; then
22804 ac_cv_func_fseeko=yes
22806 echo "$as_me: failed program was:" >&5
22807 sed 's/^/| /' conftest.$ac_ext >&5
22809 ac_cv_func_fseeko=no
22811 rm -f conftest.err conftest.$ac_objext \
22812 conftest$ac_exeext conftest.$ac_ext
22814 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22815 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22816 if test $ac_cv_func_fseeko = yes; then
22818 cat >>confdefs.h <<\_ACEOF
22819 #define HAVE_FSEEKO 1
22824 if test "$ac_cv_sys_largefile_source" != no; then
22825 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22829 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22830 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22831 if test "${ac_cv_c_bigendian+set}" = set; then
22832 echo $ECHO_N "(cached) $ECHO_C" >&6
22834 ac_cv_c_bigendian=unknown
22835 # See if sys/param.h defines the BYTE_ORDER macro.
22836 cat >conftest.$ac_ext <<_ACEOF
22839 cat confdefs.h >>conftest.$ac_ext
22840 cat >>conftest.$ac_ext <<_ACEOF
22841 /* end confdefs.h. */
22842 #include <sys/types.h>
22843 #include <sys/param.h>
22848 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22849 bogus endian macros
22855 rm -f conftest.$ac_objext
22856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22857 (eval $ac_compile) 2>conftest.er1
22859 grep -v '^ *+' conftest.er1 >conftest.err
22861 cat conftest.err >&5
22862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22863 (exit $ac_status); } &&
22864 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22866 (eval $ac_try) 2>&5
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); }; } &&
22870 { ac_try='test -s conftest.$ac_objext'
22871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22872 (eval $ac_try) 2>&5
22874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); }; }; then
22876 # It does; now see whether it defined to BIG_ENDIAN or not.
22877 cat >conftest.$ac_ext <<_ACEOF
22880 cat confdefs.h >>conftest.$ac_ext
22881 cat >>conftest.$ac_ext <<_ACEOF
22882 /* end confdefs.h. */
22883 #include <sys/types.h>
22884 #include <sys/param.h>
22889 #if BYTE_ORDER != BIG_ENDIAN
22896 rm -f conftest.$ac_objext
22897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22898 (eval $ac_compile) 2>conftest.er1
22900 grep -v '^ *+' conftest.er1 >conftest.err
22902 cat conftest.err >&5
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); } &&
22905 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22907 (eval $ac_try) 2>&5
22909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22910 (exit $ac_status); }; } &&
22911 { ac_try='test -s conftest.$ac_objext'
22912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22913 (eval $ac_try) 2>&5
22915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22916 (exit $ac_status); }; }; then
22917 ac_cv_c_bigendian=yes
22919 echo "$as_me: failed program was:" >&5
22920 sed 's/^/| /' conftest.$ac_ext >&5
22922 ac_cv_c_bigendian=no
22924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22926 echo "$as_me: failed program was:" >&5
22927 sed 's/^/| /' conftest.$ac_ext >&5
22930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22931 if test $ac_cv_c_bigendian = unknown; then
22932 if test "$cross_compiling" = yes; then
22933 ac_cv_c_bigendian=unknown
22935 cat >conftest.$ac_ext <<_ACEOF
22938 cat confdefs.h >>conftest.$ac_ext
22939 cat >>conftest.$ac_ext <<_ACEOF
22940 /* end confdefs.h. */
22942 /* Are we little or big endian? From Harbison&Steele. */
22946 char c[sizeof (long)];
22949 exit (u.c[sizeof (long) - 1] == 1);
22952 rm -f conftest$ac_exeext
22953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22954 (eval $ac_link) 2>&5
22956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22957 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22959 (eval $ac_try) 2>&5
22961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22962 (exit $ac_status); }; }; then
22963 ac_cv_c_bigendian=no
22965 echo "$as_me: program exited with status $ac_status" >&5
22966 echo "$as_me: failed program was:" >&5
22967 sed 's/^/| /' conftest.$ac_ext >&5
22969 ( exit $ac_status )
22970 ac_cv_c_bigendian=yes
22972 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22976 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22977 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22978 if test $ac_cv_c_bigendian = unknown; then
22979 { 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
22980 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;}
22982 if test $ac_cv_c_bigendian = yes; then
22983 cat >>confdefs.h <<\_ACEOF
22984 #define WORDS_BIGENDIAN 1
22994 ac_cpp='$CXXCPP $CPPFLAGS'
22995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23001 for ac_header in iostream
23003 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23005 echo "$as_me:$LINENO: checking for $ac_header" >&5
23006 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23007 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23008 echo $ECHO_N "(cached) $ECHO_C" >&6
23010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23011 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23013 # Is the header compilable?
23014 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23015 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23016 cat >conftest.$ac_ext <<_ACEOF
23019 cat confdefs.h >>conftest.$ac_ext
23020 cat >>conftest.$ac_ext <<_ACEOF
23021 /* end confdefs.h. */
23022 $ac_includes_default
23023 #include <$ac_header>
23025 rm -f conftest.$ac_objext
23026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23027 (eval $ac_compile) 2>conftest.er1
23029 grep -v '^ *+' conftest.er1 >conftest.err
23031 cat conftest.err >&5
23032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23033 (exit $ac_status); } &&
23034 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23036 (eval $ac_try) 2>&5
23038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23039 (exit $ac_status); }; } &&
23040 { ac_try='test -s conftest.$ac_objext'
23041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23042 (eval $ac_try) 2>&5
23044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23045 (exit $ac_status); }; }; then
23046 ac_header_compiler=yes
23048 echo "$as_me: failed program was:" >&5
23049 sed 's/^/| /' conftest.$ac_ext >&5
23051 ac_header_compiler=no
23053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23054 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23055 echo "${ECHO_T}$ac_header_compiler" >&6
23057 # Is the header present?
23058 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23059 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23060 cat >conftest.$ac_ext <<_ACEOF
23063 cat confdefs.h >>conftest.$ac_ext
23064 cat >>conftest.$ac_ext <<_ACEOF
23065 /* end confdefs.h. */
23066 #include <$ac_header>
23068 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23069 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23071 grep -v '^ *+' conftest.er1 >conftest.err
23073 cat conftest.err >&5
23074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23075 (exit $ac_status); } >/dev/null; then
23076 if test -s conftest.err; then
23077 ac_cpp_err=$ac_cxx_preproc_warn_flag
23078 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23085 if test -z "$ac_cpp_err"; then
23086 ac_header_preproc=yes
23088 echo "$as_me: failed program was:" >&5
23089 sed 's/^/| /' conftest.$ac_ext >&5
23091 ac_header_preproc=no
23093 rm -f conftest.err conftest.$ac_ext
23094 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23095 echo "${ECHO_T}$ac_header_preproc" >&6
23097 # So? What about this header?
23098 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23100 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23101 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23102 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23103 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23104 ac_header_preproc=yes
23107 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23108 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23109 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23110 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23111 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23112 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23113 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23114 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23115 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23116 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23117 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23118 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23121 ## ----------------------------------------- ##
23122 ## Report this to wx-dev@lists.wxwidgets.org ##
23123 ## ----------------------------------------- ##
23126 sed "s/^/$as_me: WARNING: /" >&2
23129 echo "$as_me:$LINENO: checking for $ac_header" >&5
23130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23132 echo $ECHO_N "(cached) $ECHO_C" >&6
23134 eval "$as_ac_Header=\$ac_header_preproc"
23136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23137 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23140 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23141 cat >>confdefs.h <<_ACEOF
23142 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23150 if test "$ac_cv_header_iostream" = "yes" ; then
23153 cat >>confdefs.h <<\_ACEOF
23154 #define wxUSE_IOSTREAMH 1
23160 ac_cpp='$CXXCPP $CPPFLAGS'
23161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23168 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23169 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23170 if test "${wx_cv_cpp_bool+set}" = set; then
23171 echo $ECHO_N "(cached) $ECHO_C" >&6
23177 ac_cpp='$CXXCPP $CPPFLAGS'
23178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23183 cat >conftest.$ac_ext <<_ACEOF
23186 cat confdefs.h >>conftest.$ac_ext
23187 cat >>conftest.$ac_ext <<_ACEOF
23188 /* end confdefs.h. */
23203 rm -f conftest.$ac_objext
23204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23205 (eval $ac_compile) 2>conftest.er1
23207 grep -v '^ *+' conftest.er1 >conftest.err
23209 cat conftest.err >&5
23210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23211 (exit $ac_status); } &&
23212 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23214 (eval $ac_try) 2>&5
23216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217 (exit $ac_status); }; } &&
23218 { ac_try='test -s conftest.$ac_objext'
23219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23220 (eval $ac_try) 2>&5
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); }; }; then
23228 echo "$as_me: failed program was:" >&5
23229 sed 's/^/| /' conftest.$ac_ext >&5
23236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23239 ac_cpp='$CXXCPP $CPPFLAGS'
23240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23246 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23247 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23249 if test "$wx_cv_cpp_bool" = "yes"; then
23250 cat >>confdefs.h <<\_ACEOF
23251 #define HAVE_BOOL 1
23258 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23259 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23260 if test "${wx_cv_explicit+set}" = set; then
23261 echo $ECHO_N "(cached) $ECHO_C" >&6
23267 ac_cpp='$CXXCPP $CPPFLAGS'
23268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23273 cat >conftest.$ac_ext <<_ACEOF
23276 cat confdefs.h >>conftest.$ac_ext
23277 cat >>conftest.$ac_ext <<_ACEOF
23278 /* end confdefs.h. */
23280 class Foo { public: explicit Foo(int) {} };
23292 rm -f conftest.$ac_objext
23293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23294 (eval $ac_compile) 2>conftest.er1
23296 grep -v '^ *+' conftest.er1 >conftest.err
23298 cat conftest.err >&5
23299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23300 (exit $ac_status); } &&
23301 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23303 (eval $ac_try) 2>&5
23305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23306 (exit $ac_status); }; } &&
23307 { ac_try='test -s conftest.$ac_objext'
23308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23309 (eval $ac_try) 2>&5
23311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23312 (exit $ac_status); }; }; then
23314 cat >conftest.$ac_ext <<_ACEOF
23317 cat confdefs.h >>conftest.$ac_ext
23318 cat >>conftest.$ac_ext <<_ACEOF
23319 /* end confdefs.h. */
23321 class Foo { public: explicit Foo(int) {} };
23322 static void TakeFoo(const Foo& foo) { }
23335 rm -f conftest.$ac_objext
23336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23337 (eval $ac_compile) 2>conftest.er1
23339 grep -v '^ *+' conftest.er1 >conftest.err
23341 cat conftest.err >&5
23342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23343 (exit $ac_status); } &&
23344 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23346 (eval $ac_try) 2>&5
23348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23349 (exit $ac_status); }; } &&
23350 { ac_try='test -s conftest.$ac_objext'
23351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23352 (eval $ac_try) 2>&5
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); }; }; then
23358 echo "$as_me: failed program was:" >&5
23359 sed 's/^/| /' conftest.$ac_ext >&5
23364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23367 echo "$as_me: failed program was:" >&5
23368 sed 's/^/| /' conftest.$ac_ext >&5
23373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23376 ac_cpp='$CXXCPP $CPPFLAGS'
23377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23383 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23384 echo "${ECHO_T}$wx_cv_explicit" >&6
23386 if test "$wx_cv_explicit" = "yes"; then
23387 cat >>confdefs.h <<\_ACEOF
23388 #define HAVE_EXPLICIT 1
23394 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23395 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23396 if test "${ac_cv_cxx_const_cast+set}" = set; then
23397 echo $ECHO_N "(cached) $ECHO_C" >&6
23402 ac_cpp='$CXXCPP $CPPFLAGS'
23403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23407 cat >conftest.$ac_ext <<_ACEOF
23410 cat confdefs.h >>conftest.$ac_ext
23411 cat >>conftest.$ac_ext <<_ACEOF
23412 /* end confdefs.h. */
23417 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23422 rm -f conftest.$ac_objext
23423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23424 (eval $ac_compile) 2>conftest.er1
23426 grep -v '^ *+' conftest.er1 >conftest.err
23428 cat conftest.err >&5
23429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23430 (exit $ac_status); } &&
23431 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23433 (eval $ac_try) 2>&5
23435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23436 (exit $ac_status); }; } &&
23437 { ac_try='test -s conftest.$ac_objext'
23438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23439 (eval $ac_try) 2>&5
23441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23442 (exit $ac_status); }; }; then
23443 ac_cv_cxx_const_cast=yes
23445 echo "$as_me: failed program was:" >&5
23446 sed 's/^/| /' conftest.$ac_ext >&5
23448 ac_cv_cxx_const_cast=no
23450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23452 ac_cpp='$CXXCPP $CPPFLAGS'
23453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23459 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23460 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23461 if test "$ac_cv_cxx_const_cast" = yes; then
23463 cat >>confdefs.h <<\_ACEOF
23464 #define HAVE_CONST_CAST
23469 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23470 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23471 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23472 echo $ECHO_N "(cached) $ECHO_C" >&6
23477 ac_cpp='$CXXCPP $CPPFLAGS'
23478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23482 cat >conftest.$ac_ext <<_ACEOF
23485 cat confdefs.h >>conftest.$ac_ext
23486 cat >>conftest.$ac_ext <<_ACEOF
23487 /* end confdefs.h. */
23488 #include <typeinfo>
23489 class Base { public : Base () {} virtual void f () = 0;};
23490 class Derived : public Base { public : Derived () {} virtual void f () {} };
23491 class Unrelated { public : Unrelated () {} };
23492 int g (Unrelated&) { return 0; }
23497 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23502 rm -f conftest.$ac_objext
23503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23504 (eval $ac_compile) 2>conftest.er1
23506 grep -v '^ *+' conftest.er1 >conftest.err
23508 cat conftest.err >&5
23509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23510 (exit $ac_status); } &&
23511 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23513 (eval $ac_try) 2>&5
23515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23516 (exit $ac_status); }; } &&
23517 { ac_try='test -s conftest.$ac_objext'
23518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23519 (eval $ac_try) 2>&5
23521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23522 (exit $ac_status); }; }; then
23523 ac_cv_cxx_reinterpret_cast=yes
23525 echo "$as_me: failed program was:" >&5
23526 sed 's/^/| /' conftest.$ac_ext >&5
23528 ac_cv_cxx_reinterpret_cast=no
23530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23532 ac_cpp='$CXXCPP $CPPFLAGS'
23533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23539 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23540 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23541 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23543 cat >>confdefs.h <<\_ACEOF
23544 #define HAVE_REINTERPRET_CAST
23549 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23550 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23551 if test "${ac_cv_cxx_static_cast+set}" = set; then
23552 echo $ECHO_N "(cached) $ECHO_C" >&6
23557 ac_cpp='$CXXCPP $CPPFLAGS'
23558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23562 cat >conftest.$ac_ext <<_ACEOF
23565 cat confdefs.h >>conftest.$ac_ext
23566 cat >>conftest.$ac_ext <<_ACEOF
23567 /* end confdefs.h. */
23568 #include <typeinfo>
23569 class Base { public : Base () {} virtual void f () = 0; };
23570 class Derived : public Base { public : Derived () {} virtual void f () {} };
23571 int g (Derived&) { return 0; }
23576 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23581 rm -f conftest.$ac_objext
23582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23583 (eval $ac_compile) 2>conftest.er1
23585 grep -v '^ *+' conftest.er1 >conftest.err
23587 cat conftest.err >&5
23588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23589 (exit $ac_status); } &&
23590 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23592 (eval $ac_try) 2>&5
23594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 (exit $ac_status); }; } &&
23596 { ac_try='test -s conftest.$ac_objext'
23597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23598 (eval $ac_try) 2>&5
23600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23601 (exit $ac_status); }; }; then
23602 ac_cv_cxx_static_cast=yes
23604 echo "$as_me: failed program was:" >&5
23605 sed 's/^/| /' conftest.$ac_ext >&5
23607 ac_cv_cxx_static_cast=no
23609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23611 ac_cpp='$CXXCPP $CPPFLAGS'
23612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23618 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23619 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23620 if test "$ac_cv_cxx_static_cast" = yes; then
23622 cat >>confdefs.h <<\_ACEOF
23623 #define HAVE_STATIC_CAST
23629 if test "x$SUNCXX" = xyes; then
23630 CXXFLAGS="-features=tmplife $CXXFLAGS"
23633 if test "x$SUNCC" = xyes; then
23634 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23637 if test "x$SGICC" = "xyes"; then
23638 CFLAGS="-woff 3970 $CFLAGS"
23640 if test "x$SGICXX" = "xyes"; then
23641 CXXFLAGS="-woff 3970 $CXXFLAGS"
23644 if test "x$HPCC" = "xyes"; then
23645 CFLAGS="+W 2011,2450 $CFLAGS"
23647 if test "x$HPCXX" = "xyes"; then
23648 CXXFLAGS="+W 2340 $CXXFLAGS"
23651 if test "x$COMPAQCXX" = "xyes"; then
23652 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23655 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23656 if test "$wxUSE_UNICODE" = "yes"; then
23657 std_string="std::wstring"
23658 char_type="wchar_t"
23660 std_string="std::string"
23664 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23665 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23666 cat >conftest.$ac_ext <<_ACEOF
23669 cat confdefs.h >>conftest.$ac_ext
23670 cat >>conftest.$ac_ext <<_ACEOF
23671 /* end confdefs.h. */
23681 rm -f conftest.$ac_objext
23682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23683 (eval $ac_compile) 2>conftest.er1
23685 grep -v '^ *+' conftest.er1 >conftest.err
23687 cat conftest.err >&5
23688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23689 (exit $ac_status); } &&
23690 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23692 (eval $ac_try) 2>&5
23694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23695 (exit $ac_status); }; } &&
23696 { ac_try='test -s conftest.$ac_objext'
23697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23698 (eval $ac_try) 2>&5
23700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23701 (exit $ac_status); }; }; then
23702 echo "$as_me:$LINENO: result: yes" >&5
23703 echo "${ECHO_T}yes" >&6
23704 cat >>confdefs.h <<\_ACEOF
23705 #define HAVE_STD_WSTRING 1
23709 echo "$as_me: failed program was:" >&5
23710 sed 's/^/| /' conftest.$ac_ext >&5
23712 echo "$as_me:$LINENO: result: no" >&5
23713 echo "${ECHO_T}no" >&6
23714 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23715 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23716 cat >conftest.$ac_ext <<_ACEOF
23719 cat confdefs.h >>conftest.$ac_ext
23720 cat >>conftest.$ac_ext <<_ACEOF
23721 /* end confdefs.h. */
23723 #ifdef HAVE_WCHAR_H
23725 # include <stddef.h>
23727 # include <wchar.h>
23729 #ifdef HAVE_STDLIB_H
23730 # include <stdlib.h>
23738 std::basic_string<$char_type> foo;
23739 const $char_type* dummy = foo.c_str();
23744 rm -f conftest.$ac_objext
23745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23746 (eval $ac_compile) 2>conftest.er1
23748 grep -v '^ *+' conftest.er1 >conftest.err
23750 cat conftest.err >&5
23751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23752 (exit $ac_status); } &&
23753 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23755 (eval $ac_try) 2>&5
23757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23758 (exit $ac_status); }; } &&
23759 { ac_try='test -s conftest.$ac_objext'
23760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23761 (eval $ac_try) 2>&5
23763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23764 (exit $ac_status); }; }; then
23765 echo "$as_me:$LINENO: result: yes" >&5
23766 echo "${ECHO_T}yes" >&6
23768 echo "$as_me: failed program was:" >&5
23769 sed 's/^/| /' conftest.$ac_ext >&5
23771 echo "$as_me:$LINENO: result: no" >&5
23772 echo "${ECHO_T}no" >&6
23773 if test "$wxUSE_STL" = "yes"; then
23774 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23775 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23776 { (exit 1); exit 1; }; }
23777 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23778 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23779 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23780 { (exit 1); exit 1; }; }
23782 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23783 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23784 wxUSE_STD_STRING=no
23789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23795 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23796 echo "$as_me:$LINENO: checking for std::istream" >&5
23797 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23798 if test "${ac_cv_type_std__istream+set}" = set; then
23799 echo $ECHO_N "(cached) $ECHO_C" >&6
23801 cat >conftest.$ac_ext <<_ACEOF
23804 cat confdefs.h >>conftest.$ac_ext
23805 cat >>conftest.$ac_ext <<_ACEOF
23806 /* end confdefs.h. */
23807 #include <iostream>
23812 if ((std::istream *) 0)
23814 if (sizeof (std::istream))
23820 rm -f conftest.$ac_objext
23821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23822 (eval $ac_compile) 2>conftest.er1
23824 grep -v '^ *+' conftest.er1 >conftest.err
23826 cat conftest.err >&5
23827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23828 (exit $ac_status); } &&
23829 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23831 (eval $ac_try) 2>&5
23833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23834 (exit $ac_status); }; } &&
23835 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
23841 ac_cv_type_std__istream=yes
23843 echo "$as_me: failed program was:" >&5
23844 sed 's/^/| /' conftest.$ac_ext >&5
23846 ac_cv_type_std__istream=no
23848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23850 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23851 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23852 if test $ac_cv_type_std__istream = yes; then
23854 cat >>confdefs.h <<_ACEOF
23855 #define HAVE_STD__ISTREAM 1
23860 wxUSE_STD_IOSTREAM=no
23862 echo "$as_me:$LINENO: checking for std::ostream" >&5
23863 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23864 if test "${ac_cv_type_std__ostream+set}" = set; then
23865 echo $ECHO_N "(cached) $ECHO_C" >&6
23867 cat >conftest.$ac_ext <<_ACEOF
23870 cat confdefs.h >>conftest.$ac_ext
23871 cat >>conftest.$ac_ext <<_ACEOF
23872 /* end confdefs.h. */
23873 #include <iostream>
23878 if ((std::ostream *) 0)
23880 if (sizeof (std::ostream))
23886 rm -f conftest.$ac_objext
23887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23888 (eval $ac_compile) 2>conftest.er1
23890 grep -v '^ *+' conftest.er1 >conftest.err
23892 cat conftest.err >&5
23893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23894 (exit $ac_status); } &&
23895 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23897 (eval $ac_try) 2>&5
23899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23900 (exit $ac_status); }; } &&
23901 { ac_try='test -s conftest.$ac_objext'
23902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23903 (eval $ac_try) 2>&5
23905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23906 (exit $ac_status); }; }; then
23907 ac_cv_type_std__ostream=yes
23909 echo "$as_me: failed program was:" >&5
23910 sed 's/^/| /' conftest.$ac_ext >&5
23912 ac_cv_type_std__ostream=no
23914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23916 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23917 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23918 if test $ac_cv_type_std__ostream = yes; then
23920 cat >>confdefs.h <<_ACEOF
23921 #define HAVE_STD__OSTREAM 1
23926 wxUSE_STD_IOSTREAM=no
23930 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23931 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23932 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23933 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23934 { (exit 1); exit 1; }; }
23936 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23937 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23942 if test "$wxUSE_STL" = "yes"; then
23943 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23944 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23945 cat >conftest.$ac_ext <<_ACEOF
23948 cat confdefs.h >>conftest.$ac_ext
23949 cat >>conftest.$ac_ext <<_ACEOF
23950 /* end confdefs.h. */
23952 #include <functional>
23953 #include <algorithm>
23959 std::vector<int> moo;
23960 std::list<int> foo;
23961 std::vector<int>::iterator it =
23962 std::find_if(moo.begin(), moo.end(),
23963 std::bind2nd(std::less<int>(), 3));
23968 rm -f conftest.$ac_objext
23969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23970 (eval $ac_compile) 2>conftest.er1
23972 grep -v '^ *+' conftest.er1 >conftest.err
23974 cat conftest.err >&5
23975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23976 (exit $ac_status); } &&
23977 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23979 (eval $ac_try) 2>&5
23981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23982 (exit $ac_status); }; } &&
23983 { ac_try='test -s conftest.$ac_objext'
23984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23985 (eval $ac_try) 2>&5
23987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23988 (exit $ac_status); }; }; then
23989 echo "$as_me:$LINENO: result: yes" >&5
23990 echo "${ECHO_T}yes" >&6
23992 echo "$as_me: failed program was:" >&5
23993 sed 's/^/| /' conftest.$ac_ext >&5
23995 echo "$as_me:$LINENO: result: no" >&5
23996 echo "${ECHO_T}no" >&6
23997 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23998 echo "$as_me: error: Basic STL functionality missing" >&2;}
23999 { (exit 1); exit 1; }; }
24001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24003 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24004 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24005 cat >conftest.$ac_ext <<_ACEOF
24008 cat confdefs.h >>conftest.$ac_ext
24009 cat >>conftest.$ac_ext <<_ACEOF
24010 /* end confdefs.h. */
24015 std::string foo, bar;
24017 foo.compare(1, 1, bar);
24018 foo.compare(1, 1, bar, 1, 1);
24020 foo.compare(1, 1, "");
24021 foo.compare(1, 1, "", 2);
24026 rm -f conftest.$ac_objext
24027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24028 (eval $ac_compile) 2>conftest.er1
24030 grep -v '^ *+' conftest.er1 >conftest.err
24032 cat conftest.err >&5
24033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24034 (exit $ac_status); } &&
24035 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24037 (eval $ac_try) 2>&5
24039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24040 (exit $ac_status); }; } &&
24041 { ac_try='test -s conftest.$ac_objext'
24042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24043 (eval $ac_try) 2>&5
24045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24046 (exit $ac_status); }; }; then
24047 echo "$as_me:$LINENO: result: yes" >&5
24048 echo "${ECHO_T}yes" >&6
24049 cat >>confdefs.h <<\_ACEOF
24050 #define HAVE_STD_STRING_COMPARE 1
24054 echo "$as_me: failed program was:" >&5
24055 sed 's/^/| /' conftest.$ac_ext >&5
24057 echo "$as_me:$LINENO: result: no" >&5
24058 echo "${ECHO_T}no" >&6
24060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24062 if test "${ac_cv_header_hash_map+set}" = set; then
24063 echo "$as_me:$LINENO: checking for hash_map" >&5
24064 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24065 if test "${ac_cv_header_hash_map+set}" = set; then
24066 echo $ECHO_N "(cached) $ECHO_C" >&6
24068 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24069 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24071 # Is the header compilable?
24072 echo "$as_me:$LINENO: checking hash_map usability" >&5
24073 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24074 cat >conftest.$ac_ext <<_ACEOF
24077 cat confdefs.h >>conftest.$ac_ext
24078 cat >>conftest.$ac_ext <<_ACEOF
24079 /* end confdefs.h. */
24080 $ac_includes_default
24081 #include <hash_map>
24083 rm -f conftest.$ac_objext
24084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24085 (eval $ac_compile) 2>conftest.er1
24087 grep -v '^ *+' conftest.er1 >conftest.err
24089 cat conftest.err >&5
24090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24091 (exit $ac_status); } &&
24092 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24094 (eval $ac_try) 2>&5
24096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24097 (exit $ac_status); }; } &&
24098 { ac_try='test -s conftest.$ac_objext'
24099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24100 (eval $ac_try) 2>&5
24102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24103 (exit $ac_status); }; }; then
24104 ac_header_compiler=yes
24106 echo "$as_me: failed program was:" >&5
24107 sed 's/^/| /' conftest.$ac_ext >&5
24109 ac_header_compiler=no
24111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24112 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24113 echo "${ECHO_T}$ac_header_compiler" >&6
24115 # Is the header present?
24116 echo "$as_me:$LINENO: checking hash_map presence" >&5
24117 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24118 cat >conftest.$ac_ext <<_ACEOF
24121 cat confdefs.h >>conftest.$ac_ext
24122 cat >>conftest.$ac_ext <<_ACEOF
24123 /* end confdefs.h. */
24124 #include <hash_map>
24126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24127 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24129 grep -v '^ *+' conftest.er1 >conftest.err
24131 cat conftest.err >&5
24132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24133 (exit $ac_status); } >/dev/null; then
24134 if test -s conftest.err; then
24135 ac_cpp_err=$ac_cxx_preproc_warn_flag
24136 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24143 if test -z "$ac_cpp_err"; then
24144 ac_header_preproc=yes
24146 echo "$as_me: failed program was:" >&5
24147 sed 's/^/| /' conftest.$ac_ext >&5
24149 ac_header_preproc=no
24151 rm -f conftest.err conftest.$ac_ext
24152 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24153 echo "${ECHO_T}$ac_header_preproc" >&6
24155 # So? What about this header?
24156 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24158 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24159 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24160 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24161 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24162 ac_header_preproc=yes
24165 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24166 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24167 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24168 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24169 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24170 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24171 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24172 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24173 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24174 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24175 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24176 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24179 ## ----------------------------------------- ##
24180 ## Report this to wx-dev@lists.wxwidgets.org ##
24181 ## ----------------------------------------- ##
24184 sed "s/^/$as_me: WARNING: /" >&2
24187 echo "$as_me:$LINENO: checking for hash_map" >&5
24188 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24189 if test "${ac_cv_header_hash_map+set}" = set; then
24190 echo $ECHO_N "(cached) $ECHO_C" >&6
24192 ac_cv_header_hash_map=$ac_header_preproc
24194 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24195 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24198 if test $ac_cv_header_hash_map = yes; then
24199 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24200 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24201 cat >conftest.$ac_ext <<_ACEOF
24204 cat confdefs.h >>conftest.$ac_ext
24205 cat >>conftest.$ac_ext <<_ACEOF
24206 /* end confdefs.h. */
24207 #include <hash_map>
24208 #include <hash_set>
24212 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24213 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24218 rm -f conftest.$ac_objext
24219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24220 (eval $ac_compile) 2>conftest.er1
24222 grep -v '^ *+' conftest.er1 >conftest.err
24224 cat conftest.err >&5
24225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24226 (exit $ac_status); } &&
24227 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24229 (eval $ac_try) 2>&5
24231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24232 (exit $ac_status); }; } &&
24233 { ac_try='test -s conftest.$ac_objext'
24234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24235 (eval $ac_try) 2>&5
24237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24238 (exit $ac_status); }; }; then
24239 echo "$as_me:$LINENO: result: yes" >&5
24240 echo "${ECHO_T}yes" >&6
24241 cat >>confdefs.h <<\_ACEOF
24242 #define HAVE_HASH_MAP 1
24245 cat >>confdefs.h <<\_ACEOF
24246 #define HAVE_STD_HASH_MAP 1
24250 echo "$as_me: failed program was:" >&5
24251 sed 's/^/| /' conftest.$ac_ext >&5
24253 echo "$as_me:$LINENO: result: no" >&5
24254 echo "${ECHO_T}no" >&6
24256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24262 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24263 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24264 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24265 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24266 echo $ECHO_N "(cached) $ECHO_C" >&6
24268 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24269 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24271 # Is the header compilable?
24272 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24273 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24274 cat >conftest.$ac_ext <<_ACEOF
24277 cat confdefs.h >>conftest.$ac_ext
24278 cat >>conftest.$ac_ext <<_ACEOF
24279 /* end confdefs.h. */
24280 $ac_includes_default
24281 #include <ext/hash_map>
24283 rm -f conftest.$ac_objext
24284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24285 (eval $ac_compile) 2>conftest.er1
24287 grep -v '^ *+' conftest.er1 >conftest.err
24289 cat conftest.err >&5
24290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24291 (exit $ac_status); } &&
24292 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24294 (eval $ac_try) 2>&5
24296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24297 (exit $ac_status); }; } &&
24298 { ac_try='test -s conftest.$ac_objext'
24299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24300 (eval $ac_try) 2>&5
24302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24303 (exit $ac_status); }; }; then
24304 ac_header_compiler=yes
24306 echo "$as_me: failed program was:" >&5
24307 sed 's/^/| /' conftest.$ac_ext >&5
24309 ac_header_compiler=no
24311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24312 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24313 echo "${ECHO_T}$ac_header_compiler" >&6
24315 # Is the header present?
24316 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24317 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24318 cat >conftest.$ac_ext <<_ACEOF
24321 cat confdefs.h >>conftest.$ac_ext
24322 cat >>conftest.$ac_ext <<_ACEOF
24323 /* end confdefs.h. */
24324 #include <ext/hash_map>
24326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24327 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24329 grep -v '^ *+' conftest.er1 >conftest.err
24331 cat conftest.err >&5
24332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24333 (exit $ac_status); } >/dev/null; then
24334 if test -s conftest.err; then
24335 ac_cpp_err=$ac_cxx_preproc_warn_flag
24336 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24343 if test -z "$ac_cpp_err"; then
24344 ac_header_preproc=yes
24346 echo "$as_me: failed program was:" >&5
24347 sed 's/^/| /' conftest.$ac_ext >&5
24349 ac_header_preproc=no
24351 rm -f conftest.err conftest.$ac_ext
24352 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24353 echo "${ECHO_T}$ac_header_preproc" >&6
24355 # So? What about this header?
24356 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24358 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24359 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24360 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24361 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24362 ac_header_preproc=yes
24365 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24366 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24367 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24368 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24369 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24370 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24371 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24372 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24373 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24374 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24375 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24376 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24379 ## ----------------------------------------- ##
24380 ## Report this to wx-dev@lists.wxwidgets.org ##
24381 ## ----------------------------------------- ##
24384 sed "s/^/$as_me: WARNING: /" >&2
24387 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24388 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24389 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24390 echo $ECHO_N "(cached) $ECHO_C" >&6
24392 ac_cv_header_ext_hash_map=$ac_header_preproc
24394 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24395 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24398 if test $ac_cv_header_ext_hash_map = yes; then
24399 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24400 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24401 cat >conftest.$ac_ext <<_ACEOF
24404 cat confdefs.h >>conftest.$ac_ext
24405 cat >>conftest.$ac_ext <<_ACEOF
24406 /* end confdefs.h. */
24407 #include <ext/hash_map>
24408 #include <ext/hash_set>
24412 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24413 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24418 rm -f conftest.$ac_objext
24419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24420 (eval $ac_compile) 2>conftest.er1
24422 grep -v '^ *+' conftest.er1 >conftest.err
24424 cat conftest.err >&5
24425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24426 (exit $ac_status); } &&
24427 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24429 (eval $ac_try) 2>&5
24431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24432 (exit $ac_status); }; } &&
24433 { ac_try='test -s conftest.$ac_objext'
24434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24435 (eval $ac_try) 2>&5
24437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24438 (exit $ac_status); }; }; then
24439 echo "$as_me:$LINENO: result: yes" >&5
24440 echo "${ECHO_T}yes" >&6
24441 cat >>confdefs.h <<\_ACEOF
24442 #define HAVE_EXT_HASH_MAP 1
24445 cat >>confdefs.h <<\_ACEOF
24446 #define HAVE_GNU_CXX_HASH_MAP 1
24450 echo "$as_me: failed program was:" >&5
24451 sed 's/^/| /' conftest.$ac_ext >&5
24453 echo "$as_me:$LINENO: result: no" >&5
24454 echo "${ECHO_T}no" >&6
24456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24465 /usr/local/include \
24467 /usr/Motif-2.1/include \
24468 /usr/Motif-1.2/include \
24469 /usr/include/Motif1.2 \
24472 /usr/openwin/include \
24476 /usr/X11R6/include \
24477 /usr/X11R6.4/include \
24478 /usr/X11R5/include \
24479 /usr/X11R4/include \
24481 /usr/include/X11R6 \
24482 /usr/include/X11R5 \
24483 /usr/include/X11R4 \
24485 /usr/local/X11R6/include \
24486 /usr/local/X11R5/include \
24487 /usr/local/X11R4/include \
24489 /usr/local/include/X11R6 \
24490 /usr/local/include/X11R5 \
24491 /usr/local/include/X11R4 \
24495 /usr/local/X11/include \
24496 /usr/local/include/X11 \
24498 /usr/XFree86/include/X11 \
24501 /usr/openwin/share/include"
24503 echo "$as_me:$LINENO: checking for libraries directory" >&5
24504 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24508 if test "${wx_cv_std_libpath+set}" = set; then
24509 echo $ECHO_N "(cached) $ECHO_C" >&6
24512 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24513 for e in a so sl dylib dll.a; do
24515 if test -f $libc; then
24518 cat >conftest.$ac_ext <<_ACEOF
24519 int main() { return 0; }
24521 rm -f conftest.$ac_objext conftest$ac_exeext
24522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24523 (eval $ac_link) 2>conftest.er1
24525 grep -v '^ *+' conftest.er1 >conftest.err
24527 cat conftest.err >&5
24528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24529 (exit $ac_status); } &&
24530 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24532 (eval $ac_try) 2>&5
24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535 (exit $ac_status); }; } &&
24536 { ac_try='test -s conftest$ac_exeext'
24537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24538 (eval $ac_try) 2>&5
24540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24541 (exit $ac_status); }; }; then
24542 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24544 echo "$as_me: failed program was:" >&5
24545 sed 's/^/| /' conftest.$ac_ext >&5
24548 rm -f conftest.err conftest.$ac_objext \
24549 conftest$ac_exeext conftest.$ac_ext
24551 if test "x$wx_cv_std_libpath" != "x"; then
24557 if test "x$wx_cv_std_libpath" = "x"; then
24558 wx_cv_std_libpath="lib"
24567 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24568 wx_cv_std_libpath="lib/64"
24570 wx_cv_std_libpath="lib"
24575 if test "$ac_cv_sizeof_void_p" = 8 -a \
24576 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24577 wx_cv_std_libpath="lib64"
24579 wx_cv_std_libpath="lib"
24584 wx_cv_std_libpath="lib";
24588 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24589 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24591 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24593 if test "$build" != "$host" -a "$GCC" = yes; then
24594 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24595 cross_root=`dirname $cross_root`
24596 cross_root=`dirname $cross_root`
24598 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24599 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24600 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24602 if test -z "$PKG_CONFIG_PATH"; then
24603 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24604 export PKG_CONFIG_PATH
24607 if test -z "$x_includes" -o "$x_includes" = NONE; then
24610 for ac_dir in $SEARCH_INCLUDE /usr/include;
24612 if test -f "$ac_dir/X11/Intrinsic.h"; then
24613 ac_find_includes=$ac_dir
24618 x_includes=$ac_find_includes
24620 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24623 for ac_dir in $SEARCH_LIB;
24625 for ac_extension in a so sl dylib dll.a; do
24626 if test -f "$ac_dir/libXt.$ac_extension"; then
24627 ac_find_libraries=$ac_dir
24633 x_libraries=$ac_find_libraries
24639 cat >confcache <<\_ACEOF
24640 # This file is a shell script that caches the results of configure
24641 # tests run on this system so they can be shared between configure
24642 # scripts and configure runs, see configure's option --config-cache.
24643 # It is not useful on other systems. If it contains results you don't
24644 # want to keep, you may remove or edit it.
24646 # config.status only pays attention to the cache file if you give it
24647 # the --recheck option to rerun configure.
24649 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24650 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24651 # following values.
24655 # The following way of writing the cache mishandles newlines in values,
24656 # but we know of no workaround that is simple, portable, and efficient.
24657 # So, don't put newlines in cache variables' values.
24658 # Ultrix sh set writes to stderr and can't be redirected directly,
24659 # and sets the high bit in the cache file unless we assign to the vars.
24662 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24664 # `set' does not quote correctly, so add quotes (double-quote
24665 # substitution turns \\\\ into \\, and sed turns \\ into \).
24668 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24671 # `set' quotes correctly as required by POSIX, so do not add quotes.
24673 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24680 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24682 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24684 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24685 if test -w $cache_file; then
24686 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24687 cat confcache >$cache_file
24689 echo "not updating unwritable cache $cache_file"
24694 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24695 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24696 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24697 if test "${wx_cv_lib_glibc21+set}" = set; then
24698 echo $ECHO_N "(cached) $ECHO_C" >&6
24701 cat >conftest.$ac_ext <<_ACEOF
24704 cat confdefs.h >>conftest.$ac_ext
24705 cat >>conftest.$ac_ext <<_ACEOF
24706 /* end confdefs.h. */
24707 #include <features.h>
24712 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24720 rm -f conftest.$ac_objext
24721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24722 (eval $ac_compile) 2>conftest.er1
24724 grep -v '^ *+' conftest.er1 >conftest.err
24726 cat conftest.err >&5
24727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24728 (exit $ac_status); } &&
24729 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24731 (eval $ac_try) 2>&5
24733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734 (exit $ac_status); }; } &&
24735 { ac_try='test -s conftest.$ac_objext'
24736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24737 (eval $ac_try) 2>&5
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); }; }; then
24742 wx_cv_lib_glibc21=yes
24745 echo "$as_me: failed program was:" >&5
24746 sed 's/^/| /' conftest.$ac_ext >&5
24749 wx_cv_lib_glibc21=no
24753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24756 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24757 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24758 if test "$wx_cv_lib_glibc21" = "yes"; then
24759 cat >>confdefs.h <<\_ACEOF
24760 #define wxHAVE_GLIBC2 1
24766 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24767 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24768 cat >>confdefs.h <<\_ACEOF
24769 #define _GNU_SOURCE 1
24780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24781 echo "$as_me:$LINENO: checking for $ac_func" >&5
24782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24783 if eval "test \"\${$as_ac_var+set}\" = set"; then
24784 echo $ECHO_N "(cached) $ECHO_C" >&6
24786 cat >conftest.$ac_ext <<_ACEOF
24789 cat confdefs.h >>conftest.$ac_ext
24790 cat >>conftest.$ac_ext <<_ACEOF
24791 /* end confdefs.h. */
24792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24794 #define $ac_func innocuous_$ac_func
24796 /* System header to define __stub macros and hopefully few prototypes,
24797 which can conflict with char $ac_func (); below.
24798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24799 <limits.h> exists even on freestanding compilers. */
24802 # include <limits.h>
24804 # include <assert.h>
24809 /* Override any gcc2 internal prototype to avoid an error. */
24814 /* We use char because int might match the return type of a gcc2
24815 builtin and then its argument prototype would still apply. */
24817 /* The GNU C library defines this for functions which it implements
24818 to always fail with ENOSYS. Some functions are actually named
24819 something starting with __ and the normal name is an alias. */
24820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24823 char (*f) () = $ac_func;
24832 return f != $ac_func;
24837 rm -f conftest.$ac_objext conftest$ac_exeext
24838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24839 (eval $ac_link) 2>conftest.er1
24841 grep -v '^ *+' conftest.er1 >conftest.err
24843 cat conftest.err >&5
24844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24845 (exit $ac_status); } &&
24846 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24848 (eval $ac_try) 2>&5
24850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24851 (exit $ac_status); }; } &&
24852 { ac_try='test -s conftest$ac_exeext'
24853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24854 (eval $ac_try) 2>&5
24856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24857 (exit $ac_status); }; }; then
24858 eval "$as_ac_var=yes"
24860 echo "$as_me: failed program was:" >&5
24861 sed 's/^/| /' conftest.$ac_ext >&5
24863 eval "$as_ac_var=no"
24865 rm -f conftest.err conftest.$ac_objext \
24866 conftest$ac_exeext conftest.$ac_ext
24868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24870 if test `eval echo '${'$as_ac_var'}'` = yes; then
24871 cat >>confdefs.h <<_ACEOF
24872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24879 for ac_func in floor
24881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24882 echo "$as_me:$LINENO: checking for $ac_func" >&5
24883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24884 if eval "test \"\${$as_ac_var+set}\" = set"; then
24885 echo $ECHO_N "(cached) $ECHO_C" >&6
24887 cat >conftest.$ac_ext <<_ACEOF
24890 cat confdefs.h >>conftest.$ac_ext
24891 cat >>conftest.$ac_ext <<_ACEOF
24892 /* end confdefs.h. */
24893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24895 #define $ac_func innocuous_$ac_func
24897 /* System header to define __stub macros and hopefully few prototypes,
24898 which can conflict with char $ac_func (); below.
24899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24900 <limits.h> exists even on freestanding compilers. */
24903 # include <limits.h>
24905 # include <assert.h>
24910 /* Override any gcc2 internal prototype to avoid an error. */
24915 /* We use char because int might match the return type of a gcc2
24916 builtin and then its argument prototype would still apply. */
24918 /* The GNU C library defines this for functions which it implements
24919 to always fail with ENOSYS. Some functions are actually named
24920 something starting with __ and the normal name is an alias. */
24921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24924 char (*f) () = $ac_func;
24933 return f != $ac_func;
24938 rm -f conftest.$ac_objext conftest$ac_exeext
24939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24940 (eval $ac_link) 2>conftest.er1
24942 grep -v '^ *+' conftest.er1 >conftest.err
24944 cat conftest.err >&5
24945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24946 (exit $ac_status); } &&
24947 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24949 (eval $ac_try) 2>&5
24951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24952 (exit $ac_status); }; } &&
24953 { ac_try='test -s conftest$ac_exeext'
24954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24955 (eval $ac_try) 2>&5
24957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24958 (exit $ac_status); }; }; then
24959 eval "$as_ac_var=yes"
24961 echo "$as_me: failed program was:" >&5
24962 sed 's/^/| /' conftest.$ac_ext >&5
24964 eval "$as_ac_var=no"
24966 rm -f conftest.err conftest.$ac_objext \
24967 conftest$ac_exeext conftest.$ac_ext
24969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24971 if test `eval echo '${'$as_ac_var'}'` = yes; then
24972 cat >>confdefs.h <<_ACEOF
24973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24979 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24980 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24981 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24982 echo "$as_me:$LINENO: result: yes" >&5
24983 echo "${ECHO_T}yes" >&6
24985 echo "$as_me:$LINENO: result: no" >&5
24986 echo "${ECHO_T}no" >&6
24988 # use different functions to avoid configure caching
24994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24995 echo "$as_me:$LINENO: checking for $ac_func" >&5
24996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24997 if eval "test \"\${$as_ac_var+set}\" = set"; then
24998 echo $ECHO_N "(cached) $ECHO_C" >&6
25000 cat >conftest.$ac_ext <<_ACEOF
25003 cat confdefs.h >>conftest.$ac_ext
25004 cat >>conftest.$ac_ext <<_ACEOF
25005 /* end confdefs.h. */
25006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25008 #define $ac_func innocuous_$ac_func
25010 /* System header to define __stub macros and hopefully few prototypes,
25011 which can conflict with char $ac_func (); below.
25012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25013 <limits.h> exists even on freestanding compilers. */
25016 # include <limits.h>
25018 # include <assert.h>
25023 /* Override any gcc2 internal prototype to avoid an error. */
25028 /* We use char because int might match the return type of a gcc2
25029 builtin and then its argument prototype would still apply. */
25031 /* The GNU C library defines this for functions which it implements
25032 to always fail with ENOSYS. Some functions are actually named
25033 something starting with __ and the normal name is an alias. */
25034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25037 char (*f) () = $ac_func;
25046 return f != $ac_func;
25051 rm -f conftest.$ac_objext conftest$ac_exeext
25052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25053 (eval $ac_link) 2>conftest.er1
25055 grep -v '^ *+' conftest.er1 >conftest.err
25057 cat conftest.err >&5
25058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25059 (exit $ac_status); } &&
25060 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25062 (eval $ac_try) 2>&5
25064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25065 (exit $ac_status); }; } &&
25066 { ac_try='test -s conftest$ac_exeext'
25067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25068 (eval $ac_try) 2>&5
25070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071 (exit $ac_status); }; }; then
25072 eval "$as_ac_var=yes"
25074 echo "$as_me: failed program was:" >&5
25075 sed 's/^/| /' conftest.$ac_ext >&5
25077 eval "$as_ac_var=no"
25079 rm -f conftest.err conftest.$ac_objext \
25080 conftest$ac_exeext conftest.$ac_ext
25082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25084 if test `eval echo '${'$as_ac_var'}'` = yes; then
25085 cat >>confdefs.h <<_ACEOF
25086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25093 for ac_func in ceil
25095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25096 echo "$as_me:$LINENO: checking for $ac_func" >&5
25097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25098 if eval "test \"\${$as_ac_var+set}\" = set"; then
25099 echo $ECHO_N "(cached) $ECHO_C" >&6
25101 cat >conftest.$ac_ext <<_ACEOF
25104 cat confdefs.h >>conftest.$ac_ext
25105 cat >>conftest.$ac_ext <<_ACEOF
25106 /* end confdefs.h. */
25107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25109 #define $ac_func innocuous_$ac_func
25111 /* System header to define __stub macros and hopefully few prototypes,
25112 which can conflict with char $ac_func (); below.
25113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25114 <limits.h> exists even on freestanding compilers. */
25117 # include <limits.h>
25119 # include <assert.h>
25124 /* Override any gcc2 internal prototype to avoid an error. */
25129 /* We use char because int might match the return type of a gcc2
25130 builtin and then its argument prototype would still apply. */
25132 /* The GNU C library defines this for functions which it implements
25133 to always fail with ENOSYS. Some functions are actually named
25134 something starting with __ and the normal name is an alias. */
25135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25138 char (*f) () = $ac_func;
25147 return f != $ac_func;
25152 rm -f conftest.$ac_objext conftest$ac_exeext
25153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25154 (eval $ac_link) 2>conftest.er1
25156 grep -v '^ *+' conftest.er1 >conftest.err
25158 cat conftest.err >&5
25159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25160 (exit $ac_status); } &&
25161 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25163 (eval $ac_try) 2>&5
25165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25166 (exit $ac_status); }; } &&
25167 { ac_try='test -s conftest$ac_exeext'
25168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25169 (eval $ac_try) 2>&5
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); }; }; then
25173 eval "$as_ac_var=yes"
25175 echo "$as_me: failed program was:" >&5
25176 sed 's/^/| /' conftest.$ac_ext >&5
25178 eval "$as_ac_var=no"
25180 rm -f conftest.err conftest.$ac_objext \
25181 conftest$ac_exeext conftest.$ac_ext
25183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25185 if test `eval echo '${'$as_ac_var'}'` = yes; then
25186 cat >>confdefs.h <<_ACEOF
25187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25193 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25194 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25195 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25196 echo "$as_me:$LINENO: result: yes" >&5
25197 echo "${ECHO_T}yes" >&6
25199 echo "$as_me:$LINENO: result: no" >&5
25200 echo "${ECHO_T}no" >&6
25201 # not sure we should warn the user, crash, etc.
25207 if test "$wxUSE_REGEX" != "no"; then
25208 cat >>confdefs.h <<\_ACEOF
25209 #define wxUSE_REGEX 1
25213 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25214 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25215 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25216 wxUSE_REGEX=builtin
25219 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25220 if test "${ac_cv_header_regex_h+set}" = set; then
25221 echo "$as_me:$LINENO: checking for regex.h" >&5
25222 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25223 if test "${ac_cv_header_regex_h+set}" = set; then
25224 echo $ECHO_N "(cached) $ECHO_C" >&6
25226 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25227 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25229 # Is the header compilable?
25230 echo "$as_me:$LINENO: checking regex.h usability" >&5
25231 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25232 cat >conftest.$ac_ext <<_ACEOF
25235 cat confdefs.h >>conftest.$ac_ext
25236 cat >>conftest.$ac_ext <<_ACEOF
25237 /* end confdefs.h. */
25238 $ac_includes_default
25241 rm -f conftest.$ac_objext
25242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25243 (eval $ac_compile) 2>conftest.er1
25245 grep -v '^ *+' conftest.er1 >conftest.err
25247 cat conftest.err >&5
25248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25249 (exit $ac_status); } &&
25250 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25252 (eval $ac_try) 2>&5
25254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25255 (exit $ac_status); }; } &&
25256 { ac_try='test -s conftest.$ac_objext'
25257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25258 (eval $ac_try) 2>&5
25260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25261 (exit $ac_status); }; }; then
25262 ac_header_compiler=yes
25264 echo "$as_me: failed program was:" >&5
25265 sed 's/^/| /' conftest.$ac_ext >&5
25267 ac_header_compiler=no
25269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25270 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25271 echo "${ECHO_T}$ac_header_compiler" >&6
25273 # Is the header present?
25274 echo "$as_me:$LINENO: checking regex.h presence" >&5
25275 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25276 cat >conftest.$ac_ext <<_ACEOF
25279 cat confdefs.h >>conftest.$ac_ext
25280 cat >>conftest.$ac_ext <<_ACEOF
25281 /* end confdefs.h. */
25284 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25285 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25287 grep -v '^ *+' conftest.er1 >conftest.err
25289 cat conftest.err >&5
25290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25291 (exit $ac_status); } >/dev/null; then
25292 if test -s conftest.err; then
25293 ac_cpp_err=$ac_cxx_preproc_warn_flag
25294 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25301 if test -z "$ac_cpp_err"; then
25302 ac_header_preproc=yes
25304 echo "$as_me: failed program was:" >&5
25305 sed 's/^/| /' conftest.$ac_ext >&5
25307 ac_header_preproc=no
25309 rm -f conftest.err conftest.$ac_ext
25310 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25311 echo "${ECHO_T}$ac_header_preproc" >&6
25313 # So? What about this header?
25314 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25316 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25317 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25318 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25319 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25320 ac_header_preproc=yes
25323 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25324 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25325 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25326 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25327 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25328 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25329 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25330 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25331 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25332 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25333 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25334 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25337 ## ----------------------------------------- ##
25338 ## Report this to wx-dev@lists.wxwidgets.org ##
25339 ## ----------------------------------------- ##
25342 sed "s/^/$as_me: WARNING: /" >&2
25345 echo "$as_me:$LINENO: checking for regex.h" >&5
25346 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25347 if test "${ac_cv_header_regex_h+set}" = set; then
25348 echo $ECHO_N "(cached) $ECHO_C" >&6
25350 ac_cv_header_regex_h=$ac_header_preproc
25352 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25353 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25356 if test $ac_cv_header_regex_h = yes; then
25359 for ac_func in regcomp re_search
25361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25362 echo "$as_me:$LINENO: checking for $ac_func" >&5
25363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25364 if eval "test \"\${$as_ac_var+set}\" = set"; then
25365 echo $ECHO_N "(cached) $ECHO_C" >&6
25367 cat >conftest.$ac_ext <<_ACEOF
25370 cat confdefs.h >>conftest.$ac_ext
25371 cat >>conftest.$ac_ext <<_ACEOF
25372 /* end confdefs.h. */
25373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25375 #define $ac_func innocuous_$ac_func
25377 /* System header to define __stub macros and hopefully few prototypes,
25378 which can conflict with char $ac_func (); below.
25379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25380 <limits.h> exists even on freestanding compilers. */
25383 # include <limits.h>
25385 # include <assert.h>
25390 /* Override any gcc2 internal prototype to avoid an error. */
25395 /* We use char because int might match the return type of a gcc2
25396 builtin and then its argument prototype would still apply. */
25398 /* The GNU C library defines this for functions which it implements
25399 to always fail with ENOSYS. Some functions are actually named
25400 something starting with __ and the normal name is an alias. */
25401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25404 char (*f) () = $ac_func;
25413 return f != $ac_func;
25418 rm -f conftest.$ac_objext conftest$ac_exeext
25419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25420 (eval $ac_link) 2>conftest.er1
25422 grep -v '^ *+' conftest.er1 >conftest.err
25424 cat conftest.err >&5
25425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25426 (exit $ac_status); } &&
25427 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25429 (eval $ac_try) 2>&5
25431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25432 (exit $ac_status); }; } &&
25433 { ac_try='test -s conftest$ac_exeext'
25434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25435 (eval $ac_try) 2>&5
25437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25438 (exit $ac_status); }; }; then
25439 eval "$as_ac_var=yes"
25441 echo "$as_me: failed program was:" >&5
25442 sed 's/^/| /' conftest.$ac_ext >&5
25444 eval "$as_ac_var=no"
25446 rm -f conftest.err conftest.$ac_objext \
25447 conftest$ac_exeext conftest.$ac_ext
25449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25451 if test `eval echo '${'$as_ac_var'}'` = yes; then
25452 cat >>confdefs.h <<_ACEOF
25453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25463 if test "x$ac_cv_func_regcomp" != "xyes"; then
25464 if test "$wxUSE_REGEX" = "sys" ; then
25465 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25466 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25467 { (exit 1); exit 1; }; }
25469 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25470 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25471 wxUSE_REGEX=builtin
25475 cat >>confdefs.h <<\_ACEOF
25476 #define WX_NO_REGEX_ADVANCED 1
25485 if test "$wxUSE_ZLIB" != "no" ; then
25486 cat >>confdefs.h <<\_ACEOF
25487 #define wxUSE_ZLIB 1
25491 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25492 if test "$USE_DARWIN" = 1; then
25493 system_zlib_h_ok="yes"
25495 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25496 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25497 if test "${ac_cv_header_zlib_h+set}" = set; then
25498 echo $ECHO_N "(cached) $ECHO_C" >&6
25500 if test "$cross_compiling" = yes; then
25501 unset ac_cv_header_zlib_h
25504 cat >conftest.$ac_ext <<_ACEOF
25507 cat confdefs.h >>conftest.$ac_ext
25508 cat >>conftest.$ac_ext <<_ACEOF
25509 /* end confdefs.h. */
25516 FILE *f=fopen("conftestval", "w");
25519 ZLIB_VERSION[0] == '1' &&
25520 (ZLIB_VERSION[2] > '1' ||
25521 (ZLIB_VERSION[2] == '1' &&
25522 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25527 rm -f conftest$ac_exeext
25528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25529 (eval $ac_link) 2>&5
25531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25532 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25534 (eval $ac_try) 2>&5
25536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25537 (exit $ac_status); }; }; then
25538 ac_cv_header_zlib_h=`cat conftestval`
25540 echo "$as_me: program exited with status $ac_status" >&5
25541 echo "$as_me: failed program was:" >&5
25542 sed 's/^/| /' conftest.$ac_ext >&5
25544 ( exit $ac_status )
25545 ac_cv_header_zlib_h=no
25547 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25551 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25552 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25553 if test "${ac_cv_header_zlib_h+set}" = set; then
25554 echo "$as_me:$LINENO: checking for zlib.h" >&5
25555 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25556 if test "${ac_cv_header_zlib_h+set}" = set; then
25557 echo $ECHO_N "(cached) $ECHO_C" >&6
25559 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25560 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25562 # Is the header compilable?
25563 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25564 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25565 cat >conftest.$ac_ext <<_ACEOF
25568 cat confdefs.h >>conftest.$ac_ext
25569 cat >>conftest.$ac_ext <<_ACEOF
25570 /* end confdefs.h. */
25571 $ac_includes_default
25574 rm -f conftest.$ac_objext
25575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25576 (eval $ac_compile) 2>conftest.er1
25578 grep -v '^ *+' conftest.er1 >conftest.err
25580 cat conftest.err >&5
25581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25582 (exit $ac_status); } &&
25583 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25585 (eval $ac_try) 2>&5
25587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25588 (exit $ac_status); }; } &&
25589 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
25595 ac_header_compiler=yes
25597 echo "$as_me: failed program was:" >&5
25598 sed 's/^/| /' conftest.$ac_ext >&5
25600 ac_header_compiler=no
25602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25603 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25604 echo "${ECHO_T}$ac_header_compiler" >&6
25606 # Is the header present?
25607 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25608 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25609 cat >conftest.$ac_ext <<_ACEOF
25612 cat confdefs.h >>conftest.$ac_ext
25613 cat >>conftest.$ac_ext <<_ACEOF
25614 /* end confdefs.h. */
25617 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25618 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25620 grep -v '^ *+' conftest.er1 >conftest.err
25622 cat conftest.err >&5
25623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25624 (exit $ac_status); } >/dev/null; then
25625 if test -s conftest.err; then
25626 ac_cpp_err=$ac_cxx_preproc_warn_flag
25627 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25634 if test -z "$ac_cpp_err"; then
25635 ac_header_preproc=yes
25637 echo "$as_me: failed program was:" >&5
25638 sed 's/^/| /' conftest.$ac_ext >&5
25640 ac_header_preproc=no
25642 rm -f conftest.err conftest.$ac_ext
25643 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25644 echo "${ECHO_T}$ac_header_preproc" >&6
25646 # So? What about this header?
25647 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25649 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25650 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25651 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25652 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25653 ac_header_preproc=yes
25656 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25657 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25658 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25659 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25660 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25661 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25662 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25663 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25664 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25665 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25666 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25667 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25670 ## ----------------------------------------- ##
25671 ## Report this to wx-dev@lists.wxwidgets.org ##
25672 ## ----------------------------------------- ##
25675 sed "s/^/$as_me: WARNING: /" >&2
25678 echo "$as_me:$LINENO: checking for zlib.h" >&5
25679 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25680 if test "${ac_cv_header_zlib_h+set}" = set; then
25681 echo $ECHO_N "(cached) $ECHO_C" >&6
25683 ac_cv_header_zlib_h=$ac_header_preproc
25685 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25686 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25692 system_zlib_h_ok=$ac_cv_header_zlib_h
25695 if test "$system_zlib_h_ok" = "yes"; then
25696 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25697 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25698 if test "${ac_cv_lib_z_deflate+set}" = set; then
25699 echo $ECHO_N "(cached) $ECHO_C" >&6
25701 ac_check_lib_save_LIBS=$LIBS
25703 cat >conftest.$ac_ext <<_ACEOF
25706 cat confdefs.h >>conftest.$ac_ext
25707 cat >>conftest.$ac_ext <<_ACEOF
25708 /* end confdefs.h. */
25710 /* Override any gcc2 internal prototype to avoid an error. */
25714 /* We use char because int might match the return type of a gcc2
25715 builtin and then its argument prototype would still apply. */
25725 rm -f conftest.$ac_objext conftest$ac_exeext
25726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25727 (eval $ac_link) 2>conftest.er1
25729 grep -v '^ *+' conftest.er1 >conftest.err
25731 cat conftest.err >&5
25732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25733 (exit $ac_status); } &&
25734 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25736 (eval $ac_try) 2>&5
25738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25739 (exit $ac_status); }; } &&
25740 { ac_try='test -s conftest$ac_exeext'
25741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25742 (eval $ac_try) 2>&5
25744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25745 (exit $ac_status); }; }; then
25746 ac_cv_lib_z_deflate=yes
25748 echo "$as_me: failed program was:" >&5
25749 sed 's/^/| /' conftest.$ac_ext >&5
25751 ac_cv_lib_z_deflate=no
25753 rm -f conftest.err conftest.$ac_objext \
25754 conftest$ac_exeext conftest.$ac_ext
25755 LIBS=$ac_check_lib_save_LIBS
25757 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25758 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25759 if test $ac_cv_lib_z_deflate = yes; then
25765 if test "x$ZLIB_LINK" = "x" ; then
25766 if test "$wxUSE_ZLIB" = "sys" ; then
25767 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25768 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25769 { (exit 1); exit 1; }; }
25771 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25772 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25783 if test "$wxUSE_LIBPNG" != "no" ; then
25784 cat >>confdefs.h <<\_ACEOF
25785 #define wxUSE_LIBPNG 1
25789 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25790 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25791 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25795 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25796 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25797 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25798 wxUSE_LIBPNG=builtin
25801 if test "$wxUSE_MGL" != 1 ; then
25802 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25803 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25804 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25805 if test "${ac_cv_header_png_h+set}" = set; then
25806 echo $ECHO_N "(cached) $ECHO_C" >&6
25808 if test "$cross_compiling" = yes; then
25809 unset ac_cv_header_png_h
25812 cat >conftest.$ac_ext <<_ACEOF
25815 cat confdefs.h >>conftest.$ac_ext
25816 cat >>conftest.$ac_ext <<_ACEOF
25817 /* end confdefs.h. */
25824 FILE *f=fopen("conftestval", "w");
25827 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25832 rm -f conftest$ac_exeext
25833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25834 (eval $ac_link) 2>&5
25836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25837 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25839 (eval $ac_try) 2>&5
25841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25842 (exit $ac_status); }; }; then
25843 ac_cv_header_png_h=`cat conftestval`
25845 echo "$as_me: program exited with status $ac_status" >&5
25846 echo "$as_me: failed program was:" >&5
25847 sed 's/^/| /' conftest.$ac_ext >&5
25849 ( exit $ac_status )
25850 ac_cv_header_png_h=no
25852 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25856 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25857 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25858 if test "${ac_cv_header_png_h+set}" = set; then
25859 echo "$as_me:$LINENO: checking for png.h" >&5
25860 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25861 if test "${ac_cv_header_png_h+set}" = set; then
25862 echo $ECHO_N "(cached) $ECHO_C" >&6
25864 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25865 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25867 # Is the header compilable?
25868 echo "$as_me:$LINENO: checking png.h usability" >&5
25869 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25870 cat >conftest.$ac_ext <<_ACEOF
25873 cat confdefs.h >>conftest.$ac_ext
25874 cat >>conftest.$ac_ext <<_ACEOF
25875 /* end confdefs.h. */
25876 $ac_includes_default
25879 rm -f conftest.$ac_objext
25880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25881 (eval $ac_compile) 2>conftest.er1
25883 grep -v '^ *+' conftest.er1 >conftest.err
25885 cat conftest.err >&5
25886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25887 (exit $ac_status); } &&
25888 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25890 (eval $ac_try) 2>&5
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); }; } &&
25894 { ac_try='test -s conftest.$ac_objext'
25895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25896 (eval $ac_try) 2>&5
25898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25899 (exit $ac_status); }; }; then
25900 ac_header_compiler=yes
25902 echo "$as_me: failed program was:" >&5
25903 sed 's/^/| /' conftest.$ac_ext >&5
25905 ac_header_compiler=no
25907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25908 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25909 echo "${ECHO_T}$ac_header_compiler" >&6
25911 # Is the header present?
25912 echo "$as_me:$LINENO: checking png.h presence" >&5
25913 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25914 cat >conftest.$ac_ext <<_ACEOF
25917 cat confdefs.h >>conftest.$ac_ext
25918 cat >>conftest.$ac_ext <<_ACEOF
25919 /* end confdefs.h. */
25922 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25923 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25925 grep -v '^ *+' conftest.er1 >conftest.err
25927 cat conftest.err >&5
25928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25929 (exit $ac_status); } >/dev/null; then
25930 if test -s conftest.err; then
25931 ac_cpp_err=$ac_cxx_preproc_warn_flag
25932 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25939 if test -z "$ac_cpp_err"; then
25940 ac_header_preproc=yes
25942 echo "$as_me: failed program was:" >&5
25943 sed 's/^/| /' conftest.$ac_ext >&5
25945 ac_header_preproc=no
25947 rm -f conftest.err conftest.$ac_ext
25948 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25949 echo "${ECHO_T}$ac_header_preproc" >&6
25951 # So? What about this header?
25952 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25954 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25955 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25956 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25957 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25958 ac_header_preproc=yes
25961 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25962 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25963 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25964 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25965 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25966 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25967 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25968 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25969 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25970 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25971 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25972 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25975 ## ----------------------------------------- ##
25976 ## Report this to wx-dev@lists.wxwidgets.org ##
25977 ## ----------------------------------------- ##
25980 sed "s/^/$as_me: WARNING: /" >&2
25983 echo "$as_me:$LINENO: checking for png.h" >&5
25984 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25985 if test "${ac_cv_header_png_h+set}" = set; then
25986 echo $ECHO_N "(cached) $ECHO_C" >&6
25988 ac_cv_header_png_h=$ac_header_preproc
25990 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25991 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25997 if test "$ac_cv_header_png_h" = "yes"; then
25998 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25999 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
26000 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26001 echo $ECHO_N "(cached) $ECHO_C" >&6
26003 ac_check_lib_save_LIBS=$LIBS
26004 LIBS="-lpng -lz -lm $LIBS"
26005 cat >conftest.$ac_ext <<_ACEOF
26008 cat confdefs.h >>conftest.$ac_ext
26009 cat >>conftest.$ac_ext <<_ACEOF
26010 /* end confdefs.h. */
26012 /* Override any gcc2 internal prototype to avoid an error. */
26016 /* We use char because int might match the return type of a gcc2
26017 builtin and then its argument prototype would still apply. */
26018 char png_check_sig ();
26027 rm -f conftest.$ac_objext conftest$ac_exeext
26028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26029 (eval $ac_link) 2>conftest.er1
26031 grep -v '^ *+' conftest.er1 >conftest.err
26033 cat conftest.err >&5
26034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26035 (exit $ac_status); } &&
26036 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26038 (eval $ac_try) 2>&5
26040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26041 (exit $ac_status); }; } &&
26042 { ac_try='test -s conftest$ac_exeext'
26043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26044 (eval $ac_try) 2>&5
26046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26047 (exit $ac_status); }; }; then
26048 ac_cv_lib_png_png_check_sig=yes
26050 echo "$as_me: failed program was:" >&5
26051 sed 's/^/| /' conftest.$ac_ext >&5
26053 ac_cv_lib_png_png_check_sig=no
26055 rm -f conftest.err conftest.$ac_objext \
26056 conftest$ac_exeext conftest.$ac_ext
26057 LIBS=$ac_check_lib_save_LIBS
26059 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26060 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26061 if test $ac_cv_lib_png_png_check_sig = yes; then
26062 PNG_LINK=" -lpng -lz"
26067 if test "x$PNG_LINK" = "x" ; then
26068 if test "$wxUSE_LIBPNG" = "sys" ; then
26069 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26070 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26071 { (exit 1); exit 1; }; }
26073 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26074 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26075 wxUSE_LIBPNG=builtin
26083 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
26088 if test "$wxUSE_LIBJPEG" != "no" ; then
26089 cat >>confdefs.h <<\_ACEOF
26090 #define wxUSE_LIBJPEG 1
26094 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26095 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26096 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26100 if test "$wxUSE_MGL" != 1 ; then
26101 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26102 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26103 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26104 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26105 echo $ECHO_N "(cached) $ECHO_C" >&6
26107 cat >conftest.$ac_ext <<_ACEOF
26110 cat confdefs.h >>conftest.$ac_ext
26111 cat >>conftest.$ac_ext <<_ACEOF
26112 /* end confdefs.h. */
26114 #undef HAVE_STDLIB_H
26116 #include <jpeglib.h>
26127 rm -f conftest.$ac_objext
26128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26129 (eval $ac_compile) 2>conftest.er1
26131 grep -v '^ *+' conftest.er1 >conftest.err
26133 cat conftest.err >&5
26134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26135 (exit $ac_status); } &&
26136 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26138 (eval $ac_try) 2>&5
26140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26141 (exit $ac_status); }; } &&
26142 { ac_try='test -s conftest.$ac_objext'
26143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26144 (eval $ac_try) 2>&5
26146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26147 (exit $ac_status); }; }; then
26148 ac_cv_header_jpeglib_h=yes
26150 echo "$as_me: failed program was:" >&5
26151 sed 's/^/| /' conftest.$ac_ext >&5
26153 ac_cv_header_jpeglib_h=no
26156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26160 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26161 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26163 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26164 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26165 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26166 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26167 echo $ECHO_N "(cached) $ECHO_C" >&6
26169 ac_check_lib_save_LIBS=$LIBS
26170 LIBS="-ljpeg $LIBS"
26171 cat >conftest.$ac_ext <<_ACEOF
26174 cat confdefs.h >>conftest.$ac_ext
26175 cat >>conftest.$ac_ext <<_ACEOF
26176 /* end confdefs.h. */
26178 /* Override any gcc2 internal prototype to avoid an error. */
26182 /* We use char because int might match the return type of a gcc2
26183 builtin and then its argument prototype would still apply. */
26184 char jpeg_read_header ();
26188 jpeg_read_header ();
26193 rm -f conftest.$ac_objext conftest$ac_exeext
26194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26195 (eval $ac_link) 2>conftest.er1
26197 grep -v '^ *+' conftest.er1 >conftest.err
26199 cat conftest.err >&5
26200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26201 (exit $ac_status); } &&
26202 { ac_try='test -z "$ac_cxx_werror_flag" || 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_jpeg_jpeg_read_header=yes
26216 echo "$as_me: failed program was:" >&5
26217 sed 's/^/| /' conftest.$ac_ext >&5
26219 ac_cv_lib_jpeg_jpeg_read_header=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_jpeg_jpeg_read_header" >&5
26226 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26227 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26228 JPEG_LINK=" -ljpeg"
26233 if test "x$JPEG_LINK" = "x" ; then
26234 if test "$wxUSE_LIBJPEG" = "sys" ; then
26235 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26236 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26237 { (exit 1); exit 1; }; }
26239 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26240 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26241 wxUSE_LIBJPEG=builtin
26252 TIFF_PREREQ_LINKS=-lm
26253 if test "$wxUSE_LIBTIFF" != "no" ; then
26254 cat >>confdefs.h <<\_ACEOF
26255 #define wxUSE_LIBTIFF 1
26259 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26260 if test "$wxUSE_LIBJPEG" = "sys"; then
26261 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26263 if test "$wxUSE_ZLIB" = "sys"; then
26264 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26266 if test "${ac_cv_header_tiffio_h+set}" = set; then
26267 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26268 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26269 if test "${ac_cv_header_tiffio_h+set}" = set; then
26270 echo $ECHO_N "(cached) $ECHO_C" >&6
26272 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26273 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26275 # Is the header compilable?
26276 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26277 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26278 cat >conftest.$ac_ext <<_ACEOF
26281 cat confdefs.h >>conftest.$ac_ext
26282 cat >>conftest.$ac_ext <<_ACEOF
26283 /* end confdefs.h. */
26284 $ac_includes_default
26285 #include <tiffio.h>
26287 rm -f conftest.$ac_objext
26288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26289 (eval $ac_compile) 2>conftest.er1
26291 grep -v '^ *+' conftest.er1 >conftest.err
26293 cat conftest.err >&5
26294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26295 (exit $ac_status); } &&
26296 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26298 (eval $ac_try) 2>&5
26300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26301 (exit $ac_status); }; } &&
26302 { ac_try='test -s conftest.$ac_objext'
26303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26304 (eval $ac_try) 2>&5
26306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26307 (exit $ac_status); }; }; then
26308 ac_header_compiler=yes
26310 echo "$as_me: failed program was:" >&5
26311 sed 's/^/| /' conftest.$ac_ext >&5
26313 ac_header_compiler=no
26315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26316 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26317 echo "${ECHO_T}$ac_header_compiler" >&6
26319 # Is the header present?
26320 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26321 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26322 cat >conftest.$ac_ext <<_ACEOF
26325 cat confdefs.h >>conftest.$ac_ext
26326 cat >>conftest.$ac_ext <<_ACEOF
26327 /* end confdefs.h. */
26328 #include <tiffio.h>
26330 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26331 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26333 grep -v '^ *+' conftest.er1 >conftest.err
26335 cat conftest.err >&5
26336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26337 (exit $ac_status); } >/dev/null; then
26338 if test -s conftest.err; then
26339 ac_cpp_err=$ac_cxx_preproc_warn_flag
26340 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26347 if test -z "$ac_cpp_err"; then
26348 ac_header_preproc=yes
26350 echo "$as_me: failed program was:" >&5
26351 sed 's/^/| /' conftest.$ac_ext >&5
26353 ac_header_preproc=no
26355 rm -f conftest.err conftest.$ac_ext
26356 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26357 echo "${ECHO_T}$ac_header_preproc" >&6
26359 # So? What about this header?
26360 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26362 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26363 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26364 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26365 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26366 ac_header_preproc=yes
26369 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26370 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26371 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26372 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26373 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26374 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26375 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26376 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26377 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26378 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26379 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26380 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26383 ## ----------------------------------------- ##
26384 ## Report this to wx-dev@lists.wxwidgets.org ##
26385 ## ----------------------------------------- ##
26388 sed "s/^/$as_me: WARNING: /" >&2
26391 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26392 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26393 if test "${ac_cv_header_tiffio_h+set}" = set; then
26394 echo $ECHO_N "(cached) $ECHO_C" >&6
26396 ac_cv_header_tiffio_h=$ac_header_preproc
26398 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26399 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26402 if test $ac_cv_header_tiffio_h = yes; then
26404 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26405 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26406 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26407 echo $ECHO_N "(cached) $ECHO_C" >&6
26409 ac_check_lib_save_LIBS=$LIBS
26410 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26411 cat >conftest.$ac_ext <<_ACEOF
26414 cat confdefs.h >>conftest.$ac_ext
26415 cat >>conftest.$ac_ext <<_ACEOF
26416 /* end confdefs.h. */
26418 /* Override any gcc2 internal prototype to avoid an error. */
26422 /* We use char because int might match the return type of a gcc2
26423 builtin and then its argument prototype would still apply. */
26433 rm -f conftest.$ac_objext conftest$ac_exeext
26434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26435 (eval $ac_link) 2>conftest.er1
26437 grep -v '^ *+' conftest.er1 >conftest.err
26439 cat conftest.err >&5
26440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26441 (exit $ac_status); } &&
26442 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26444 (eval $ac_try) 2>&5
26446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26447 (exit $ac_status); }; } &&
26448 { ac_try='test -s conftest$ac_exeext'
26449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26450 (eval $ac_try) 2>&5
26452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26453 (exit $ac_status); }; }; then
26454 ac_cv_lib_tiff_TIFFError=yes
26456 echo "$as_me: failed program was:" >&5
26457 sed 's/^/| /' conftest.$ac_ext >&5
26459 ac_cv_lib_tiff_TIFFError=no
26461 rm -f conftest.err conftest.$ac_objext \
26462 conftest$ac_exeext conftest.$ac_ext
26463 LIBS=$ac_check_lib_save_LIBS
26465 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26466 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26467 if test $ac_cv_lib_tiff_TIFFError = yes; then
26468 TIFF_LINK=" -ltiff"
26477 if test "x$TIFF_LINK" = "x" ; then
26478 if test "$wxUSE_LIBTIFF" = "sys" ; then
26479 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26480 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26481 { (exit 1); exit 1; }; }
26483 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26484 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26485 wxUSE_LIBTIFF=builtin
26494 if test "$wxUSE_WCHAR_T" != "yes"; then
26495 if test "$wxUSE_EXPAT" != "no"; then
26496 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26497 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26500 if test "$wxUSE_XML" != "no"; then
26501 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26502 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26507 if test "$wxUSE_EXPAT" != "no"; then
26509 cat >>confdefs.h <<\_ACEOF
26510 #define wxUSE_EXPAT 1
26513 cat >>confdefs.h <<\_ACEOF
26514 #define wxUSE_XML 1
26518 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26519 if test "${ac_cv_header_expat_h+set}" = set; then
26520 echo "$as_me:$LINENO: checking for expat.h" >&5
26521 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26522 if test "${ac_cv_header_expat_h+set}" = set; then
26523 echo $ECHO_N "(cached) $ECHO_C" >&6
26525 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26526 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26528 # Is the header compilable?
26529 echo "$as_me:$LINENO: checking expat.h usability" >&5
26530 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26531 cat >conftest.$ac_ext <<_ACEOF
26534 cat confdefs.h >>conftest.$ac_ext
26535 cat >>conftest.$ac_ext <<_ACEOF
26536 /* end confdefs.h. */
26537 $ac_includes_default
26540 rm -f conftest.$ac_objext
26541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26542 (eval $ac_compile) 2>conftest.er1
26544 grep -v '^ *+' conftest.er1 >conftest.err
26546 cat conftest.err >&5
26547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26548 (exit $ac_status); } &&
26549 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26551 (eval $ac_try) 2>&5
26553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26554 (exit $ac_status); }; } &&
26555 { ac_try='test -s conftest.$ac_objext'
26556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26557 (eval $ac_try) 2>&5
26559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26560 (exit $ac_status); }; }; then
26561 ac_header_compiler=yes
26563 echo "$as_me: failed program was:" >&5
26564 sed 's/^/| /' conftest.$ac_ext >&5
26566 ac_header_compiler=no
26568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26569 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26570 echo "${ECHO_T}$ac_header_compiler" >&6
26572 # Is the header present?
26573 echo "$as_me:$LINENO: checking expat.h presence" >&5
26574 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26575 cat >conftest.$ac_ext <<_ACEOF
26578 cat confdefs.h >>conftest.$ac_ext
26579 cat >>conftest.$ac_ext <<_ACEOF
26580 /* end confdefs.h. */
26583 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26584 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26586 grep -v '^ *+' conftest.er1 >conftest.err
26588 cat conftest.err >&5
26589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26590 (exit $ac_status); } >/dev/null; then
26591 if test -s conftest.err; then
26592 ac_cpp_err=$ac_cxx_preproc_warn_flag
26593 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26600 if test -z "$ac_cpp_err"; then
26601 ac_header_preproc=yes
26603 echo "$as_me: failed program was:" >&5
26604 sed 's/^/| /' conftest.$ac_ext >&5
26606 ac_header_preproc=no
26608 rm -f conftest.err conftest.$ac_ext
26609 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26610 echo "${ECHO_T}$ac_header_preproc" >&6
26612 # So? What about this header?
26613 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26615 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26616 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26617 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26618 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26619 ac_header_preproc=yes
26622 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26623 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26624 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26625 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26626 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26627 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26628 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26629 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26630 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26631 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26632 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26633 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26636 ## ----------------------------------------- ##
26637 ## Report this to wx-dev@lists.wxwidgets.org ##
26638 ## ----------------------------------------- ##
26641 sed "s/^/$as_me: WARNING: /" >&2
26644 echo "$as_me:$LINENO: checking for expat.h" >&5
26645 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26646 if test "${ac_cv_header_expat_h+set}" = set; then
26647 echo $ECHO_N "(cached) $ECHO_C" >&6
26649 ac_cv_header_expat_h=$ac_header_preproc
26651 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26652 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26655 if test $ac_cv_header_expat_h = yes; then
26660 if test "x$found_expat_h" = "x1"; then
26661 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26662 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26663 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26664 echo $ECHO_N "(cached) $ECHO_C" >&6
26667 cat >conftest.$ac_ext <<_ACEOF
26670 cat confdefs.h >>conftest.$ac_ext
26671 cat >>conftest.$ac_ext <<_ACEOF
26672 /* end confdefs.h. */
26682 rm -f conftest.$ac_objext
26683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26684 (eval $ac_compile) 2>conftest.er1
26686 grep -v '^ *+' conftest.er1 >conftest.err
26688 cat conftest.err >&5
26689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26690 (exit $ac_status); } &&
26691 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26693 (eval $ac_try) 2>&5
26695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26696 (exit $ac_status); }; } &&
26697 { ac_try='test -s conftest.$ac_objext'
26698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26699 (eval $ac_try) 2>&5
26701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26702 (exit $ac_status); }; }; then
26703 wx_cv_expat_is_not_broken=yes
26705 echo "$as_me: failed program was:" >&5
26706 sed 's/^/| /' conftest.$ac_ext >&5
26708 wx_cv_expat_is_not_broken=no
26711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26715 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26716 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26717 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26718 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26719 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26720 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26721 echo $ECHO_N "(cached) $ECHO_C" >&6
26723 ac_check_lib_save_LIBS=$LIBS
26724 LIBS="-lexpat $LIBS"
26725 cat >conftest.$ac_ext <<_ACEOF
26728 cat confdefs.h >>conftest.$ac_ext
26729 cat >>conftest.$ac_ext <<_ACEOF
26730 /* end confdefs.h. */
26732 /* Override any gcc2 internal prototype to avoid an error. */
26736 /* We use char because int might match the return type of a gcc2
26737 builtin and then its argument prototype would still apply. */
26738 char XML_ParserCreate ();
26742 XML_ParserCreate ();
26747 rm -f conftest.$ac_objext conftest$ac_exeext
26748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26749 (eval $ac_link) 2>conftest.er1
26751 grep -v '^ *+' conftest.er1 >conftest.err
26753 cat conftest.err >&5
26754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26755 (exit $ac_status); } &&
26756 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26758 (eval $ac_try) 2>&5
26760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26761 (exit $ac_status); }; } &&
26762 { ac_try='test -s conftest$ac_exeext'
26763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26764 (eval $ac_try) 2>&5
26766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26767 (exit $ac_status); }; }; then
26768 ac_cv_lib_expat_XML_ParserCreate=yes
26770 echo "$as_me: failed program was:" >&5
26771 sed 's/^/| /' conftest.$ac_ext >&5
26773 ac_cv_lib_expat_XML_ParserCreate=no
26775 rm -f conftest.err conftest.$ac_objext \
26776 conftest$ac_exeext conftest.$ac_ext
26777 LIBS=$ac_check_lib_save_LIBS
26779 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26780 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26781 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26782 EXPAT_LINK=" -lexpat"
26787 if test "x$EXPAT_LINK" = "x" ; then
26788 if test "$wxUSE_EXPAT" = "sys" ; then
26789 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26790 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26791 { (exit 1); exit 1; }; }
26793 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26794 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26795 wxUSE_EXPAT=builtin
26801 if test "$wxUSE_EXPAT" = "builtin" ; then
26804 subdirs="$subdirs src/expat"
26811 if test "$wxUSE_LIBMSPACK" != "no"; then
26812 if test "${ac_cv_header_mspack_h+set}" = set; then
26813 echo "$as_me:$LINENO: checking for mspack.h" >&5
26814 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26815 if test "${ac_cv_header_mspack_h+set}" = set; then
26816 echo $ECHO_N "(cached) $ECHO_C" >&6
26818 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26819 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26821 # Is the header compilable?
26822 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26823 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26824 cat >conftest.$ac_ext <<_ACEOF
26827 cat confdefs.h >>conftest.$ac_ext
26828 cat >>conftest.$ac_ext <<_ACEOF
26829 /* end confdefs.h. */
26830 $ac_includes_default
26831 #include <mspack.h>
26833 rm -f conftest.$ac_objext
26834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26835 (eval $ac_compile) 2>conftest.er1
26837 grep -v '^ *+' conftest.er1 >conftest.err
26839 cat conftest.err >&5
26840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26841 (exit $ac_status); } &&
26842 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26844 (eval $ac_try) 2>&5
26846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26847 (exit $ac_status); }; } &&
26848 { ac_try='test -s conftest.$ac_objext'
26849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26850 (eval $ac_try) 2>&5
26852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26853 (exit $ac_status); }; }; then
26854 ac_header_compiler=yes
26856 echo "$as_me: failed program was:" >&5
26857 sed 's/^/| /' conftest.$ac_ext >&5
26859 ac_header_compiler=no
26861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26862 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26863 echo "${ECHO_T}$ac_header_compiler" >&6
26865 # Is the header present?
26866 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26867 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26868 cat >conftest.$ac_ext <<_ACEOF
26871 cat confdefs.h >>conftest.$ac_ext
26872 cat >>conftest.$ac_ext <<_ACEOF
26873 /* end confdefs.h. */
26874 #include <mspack.h>
26876 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26877 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26879 grep -v '^ *+' conftest.er1 >conftest.err
26881 cat conftest.err >&5
26882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26883 (exit $ac_status); } >/dev/null; then
26884 if test -s conftest.err; then
26885 ac_cpp_err=$ac_cxx_preproc_warn_flag
26886 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26893 if test -z "$ac_cpp_err"; then
26894 ac_header_preproc=yes
26896 echo "$as_me: failed program was:" >&5
26897 sed 's/^/| /' conftest.$ac_ext >&5
26899 ac_header_preproc=no
26901 rm -f conftest.err conftest.$ac_ext
26902 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26903 echo "${ECHO_T}$ac_header_preproc" >&6
26905 # So? What about this header?
26906 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26908 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26909 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26910 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26911 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26912 ac_header_preproc=yes
26915 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26916 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26917 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26918 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26919 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26920 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26921 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26922 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26923 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26924 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26925 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26926 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26929 ## ----------------------------------------- ##
26930 ## Report this to wx-dev@lists.wxwidgets.org ##
26931 ## ----------------------------------------- ##
26934 sed "s/^/$as_me: WARNING: /" >&2
26937 echo "$as_me:$LINENO: checking for mspack.h" >&5
26938 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26939 if test "${ac_cv_header_mspack_h+set}" = set; then
26940 echo $ECHO_N "(cached) $ECHO_C" >&6
26942 ac_cv_header_mspack_h=$ac_header_preproc
26944 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26945 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26948 if test $ac_cv_header_mspack_h = yes; then
26953 if test "x$found_mspack_h" = "x1"; then
26954 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26955 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26956 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26957 echo $ECHO_N "(cached) $ECHO_C" >&6
26959 ac_check_lib_save_LIBS=$LIBS
26960 LIBS="-lmspack $LIBS"
26961 cat >conftest.$ac_ext <<_ACEOF
26964 cat confdefs.h >>conftest.$ac_ext
26965 cat >>conftest.$ac_ext <<_ACEOF
26966 /* end confdefs.h. */
26968 /* Override any gcc2 internal prototype to avoid an error. */
26972 /* We use char because int might match the return type of a gcc2
26973 builtin and then its argument prototype would still apply. */
26974 char mspack_create_chm_decompressor ();
26978 mspack_create_chm_decompressor ();
26983 rm -f conftest.$ac_objext conftest$ac_exeext
26984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26985 (eval $ac_link) 2>conftest.er1
26987 grep -v '^ *+' conftest.er1 >conftest.err
26989 cat conftest.err >&5
26990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26991 (exit $ac_status); } &&
26992 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26994 (eval $ac_try) 2>&5
26996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26997 (exit $ac_status); }; } &&
26998 { ac_try='test -s conftest$ac_exeext'
26999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27000 (eval $ac_try) 2>&5
27002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27003 (exit $ac_status); }; }; then
27004 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27006 echo "$as_me: failed program was:" >&5
27007 sed 's/^/| /' conftest.$ac_ext >&5
27009 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27011 rm -f conftest.err conftest.$ac_objext \
27012 conftest$ac_exeext conftest.$ac_ext
27013 LIBS=$ac_check_lib_save_LIBS
27015 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27016 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27017 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27018 MSPACK_LINK=" -lmspack"
27022 if test "x$MSPACK_LINK" = "x" ; then
27027 if test "$wxUSE_LIBMSPACK" != "no"; then
27028 cat >>confdefs.h <<\_ACEOF
27029 #define wxUSE_LIBMSPACK 1
27043 if test "$USE_WIN32" = 1 ; then
27045 for ac_header in w32api.h
27047 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27049 echo "$as_me:$LINENO: checking for $ac_header" >&5
27050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27052 echo $ECHO_N "(cached) $ECHO_C" >&6
27054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27055 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27057 # Is the header compilable?
27058 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27059 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27060 cat >conftest.$ac_ext <<_ACEOF
27063 cat confdefs.h >>conftest.$ac_ext
27064 cat >>conftest.$ac_ext <<_ACEOF
27065 /* end confdefs.h. */
27066 $ac_includes_default
27067 #include <$ac_header>
27069 rm -f conftest.$ac_objext
27070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27071 (eval $ac_compile) 2>conftest.er1
27073 grep -v '^ *+' conftest.er1 >conftest.err
27075 cat conftest.err >&5
27076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27077 (exit $ac_status); } &&
27078 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27080 (eval $ac_try) 2>&5
27082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27083 (exit $ac_status); }; } &&
27084 { ac_try='test -s conftest.$ac_objext'
27085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27086 (eval $ac_try) 2>&5
27088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27089 (exit $ac_status); }; }; then
27090 ac_header_compiler=yes
27092 echo "$as_me: failed program was:" >&5
27093 sed 's/^/| /' conftest.$ac_ext >&5
27095 ac_header_compiler=no
27097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27098 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27099 echo "${ECHO_T}$ac_header_compiler" >&6
27101 # Is the header present?
27102 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27103 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27104 cat >conftest.$ac_ext <<_ACEOF
27107 cat confdefs.h >>conftest.$ac_ext
27108 cat >>conftest.$ac_ext <<_ACEOF
27109 /* end confdefs.h. */
27110 #include <$ac_header>
27112 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27113 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27115 grep -v '^ *+' conftest.er1 >conftest.err
27117 cat conftest.err >&5
27118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27119 (exit $ac_status); } >/dev/null; then
27120 if test -s conftest.err; then
27121 ac_cpp_err=$ac_cxx_preproc_warn_flag
27122 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27129 if test -z "$ac_cpp_err"; then
27130 ac_header_preproc=yes
27132 echo "$as_me: failed program was:" >&5
27133 sed 's/^/| /' conftest.$ac_ext >&5
27135 ac_header_preproc=no
27137 rm -f conftest.err conftest.$ac_ext
27138 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27139 echo "${ECHO_T}$ac_header_preproc" >&6
27141 # So? What about this header?
27142 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27144 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27145 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27146 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27147 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27148 ac_header_preproc=yes
27151 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27152 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27153 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27154 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27155 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27156 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27157 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27158 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27159 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27160 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27161 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27162 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27165 ## ----------------------------------------- ##
27166 ## Report this to wx-dev@lists.wxwidgets.org ##
27167 ## ----------------------------------------- ##
27170 sed "s/^/$as_me: WARNING: /" >&2
27173 echo "$as_me:$LINENO: checking for $ac_header" >&5
27174 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27175 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27176 echo $ECHO_N "(cached) $ECHO_C" >&6
27178 eval "$as_ac_Header=\$ac_header_preproc"
27180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27181 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27184 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27185 cat >>confdefs.h <<_ACEOF
27186 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27193 if test "${ac_cv_header_windows_h+set}" = set; then
27194 echo "$as_me:$LINENO: checking for windows.h" >&5
27195 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27196 if test "${ac_cv_header_windows_h+set}" = set; then
27197 echo $ECHO_N "(cached) $ECHO_C" >&6
27199 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27200 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27202 # Is the header compilable?
27203 echo "$as_me:$LINENO: checking windows.h usability" >&5
27204 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27205 cat >conftest.$ac_ext <<_ACEOF
27208 cat confdefs.h >>conftest.$ac_ext
27209 cat >>conftest.$ac_ext <<_ACEOF
27210 /* end confdefs.h. */
27211 $ac_includes_default
27212 #include <windows.h>
27214 rm -f conftest.$ac_objext
27215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27216 (eval $ac_compile) 2>conftest.er1
27218 grep -v '^ *+' conftest.er1 >conftest.err
27220 cat conftest.err >&5
27221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27222 (exit $ac_status); } &&
27223 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27225 (eval $ac_try) 2>&5
27227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27228 (exit $ac_status); }; } &&
27229 { ac_try='test -s conftest.$ac_objext'
27230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27231 (eval $ac_try) 2>&5
27233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27234 (exit $ac_status); }; }; then
27235 ac_header_compiler=yes
27237 echo "$as_me: failed program was:" >&5
27238 sed 's/^/| /' conftest.$ac_ext >&5
27240 ac_header_compiler=no
27242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27243 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27244 echo "${ECHO_T}$ac_header_compiler" >&6
27246 # Is the header present?
27247 echo "$as_me:$LINENO: checking windows.h presence" >&5
27248 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27249 cat >conftest.$ac_ext <<_ACEOF
27252 cat confdefs.h >>conftest.$ac_ext
27253 cat >>conftest.$ac_ext <<_ACEOF
27254 /* end confdefs.h. */
27255 #include <windows.h>
27257 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27258 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27260 grep -v '^ *+' conftest.er1 >conftest.err
27262 cat conftest.err >&5
27263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27264 (exit $ac_status); } >/dev/null; then
27265 if test -s conftest.err; then
27266 ac_cpp_err=$ac_cxx_preproc_warn_flag
27267 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27274 if test -z "$ac_cpp_err"; then
27275 ac_header_preproc=yes
27277 echo "$as_me: failed program was:" >&5
27278 sed 's/^/| /' conftest.$ac_ext >&5
27280 ac_header_preproc=no
27282 rm -f conftest.err conftest.$ac_ext
27283 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27284 echo "${ECHO_T}$ac_header_preproc" >&6
27286 # So? What about this header?
27287 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27289 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27290 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27291 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27292 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27293 ac_header_preproc=yes
27296 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27297 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27298 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27299 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27300 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27301 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27302 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27303 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27304 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27305 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27306 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27307 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27310 ## ----------------------------------------- ##
27311 ## Report this to wx-dev@lists.wxwidgets.org ##
27312 ## ----------------------------------------- ##
27315 sed "s/^/$as_me: WARNING: /" >&2
27318 echo "$as_me:$LINENO: checking for windows.h" >&5
27319 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27320 if test "${ac_cv_header_windows_h+set}" = set; then
27321 echo $ECHO_N "(cached) $ECHO_C" >&6
27323 ac_cv_header_windows_h=$ac_header_preproc
27325 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27326 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27329 if test $ac_cv_header_windows_h = yes; then
27333 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27334 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27335 { (exit 1); exit 1; }; }
27341 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27343 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27344 LIBS="$LIBS -loleacc"
27349 LIBS="$LIBS -lkernel32 -luser32"
27352 if test "$wxUSE_ODBC" = "sys" ; then
27355 if test "$wxUSE_ODBC" = "yes" ; then
27356 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27357 cat >>confdefs.h <<\_ACEOF
27358 #define wxUSE_ODBC 1
27363 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27364 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27366 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27368 WIN32INSTALL=win32install
27370 echo "$as_me:$LINENO: checking for boolean" >&5
27371 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27372 if test "${ac_cv_type_boolean+set}" = set; then
27373 echo $ECHO_N "(cached) $ECHO_C" >&6
27375 cat >conftest.$ac_ext <<_ACEOF
27378 cat confdefs.h >>conftest.$ac_ext
27379 cat >>conftest.$ac_ext <<_ACEOF
27380 /* end confdefs.h. */
27381 #include <windows.h>
27388 if (sizeof (boolean))
27394 rm -f conftest.$ac_objext
27395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27396 (eval $ac_compile) 2>conftest.er1
27398 grep -v '^ *+' conftest.er1 >conftest.err
27400 cat conftest.err >&5
27401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 (exit $ac_status); } &&
27403 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27405 (eval $ac_try) 2>&5
27407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27408 (exit $ac_status); }; } &&
27409 { ac_try='test -s conftest.$ac_objext'
27410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27411 (eval $ac_try) 2>&5
27413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27414 (exit $ac_status); }; }; then
27415 ac_cv_type_boolean=yes
27417 echo "$as_me: failed program was:" >&5
27418 sed 's/^/| /' conftest.$ac_ext >&5
27420 ac_cv_type_boolean=no
27422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27424 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27425 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27426 if test $ac_cv_type_boolean = yes; then
27428 cat >>confdefs.h <<_ACEOF
27429 #define HAVE_BOOLEAN 1
27437 for ac_header in pbt.h
27439 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27441 echo "$as_me:$LINENO: checking for $ac_header" >&5
27442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27444 echo $ECHO_N "(cached) $ECHO_C" >&6
27446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27449 # Is the header compilable?
27450 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27451 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27452 cat >conftest.$ac_ext <<_ACEOF
27455 cat confdefs.h >>conftest.$ac_ext
27456 cat >>conftest.$ac_ext <<_ACEOF
27457 /* end confdefs.h. */
27458 $ac_includes_default
27459 #include <$ac_header>
27461 rm -f conftest.$ac_objext
27462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27463 (eval $ac_compile) 2>conftest.er1
27465 grep -v '^ *+' conftest.er1 >conftest.err
27467 cat conftest.err >&5
27468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27469 (exit $ac_status); } &&
27470 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27472 (eval $ac_try) 2>&5
27474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27475 (exit $ac_status); }; } &&
27476 { ac_try='test -s conftest.$ac_objext'
27477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27478 (eval $ac_try) 2>&5
27480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27481 (exit $ac_status); }; }; then
27482 ac_header_compiler=yes
27484 echo "$as_me: failed program was:" >&5
27485 sed 's/^/| /' conftest.$ac_ext >&5
27487 ac_header_compiler=no
27489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27490 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27491 echo "${ECHO_T}$ac_header_compiler" >&6
27493 # Is the header present?
27494 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27495 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27496 cat >conftest.$ac_ext <<_ACEOF
27499 cat confdefs.h >>conftest.$ac_ext
27500 cat >>conftest.$ac_ext <<_ACEOF
27501 /* end confdefs.h. */
27502 #include <$ac_header>
27504 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27505 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27507 grep -v '^ *+' conftest.er1 >conftest.err
27509 cat conftest.err >&5
27510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27511 (exit $ac_status); } >/dev/null; then
27512 if test -s conftest.err; then
27513 ac_cpp_err=$ac_cxx_preproc_warn_flag
27514 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27521 if test -z "$ac_cpp_err"; then
27522 ac_header_preproc=yes
27524 echo "$as_me: failed program was:" >&5
27525 sed 's/^/| /' conftest.$ac_ext >&5
27527 ac_header_preproc=no
27529 rm -f conftest.err conftest.$ac_ext
27530 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27531 echo "${ECHO_T}$ac_header_preproc" >&6
27533 # So? What about this header?
27534 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27536 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27537 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27539 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27540 ac_header_preproc=yes
27543 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27544 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27545 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27546 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27547 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27548 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27549 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27550 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27551 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27552 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27553 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27554 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27557 ## ----------------------------------------- ##
27558 ## Report this to wx-dev@lists.wxwidgets.org ##
27559 ## ----------------------------------------- ##
27562 sed "s/^/$as_me: WARNING: /" >&2
27565 echo "$as_me:$LINENO: checking for $ac_header" >&5
27566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27568 echo $ECHO_N "(cached) $ECHO_C" >&6
27570 eval "$as_ac_Header=\$ac_header_preproc"
27572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27576 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27577 cat >>confdefs.h <<_ACEOF
27578 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27582 cat >>confdefs.h <<\_ACEOF
27583 #define NEED_PBT_H 1
27592 if test "$wxUSE_GUI" = "yes"; then
27602 if test "$wxUSE_COCOA" = 1 ; then
27603 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27604 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27605 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27606 wxUSE_PRINTING_ARCHITECTURE=no
27608 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27609 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27610 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27611 wxUSE_DRAG_AND_DROP=no
27613 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27614 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27615 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27620 if test "$wxUSE_MSW" = 1 ; then
27626 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27630 if test "$wxUSE_GTK" = 1; then
27632 ac_cpp='$CPP $CPPFLAGS'
27633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27638 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27639 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27641 gtk_version_cached=1
27642 if test "${wx_cv_lib_gtk+set}" = set; then
27643 echo $ECHO_N "(cached) $ECHO_C" >&6
27646 gtk_version_cached=0
27647 echo "$as_me:$LINENO: result: " >&5
27648 echo "${ECHO_T}" >&6
27651 if test "$wxUSE_THREADS" = "yes"; then
27652 GTK_MODULES=gthread
27656 if test "x$wxGTK_VERSION" != "x1"
27660 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27665 # Check whether --enable-gtktest or --disable-gtktest was given.
27666 if test "${enable_gtktest+set}" = set; then
27667 enableval="$enable_gtktest"
27673 pkg_config_args=gtk+-2.0
27674 for module in . $GTK_MODULES
27678 pkg_config_args="$pkg_config_args gthread-2.0"
27685 # Extract the first word of "pkg-config", so it can be a program name with args.
27686 set dummy pkg-config; ac_word=$2
27687 echo "$as_me:$LINENO: checking for $ac_word" >&5
27688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27689 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27690 echo $ECHO_N "(cached) $ECHO_C" >&6
27692 case $PKG_CONFIG in
27694 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27698 for as_dir in $PATH
27701 test -z "$as_dir" && as_dir=.
27702 for ac_exec_ext in '' $ac_executable_extensions; do
27703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27704 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27711 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27715 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27717 if test -n "$PKG_CONFIG"; then
27718 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27719 echo "${ECHO_T}$PKG_CONFIG" >&6
27721 echo "$as_me:$LINENO: result: no" >&5
27722 echo "${ECHO_T}no" >&6
27726 if test x$PKG_CONFIG != xno ; then
27727 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27730 echo "*** pkg-config too old; version 0.7 or better required."
27738 min_gtk_version=2.0.0
27739 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27740 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27742 if test x$PKG_CONFIG != xno ; then
27743 ## don't try to run the test against uninstalled libtool libs
27744 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27745 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27749 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27756 if test x"$no_gtk" = x ; then
27757 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27758 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27759 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27760 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27761 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27762 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27763 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27764 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27765 if test "x$enable_gtktest" = "xyes" ; then
27766 ac_save_CFLAGS="$CFLAGS"
27767 ac_save_LIBS="$LIBS"
27768 CFLAGS="$CFLAGS $GTK_CFLAGS"
27769 LIBS="$GTK_LIBS $LIBS"
27771 if test "$cross_compiling" = yes; then
27772 echo $ac_n "cross compiling; assumed OK... $ac_c"
27774 cat >conftest.$ac_ext <<_ACEOF
27777 cat confdefs.h >>conftest.$ac_ext
27778 cat >>conftest.$ac_ext <<_ACEOF
27779 /* end confdefs.h. */
27781 #include <gtk/gtk.h>
27783 #include <stdlib.h>
27788 int major, minor, micro;
27791 system ("touch conf.gtktest");
27793 /* HP/UX 9 (%@#!) writes to sscanf strings */
27794 tmp_version = g_strdup("$min_gtk_version");
27795 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27796 printf("%s, bad version string\n", "$min_gtk_version");
27800 if ((gtk_major_version != $gtk_config_major_version) ||
27801 (gtk_minor_version != $gtk_config_minor_version) ||
27802 (gtk_micro_version != $gtk_config_micro_version))
27804 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27805 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27806 gtk_major_version, gtk_minor_version, gtk_micro_version);
27807 printf ("*** was found! If pkg-config was correct, then it is best\n");
27808 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27809 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27810 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27811 printf("*** required on your system.\n");
27812 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27813 printf("*** to point to the correct configuration files\n");
27815 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27816 (gtk_minor_version != GTK_MINOR_VERSION) ||
27817 (gtk_micro_version != GTK_MICRO_VERSION))
27819 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27820 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27821 printf("*** library (version %d.%d.%d)\n",
27822 gtk_major_version, gtk_minor_version, gtk_micro_version);
27826 if ((gtk_major_version > major) ||
27827 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27828 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27834 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27835 gtk_major_version, gtk_minor_version, gtk_micro_version);
27836 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27837 major, minor, micro);
27838 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27840 printf("*** If you have already installed a sufficiently new version, this error\n");
27841 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27842 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27843 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27844 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27845 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27846 printf("*** so that the correct libraries are found at run-time))\n");
27853 rm -f conftest$ac_exeext
27854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27855 (eval $ac_link) 2>&5
27857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27858 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27860 (eval $ac_try) 2>&5
27862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27863 (exit $ac_status); }; }; then
27866 echo "$as_me: program exited with status $ac_status" >&5
27867 echo "$as_me: failed program was:" >&5
27868 sed 's/^/| /' conftest.$ac_ext >&5
27870 ( exit $ac_status )
27873 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27875 CFLAGS="$ac_save_CFLAGS"
27876 LIBS="$ac_save_LIBS"
27879 if test "x$no_gtk" = x ; then
27880 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27881 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27884 echo "$as_me:$LINENO: result: no" >&5
27885 echo "${ECHO_T}no" >&6
27886 if test "$PKG_CONFIG" = "no" ; then
27887 echo "*** A new enough version of pkg-config was not found."
27888 echo "*** See http://pkgconfig.sourceforge.net"
27890 if test -f conf.gtktest ; then
27893 echo "*** Could not run GTK+ test program, checking why..."
27894 ac_save_CFLAGS="$CFLAGS"
27895 ac_save_LIBS="$LIBS"
27896 CFLAGS="$CFLAGS $GTK_CFLAGS"
27897 LIBS="$LIBS $GTK_LIBS"
27898 cat >conftest.$ac_ext <<_ACEOF
27901 cat confdefs.h >>conftest.$ac_ext
27902 cat >>conftest.$ac_ext <<_ACEOF
27903 /* end confdefs.h. */
27905 #include <gtk/gtk.h>
27911 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27916 rm -f conftest.$ac_objext conftest$ac_exeext
27917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27918 (eval $ac_link) 2>conftest.er1
27920 grep -v '^ *+' conftest.er1 >conftest.err
27922 cat conftest.err >&5
27923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27924 (exit $ac_status); } &&
27925 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27927 (eval $ac_try) 2>&5
27929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27930 (exit $ac_status); }; } &&
27931 { ac_try='test -s conftest$ac_exeext'
27932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27933 (eval $ac_try) 2>&5
27935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27936 (exit $ac_status); }; }; then
27937 echo "*** The test program compiled, but did not run. This usually means"
27938 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27939 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27940 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27941 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27942 echo "*** is required on your system"
27944 echo "*** If you have an old version installed, it is best to remove it, although"
27945 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27947 echo "$as_me: failed program was:" >&5
27948 sed 's/^/| /' conftest.$ac_ext >&5
27950 echo "*** The test program failed to compile or link. See the file config.log for the"
27951 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27953 rm -f conftest.err conftest.$ac_objext \
27954 conftest$ac_exeext conftest.$ac_ext
27955 CFLAGS="$ac_save_CFLAGS"
27956 LIBS="$ac_save_LIBS"
27970 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27971 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27972 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27974 if test "$wxUSE_SHARED" != "yes"; then
27975 GTK_LIBS="$GTK_LIBS -lX11"
27980 if test -z "$wx_cv_lib_gtk"; then
27981 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27983 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27984 if test "${with_gtk_prefix+set}" = set; then
27985 withval="$with_gtk_prefix"
27986 gtk_config_prefix="$withval"
27988 gtk_config_prefix=""
27991 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27992 if test "${with_gtk_exec_prefix+set}" = set; then
27993 withval="$with_gtk_exec_prefix"
27994 gtk_config_exec_prefix="$withval"
27996 gtk_config_exec_prefix=""
27998 # Check whether --enable-gtktest or --disable-gtktest was given.
27999 if test "${enable_gtktest+set}" = set; then
28000 enableval="$enable_gtktest"
28006 for module in . $GTK_MODULES
28010 gtk_config_args="$gtk_config_args gthread"
28015 if test x$gtk_config_exec_prefix != x ; then
28016 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28017 if test x${GTK_CONFIG+set} != xset ; then
28018 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28021 if test x$gtk_config_prefix != x ; then
28022 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28023 if test x${GTK_CONFIG+set} != xset ; then
28024 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28028 # Extract the first word of "gtk-config", so it can be a program name with args.
28029 set dummy gtk-config; ac_word=$2
28030 echo "$as_me:$LINENO: checking for $ac_word" >&5
28031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28032 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28033 echo $ECHO_N "(cached) $ECHO_C" >&6
28035 case $GTK_CONFIG in
28037 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28041 for as_dir in $PATH
28044 test -z "$as_dir" && as_dir=.
28045 for ac_exec_ext in '' $ac_executable_extensions; do
28046 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28047 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28054 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28058 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28060 if test -n "$GTK_CONFIG"; then
28061 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28062 echo "${ECHO_T}$GTK_CONFIG" >&6
28064 echo "$as_me:$LINENO: result: no" >&5
28065 echo "${ECHO_T}no" >&6
28068 min_gtk_version=1.2.7
28069 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28070 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28072 if test "$GTK_CONFIG" = "no" ; then
28075 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28076 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28077 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28078 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28079 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28080 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28081 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28082 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28083 if test "x$enable_gtktest" = "xyes" ; then
28084 ac_save_CFLAGS="$CFLAGS"
28085 ac_save_LIBS="$LIBS"
28086 CFLAGS="$CFLAGS $GTK_CFLAGS"
28087 LIBS="$GTK_LIBS $LIBS"
28089 if test "$cross_compiling" = yes; then
28090 echo $ac_n "cross compiling; assumed OK... $ac_c"
28092 cat >conftest.$ac_ext <<_ACEOF
28095 cat confdefs.h >>conftest.$ac_ext
28096 cat >>conftest.$ac_ext <<_ACEOF
28097 /* end confdefs.h. */
28099 #include <gtk/gtk.h>
28101 #include <stdlib.h>
28106 int major, minor, micro;
28109 system ("touch conf.gtktest");
28111 /* HP/UX 9 (%@#!) writes to sscanf strings */
28112 tmp_version = g_strdup("$min_gtk_version");
28113 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28114 printf("%s, bad version string\n", "$min_gtk_version");
28118 if ((gtk_major_version != $gtk_config_major_version) ||
28119 (gtk_minor_version != $gtk_config_minor_version) ||
28120 (gtk_micro_version != $gtk_config_micro_version))
28122 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28123 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28124 gtk_major_version, gtk_minor_version, gtk_micro_version);
28125 printf ("*** was found! If gtk-config was correct, then it is best\n");
28126 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28127 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28128 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28129 printf("*** required on your system.\n");
28130 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28131 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28132 printf("*** before re-running configure\n");
28134 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28135 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28136 (gtk_minor_version != GTK_MINOR_VERSION) ||
28137 (gtk_micro_version != GTK_MICRO_VERSION))
28139 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28140 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28141 printf("*** library (version %d.%d.%d)\n",
28142 gtk_major_version, gtk_minor_version, gtk_micro_version);
28144 #endif /* defined (GTK_MAJOR_VERSION) ... */
28147 if ((gtk_major_version > major) ||
28148 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28149 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28155 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28156 gtk_major_version, gtk_minor_version, gtk_micro_version);
28157 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28158 major, minor, micro);
28159 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28161 printf("*** If you have already installed a sufficiently new version, this error\n");
28162 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28163 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28164 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28165 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28166 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28167 printf("*** so that the correct libraries are found at run-time))\n");
28174 rm -f conftest$ac_exeext
28175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28176 (eval $ac_link) 2>&5
28178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28179 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28181 (eval $ac_try) 2>&5
28183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28184 (exit $ac_status); }; }; then
28187 echo "$as_me: program exited with status $ac_status" >&5
28188 echo "$as_me: failed program was:" >&5
28189 sed 's/^/| /' conftest.$ac_ext >&5
28191 ( exit $ac_status )
28194 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28196 CFLAGS="$ac_save_CFLAGS"
28197 LIBS="$ac_save_LIBS"
28200 if test "x$no_gtk" = x ; then
28201 echo "$as_me:$LINENO: result: yes" >&5
28202 echo "${ECHO_T}yes" >&6
28203 wx_cv_lib_gtk=1.2.7
28205 echo "$as_me:$LINENO: result: no" >&5
28206 echo "${ECHO_T}no" >&6
28207 if test "$GTK_CONFIG" = "no" ; then
28208 echo "*** The gtk-config script installed by GTK could not be found"
28209 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28210 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28211 echo "*** full path to gtk-config."
28213 if test -f conf.gtktest ; then
28216 echo "*** Could not run GTK test program, checking why..."
28217 CFLAGS="$CFLAGS $GTK_CFLAGS"
28218 LIBS="$LIBS $GTK_LIBS"
28219 cat >conftest.$ac_ext <<_ACEOF
28222 cat confdefs.h >>conftest.$ac_ext
28223 cat >>conftest.$ac_ext <<_ACEOF
28224 /* end confdefs.h. */
28226 #include <gtk/gtk.h>
28232 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28237 rm -f conftest.$ac_objext conftest$ac_exeext
28238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28239 (eval $ac_link) 2>conftest.er1
28241 grep -v '^ *+' conftest.er1 >conftest.err
28243 cat conftest.err >&5
28244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28245 (exit $ac_status); } &&
28246 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28248 (eval $ac_try) 2>&5
28250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28251 (exit $ac_status); }; } &&
28252 { ac_try='test -s conftest$ac_exeext'
28253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28254 (eval $ac_try) 2>&5
28256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28257 (exit $ac_status); }; }; then
28258 echo "*** The test program compiled, but did not run. This usually means"
28259 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28260 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28261 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28262 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28263 echo "*** is required on your system"
28265 echo "*** If you have an old version installed, it is best to remove it, although"
28266 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28268 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28269 echo "*** came with the system with the command"
28271 echo "*** rpm --erase --nodeps gtk gtk-devel"
28273 echo "$as_me: failed program was:" >&5
28274 sed 's/^/| /' conftest.$ac_ext >&5
28276 echo "*** The test program failed to compile or link. See the file config.log for the"
28277 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28278 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28279 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28281 rm -f conftest.err conftest.$ac_objext \
28282 conftest$ac_exeext conftest.$ac_ext
28283 CFLAGS="$ac_save_CFLAGS"
28284 LIBS="$ac_save_LIBS"
28296 if test -z "$wx_cv_lib_gtk"; then
28298 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28299 if test "${with_gtk_prefix+set}" = set; then
28300 withval="$with_gtk_prefix"
28301 gtk_config_prefix="$withval"
28303 gtk_config_prefix=""
28306 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28307 if test "${with_gtk_exec_prefix+set}" = set; then
28308 withval="$with_gtk_exec_prefix"
28309 gtk_config_exec_prefix="$withval"
28311 gtk_config_exec_prefix=""
28313 # Check whether --enable-gtktest or --disable-gtktest was given.
28314 if test "${enable_gtktest+set}" = set; then
28315 enableval="$enable_gtktest"
28321 for module in . $GTK_MODULES
28325 gtk_config_args="$gtk_config_args gthread"
28330 if test x$gtk_config_exec_prefix != x ; then
28331 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28332 if test x${GTK_CONFIG+set} != xset ; then
28333 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28336 if test x$gtk_config_prefix != x ; then
28337 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28338 if test x${GTK_CONFIG+set} != xset ; then
28339 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28343 # Extract the first word of "gtk-config", so it can be a program name with args.
28344 set dummy gtk-config; ac_word=$2
28345 echo "$as_me:$LINENO: checking for $ac_word" >&5
28346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28347 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28348 echo $ECHO_N "(cached) $ECHO_C" >&6
28350 case $GTK_CONFIG in
28352 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28356 for as_dir in $PATH
28359 test -z "$as_dir" && as_dir=.
28360 for ac_exec_ext in '' $ac_executable_extensions; do
28361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28362 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28369 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28373 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28375 if test -n "$GTK_CONFIG"; then
28376 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28377 echo "${ECHO_T}$GTK_CONFIG" >&6
28379 echo "$as_me:$LINENO: result: no" >&5
28380 echo "${ECHO_T}no" >&6
28383 min_gtk_version=1.2.3
28384 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28385 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28387 if test "$GTK_CONFIG" = "no" ; then
28390 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28391 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28392 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28393 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28394 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28395 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28396 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28397 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28398 if test "x$enable_gtktest" = "xyes" ; then
28399 ac_save_CFLAGS="$CFLAGS"
28400 ac_save_LIBS="$LIBS"
28401 CFLAGS="$CFLAGS $GTK_CFLAGS"
28402 LIBS="$GTK_LIBS $LIBS"
28404 if test "$cross_compiling" = yes; then
28405 echo $ac_n "cross compiling; assumed OK... $ac_c"
28407 cat >conftest.$ac_ext <<_ACEOF
28410 cat confdefs.h >>conftest.$ac_ext
28411 cat >>conftest.$ac_ext <<_ACEOF
28412 /* end confdefs.h. */
28414 #include <gtk/gtk.h>
28416 #include <stdlib.h>
28421 int major, minor, micro;
28424 system ("touch conf.gtktest");
28426 /* HP/UX 9 (%@#!) writes to sscanf strings */
28427 tmp_version = g_strdup("$min_gtk_version");
28428 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28429 printf("%s, bad version string\n", "$min_gtk_version");
28433 if ((gtk_major_version != $gtk_config_major_version) ||
28434 (gtk_minor_version != $gtk_config_minor_version) ||
28435 (gtk_micro_version != $gtk_config_micro_version))
28437 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28438 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28439 gtk_major_version, gtk_minor_version, gtk_micro_version);
28440 printf ("*** was found! If gtk-config was correct, then it is best\n");
28441 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28442 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28443 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28444 printf("*** required on your system.\n");
28445 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28446 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28447 printf("*** before re-running configure\n");
28449 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28450 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28451 (gtk_minor_version != GTK_MINOR_VERSION) ||
28452 (gtk_micro_version != GTK_MICRO_VERSION))
28454 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28455 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28456 printf("*** library (version %d.%d.%d)\n",
28457 gtk_major_version, gtk_minor_version, gtk_micro_version);
28459 #endif /* defined (GTK_MAJOR_VERSION) ... */
28462 if ((gtk_major_version > major) ||
28463 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28464 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28470 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28471 gtk_major_version, gtk_minor_version, gtk_micro_version);
28472 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28473 major, minor, micro);
28474 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28476 printf("*** If you have already installed a sufficiently new version, this error\n");
28477 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28478 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28479 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28480 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28481 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28482 printf("*** so that the correct libraries are found at run-time))\n");
28489 rm -f conftest$ac_exeext
28490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28491 (eval $ac_link) 2>&5
28493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28494 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28496 (eval $ac_try) 2>&5
28498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28499 (exit $ac_status); }; }; then
28502 echo "$as_me: program exited with status $ac_status" >&5
28503 echo "$as_me: failed program was:" >&5
28504 sed 's/^/| /' conftest.$ac_ext >&5
28506 ( exit $ac_status )
28509 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28511 CFLAGS="$ac_save_CFLAGS"
28512 LIBS="$ac_save_LIBS"
28515 if test "x$no_gtk" = x ; then
28516 echo "$as_me:$LINENO: result: yes" >&5
28517 echo "${ECHO_T}yes" >&6
28518 wx_cv_lib_gtk=1.2.3
28520 echo "$as_me:$LINENO: result: no" >&5
28521 echo "${ECHO_T}no" >&6
28522 if test "$GTK_CONFIG" = "no" ; then
28523 echo "*** The gtk-config script installed by GTK could not be found"
28524 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28525 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28526 echo "*** full path to gtk-config."
28528 if test -f conf.gtktest ; then
28531 echo "*** Could not run GTK test program, checking why..."
28532 CFLAGS="$CFLAGS $GTK_CFLAGS"
28533 LIBS="$LIBS $GTK_LIBS"
28534 cat >conftest.$ac_ext <<_ACEOF
28537 cat confdefs.h >>conftest.$ac_ext
28538 cat >>conftest.$ac_ext <<_ACEOF
28539 /* end confdefs.h. */
28541 #include <gtk/gtk.h>
28547 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28552 rm -f conftest.$ac_objext conftest$ac_exeext
28553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28554 (eval $ac_link) 2>conftest.er1
28556 grep -v '^ *+' conftest.er1 >conftest.err
28558 cat conftest.err >&5
28559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28560 (exit $ac_status); } &&
28561 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28563 (eval $ac_try) 2>&5
28565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28566 (exit $ac_status); }; } &&
28567 { ac_try='test -s conftest$ac_exeext'
28568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28569 (eval $ac_try) 2>&5
28571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28572 (exit $ac_status); }; }; then
28573 echo "*** The test program compiled, but did not run. This usually means"
28574 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28575 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28576 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28577 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28578 echo "*** is required on your system"
28580 echo "*** If you have an old version installed, it is best to remove it, although"
28581 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28583 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28584 echo "*** came with the system with the command"
28586 echo "*** rpm --erase --nodeps gtk gtk-devel"
28588 echo "$as_me: failed program was:" >&5
28589 sed 's/^/| /' conftest.$ac_ext >&5
28591 echo "*** The test program failed to compile or link. See the file config.log for the"
28592 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28593 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28594 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28596 rm -f conftest.err conftest.$ac_objext \
28597 conftest$ac_exeext conftest.$ac_ext
28598 CFLAGS="$ac_save_CFLAGS"
28599 LIBS="$ac_save_LIBS"
28614 if test -z "$wx_cv_lib_gtk"; then
28617 wx_cv_cflags_gtk=$GTK_CFLAGS
28618 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28625 if test "$gtk_version_cached" = 1; then
28626 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28627 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28630 case "$wx_cv_lib_gtk" in
28639 *) { { echo "$as_me:$LINENO: error:
28640 The development files for GTK+ were not found. For GTK+ 2, please
28641 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28642 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28643 and that the version is 1.2.3 or above. Also check that the
28644 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28645 --libs' are in the LD_LIBRARY_PATH or equivalent.
28647 echo "$as_me: error:
28648 The development files for GTK+ were not found. For GTK+ 2, please
28649 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28650 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28651 and that the version is 1.2.3 or above. Also check that the
28652 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28653 --libs' are in the LD_LIBRARY_PATH or equivalent.
28655 { (exit 1); exit 1; }; }
28659 if test "$WXGTK20" = 1; then
28660 save_CFLAGS="$CFLAGS"
28662 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28663 LIBS="$LIBS $wx_cv_libs_gtk"
28665 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28666 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28667 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28668 echo $ECHO_N "(cached) $ECHO_C" >&6
28670 cat >conftest.$ac_ext <<_ACEOF
28673 cat confdefs.h >>conftest.$ac_ext
28674 cat >>conftest.$ac_ext <<_ACEOF
28675 /* end confdefs.h. */
28676 #include <gtk/gtk.h>
28681 #ifndef gtk_icon_size_lookup
28682 char *p = (char *) gtk_icon_size_lookup;
28689 rm -f conftest.$ac_objext
28690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28691 (eval $ac_compile) 2>conftest.er1
28693 grep -v '^ *+' conftest.er1 >conftest.err
28695 cat conftest.err >&5
28696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28697 (exit $ac_status); } &&
28698 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28700 (eval $ac_try) 2>&5
28702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28703 (exit $ac_status); }; } &&
28704 { ac_try='test -s conftest.$ac_objext'
28705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28706 (eval $ac_try) 2>&5
28708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28709 (exit $ac_status); }; }; then
28710 ac_cv_have_decl_gtk_icon_size_lookup=yes
28712 echo "$as_me: failed program was:" >&5
28713 sed 's/^/| /' conftest.$ac_ext >&5
28715 ac_cv_have_decl_gtk_icon_size_lookup=no
28717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28719 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28720 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28721 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28723 cat >>confdefs.h <<_ACEOF
28724 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28729 cat >>confdefs.h <<_ACEOF
28730 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28733 cat >>confdefs.h <<\_ACEOF
28734 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28741 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28742 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28743 cat >conftest.$ac_ext <<_ACEOF
28746 cat confdefs.h >>conftest.$ac_ext
28747 cat >>conftest.$ac_ext <<_ACEOF
28748 /* end confdefs.h. */
28750 #include <gtk/gtk.h>
28756 #if !GTK_CHECK_VERSION(2,6,0)
28764 rm -f conftest.$ac_objext
28765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28766 (eval $ac_compile) 2>conftest.er1
28768 grep -v '^ *+' conftest.er1 >conftest.err
28770 cat conftest.err >&5
28771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28772 (exit $ac_status); } &&
28773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28775 (eval $ac_try) 2>&5
28777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28778 (exit $ac_status); }; } &&
28779 { ac_try='test -s conftest.$ac_objext'
28780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28781 (eval $ac_try) 2>&5
28783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28784 (exit $ac_status); }; }; then
28786 cat >>confdefs.h <<\_ACEOF
28787 #define __WXGTK26__ 1
28790 cat >>confdefs.h <<\_ACEOF
28791 #define __WXGTK24__ 1
28794 echo "$as_me:$LINENO: result: yes" >&5
28795 echo "${ECHO_T}yes" >&6
28799 echo "$as_me: failed program was:" >&5
28800 sed 's/^/| /' conftest.$ac_ext >&5
28803 echo "$as_me:$LINENO: result: no" >&5
28804 echo "${ECHO_T}no" >&6
28808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28810 if test "$ac_wxgtk26" = 0; then
28811 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28812 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28813 cat >conftest.$ac_ext <<_ACEOF
28816 cat confdefs.h >>conftest.$ac_ext
28817 cat >>conftest.$ac_ext <<_ACEOF
28818 /* end confdefs.h. */
28820 #include <gtk/gtk.h>
28826 #if !GTK_CHECK_VERSION(2,4,0)
28834 rm -f conftest.$ac_objext
28835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28836 (eval $ac_compile) 2>conftest.er1
28838 grep -v '^ *+' conftest.er1 >conftest.err
28840 cat conftest.err >&5
28841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28842 (exit $ac_status); } &&
28843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28845 (eval $ac_try) 2>&5
28847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28848 (exit $ac_status); }; } &&
28849 { ac_try='test -s conftest.$ac_objext'
28850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28851 (eval $ac_try) 2>&5
28853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28854 (exit $ac_status); }; }; then
28856 cat >>confdefs.h <<\_ACEOF
28857 #define __WXGTK24__ 1
28860 echo "$as_me:$LINENO: result: yes" >&5
28861 echo "${ECHO_T}yes" >&6
28864 echo "$as_me: failed program was:" >&5
28865 sed 's/^/| /' conftest.$ac_ext >&5
28868 echo "$as_me:$LINENO: result: no" >&5
28869 echo "${ECHO_T}no" >&6
28872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28875 CFLAGS="$save_CFLAGS"
28878 if test "$wxUSE_UNICODE" = "yes"; then
28879 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28880 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28884 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28885 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28886 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28887 echo $ECHO_N "(cached) $ECHO_C" >&6
28889 ac_check_lib_save_LIBS=$LIBS
28891 cat >conftest.$ac_ext <<_ACEOF
28894 cat confdefs.h >>conftest.$ac_ext
28895 cat >>conftest.$ac_ext <<_ACEOF
28896 /* end confdefs.h. */
28898 /* Override any gcc2 internal prototype to avoid an error. */
28902 /* We use char because int might match the return type of a gcc2
28903 builtin and then its argument prototype would still apply. */
28904 char gdk_im_open ();
28913 rm -f conftest.$ac_objext conftest$ac_exeext
28914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28915 (eval $ac_link) 2>conftest.er1
28917 grep -v '^ *+' conftest.er1 >conftest.err
28919 cat conftest.err >&5
28920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28921 (exit $ac_status); } &&
28922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28924 (eval $ac_try) 2>&5
28926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28927 (exit $ac_status); }; } &&
28928 { ac_try='test -s conftest$ac_exeext'
28929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28930 (eval $ac_try) 2>&5
28932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28933 (exit $ac_status); }; }; then
28934 ac_cv_lib_gdk_gdk_im_open=yes
28936 echo "$as_me: failed program was:" >&5
28937 sed 's/^/| /' conftest.$ac_ext >&5
28939 ac_cv_lib_gdk_gdk_im_open=no
28941 rm -f conftest.err conftest.$ac_objext \
28942 conftest$ac_exeext conftest.$ac_ext
28943 LIBS=$ac_check_lib_save_LIBS
28945 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28946 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28947 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28948 cat >>confdefs.h <<\_ACEOF
28957 ac_cpp='$CXXCPP $CPPFLAGS'
28958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28963 if test "$USE_DARWIN" != 1; then
28965 for ac_func in poll
28967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28968 echo "$as_me:$LINENO: checking for $ac_func" >&5
28969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28970 if eval "test \"\${$as_ac_var+set}\" = set"; then
28971 echo $ECHO_N "(cached) $ECHO_C" >&6
28973 cat >conftest.$ac_ext <<_ACEOF
28976 cat confdefs.h >>conftest.$ac_ext
28977 cat >>conftest.$ac_ext <<_ACEOF
28978 /* end confdefs.h. */
28979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28981 #define $ac_func innocuous_$ac_func
28983 /* System header to define __stub macros and hopefully few prototypes,
28984 which can conflict with char $ac_func (); below.
28985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28986 <limits.h> exists even on freestanding compilers. */
28989 # include <limits.h>
28991 # include <assert.h>
28996 /* Override any gcc2 internal prototype to avoid an error. */
29001 /* We use char because int might match the return type of a gcc2
29002 builtin and then its argument prototype would still apply. */
29004 /* The GNU C library defines this for functions which it implements
29005 to always fail with ENOSYS. Some functions are actually named
29006 something starting with __ and the normal name is an alias. */
29007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29010 char (*f) () = $ac_func;
29019 return f != $ac_func;
29024 rm -f conftest.$ac_objext conftest$ac_exeext
29025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29026 (eval $ac_link) 2>conftest.er1
29028 grep -v '^ *+' conftest.er1 >conftest.err
29030 cat conftest.err >&5
29031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29032 (exit $ac_status); } &&
29033 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29035 (eval $ac_try) 2>&5
29037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29038 (exit $ac_status); }; } &&
29039 { ac_try='test -s conftest$ac_exeext'
29040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29041 (eval $ac_try) 2>&5
29043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29044 (exit $ac_status); }; }; then
29045 eval "$as_ac_var=yes"
29047 echo "$as_me: failed program was:" >&5
29048 sed 's/^/| /' conftest.$ac_ext >&5
29050 eval "$as_ac_var=no"
29052 rm -f conftest.err conftest.$ac_objext \
29053 conftest$ac_exeext conftest.$ac_ext
29055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29057 if test `eval echo '${'$as_ac_var'}'` = yes; then
29058 cat >>confdefs.h <<_ACEOF
29059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29067 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29068 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29070 AFMINSTALL=afminstall
29074 if test "$wxUSE_GPE" = "yes"; then
29075 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29076 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29079 for ac_dir in $SEARCH_LIB;
29081 for ac_extension in a so sl dylib dll.a; do
29082 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29083 ac_find_libraries=$ac_dir
29089 if test "$ac_find_libraries" != "" ; then
29091 if test "$ac_find_libraries" = "default location"; then
29094 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29096 if test $result = 0; then
29099 ac_path_to_link=" -L$ac_find_libraries"
29103 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29105 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29106 echo "${ECHO_T}found in $ac_find_libraries" >&6
29108 echo "$as_me:$LINENO: result: not found" >&5
29109 echo "${ECHO_T}not found" >&6
29115 if test "$wxUSE_MGL" = 1; then
29116 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29117 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29118 if test "x$MGL_ROOT" = x ; then
29119 echo "$as_me:$LINENO: result: not found" >&5
29120 echo "${ECHO_T}not found" >&6
29121 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29122 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29123 { (exit 1); exit 1; }; }
29125 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29126 echo "${ECHO_T}$MGL_ROOT" >&6
29129 echo "$as_me:$LINENO: checking for libmgl location" >&5
29130 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29133 if test "x$wxUSE_SHARED" = xyes ; then
29134 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29136 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29140 mgl_os_candidates="dos32/dj2"
29143 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29144 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29145 { (exit 1); exit 1; }; }
29151 for mgl_os_i in $mgl_os_candidates ; do
29152 if test "x$mgl_os" = x ; then
29153 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29154 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29155 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29160 if test "x$mgl_lib_type" = x ; then
29161 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29162 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29163 mgl_lib_type=release
29170 if test "x$mgl_os" = x ; then
29171 echo "$as_me:$LINENO: result: not found" >&5
29172 echo "${ECHO_T}not found" >&6
29173 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29174 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29175 { (exit 1); exit 1; }; }
29177 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29178 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29180 wxUSE_UNIVERSAL="yes"
29182 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29183 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29185 AFMINSTALL=afminstall
29190 if test "$wxUSE_DFB" = 1; then
29193 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29194 if test -n "$ac_tool_prefix"; then
29195 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29196 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29197 echo "$as_me:$LINENO: checking for $ac_word" >&5
29198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29199 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29200 echo $ECHO_N "(cached) $ECHO_C" >&6
29202 case $PKG_CONFIG in
29204 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29208 for as_dir in $PATH
29211 test -z "$as_dir" && as_dir=.
29212 for ac_exec_ext in '' $ac_executable_extensions; do
29213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29214 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29224 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29226 if test -n "$PKG_CONFIG"; then
29227 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29228 echo "${ECHO_T}$PKG_CONFIG" >&6
29230 echo "$as_me:$LINENO: result: no" >&5
29231 echo "${ECHO_T}no" >&6
29235 if test -z "$ac_cv_path_PKG_CONFIG"; then
29236 ac_pt_PKG_CONFIG=$PKG_CONFIG
29237 # Extract the first word of "pkg-config", so it can be a program name with args.
29238 set dummy pkg-config; ac_word=$2
29239 echo "$as_me:$LINENO: checking for $ac_word" >&5
29240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29241 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29242 echo $ECHO_N "(cached) $ECHO_C" >&6
29244 case $ac_pt_PKG_CONFIG in
29246 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29250 for as_dir in $PATH
29253 test -z "$as_dir" && as_dir=.
29254 for ac_exec_ext in '' $ac_executable_extensions; do
29255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29256 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29266 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29268 if test -n "$ac_pt_PKG_CONFIG"; then
29269 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29270 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29272 echo "$as_me:$LINENO: result: no" >&5
29273 echo "${ECHO_T}no" >&6
29276 PKG_CONFIG=$ac_pt_PKG_CONFIG
29278 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29282 if test -n "$PKG_CONFIG"; then
29283 _pkg_min_version=0.9.0
29284 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29285 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29286 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29287 echo "$as_me:$LINENO: result: yes" >&5
29288 echo "${ECHO_T}yes" >&6
29290 echo "$as_me:$LINENO: result: no" >&5
29291 echo "${ECHO_T}no" >&6
29299 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29300 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29302 if test -n "$PKG_CONFIG"; then
29303 if test -n "$DIRECTFB_CFLAGS"; then
29304 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29306 if test -n "$PKG_CONFIG" && \
29307 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29308 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29311 (exit $ac_status); }; then
29312 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29320 if test -n "$PKG_CONFIG"; then
29321 if test -n "$DIRECTFB_LIBS"; then
29322 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29324 if test -n "$PKG_CONFIG" && \
29325 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29326 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29329 (exit $ac_status); }; then
29330 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29341 if test $pkg_failed = yes; then
29343 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29344 _pkg_short_errors_supported=yes
29346 _pkg_short_errors_supported=no
29348 if test $_pkg_short_errors_supported = yes; then
29349 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29351 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29353 # Put the nasty error message in config.log where it belongs
29354 echo "$DIRECTFB_PKG_ERRORS" >&5
29357 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29358 echo "$as_me: error: DirectFB not found." >&2;}
29359 { (exit 1); exit 1; }; }
29362 elif test $pkg_failed = untried; then
29364 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29365 echo "$as_me: error: DirectFB not found." >&2;}
29366 { (exit 1); exit 1; }; }
29370 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29371 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29372 echo "$as_me:$LINENO: result: yes" >&5
29373 echo "${ECHO_T}yes" >&6
29375 wxUSE_UNIVERSAL="yes"
29376 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29377 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29384 if test "$wxUSE_MICROWIN" = 1; then
29385 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29386 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29387 if test "x$MICROWINDOWS" = x ; then
29388 echo "$as_me:$LINENO: result: not found" >&5
29389 echo "${ECHO_T}not found" >&6
29390 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29391 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29392 { (exit 1); exit 1; }; }
29394 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29395 echo "${ECHO_T}$MICROWINDOWS" >&6
29398 if test -f $MICROWINDOWS/lib/libmwin.a; then
29399 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29400 echo "${ECHO_T}MicroWindows' libraries found." >&6
29402 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29403 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29404 { (exit 1); exit 1; }; }
29407 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29408 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29410 wxUSE_UNIVERSAL="yes"
29412 AFMINSTALL=afminstall
29414 GUIDIST=MICROWIN_DIST
29416 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29419 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29421 if test "x$ac_path_x_has_been_run" != xyes; then
29422 echo "$as_me:$LINENO: checking for X" >&5
29423 echo $ECHO_N "checking for X... $ECHO_C" >&6
29425 ac_path_x_has_been_run=yes
29427 # Check whether --with-x or --without-x was given.
29428 if test "${with_x+set}" = set; then
29432 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29433 if test "x$with_x" = xno; then
29434 # The user explicitly disabled X.
29437 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29438 # Both variables are already set.
29441 if test "${ac_cv_have_x+set}" = set; then
29442 echo $ECHO_N "(cached) $ECHO_C" >&6
29444 # One or both of the vars are not set, and there is no cached value.
29445 ac_x_includes=no ac_x_libraries=no
29446 rm -fr conftest.dir
29447 if mkdir conftest.dir; then
29449 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29450 cat >Imakefile <<'_ACEOF'
29452 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29454 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29455 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29456 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29457 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29458 for ac_extension in a so sl; do
29459 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29460 test -f $ac_im_libdir/libX11.$ac_extension; then
29461 ac_im_usrlibdir=$ac_im_libdir; break
29464 # Screen out bogus values from the imake configuration. They are
29465 # bogus both because they are the default anyway, and because
29466 # using them would break gcc on systems where it needs fixed includes.
29467 case $ac_im_incroot in
29469 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29471 case $ac_im_usrlibdir in
29472 /usr/lib | /lib) ;;
29473 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29477 rm -fr conftest.dir
29480 # Standard set of common directories for X headers.
29481 # Check X11 before X11Rn because it is often a symlink to the current release.
29493 /usr/local/X11/include
29494 /usr/local/X11R6/include
29495 /usr/local/X11R5/include
29496 /usr/local/X11R4/include
29498 /usr/local/include/X11
29499 /usr/local/include/X11R6
29500 /usr/local/include/X11R5
29501 /usr/local/include/X11R4
29505 /usr/XFree86/include/X11
29509 /usr/unsupported/include
29510 /usr/athena/include
29511 /usr/local/x11r5/include
29512 /usr/lpp/Xamples/include
29514 /usr/openwin/include
29515 /usr/openwin/share/include'
29517 if test "$ac_x_includes" = no; then
29518 # Guess where to find include files, by looking for a specified header file.
29519 # First, try using that file with no special directory specified.
29520 cat >conftest.$ac_ext <<_ACEOF
29523 cat confdefs.h >>conftest.$ac_ext
29524 cat >>conftest.$ac_ext <<_ACEOF
29525 /* end confdefs.h. */
29526 #include <X11/Xlib.h>
29528 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29529 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29531 grep -v '^ *+' conftest.er1 >conftest.err
29533 cat conftest.err >&5
29534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29535 (exit $ac_status); } >/dev/null; then
29536 if test -s conftest.err; then
29537 ac_cpp_err=$ac_cxx_preproc_warn_flag
29538 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
29545 if test -z "$ac_cpp_err"; then
29546 # We can compile using X headers with no special include directory.
29549 echo "$as_me: failed program was:" >&5
29550 sed 's/^/| /' conftest.$ac_ext >&5
29552 for ac_dir in $ac_x_header_dirs; do
29553 if test -r "$ac_dir/X11/Xlib.h"; then
29554 ac_x_includes=$ac_dir
29559 rm -f conftest.err conftest.$ac_ext
29560 fi # $ac_x_includes = no
29562 if test "$ac_x_libraries" = no; then
29563 # Check for the libraries.
29564 # See if we find them without any special options.
29565 # Don't add to $LIBS permanently.
29568 cat >conftest.$ac_ext <<_ACEOF
29571 cat confdefs.h >>conftest.$ac_ext
29572 cat >>conftest.$ac_ext <<_ACEOF
29573 /* end confdefs.h. */
29574 #include <X11/Xlib.h>
29583 rm -f conftest.$ac_objext conftest$ac_exeext
29584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29585 (eval $ac_link) 2>conftest.er1
29587 grep -v '^ *+' conftest.er1 >conftest.err
29589 cat conftest.err >&5
29590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29591 (exit $ac_status); } &&
29592 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29594 (eval $ac_try) 2>&5
29596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29597 (exit $ac_status); }; } &&
29598 { ac_try='test -s conftest$ac_exeext'
29599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29600 (eval $ac_try) 2>&5
29602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29603 (exit $ac_status); }; }; then
29605 # We can link X programs with no special library path.
29608 echo "$as_me: failed program was:" >&5
29609 sed 's/^/| /' conftest.$ac_ext >&5
29612 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29614 # Don't even attempt the hair of trying to link an X program!
29615 for ac_extension in a so sl; do
29616 if test -r $ac_dir/libX11.$ac_extension; then
29617 ac_x_libraries=$ac_dir
29623 rm -f conftest.err conftest.$ac_objext \
29624 conftest$ac_exeext conftest.$ac_ext
29625 fi # $ac_x_libraries = no
29627 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
29628 # Didn't find X anywhere. Cache the known absence of X.
29629 ac_cv_have_x="have_x=no"
29631 # Record where we found X for the cache.
29632 ac_cv_have_x="have_x=yes \
29633 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29638 eval "$ac_cv_have_x"
29641 if test "$have_x" != yes; then
29642 echo "$as_me:$LINENO: result: $have_x" >&5
29643 echo "${ECHO_T}$have_x" >&6
29646 # If each of the values was on the command line, it overrides each guess.
29647 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29648 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29649 # Update the cache value to reflect the command line values.
29650 ac_cv_have_x="have_x=yes \
29651 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29652 # It might be that x_includes is empty (headers are found in the
29653 # standard search path. Then output the corresponding message
29654 ac_out_x_includes=$x_includes
29655 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
29656 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29657 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29661 if test "$no_x" = yes; then
29662 # Not all programs may use this symbol, but it does not hurt to define it.
29664 cat >>confdefs.h <<\_ACEOF
29665 #define X_DISPLAY_MISSING 1
29668 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29670 if test -n "$x_includes"; then
29671 X_CFLAGS="$X_CFLAGS -I$x_includes"
29674 # It would also be nice to do this for all -L options, not just this one.
29675 if test -n "$x_libraries"; then
29676 X_LIBS="$X_LIBS -L$x_libraries"
29677 # For Solaris; some versions of Sun CC require a space after -R and
29678 # others require no space. Words are not sufficient . . . .
29679 case `(uname -sr) 2>/dev/null` in
29681 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29682 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29683 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29684 cat >conftest.$ac_ext <<_ACEOF
29687 cat confdefs.h >>conftest.$ac_ext
29688 cat >>conftest.$ac_ext <<_ACEOF
29689 /* end confdefs.h. */
29699 rm -f conftest.$ac_objext conftest$ac_exeext
29700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29701 (eval $ac_link) 2>conftest.er1
29703 grep -v '^ *+' conftest.er1 >conftest.err
29705 cat conftest.err >&5
29706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29707 (exit $ac_status); } &&
29708 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29710 (eval $ac_try) 2>&5
29712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29713 (exit $ac_status); }; } &&
29714 { ac_try='test -s conftest$ac_exeext'
29715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29716 (eval $ac_try) 2>&5
29718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29719 (exit $ac_status); }; }; then
29722 echo "$as_me: failed program was:" >&5
29723 sed 's/^/| /' conftest.$ac_ext >&5
29727 rm -f conftest.err conftest.$ac_objext \
29728 conftest$ac_exeext conftest.$ac_ext
29729 if test $ac_R_nospace = yes; then
29730 echo "$as_me:$LINENO: result: no" >&5
29731 echo "${ECHO_T}no" >&6
29732 X_LIBS="$X_LIBS -R$x_libraries"
29734 LIBS="$ac_xsave_LIBS -R $x_libraries"
29735 cat >conftest.$ac_ext <<_ACEOF
29738 cat confdefs.h >>conftest.$ac_ext
29739 cat >>conftest.$ac_ext <<_ACEOF
29740 /* end confdefs.h. */
29750 rm -f conftest.$ac_objext conftest$ac_exeext
29751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29752 (eval $ac_link) 2>conftest.er1
29754 grep -v '^ *+' conftest.er1 >conftest.err
29756 cat conftest.err >&5
29757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29758 (exit $ac_status); } &&
29759 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29761 (eval $ac_try) 2>&5
29763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29764 (exit $ac_status); }; } &&
29765 { ac_try='test -s conftest$ac_exeext'
29766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29767 (eval $ac_try) 2>&5
29769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29770 (exit $ac_status); }; }; then
29773 echo "$as_me: failed program was:" >&5
29774 sed 's/^/| /' conftest.$ac_ext >&5
29778 rm -f conftest.err conftest.$ac_objext \
29779 conftest$ac_exeext conftest.$ac_ext
29780 if test $ac_R_space = yes; then
29781 echo "$as_me:$LINENO: result: yes" >&5
29782 echo "${ECHO_T}yes" >&6
29783 X_LIBS="$X_LIBS -R $x_libraries"
29785 echo "$as_me:$LINENO: result: neither works" >&5
29786 echo "${ECHO_T}neither works" >&6
29789 LIBS=$ac_xsave_LIBS
29793 # Check for system-dependent libraries X programs must link with.
29794 # Do this before checking for the system-independent R6 libraries
29795 # (-lICE), since we may need -lsocket or whatever for X linking.
29797 if test "$ISC" = yes; then
29798 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29800 # Martyn Johnson says this is needed for Ultrix, if the X
29801 # libraries were built with DECnet support. And Karl Berry says
29802 # the Alpha needs dnet_stub (dnet does not exist).
29803 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29804 cat >conftest.$ac_ext <<_ACEOF
29807 cat confdefs.h >>conftest.$ac_ext
29808 cat >>conftest.$ac_ext <<_ACEOF
29809 /* end confdefs.h. */
29811 /* Override any gcc2 internal prototype to avoid an error. */
29815 /* We use char because int might match the return type of a gcc2
29816 builtin and then its argument prototype would still apply. */
29817 char XOpenDisplay ();
29826 rm -f conftest.$ac_objext conftest$ac_exeext
29827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29828 (eval $ac_link) 2>conftest.er1
29830 grep -v '^ *+' conftest.er1 >conftest.err
29832 cat conftest.err >&5
29833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29834 (exit $ac_status); } &&
29835 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29837 (eval $ac_try) 2>&5
29839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29840 (exit $ac_status); }; } &&
29841 { ac_try='test -s conftest$ac_exeext'
29842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29843 (eval $ac_try) 2>&5
29845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29846 (exit $ac_status); }; }; then
29849 echo "$as_me: failed program was:" >&5
29850 sed 's/^/| /' conftest.$ac_ext >&5
29852 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29853 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29854 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29855 echo $ECHO_N "(cached) $ECHO_C" >&6
29857 ac_check_lib_save_LIBS=$LIBS
29858 LIBS="-ldnet $LIBS"
29859 cat >conftest.$ac_ext <<_ACEOF
29862 cat confdefs.h >>conftest.$ac_ext
29863 cat >>conftest.$ac_ext <<_ACEOF
29864 /* end confdefs.h. */
29866 /* Override any gcc2 internal prototype to avoid an error. */
29870 /* We use char because int might match the return type of a gcc2
29871 builtin and then its argument prototype would still apply. */
29881 rm -f conftest.$ac_objext conftest$ac_exeext
29882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29883 (eval $ac_link) 2>conftest.er1
29885 grep -v '^ *+' conftest.er1 >conftest.err
29887 cat conftest.err >&5
29888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29889 (exit $ac_status); } &&
29890 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29892 (eval $ac_try) 2>&5
29894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29895 (exit $ac_status); }; } &&
29896 { ac_try='test -s conftest$ac_exeext'
29897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29898 (eval $ac_try) 2>&5
29900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29901 (exit $ac_status); }; }; then
29902 ac_cv_lib_dnet_dnet_ntoa=yes
29904 echo "$as_me: failed program was:" >&5
29905 sed 's/^/| /' conftest.$ac_ext >&5
29907 ac_cv_lib_dnet_dnet_ntoa=no
29909 rm -f conftest.err conftest.$ac_objext \
29910 conftest$ac_exeext conftest.$ac_ext
29911 LIBS=$ac_check_lib_save_LIBS
29913 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29914 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29915 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29916 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29919 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29920 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29921 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29922 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29923 echo $ECHO_N "(cached) $ECHO_C" >&6
29925 ac_check_lib_save_LIBS=$LIBS
29926 LIBS="-ldnet_stub $LIBS"
29927 cat >conftest.$ac_ext <<_ACEOF
29930 cat confdefs.h >>conftest.$ac_ext
29931 cat >>conftest.$ac_ext <<_ACEOF
29932 /* end confdefs.h. */
29934 /* Override any gcc2 internal prototype to avoid an error. */
29938 /* We use char because int might match the return type of a gcc2
29939 builtin and then its argument prototype would still apply. */
29949 rm -f conftest.$ac_objext conftest$ac_exeext
29950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29951 (eval $ac_link) 2>conftest.er1
29953 grep -v '^ *+' conftest.er1 >conftest.err
29955 cat conftest.err >&5
29956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29957 (exit $ac_status); } &&
29958 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29960 (eval $ac_try) 2>&5
29962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29963 (exit $ac_status); }; } &&
29964 { ac_try='test -s conftest$ac_exeext'
29965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29966 (eval $ac_try) 2>&5
29968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29969 (exit $ac_status); }; }; then
29970 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29972 echo "$as_me: failed program was:" >&5
29973 sed 's/^/| /' conftest.$ac_ext >&5
29975 ac_cv_lib_dnet_stub_dnet_ntoa=no
29977 rm -f conftest.err conftest.$ac_objext \
29978 conftest$ac_exeext conftest.$ac_ext
29979 LIBS=$ac_check_lib_save_LIBS
29981 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29982 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29983 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29984 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29989 rm -f conftest.err conftest.$ac_objext \
29990 conftest$ac_exeext conftest.$ac_ext
29991 LIBS="$ac_xsave_LIBS"
29993 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29994 # to get the SysV transport functions.
29995 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29997 # The nsl library prevents programs from opening the X display
29998 # on Irix 5.2, according to T.E. Dickey.
29999 # The functions gethostbyname, getservbyname, and inet_addr are
30000 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30001 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30002 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30003 if test "${ac_cv_func_gethostbyname+set}" = set; then
30004 echo $ECHO_N "(cached) $ECHO_C" >&6
30006 cat >conftest.$ac_ext <<_ACEOF
30009 cat confdefs.h >>conftest.$ac_ext
30010 cat >>conftest.$ac_ext <<_ACEOF
30011 /* end confdefs.h. */
30012 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30014 #define gethostbyname innocuous_gethostbyname
30016 /* System header to define __stub macros and hopefully few prototypes,
30017 which can conflict with char gethostbyname (); below.
30018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30019 <limits.h> exists even on freestanding compilers. */
30022 # include <limits.h>
30024 # include <assert.h>
30027 #undef gethostbyname
30029 /* Override any gcc2 internal prototype to avoid an error. */
30034 /* We use char because int might match the return type of a gcc2
30035 builtin and then its argument prototype would still apply. */
30036 char gethostbyname ();
30037 /* The GNU C library defines this for functions which it implements
30038 to always fail with ENOSYS. Some functions are actually named
30039 something starting with __ and the normal name is an alias. */
30040 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30043 char (*f) () = gethostbyname;
30052 return f != gethostbyname;
30057 rm -f conftest.$ac_objext conftest$ac_exeext
30058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30059 (eval $ac_link) 2>conftest.er1
30061 grep -v '^ *+' conftest.er1 >conftest.err
30063 cat conftest.err >&5
30064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30065 (exit $ac_status); } &&
30066 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30068 (eval $ac_try) 2>&5
30070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30071 (exit $ac_status); }; } &&
30072 { ac_try='test -s conftest$ac_exeext'
30073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30074 (eval $ac_try) 2>&5
30076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30077 (exit $ac_status); }; }; then
30078 ac_cv_func_gethostbyname=yes
30080 echo "$as_me: failed program was:" >&5
30081 sed 's/^/| /' conftest.$ac_ext >&5
30083 ac_cv_func_gethostbyname=no
30085 rm -f conftest.err conftest.$ac_objext \
30086 conftest$ac_exeext conftest.$ac_ext
30088 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30089 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30091 if test $ac_cv_func_gethostbyname = no; then
30092 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30093 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30094 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30095 echo $ECHO_N "(cached) $ECHO_C" >&6
30097 ac_check_lib_save_LIBS=$LIBS
30099 cat >conftest.$ac_ext <<_ACEOF
30102 cat confdefs.h >>conftest.$ac_ext
30103 cat >>conftest.$ac_ext <<_ACEOF
30104 /* end confdefs.h. */
30106 /* Override any gcc2 internal prototype to avoid an error. */
30110 /* We use char because int might match the return type of a gcc2
30111 builtin and then its argument prototype would still apply. */
30112 char gethostbyname ();
30121 rm -f conftest.$ac_objext conftest$ac_exeext
30122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30123 (eval $ac_link) 2>conftest.er1
30125 grep -v '^ *+' conftest.er1 >conftest.err
30127 cat conftest.err >&5
30128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30129 (exit $ac_status); } &&
30130 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30132 (eval $ac_try) 2>&5
30134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30135 (exit $ac_status); }; } &&
30136 { ac_try='test -s conftest$ac_exeext'
30137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30138 (eval $ac_try) 2>&5
30140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30141 (exit $ac_status); }; }; then
30142 ac_cv_lib_nsl_gethostbyname=yes
30144 echo "$as_me: failed program was:" >&5
30145 sed 's/^/| /' conftest.$ac_ext >&5
30147 ac_cv_lib_nsl_gethostbyname=no
30149 rm -f conftest.err conftest.$ac_objext \
30150 conftest$ac_exeext conftest.$ac_ext
30151 LIBS=$ac_check_lib_save_LIBS
30153 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30154 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30155 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30156 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30159 if test $ac_cv_lib_nsl_gethostbyname = no; then
30160 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30161 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30162 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30163 echo $ECHO_N "(cached) $ECHO_C" >&6
30165 ac_check_lib_save_LIBS=$LIBS
30167 cat >conftest.$ac_ext <<_ACEOF
30170 cat confdefs.h >>conftest.$ac_ext
30171 cat >>conftest.$ac_ext <<_ACEOF
30172 /* end confdefs.h. */
30174 /* Override any gcc2 internal prototype to avoid an error. */
30178 /* We use char because int might match the return type of a gcc2
30179 builtin and then its argument prototype would still apply. */
30180 char gethostbyname ();
30189 rm -f conftest.$ac_objext conftest$ac_exeext
30190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30191 (eval $ac_link) 2>conftest.er1
30193 grep -v '^ *+' conftest.er1 >conftest.err
30195 cat conftest.err >&5
30196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30197 (exit $ac_status); } &&
30198 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30200 (eval $ac_try) 2>&5
30202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30203 (exit $ac_status); }; } &&
30204 { ac_try='test -s conftest$ac_exeext'
30205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30206 (eval $ac_try) 2>&5
30208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30209 (exit $ac_status); }; }; then
30210 ac_cv_lib_bsd_gethostbyname=yes
30212 echo "$as_me: failed program was:" >&5
30213 sed 's/^/| /' conftest.$ac_ext >&5
30215 ac_cv_lib_bsd_gethostbyname=no
30217 rm -f conftest.err conftest.$ac_objext \
30218 conftest$ac_exeext conftest.$ac_ext
30219 LIBS=$ac_check_lib_save_LIBS
30221 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30222 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30223 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30224 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30230 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30231 # socket/setsockopt and other routines are undefined under SCO ODT
30232 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30233 # on later versions), says Simon Leinen: it contains gethostby*
30234 # variants that don't use the name server (or something). -lsocket
30235 # must be given before -lnsl if both are needed. We assume that
30236 # if connect needs -lnsl, so does gethostbyname.
30237 echo "$as_me:$LINENO: checking for connect" >&5
30238 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30239 if test "${ac_cv_func_connect+set}" = set; then
30240 echo $ECHO_N "(cached) $ECHO_C" >&6
30242 cat >conftest.$ac_ext <<_ACEOF
30245 cat confdefs.h >>conftest.$ac_ext
30246 cat >>conftest.$ac_ext <<_ACEOF
30247 /* end confdefs.h. */
30248 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30250 #define connect innocuous_connect
30252 /* System header to define __stub macros and hopefully few prototypes,
30253 which can conflict with char connect (); below.
30254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30255 <limits.h> exists even on freestanding compilers. */
30258 # include <limits.h>
30260 # include <assert.h>
30265 /* Override any gcc2 internal prototype to avoid an error. */
30270 /* We use char because int might match the return type of a gcc2
30271 builtin and then its argument prototype would still apply. */
30273 /* The GNU C library defines this for functions which it implements
30274 to always fail with ENOSYS. Some functions are actually named
30275 something starting with __ and the normal name is an alias. */
30276 #if defined (__stub_connect) || defined (__stub___connect)
30279 char (*f) () = connect;
30288 return f != connect;
30293 rm -f conftest.$ac_objext conftest$ac_exeext
30294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30295 (eval $ac_link) 2>conftest.er1
30297 grep -v '^ *+' conftest.er1 >conftest.err
30299 cat conftest.err >&5
30300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30301 (exit $ac_status); } &&
30302 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30304 (eval $ac_try) 2>&5
30306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30307 (exit $ac_status); }; } &&
30308 { ac_try='test -s conftest$ac_exeext'
30309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30310 (eval $ac_try) 2>&5
30312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30313 (exit $ac_status); }; }; then
30314 ac_cv_func_connect=yes
30316 echo "$as_me: failed program was:" >&5
30317 sed 's/^/| /' conftest.$ac_ext >&5
30319 ac_cv_func_connect=no
30321 rm -f conftest.err conftest.$ac_objext \
30322 conftest$ac_exeext conftest.$ac_ext
30324 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30325 echo "${ECHO_T}$ac_cv_func_connect" >&6
30327 if test $ac_cv_func_connect = no; then
30328 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30329 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30330 if test "${ac_cv_lib_socket_connect+set}" = set; then
30331 echo $ECHO_N "(cached) $ECHO_C" >&6
30333 ac_check_lib_save_LIBS=$LIBS
30334 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30335 cat >conftest.$ac_ext <<_ACEOF
30338 cat confdefs.h >>conftest.$ac_ext
30339 cat >>conftest.$ac_ext <<_ACEOF
30340 /* end confdefs.h. */
30342 /* Override any gcc2 internal prototype to avoid an error. */
30346 /* We use char because int might match the return type of a gcc2
30347 builtin and then its argument prototype would still apply. */
30357 rm -f conftest.$ac_objext conftest$ac_exeext
30358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30359 (eval $ac_link) 2>conftest.er1
30361 grep -v '^ *+' conftest.er1 >conftest.err
30363 cat conftest.err >&5
30364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30365 (exit $ac_status); } &&
30366 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30368 (eval $ac_try) 2>&5
30370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30371 (exit $ac_status); }; } &&
30372 { ac_try='test -s conftest$ac_exeext'
30373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30374 (eval $ac_try) 2>&5
30376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30377 (exit $ac_status); }; }; then
30378 ac_cv_lib_socket_connect=yes
30380 echo "$as_me: failed program was:" >&5
30381 sed 's/^/| /' conftest.$ac_ext >&5
30383 ac_cv_lib_socket_connect=no
30385 rm -f conftest.err conftest.$ac_objext \
30386 conftest$ac_exeext conftest.$ac_ext
30387 LIBS=$ac_check_lib_save_LIBS
30389 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30390 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30391 if test $ac_cv_lib_socket_connect = yes; then
30392 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30397 # Guillermo Gomez says -lposix is necessary on A/UX.
30398 echo "$as_me:$LINENO: checking for remove" >&5
30399 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30400 if test "${ac_cv_func_remove+set}" = set; then
30401 echo $ECHO_N "(cached) $ECHO_C" >&6
30403 cat >conftest.$ac_ext <<_ACEOF
30406 cat confdefs.h >>conftest.$ac_ext
30407 cat >>conftest.$ac_ext <<_ACEOF
30408 /* end confdefs.h. */
30409 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30411 #define remove innocuous_remove
30413 /* System header to define __stub macros and hopefully few prototypes,
30414 which can conflict with char remove (); below.
30415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30416 <limits.h> exists even on freestanding compilers. */
30419 # include <limits.h>
30421 # include <assert.h>
30426 /* Override any gcc2 internal prototype to avoid an error. */
30431 /* We use char because int might match the return type of a gcc2
30432 builtin and then its argument prototype would still apply. */
30434 /* The GNU C library defines this for functions which it implements
30435 to always fail with ENOSYS. Some functions are actually named
30436 something starting with __ and the normal name is an alias. */
30437 #if defined (__stub_remove) || defined (__stub___remove)
30440 char (*f) () = remove;
30449 return f != remove;
30454 rm -f conftest.$ac_objext conftest$ac_exeext
30455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30456 (eval $ac_link) 2>conftest.er1
30458 grep -v '^ *+' conftest.er1 >conftest.err
30460 cat conftest.err >&5
30461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30462 (exit $ac_status); } &&
30463 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30465 (eval $ac_try) 2>&5
30467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30468 (exit $ac_status); }; } &&
30469 { ac_try='test -s conftest$ac_exeext'
30470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30471 (eval $ac_try) 2>&5
30473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30474 (exit $ac_status); }; }; then
30475 ac_cv_func_remove=yes
30477 echo "$as_me: failed program was:" >&5
30478 sed 's/^/| /' conftest.$ac_ext >&5
30480 ac_cv_func_remove=no
30482 rm -f conftest.err conftest.$ac_objext \
30483 conftest$ac_exeext conftest.$ac_ext
30485 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30486 echo "${ECHO_T}$ac_cv_func_remove" >&6
30488 if test $ac_cv_func_remove = no; then
30489 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30490 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30491 if test "${ac_cv_lib_posix_remove+set}" = set; then
30492 echo $ECHO_N "(cached) $ECHO_C" >&6
30494 ac_check_lib_save_LIBS=$LIBS
30495 LIBS="-lposix $LIBS"
30496 cat >conftest.$ac_ext <<_ACEOF
30499 cat confdefs.h >>conftest.$ac_ext
30500 cat >>conftest.$ac_ext <<_ACEOF
30501 /* end confdefs.h. */
30503 /* Override any gcc2 internal prototype to avoid an error. */
30507 /* We use char because int might match the return type of a gcc2
30508 builtin and then its argument prototype would still apply. */
30518 rm -f conftest.$ac_objext conftest$ac_exeext
30519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30520 (eval $ac_link) 2>conftest.er1
30522 grep -v '^ *+' conftest.er1 >conftest.err
30524 cat conftest.err >&5
30525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526 (exit $ac_status); } &&
30527 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30529 (eval $ac_try) 2>&5
30531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30532 (exit $ac_status); }; } &&
30533 { ac_try='test -s conftest$ac_exeext'
30534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30535 (eval $ac_try) 2>&5
30537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30538 (exit $ac_status); }; }; then
30539 ac_cv_lib_posix_remove=yes
30541 echo "$as_me: failed program was:" >&5
30542 sed 's/^/| /' conftest.$ac_ext >&5
30544 ac_cv_lib_posix_remove=no
30546 rm -f conftest.err conftest.$ac_objext \
30547 conftest$ac_exeext conftest.$ac_ext
30548 LIBS=$ac_check_lib_save_LIBS
30550 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30551 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30552 if test $ac_cv_lib_posix_remove = yes; then
30553 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30558 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30559 echo "$as_me:$LINENO: checking for shmat" >&5
30560 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30561 if test "${ac_cv_func_shmat+set}" = set; then
30562 echo $ECHO_N "(cached) $ECHO_C" >&6
30564 cat >conftest.$ac_ext <<_ACEOF
30567 cat confdefs.h >>conftest.$ac_ext
30568 cat >>conftest.$ac_ext <<_ACEOF
30569 /* end confdefs.h. */
30570 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30572 #define shmat innocuous_shmat
30574 /* System header to define __stub macros and hopefully few prototypes,
30575 which can conflict with char shmat (); below.
30576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30577 <limits.h> exists even on freestanding compilers. */
30580 # include <limits.h>
30582 # include <assert.h>
30587 /* Override any gcc2 internal prototype to avoid an error. */
30592 /* We use char because int might match the return type of a gcc2
30593 builtin and then its argument prototype would still apply. */
30595 /* The GNU C library defines this for functions which it implements
30596 to always fail with ENOSYS. Some functions are actually named
30597 something starting with __ and the normal name is an alias. */
30598 #if defined (__stub_shmat) || defined (__stub___shmat)
30601 char (*f) () = shmat;
30615 rm -f conftest.$ac_objext conftest$ac_exeext
30616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30617 (eval $ac_link) 2>conftest.er1
30619 grep -v '^ *+' conftest.er1 >conftest.err
30621 cat conftest.err >&5
30622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30623 (exit $ac_status); } &&
30624 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30626 (eval $ac_try) 2>&5
30628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30629 (exit $ac_status); }; } &&
30630 { ac_try='test -s conftest$ac_exeext'
30631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30632 (eval $ac_try) 2>&5
30634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30635 (exit $ac_status); }; }; then
30636 ac_cv_func_shmat=yes
30638 echo "$as_me: failed program was:" >&5
30639 sed 's/^/| /' conftest.$ac_ext >&5
30641 ac_cv_func_shmat=no
30643 rm -f conftest.err conftest.$ac_objext \
30644 conftest$ac_exeext conftest.$ac_ext
30646 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30647 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30649 if test $ac_cv_func_shmat = no; then
30650 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30651 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30652 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30653 echo $ECHO_N "(cached) $ECHO_C" >&6
30655 ac_check_lib_save_LIBS=$LIBS
30657 cat >conftest.$ac_ext <<_ACEOF
30660 cat confdefs.h >>conftest.$ac_ext
30661 cat >>conftest.$ac_ext <<_ACEOF
30662 /* end confdefs.h. */
30664 /* Override any gcc2 internal prototype to avoid an error. */
30668 /* We use char because int might match the return type of a gcc2
30669 builtin and then its argument prototype would still apply. */
30679 rm -f conftest.$ac_objext conftest$ac_exeext
30680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30681 (eval $ac_link) 2>conftest.er1
30683 grep -v '^ *+' conftest.er1 >conftest.err
30685 cat conftest.err >&5
30686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30687 (exit $ac_status); } &&
30688 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30690 (eval $ac_try) 2>&5
30692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30693 (exit $ac_status); }; } &&
30694 { ac_try='test -s conftest$ac_exeext'
30695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30696 (eval $ac_try) 2>&5
30698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30699 (exit $ac_status); }; }; then
30700 ac_cv_lib_ipc_shmat=yes
30702 echo "$as_me: failed program was:" >&5
30703 sed 's/^/| /' conftest.$ac_ext >&5
30705 ac_cv_lib_ipc_shmat=no
30707 rm -f conftest.err conftest.$ac_objext \
30708 conftest$ac_exeext conftest.$ac_ext
30709 LIBS=$ac_check_lib_save_LIBS
30711 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30712 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30713 if test $ac_cv_lib_ipc_shmat = yes; then
30714 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30720 # Check for libraries that X11R6 Xt/Xaw programs need.
30721 ac_save_LDFLAGS=$LDFLAGS
30722 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30723 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30724 # check for ICE first), but we must link in the order -lSM -lICE or
30725 # we get undefined symbols. So assume we have SM if we have ICE.
30726 # These have to be linked with before -lX11, unlike the other
30727 # libraries we check for below, so use a different variable.
30728 # John Interrante, Karl Berry
30729 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30730 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30731 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30732 echo $ECHO_N "(cached) $ECHO_C" >&6
30734 ac_check_lib_save_LIBS=$LIBS
30735 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30736 cat >conftest.$ac_ext <<_ACEOF
30739 cat confdefs.h >>conftest.$ac_ext
30740 cat >>conftest.$ac_ext <<_ACEOF
30741 /* end confdefs.h. */
30743 /* Override any gcc2 internal prototype to avoid an error. */
30747 /* We use char because int might match the return type of a gcc2
30748 builtin and then its argument prototype would still apply. */
30749 char IceConnectionNumber ();
30753 IceConnectionNumber ();
30758 rm -f conftest.$ac_objext conftest$ac_exeext
30759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30760 (eval $ac_link) 2>conftest.er1
30762 grep -v '^ *+' conftest.er1 >conftest.err
30764 cat conftest.err >&5
30765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30766 (exit $ac_status); } &&
30767 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30769 (eval $ac_try) 2>&5
30771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30772 (exit $ac_status); }; } &&
30773 { ac_try='test -s conftest$ac_exeext'
30774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30775 (eval $ac_try) 2>&5
30777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30778 (exit $ac_status); }; }; then
30779 ac_cv_lib_ICE_IceConnectionNumber=yes
30781 echo "$as_me: failed program was:" >&5
30782 sed 's/^/| /' conftest.$ac_ext >&5
30784 ac_cv_lib_ICE_IceConnectionNumber=no
30786 rm -f conftest.err conftest.$ac_objext \
30787 conftest$ac_exeext conftest.$ac_ext
30788 LIBS=$ac_check_lib_save_LIBS
30790 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30791 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30792 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30793 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30796 LDFLAGS=$ac_save_LDFLAGS
30801 if test "$no_x" = "yes"; then
30802 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30803 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30804 { (exit 1); exit 1; }; }
30807 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30808 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30809 AFMINSTALL=afminstall
30810 COMPILED_X_PROGRAM=0
30814 if test "$wxUSE_X11" = 1; then
30815 if test "$wxUSE_NANOX" = "yes"; then
30816 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30817 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30818 if test "x$MICROWIN" = x ; then
30819 echo "$as_me:$LINENO: result: not found" >&5
30820 echo "${ECHO_T}not found" >&6
30821 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30822 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30823 { (exit 1); exit 1; }; }
30825 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30826 echo "${ECHO_T}$MICROWIN" >&6
30827 cat >>confdefs.h <<\_ACEOF
30828 #define wxUSE_NANOX 1
30834 if test "$wxUSE_UNICODE" = "yes"; then
30837 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30838 if test -n "$ac_tool_prefix"; then
30839 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30840 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30841 echo "$as_me:$LINENO: checking for $ac_word" >&5
30842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30843 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30844 echo $ECHO_N "(cached) $ECHO_C" >&6
30846 case $PKG_CONFIG in
30848 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30852 for as_dir in $PATH
30855 test -z "$as_dir" && as_dir=.
30856 for ac_exec_ext in '' $ac_executable_extensions; do
30857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30858 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30868 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30870 if test -n "$PKG_CONFIG"; then
30871 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30872 echo "${ECHO_T}$PKG_CONFIG" >&6
30874 echo "$as_me:$LINENO: result: no" >&5
30875 echo "${ECHO_T}no" >&6
30879 if test -z "$ac_cv_path_PKG_CONFIG"; then
30880 ac_pt_PKG_CONFIG=$PKG_CONFIG
30881 # Extract the first word of "pkg-config", so it can be a program name with args.
30882 set dummy pkg-config; ac_word=$2
30883 echo "$as_me:$LINENO: checking for $ac_word" >&5
30884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30885 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30886 echo $ECHO_N "(cached) $ECHO_C" >&6
30888 case $ac_pt_PKG_CONFIG in
30890 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30894 for as_dir in $PATH
30897 test -z "$as_dir" && as_dir=.
30898 for ac_exec_ext in '' $ac_executable_extensions; do
30899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30900 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30910 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30912 if test -n "$ac_pt_PKG_CONFIG"; then
30913 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30914 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
30916 echo "$as_me:$LINENO: result: no" >&5
30917 echo "${ECHO_T}no" >&6
30920 PKG_CONFIG=$ac_pt_PKG_CONFIG
30922 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30926 if test -n "$PKG_CONFIG"; then
30927 _pkg_min_version=0.9.0
30928 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30929 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
30930 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30931 echo "$as_me:$LINENO: result: yes" >&5
30932 echo "${ECHO_T}yes" >&6
30934 echo "$as_me:$LINENO: result: no" >&5
30935 echo "${ECHO_T}no" >&6
30943 echo "$as_me:$LINENO: checking for PANGOX" >&5
30944 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30946 if test -n "$PKG_CONFIG"; then
30947 if test -n "$PANGOX_CFLAGS"; then
30948 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30950 if test -n "$PKG_CONFIG" && \
30951 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30952 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30955 (exit $ac_status); }; then
30956 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30964 if test -n "$PKG_CONFIG"; then
30965 if test -n "$PANGOX_LIBS"; then
30966 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30968 if test -n "$PKG_CONFIG" && \
30969 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30970 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30973 (exit $ac_status); }; then
30974 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30985 if test $pkg_failed = yes; then
30987 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30988 _pkg_short_errors_supported=yes
30990 _pkg_short_errors_supported=no
30992 if test $_pkg_short_errors_supported = yes; then
30993 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30995 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30997 # Put the nasty error message in config.log where it belongs
30998 echo "$PANGOX_PKG_ERRORS" >&5
31001 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31002 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31003 { (exit 1); exit 1; }; }
31006 elif test $pkg_failed = untried; then
31008 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31009 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31010 { (exit 1); exit 1; }; }
31014 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31015 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31016 echo "$as_me:$LINENO: result: yes" >&5
31017 echo "${ECHO_T}yes" >&6
31019 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31020 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31025 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31026 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31028 if test -n "$PKG_CONFIG"; then
31029 if test -n "$PANGOFT2_CFLAGS"; then
31030 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31032 if test -n "$PKG_CONFIG" && \
31033 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31034 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31037 (exit $ac_status); }; then
31038 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31046 if test -n "$PKG_CONFIG"; then
31047 if test -n "$PANGOFT2_LIBS"; then
31048 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31050 if test -n "$PKG_CONFIG" && \
31051 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31052 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31055 (exit $ac_status); }; then
31056 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31067 if test $pkg_failed = yes; then
31069 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31070 _pkg_short_errors_supported=yes
31072 _pkg_short_errors_supported=no
31074 if test $_pkg_short_errors_supported = yes; then
31075 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31077 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31079 # Put the nasty error message in config.log where it belongs
31080 echo "$PANGOFT2_PKG_ERRORS" >&5
31083 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31084 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31085 wxUSE_PRINTING_ARCHITECTURE="no"
31088 elif test $pkg_failed = untried; then
31090 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31091 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31092 wxUSE_PRINTING_ARCHITECTURE="no"
31096 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31097 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31098 echo "$as_me:$LINENO: result: yes" >&5
31099 echo "${ECHO_T}yes" >&6
31101 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31102 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31107 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31108 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31110 if test -n "$PKG_CONFIG"; then
31111 if test -n "$PANGOXFT_CFLAGS"; then
31112 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31114 if test -n "$PKG_CONFIG" && \
31115 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31116 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31119 (exit $ac_status); }; then
31120 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31128 if test -n "$PKG_CONFIG"; then
31129 if test -n "$PANGOXFT_LIBS"; then
31130 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31132 if test -n "$PKG_CONFIG" && \
31133 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31134 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31137 (exit $ac_status); }; then
31138 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31149 if test $pkg_failed = yes; then
31151 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31152 _pkg_short_errors_supported=yes
31154 _pkg_short_errors_supported=no
31156 if test $_pkg_short_errors_supported = yes; then
31157 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31159 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31161 # Put the nasty error message in config.log where it belongs
31162 echo "$PANGOXFT_PKG_ERRORS" >&5
31165 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31166 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31169 elif test $pkg_failed = untried; then
31171 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31172 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31176 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31177 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31178 echo "$as_me:$LINENO: result: yes" >&5
31179 echo "${ECHO_T}yes" >&6
31181 cat >>confdefs.h <<\_ACEOF
31182 #define HAVE_PANGO_XFT 1
31185 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31186 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31189 save_CXXFLAGS="$CXXFLAGS"
31191 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31192 LIBS="$LIBS $PANGOX_LIBS"
31194 for ac_func in pango_font_family_is_monospace
31196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31197 echo "$as_me:$LINENO: checking for $ac_func" >&5
31198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31199 if eval "test \"\${$as_ac_var+set}\" = set"; then
31200 echo $ECHO_N "(cached) $ECHO_C" >&6
31202 cat >conftest.$ac_ext <<_ACEOF
31205 cat confdefs.h >>conftest.$ac_ext
31206 cat >>conftest.$ac_ext <<_ACEOF
31207 /* end confdefs.h. */
31208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31210 #define $ac_func innocuous_$ac_func
31212 /* System header to define __stub macros and hopefully few prototypes,
31213 which can conflict with char $ac_func (); below.
31214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31215 <limits.h> exists even on freestanding compilers. */
31218 # include <limits.h>
31220 # include <assert.h>
31225 /* Override any gcc2 internal prototype to avoid an error. */
31230 /* We use char because int might match the return type of a gcc2
31231 builtin and then its argument prototype would still apply. */
31233 /* The GNU C library defines this for functions which it implements
31234 to always fail with ENOSYS. Some functions are actually named
31235 something starting with __ and the normal name is an alias. */
31236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31239 char (*f) () = $ac_func;
31248 return f != $ac_func;
31253 rm -f conftest.$ac_objext conftest$ac_exeext
31254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31255 (eval $ac_link) 2>conftest.er1
31257 grep -v '^ *+' conftest.er1 >conftest.err
31259 cat conftest.err >&5
31260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31261 (exit $ac_status); } &&
31262 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31264 (eval $ac_try) 2>&5
31266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31267 (exit $ac_status); }; } &&
31268 { ac_try='test -s conftest$ac_exeext'
31269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31270 (eval $ac_try) 2>&5
31272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31273 (exit $ac_status); }; }; then
31274 eval "$as_ac_var=yes"
31276 echo "$as_me: failed program was:" >&5
31277 sed 's/^/| /' conftest.$ac_ext >&5
31279 eval "$as_ac_var=no"
31281 rm -f conftest.err conftest.$ac_objext \
31282 conftest$ac_exeext conftest.$ac_ext
31284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31286 if test `eval echo '${'$as_ac_var'}'` = yes; then
31287 cat >>confdefs.h <<_ACEOF
31288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31294 CXXFLAGS="$save_CXXFLAGS"
31298 wxUSE_UNIVERSAL="yes"
31300 if test "$wxUSE_NANOX" = "yes"; then
31301 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31302 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"
31303 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31305 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31312 if test "$wxUSE_MOTIF" = 1; then
31313 if test "$wxUSE_UNICODE" = "yes"; then
31314 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31315 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31316 { (exit 1); exit 1; }; }
31319 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31320 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31323 for ac_dir in $SEARCH_INCLUDE /usr/include;
31325 if test -f "$ac_dir/Xm/Xm.h"; then
31326 ac_find_includes=$ac_dir
31331 if test "$ac_find_includes" != "" ; then
31332 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31333 echo "${ECHO_T}found in $ac_find_includes" >&6
31335 if test "x$ac_find_includes" = "x/usr/include"; then
31336 ac_path_to_include=""
31338 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31340 if test $result = 0; then
31341 ac_path_to_include=""
31343 ac_path_to_include=" -I$ac_find_includes"
31347 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31349 save_CXXFLAGS=$CXXFLAGS
31350 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31352 cat >conftest.$ac_ext <<_ACEOF
31355 cat confdefs.h >>conftest.$ac_ext
31356 cat >>conftest.$ac_ext <<_ACEOF
31357 /* end confdefs.h. */
31366 version = xmUseVersion;
31372 rm -f conftest.$ac_objext
31373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31374 (eval $ac_compile) 2>conftest.er1
31376 grep -v '^ *+' conftest.er1 >conftest.err
31378 cat conftest.err >&5
31379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31380 (exit $ac_status); } &&
31381 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31383 (eval $ac_try) 2>&5
31385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31386 (exit $ac_status); }; } &&
31387 { ac_try='test -s conftest.$ac_objext'
31388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31389 (eval $ac_try) 2>&5
31391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31392 (exit $ac_status); }; }; then
31394 echo "$as_me:$LINENO: result: found in default search path" >&5
31395 echo "${ECHO_T}found in default search path" >&6
31396 COMPILED_X_PROGRAM=1
31399 echo "$as_me: failed program was:" >&5
31400 sed 's/^/| /' conftest.$ac_ext >&5
31403 echo "$as_me:$LINENO: result: no" >&5
31404 echo "${ECHO_T}no" >&6
31405 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31406 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31407 { (exit 1); exit 1; }; }
31411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31413 CXXFLAGS=$save_CXXFLAGS
31417 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31418 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31421 for ac_dir in $SEARCH_LIB;
31423 for ac_extension in a so sl dylib dll.a; do
31424 if test -f "$ac_dir/libXm.$ac_extension"; then
31425 ac_find_libraries=$ac_dir
31432 if test "x$ac_find_libraries" != "x" ; then
31433 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31434 echo "${ECHO_T}found in $ac_find_libraries" >&6
31437 if test "$ac_find_libraries" = "default location"; then
31440 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31442 if test $result = 0; then
31445 ac_path_to_link=" -L$ac_find_libraries"
31449 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31451 save_CXXFLAGS=$CXXFLAGS
31452 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31454 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31456 cat >conftest.$ac_ext <<_ACEOF
31459 cat confdefs.h >>conftest.$ac_ext
31460 cat >>conftest.$ac_ext <<_ACEOF
31461 /* end confdefs.h. */
31470 version = xmUseVersion;
31476 rm -f conftest.$ac_objext conftest$ac_exeext
31477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31478 (eval $ac_link) 2>conftest.er1
31480 grep -v '^ *+' conftest.er1 >conftest.err
31482 cat conftest.err >&5
31483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484 (exit $ac_status); } &&
31485 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31487 (eval $ac_try) 2>&5
31489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490 (exit $ac_status); }; } &&
31491 { ac_try='test -s conftest$ac_exeext'
31492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31493 (eval $ac_try) 2>&5
31495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31496 (exit $ac_status); }; }; then
31498 echo "$as_me:$LINENO: result: found in default search path" >&5
31499 echo "${ECHO_T}found in default search path" >&6
31500 COMPILED_X_PROGRAM=1
31503 echo "$as_me: failed program was:" >&5
31504 sed 's/^/| /' conftest.$ac_ext >&5
31507 echo "$as_me:$LINENO: result: no" >&5
31508 echo "${ECHO_T}no" >&6
31509 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31510 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31511 { (exit 1); exit 1; }; }
31515 rm -f conftest.err conftest.$ac_objext \
31516 conftest$ac_exeext conftest.$ac_ext
31518 CXXFLAGS=$save_CXXFLAGS
31522 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31523 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31527 for libp in "" " -lXp"; do
31528 if test "$libs_found" = "0"; then
31529 for libsm_ice in "" " -lSM -lICE"; do
31530 if test "$libs_found" = "0"; then
31532 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31533 save_CXXFLAGS=$CXXFLAGS
31534 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31536 cat >conftest.$ac_ext <<_ACEOF
31539 cat confdefs.h >>conftest.$ac_ext
31540 cat >>conftest.$ac_ext <<_ACEOF
31541 /* end confdefs.h. */
31544 #include <Xm/List.h>
31550 XmString string = NULL;
31553 XmListAddItem(w, string, position);
31559 rm -f conftest.$ac_objext conftest$ac_exeext
31560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31561 (eval $ac_link) 2>conftest.er1
31563 grep -v '^ *+' conftest.er1 >conftest.err
31565 cat conftest.err >&5
31566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31567 (exit $ac_status); } &&
31568 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31570 (eval $ac_try) 2>&5
31572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31573 (exit $ac_status); }; } &&
31574 { ac_try='test -s conftest$ac_exeext'
31575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31576 (eval $ac_try) 2>&5
31578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31579 (exit $ac_status); }; }; then
31582 libsm_ice_link="$libsm_ice"
31583 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31584 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31588 echo "$as_me: failed program was:" >&5
31589 sed 's/^/| /' conftest.$ac_ext >&5
31594 rm -f conftest.err conftest.$ac_objext \
31595 conftest$ac_exeext conftest.$ac_ext
31598 CXXFLAGS=$save_CXXFLAGS
31604 if test "$libs_found" = "0"; then
31605 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31606 echo "${ECHO_T}can't find the right libraries" >&6
31607 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31608 echo "$as_me: error: can't link a simple motif program" >&2;}
31609 { (exit 1); exit 1; }; }
31612 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31613 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31614 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31615 echo $ECHO_N "(cached) $ECHO_C" >&6
31617 ac_check_lib_save_LIBS=$LIBS
31619 cat >conftest.$ac_ext <<_ACEOF
31622 cat confdefs.h >>conftest.$ac_ext
31623 cat >>conftest.$ac_ext <<_ACEOF
31624 /* end confdefs.h. */
31626 /* Override any gcc2 internal prototype to avoid an error. */
31630 /* We use char because int might match the return type of a gcc2
31631 builtin and then its argument prototype would still apply. */
31632 char SgCreateList ();
31641 rm -f conftest.$ac_objext conftest$ac_exeext
31642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31643 (eval $ac_link) 2>conftest.er1
31645 grep -v '^ *+' conftest.er1 >conftest.err
31647 cat conftest.err >&5
31648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31649 (exit $ac_status); } &&
31650 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31652 (eval $ac_try) 2>&5
31654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31655 (exit $ac_status); }; } &&
31656 { ac_try='test -s conftest$ac_exeext'
31657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31658 (eval $ac_try) 2>&5
31660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31661 (exit $ac_status); }; }; then
31662 ac_cv_lib_Sgm_SgCreateList=yes
31664 echo "$as_me: failed program was:" >&5
31665 sed 's/^/| /' conftest.$ac_ext >&5
31667 ac_cv_lib_Sgm_SgCreateList=no
31669 rm -f conftest.err conftest.$ac_objext \
31670 conftest$ac_exeext conftest.$ac_ext
31671 LIBS=$ac_check_lib_save_LIBS
31673 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31674 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31675 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31676 libsgm_link=" -lSgm"
31680 save_CXXFLAGS=$CXXFLAGS
31681 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31683 echo "$as_me:$LINENO: checking for Motif 2" >&5
31684 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31685 if test "${wx_cv_lib_motif2+set}" = set; then
31686 echo $ECHO_N "(cached) $ECHO_C" >&6
31688 cat >conftest.$ac_ext <<_ACEOF
31691 cat confdefs.h >>conftest.$ac_ext
31692 cat >>conftest.$ac_ext <<_ACEOF
31693 /* end confdefs.h. */
31701 #if XmVersion < 2000
31709 rm -f conftest.$ac_objext
31710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31711 (eval $ac_compile) 2>conftest.er1
31713 grep -v '^ *+' conftest.er1 >conftest.err
31715 cat conftest.err >&5
31716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31717 (exit $ac_status); } &&
31718 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31720 (eval $ac_try) 2>&5
31722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31723 (exit $ac_status); }; } &&
31724 { ac_try='test -s conftest.$ac_objext'
31725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31726 (eval $ac_try) 2>&5
31728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31729 (exit $ac_status); }; }; then
31730 wx_cv_lib_motif2="yes"
31732 echo "$as_me: failed program was:" >&5
31733 sed 's/^/| /' conftest.$ac_ext >&5
31735 wx_cv_lib_motif2="no"
31737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31739 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31740 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31741 if test "$wx_cv_lib_motif2" = "yes"; then
31742 cat >>confdefs.h <<\_ACEOF
31743 #define __WXMOTIF20__ 1
31747 cat >>confdefs.h <<\_ACEOF
31748 #define __WXMOTIF20__ 0
31753 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31754 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31755 if test "${wx_cv_lib_lesstif+set}" = set; then
31756 echo $ECHO_N "(cached) $ECHO_C" >&6
31758 cat >conftest.$ac_ext <<_ACEOF
31761 cat confdefs.h >>conftest.$ac_ext
31762 cat >>conftest.$ac_ext <<_ACEOF
31763 /* end confdefs.h. */
31771 #if !defined(LesstifVersion) || LesstifVersion <= 0
31779 rm -f conftest.$ac_objext
31780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31781 (eval $ac_compile) 2>conftest.er1
31783 grep -v '^ *+' conftest.er1 >conftest.err
31785 cat conftest.err >&5
31786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31787 (exit $ac_status); } &&
31788 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31790 (eval $ac_try) 2>&5
31792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31793 (exit $ac_status); }; } &&
31794 { ac_try='test -s conftest.$ac_objext'
31795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31796 (eval $ac_try) 2>&5
31798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31799 (exit $ac_status); }; }; then
31800 wx_cv_lib_lesstif="yes"
31802 echo "$as_me: failed program was:" >&5
31803 sed 's/^/| /' conftest.$ac_ext >&5
31805 wx_cv_lib_lesstif="no"
31807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31810 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31811 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31812 if test "$wx_cv_lib_lesstif" = "yes"; then
31813 cat >>confdefs.h <<\_ACEOF
31814 #define __WXLESSTIF__ 1
31818 cat >>confdefs.h <<\_ACEOF
31819 #define __WXLESSTIF__ 0
31824 CXXFLAGS=$save_CXXFLAGS
31826 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31831 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31832 if test "$wxUSE_LIBXPM" = "sys"; then
31833 echo "$as_me:$LINENO: checking for Xpm library" >&5
31834 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31837 for ac_dir in $SEARCH_LIB;
31839 for ac_extension in a so sl dylib dll.a; do
31840 if test -f "$ac_dir/libXpm.$ac_extension"; then
31841 ac_find_libraries=$ac_dir
31847 if test "$ac_find_libraries" != "" ; then
31849 if test "$ac_find_libraries" = "default location"; then
31852 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31854 if test $result = 0; then
31857 ac_path_to_link=" -L$ac_find_libraries"
31861 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31862 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31863 echo "${ECHO_T}found in $ac_find_libraries" >&6
31865 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31866 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31867 if test "${wx_cv_x11_xpm_h+set}" = set; then
31868 echo $ECHO_N "(cached) $ECHO_C" >&6
31871 save_CXXFLAGS=$CXXFLAGS
31872 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31874 cat >conftest.$ac_ext <<_ACEOF
31877 cat confdefs.h >>conftest.$ac_ext
31878 cat >>conftest.$ac_ext <<_ACEOF
31879 /* end confdefs.h. */
31881 #include <X11/xpm.h>
31888 version = XpmLibraryVersion();
31894 rm -f conftest.$ac_objext
31895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31896 (eval $ac_compile) 2>conftest.er1
31898 grep -v '^ *+' conftest.er1 >conftest.err
31900 cat conftest.err >&5
31901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31902 (exit $ac_status); } &&
31903 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31905 (eval $ac_try) 2>&5
31907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31908 (exit $ac_status); }; } &&
31909 { ac_try='test -s conftest.$ac_objext'
31910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31911 (eval $ac_try) 2>&5
31913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31914 (exit $ac_status); }; }; then
31915 wx_cv_x11_xpm_h=yes
31917 echo "$as_me: failed program was:" >&5
31918 sed 's/^/| /' conftest.$ac_ext >&5
31923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31925 CXXFLAGS=$save_CXXFLAGS
31929 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31930 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31932 if test $wx_cv_x11_xpm_h = "yes"; then
31933 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31934 cat >>confdefs.h <<\_ACEOF
31935 #define wxHAVE_LIB_XPM 1
31939 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31940 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31946 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31947 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31948 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31949 echo $ECHO_N "(cached) $ECHO_C" >&6
31951 ac_check_lib_save_LIBS=$LIBS
31952 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31953 cat >conftest.$ac_ext <<_ACEOF
31956 cat confdefs.h >>conftest.$ac_ext
31957 cat >>conftest.$ac_ext <<_ACEOF
31958 /* end confdefs.h. */
31960 /* Override any gcc2 internal prototype to avoid an error. */
31964 /* We use char because int might match the return type of a gcc2
31965 builtin and then its argument prototype would still apply. */
31966 char XShapeQueryExtension ();
31970 XShapeQueryExtension ();
31975 rm -f conftest.$ac_objext conftest$ac_exeext
31976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31977 (eval $ac_link) 2>conftest.er1
31979 grep -v '^ *+' conftest.er1 >conftest.err
31981 cat conftest.err >&5
31982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31983 (exit $ac_status); } &&
31984 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31986 (eval $ac_try) 2>&5
31988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31989 (exit $ac_status); }; } &&
31990 { ac_try='test -s conftest$ac_exeext'
31991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31992 (eval $ac_try) 2>&5
31994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31995 (exit $ac_status); }; }; then
31996 ac_cv_lib_Xext_XShapeQueryExtension=yes
31998 echo "$as_me: failed program was:" >&5
31999 sed 's/^/| /' conftest.$ac_ext >&5
32001 ac_cv_lib_Xext_XShapeQueryExtension=no
32003 rm -f conftest.err conftest.$ac_objext \
32004 conftest$ac_exeext conftest.$ac_ext
32005 LIBS=$ac_check_lib_save_LIBS
32007 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32008 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32009 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32011 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32017 if test "$wxHAVE_XEXT_LIB" = 1; then
32018 save_CXXFLAGS="$CXXFLAGS"
32019 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32021 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32022 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32023 cat >conftest.$ac_ext <<_ACEOF
32026 cat confdefs.h >>conftest.$ac_ext
32027 cat >>conftest.$ac_ext <<_ACEOF
32028 /* end confdefs.h. */
32030 #include <X11/Xlib.h>
32031 #include <X11/extensions/shape.h>
32037 int dummy1, dummy2;
32038 XShapeQueryExtension((Display*)NULL,
32039 (int*)NULL, (int*)NULL);
32045 rm -f conftest.$ac_objext
32046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32047 (eval $ac_compile) 2>conftest.er1
32049 grep -v '^ *+' conftest.er1 >conftest.err
32051 cat conftest.err >&5
32052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32053 (exit $ac_status); } &&
32054 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32056 (eval $ac_try) 2>&5
32058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32059 (exit $ac_status); }; } &&
32060 { ac_try='test -s conftest.$ac_objext'
32061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32062 (eval $ac_try) 2>&5
32064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32065 (exit $ac_status); }; }; then
32067 cat >>confdefs.h <<\_ACEOF
32068 #define HAVE_XSHAPE 1
32071 echo "$as_me:$LINENO: result: found" >&5
32072 echo "${ECHO_T}found" >&6
32075 echo "$as_me: failed program was:" >&5
32076 sed 's/^/| /' conftest.$ac_ext >&5
32079 echo "$as_me:$LINENO: result: not found" >&5
32080 echo "${ECHO_T}not found" >&6
32083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32084 CXXFLAGS="$save_CXXFLAGS"
32089 if test "$wxUSE_MAC" = 1; then
32090 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32091 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32092 if test "$GCC" = yes; then
32093 echo "$as_me:$LINENO: result: gcc" >&5
32094 echo "${ECHO_T}gcc" >&6
32095 CPPFLAGS_PASCAL="-fpascal-strings"
32096 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32097 echo "$as_me:$LINENO: result: xlc" >&5
32098 echo "${ECHO_T}xlc" >&6
32099 CPPFLAGS_PASCAL="-qmacpstr"
32101 echo "$as_me:$LINENO: result: none" >&5
32102 echo "${ECHO_T}none" >&6
32105 if test "x$wxUSE_UNIX" = "xyes"; then
32106 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32108 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32113 WXBASEPORT="_carbon"
32116 if test "$wxUSE_COCOA" = 1; then
32121 if test "$wxUSE_PM" = 1; then
32124 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32125 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32126 if test "${wx_cv_spbcdata+set}" = set; then
32127 echo $ECHO_N "(cached) $ECHO_C" >&6
32130 cat >conftest.$ac_ext <<_ACEOF
32133 cat confdefs.h >>conftest.$ac_ext
32134 cat >>conftest.$ac_ext <<_ACEOF
32135 /* end confdefs.h. */
32150 rm -f conftest.$ac_objext
32151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32152 (eval $ac_compile) 2>conftest.er1
32154 grep -v '^ *+' conftest.er1 >conftest.err
32156 cat conftest.err >&5
32157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32158 (exit $ac_status); } &&
32159 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32161 (eval $ac_try) 2>&5
32163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32164 (exit $ac_status); }; } &&
32165 { ac_try='test -s conftest.$ac_objext'
32166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32167 (eval $ac_try) 2>&5
32169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32170 (exit $ac_status); }; }; then
32173 echo "$as_me: failed program was:" >&5
32174 sed 's/^/| /' conftest.$ac_ext >&5
32179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32183 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32184 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32186 if test $wx_cv_spbcdata = "yes"; then
32187 cat >>confdefs.h <<\_ACEOF
32188 #define HAVE_SPBCDATA 1
32194 if test "$TOOLKIT" = "PM" ; then
32197 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32200 if test "$wxUSE_UNIVERSAL" = "yes"; then
32201 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32205 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32206 DISTDIR="wx\$(TOOLKIT)"
32212 if test "$USE_WIN32" = 1 ; then
32216 GUIDIST="BASE_DIST"
32221 if test "$wxUSE_GUI" = "yes"; then
32222 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32224 for ac_header in X11/Xlib.h
32226 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32227 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32228 echo "$as_me:$LINENO: checking for $ac_header" >&5
32229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32231 echo $ECHO_N "(cached) $ECHO_C" >&6
32233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32236 # Is the header compilable?
32237 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32238 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32239 cat >conftest.$ac_ext <<_ACEOF
32242 cat confdefs.h >>conftest.$ac_ext
32243 cat >>conftest.$ac_ext <<_ACEOF
32244 /* end confdefs.h. */
32245 $ac_includes_default
32246 #include <$ac_header>
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" || test ! -s conftest.err'
32258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32259 (eval $ac_try) 2>&5
32261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32262 (exit $ac_status); }; } &&
32263 { ac_try='test -s conftest.$ac_objext'
32264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32265 (eval $ac_try) 2>&5
32267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32268 (exit $ac_status); }; }; then
32269 ac_header_compiler=yes
32271 echo "$as_me: failed program was:" >&5
32272 sed 's/^/| /' conftest.$ac_ext >&5
32274 ac_header_compiler=no
32276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32277 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32278 echo "${ECHO_T}$ac_header_compiler" >&6
32280 # Is the header present?
32281 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32282 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32283 cat >conftest.$ac_ext <<_ACEOF
32286 cat confdefs.h >>conftest.$ac_ext
32287 cat >>conftest.$ac_ext <<_ACEOF
32288 /* end confdefs.h. */
32289 #include <$ac_header>
32291 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32292 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32294 grep -v '^ *+' conftest.er1 >conftest.err
32296 cat conftest.err >&5
32297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32298 (exit $ac_status); } >/dev/null; then
32299 if test -s conftest.err; then
32300 ac_cpp_err=$ac_cxx_preproc_warn_flag
32301 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32308 if test -z "$ac_cpp_err"; then
32309 ac_header_preproc=yes
32311 echo "$as_me: failed program was:" >&5
32312 sed 's/^/| /' conftest.$ac_ext >&5
32314 ac_header_preproc=no
32316 rm -f conftest.err conftest.$ac_ext
32317 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32318 echo "${ECHO_T}$ac_header_preproc" >&6
32320 # So? What about this header?
32321 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32323 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32324 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32325 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32326 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32327 ac_header_preproc=yes
32330 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32331 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32332 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32333 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32334 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32335 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32336 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32337 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32338 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32339 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32340 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32341 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32344 ## ----------------------------------------- ##
32345 ## Report this to wx-dev@lists.wxwidgets.org ##
32346 ## ----------------------------------------- ##
32349 sed "s/^/$as_me: WARNING: /" >&2
32352 echo "$as_me:$LINENO: checking for $ac_header" >&5
32353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32355 echo $ECHO_N "(cached) $ECHO_C" >&6
32357 eval "$as_ac_Header=\$ac_header_preproc"
32359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32360 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32363 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32364 cat >>confdefs.h <<_ACEOF
32365 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32373 for ac_header in X11/XKBlib.h
32375 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32376 echo "$as_me:$LINENO: checking for $ac_header" >&5
32377 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32378 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32379 echo $ECHO_N "(cached) $ECHO_C" >&6
32381 cat >conftest.$ac_ext <<_ACEOF
32384 cat confdefs.h >>conftest.$ac_ext
32385 cat >>conftest.$ac_ext <<_ACEOF
32386 /* end confdefs.h. */
32388 #if HAVE_X11_XLIB_H
32389 #include <X11/Xlib.h>
32393 #include <$ac_header>
32395 rm -f conftest.$ac_objext
32396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32397 (eval $ac_compile) 2>conftest.er1
32399 grep -v '^ *+' conftest.er1 >conftest.err
32401 cat conftest.err >&5
32402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32403 (exit $ac_status); } &&
32404 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32406 (eval $ac_try) 2>&5
32408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32409 (exit $ac_status); }; } &&
32410 { ac_try='test -s conftest.$ac_objext'
32411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32412 (eval $ac_try) 2>&5
32414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32415 (exit $ac_status); }; }; then
32416 eval "$as_ac_Header=yes"
32418 echo "$as_me: failed program was:" >&5
32419 sed 's/^/| /' conftest.$ac_ext >&5
32421 eval "$as_ac_Header=no"
32423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32428 cat >>confdefs.h <<_ACEOF
32429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32444 if test "$TOOLKIT" != "MSW" ; then
32446 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32448 if test "${ac_cv_header_sql_h+set}" = set; then
32449 echo "$as_me:$LINENO: checking for sql.h" >&5
32450 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32451 if test "${ac_cv_header_sql_h+set}" = set; then
32452 echo $ECHO_N "(cached) $ECHO_C" >&6
32454 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32455 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32457 # Is the header compilable?
32458 echo "$as_me:$LINENO: checking sql.h usability" >&5
32459 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32460 cat >conftest.$ac_ext <<_ACEOF
32463 cat confdefs.h >>conftest.$ac_ext
32464 cat >>conftest.$ac_ext <<_ACEOF
32465 /* end confdefs.h. */
32466 $ac_includes_default
32469 rm -f conftest.$ac_objext
32470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32471 (eval $ac_compile) 2>conftest.er1
32473 grep -v '^ *+' conftest.er1 >conftest.err
32475 cat conftest.err >&5
32476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32477 (exit $ac_status); } &&
32478 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32480 (eval $ac_try) 2>&5
32482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32483 (exit $ac_status); }; } &&
32484 { ac_try='test -s conftest.$ac_objext'
32485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32486 (eval $ac_try) 2>&5
32488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32489 (exit $ac_status); }; }; then
32490 ac_header_compiler=yes
32492 echo "$as_me: failed program was:" >&5
32493 sed 's/^/| /' conftest.$ac_ext >&5
32495 ac_header_compiler=no
32497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32498 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32499 echo "${ECHO_T}$ac_header_compiler" >&6
32501 # Is the header present?
32502 echo "$as_me:$LINENO: checking sql.h presence" >&5
32503 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32504 cat >conftest.$ac_ext <<_ACEOF
32507 cat confdefs.h >>conftest.$ac_ext
32508 cat >>conftest.$ac_ext <<_ACEOF
32509 /* end confdefs.h. */
32512 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32513 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32515 grep -v '^ *+' conftest.er1 >conftest.err
32517 cat conftest.err >&5
32518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32519 (exit $ac_status); } >/dev/null; then
32520 if test -s conftest.err; then
32521 ac_cpp_err=$ac_cxx_preproc_warn_flag
32522 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32529 if test -z "$ac_cpp_err"; then
32530 ac_header_preproc=yes
32532 echo "$as_me: failed program was:" >&5
32533 sed 's/^/| /' conftest.$ac_ext >&5
32535 ac_header_preproc=no
32537 rm -f conftest.err conftest.$ac_ext
32538 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32539 echo "${ECHO_T}$ac_header_preproc" >&6
32541 # So? What about this header?
32542 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32544 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32545 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32546 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32547 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32548 ac_header_preproc=yes
32551 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32552 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32553 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32554 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32555 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32556 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32557 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32558 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32559 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32560 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32561 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32562 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32565 ## ----------------------------------------- ##
32566 ## Report this to wx-dev@lists.wxwidgets.org ##
32567 ## ----------------------------------------- ##
32570 sed "s/^/$as_me: WARNING: /" >&2
32573 echo "$as_me:$LINENO: checking for sql.h" >&5
32574 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32575 if test "${ac_cv_header_sql_h+set}" = set; then
32576 echo $ECHO_N "(cached) $ECHO_C" >&6
32578 ac_cv_header_sql_h=$ac_header_preproc
32580 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32581 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32584 if test $ac_cv_header_sql_h = yes; then
32589 if test "x$found_sql_h" = "x1" ; then
32590 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32591 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32592 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32593 echo $ECHO_N "(cached) $ECHO_C" >&6
32595 ac_check_lib_save_LIBS=$LIBS
32596 LIBS="-liodbc $LIBS"
32597 cat >conftest.$ac_ext <<_ACEOF
32600 cat confdefs.h >>conftest.$ac_ext
32601 cat >>conftest.$ac_ext <<_ACEOF
32602 /* end confdefs.h. */
32604 /* Override any gcc2 internal prototype to avoid an error. */
32608 /* We use char because int might match the return type of a gcc2
32609 builtin and then its argument prototype would still apply. */
32610 char SQLAllocEnv ();
32619 rm -f conftest.$ac_objext conftest$ac_exeext
32620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32621 (eval $ac_link) 2>conftest.er1
32623 grep -v '^ *+' conftest.er1 >conftest.err
32625 cat conftest.err >&5
32626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32627 (exit $ac_status); } &&
32628 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32630 (eval $ac_try) 2>&5
32632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32633 (exit $ac_status); }; } &&
32634 { ac_try='test -s conftest$ac_exeext'
32635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32636 (eval $ac_try) 2>&5
32638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32639 (exit $ac_status); }; }; then
32640 ac_cv_lib_iodbc_SQLAllocEnv=yes
32642 echo "$as_me: failed program was:" >&5
32643 sed 's/^/| /' conftest.$ac_ext >&5
32645 ac_cv_lib_iodbc_SQLAllocEnv=no
32647 rm -f conftest.err conftest.$ac_objext \
32648 conftest$ac_exeext conftest.$ac_ext
32649 LIBS=$ac_check_lib_save_LIBS
32651 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32652 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32653 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32654 ODBC_LINK=" -liodbc"
32657 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32658 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32659 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32660 echo $ECHO_N "(cached) $ECHO_C" >&6
32662 ac_check_lib_save_LIBS=$LIBS
32663 LIBS="-lunixodbc $LIBS"
32664 cat >conftest.$ac_ext <<_ACEOF
32667 cat confdefs.h >>conftest.$ac_ext
32668 cat >>conftest.$ac_ext <<_ACEOF
32669 /* end confdefs.h. */
32671 /* Override any gcc2 internal prototype to avoid an error. */
32675 /* We use char because int might match the return type of a gcc2
32676 builtin and then its argument prototype would still apply. */
32677 char SQLAllocEnv ();
32686 rm -f conftest.$ac_objext conftest$ac_exeext
32687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32688 (eval $ac_link) 2>conftest.er1
32690 grep -v '^ *+' conftest.er1 >conftest.err
32692 cat conftest.err >&5
32693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32694 (exit $ac_status); } &&
32695 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32697 (eval $ac_try) 2>&5
32699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32700 (exit $ac_status); }; } &&
32701 { ac_try='test -s conftest$ac_exeext'
32702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32703 (eval $ac_try) 2>&5
32705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32706 (exit $ac_status); }; }; then
32707 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32709 echo "$as_me: failed program was:" >&5
32710 sed 's/^/| /' conftest.$ac_ext >&5
32712 ac_cv_lib_unixodbc_SQLAllocEnv=no
32714 rm -f conftest.err conftest.$ac_objext \
32715 conftest$ac_exeext conftest.$ac_ext
32716 LIBS=$ac_check_lib_save_LIBS
32718 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32719 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32720 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32721 ODBC_LINK=" -lunixodbc"
32724 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32725 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32726 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32727 echo $ECHO_N "(cached) $ECHO_C" >&6
32729 ac_check_lib_save_LIBS=$LIBS
32730 LIBS="-lodbc $LIBS"
32731 cat >conftest.$ac_ext <<_ACEOF
32734 cat confdefs.h >>conftest.$ac_ext
32735 cat >>conftest.$ac_ext <<_ACEOF
32736 /* end confdefs.h. */
32738 /* Override any gcc2 internal prototype to avoid an error. */
32742 /* We use char because int might match the return type of a gcc2
32743 builtin and then its argument prototype would still apply. */
32744 char SQLAllocEnv ();
32753 rm -f conftest.$ac_objext conftest$ac_exeext
32754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32755 (eval $ac_link) 2>conftest.er1
32757 grep -v '^ *+' conftest.er1 >conftest.err
32759 cat conftest.err >&5
32760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32761 (exit $ac_status); } &&
32762 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32764 (eval $ac_try) 2>&5
32766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32767 (exit $ac_status); }; } &&
32768 { ac_try='test -s conftest$ac_exeext'
32769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32770 (eval $ac_try) 2>&5
32772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32773 (exit $ac_status); }; }; then
32774 ac_cv_lib_odbc_SQLAllocEnv=yes
32776 echo "$as_me: failed program was:" >&5
32777 sed 's/^/| /' conftest.$ac_ext >&5
32779 ac_cv_lib_odbc_SQLAllocEnv=no
32781 rm -f conftest.err conftest.$ac_objext \
32782 conftest$ac_exeext conftest.$ac_ext
32783 LIBS=$ac_check_lib_save_LIBS
32785 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32786 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32787 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32788 ODBC_LINK=" -lodbc"
32798 if test "x$ODBC_LINK" = "x" ; then
32799 if test "$wxUSE_ODBC" = "sys" ; then
32800 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32801 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32802 { (exit 1); exit 1; }; }
32804 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32805 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32813 if test "$wxUSE_ODBC" = "builtin" ; then
32814 cat >>confdefs.h <<\_ACEOF
32815 #define wxUSE_BUILTIN_IODBC 1
32821 if test "$wxUSE_ODBC" != "no" ; then
32822 cat >>confdefs.h <<\_ACEOF
32823 #define wxUSE_ODBC 1
32826 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32828 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32832 if test "$wxUSE_DISPLAY" = "yes"; then
32833 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32834 echo "$as_me:$LINENO: checking for Xinerama" >&5
32835 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32838 for ac_dir in $SEARCH_LIB;
32840 for ac_extension in a so sl dylib dll.a; do
32841 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32842 ac_find_libraries=$ac_dir
32848 if test "$ac_find_libraries" != "" ; then
32850 if test "$ac_find_libraries" = "default location"; then
32853 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32855 if test $result = 0; then
32858 ac_path_to_link=" -L$ac_find_libraries"
32862 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32863 LDFLAGS="$LDFLAGS $ac_path_to_link"
32865 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32866 echo "$as_me:$LINENO: result: yes" >&5
32867 echo "${ECHO_T}yes" >&6
32869 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32870 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32873 for ac_dir in $SEARCH_LIB;
32875 for ac_extension in a so sl dylib dll.a; do
32876 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32877 ac_find_libraries=$ac_dir
32883 if test "$ac_find_libraries" != "" ; then
32884 echo "$as_me:$LINENO: result: yes" >&5
32885 echo "${ECHO_T}yes" >&6
32887 for ac_header in X11/extensions/xf86vmode.h
32889 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32890 echo "$as_me:$LINENO: checking for $ac_header" >&5
32891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32893 echo $ECHO_N "(cached) $ECHO_C" >&6
32895 cat >conftest.$ac_ext <<_ACEOF
32898 cat confdefs.h >>conftest.$ac_ext
32899 cat >>conftest.$ac_ext <<_ACEOF
32900 /* end confdefs.h. */
32902 #if HAVE_X11_XLIB_H
32903 #include <X11/Xlib.h>
32907 #include <$ac_header>
32909 rm -f conftest.$ac_objext
32910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32911 (eval $ac_compile) 2>conftest.er1
32913 grep -v '^ *+' conftest.er1 >conftest.err
32915 cat conftest.err >&5
32916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32917 (exit $ac_status); } &&
32918 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32920 (eval $ac_try) 2>&5
32922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32923 (exit $ac_status); }; } &&
32924 { ac_try='test -s conftest.$ac_objext'
32925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32926 (eval $ac_try) 2>&5
32928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32929 (exit $ac_status); }; }; then
32930 eval "$as_ac_Header=yes"
32932 echo "$as_me: failed program was:" >&5
32933 sed 's/^/| /' conftest.$ac_ext >&5
32935 eval "$as_ac_Header=no"
32937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32941 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32942 cat >>confdefs.h <<_ACEOF
32943 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32946 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32953 echo "$as_me:$LINENO: result: no" >&5
32954 echo "${ECHO_T}no" >&6
32958 echo "$as_me:$LINENO: result: no" >&5
32959 echo "${ECHO_T}no" >&6
32960 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32961 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32964 elif test "$wxUSE_MSW" = 1; then
32966 for ac_header in ddraw.h
32968 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32969 echo "$as_me:$LINENO: checking for $ac_header" >&5
32970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32972 echo $ECHO_N "(cached) $ECHO_C" >&6
32974 cat >conftest.$ac_ext <<_ACEOF
32977 cat confdefs.h >>conftest.$ac_ext
32978 cat >>conftest.$ac_ext <<_ACEOF
32979 /* end confdefs.h. */
32980 #include <windows.h>
32982 #include <$ac_header>
32984 rm -f conftest.$ac_objext
32985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32986 (eval $ac_compile) 2>conftest.er1
32988 grep -v '^ *+' conftest.er1 >conftest.err
32990 cat conftest.err >&5
32991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32992 (exit $ac_status); } &&
32993 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32995 (eval $ac_try) 2>&5
32997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32998 (exit $ac_status); }; } &&
32999 { ac_try='test -s conftest.$ac_objext'
33000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33001 (eval $ac_try) 2>&5
33003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33004 (exit $ac_status); }; }; then
33005 eval "$as_ac_Header=yes"
33007 echo "$as_me: failed program was:" >&5
33008 sed 's/^/| /' conftest.$ac_ext >&5
33010 eval "$as_ac_Header=no"
33012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33016 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33017 cat >>confdefs.h <<_ACEOF
33018 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33028 if test "$wxUSE_DETECT_SM" = "yes"; then
33029 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33030 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33031 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33034 for ac_dir in $SEARCH_LIB;
33036 for ac_extension in a so sl dylib dll.a; do
33037 if test -f "$ac_dir/libSM.$ac_extension"; then
33038 ac_find_libraries=$ac_dir
33044 if test "$ac_find_libraries" != "" ; then
33046 if test "$ac_find_libraries" = "default location"; then
33049 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33051 if test $result = 0; then
33054 ac_path_to_link=" -L$ac_find_libraries"
33058 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33059 LDFLAGS="$LDFLAGS $ac_path_to_link"
33061 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33062 echo "$as_me:$LINENO: result: yes" >&5
33063 echo "${ECHO_T}yes" >&6
33065 echo "$as_me:$LINENO: result: no" >&5
33066 echo "${ECHO_T}no" >&6
33067 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33068 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33069 wxUSE_DETECT_SM="no"
33072 wxUSE_DETECT_SM="no"
33079 if test "$wxUSE_OPENGL" = "yes"; then
33080 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33081 OPENGL_LIBS="-framework OpenGL -framework AGL"
33082 elif test "$wxUSE_MSW" = 1; then
33083 OPENGL_LIBS="-lopengl32 -lglu32"
33088 for ac_dir in $SEARCH_INCLUDE /usr/include;
33090 if test -f "$ac_dir/GL/gl.h"; then
33091 ac_find_includes=$ac_dir
33096 if test "$ac_find_includes" != "" ; then
33097 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33098 echo "${ECHO_T}found in $ac_find_includes" >&6
33100 if test "x$ac_find_includes" = "x/usr/include"; then
33101 ac_path_to_include=""
33103 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33105 if test $result = 0; then
33106 ac_path_to_include=""
33108 ac_path_to_include=" -I$ac_find_includes"
33112 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33115 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33116 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33117 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33118 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33119 echo $ECHO_N "(cached) $ECHO_C" >&6
33121 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33122 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33124 # Is the header compilable?
33125 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33126 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33127 cat >conftest.$ac_ext <<_ACEOF
33130 cat confdefs.h >>conftest.$ac_ext
33131 cat >>conftest.$ac_ext <<_ACEOF
33132 /* end confdefs.h. */
33133 $ac_includes_default
33136 rm -f conftest.$ac_objext
33137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33138 (eval $ac_compile) 2>conftest.er1
33140 grep -v '^ *+' conftest.er1 >conftest.err
33142 cat conftest.err >&5
33143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33144 (exit $ac_status); } &&
33145 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33147 (eval $ac_try) 2>&5
33149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33150 (exit $ac_status); }; } &&
33151 { ac_try='test -s conftest.$ac_objext'
33152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33153 (eval $ac_try) 2>&5
33155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33156 (exit $ac_status); }; }; then
33157 ac_header_compiler=yes
33159 echo "$as_me: failed program was:" >&5
33160 sed 's/^/| /' conftest.$ac_ext >&5
33162 ac_header_compiler=no
33164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33165 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33166 echo "${ECHO_T}$ac_header_compiler" >&6
33168 # Is the header present?
33169 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33170 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33171 cat >conftest.$ac_ext <<_ACEOF
33174 cat confdefs.h >>conftest.$ac_ext
33175 cat >>conftest.$ac_ext <<_ACEOF
33176 /* end confdefs.h. */
33179 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33180 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33182 grep -v '^ *+' conftest.er1 >conftest.err
33184 cat conftest.err >&5
33185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33186 (exit $ac_status); } >/dev/null; then
33187 if test -s conftest.err; then
33188 ac_cpp_err=$ac_cxx_preproc_warn_flag
33189 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
33196 if test -z "$ac_cpp_err"; then
33197 ac_header_preproc=yes
33199 echo "$as_me: failed program was:" >&5
33200 sed 's/^/| /' conftest.$ac_ext >&5
33202 ac_header_preproc=no
33204 rm -f conftest.err conftest.$ac_ext
33205 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33206 echo "${ECHO_T}$ac_header_preproc" >&6
33208 # So? What about this header?
33209 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33211 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33212 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33213 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33214 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33215 ac_header_preproc=yes
33218 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33219 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33220 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33221 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33222 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33223 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33224 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33225 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33226 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33227 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33228 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33229 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33232 ## ----------------------------------------- ##
33233 ## Report this to wx-dev@lists.wxwidgets.org ##
33234 ## ----------------------------------------- ##
33237 sed "s/^/$as_me: WARNING: /" >&2
33240 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33241 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33242 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33243 echo $ECHO_N "(cached) $ECHO_C" >&6
33245 ac_cv_header_GL_gl_h=$ac_header_preproc
33247 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33248 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33251 if test $ac_cv_header_GL_gl_h = yes; then
33255 echo "$as_me:$LINENO: checking for -lGL" >&5
33256 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33259 for ac_dir in $SEARCH_LIB;
33261 for ac_extension in a so sl dylib dll.a; do
33262 if test -f "$ac_dir/libGL.$ac_extension"; then
33263 ac_find_libraries=$ac_dir
33269 if test "$ac_find_libraries" != "" ; then
33270 echo "$as_me:$LINENO: result: yes" >&5
33271 echo "${ECHO_T}yes" >&6
33274 if test "$ac_find_libraries" = "default location"; then
33277 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33279 if test $result = 0; then
33282 ac_path_to_link=" -L$ac_find_libraries"
33286 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33287 LDFLAGS_GL="$ac_path_to_link"
33290 echo "$as_me:$LINENO: checking for -lGLU" >&5
33291 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33294 for ac_dir in $SEARCH_LIB;
33296 for ac_extension in a so sl dylib dll.a; do
33297 if test -f "$ac_dir/libGLU.$ac_extension"; then
33298 ac_find_libraries=$ac_dir
33304 if test "$ac_find_libraries" != "" ; then
33306 if test "$ac_find_libraries" = "default location"; then
33309 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33311 if test $result = 0; then
33314 ac_path_to_link=" -L$ac_find_libraries"
33318 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33319 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33320 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33324 OPENGL_LIBS="-lGL -lGLU"
33325 echo "$as_me:$LINENO: result: yes" >&5
33326 echo "${ECHO_T}yes" >&6
33328 echo "$as_me:$LINENO: result: no" >&5
33329 echo "${ECHO_T}no" >&6
33332 echo "$as_me:$LINENO: result: no" >&5
33333 echo "${ECHO_T}no" >&6
33336 if test "$found_gl" != 1; then
33337 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33338 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33341 for ac_dir in $SEARCH_LIB;
33343 for ac_extension in a so sl dylib dll.a; do
33344 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33345 ac_find_libraries=$ac_dir
33351 if test "$ac_find_libraries" != "" ; then
33353 if test "$ac_find_libraries" = "default location"; then
33356 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33358 if test $result = 0; then
33361 ac_path_to_link=" -L$ac_find_libraries"
33365 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33366 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33367 echo "$as_me:$LINENO: result: yes" >&5
33368 echo "${ECHO_T}yes" >&6
33370 echo "$as_me:$LINENO: result: no" >&5
33371 echo "${ECHO_T}no" >&6
33379 if test "x$OPENGL_LIBS" = "x"; then
33380 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33381 echo "$as_me: error: OpenGL libraries not available" >&2;}
33382 { (exit 1); exit 1; }; }
33386 if test "$wxUSE_OPENGL" = "yes"; then
33388 cat >>confdefs.h <<\_ACEOF
33389 #define wxUSE_OPENGL 1
33392 cat >>confdefs.h <<\_ACEOF
33393 #define wxUSE_GLCANVAS 1
33396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33401 if test -n "$TOOLKIT" ; then
33402 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33407 if test "$wxUSE_SHARED" = "yes"; then
33411 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33412 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33417 if test "$wxUSE_SHARED" = "yes"; then
33420 found_versioning=no
33423 if test $found_versioning = no ; then
33424 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33425 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33426 if test "${wx_cv_version_script+set}" = set; then
33427 echo $ECHO_N "(cached) $ECHO_C" >&6
33430 echo "VER_1 { *; };" >conftest.sym
33431 echo "int main() { return 0; }" >conftest.cpp
33434 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33435 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33437 (eval $ac_try) 2>&5
33439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33440 (exit $ac_status); }; } ; then
33441 if test -s conftest.stderr ; then
33442 wx_cv_version_script=no
33444 wx_cv_version_script=yes
33447 wx_cv_version_script=no
33450 if test $wx_cv_version_script = yes
33452 echo "struct B { virtual ~B() { } }; \
33453 struct D : public B { }; \
33454 void F() { D d; }" > conftest.cpp
33457 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33458 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33460 (eval $ac_try) 2>&5
33462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33463 (exit $ac_status); }; } &&
33465 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33466 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33468 (eval $ac_try) 2>&5
33470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33471 (exit $ac_status); }; }
33474 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33475 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33477 (eval $ac_try) 2>&5
33479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33480 (exit $ac_status); }; }
33482 wx_cv_version_script=yes
33484 wx_cv_version_script=no
33489 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33490 rm -f conftest1.output conftest2.output conftest3.output
33493 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33494 echo "${ECHO_T}$wx_cv_version_script" >&6
33495 if test $wx_cv_version_script = yes ; then
33496 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
33502 *-*-linux* | *-*-gnu* )
33503 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33504 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33508 if test "$GCC" = yes ; then
33509 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33511 saveLdflags="$LDFLAGS"
33512 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33513 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33514 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33515 cat >conftest.$ac_ext <<_ACEOF
33518 cat confdefs.h >>conftest.$ac_ext
33519 cat >>conftest.$ac_ext <<_ACEOF
33520 /* end confdefs.h. */
33530 rm -f conftest.$ac_objext conftest$ac_exeext
33531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33532 (eval $ac_link) 2>conftest.er1
33534 grep -v '^ *+' conftest.er1 >conftest.err
33536 cat conftest.err >&5
33537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33538 (exit $ac_status); } &&
33539 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33541 (eval $ac_try) 2>&5
33543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33544 (exit $ac_status); }; } &&
33545 { ac_try='test -s conftest$ac_exeext'
33546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33547 (eval $ac_try) 2>&5
33549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33550 (exit $ac_status); }; }; then
33552 echo "$as_me:$LINENO: result: yes" >&5
33553 echo "${ECHO_T}yes" >&6
33554 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33555 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33558 echo "$as_me: failed program was:" >&5
33559 sed 's/^/| /' conftest.$ac_ext >&5
33562 echo "$as_me:$LINENO: result: no" >&5
33563 echo "${ECHO_T}no" >&6
33564 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33565 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33566 LDFLAGS="$saveLdflags -Wl,-R,/"
33567 cat >conftest.$ac_ext <<_ACEOF
33570 cat confdefs.h >>conftest.$ac_ext
33571 cat >>conftest.$ac_ext <<_ACEOF
33572 /* end confdefs.h. */
33582 rm -f conftest.$ac_objext conftest$ac_exeext
33583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33584 (eval $ac_link) 2>conftest.er1
33586 grep -v '^ *+' conftest.er1 >conftest.err
33588 cat conftest.err >&5
33589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33590 (exit $ac_status); } &&
33591 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33593 (eval $ac_try) 2>&5
33595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33596 (exit $ac_status); }; } &&
33597 { ac_try='test -s conftest$ac_exeext'
33598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33599 (eval $ac_try) 2>&5
33601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33602 (exit $ac_status); }; }; then
33604 echo "$as_me:$LINENO: result: yes" >&5
33605 echo "${ECHO_T}yes" >&6
33606 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
33607 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33610 echo "$as_me: failed program was:" >&5
33611 sed 's/^/| /' conftest.$ac_ext >&5
33614 echo "$as_me:$LINENO: result: no" >&5
33615 echo "${ECHO_T}no" >&6
33618 rm -f conftest.err conftest.$ac_objext \
33619 conftest$ac_exeext conftest.$ac_ext
33622 rm -f conftest.err conftest.$ac_objext \
33623 conftest$ac_exeext conftest.$ac_ext
33624 LDFLAGS="$saveLdflags"
33626 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
33627 WXCONFIG_RPATH="-R\$libdir"
33632 install_name_tool=`which install_name_tool`
33633 if test "$install_name_tool" -a -x "$install_name_tool"; then
33634 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33635 cat <<EOF >change-install-names
33637 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33638 inst_cmd="install_name_tool "
33639 for i in \${libnames} ; do
33640 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33644 chmod +x change-install-names
33648 *-*-cygwin* | *-*-mingw32* )
33649 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33653 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
33654 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33659 if test $wxUSE_RPATH = "no"; then
33660 SAMPLES_RPATH_FLAG=''
33661 SAMPLES_RPATH_POSTLINK=''
33669 config_linkage_component="-static"
33676 lib_unicode_suffix=
33678 if test "$wxUSE_UNICODE" = "yes"; then
33679 lib_unicode_suffix=u
33680 WX_CHARTYPE="unicode"
33685 WX_DEBUGTYPE="release"
33687 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33689 WX_DEBUGTYPE="debug"
33693 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33694 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33697 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33701 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33703 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33705 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33707 if test "$cross_compiling" = "yes"; then
33708 HOST_SUFFIX="-$host_alias"
33709 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33710 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33713 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33714 if test "${TOOLKIT_DIR}" = "os2"; then
33715 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33717 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33722 if test "$wxUSE_COCOA" = 1; then
33726 ac_cpp='$CPP $CPPFLAGS'
33727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33733 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33734 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33735 cat >conftest.$ac_ext <<_ACEOF
33738 cat confdefs.h >>conftest.$ac_ext
33739 cat >>conftest.$ac_ext <<_ACEOF
33740 /* end confdefs.h. */
33741 #include <AppKit/NSEvent.h>
33742 #include <CoreFoundation/CoreFoundation.h>
33752 rm -f conftest.$ac_objext
33753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33754 (eval $ac_compile) 2>conftest.er1
33756 grep -v '^ *+' conftest.er1 >conftest.err
33758 cat conftest.err >&5
33759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33760 (exit $ac_status); } &&
33761 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33763 (eval $ac_try) 2>&5
33765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33766 (exit $ac_status); }; } &&
33767 { ac_try='test -s conftest.$ac_objext'
33768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33769 (eval $ac_try) 2>&5
33771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33772 (exit $ac_status); }; }; then
33773 echo "$as_me:$LINENO: result: no" >&5
33774 echo "${ECHO_T}no" >&6
33776 echo "$as_me: failed program was:" >&5
33777 sed 's/^/| /' conftest.$ac_ext >&5
33779 echo "$as_me:$LINENO: result: yes" >&5
33780 echo "${ECHO_T}yes" >&6
33781 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33782 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33783 cat >conftest.$ac_ext <<_ACEOF
33786 cat confdefs.h >>conftest.$ac_ext
33787 cat >>conftest.$ac_ext <<_ACEOF
33788 /* end confdefs.h. */
33789 #define __Point__ 1
33790 #include <AppKit/NSEvent.h>
33791 #include <CoreFoundation/CoreFoundation.h>
33801 rm -f conftest.$ac_objext
33802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33803 (eval $ac_compile) 2>conftest.er1
33805 grep -v '^ *+' conftest.er1 >conftest.err
33807 cat conftest.err >&5
33808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33809 (exit $ac_status); } &&
33810 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33812 (eval $ac_try) 2>&5
33814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33815 (exit $ac_status); }; } &&
33816 { ac_try='test -s conftest.$ac_objext'
33817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33818 (eval $ac_try) 2>&5
33820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33821 (exit $ac_status); }; }; then
33822 echo "$as_me:$LINENO: result: yes" >&5
33823 echo "${ECHO_T}yes" >&6
33824 cat >>confdefs.h <<\_ACEOF
33825 #define __Point__ 1
33830 echo "$as_me: failed program was:" >&5
33831 sed 's/^/| /' conftest.$ac_ext >&5
33833 { { echo "$as_me:$LINENO: error: no
33834 See \`config.log' for more details." >&5
33835 echo "$as_me: error: no
33836 See \`config.log' for more details." >&2;}
33837 { (exit 1); exit 1; }; }
33840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33845 ac_cpp='$CXXCPP $CPPFLAGS'
33846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33852 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33853 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33854 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33856 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33858 # Extract the first word of "Rez", so it can be a program name with args.
33859 set dummy Rez; ac_word=$2
33860 echo "$as_me:$LINENO: checking for $ac_word" >&5
33861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33862 if test "${ac_cv_prog_REZ+set}" = set; then
33863 echo $ECHO_N "(cached) $ECHO_C" >&6
33865 if test -n "$REZ"; then
33866 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33869 for as_dir in $PATH
33872 test -z "$as_dir" && as_dir=.
33873 for ac_exec_ext in '' $ac_executable_extensions; do
33874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33875 ac_cv_prog_REZ="Rez"
33876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33882 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33885 REZ=$ac_cv_prog_REZ
33886 if test -n "$REZ"; then
33887 echo "$as_me:$LINENO: result: $REZ" >&5
33888 echo "${ECHO_T}$REZ" >&6
33890 echo "$as_me:$LINENO: result: no" >&5
33891 echo "${ECHO_T}no" >&6
33894 # Extract the first word of "DeRez", so it can be a program name with args.
33895 set dummy DeRez; ac_word=$2
33896 echo "$as_me:$LINENO: checking for $ac_word" >&5
33897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33898 if test "${ac_cv_prog_DEREZ+set}" = set; then
33899 echo $ECHO_N "(cached) $ECHO_C" >&6
33901 if test -n "$DEREZ"; then
33902 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33905 for as_dir in $PATH
33908 test -z "$as_dir" && as_dir=.
33909 for ac_exec_ext in '' $ac_executable_extensions; do
33910 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33911 ac_cv_prog_DEREZ="DeRez"
33912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33918 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33921 DEREZ=$ac_cv_prog_DEREZ
33922 if test -n "$DEREZ"; then
33923 echo "$as_me:$LINENO: result: $DEREZ" >&5
33924 echo "${ECHO_T}$DEREZ" >&6
33926 echo "$as_me:$LINENO: result: no" >&5
33927 echo "${ECHO_T}no" >&6
33930 # Extract the first word of "SetFile", so it can be a program name with args.
33931 set dummy SetFile; ac_word=$2
33932 echo "$as_me:$LINENO: checking for $ac_word" >&5
33933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33934 if test "${ac_cv_prog_SETFILE+set}" = set; then
33935 echo $ECHO_N "(cached) $ECHO_C" >&6
33937 if test -n "$SETFILE"; then
33938 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33941 for as_dir in $PATH
33944 test -z "$as_dir" && as_dir=.
33945 for ac_exec_ext in '' $ac_executable_extensions; do
33946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33947 ac_cv_prog_SETFILE="SetFile"
33948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33954 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33957 SETFILE=$ac_cv_prog_SETFILE
33958 if test -n "$SETFILE"; then
33959 echo "$as_me:$LINENO: result: $SETFILE" >&5
33960 echo "${ECHO_T}$SETFILE" >&6
33962 echo "$as_me:$LINENO: result: no" >&5
33963 echo "${ECHO_T}no" >&6
33967 MACSETFILE="\$(SETFILE)"
33969 if test "$wxUSE_MAC" = 1; then
33970 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33972 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33974 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33975 RESCOMP="echo -n \| $REZ"
33976 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33982 if test "$wxUSE_PM" = 1; then
33984 WXCONFIG_RESFLAGS="-ep"
33986 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33988 POSTLINK_COMMAND="@true"
33995 echo "$as_me:$LINENO: checking for mode_t" >&5
33996 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33997 if test "${ac_cv_type_mode_t+set}" = set; then
33998 echo $ECHO_N "(cached) $ECHO_C" >&6
34000 cat >conftest.$ac_ext <<_ACEOF
34003 cat confdefs.h >>conftest.$ac_ext
34004 cat >>conftest.$ac_ext <<_ACEOF
34005 /* end confdefs.h. */
34006 $ac_includes_default
34012 if (sizeof (mode_t))
34018 rm -f conftest.$ac_objext
34019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34020 (eval $ac_compile) 2>conftest.er1
34022 grep -v '^ *+' conftest.er1 >conftest.err
34024 cat conftest.err >&5
34025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34026 (exit $ac_status); } &&
34027 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34029 (eval $ac_try) 2>&5
34031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34032 (exit $ac_status); }; } &&
34033 { ac_try='test -s conftest.$ac_objext'
34034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34035 (eval $ac_try) 2>&5
34037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34038 (exit $ac_status); }; }; then
34039 ac_cv_type_mode_t=yes
34041 echo "$as_me: failed program was:" >&5
34042 sed 's/^/| /' conftest.$ac_ext >&5
34044 ac_cv_type_mode_t=no
34046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34048 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34049 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34050 if test $ac_cv_type_mode_t = yes; then
34054 cat >>confdefs.h <<_ACEOF
34060 echo "$as_me:$LINENO: checking for off_t" >&5
34061 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34062 if test "${ac_cv_type_off_t+set}" = set; then
34063 echo $ECHO_N "(cached) $ECHO_C" >&6
34065 cat >conftest.$ac_ext <<_ACEOF
34068 cat confdefs.h >>conftest.$ac_ext
34069 cat >>conftest.$ac_ext <<_ACEOF
34070 /* end confdefs.h. */
34071 $ac_includes_default
34077 if (sizeof (off_t))
34083 rm -f conftest.$ac_objext
34084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34085 (eval $ac_compile) 2>conftest.er1
34087 grep -v '^ *+' conftest.er1 >conftest.err
34089 cat conftest.err >&5
34090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34091 (exit $ac_status); } &&
34092 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34094 (eval $ac_try) 2>&5
34096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34097 (exit $ac_status); }; } &&
34098 { ac_try='test -s conftest.$ac_objext'
34099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34100 (eval $ac_try) 2>&5
34102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34103 (exit $ac_status); }; }; then
34104 ac_cv_type_off_t=yes
34106 echo "$as_me: failed program was:" >&5
34107 sed 's/^/| /' conftest.$ac_ext >&5
34109 ac_cv_type_off_t=no
34111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34113 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34114 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34115 if test $ac_cv_type_off_t = yes; then
34119 cat >>confdefs.h <<_ACEOF
34125 echo "$as_me:$LINENO: checking for pid_t" >&5
34126 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34127 if test "${ac_cv_type_pid_t+set}" = set; then
34128 echo $ECHO_N "(cached) $ECHO_C" >&6
34130 cat >conftest.$ac_ext <<_ACEOF
34133 cat confdefs.h >>conftest.$ac_ext
34134 cat >>conftest.$ac_ext <<_ACEOF
34135 /* end confdefs.h. */
34136 $ac_includes_default
34142 if (sizeof (pid_t))
34148 rm -f conftest.$ac_objext
34149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34150 (eval $ac_compile) 2>conftest.er1
34152 grep -v '^ *+' conftest.er1 >conftest.err
34154 cat conftest.err >&5
34155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34156 (exit $ac_status); } &&
34157 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34159 (eval $ac_try) 2>&5
34161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34162 (exit $ac_status); }; } &&
34163 { ac_try='test -s conftest.$ac_objext'
34164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34165 (eval $ac_try) 2>&5
34167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34168 (exit $ac_status); }; }; then
34169 ac_cv_type_pid_t=yes
34171 echo "$as_me: failed program was:" >&5
34172 sed 's/^/| /' conftest.$ac_ext >&5
34174 ac_cv_type_pid_t=no
34176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34178 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34179 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34180 if test $ac_cv_type_pid_t = yes; then
34184 cat >>confdefs.h <<_ACEOF
34190 echo "$as_me:$LINENO: checking for size_t" >&5
34191 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34192 if test "${ac_cv_type_size_t+set}" = set; then
34193 echo $ECHO_N "(cached) $ECHO_C" >&6
34195 cat >conftest.$ac_ext <<_ACEOF
34198 cat confdefs.h >>conftest.$ac_ext
34199 cat >>conftest.$ac_ext <<_ACEOF
34200 /* end confdefs.h. */
34201 $ac_includes_default
34207 if (sizeof (size_t))
34213 rm -f conftest.$ac_objext
34214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34215 (eval $ac_compile) 2>conftest.er1
34217 grep -v '^ *+' conftest.er1 >conftest.err
34219 cat conftest.err >&5
34220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34221 (exit $ac_status); } &&
34222 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34224 (eval $ac_try) 2>&5
34226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34227 (exit $ac_status); }; } &&
34228 { ac_try='test -s conftest.$ac_objext'
34229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34230 (eval $ac_try) 2>&5
34232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34233 (exit $ac_status); }; }; then
34234 ac_cv_type_size_t=yes
34236 echo "$as_me: failed program was:" >&5
34237 sed 's/^/| /' conftest.$ac_ext >&5
34239 ac_cv_type_size_t=no
34241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34243 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34244 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34245 if test $ac_cv_type_size_t = yes; then
34249 cat >>confdefs.h <<_ACEOF
34250 #define size_t unsigned
34255 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34256 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34257 if test "${ac_cv_type_uid_t+set}" = set; then
34258 echo $ECHO_N "(cached) $ECHO_C" >&6
34260 cat >conftest.$ac_ext <<_ACEOF
34263 cat confdefs.h >>conftest.$ac_ext
34264 cat >>conftest.$ac_ext <<_ACEOF
34265 /* end confdefs.h. */
34266 #include <sys/types.h>
34269 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34270 $EGREP "uid_t" >/dev/null 2>&1; then
34271 ac_cv_type_uid_t=yes
34273 ac_cv_type_uid_t=no
34278 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34279 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34280 if test $ac_cv_type_uid_t = no; then
34282 cat >>confdefs.h <<\_ACEOF
34287 cat >>confdefs.h <<\_ACEOF
34294 echo "$as_me:$LINENO: checking for ssize_t" >&5
34295 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34296 if test "${ac_cv_type_ssize_t+set}" = set; then
34297 echo $ECHO_N "(cached) $ECHO_C" >&6
34299 cat >conftest.$ac_ext <<_ACEOF
34302 cat confdefs.h >>conftest.$ac_ext
34303 cat >>conftest.$ac_ext <<_ACEOF
34304 /* end confdefs.h. */
34305 $ac_includes_default
34311 if (sizeof (ssize_t))
34317 rm -f conftest.$ac_objext
34318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34319 (eval $ac_compile) 2>conftest.er1
34321 grep -v '^ *+' conftest.er1 >conftest.err
34323 cat conftest.err >&5
34324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34325 (exit $ac_status); } &&
34326 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34328 (eval $ac_try) 2>&5
34330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34331 (exit $ac_status); }; } &&
34332 { ac_try='test -s conftest.$ac_objext'
34333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34334 (eval $ac_try) 2>&5
34336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34337 (exit $ac_status); }; }; then
34338 ac_cv_type_ssize_t=yes
34340 echo "$as_me: failed program was:" >&5
34341 sed 's/^/| /' conftest.$ac_ext >&5
34343 ac_cv_type_ssize_t=no
34345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34347 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34348 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34349 if test $ac_cv_type_ssize_t = yes; then
34351 cat >>confdefs.h <<_ACEOF
34352 #define HAVE_SSIZE_T 1
34359 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34360 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34361 if test "${wx_cv_size_t_is_uint+set}" = set; then
34362 echo $ECHO_N "(cached) $ECHO_C" >&6
34365 cat >conftest.$ac_ext <<_ACEOF
34368 cat confdefs.h >>conftest.$ac_ext
34369 cat >>conftest.$ac_ext <<_ACEOF
34370 /* end confdefs.h. */
34371 #include <stddef.h>
34378 struct Foo { void foo(size_t); void foo(unsigned int); };
34386 rm -f conftest.$ac_objext
34387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34388 (eval $ac_compile) 2>conftest.er1
34390 grep -v '^ *+' conftest.er1 >conftest.err
34392 cat conftest.err >&5
34393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34394 (exit $ac_status); } &&
34395 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34397 (eval $ac_try) 2>&5
34399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34400 (exit $ac_status); }; } &&
34401 { ac_try='test -s conftest.$ac_objext'
34402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34403 (eval $ac_try) 2>&5
34405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34406 (exit $ac_status); }; }; then
34407 wx_cv_size_t_is_uint=no
34409 echo "$as_me: failed program was:" >&5
34410 sed 's/^/| /' conftest.$ac_ext >&5
34412 wx_cv_size_t_is_uint=yes
34415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34419 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34420 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34422 if test "$wx_cv_size_t_is_uint" = "yes"; then
34423 cat >>confdefs.h <<\_ACEOF
34424 #define wxSIZE_T_IS_UINT 1
34428 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34429 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34430 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34431 echo $ECHO_N "(cached) $ECHO_C" >&6
34433 cat >conftest.$ac_ext <<_ACEOF
34436 cat confdefs.h >>conftest.$ac_ext
34437 cat >>conftest.$ac_ext <<_ACEOF
34438 /* end confdefs.h. */
34439 #include <stddef.h>
34446 struct Foo { void foo(size_t); void foo(unsigned long); };
34454 rm -f conftest.$ac_objext
34455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34456 (eval $ac_compile) 2>conftest.er1
34458 grep -v '^ *+' conftest.er1 >conftest.err
34460 cat conftest.err >&5
34461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34462 (exit $ac_status); } &&
34463 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34465 (eval $ac_try) 2>&5
34467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34468 (exit $ac_status); }; } &&
34469 { ac_try='test -s conftest.$ac_objext'
34470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34471 (eval $ac_try) 2>&5
34473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34474 (exit $ac_status); }; }; then
34475 wx_cv_size_t_is_ulong=no
34477 echo "$as_me: failed program was:" >&5
34478 sed 's/^/| /' conftest.$ac_ext >&5
34480 wx_cv_size_t_is_ulong=yes
34483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34486 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34487 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34489 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34490 cat >>confdefs.h <<\_ACEOF
34491 #define wxSIZE_T_IS_ULONG 1
34498 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34499 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34500 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34501 echo $ECHO_N "(cached) $ECHO_C" >&6
34504 cat >conftest.$ac_ext <<_ACEOF
34507 cat confdefs.h >>conftest.$ac_ext
34508 cat >>conftest.$ac_ext <<_ACEOF
34509 /* end confdefs.h. */
34523 rm -f conftest.$ac_objext
34524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34525 (eval $ac_compile) 2>conftest.er1
34527 grep -v '^ *+' conftest.er1 >conftest.err
34529 cat conftest.err >&5
34530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34531 (exit $ac_status); } &&
34532 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34534 (eval $ac_try) 2>&5
34536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34537 (exit $ac_status); }; } &&
34538 { ac_try='test -s conftest.$ac_objext'
34539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34540 (eval $ac_try) 2>&5
34542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34543 (exit $ac_status); }; }; then
34545 wx_cv_struct_pw_gecos=yes
34548 echo "$as_me: failed program was:" >&5
34549 sed 's/^/| /' conftest.$ac_ext >&5
34552 wx_cv_struct_pw_gecos=no
34556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34560 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34561 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34563 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34564 cat >>confdefs.h <<\_ACEOF
34565 #define HAVE_PW_GECOS 1
34571 if test "$wxUSE_WCHAR_T" = "yes"; then
34572 cat >>confdefs.h <<\_ACEOF
34573 #define wxUSE_WCHAR_T 1
34580 for ac_func in wcslen
34582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34583 echo "$as_me:$LINENO: checking for $ac_func" >&5
34584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34585 if eval "test \"\${$as_ac_var+set}\" = set"; then
34586 echo $ECHO_N "(cached) $ECHO_C" >&6
34588 cat >conftest.$ac_ext <<_ACEOF
34591 cat confdefs.h >>conftest.$ac_ext
34592 cat >>conftest.$ac_ext <<_ACEOF
34593 /* end confdefs.h. */
34594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34596 #define $ac_func innocuous_$ac_func
34598 /* System header to define __stub macros and hopefully few prototypes,
34599 which can conflict with char $ac_func (); below.
34600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34601 <limits.h> exists even on freestanding compilers. */
34604 # include <limits.h>
34606 # include <assert.h>
34611 /* Override any gcc2 internal prototype to avoid an error. */
34616 /* We use char because int might match the return type of a gcc2
34617 builtin and then its argument prototype would still apply. */
34619 /* The GNU C library defines this for functions which it implements
34620 to always fail with ENOSYS. Some functions are actually named
34621 something starting with __ and the normal name is an alias. */
34622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34625 char (*f) () = $ac_func;
34634 return f != $ac_func;
34639 rm -f conftest.$ac_objext conftest$ac_exeext
34640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34641 (eval $ac_link) 2>conftest.er1
34643 grep -v '^ *+' conftest.er1 >conftest.err
34645 cat conftest.err >&5
34646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34647 (exit $ac_status); } &&
34648 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34650 (eval $ac_try) 2>&5
34652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34653 (exit $ac_status); }; } &&
34654 { ac_try='test -s conftest$ac_exeext'
34655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34656 (eval $ac_try) 2>&5
34658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34659 (exit $ac_status); }; }; then
34660 eval "$as_ac_var=yes"
34662 echo "$as_me: failed program was:" >&5
34663 sed 's/^/| /' conftest.$ac_ext >&5
34665 eval "$as_ac_var=no"
34667 rm -f conftest.err conftest.$ac_objext \
34668 conftest$ac_exeext conftest.$ac_ext
34670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34672 if test `eval echo '${'$as_ac_var'}'` = yes; then
34673 cat >>confdefs.h <<_ACEOF
34674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34681 if test "$WCSLEN_FOUND" = 0; then
34682 if test "$TOOLKIT" = "MSW"; then
34683 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34684 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34685 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34686 echo $ECHO_N "(cached) $ECHO_C" >&6
34688 ac_check_lib_save_LIBS=$LIBS
34689 LIBS="-lmsvcrt $LIBS"
34690 cat >conftest.$ac_ext <<_ACEOF
34693 cat confdefs.h >>conftest.$ac_ext
34694 cat >>conftest.$ac_ext <<_ACEOF
34695 /* end confdefs.h. */
34697 /* Override any gcc2 internal prototype to avoid an error. */
34701 /* We use char because int might match the return type of a gcc2
34702 builtin and then its argument prototype would still apply. */
34712 rm -f conftest.$ac_objext conftest$ac_exeext
34713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34714 (eval $ac_link) 2>conftest.er1
34716 grep -v '^ *+' conftest.er1 >conftest.err
34718 cat conftest.err >&5
34719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34720 (exit $ac_status); } &&
34721 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34723 (eval $ac_try) 2>&5
34725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34726 (exit $ac_status); }; } &&
34727 { ac_try='test -s conftest$ac_exeext'
34728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34729 (eval $ac_try) 2>&5
34731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34732 (exit $ac_status); }; }; then
34733 ac_cv_lib_msvcrt_wcslen=yes
34735 echo "$as_me: failed program was:" >&5
34736 sed 's/^/| /' conftest.$ac_ext >&5
34738 ac_cv_lib_msvcrt_wcslen=no
34740 rm -f conftest.err conftest.$ac_objext \
34741 conftest$ac_exeext conftest.$ac_ext
34742 LIBS=$ac_check_lib_save_LIBS
34744 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34745 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34746 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34751 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34752 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34753 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34754 echo $ECHO_N "(cached) $ECHO_C" >&6
34756 ac_check_lib_save_LIBS=$LIBS
34758 cat >conftest.$ac_ext <<_ACEOF
34761 cat confdefs.h >>conftest.$ac_ext
34762 cat >>conftest.$ac_ext <<_ACEOF
34763 /* end confdefs.h. */
34765 /* Override any gcc2 internal prototype to avoid an error. */
34769 /* We use char because int might match the return type of a gcc2
34770 builtin and then its argument prototype would still apply. */
34780 rm -f conftest.$ac_objext conftest$ac_exeext
34781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34782 (eval $ac_link) 2>conftest.er1
34784 grep -v '^ *+' conftest.er1 >conftest.err
34786 cat conftest.err >&5
34787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34788 (exit $ac_status); } &&
34789 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34791 (eval $ac_try) 2>&5
34793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34794 (exit $ac_status); }; } &&
34795 { ac_try='test -s conftest$ac_exeext'
34796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34797 (eval $ac_try) 2>&5
34799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34800 (exit $ac_status); }; }; then
34801 ac_cv_lib_w_wcslen=yes
34803 echo "$as_me: failed program was:" >&5
34804 sed 's/^/| /' conftest.$ac_ext >&5
34806 ac_cv_lib_w_wcslen=no
34808 rm -f conftest.err conftest.$ac_objext \
34809 conftest$ac_exeext conftest.$ac_ext
34810 LIBS=$ac_check_lib_save_LIBS
34812 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34813 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34814 if test $ac_cv_lib_w_wcslen = yes; then
34824 if test "$WCSLEN_FOUND" = 1; then
34825 cat >>confdefs.h <<\_ACEOF
34826 #define HAVE_WCSLEN 1
34831 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34832 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34835 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34836 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34837 if test "${ac_cv_type_mbstate_t+set}" = set; then
34838 echo $ECHO_N "(cached) $ECHO_C" >&6
34840 cat >conftest.$ac_ext <<_ACEOF
34843 cat confdefs.h >>conftest.$ac_ext
34844 cat >>conftest.$ac_ext <<_ACEOF
34845 /* end confdefs.h. */
34851 if ((mbstate_t *) 0)
34853 if (sizeof (mbstate_t))
34859 rm -f conftest.$ac_objext
34860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34861 (eval $ac_compile) 2>conftest.er1
34863 grep -v '^ *+' conftest.er1 >conftest.err
34865 cat conftest.err >&5
34866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34867 (exit $ac_status); } &&
34868 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34870 (eval $ac_try) 2>&5
34872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34873 (exit $ac_status); }; } &&
34874 { ac_try='test -s conftest.$ac_objext'
34875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34876 (eval $ac_try) 2>&5
34878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34879 (exit $ac_status); }; }; then
34880 ac_cv_type_mbstate_t=yes
34882 echo "$as_me: failed program was:" >&5
34883 sed 's/^/| /' conftest.$ac_ext >&5
34885 ac_cv_type_mbstate_t=no
34887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34889 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34890 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34891 if test $ac_cv_type_mbstate_t = yes; then
34893 cat >>confdefs.h <<_ACEOF
34894 #define HAVE_MBSTATE_T 1
34898 for ac_func in wcsrtombs
34900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34901 echo "$as_me:$LINENO: checking for $ac_func" >&5
34902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34903 if eval "test \"\${$as_ac_var+set}\" = set"; then
34904 echo $ECHO_N "(cached) $ECHO_C" >&6
34906 cat >conftest.$ac_ext <<_ACEOF
34909 cat confdefs.h >>conftest.$ac_ext
34910 cat >>conftest.$ac_ext <<_ACEOF
34911 /* end confdefs.h. */
34912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34914 #define $ac_func innocuous_$ac_func
34916 /* System header to define __stub macros and hopefully few prototypes,
34917 which can conflict with char $ac_func (); below.
34918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34919 <limits.h> exists even on freestanding compilers. */
34922 # include <limits.h>
34924 # include <assert.h>
34929 /* Override any gcc2 internal prototype to avoid an error. */
34934 /* We use char because int might match the return type of a gcc2
34935 builtin and then its argument prototype would still apply. */
34937 /* The GNU C library defines this for functions which it implements
34938 to always fail with ENOSYS. Some functions are actually named
34939 something starting with __ and the normal name is an alias. */
34940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34943 char (*f) () = $ac_func;
34952 return f != $ac_func;
34957 rm -f conftest.$ac_objext conftest$ac_exeext
34958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34959 (eval $ac_link) 2>conftest.er1
34961 grep -v '^ *+' conftest.er1 >conftest.err
34963 cat conftest.err >&5
34964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34965 (exit $ac_status); } &&
34966 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34968 (eval $ac_try) 2>&5
34970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34971 (exit $ac_status); }; } &&
34972 { ac_try='test -s conftest$ac_exeext'
34973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34974 (eval $ac_try) 2>&5
34976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34977 (exit $ac_status); }; }; then
34978 eval "$as_ac_var=yes"
34980 echo "$as_me: failed program was:" >&5
34981 sed 's/^/| /' conftest.$ac_ext >&5
34983 eval "$as_ac_var=no"
34985 rm -f conftest.err conftest.$ac_objext \
34986 conftest$ac_exeext conftest.$ac_ext
34988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34990 if test `eval echo '${'$as_ac_var'}'` = yes; then
34991 cat >>confdefs.h <<_ACEOF
34992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35001 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35002 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35007 for ac_func in snprintf vsnprintf
35009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35010 echo "$as_me:$LINENO: checking for $ac_func" >&5
35011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35012 if eval "test \"\${$as_ac_var+set}\" = set"; then
35013 echo $ECHO_N "(cached) $ECHO_C" >&6
35015 cat >conftest.$ac_ext <<_ACEOF
35018 cat confdefs.h >>conftest.$ac_ext
35019 cat >>conftest.$ac_ext <<_ACEOF
35020 /* end confdefs.h. */
35021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35023 #define $ac_func innocuous_$ac_func
35025 /* System header to define __stub macros and hopefully few prototypes,
35026 which can conflict with char $ac_func (); below.
35027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35028 <limits.h> exists even on freestanding compilers. */
35031 # include <limits.h>
35033 # include <assert.h>
35038 /* Override any gcc2 internal prototype to avoid an error. */
35043 /* We use char because int might match the return type of a gcc2
35044 builtin and then its argument prototype would still apply. */
35046 /* The GNU C library defines this for functions which it implements
35047 to always fail with ENOSYS. Some functions are actually named
35048 something starting with __ and the normal name is an alias. */
35049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35052 char (*f) () = $ac_func;
35061 return f != $ac_func;
35066 rm -f conftest.$ac_objext conftest$ac_exeext
35067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35068 (eval $ac_link) 2>conftest.er1
35070 grep -v '^ *+' conftest.er1 >conftest.err
35072 cat conftest.err >&5
35073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35074 (exit $ac_status); } &&
35075 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35077 (eval $ac_try) 2>&5
35079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35080 (exit $ac_status); }; } &&
35081 { ac_try='test -s conftest$ac_exeext'
35082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35083 (eval $ac_try) 2>&5
35085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35086 (exit $ac_status); }; }; then
35087 eval "$as_ac_var=yes"
35089 echo "$as_me: failed program was:" >&5
35090 sed 's/^/| /' conftest.$ac_ext >&5
35092 eval "$as_ac_var=no"
35094 rm -f conftest.err conftest.$ac_objext \
35095 conftest$ac_exeext conftest.$ac_ext
35097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35098 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35099 if test `eval echo '${'$as_ac_var'}'` = yes; then
35100 cat >>confdefs.h <<_ACEOF
35101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35108 if test "$ac_cv_func_vsnprintf" = "yes"; then
35109 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35110 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35111 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35112 echo $ECHO_N "(cached) $ECHO_C" >&6
35115 cat >conftest.$ac_ext <<_ACEOF
35118 cat confdefs.h >>conftest.$ac_ext
35119 cat >>conftest.$ac_ext <<_ACEOF
35120 /* end confdefs.h. */
35123 #include <stdarg.h>
35125 #if __MSL__ >= 0x6000
35127 using namespace std;
35137 vsnprintf(buf, 10u, "%s", ap);
35143 rm -f conftest.$ac_objext
35144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35145 (eval $ac_compile) 2>conftest.er1
35147 grep -v '^ *+' conftest.er1 >conftest.err
35149 cat conftest.err >&5
35150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35151 (exit $ac_status); } &&
35152 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35154 (eval $ac_try) 2>&5
35156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35157 (exit $ac_status); }; } &&
35158 { ac_try='test -s conftest.$ac_objext'
35159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35160 (eval $ac_try) 2>&5
35162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35163 (exit $ac_status); }; }; then
35164 wx_cv_func_vsnprintf_decl=yes
35166 echo "$as_me: failed program was:" >&5
35167 sed 's/^/| /' conftest.$ac_ext >&5
35169 wx_cv_func_vsnprintf_decl=no
35172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35176 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35177 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35179 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35180 cat >>confdefs.h <<\_ACEOF
35181 #define HAVE_VSNPRINTF_DECL 1
35185 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35186 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35187 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35188 echo $ECHO_N "(cached) $ECHO_C" >&6
35191 cat >conftest.$ac_ext <<_ACEOF
35194 cat confdefs.h >>conftest.$ac_ext
35195 cat >>conftest.$ac_ext <<_ACEOF
35196 /* end confdefs.h. */
35199 #include <stdarg.h>
35201 #if __MSL__ >= 0x6000
35203 using namespace std;
35213 const char *fmt = "%s";
35214 vsnprintf(buf, 10u, fmt, ap);
35220 rm -f conftest.$ac_objext
35221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35222 (eval $ac_compile) 2>conftest.er1
35224 grep -v '^ *+' conftest.er1 >conftest.err
35226 cat conftest.err >&5
35227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35228 (exit $ac_status); } &&
35229 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35231 (eval $ac_try) 2>&5
35233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35234 (exit $ac_status); }; } &&
35235 { ac_try='test -s conftest.$ac_objext'
35236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35237 (eval $ac_try) 2>&5
35239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35240 (exit $ac_status); }; }; then
35241 wx_cv_func_broken_vsnprintf_decl=no
35243 echo "$as_me: failed program was:" >&5
35244 sed 's/^/| /' conftest.$ac_ext >&5
35246 wx_cv_func_broken_vsnprintf_decl=yes
35249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35253 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35254 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35256 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35257 cat >>confdefs.h <<\_ACEOF
35258 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35265 if test "$ac_cv_func_snprintf" = "yes"; then
35266 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35267 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35268 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35269 echo $ECHO_N "(cached) $ECHO_C" >&6
35272 cat >conftest.$ac_ext <<_ACEOF
35275 cat confdefs.h >>conftest.$ac_ext
35276 cat >>conftest.$ac_ext <<_ACEOF
35277 /* end confdefs.h. */
35280 #include <stdarg.h>
35282 #if __MSL__ >= 0x6000
35284 using namespace std;
35293 snprintf(buf, 10u, "%s", "wx");
35299 rm -f conftest.$ac_objext
35300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35301 (eval $ac_compile) 2>conftest.er1
35303 grep -v '^ *+' conftest.er1 >conftest.err
35305 cat conftest.err >&5
35306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35307 (exit $ac_status); } &&
35308 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35310 (eval $ac_try) 2>&5
35312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35313 (exit $ac_status); }; } &&
35314 { ac_try='test -s conftest.$ac_objext'
35315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35316 (eval $ac_try) 2>&5
35318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35319 (exit $ac_status); }; }; then
35320 wx_cv_func_snprintf_decl=yes
35322 echo "$as_me: failed program was:" >&5
35323 sed 's/^/| /' conftest.$ac_ext >&5
35325 wx_cv_func_snprintf_decl=no
35328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35332 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35333 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35335 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35336 cat >>confdefs.h <<\_ACEOF
35337 #define HAVE_SNPRINTF_DECL 1
35341 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35342 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35343 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35344 echo $ECHO_N "(cached) $ECHO_C" >&6
35347 cat >conftest.$ac_ext <<_ACEOF
35350 cat confdefs.h >>conftest.$ac_ext
35351 cat >>conftest.$ac_ext <<_ACEOF
35352 /* end confdefs.h. */
35355 #include <stdarg.h>
35357 #if __MSL__ >= 0x6000
35359 using namespace std;
35368 const char *fmt = "%s";
35369 snprintf(buf, 10u, fmt, "wx");
35375 rm -f conftest.$ac_objext
35376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35377 (eval $ac_compile) 2>conftest.er1
35379 grep -v '^ *+' conftest.er1 >conftest.err
35381 cat conftest.err >&5
35382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35383 (exit $ac_status); } &&
35384 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35386 (eval $ac_try) 2>&5
35388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35389 (exit $ac_status); }; } &&
35390 { ac_try='test -s conftest.$ac_objext'
35391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35392 (eval $ac_try) 2>&5
35394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35395 (exit $ac_status); }; }; then
35396 wx_cv_func_broken_snprintf_decl=no
35398 echo "$as_me: failed program was:" >&5
35399 sed 's/^/| /' conftest.$ac_ext >&5
35401 wx_cv_func_broken_snprintf_decl=yes
35404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35408 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35409 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35411 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35412 cat >>confdefs.h <<\_ACEOF
35413 #define HAVE_BROKEN_SNPRINTF_DECL 1
35419 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35421 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35422 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35423 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35424 echo $ECHO_N "(cached) $ECHO_C" >&6
35427 if test "$cross_compiling" = yes; then
35429 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35430 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35431 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35432 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35433 wx_cv_func_snprintf_pos_params=no
35437 cat >conftest.$ac_ext <<_ACEOF
35440 cat confdefs.h >>conftest.$ac_ext
35441 cat >>conftest.$ac_ext <<_ACEOF
35442 /* end confdefs.h. */
35449 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35450 if (strcmp ("2 3 1", buffer) == 0)
35456 rm -f conftest$ac_exeext
35457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35458 (eval $ac_link) 2>&5
35460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35461 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35463 (eval $ac_try) 2>&5
35465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35466 (exit $ac_status); }; }; then
35467 wx_cv_func_snprintf_pos_params=no
35469 echo "$as_me: program exited with status $ac_status" >&5
35470 echo "$as_me: failed program was:" >&5
35471 sed 's/^/| /' conftest.$ac_ext >&5
35473 ( exit $ac_status )
35474 wx_cv_func_snprintf_pos_params=yes
35476 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35481 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35482 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35484 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35485 cat >>confdefs.h <<\_ACEOF
35486 #define HAVE_UNIX98_PRINTF 1
35493 if test "$wxUSE_UNICODE" = yes; then
35496 for ac_func in swprintf
35498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35499 echo "$as_me:$LINENO: checking for $ac_func" >&5
35500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35501 if eval "test \"\${$as_ac_var+set}\" = set"; then
35502 echo $ECHO_N "(cached) $ECHO_C" >&6
35504 cat >conftest.$ac_ext <<_ACEOF
35507 cat confdefs.h >>conftest.$ac_ext
35508 cat >>conftest.$ac_ext <<_ACEOF
35509 /* end confdefs.h. */
35510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35512 #define $ac_func innocuous_$ac_func
35514 /* System header to define __stub macros and hopefully few prototypes,
35515 which can conflict with char $ac_func (); below.
35516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35517 <limits.h> exists even on freestanding compilers. */
35520 # include <limits.h>
35522 # include <assert.h>
35527 /* Override any gcc2 internal prototype to avoid an error. */
35532 /* We use char because int might match the return type of a gcc2
35533 builtin and then its argument prototype would still apply. */
35535 /* The GNU C library defines this for functions which it implements
35536 to always fail with ENOSYS. Some functions are actually named
35537 something starting with __ and the normal name is an alias. */
35538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35541 char (*f) () = $ac_func;
35550 return f != $ac_func;
35555 rm -f conftest.$ac_objext conftest$ac_exeext
35556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35557 (eval $ac_link) 2>conftest.er1
35559 grep -v '^ *+' conftest.er1 >conftest.err
35561 cat conftest.err >&5
35562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35563 (exit $ac_status); } &&
35564 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35566 (eval $ac_try) 2>&5
35568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35569 (exit $ac_status); }; } &&
35570 { ac_try='test -s conftest$ac_exeext'
35571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35572 (eval $ac_try) 2>&5
35574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35575 (exit $ac_status); }; }; then
35576 eval "$as_ac_var=yes"
35578 echo "$as_me: failed program was:" >&5
35579 sed 's/^/| /' conftest.$ac_ext >&5
35581 eval "$as_ac_var=no"
35583 rm -f conftest.err conftest.$ac_objext \
35584 conftest$ac_exeext conftest.$ac_ext
35586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35588 if test `eval echo '${'$as_ac_var'}'` = yes; then
35589 cat >>confdefs.h <<_ACEOF
35590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35597 if test "$ac_cv_func_swprintf" = "yes"; then
35598 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35599 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35600 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35601 echo $ECHO_N "(cached) $ECHO_C" >&6
35604 cat >conftest.$ac_ext <<_ACEOF
35607 cat confdefs.h >>conftest.$ac_ext
35608 cat >>conftest.$ac_ext <<_ACEOF
35609 /* end confdefs.h. */
35612 #include <stdarg.h>
35620 const wchar_t *fmt = L"test";
35621 swprintf(buf, 10u, fmt);
35627 rm -f conftest.$ac_objext
35628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35629 (eval $ac_compile) 2>conftest.er1
35631 grep -v '^ *+' conftest.er1 >conftest.err
35633 cat conftest.err >&5
35634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35635 (exit $ac_status); } &&
35636 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35638 (eval $ac_try) 2>&5
35640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35641 (exit $ac_status); }; } &&
35642 { ac_try='test -s conftest.$ac_objext'
35643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35644 (eval $ac_try) 2>&5
35646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35647 (exit $ac_status); }; }; then
35648 wx_cv_func_broken_swprintf_decl=no
35650 echo "$as_me: failed program was:" >&5
35651 sed 's/^/| /' conftest.$ac_ext >&5
35653 wx_cv_func_broken_swprintf_decl=yes
35656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35660 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35661 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35663 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35664 cat >>confdefs.h <<\_ACEOF
35665 #define HAVE_BROKEN_SWPRINTF_DECL 1
35677 for ac_func in wputc wputchar putws fputws wprintf vswprintf
35679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35680 echo "$as_me:$LINENO: checking for $ac_func" >&5
35681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35682 if eval "test \"\${$as_ac_var+set}\" = set"; then
35683 echo $ECHO_N "(cached) $ECHO_C" >&6
35685 cat >conftest.$ac_ext <<_ACEOF
35688 cat confdefs.h >>conftest.$ac_ext
35689 cat >>conftest.$ac_ext <<_ACEOF
35690 /* end confdefs.h. */
35691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35693 #define $ac_func innocuous_$ac_func
35695 /* System header to define __stub macros and hopefully few prototypes,
35696 which can conflict with char $ac_func (); below.
35697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35698 <limits.h> exists even on freestanding compilers. */
35701 # include <limits.h>
35703 # include <assert.h>
35708 /* Override any gcc2 internal prototype to avoid an error. */
35713 /* We use char because int might match the return type of a gcc2
35714 builtin and then its argument prototype would still apply. */
35716 /* The GNU C library defines this for functions which it implements
35717 to always fail with ENOSYS. Some functions are actually named
35718 something starting with __ and the normal name is an alias. */
35719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35722 char (*f) () = $ac_func;
35731 return f != $ac_func;
35736 rm -f conftest.$ac_objext conftest$ac_exeext
35737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35738 (eval $ac_link) 2>conftest.er1
35740 grep -v '^ *+' conftest.er1 >conftest.err
35742 cat conftest.err >&5
35743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35744 (exit $ac_status); } &&
35745 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35747 (eval $ac_try) 2>&5
35749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35750 (exit $ac_status); }; } &&
35751 { ac_try='test -s conftest$ac_exeext'
35752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35753 (eval $ac_try) 2>&5
35755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35756 (exit $ac_status); }; }; then
35757 eval "$as_ac_var=yes"
35759 echo "$as_me: failed program was:" >&5
35760 sed 's/^/| /' conftest.$ac_ext >&5
35762 eval "$as_ac_var=no"
35764 rm -f conftest.err conftest.$ac_objext \
35765 conftest$ac_exeext conftest.$ac_ext
35767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35769 if test `eval echo '${'$as_ac_var'}'` = yes; then
35770 cat >>confdefs.h <<_ACEOF
35771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35778 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35779 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35780 cat >conftest.$ac_ext <<_ACEOF
35783 cat confdefs.h >>conftest.$ac_ext
35784 cat >>conftest.$ac_ext <<_ACEOF
35785 /* end confdefs.h. */
35795 rm -f conftest.$ac_objext
35796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35797 (eval $ac_compile) 2>conftest.er1
35799 grep -v '^ *+' conftest.er1 >conftest.err
35801 cat conftest.err >&5
35802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35803 (exit $ac_status); } &&
35804 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35806 (eval $ac_try) 2>&5
35808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35809 (exit $ac_status); }; } &&
35810 { ac_try='test -s conftest.$ac_objext'
35811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35812 (eval $ac_try) 2>&5
35814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35815 (exit $ac_status); }; }; then
35816 echo "$as_me:$LINENO: result: yes" >&5
35817 echo "${ECHO_T}yes" >&6
35818 cat >>confdefs.h <<\_ACEOF
35819 #define HAVE__VSNWPRINTF 1
35823 echo "$as_me: failed program was:" >&5
35824 sed 's/^/| /' conftest.$ac_ext >&5
35826 echo "$as_me:$LINENO: result: no" >&5
35827 echo "${ECHO_T}no" >&6
35829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
35832 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35834 for ac_func in fnmatch
35836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35837 echo "$as_me:$LINENO: checking for $ac_func" >&5
35838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35839 if eval "test \"\${$as_ac_var+set}\" = set"; then
35840 echo $ECHO_N "(cached) $ECHO_C" >&6
35842 cat >conftest.$ac_ext <<_ACEOF
35845 cat confdefs.h >>conftest.$ac_ext
35846 cat >>conftest.$ac_ext <<_ACEOF
35847 /* end confdefs.h. */
35848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35850 #define $ac_func innocuous_$ac_func
35852 /* System header to define __stub macros and hopefully few prototypes,
35853 which can conflict with char $ac_func (); below.
35854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35855 <limits.h> exists even on freestanding compilers. */
35858 # include <limits.h>
35860 # include <assert.h>
35865 /* Override any gcc2 internal prototype to avoid an error. */
35870 /* We use char because int might match the return type of a gcc2
35871 builtin and then its argument prototype would still apply. */
35873 /* The GNU C library defines this for functions which it implements
35874 to always fail with ENOSYS. Some functions are actually named
35875 something starting with __ and the normal name is an alias. */
35876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35879 char (*f) () = $ac_func;
35888 return f != $ac_func;
35893 rm -f conftest.$ac_objext conftest$ac_exeext
35894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35895 (eval $ac_link) 2>conftest.er1
35897 grep -v '^ *+' conftest.er1 >conftest.err
35899 cat conftest.err >&5
35900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35901 (exit $ac_status); } &&
35902 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35904 (eval $ac_try) 2>&5
35906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35907 (exit $ac_status); }; } &&
35908 { ac_try='test -s conftest$ac_exeext'
35909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35910 (eval $ac_try) 2>&5
35912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35913 (exit $ac_status); }; }; then
35914 eval "$as_ac_var=yes"
35916 echo "$as_me: failed program was:" >&5
35917 sed 's/^/| /' conftest.$ac_ext >&5
35919 eval "$as_ac_var=no"
35921 rm -f conftest.err conftest.$ac_objext \
35922 conftest$ac_exeext conftest.$ac_ext
35924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35926 if test `eval echo '${'$as_ac_var'}'` = yes; then
35927 cat >>confdefs.h <<_ACEOF
35928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35936 if test "$wxUSE_FILE" = "yes"; then
35938 for ac_func in fsync
35940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35941 echo "$as_me:$LINENO: checking for $ac_func" >&5
35942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35943 if eval "test \"\${$as_ac_var+set}\" = set"; then
35944 echo $ECHO_N "(cached) $ECHO_C" >&6
35946 cat >conftest.$ac_ext <<_ACEOF
35949 cat confdefs.h >>conftest.$ac_ext
35950 cat >>conftest.$ac_ext <<_ACEOF
35951 /* end confdefs.h. */
35952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35954 #define $ac_func innocuous_$ac_func
35956 /* System header to define __stub macros and hopefully few prototypes,
35957 which can conflict with char $ac_func (); below.
35958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35959 <limits.h> exists even on freestanding compilers. */
35962 # include <limits.h>
35964 # include <assert.h>
35969 /* Override any gcc2 internal prototype to avoid an error. */
35974 /* We use char because int might match the return type of a gcc2
35975 builtin and then its argument prototype would still apply. */
35977 /* The GNU C library defines this for functions which it implements
35978 to always fail with ENOSYS. Some functions are actually named
35979 something starting with __ and the normal name is an alias. */
35980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35983 char (*f) () = $ac_func;
35992 return f != $ac_func;
35997 rm -f conftest.$ac_objext conftest$ac_exeext
35998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35999 (eval $ac_link) 2>conftest.er1
36001 grep -v '^ *+' conftest.er1 >conftest.err
36003 cat conftest.err >&5
36004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36005 (exit $ac_status); } &&
36006 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36008 (eval $ac_try) 2>&5
36010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36011 (exit $ac_status); }; } &&
36012 { ac_try='test -s conftest$ac_exeext'
36013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36014 (eval $ac_try) 2>&5
36016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36017 (exit $ac_status); }; }; then
36018 eval "$as_ac_var=yes"
36020 echo "$as_me: failed program was:" >&5
36021 sed 's/^/| /' conftest.$ac_ext >&5
36023 eval "$as_ac_var=no"
36025 rm -f conftest.err conftest.$ac_objext \
36026 conftest$ac_exeext conftest.$ac_ext
36028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36030 if test `eval echo '${'$as_ac_var'}'` = yes; then
36031 cat >>confdefs.h <<_ACEOF
36032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36041 for ac_func in round
36043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36044 echo "$as_me:$LINENO: checking for $ac_func" >&5
36045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36046 if eval "test \"\${$as_ac_var+set}\" = set"; then
36047 echo $ECHO_N "(cached) $ECHO_C" >&6
36049 cat >conftest.$ac_ext <<_ACEOF
36052 cat confdefs.h >>conftest.$ac_ext
36053 cat >>conftest.$ac_ext <<_ACEOF
36054 /* end confdefs.h. */
36055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36057 #define $ac_func innocuous_$ac_func
36059 /* System header to define __stub macros and hopefully few prototypes,
36060 which can conflict with char $ac_func (); below.
36061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36062 <limits.h> exists even on freestanding compilers. */
36065 # include <limits.h>
36067 # include <assert.h>
36072 /* Override any gcc2 internal prototype to avoid an error. */
36077 /* We use char because int might match the return type of a gcc2
36078 builtin and then its argument prototype would still apply. */
36080 /* The GNU C library defines this for functions which it implements
36081 to always fail with ENOSYS. Some functions are actually named
36082 something starting with __ and the normal name is an alias. */
36083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36086 char (*f) () = $ac_func;
36095 return f != $ac_func;
36100 rm -f conftest.$ac_objext conftest$ac_exeext
36101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36102 (eval $ac_link) 2>conftest.er1
36104 grep -v '^ *+' conftest.er1 >conftest.err
36106 cat conftest.err >&5
36107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36108 (exit $ac_status); } &&
36109 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36111 (eval $ac_try) 2>&5
36113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36114 (exit $ac_status); }; } &&
36115 { ac_try='test -s conftest$ac_exeext'
36116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36117 (eval $ac_try) 2>&5
36119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36120 (exit $ac_status); }; }; then
36121 eval "$as_ac_var=yes"
36123 echo "$as_me: failed program was:" >&5
36124 sed 's/^/| /' conftest.$ac_ext >&5
36126 eval "$as_ac_var=no"
36128 rm -f conftest.err conftest.$ac_objext \
36129 conftest$ac_exeext conftest.$ac_ext
36131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36133 if test `eval echo '${'$as_ac_var'}'` = yes; then
36134 cat >>confdefs.h <<_ACEOF
36135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36141 if test "$ac_cv_func_round" = yes; then
36142 echo "$as_me:$LINENO: checking whether round is declared" >&5
36143 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
36144 if test "${ac_cv_have_decl_round+set}" = set; then
36145 echo $ECHO_N "(cached) $ECHO_C" >&6
36147 cat >conftest.$ac_ext <<_ACEOF
36150 cat confdefs.h >>conftest.$ac_ext
36151 cat >>conftest.$ac_ext <<_ACEOF
36152 /* end confdefs.h. */
36159 char *p = (char *) round;
36166 rm -f conftest.$ac_objext
36167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36168 (eval $ac_compile) 2>conftest.er1
36170 grep -v '^ *+' conftest.er1 >conftest.err
36172 cat conftest.err >&5
36173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36174 (exit $ac_status); } &&
36175 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36177 (eval $ac_try) 2>&5
36179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36180 (exit $ac_status); }; } &&
36181 { ac_try='test -s conftest.$ac_objext'
36182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36183 (eval $ac_try) 2>&5
36185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36186 (exit $ac_status); }; }; then
36187 ac_cv_have_decl_round=yes
36189 echo "$as_me: failed program was:" >&5
36190 sed 's/^/| /' conftest.$ac_ext >&5
36192 ac_cv_have_decl_round=no
36194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36196 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
36197 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
36198 if test $ac_cv_have_decl_round = yes; then
36200 cat >>confdefs.h <<_ACEOF
36201 #define HAVE_DECL_ROUND 1
36206 cat >>confdefs.h <<_ACEOF
36207 #define HAVE_DECL_ROUND 0
36217 if test "$TOOLKIT" != "MSW"; then
36223 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36224 if test "${with_libiconv_prefix+set}" = set; then
36225 withval="$with_libiconv_prefix"
36227 for dir in `echo "$withval" | tr : ' '`; do
36228 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36229 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36234 echo "$as_me:$LINENO: checking for iconv" >&5
36235 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36236 if test "${am_cv_func_iconv+set}" = set; then
36237 echo $ECHO_N "(cached) $ECHO_C" >&6
36240 am_cv_func_iconv="no, consider installing GNU libiconv"
36242 cat >conftest.$ac_ext <<_ACEOF
36245 cat confdefs.h >>conftest.$ac_ext
36246 cat >>conftest.$ac_ext <<_ACEOF
36247 /* end confdefs.h. */
36248 #include <stdlib.h>
36253 iconv_t cd = iconv_open("","");
36254 iconv(cd,NULL,NULL,NULL,NULL);
36260 rm -f conftest.$ac_objext conftest$ac_exeext
36261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36262 (eval $ac_link) 2>conftest.er1
36264 grep -v '^ *+' conftest.er1 >conftest.err
36266 cat conftest.err >&5
36267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36268 (exit $ac_status); } &&
36269 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36271 (eval $ac_try) 2>&5
36273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36274 (exit $ac_status); }; } &&
36275 { ac_try='test -s conftest$ac_exeext'
36276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36277 (eval $ac_try) 2>&5
36279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36280 (exit $ac_status); }; }; then
36281 am_cv_func_iconv=yes
36283 echo "$as_me: failed program was:" >&5
36284 sed 's/^/| /' conftest.$ac_ext >&5
36287 rm -f conftest.err conftest.$ac_objext \
36288 conftest$ac_exeext conftest.$ac_ext
36289 if test "$am_cv_func_iconv" != yes; then
36290 am_save_LIBS="$LIBS"
36291 LIBS="$LIBS -liconv"
36292 cat >conftest.$ac_ext <<_ACEOF
36295 cat confdefs.h >>conftest.$ac_ext
36296 cat >>conftest.$ac_ext <<_ACEOF
36297 /* end confdefs.h. */
36298 #include <stdlib.h>
36303 iconv_t cd = iconv_open("","");
36304 iconv(cd,NULL,NULL,NULL,NULL);
36310 rm -f conftest.$ac_objext conftest$ac_exeext
36311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36312 (eval $ac_link) 2>conftest.er1
36314 grep -v '^ *+' conftest.er1 >conftest.err
36316 cat conftest.err >&5
36317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36318 (exit $ac_status); } &&
36319 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
36325 { ac_try='test -s conftest$ac_exeext'
36326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36327 (eval $ac_try) 2>&5
36329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36330 (exit $ac_status); }; }; then
36331 am_cv_lib_iconv=yes
36332 am_cv_func_iconv=yes
36334 echo "$as_me: failed program was:" >&5
36335 sed 's/^/| /' conftest.$ac_ext >&5
36338 rm -f conftest.err conftest.$ac_objext \
36339 conftest$ac_exeext conftest.$ac_ext
36340 LIBS="$am_save_LIBS"
36344 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36345 echo "${ECHO_T}$am_cv_func_iconv" >&6
36346 if test "$am_cv_func_iconv" = yes; then
36348 cat >>confdefs.h <<\_ACEOF
36349 #define HAVE_ICONV 1
36352 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36353 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36354 if test "${wx_cv_func_iconv_const+set}" = set; then
36355 echo $ECHO_N "(cached) $ECHO_C" >&6
36357 cat >conftest.$ac_ext <<_ACEOF
36360 cat confdefs.h >>conftest.$ac_ext
36361 cat >>conftest.$ac_ext <<_ACEOF
36362 /* end confdefs.h. */
36364 #include <stdlib.h>
36370 #if defined(__STDC__) || defined(__cplusplus)
36371 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36384 rm -f conftest.$ac_objext
36385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36386 (eval $ac_compile) 2>conftest.er1
36388 grep -v '^ *+' conftest.er1 >conftest.err
36390 cat conftest.err >&5
36391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36392 (exit $ac_status); } &&
36393 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36395 (eval $ac_try) 2>&5
36397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36398 (exit $ac_status); }; } &&
36399 { ac_try='test -s conftest.$ac_objext'
36400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36401 (eval $ac_try) 2>&5
36403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36404 (exit $ac_status); }; }; then
36405 wx_cv_func_iconv_const="no"
36407 echo "$as_me: failed program was:" >&5
36408 sed 's/^/| /' conftest.$ac_ext >&5
36410 wx_cv_func_iconv_const="yes"
36413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36416 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36417 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36420 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36421 iconv_const="const"
36425 cat >>confdefs.h <<_ACEOF
36426 #define ICONV_CONST $iconv_const
36431 if test "$am_cv_lib_iconv" = yes; then
36436 LIBS="$LIBICONV $LIBS"
36438 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36440 for ac_func in sigaction
36442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36443 echo "$as_me:$LINENO: checking for $ac_func" >&5
36444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36445 if eval "test \"\${$as_ac_var+set}\" = set"; then
36446 echo $ECHO_N "(cached) $ECHO_C" >&6
36448 cat >conftest.$ac_ext <<_ACEOF
36451 cat confdefs.h >>conftest.$ac_ext
36452 cat >>conftest.$ac_ext <<_ACEOF
36453 /* end confdefs.h. */
36454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36456 #define $ac_func innocuous_$ac_func
36458 /* System header to define __stub macros and hopefully few prototypes,
36459 which can conflict with char $ac_func (); below.
36460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36461 <limits.h> exists even on freestanding compilers. */
36464 # include <limits.h>
36466 # include <assert.h>
36471 /* Override any gcc2 internal prototype to avoid an error. */
36476 /* We use char because int might match the return type of a gcc2
36477 builtin and then its argument prototype would still apply. */
36479 /* The GNU C library defines this for functions which it implements
36480 to always fail with ENOSYS. Some functions are actually named
36481 something starting with __ and the normal name is an alias. */
36482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36485 char (*f) () = $ac_func;
36494 return f != $ac_func;
36499 rm -f conftest.$ac_objext conftest$ac_exeext
36500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36501 (eval $ac_link) 2>conftest.er1
36503 grep -v '^ *+' conftest.er1 >conftest.err
36505 cat conftest.err >&5
36506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36507 (exit $ac_status); } &&
36508 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36510 (eval $ac_try) 2>&5
36512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36513 (exit $ac_status); }; } &&
36514 { ac_try='test -s conftest$ac_exeext'
36515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36516 (eval $ac_try) 2>&5
36518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36519 (exit $ac_status); }; }; then
36520 eval "$as_ac_var=yes"
36522 echo "$as_me: failed program was:" >&5
36523 sed 's/^/| /' conftest.$ac_ext >&5
36525 eval "$as_ac_var=no"
36527 rm -f conftest.err conftest.$ac_objext \
36528 conftest$ac_exeext conftest.$ac_ext
36530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36532 if test `eval echo '${'$as_ac_var'}'` = yes; then
36533 cat >>confdefs.h <<_ACEOF
36534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36541 if test "$ac_cv_func_sigaction" = "no"; then
36542 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36543 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36544 wxUSE_ON_FATAL_EXCEPTION=no
36547 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36548 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36549 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36550 if test "${wx_cv_type_sa_handler+set}" = set; then
36551 echo $ECHO_N "(cached) $ECHO_C" >&6
36554 cat >conftest.$ac_ext <<_ACEOF
36557 cat confdefs.h >>conftest.$ac_ext
36558 cat >>conftest.$ac_ext <<_ACEOF
36559 /* end confdefs.h. */
36560 #include <signal.h>
36565 extern void testSigHandler(int);
36567 struct sigaction sa;
36568 sa.sa_handler = testSigHandler;
36574 rm -f conftest.$ac_objext
36575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36576 (eval $ac_compile) 2>conftest.er1
36578 grep -v '^ *+' conftest.er1 >conftest.err
36580 cat conftest.err >&5
36581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36582 (exit $ac_status); } &&
36583 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36585 (eval $ac_try) 2>&5
36587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36588 (exit $ac_status); }; } &&
36589 { ac_try='test -s conftest.$ac_objext'
36590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36591 (eval $ac_try) 2>&5
36593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36594 (exit $ac_status); }; }; then
36596 wx_cv_type_sa_handler=int
36599 echo "$as_me: failed program was:" >&5
36600 sed 's/^/| /' conftest.$ac_ext >&5
36603 wx_cv_type_sa_handler=void
36606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36609 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36610 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36612 cat >>confdefs.h <<_ACEOF
36613 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36619 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36620 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36621 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36622 if test "${wx_cv_func_backtrace+set}" = set; then
36623 echo $ECHO_N "(cached) $ECHO_C" >&6
36626 cat >conftest.$ac_ext <<_ACEOF
36629 cat confdefs.h >>conftest.$ac_ext
36630 cat >>conftest.$ac_ext <<_ACEOF
36631 /* end confdefs.h. */
36632 #include <execinfo.h>
36640 backtrace(trace, 1);
36641 messages = backtrace_symbols(trace, 1);
36647 rm -f conftest.$ac_objext
36648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36649 (eval $ac_compile) 2>conftest.er1
36651 grep -v '^ *+' conftest.er1 >conftest.err
36653 cat conftest.err >&5
36654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36655 (exit $ac_status); } &&
36656 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
36662 { ac_try='test -s conftest.$ac_objext'
36663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36664 (eval $ac_try) 2>&5
36666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36667 (exit $ac_status); }; }; then
36668 wx_cv_func_backtrace=yes
36670 echo "$as_me: failed program was:" >&5
36671 sed 's/^/| /' conftest.$ac_ext >&5
36673 wx_cv_func_backtrace=no
36676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36680 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36681 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36684 if test "$wx_cv_func_backtrace" = "no"; then
36685 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36686 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36687 wxUSE_STACKWALKER=no
36689 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36690 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36691 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36692 echo $ECHO_N "(cached) $ECHO_C" >&6
36695 cat >conftest.$ac_ext <<_ACEOF
36698 cat confdefs.h >>conftest.$ac_ext
36699 cat >>conftest.$ac_ext <<_ACEOF
36700 /* end confdefs.h. */
36701 #include <cxxabi.h>
36707 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36713 rm -f conftest.$ac_objext conftest$ac_exeext
36714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36715 (eval $ac_link) 2>conftest.er1
36717 grep -v '^ *+' conftest.er1 >conftest.err
36719 cat conftest.err >&5
36720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36721 (exit $ac_status); } &&
36722 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36724 (eval $ac_try) 2>&5
36726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36727 (exit $ac_status); }; } &&
36728 { ac_try='test -s conftest$ac_exeext'
36729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36730 (eval $ac_try) 2>&5
36732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36733 (exit $ac_status); }; }; then
36734 wx_cv_func_cxa_demangle=yes
36736 echo "$as_me: failed program was:" >&5
36737 sed 's/^/| /' conftest.$ac_ext >&5
36739 wx_cv_func_cxa_demangle=no
36742 rm -f conftest.err conftest.$ac_objext \
36743 conftest$ac_exeext conftest.$ac_ext
36747 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36748 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36750 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36751 cat >>confdefs.h <<\_ACEOF
36752 #define HAVE_CXA_DEMANGLE 1
36759 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36760 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36761 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36762 wxUSE_STACKWALKER=no
36768 for ac_func in mkstemp mktemp
36770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36771 echo "$as_me:$LINENO: checking for $ac_func" >&5
36772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36773 if eval "test \"\${$as_ac_var+set}\" = set"; then
36774 echo $ECHO_N "(cached) $ECHO_C" >&6
36776 cat >conftest.$ac_ext <<_ACEOF
36779 cat confdefs.h >>conftest.$ac_ext
36780 cat >>conftest.$ac_ext <<_ACEOF
36781 /* end confdefs.h. */
36782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36784 #define $ac_func innocuous_$ac_func
36786 /* System header to define __stub macros and hopefully few prototypes,
36787 which can conflict with char $ac_func (); below.
36788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36789 <limits.h> exists even on freestanding compilers. */
36792 # include <limits.h>
36794 # include <assert.h>
36799 /* Override any gcc2 internal prototype to avoid an error. */
36804 /* We use char because int might match the return type of a gcc2
36805 builtin and then its argument prototype would still apply. */
36807 /* The GNU C library defines this for functions which it implements
36808 to always fail with ENOSYS. Some functions are actually named
36809 something starting with __ and the normal name is an alias. */
36810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36813 char (*f) () = $ac_func;
36822 return f != $ac_func;
36827 rm -f conftest.$ac_objext conftest$ac_exeext
36828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36829 (eval $ac_link) 2>conftest.er1
36831 grep -v '^ *+' conftest.er1 >conftest.err
36833 cat conftest.err >&5
36834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36835 (exit $ac_status); } &&
36836 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36838 (eval $ac_try) 2>&5
36840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36841 (exit $ac_status); }; } &&
36842 { ac_try='test -s conftest$ac_exeext'
36843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36844 (eval $ac_try) 2>&5
36846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36847 (exit $ac_status); }; }; then
36848 eval "$as_ac_var=yes"
36850 echo "$as_me: failed program was:" >&5
36851 sed 's/^/| /' conftest.$ac_ext >&5
36853 eval "$as_ac_var=no"
36855 rm -f conftest.err conftest.$ac_objext \
36856 conftest$ac_exeext conftest.$ac_ext
36858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36860 if test `eval echo '${'$as_ac_var'}'` = yes; then
36861 cat >>confdefs.h <<_ACEOF
36862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36869 echo "$as_me:$LINENO: checking for statfs" >&5
36870 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36871 if test "${wx_cv_func_statfs+set}" = set; then
36872 echo $ECHO_N "(cached) $ECHO_C" >&6
36874 cat >conftest.$ac_ext <<_ACEOF
36877 cat confdefs.h >>conftest.$ac_ext
36878 cat >>conftest.$ac_ext <<_ACEOF
36879 /* end confdefs.h. */
36881 #if defined(__BSD__)
36882 #include <sys/param.h>
36883 #include <sys/mount.h>
36885 #include <sys/vfs.h>
36903 rm -f conftest.$ac_objext
36904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36905 (eval $ac_compile) 2>conftest.er1
36907 grep -v '^ *+' conftest.er1 >conftest.err
36909 cat conftest.err >&5
36910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36911 (exit $ac_status); } &&
36912 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36914 (eval $ac_try) 2>&5
36916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36917 (exit $ac_status); }; } &&
36918 { ac_try='test -s conftest.$ac_objext'
36919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36920 (eval $ac_try) 2>&5
36922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36923 (exit $ac_status); }; }; then
36924 wx_cv_func_statfs=yes
36926 echo "$as_me: failed program was:" >&5
36927 sed 's/^/| /' conftest.$ac_ext >&5
36929 wx_cv_func_statfs=no
36932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36935 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36936 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36938 if test "$wx_cv_func_statfs" = "yes"; then
36939 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36940 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36941 if test "${wx_cv_func_statfs_decl+set}" = set; then
36942 echo $ECHO_N "(cached) $ECHO_C" >&6
36944 cat >conftest.$ac_ext <<_ACEOF
36947 cat confdefs.h >>conftest.$ac_ext
36948 cat >>conftest.$ac_ext <<_ACEOF
36949 /* end confdefs.h. */
36951 #if defined(__BSD__)
36952 #include <sys/param.h>
36953 #include <sys/mount.h>
36955 #include <sys/vfs.h>
36969 rm -f conftest.$ac_objext
36970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36971 (eval $ac_compile) 2>conftest.er1
36973 grep -v '^ *+' conftest.er1 >conftest.err
36975 cat conftest.err >&5
36976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36977 (exit $ac_status); } &&
36978 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36980 (eval $ac_try) 2>&5
36982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36983 (exit $ac_status); }; } &&
36984 { ac_try='test -s conftest.$ac_objext'
36985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36986 (eval $ac_try) 2>&5
36988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36989 (exit $ac_status); }; }; then
36990 wx_cv_func_statfs_decl=yes
36992 echo "$as_me: failed program was:" >&5
36993 sed 's/^/| /' conftest.$ac_ext >&5
36995 wx_cv_func_statfs_decl=no
36998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37001 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37002 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37004 if test "$wx_cv_func_statfs_decl" = "yes"; then
37005 cat >>confdefs.h <<\_ACEOF
37006 #define HAVE_STATFS_DECL 1
37011 wx_cv_type_statvfs_t="struct statfs"
37012 cat >>confdefs.h <<\_ACEOF
37013 #define HAVE_STATFS 1
37017 echo "$as_me:$LINENO: checking for statvfs" >&5
37018 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37019 if test "${wx_cv_func_statvfs+set}" = set; then
37020 echo $ECHO_N "(cached) $ECHO_C" >&6
37022 cat >conftest.$ac_ext <<_ACEOF
37025 cat confdefs.h >>conftest.$ac_ext
37026 cat >>conftest.$ac_ext <<_ACEOF
37027 /* end confdefs.h. */
37029 #include <stddef.h>
37030 #include <sys/statvfs.h>
37036 statvfs("/", NULL);
37042 rm -f conftest.$ac_objext
37043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37044 (eval $ac_compile) 2>conftest.er1
37046 grep -v '^ *+' conftest.er1 >conftest.err
37048 cat conftest.err >&5
37049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37050 (exit $ac_status); } &&
37051 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37053 (eval $ac_try) 2>&5
37055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37056 (exit $ac_status); }; } &&
37057 { ac_try='test -s conftest.$ac_objext'
37058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37059 (eval $ac_try) 2>&5
37061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37062 (exit $ac_status); }; }; then
37063 wx_cv_func_statvfs=yes
37065 echo "$as_me: failed program was:" >&5
37066 sed 's/^/| /' conftest.$ac_ext >&5
37068 wx_cv_func_statvfs=no
37071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37074 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37075 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37077 if test "$wx_cv_func_statvfs" = "yes"; then
37078 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37079 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37080 if test "${wx_cv_type_statvfs_t+set}" = set; then
37081 echo $ECHO_N "(cached) $ECHO_C" >&6
37083 cat >conftest.$ac_ext <<_ACEOF
37086 cat confdefs.h >>conftest.$ac_ext
37087 cat >>conftest.$ac_ext <<_ACEOF
37088 /* end confdefs.h. */
37090 #include <sys/statvfs.h>
37107 rm -f conftest.$ac_objext
37108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37109 (eval $ac_compile) 2>conftest.er1
37111 grep -v '^ *+' conftest.er1 >conftest.err
37113 cat conftest.err >&5
37114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37115 (exit $ac_status); } &&
37116 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37118 (eval $ac_try) 2>&5
37120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37121 (exit $ac_status); }; } &&
37122 { ac_try='test -s conftest.$ac_objext'
37123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37124 (eval $ac_try) 2>&5
37126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37127 (exit $ac_status); }; }; then
37128 wx_cv_type_statvfs_t=statvfs_t
37130 echo "$as_me: failed program was:" >&5
37131 sed 's/^/| /' conftest.$ac_ext >&5
37134 cat >conftest.$ac_ext <<_ACEOF
37137 cat confdefs.h >>conftest.$ac_ext
37138 cat >>conftest.$ac_ext <<_ACEOF
37139 /* end confdefs.h. */
37141 #include <sys/statvfs.h>
37158 rm -f conftest.$ac_objext
37159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37160 (eval $ac_compile) 2>conftest.er1
37162 grep -v '^ *+' conftest.er1 >conftest.err
37164 cat conftest.err >&5
37165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37166 (exit $ac_status); } &&
37167 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37169 (eval $ac_try) 2>&5
37171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37172 (exit $ac_status); }; } &&
37173 { ac_try='test -s conftest.$ac_objext'
37174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37175 (eval $ac_try) 2>&5
37177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37178 (exit $ac_status); }; }; then
37179 wx_cv_type_statvfs_t="struct statvfs"
37181 echo "$as_me: failed program was:" >&5
37182 sed 's/^/| /' conftest.$ac_ext >&5
37184 wx_cv_type_statvfs_t="unknown"
37187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37194 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37195 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37197 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37198 cat >>confdefs.h <<\_ACEOF
37199 #define HAVE_STATVFS 1
37204 wx_cv_type_statvfs_t="unknown"
37208 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37209 cat >>confdefs.h <<_ACEOF
37210 #define WX_STATFS_T $wx_cv_type_statvfs_t
37214 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37215 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37218 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37221 for ac_func in fcntl flock
37223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37224 echo "$as_me:$LINENO: checking for $ac_func" >&5
37225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37226 if eval "test \"\${$as_ac_var+set}\" = set"; then
37227 echo $ECHO_N "(cached) $ECHO_C" >&6
37229 cat >conftest.$ac_ext <<_ACEOF
37232 cat confdefs.h >>conftest.$ac_ext
37233 cat >>conftest.$ac_ext <<_ACEOF
37234 /* end confdefs.h. */
37235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37237 #define $ac_func innocuous_$ac_func
37239 /* System header to define __stub macros and hopefully few prototypes,
37240 which can conflict with char $ac_func (); below.
37241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37242 <limits.h> exists even on freestanding compilers. */
37245 # include <limits.h>
37247 # include <assert.h>
37252 /* Override any gcc2 internal prototype to avoid an error. */
37257 /* We use char because int might match the return type of a gcc2
37258 builtin and then its argument prototype would still apply. */
37260 /* The GNU C library defines this for functions which it implements
37261 to always fail with ENOSYS. Some functions are actually named
37262 something starting with __ and the normal name is an alias. */
37263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37266 char (*f) () = $ac_func;
37275 return f != $ac_func;
37280 rm -f conftest.$ac_objext conftest$ac_exeext
37281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37282 (eval $ac_link) 2>conftest.er1
37284 grep -v '^ *+' conftest.er1 >conftest.err
37286 cat conftest.err >&5
37287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37288 (exit $ac_status); } &&
37289 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37291 (eval $ac_try) 2>&5
37293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37294 (exit $ac_status); }; } &&
37295 { ac_try='test -s conftest$ac_exeext'
37296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37297 (eval $ac_try) 2>&5
37299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37300 (exit $ac_status); }; }; then
37301 eval "$as_ac_var=yes"
37303 echo "$as_me: failed program was:" >&5
37304 sed 's/^/| /' conftest.$ac_ext >&5
37306 eval "$as_ac_var=no"
37308 rm -f conftest.err conftest.$ac_objext \
37309 conftest$ac_exeext conftest.$ac_ext
37311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37313 if test `eval echo '${'$as_ac_var'}'` = yes; then
37314 cat >>confdefs.h <<_ACEOF
37315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37322 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37323 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37324 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37325 wxUSE_SNGLINST_CHECKER=no
37330 for ac_func in timegm
37332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37333 echo "$as_me:$LINENO: checking for $ac_func" >&5
37334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37335 if eval "test \"\${$as_ac_var+set}\" = set"; then
37336 echo $ECHO_N "(cached) $ECHO_C" >&6
37338 cat >conftest.$ac_ext <<_ACEOF
37341 cat confdefs.h >>conftest.$ac_ext
37342 cat >>conftest.$ac_ext <<_ACEOF
37343 /* end confdefs.h. */
37344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37346 #define $ac_func innocuous_$ac_func
37348 /* System header to define __stub macros and hopefully few prototypes,
37349 which can conflict with char $ac_func (); below.
37350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37351 <limits.h> exists even on freestanding compilers. */
37354 # include <limits.h>
37356 # include <assert.h>
37361 /* Override any gcc2 internal prototype to avoid an error. */
37366 /* We use char because int might match the return type of a gcc2
37367 builtin and then its argument prototype would still apply. */
37369 /* The GNU C library defines this for functions which it implements
37370 to always fail with ENOSYS. Some functions are actually named
37371 something starting with __ and the normal name is an alias. */
37372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37375 char (*f) () = $ac_func;
37384 return f != $ac_func;
37389 rm -f conftest.$ac_objext conftest$ac_exeext
37390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37391 (eval $ac_link) 2>conftest.er1
37393 grep -v '^ *+' conftest.er1 >conftest.err
37395 cat conftest.err >&5
37396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37397 (exit $ac_status); } &&
37398 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37400 (eval $ac_try) 2>&5
37402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37403 (exit $ac_status); }; } &&
37404 { ac_try='test -s conftest$ac_exeext'
37405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37406 (eval $ac_try) 2>&5
37408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37409 (exit $ac_status); }; }; then
37410 eval "$as_ac_var=yes"
37412 echo "$as_me: failed program was:" >&5
37413 sed 's/^/| /' conftest.$ac_ext >&5
37415 eval "$as_ac_var=no"
37417 rm -f conftest.err conftest.$ac_objext \
37418 conftest$ac_exeext conftest.$ac_ext
37420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37422 if test `eval echo '${'$as_ac_var'}'` = yes; then
37423 cat >>confdefs.h <<_ACEOF
37424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37433 for ac_func in putenv setenv
37435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37436 echo "$as_me:$LINENO: checking for $ac_func" >&5
37437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37438 if eval "test \"\${$as_ac_var+set}\" = set"; then
37439 echo $ECHO_N "(cached) $ECHO_C" >&6
37441 cat >conftest.$ac_ext <<_ACEOF
37444 cat confdefs.h >>conftest.$ac_ext
37445 cat >>conftest.$ac_ext <<_ACEOF
37446 /* end confdefs.h. */
37447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37449 #define $ac_func innocuous_$ac_func
37451 /* System header to define __stub macros and hopefully few prototypes,
37452 which can conflict with char $ac_func (); below.
37453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37454 <limits.h> exists even on freestanding compilers. */
37457 # include <limits.h>
37459 # include <assert.h>
37464 /* Override any gcc2 internal prototype to avoid an error. */
37469 /* We use char because int might match the return type of a gcc2
37470 builtin and then its argument prototype would still apply. */
37472 /* The GNU C library defines this for functions which it implements
37473 to always fail with ENOSYS. Some functions are actually named
37474 something starting with __ and the normal name is an alias. */
37475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37478 char (*f) () = $ac_func;
37487 return f != $ac_func;
37492 rm -f conftest.$ac_objext conftest$ac_exeext
37493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37494 (eval $ac_link) 2>conftest.er1
37496 grep -v '^ *+' conftest.er1 >conftest.err
37498 cat conftest.err >&5
37499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37500 (exit $ac_status); } &&
37501 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37503 (eval $ac_try) 2>&5
37505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37506 (exit $ac_status); }; } &&
37507 { ac_try='test -s conftest$ac_exeext'
37508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37509 (eval $ac_try) 2>&5
37511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37512 (exit $ac_status); }; }; then
37513 eval "$as_ac_var=yes"
37515 echo "$as_me: failed program was:" >&5
37516 sed 's/^/| /' conftest.$ac_ext >&5
37518 eval "$as_ac_var=no"
37520 rm -f conftest.err conftest.$ac_objext \
37521 conftest$ac_exeext conftest.$ac_ext
37523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37525 if test `eval echo '${'$as_ac_var'}'` = yes; then
37526 cat >>confdefs.h <<_ACEOF
37527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37534 HAVE_SOME_SLEEP_FUNC=0
37535 if test "$USE_BEOS" = 1; then
37536 cat >>confdefs.h <<\_ACEOF
37537 #define HAVE_SLEEP 1
37540 HAVE_SOME_SLEEP_FUNC=1
37543 if test "$USE_DARWIN" = 1; then
37544 cat >>confdefs.h <<\_ACEOF
37545 #define HAVE_USLEEP 1
37548 HAVE_SOME_SLEEP_FUNC=1
37551 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37554 for ac_func in nanosleep
37556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37557 echo "$as_me:$LINENO: checking for $ac_func" >&5
37558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37559 if eval "test \"\${$as_ac_var+set}\" = set"; then
37560 echo $ECHO_N "(cached) $ECHO_C" >&6
37562 cat >conftest.$ac_ext <<_ACEOF
37565 cat confdefs.h >>conftest.$ac_ext
37566 cat >>conftest.$ac_ext <<_ACEOF
37567 /* end confdefs.h. */
37568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37570 #define $ac_func innocuous_$ac_func
37572 /* System header to define __stub macros and hopefully few prototypes,
37573 which can conflict with char $ac_func (); below.
37574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37575 <limits.h> exists even on freestanding compilers. */
37578 # include <limits.h>
37580 # include <assert.h>
37585 /* Override any gcc2 internal prototype to avoid an error. */
37590 /* We use char because int might match the return type of a gcc2
37591 builtin and then its argument prototype would still apply. */
37593 /* The GNU C library defines this for functions which it implements
37594 to always fail with ENOSYS. Some functions are actually named
37595 something starting with __ and the normal name is an alias. */
37596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37599 char (*f) () = $ac_func;
37608 return f != $ac_func;
37613 rm -f conftest.$ac_objext conftest$ac_exeext
37614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37615 (eval $ac_link) 2>conftest.er1
37617 grep -v '^ *+' conftest.er1 >conftest.err
37619 cat conftest.err >&5
37620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37621 (exit $ac_status); } &&
37622 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37624 (eval $ac_try) 2>&5
37626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37627 (exit $ac_status); }; } &&
37628 { ac_try='test -s conftest$ac_exeext'
37629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37630 (eval $ac_try) 2>&5
37632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37633 (exit $ac_status); }; }; then
37634 eval "$as_ac_var=yes"
37636 echo "$as_me: failed program was:" >&5
37637 sed 's/^/| /' conftest.$ac_ext >&5
37639 eval "$as_ac_var=no"
37641 rm -f conftest.err conftest.$ac_objext \
37642 conftest$ac_exeext conftest.$ac_ext
37644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37646 if test `eval echo '${'$as_ac_var'}'` = yes; then
37647 cat >>confdefs.h <<_ACEOF
37648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37650 cat >>confdefs.h <<\_ACEOF
37651 #define HAVE_NANOSLEEP 1
37656 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37657 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37658 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37659 echo $ECHO_N "(cached) $ECHO_C" >&6
37661 ac_check_lib_save_LIBS=$LIBS
37662 LIBS="-lposix4 $LIBS"
37663 cat >conftest.$ac_ext <<_ACEOF
37666 cat confdefs.h >>conftest.$ac_ext
37667 cat >>conftest.$ac_ext <<_ACEOF
37668 /* end confdefs.h. */
37670 /* Override any gcc2 internal prototype to avoid an error. */
37674 /* We use char because int might match the return type of a gcc2
37675 builtin and then its argument prototype would still apply. */
37685 rm -f conftest.$ac_objext conftest$ac_exeext
37686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37687 (eval $ac_link) 2>conftest.er1
37689 grep -v '^ *+' conftest.er1 >conftest.err
37691 cat conftest.err >&5
37692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37693 (exit $ac_status); } &&
37694 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37696 (eval $ac_try) 2>&5
37698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37699 (exit $ac_status); }; } &&
37700 { ac_try='test -s conftest$ac_exeext'
37701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37702 (eval $ac_try) 2>&5
37704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37705 (exit $ac_status); }; }; then
37706 ac_cv_lib_posix4_nanosleep=yes
37708 echo "$as_me: failed program was:" >&5
37709 sed 's/^/| /' conftest.$ac_ext >&5
37711 ac_cv_lib_posix4_nanosleep=no
37713 rm -f conftest.err conftest.$ac_objext \
37714 conftest$ac_exeext conftest.$ac_ext
37715 LIBS=$ac_check_lib_save_LIBS
37717 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37718 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37719 if test $ac_cv_lib_posix4_nanosleep = yes; then
37721 cat >>confdefs.h <<\_ACEOF
37722 #define HAVE_NANOSLEEP 1
37725 POSIX4_LINK=" -lposix4"
37730 for ac_func in usleep
37732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37733 echo "$as_me:$LINENO: checking for $ac_func" >&5
37734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37735 if eval "test \"\${$as_ac_var+set}\" = set"; then
37736 echo $ECHO_N "(cached) $ECHO_C" >&6
37738 cat >conftest.$ac_ext <<_ACEOF
37741 cat confdefs.h >>conftest.$ac_ext
37742 cat >>conftest.$ac_ext <<_ACEOF
37743 /* end confdefs.h. */
37744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37746 #define $ac_func innocuous_$ac_func
37748 /* System header to define __stub macros and hopefully few prototypes,
37749 which can conflict with char $ac_func (); below.
37750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37751 <limits.h> exists even on freestanding compilers. */
37754 # include <limits.h>
37756 # include <assert.h>
37761 /* Override any gcc2 internal prototype to avoid an error. */
37766 /* We use char because int might match the return type of a gcc2
37767 builtin and then its argument prototype would still apply. */
37769 /* The GNU C library defines this for functions which it implements
37770 to always fail with ENOSYS. Some functions are actually named
37771 something starting with __ and the normal name is an alias. */
37772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37775 char (*f) () = $ac_func;
37784 return f != $ac_func;
37789 rm -f conftest.$ac_objext conftest$ac_exeext
37790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37791 (eval $ac_link) 2>conftest.er1
37793 grep -v '^ *+' conftest.er1 >conftest.err
37795 cat conftest.err >&5
37796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37797 (exit $ac_status); } &&
37798 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37800 (eval $ac_try) 2>&5
37802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37803 (exit $ac_status); }; } &&
37804 { ac_try='test -s conftest$ac_exeext'
37805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37806 (eval $ac_try) 2>&5
37808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37809 (exit $ac_status); }; }; then
37810 eval "$as_ac_var=yes"
37812 echo "$as_me: failed program was:" >&5
37813 sed 's/^/| /' conftest.$ac_ext >&5
37815 eval "$as_ac_var=no"
37817 rm -f conftest.err conftest.$ac_objext \
37818 conftest$ac_exeext conftest.$ac_ext
37820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37822 if test `eval echo '${'$as_ac_var'}'` = yes; then
37823 cat >>confdefs.h <<_ACEOF
37824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37826 cat >>confdefs.h <<\_ACEOF
37827 #define HAVE_USLEEP 1
37831 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37832 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37850 for ac_func in uname gethostname
37852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37853 echo "$as_me:$LINENO: checking for $ac_func" >&5
37854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37855 if eval "test \"\${$as_ac_var+set}\" = set"; then
37856 echo $ECHO_N "(cached) $ECHO_C" >&6
37858 cat >conftest.$ac_ext <<_ACEOF
37861 cat confdefs.h >>conftest.$ac_ext
37862 cat >>conftest.$ac_ext <<_ACEOF
37863 /* end confdefs.h. */
37864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37866 #define $ac_func innocuous_$ac_func
37868 /* System header to define __stub macros and hopefully few prototypes,
37869 which can conflict with char $ac_func (); below.
37870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37871 <limits.h> exists even on freestanding compilers. */
37874 # include <limits.h>
37876 # include <assert.h>
37881 /* Override any gcc2 internal prototype to avoid an error. */
37886 /* We use char because int might match the return type of a gcc2
37887 builtin and then its argument prototype would still apply. */
37889 /* The GNU C library defines this for functions which it implements
37890 to always fail with ENOSYS. Some functions are actually named
37891 something starting with __ and the normal name is an alias. */
37892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37895 char (*f) () = $ac_func;
37904 return f != $ac_func;
37909 rm -f conftest.$ac_objext conftest$ac_exeext
37910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37911 (eval $ac_link) 2>conftest.er1
37913 grep -v '^ *+' conftest.er1 >conftest.err
37915 cat conftest.err >&5
37916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37917 (exit $ac_status); } &&
37918 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37920 (eval $ac_try) 2>&5
37922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37923 (exit $ac_status); }; } &&
37924 { ac_try='test -s conftest$ac_exeext'
37925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37926 (eval $ac_try) 2>&5
37928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37929 (exit $ac_status); }; }; then
37930 eval "$as_ac_var=yes"
37932 echo "$as_me: failed program was:" >&5
37933 sed 's/^/| /' conftest.$ac_ext >&5
37935 eval "$as_ac_var=no"
37937 rm -f conftest.err conftest.$ac_objext \
37938 conftest$ac_exeext conftest.$ac_ext
37940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37942 if test `eval echo '${'$as_ac_var'}'` = yes; then
37943 cat >>confdefs.h <<_ACEOF
37944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37952 for wx_func in strtok_r
37954 echo "$as_me:$LINENO: checking for $wx_func" >&5
37955 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37956 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37957 echo $ECHO_N "(cached) $ECHO_C" >&6
37960 cat >conftest.$ac_ext <<_ACEOF
37964 cat confdefs.h >>conftest.$ac_ext
37965 cat >>conftest.$ac_ext <<_ACEOF
37966 /* end confdefs.h. */
37969 $ac_includes_default
37985 rm -f conftest.$ac_objext conftest$ac_exeext
37986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37987 (eval $ac_link) 2>conftest.er1
37989 grep -v '^ *+' conftest.er1 >conftest.err
37991 cat conftest.err >&5
37992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37993 (exit $ac_status); } &&
37994 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37996 (eval $ac_try) 2>&5
37998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37999 (exit $ac_status); }; } &&
38000 { ac_try='test -s conftest$ac_exeext'
38001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38002 (eval $ac_try) 2>&5
38004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38005 (exit $ac_status); }; }; then
38006 eval wx_cv_func_$wx_func=yes
38008 echo "$as_me: failed program was:" >&5
38009 sed 's/^/| /' conftest.$ac_ext >&5
38011 eval wx_cv_func_$wx_func=no
38013 rm -f conftest.err conftest.$ac_objext \
38014 conftest$ac_exeext conftest.$ac_ext
38017 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38018 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38020 if eval test \$wx_cv_func_$wx_func = yes
38022 cat >>confdefs.h <<_ACEOF
38023 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38036 for ac_func in inet_addr
38038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38039 echo "$as_me:$LINENO: checking for $ac_func" >&5
38040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38041 if eval "test \"\${$as_ac_var+set}\" = set"; then
38042 echo $ECHO_N "(cached) $ECHO_C" >&6
38044 cat >conftest.$ac_ext <<_ACEOF
38047 cat confdefs.h >>conftest.$ac_ext
38048 cat >>conftest.$ac_ext <<_ACEOF
38049 /* end confdefs.h. */
38050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38052 #define $ac_func innocuous_$ac_func
38054 /* System header to define __stub macros and hopefully few prototypes,
38055 which can conflict with char $ac_func (); below.
38056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38057 <limits.h> exists even on freestanding compilers. */
38060 # include <limits.h>
38062 # include <assert.h>
38067 /* Override any gcc2 internal prototype to avoid an error. */
38072 /* We use char because int might match the return type of a gcc2
38073 builtin and then its argument prototype would still apply. */
38075 /* The GNU C library defines this for functions which it implements
38076 to always fail with ENOSYS. Some functions are actually named
38077 something starting with __ and the normal name is an alias. */
38078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38081 char (*f) () = $ac_func;
38090 return f != $ac_func;
38095 rm -f conftest.$ac_objext conftest$ac_exeext
38096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38097 (eval $ac_link) 2>conftest.er1
38099 grep -v '^ *+' conftest.er1 >conftest.err
38101 cat conftest.err >&5
38102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38103 (exit $ac_status); } &&
38104 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38106 (eval $ac_try) 2>&5
38108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38109 (exit $ac_status); }; } &&
38110 { ac_try='test -s conftest$ac_exeext'
38111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38112 (eval $ac_try) 2>&5
38114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38115 (exit $ac_status); }; }; then
38116 eval "$as_ac_var=yes"
38118 echo "$as_me: failed program was:" >&5
38119 sed 's/^/| /' conftest.$ac_ext >&5
38121 eval "$as_ac_var=no"
38123 rm -f conftest.err conftest.$ac_objext \
38124 conftest$ac_exeext conftest.$ac_ext
38126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38128 if test `eval echo '${'$as_ac_var'}'` = yes; then
38129 cat >>confdefs.h <<_ACEOF
38130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38132 cat >>confdefs.h <<\_ACEOF
38133 #define HAVE_INET_ADDR 1
38138 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38139 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38140 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38141 echo $ECHO_N "(cached) $ECHO_C" >&6
38143 ac_check_lib_save_LIBS=$LIBS
38145 cat >conftest.$ac_ext <<_ACEOF
38148 cat confdefs.h >>conftest.$ac_ext
38149 cat >>conftest.$ac_ext <<_ACEOF
38150 /* end confdefs.h. */
38152 /* Override any gcc2 internal prototype to avoid an error. */
38156 /* We use char because int might match the return type of a gcc2
38157 builtin and then its argument prototype would still apply. */
38167 rm -f conftest.$ac_objext conftest$ac_exeext
38168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38169 (eval $ac_link) 2>conftest.er1
38171 grep -v '^ *+' conftest.er1 >conftest.err
38173 cat conftest.err >&5
38174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38175 (exit $ac_status); } &&
38176 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38178 (eval $ac_try) 2>&5
38180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38181 (exit $ac_status); }; } &&
38182 { ac_try='test -s conftest$ac_exeext'
38183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38184 (eval $ac_try) 2>&5
38186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38187 (exit $ac_status); }; }; then
38188 ac_cv_lib_nsl_inet_addr=yes
38190 echo "$as_me: failed program was:" >&5
38191 sed 's/^/| /' conftest.$ac_ext >&5
38193 ac_cv_lib_nsl_inet_addr=no
38195 rm -f conftest.err conftest.$ac_objext \
38196 conftest$ac_exeext conftest.$ac_ext
38197 LIBS=$ac_check_lib_save_LIBS
38199 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38200 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38201 if test $ac_cv_lib_nsl_inet_addr = yes; then
38205 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38206 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38207 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38208 echo $ECHO_N "(cached) $ECHO_C" >&6
38210 ac_check_lib_save_LIBS=$LIBS
38211 LIBS="-lresolv $LIBS"
38212 cat >conftest.$ac_ext <<_ACEOF
38215 cat confdefs.h >>conftest.$ac_ext
38216 cat >>conftest.$ac_ext <<_ACEOF
38217 /* end confdefs.h. */
38219 /* Override any gcc2 internal prototype to avoid an error. */
38223 /* We use char because int might match the return type of a gcc2
38224 builtin and then its argument prototype would still apply. */
38234 rm -f conftest.$ac_objext conftest$ac_exeext
38235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38236 (eval $ac_link) 2>conftest.er1
38238 grep -v '^ *+' conftest.er1 >conftest.err
38240 cat conftest.err >&5
38241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38242 (exit $ac_status); } &&
38243 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38245 (eval $ac_try) 2>&5
38247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38248 (exit $ac_status); }; } &&
38249 { ac_try='test -s conftest$ac_exeext'
38250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38251 (eval $ac_try) 2>&5
38253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38254 (exit $ac_status); }; }; then
38255 ac_cv_lib_resolv_inet_addr=yes
38257 echo "$as_me: failed program was:" >&5
38258 sed 's/^/| /' conftest.$ac_ext >&5
38260 ac_cv_lib_resolv_inet_addr=no
38262 rm -f conftest.err conftest.$ac_objext \
38263 conftest$ac_exeext conftest.$ac_ext
38264 LIBS=$ac_check_lib_save_LIBS
38266 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38267 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38268 if test $ac_cv_lib_resolv_inet_addr = yes; then
38272 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38273 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38274 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38275 echo $ECHO_N "(cached) $ECHO_C" >&6
38277 ac_check_lib_save_LIBS=$LIBS
38278 LIBS="-lsocket $LIBS"
38279 cat >conftest.$ac_ext <<_ACEOF
38282 cat confdefs.h >>conftest.$ac_ext
38283 cat >>conftest.$ac_ext <<_ACEOF
38284 /* end confdefs.h. */
38286 /* Override any gcc2 internal prototype to avoid an error. */
38290 /* We use char because int might match the return type of a gcc2
38291 builtin and then its argument prototype would still apply. */
38301 rm -f conftest.$ac_objext conftest$ac_exeext
38302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38303 (eval $ac_link) 2>conftest.er1
38305 grep -v '^ *+' conftest.er1 >conftest.err
38307 cat conftest.err >&5
38308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38309 (exit $ac_status); } &&
38310 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38312 (eval $ac_try) 2>&5
38314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38315 (exit $ac_status); }; } &&
38316 { ac_try='test -s conftest$ac_exeext'
38317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38318 (eval $ac_try) 2>&5
38320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38321 (exit $ac_status); }; }; then
38322 ac_cv_lib_socket_inet_addr=yes
38324 echo "$as_me: failed program was:" >&5
38325 sed 's/^/| /' conftest.$ac_ext >&5
38327 ac_cv_lib_socket_inet_addr=no
38329 rm -f conftest.err conftest.$ac_objext \
38330 conftest$ac_exeext conftest.$ac_ext
38331 LIBS=$ac_check_lib_save_LIBS
38333 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38334 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38335 if test $ac_cv_lib_socket_inet_addr = yes; then
38355 for ac_func in inet_aton
38357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38358 echo "$as_me:$LINENO: checking for $ac_func" >&5
38359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38360 if eval "test \"\${$as_ac_var+set}\" = set"; then
38361 echo $ECHO_N "(cached) $ECHO_C" >&6
38363 cat >conftest.$ac_ext <<_ACEOF
38366 cat confdefs.h >>conftest.$ac_ext
38367 cat >>conftest.$ac_ext <<_ACEOF
38368 /* end confdefs.h. */
38369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38371 #define $ac_func innocuous_$ac_func
38373 /* System header to define __stub macros and hopefully few prototypes,
38374 which can conflict with char $ac_func (); below.
38375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38376 <limits.h> exists even on freestanding compilers. */
38379 # include <limits.h>
38381 # include <assert.h>
38386 /* Override any gcc2 internal prototype to avoid an error. */
38391 /* We use char because int might match the return type of a gcc2
38392 builtin and then its argument prototype would still apply. */
38394 /* The GNU C library defines this for functions which it implements
38395 to always fail with ENOSYS. Some functions are actually named
38396 something starting with __ and the normal name is an alias. */
38397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38400 char (*f) () = $ac_func;
38409 return f != $ac_func;
38414 rm -f conftest.$ac_objext conftest$ac_exeext
38415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38416 (eval $ac_link) 2>conftest.er1
38418 grep -v '^ *+' conftest.er1 >conftest.err
38420 cat conftest.err >&5
38421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38422 (exit $ac_status); } &&
38423 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38425 (eval $ac_try) 2>&5
38427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38428 (exit $ac_status); }; } &&
38429 { ac_try='test -s conftest$ac_exeext'
38430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38431 (eval $ac_try) 2>&5
38433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38434 (exit $ac_status); }; }; then
38435 eval "$as_ac_var=yes"
38437 echo "$as_me: failed program was:" >&5
38438 sed 's/^/| /' conftest.$ac_ext >&5
38440 eval "$as_ac_var=no"
38442 rm -f conftest.err conftest.$ac_objext \
38443 conftest$ac_exeext conftest.$ac_ext
38445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38447 if test `eval echo '${'$as_ac_var'}'` = yes; then
38448 cat >>confdefs.h <<_ACEOF
38449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38451 cat >>confdefs.h <<\_ACEOF
38452 #define HAVE_INET_ATON 1
38457 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38458 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38459 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38460 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38461 echo $ECHO_N "(cached) $ECHO_C" >&6
38463 ac_check_lib_save_LIBS=$LIBS
38464 LIBS="-l$INET_LINK $LIBS"
38465 cat >conftest.$ac_ext <<_ACEOF
38468 cat confdefs.h >>conftest.$ac_ext
38469 cat >>conftest.$ac_ext <<_ACEOF
38470 /* end confdefs.h. */
38472 /* Override any gcc2 internal prototype to avoid an error. */
38476 /* We use char because int might match the return type of a gcc2
38477 builtin and then its argument prototype would still apply. */
38487 rm -f conftest.$ac_objext conftest$ac_exeext
38488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38489 (eval $ac_link) 2>conftest.er1
38491 grep -v '^ *+' conftest.er1 >conftest.err
38493 cat conftest.err >&5
38494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38495 (exit $ac_status); } &&
38496 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38498 (eval $ac_try) 2>&5
38500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38501 (exit $ac_status); }; } &&
38502 { ac_try='test -s conftest$ac_exeext'
38503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38504 (eval $ac_try) 2>&5
38506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38507 (exit $ac_status); }; }; then
38508 eval "$as_ac_Lib=yes"
38510 echo "$as_me: failed program was:" >&5
38511 sed 's/^/| /' conftest.$ac_ext >&5
38513 eval "$as_ac_Lib=no"
38515 rm -f conftest.err conftest.$ac_objext \
38516 conftest$ac_exeext conftest.$ac_ext
38517 LIBS=$ac_check_lib_save_LIBS
38519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38520 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38521 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38522 cat >>confdefs.h <<\_ACEOF
38523 #define HAVE_INET_ATON 1
38533 if test "x$INET_LINK" != "x"; then
38534 cat >>confdefs.h <<\_ACEOF
38535 #define HAVE_INET_ADDR 1
38538 INET_LINK=" -l$INET_LINK"
38546 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38547 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38548 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38549 echo $ECHO_N "(cached) $ECHO_C" >&6
38551 ac_check_lib_save_LIBS=$LIBS
38553 cat >conftest.$ac_ext <<_ACEOF
38556 cat confdefs.h >>conftest.$ac_ext
38557 cat >>conftest.$ac_ext <<_ACEOF
38558 /* end confdefs.h. */
38560 /* Override any gcc2 internal prototype to avoid an error. */
38564 /* We use char because int might match the return type of a gcc2
38565 builtin and then its argument prototype would still apply. */
38575 rm -f conftest.$ac_objext conftest$ac_exeext
38576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38577 (eval $ac_link) 2>conftest.er1
38579 grep -v '^ *+' conftest.er1 >conftest.err
38581 cat conftest.err >&5
38582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38583 (exit $ac_status); } &&
38584 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38586 (eval $ac_try) 2>&5
38588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38589 (exit $ac_status); }; } &&
38590 { ac_try='test -s conftest$ac_exeext'
38591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38592 (eval $ac_try) 2>&5
38594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38595 (exit $ac_status); }; }; then
38596 ac_cv_lib_esd_esd_close=yes
38598 echo "$as_me: failed program was:" >&5
38599 sed 's/^/| /' conftest.$ac_ext >&5
38601 ac_cv_lib_esd_esd_close=no
38603 rm -f conftest.err conftest.$ac_objext \
38604 conftest$ac_exeext conftest.$ac_ext
38605 LIBS=$ac_check_lib_save_LIBS
38607 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38608 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38609 if test $ac_cv_lib_esd_esd_close = yes; then
38612 for ac_header in esd.h
38614 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38616 echo "$as_me:$LINENO: checking for $ac_header" >&5
38617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38619 echo $ECHO_N "(cached) $ECHO_C" >&6
38621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38624 # Is the header compilable?
38625 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38626 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38627 cat >conftest.$ac_ext <<_ACEOF
38630 cat confdefs.h >>conftest.$ac_ext
38631 cat >>conftest.$ac_ext <<_ACEOF
38632 /* end confdefs.h. */
38633 $ac_includes_default
38634 #include <$ac_header>
38636 rm -f conftest.$ac_objext
38637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38638 (eval $ac_compile) 2>conftest.er1
38640 grep -v '^ *+' conftest.er1 >conftest.err
38642 cat conftest.err >&5
38643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38644 (exit $ac_status); } &&
38645 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38647 (eval $ac_try) 2>&5
38649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38650 (exit $ac_status); }; } &&
38651 { ac_try='test -s conftest.$ac_objext'
38652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38653 (eval $ac_try) 2>&5
38655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38656 (exit $ac_status); }; }; then
38657 ac_header_compiler=yes
38659 echo "$as_me: failed program was:" >&5
38660 sed 's/^/| /' conftest.$ac_ext >&5
38662 ac_header_compiler=no
38664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38665 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38666 echo "${ECHO_T}$ac_header_compiler" >&6
38668 # Is the header present?
38669 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38670 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38671 cat >conftest.$ac_ext <<_ACEOF
38674 cat confdefs.h >>conftest.$ac_ext
38675 cat >>conftest.$ac_ext <<_ACEOF
38676 /* end confdefs.h. */
38677 #include <$ac_header>
38679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38680 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38682 grep -v '^ *+' conftest.er1 >conftest.err
38684 cat conftest.err >&5
38685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38686 (exit $ac_status); } >/dev/null; then
38687 if test -s conftest.err; then
38688 ac_cpp_err=$ac_cxx_preproc_warn_flag
38689 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38696 if test -z "$ac_cpp_err"; then
38697 ac_header_preproc=yes
38699 echo "$as_me: failed program was:" >&5
38700 sed 's/^/| /' conftest.$ac_ext >&5
38702 ac_header_preproc=no
38704 rm -f conftest.err conftest.$ac_ext
38705 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38706 echo "${ECHO_T}$ac_header_preproc" >&6
38708 # So? What about this header?
38709 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38711 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38712 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38713 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38714 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38715 ac_header_preproc=yes
38718 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38719 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38720 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38721 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38722 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38723 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38724 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38725 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38726 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38727 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38728 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38729 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38732 ## ----------------------------------------- ##
38733 ## Report this to wx-dev@lists.wxwidgets.org ##
38734 ## ----------------------------------------- ##
38737 sed "s/^/$as_me: WARNING: /" >&2
38740 echo "$as_me:$LINENO: checking for $ac_header" >&5
38741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38743 echo $ECHO_N "(cached) $ECHO_C" >&6
38745 eval "$as_ac_Header=\$ac_header_preproc"
38747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38748 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38751 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38752 cat >>confdefs.h <<_ACEOF
38753 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38756 EXTRALIBS_ESD="-lesd"
38767 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38768 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38769 cat >conftest.$ac_ext <<_ACEOF
38772 cat confdefs.h >>conftest.$ac_ext
38773 cat >>conftest.$ac_ext <<_ACEOF
38774 /* end confdefs.h. */
38776 #include <linux/cdrom.h>
38779 #include <sys/cdio.h>
38785 struct cdrom_tocentry entry, old_entry;
38790 rm -f conftest.$ac_objext
38791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38792 (eval $ac_compile) 2>conftest.er1
38794 grep -v '^ *+' conftest.er1 >conftest.err
38796 cat conftest.err >&5
38797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38798 (exit $ac_status); } &&
38799 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38801 (eval $ac_try) 2>&5
38803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38804 (exit $ac_status); }; } &&
38805 { ac_try='test -s conftest.$ac_objext'
38806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38807 (eval $ac_try) 2>&5
38809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38810 (exit $ac_status); }; }; then
38811 echo "$as_me:$LINENO: result: yes" >&5
38812 echo "${ECHO_T}yes" >&6
38813 cat >>confdefs.h <<\_ACEOF
38814 #define HAVE_KNOWN_CDROM_INTERFACE 1
38818 echo "$as_me: failed program was:" >&5
38819 sed 's/^/| /' conftest.$ac_ext >&5
38821 echo "$as_me:$LINENO: result: no" >&5
38822 echo "${ECHO_T}no" >&6
38824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38827 cat >confcache <<\_ACEOF
38828 # This file is a shell script that caches the results of configure
38829 # tests run on this system so they can be shared between configure
38830 # scripts and configure runs, see configure's option --config-cache.
38831 # It is not useful on other systems. If it contains results you don't
38832 # want to keep, you may remove or edit it.
38834 # config.status only pays attention to the cache file if you give it
38835 # the --recheck option to rerun configure.
38837 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38838 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38839 # following values.
38843 # The following way of writing the cache mishandles newlines in values,
38844 # but we know of no workaround that is simple, portable, and efficient.
38845 # So, don't put newlines in cache variables' values.
38846 # Ultrix sh set writes to stderr and can't be redirected directly,
38847 # and sets the high bit in the cache file unless we assign to the vars.
38850 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38852 # `set' does not quote correctly, so add quotes (double-quote
38853 # substitution turns \\\\ into \\, and sed turns \\ into \).
38856 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38859 # `set' quotes correctly as required by POSIX, so do not add quotes.
38861 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38868 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38870 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38872 if diff $cache_file confcache >/dev/null 2>&1; then :; else
38873 if test -w $cache_file; then
38874 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38875 cat confcache >$cache_file
38877 echo "not updating unwritable cache $cache_file"
38883 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38889 if test "$wxUSE_THREADS" = "yes" ; then
38890 if test "$USE_BEOS" = 1; then
38891 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38892 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38897 if test "$wxUSE_THREADS" = "yes" ; then
38900 THREAD_OPTS="-pthread"
38902 *-*-solaris2* | *-*-sunos4* )
38903 if test "x$GCC" = "xyes"; then
38904 THREAD_OPTS="-pthreads $THREAD_OPTS"
38906 THREAD_OPTS="-mt $THREAD_OPTS"
38910 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38912 *-*-darwin* | *-*-cygwin* )
38916 THREAD_OPTS="pthreads"
38919 if test "x$GCC" = "xyes"; then
38920 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38928 if test "x$GCC" = "xyes"; then
38934 if test "x$GCC" != "xyes"; then
38935 THREAD_OPTS="-Ethread"
38940 THREAD_OPTS="$THREAD_OPTS pthread none"
38943 for flag in $THREAD_OPTS; do
38946 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38947 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
38951 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38952 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
38953 THREADS_CXXFLAGS="$flag"
38957 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38958 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
38959 THREADS_LINK="-l$flag"
38964 save_CXXFLAGS="$CXXFLAGS"
38965 LIBS="$THREADS_LINK $LIBS"
38966 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
38968 cat >conftest.$ac_ext <<_ACEOF
38971 cat confdefs.h >>conftest.$ac_ext
38972 cat >>conftest.$ac_ext <<_ACEOF
38973 /* end confdefs.h. */
38974 #include <pthread.h>
38978 pthread_create(0,0,0,0);
38983 rm -f conftest.$ac_objext conftest$ac_exeext
38984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38985 (eval $ac_link) 2>conftest.er1
38987 grep -v '^ *+' conftest.er1 >conftest.err
38989 cat conftest.err >&5
38990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38991 (exit $ac_status); } &&
38992 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38994 (eval $ac_try) 2>&5
38996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38997 (exit $ac_status); }; } &&
38998 { ac_try='test -s conftest$ac_exeext'
38999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39000 (eval $ac_try) 2>&5
39002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39003 (exit $ac_status); }; }; then
39006 echo "$as_me: failed program was:" >&5
39007 sed 's/^/| /' conftest.$ac_ext >&5
39010 rm -f conftest.err conftest.$ac_objext \
39011 conftest$ac_exeext conftest.$ac_ext
39014 CXXFLAGS="$save_CXXFLAGS"
39016 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39017 echo "${ECHO_T}$THREADS_OK" >&6
39018 if test "x$THREADS_OK" = "xyes"; then
39023 THREADS_CXXFLAGS=""
39026 if test "x$THREADS_OK" != "xyes"; then
39028 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39029 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39031 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
39032 LIBS="$THREADS_LINK $LIBS"
39034 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39035 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39039 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39040 flag="-D_THREAD_SAFE"
39043 flag="-D_THREAD_SAFE"
39046 flag="-D_REENTRANT"
39047 if test "x$GCC" != "xyes"; then
39048 flag="$flag -D_RWSTD_MULTI_THREAD"
39051 *solaris* | alpha*-osf*)
39052 flag="-D_REENTRANT"
39055 echo "$as_me:$LINENO: result: ${flag}" >&5
39056 echo "${ECHO_T}${flag}" >&6
39057 if test "x$flag" != xno; then
39058 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
39061 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
39065 if test "$wxUSE_THREADS" = "yes" ; then
39067 for ac_func in thr_setconcurrency
39069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39070 echo "$as_me:$LINENO: checking for $ac_func" >&5
39071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39072 if eval "test \"\${$as_ac_var+set}\" = set"; then
39073 echo $ECHO_N "(cached) $ECHO_C" >&6
39075 cat >conftest.$ac_ext <<_ACEOF
39078 cat confdefs.h >>conftest.$ac_ext
39079 cat >>conftest.$ac_ext <<_ACEOF
39080 /* end confdefs.h. */
39081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39083 #define $ac_func innocuous_$ac_func
39085 /* System header to define __stub macros and hopefully few prototypes,
39086 which can conflict with char $ac_func (); below.
39087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39088 <limits.h> exists even on freestanding compilers. */
39091 # include <limits.h>
39093 # include <assert.h>
39098 /* Override any gcc2 internal prototype to avoid an error. */
39103 /* We use char because int might match the return type of a gcc2
39104 builtin and then its argument prototype would still apply. */
39106 /* The GNU C library defines this for functions which it implements
39107 to always fail with ENOSYS. Some functions are actually named
39108 something starting with __ and the normal name is an alias. */
39109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39112 char (*f) () = $ac_func;
39121 return f != $ac_func;
39126 rm -f conftest.$ac_objext conftest$ac_exeext
39127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39128 (eval $ac_link) 2>conftest.er1
39130 grep -v '^ *+' conftest.er1 >conftest.err
39132 cat conftest.err >&5
39133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39134 (exit $ac_status); } &&
39135 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39137 (eval $ac_try) 2>&5
39139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39140 (exit $ac_status); }; } &&
39141 { ac_try='test -s conftest$ac_exeext'
39142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39143 (eval $ac_try) 2>&5
39145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39146 (exit $ac_status); }; }; then
39147 eval "$as_ac_var=yes"
39149 echo "$as_me: failed program was:" >&5
39150 sed 's/^/| /' conftest.$ac_ext >&5
39152 eval "$as_ac_var=no"
39154 rm -f conftest.err conftest.$ac_objext \
39155 conftest$ac_exeext conftest.$ac_ext
39157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39159 if test `eval echo '${'$as_ac_var'}'` = yes; then
39160 cat >>confdefs.h <<_ACEOF
39161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39168 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39169 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39170 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39171 echo $ECHO_N "(cached) $ECHO_C" >&6
39174 cat >conftest.$ac_ext <<_ACEOF
39177 cat confdefs.h >>conftest.$ac_ext
39178 cat >>conftest.$ac_ext <<_ACEOF
39179 /* end confdefs.h. */
39180 #include <pthread.h>
39181 void ThreadCleanupFunc(void *p);
39188 pthread_cleanup_push(ThreadCleanupFunc, p);
39189 pthread_cleanup_pop(0);
39195 rm -f conftest.$ac_objext
39196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39197 (eval $ac_compile) 2>conftest.er1
39199 grep -v '^ *+' conftest.er1 >conftest.err
39201 cat conftest.err >&5
39202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39203 (exit $ac_status); } &&
39204 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39206 (eval $ac_try) 2>&5
39208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39209 (exit $ac_status); }; } &&
39210 { ac_try='test -s conftest.$ac_objext'
39211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39212 (eval $ac_try) 2>&5
39214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39215 (exit $ac_status); }; }; then
39217 wx_cv_func_pthread_cleanup=yes
39220 echo "$as_me: failed program was:" >&5
39221 sed 's/^/| /' conftest.$ac_ext >&5
39224 wx_cv_func_pthread_cleanup=no
39228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39231 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39232 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39233 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39234 cat >>confdefs.h <<\_ACEOF
39235 #define wxHAVE_PTHREAD_CLEANUP 1
39241 for ac_header in sched.h
39243 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39245 echo "$as_me:$LINENO: checking for $ac_header" >&5
39246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39248 echo $ECHO_N "(cached) $ECHO_C" >&6
39250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39251 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39253 # Is the header compilable?
39254 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39255 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39256 cat >conftest.$ac_ext <<_ACEOF
39259 cat confdefs.h >>conftest.$ac_ext
39260 cat >>conftest.$ac_ext <<_ACEOF
39261 /* end confdefs.h. */
39262 $ac_includes_default
39263 #include <$ac_header>
39265 rm -f conftest.$ac_objext
39266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39267 (eval $ac_compile) 2>conftest.er1
39269 grep -v '^ *+' conftest.er1 >conftest.err
39271 cat conftest.err >&5
39272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39273 (exit $ac_status); } &&
39274 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39276 (eval $ac_try) 2>&5
39278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39279 (exit $ac_status); }; } &&
39280 { ac_try='test -s conftest.$ac_objext'
39281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39282 (eval $ac_try) 2>&5
39284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39285 (exit $ac_status); }; }; then
39286 ac_header_compiler=yes
39288 echo "$as_me: failed program was:" >&5
39289 sed 's/^/| /' conftest.$ac_ext >&5
39291 ac_header_compiler=no
39293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39295 echo "${ECHO_T}$ac_header_compiler" >&6
39297 # Is the header present?
39298 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39299 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39300 cat >conftest.$ac_ext <<_ACEOF
39303 cat confdefs.h >>conftest.$ac_ext
39304 cat >>conftest.$ac_ext <<_ACEOF
39305 /* end confdefs.h. */
39306 #include <$ac_header>
39308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39309 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39311 grep -v '^ *+' conftest.er1 >conftest.err
39313 cat conftest.err >&5
39314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39315 (exit $ac_status); } >/dev/null; then
39316 if test -s conftest.err; then
39317 ac_cpp_err=$ac_cxx_preproc_warn_flag
39318 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39325 if test -z "$ac_cpp_err"; then
39326 ac_header_preproc=yes
39328 echo "$as_me: failed program was:" >&5
39329 sed 's/^/| /' conftest.$ac_ext >&5
39331 ac_header_preproc=no
39333 rm -f conftest.err conftest.$ac_ext
39334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39335 echo "${ECHO_T}$ac_header_preproc" >&6
39337 # So? What about this header?
39338 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39340 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39341 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39343 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39344 ac_header_preproc=yes
39347 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39348 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39349 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39350 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39351 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39352 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39353 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39354 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39356 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39357 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39358 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39361 ## ----------------------------------------- ##
39362 ## Report this to wx-dev@lists.wxwidgets.org ##
39363 ## ----------------------------------------- ##
39366 sed "s/^/$as_me: WARNING: /" >&2
39369 echo "$as_me:$LINENO: checking for $ac_header" >&5
39370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39372 echo $ECHO_N "(cached) $ECHO_C" >&6
39374 eval "$as_ac_Header=\$ac_header_preproc"
39376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39380 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39381 cat >>confdefs.h <<_ACEOF
39382 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39389 if test "$ac_cv_header_sched_h" = "yes"; then
39390 echo "$as_me:$LINENO: checking for sched_yield" >&5
39391 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39392 if test "${ac_cv_func_sched_yield+set}" = set; then
39393 echo $ECHO_N "(cached) $ECHO_C" >&6
39395 cat >conftest.$ac_ext <<_ACEOF
39398 cat confdefs.h >>conftest.$ac_ext
39399 cat >>conftest.$ac_ext <<_ACEOF
39400 /* end confdefs.h. */
39401 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39403 #define sched_yield innocuous_sched_yield
39405 /* System header to define __stub macros and hopefully few prototypes,
39406 which can conflict with char sched_yield (); below.
39407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39408 <limits.h> exists even on freestanding compilers. */
39411 # include <limits.h>
39413 # include <assert.h>
39418 /* Override any gcc2 internal prototype to avoid an error. */
39423 /* We use char because int might match the return type of a gcc2
39424 builtin and then its argument prototype would still apply. */
39425 char sched_yield ();
39426 /* The GNU C library defines this for functions which it implements
39427 to always fail with ENOSYS. Some functions are actually named
39428 something starting with __ and the normal name is an alias. */
39429 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39432 char (*f) () = sched_yield;
39441 return f != sched_yield;
39446 rm -f conftest.$ac_objext conftest$ac_exeext
39447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39448 (eval $ac_link) 2>conftest.er1
39450 grep -v '^ *+' conftest.er1 >conftest.err
39452 cat conftest.err >&5
39453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39454 (exit $ac_status); } &&
39455 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39457 (eval $ac_try) 2>&5
39459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39460 (exit $ac_status); }; } &&
39461 { ac_try='test -s conftest$ac_exeext'
39462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39463 (eval $ac_try) 2>&5
39465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39466 (exit $ac_status); }; }; then
39467 ac_cv_func_sched_yield=yes
39469 echo "$as_me: failed program was:" >&5
39470 sed 's/^/| /' conftest.$ac_ext >&5
39472 ac_cv_func_sched_yield=no
39474 rm -f conftest.err conftest.$ac_objext \
39475 conftest$ac_exeext conftest.$ac_ext
39477 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39478 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39479 if test $ac_cv_func_sched_yield = yes; then
39480 cat >>confdefs.h <<\_ACEOF
39481 #define HAVE_SCHED_YIELD 1
39486 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39487 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39488 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39489 echo $ECHO_N "(cached) $ECHO_C" >&6
39491 ac_check_lib_save_LIBS=$LIBS
39492 LIBS="-lposix4 $LIBS"
39493 cat >conftest.$ac_ext <<_ACEOF
39496 cat confdefs.h >>conftest.$ac_ext
39497 cat >>conftest.$ac_ext <<_ACEOF
39498 /* end confdefs.h. */
39500 /* Override any gcc2 internal prototype to avoid an error. */
39504 /* We use char because int might match the return type of a gcc2
39505 builtin and then its argument prototype would still apply. */
39506 char sched_yield ();
39515 rm -f conftest.$ac_objext conftest$ac_exeext
39516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39517 (eval $ac_link) 2>conftest.er1
39519 grep -v '^ *+' conftest.er1 >conftest.err
39521 cat conftest.err >&5
39522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39523 (exit $ac_status); } &&
39524 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39526 (eval $ac_try) 2>&5
39528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39529 (exit $ac_status); }; } &&
39530 { ac_try='test -s conftest$ac_exeext'
39531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39532 (eval $ac_try) 2>&5
39534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39535 (exit $ac_status); }; }; then
39536 ac_cv_lib_posix4_sched_yield=yes
39538 echo "$as_me: failed program was:" >&5
39539 sed 's/^/| /' conftest.$ac_ext >&5
39541 ac_cv_lib_posix4_sched_yield=no
39543 rm -f conftest.err conftest.$ac_objext \
39544 conftest$ac_exeext conftest.$ac_ext
39545 LIBS=$ac_check_lib_save_LIBS
39547 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39548 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39549 if test $ac_cv_lib_posix4_sched_yield = yes; then
39550 cat >>confdefs.h <<\_ACEOF
39551 #define HAVE_SCHED_YIELD 1
39553 POSIX4_LINK=" -lposix4"
39555 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39556 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39567 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39568 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39569 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39570 echo $ECHO_N "(cached) $ECHO_C" >&6
39572 cat >conftest.$ac_ext <<_ACEOF
39575 cat confdefs.h >>conftest.$ac_ext
39576 cat >>conftest.$ac_ext <<_ACEOF
39577 /* end confdefs.h. */
39578 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39580 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39582 /* System header to define __stub macros and hopefully few prototypes,
39583 which can conflict with char pthread_attr_getschedpolicy (); below.
39584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39585 <limits.h> exists even on freestanding compilers. */
39588 # include <limits.h>
39590 # include <assert.h>
39593 #undef pthread_attr_getschedpolicy
39595 /* Override any gcc2 internal prototype to avoid an error. */
39600 /* We use char because int might match the return type of a gcc2
39601 builtin and then its argument prototype would still apply. */
39602 char pthread_attr_getschedpolicy ();
39603 /* The GNU C library defines this for functions which it implements
39604 to always fail with ENOSYS. Some functions are actually named
39605 something starting with __ and the normal name is an alias. */
39606 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39609 char (*f) () = pthread_attr_getschedpolicy;
39618 return f != pthread_attr_getschedpolicy;
39623 rm -f conftest.$ac_objext conftest$ac_exeext
39624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39625 (eval $ac_link) 2>conftest.er1
39627 grep -v '^ *+' conftest.er1 >conftest.err
39629 cat conftest.err >&5
39630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39631 (exit $ac_status); } &&
39632 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39634 (eval $ac_try) 2>&5
39636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39637 (exit $ac_status); }; } &&
39638 { ac_try='test -s conftest$ac_exeext'
39639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39640 (eval $ac_try) 2>&5
39642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39643 (exit $ac_status); }; }; then
39644 ac_cv_func_pthread_attr_getschedpolicy=yes
39646 echo "$as_me: failed program was:" >&5
39647 sed 's/^/| /' conftest.$ac_ext >&5
39649 ac_cv_func_pthread_attr_getschedpolicy=no
39651 rm -f conftest.err conftest.$ac_objext \
39652 conftest$ac_exeext conftest.$ac_ext
39654 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39655 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39656 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39657 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39658 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39659 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39660 echo $ECHO_N "(cached) $ECHO_C" >&6
39662 cat >conftest.$ac_ext <<_ACEOF
39665 cat confdefs.h >>conftest.$ac_ext
39666 cat >>conftest.$ac_ext <<_ACEOF
39667 /* end confdefs.h. */
39668 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39670 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39672 /* System header to define __stub macros and hopefully few prototypes,
39673 which can conflict with char pthread_attr_setschedparam (); below.
39674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39675 <limits.h> exists even on freestanding compilers. */
39678 # include <limits.h>
39680 # include <assert.h>
39683 #undef pthread_attr_setschedparam
39685 /* Override any gcc2 internal prototype to avoid an error. */
39690 /* We use char because int might match the return type of a gcc2
39691 builtin and then its argument prototype would still apply. */
39692 char pthread_attr_setschedparam ();
39693 /* The GNU C library defines this for functions which it implements
39694 to always fail with ENOSYS. Some functions are actually named
39695 something starting with __ and the normal name is an alias. */
39696 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39699 char (*f) () = pthread_attr_setschedparam;
39708 return f != pthread_attr_setschedparam;
39713 rm -f conftest.$ac_objext conftest$ac_exeext
39714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39715 (eval $ac_link) 2>conftest.er1
39717 grep -v '^ *+' conftest.er1 >conftest.err
39719 cat conftest.err >&5
39720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39721 (exit $ac_status); } &&
39722 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39724 (eval $ac_try) 2>&5
39726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39727 (exit $ac_status); }; } &&
39728 { ac_try='test -s conftest$ac_exeext'
39729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39730 (eval $ac_try) 2>&5
39732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39733 (exit $ac_status); }; }; then
39734 ac_cv_func_pthread_attr_setschedparam=yes
39736 echo "$as_me: failed program was:" >&5
39737 sed 's/^/| /' conftest.$ac_ext >&5
39739 ac_cv_func_pthread_attr_setschedparam=no
39741 rm -f conftest.err conftest.$ac_objext \
39742 conftest$ac_exeext conftest.$ac_ext
39744 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39745 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39746 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39747 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39748 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39749 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39750 echo $ECHO_N "(cached) $ECHO_C" >&6
39752 cat >conftest.$ac_ext <<_ACEOF
39755 cat confdefs.h >>conftest.$ac_ext
39756 cat >>conftest.$ac_ext <<_ACEOF
39757 /* end confdefs.h. */
39758 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39760 #define sched_get_priority_max innocuous_sched_get_priority_max
39762 /* System header to define __stub macros and hopefully few prototypes,
39763 which can conflict with char sched_get_priority_max (); below.
39764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39765 <limits.h> exists even on freestanding compilers. */
39768 # include <limits.h>
39770 # include <assert.h>
39773 #undef sched_get_priority_max
39775 /* Override any gcc2 internal prototype to avoid an error. */
39780 /* We use char because int might match the return type of a gcc2
39781 builtin and then its argument prototype would still apply. */
39782 char sched_get_priority_max ();
39783 /* The GNU C library defines this for functions which it implements
39784 to always fail with ENOSYS. Some functions are actually named
39785 something starting with __ and the normal name is an alias. */
39786 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39789 char (*f) () = sched_get_priority_max;
39798 return f != sched_get_priority_max;
39803 rm -f conftest.$ac_objext conftest$ac_exeext
39804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39805 (eval $ac_link) 2>conftest.er1
39807 grep -v '^ *+' conftest.er1 >conftest.err
39809 cat conftest.err >&5
39810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39811 (exit $ac_status); } &&
39812 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39814 (eval $ac_try) 2>&5
39816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39817 (exit $ac_status); }; } &&
39818 { ac_try='test -s conftest$ac_exeext'
39819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39820 (eval $ac_try) 2>&5
39822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39823 (exit $ac_status); }; }; then
39824 ac_cv_func_sched_get_priority_max=yes
39826 echo "$as_me: failed program was:" >&5
39827 sed 's/^/| /' conftest.$ac_ext >&5
39829 ac_cv_func_sched_get_priority_max=no
39831 rm -f conftest.err conftest.$ac_objext \
39832 conftest$ac_exeext conftest.$ac_ext
39834 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39835 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39836 if test $ac_cv_func_sched_get_priority_max = yes; then
39839 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39840 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39841 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39842 echo $ECHO_N "(cached) $ECHO_C" >&6
39844 ac_check_lib_save_LIBS=$LIBS
39845 LIBS="-lposix4 $LIBS"
39846 cat >conftest.$ac_ext <<_ACEOF
39849 cat confdefs.h >>conftest.$ac_ext
39850 cat >>conftest.$ac_ext <<_ACEOF
39851 /* end confdefs.h. */
39853 /* Override any gcc2 internal prototype to avoid an error. */
39857 /* We use char because int might match the return type of a gcc2
39858 builtin and then its argument prototype would still apply. */
39859 char sched_get_priority_max ();
39863 sched_get_priority_max ();
39868 rm -f conftest.$ac_objext conftest$ac_exeext
39869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39870 (eval $ac_link) 2>conftest.er1
39872 grep -v '^ *+' conftest.er1 >conftest.err
39874 cat conftest.err >&5
39875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39876 (exit $ac_status); } &&
39877 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39879 (eval $ac_try) 2>&5
39881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39882 (exit $ac_status); }; } &&
39883 { ac_try='test -s conftest$ac_exeext'
39884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39885 (eval $ac_try) 2>&5
39887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39888 (exit $ac_status); }; }; then
39889 ac_cv_lib_posix4_sched_get_priority_max=yes
39891 echo "$as_me: failed program was:" >&5
39892 sed 's/^/| /' conftest.$ac_ext >&5
39894 ac_cv_lib_posix4_sched_get_priority_max=no
39896 rm -f conftest.err conftest.$ac_objext \
39897 conftest$ac_exeext conftest.$ac_ext
39898 LIBS=$ac_check_lib_save_LIBS
39900 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39901 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
39902 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39905 POSIX4_LINK=" -lposix4"
39919 if test "$HAVE_PRIOR_FUNCS" = 1; then
39920 cat >>confdefs.h <<\_ACEOF
39921 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39925 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39926 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39929 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39930 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
39931 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39932 echo $ECHO_N "(cached) $ECHO_C" >&6
39934 cat >conftest.$ac_ext <<_ACEOF
39937 cat confdefs.h >>conftest.$ac_ext
39938 cat >>conftest.$ac_ext <<_ACEOF
39939 /* end confdefs.h. */
39940 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39942 #define pthread_cancel innocuous_pthread_cancel
39944 /* System header to define __stub macros and hopefully few prototypes,
39945 which can conflict with char pthread_cancel (); below.
39946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39947 <limits.h> exists even on freestanding compilers. */
39950 # include <limits.h>
39952 # include <assert.h>
39955 #undef pthread_cancel
39957 /* Override any gcc2 internal prototype to avoid an error. */
39962 /* We use char because int might match the return type of a gcc2
39963 builtin and then its argument prototype would still apply. */
39964 char pthread_cancel ();
39965 /* The GNU C library defines this for functions which it implements
39966 to always fail with ENOSYS. Some functions are actually named
39967 something starting with __ and the normal name is an alias. */
39968 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
39971 char (*f) () = pthread_cancel;
39980 return f != pthread_cancel;
39985 rm -f conftest.$ac_objext conftest$ac_exeext
39986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39987 (eval $ac_link) 2>conftest.er1
39989 grep -v '^ *+' conftest.er1 >conftest.err
39991 cat conftest.err >&5
39992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39993 (exit $ac_status); } &&
39994 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39996 (eval $ac_try) 2>&5
39998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39999 (exit $ac_status); }; } &&
40000 { ac_try='test -s conftest$ac_exeext'
40001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40002 (eval $ac_try) 2>&5
40004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40005 (exit $ac_status); }; }; then
40006 ac_cv_func_pthread_cancel=yes
40008 echo "$as_me: failed program was:" >&5
40009 sed 's/^/| /' conftest.$ac_ext >&5
40011 ac_cv_func_pthread_cancel=no
40013 rm -f conftest.err conftest.$ac_objext \
40014 conftest$ac_exeext conftest.$ac_ext
40016 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40017 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40018 if test $ac_cv_func_pthread_cancel = yes; then
40019 cat >>confdefs.h <<\_ACEOF
40020 #define HAVE_PTHREAD_CANCEL 1
40024 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40025 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40029 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40030 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40031 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40032 echo $ECHO_N "(cached) $ECHO_C" >&6
40034 cat >conftest.$ac_ext <<_ACEOF
40037 cat confdefs.h >>conftest.$ac_ext
40038 cat >>conftest.$ac_ext <<_ACEOF
40039 /* end confdefs.h. */
40040 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40042 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40044 /* System header to define __stub macros and hopefully few prototypes,
40045 which can conflict with char pthread_attr_setstacksize (); below.
40046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40047 <limits.h> exists even on freestanding compilers. */
40050 # include <limits.h>
40052 # include <assert.h>
40055 #undef pthread_attr_setstacksize
40057 /* Override any gcc2 internal prototype to avoid an error. */
40062 /* We use char because int might match the return type of a gcc2
40063 builtin and then its argument prototype would still apply. */
40064 char pthread_attr_setstacksize ();
40065 /* The GNU C library defines this for functions which it implements
40066 to always fail with ENOSYS. Some functions are actually named
40067 something starting with __ and the normal name is an alias. */
40068 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40071 char (*f) () = pthread_attr_setstacksize;
40080 return f != pthread_attr_setstacksize;
40085 rm -f conftest.$ac_objext conftest$ac_exeext
40086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40087 (eval $ac_link) 2>conftest.er1
40089 grep -v '^ *+' conftest.er1 >conftest.err
40091 cat conftest.err >&5
40092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40093 (exit $ac_status); } &&
40094 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40096 (eval $ac_try) 2>&5
40098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40099 (exit $ac_status); }; } &&
40100 { ac_try='test -s conftest$ac_exeext'
40101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40102 (eval $ac_try) 2>&5
40104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40105 (exit $ac_status); }; }; then
40106 ac_cv_func_pthread_attr_setstacksize=yes
40108 echo "$as_me: failed program was:" >&5
40109 sed 's/^/| /' conftest.$ac_ext >&5
40111 ac_cv_func_pthread_attr_setstacksize=no
40113 rm -f conftest.err conftest.$ac_objext \
40114 conftest$ac_exeext conftest.$ac_ext
40116 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40117 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40118 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40119 cat >>confdefs.h <<\_ACEOF
40120 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40127 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40128 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40129 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40130 echo $ECHO_N "(cached) $ECHO_C" >&6
40133 cat >conftest.$ac_ext <<_ACEOF
40136 cat confdefs.h >>conftest.$ac_ext
40137 cat >>conftest.$ac_ext <<_ACEOF
40138 /* end confdefs.h. */
40139 #include <pthread.h>
40144 pthread_mutexattr_t attr;
40145 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40151 rm -f conftest.$ac_objext
40152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40153 (eval $ac_compile) 2>conftest.er1
40155 grep -v '^ *+' conftest.er1 >conftest.err
40157 cat conftest.err >&5
40158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40159 (exit $ac_status); } &&
40160 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40162 (eval $ac_try) 2>&5
40164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40165 (exit $ac_status); }; } &&
40166 { ac_try='test -s conftest.$ac_objext'
40167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40168 (eval $ac_try) 2>&5
40170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40171 (exit $ac_status); }; }; then
40172 wx_cv_type_pthread_mutexattr_t=yes
40174 echo "$as_me: failed program was:" >&5
40175 sed 's/^/| /' conftest.$ac_ext >&5
40177 wx_cv_type_pthread_mutexattr_t=no
40180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40183 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40184 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40186 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40187 cat >>confdefs.h <<\_ACEOF
40188 #define HAVE_PTHREAD_MUTEXATTR_T 1
40192 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40193 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40194 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40195 echo $ECHO_N "(cached) $ECHO_C" >&6
40198 cat >conftest.$ac_ext <<_ACEOF
40201 cat confdefs.h >>conftest.$ac_ext
40202 cat >>conftest.$ac_ext <<_ACEOF
40203 /* end confdefs.h. */
40204 #include <pthread.h>
40209 pthread_mutexattr_t attr;
40210 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40216 rm -f conftest.$ac_objext
40217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40218 (eval $ac_compile) 2>conftest.er1
40220 grep -v '^ *+' conftest.er1 >conftest.err
40222 cat conftest.err >&5
40223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40224 (exit $ac_status); } &&
40225 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40227 (eval $ac_try) 2>&5
40229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40230 (exit $ac_status); }; } &&
40231 { ac_try='test -s conftest.$ac_objext'
40232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40233 (eval $ac_try) 2>&5
40235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40236 (exit $ac_status); }; }; then
40237 wx_cv_func_pthread_mutexattr_settype_decl=yes
40239 echo "$as_me: failed program was:" >&5
40240 sed 's/^/| /' conftest.$ac_ext >&5
40242 wx_cv_func_pthread_mutexattr_settype_decl=no
40245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40248 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40249 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40250 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40251 cat >>confdefs.h <<\_ACEOF
40252 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40257 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40258 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40259 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40260 echo $ECHO_N "(cached) $ECHO_C" >&6
40263 cat >conftest.$ac_ext <<_ACEOF
40266 cat confdefs.h >>conftest.$ac_ext
40267 cat >>conftest.$ac_ext <<_ACEOF
40268 /* end confdefs.h. */
40269 #include <pthread.h>
40274 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40280 rm -f conftest.$ac_objext
40281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40282 (eval $ac_compile) 2>conftest.er1
40284 grep -v '^ *+' conftest.er1 >conftest.err
40286 cat conftest.err >&5
40287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40288 (exit $ac_status); } &&
40289 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40291 (eval $ac_try) 2>&5
40293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40294 (exit $ac_status); }; } &&
40295 { ac_try='test -s conftest.$ac_objext'
40296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40297 (eval $ac_try) 2>&5
40299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40300 (exit $ac_status); }; }; then
40302 wx_cv_type_pthread_rec_mutex_init=yes
40305 echo "$as_me: failed program was:" >&5
40306 sed 's/^/| /' conftest.$ac_ext >&5
40309 wx_cv_type_pthread_rec_mutex_init=no
40313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40316 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40317 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40318 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40319 cat >>confdefs.h <<\_ACEOF
40320 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40324 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40325 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40331 if test "$wxUSE_THREADS" = "yes" ; then
40334 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40335 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40336 if test "${wx_cv_cflags_mthread+set}" = set; then
40337 echo $ECHO_N "(cached) $ECHO_C" >&6
40340 CXXFLAGS_OLD="$CXXFLAGS"
40341 CXXFLAGS="-mthreads $CXXFLAGS"
40342 cat >conftest.$ac_ext <<_ACEOF
40345 cat confdefs.h >>conftest.$ac_ext
40346 cat >>conftest.$ac_ext <<_ACEOF
40347 /* end confdefs.h. */
40357 rm -f conftest.$ac_objext
40358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40359 (eval $ac_compile) 2>conftest.er1
40361 grep -v '^ *+' conftest.er1 >conftest.err
40363 cat conftest.err >&5
40364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40365 (exit $ac_status); } &&
40366 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40368 (eval $ac_try) 2>&5
40370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40371 (exit $ac_status); }; } &&
40372 { ac_try='test -s conftest.$ac_objext'
40373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40374 (eval $ac_try) 2>&5
40376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40377 (exit $ac_status); }; }; then
40378 wx_cv_cflags_mthread=yes
40380 echo "$as_me: failed program was:" >&5
40381 sed 's/^/| /' conftest.$ac_ext >&5
40383 wx_cv_cflags_mthread=no
40386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40390 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40391 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40393 if test "$wx_cv_cflags_mthread" = "yes"; then
40394 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
40395 LDFLAGS="$LDFLAGS -mthreads"
40397 CXXFLAGS="$CXXFLAGS_OLD"
40401 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40402 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40403 LDFLAGS="$LDFLAGS -Zmt"
40409 echo "$as_me:$LINENO: checking for localtime_r" >&5
40410 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40411 if test "${ac_cv_func_localtime_r+set}" = set; then
40412 echo $ECHO_N "(cached) $ECHO_C" >&6
40414 cat >conftest.$ac_ext <<_ACEOF
40417 cat confdefs.h >>conftest.$ac_ext
40418 cat >>conftest.$ac_ext <<_ACEOF
40419 /* end confdefs.h. */
40420 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40422 #define localtime_r innocuous_localtime_r
40424 /* System header to define __stub macros and hopefully few prototypes,
40425 which can conflict with char localtime_r (); below.
40426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40427 <limits.h> exists even on freestanding compilers. */
40430 # include <limits.h>
40432 # include <assert.h>
40437 /* Override any gcc2 internal prototype to avoid an error. */
40442 /* We use char because int might match the return type of a gcc2
40443 builtin and then its argument prototype would still apply. */
40444 char localtime_r ();
40445 /* The GNU C library defines this for functions which it implements
40446 to always fail with ENOSYS. Some functions are actually named
40447 something starting with __ and the normal name is an alias. */
40448 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40451 char (*f) () = localtime_r;
40460 return f != localtime_r;
40465 rm -f conftest.$ac_objext conftest$ac_exeext
40466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40467 (eval $ac_link) 2>conftest.er1
40469 grep -v '^ *+' conftest.er1 >conftest.err
40471 cat conftest.err >&5
40472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40473 (exit $ac_status); } &&
40474 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40476 (eval $ac_try) 2>&5
40478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40479 (exit $ac_status); }; } &&
40480 { ac_try='test -s conftest$ac_exeext'
40481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40482 (eval $ac_try) 2>&5
40484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40485 (exit $ac_status); }; }; then
40486 ac_cv_func_localtime_r=yes
40488 echo "$as_me: failed program was:" >&5
40489 sed 's/^/| /' conftest.$ac_ext >&5
40491 ac_cv_func_localtime_r=no
40493 rm -f conftest.err conftest.$ac_objext \
40494 conftest$ac_exeext conftest.$ac_ext
40496 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40497 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40498 if test $ac_cv_func_localtime_r = yes; then
40499 cat >>confdefs.h <<\_ACEOF
40500 #define HAVE_LOCALTIME_R 1
40505 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40506 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40507 if test "${ac_cv_func_gmtime_r+set}" = set; then
40508 echo $ECHO_N "(cached) $ECHO_C" >&6
40510 cat >conftest.$ac_ext <<_ACEOF
40513 cat confdefs.h >>conftest.$ac_ext
40514 cat >>conftest.$ac_ext <<_ACEOF
40515 /* end confdefs.h. */
40516 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40518 #define gmtime_r innocuous_gmtime_r
40520 /* System header to define __stub macros and hopefully few prototypes,
40521 which can conflict with char gmtime_r (); below.
40522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40523 <limits.h> exists even on freestanding compilers. */
40526 # include <limits.h>
40528 # include <assert.h>
40533 /* Override any gcc2 internal prototype to avoid an error. */
40538 /* We use char because int might match the return type of a gcc2
40539 builtin and then its argument prototype would still apply. */
40541 /* The GNU C library defines this for functions which it implements
40542 to always fail with ENOSYS. Some functions are actually named
40543 something starting with __ and the normal name is an alias. */
40544 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40547 char (*f) () = gmtime_r;
40556 return f != gmtime_r;
40561 rm -f conftest.$ac_objext conftest$ac_exeext
40562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40563 (eval $ac_link) 2>conftest.er1
40565 grep -v '^ *+' conftest.er1 >conftest.err
40567 cat conftest.err >&5
40568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40569 (exit $ac_status); } &&
40570 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40572 (eval $ac_try) 2>&5
40574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40575 (exit $ac_status); }; } &&
40576 { ac_try='test -s conftest$ac_exeext'
40577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40578 (eval $ac_try) 2>&5
40580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40581 (exit $ac_status); }; }; then
40582 ac_cv_func_gmtime_r=yes
40584 echo "$as_me: failed program was:" >&5
40585 sed 's/^/| /' conftest.$ac_ext >&5
40587 ac_cv_func_gmtime_r=no
40589 rm -f conftest.err conftest.$ac_objext \
40590 conftest$ac_exeext conftest.$ac_ext
40592 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40593 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40594 if test $ac_cv_func_gmtime_r = yes; then
40595 cat >>confdefs.h <<\_ACEOF
40596 #define HAVE_GMTIME_R 1
40601 echo "$as_me:$LINENO: checking for readdir_r" >&5
40602 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40603 if test "${ac_cv_func_readdir_r+set}" = set; then
40604 echo $ECHO_N "(cached) $ECHO_C" >&6
40606 cat >conftest.$ac_ext <<_ACEOF
40609 cat confdefs.h >>conftest.$ac_ext
40610 cat >>conftest.$ac_ext <<_ACEOF
40611 /* end confdefs.h. */
40612 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40614 #define readdir_r innocuous_readdir_r
40616 /* System header to define __stub macros and hopefully few prototypes,
40617 which can conflict with char readdir_r (); below.
40618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40619 <limits.h> exists even on freestanding compilers. */
40622 # include <limits.h>
40624 # include <assert.h>
40629 /* Override any gcc2 internal prototype to avoid an error. */
40634 /* We use char because int might match the return type of a gcc2
40635 builtin and then its argument prototype would still apply. */
40637 /* The GNU C library defines this for functions which it implements
40638 to always fail with ENOSYS. Some functions are actually named
40639 something starting with __ and the normal name is an alias. */
40640 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40643 char (*f) () = readdir_r;
40652 return f != readdir_r;
40657 rm -f conftest.$ac_objext conftest$ac_exeext
40658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40659 (eval $ac_link) 2>conftest.er1
40661 grep -v '^ *+' conftest.er1 >conftest.err
40663 cat conftest.err >&5
40664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40665 (exit $ac_status); } &&
40666 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40668 (eval $ac_try) 2>&5
40670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40671 (exit $ac_status); }; } &&
40672 { ac_try='test -s conftest$ac_exeext'
40673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40674 (eval $ac_try) 2>&5
40676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40677 (exit $ac_status); }; }; then
40678 ac_cv_func_readdir_r=yes
40680 echo "$as_me: failed program was:" >&5
40681 sed 's/^/| /' conftest.$ac_ext >&5
40683 ac_cv_func_readdir_r=no
40685 rm -f conftest.err conftest.$ac_objext \
40686 conftest$ac_exeext conftest.$ac_ext
40688 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40689 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40690 if test $ac_cv_func_readdir_r = yes; then
40691 cat >>confdefs.h <<\_ACEOF
40692 #define HAVE_READDIR_R 1
40701 ac_cpp='$CPP $CPPFLAGS'
40702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40706 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40707 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40709 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40710 echo $ECHO_N "(cached) $ECHO_C" >&6
40714 ################################################################
40716 ac_cv_func_which_gethostbyname_r=unknown
40719 # ONE ARGUMENT (sanity check)
40722 # This should fail, as there is no variant of gethostbyname_r() that takes
40723 # a single argument. If it actually compiles, then we can assume that
40724 # netdb.h is not declaring the function, and the compiler is thereby
40725 # assuming an implicit prototype. In which case, we're out of luck.
40727 cat >conftest.$ac_ext <<_ACEOF
40730 cat confdefs.h >>conftest.$ac_ext
40731 cat >>conftest.$ac_ext <<_ACEOF
40732 /* end confdefs.h. */
40738 char *name = "www.gnu.org";
40739 (void)gethostbyname_r(name) /* ; */
40745 rm -f conftest.$ac_objext
40746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40747 (eval $ac_compile) 2>conftest.er1
40749 grep -v '^ *+' conftest.er1 >conftest.err
40751 cat conftest.err >&5
40752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40753 (exit $ac_status); } &&
40754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40756 (eval $ac_try) 2>&5
40758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40759 (exit $ac_status); }; } &&
40760 { ac_try='test -s conftest.$ac_objext'
40761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40762 (eval $ac_try) 2>&5
40764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40765 (exit $ac_status); }; }; then
40766 ac_cv_func_which_gethostbyname_r=no
40768 echo "$as_me: failed program was:" >&5
40769 sed 's/^/| /' conftest.$ac_ext >&5
40772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40779 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40781 cat >conftest.$ac_ext <<_ACEOF
40784 cat confdefs.h >>conftest.$ac_ext
40785 cat >>conftest.$ac_ext <<_ACEOF
40786 /* end confdefs.h. */
40792 char *name = "www.gnu.org";
40793 struct hostent ret, *retp;
40797 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40803 rm -f conftest.$ac_objext
40804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40805 (eval $ac_compile) 2>conftest.er1
40807 grep -v '^ *+' conftest.er1 >conftest.err
40809 cat conftest.err >&5
40810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40811 (exit $ac_status); } &&
40812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40814 (eval $ac_try) 2>&5
40816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40817 (exit $ac_status); }; } &&
40818 { ac_try='test -s conftest.$ac_objext'
40819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40820 (eval $ac_try) 2>&5
40822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40823 (exit $ac_status); }; }; then
40824 ac_cv_func_which_gethostbyname_r=six
40826 echo "$as_me: failed program was:" >&5
40827 sed 's/^/| /' conftest.$ac_ext >&5
40830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40839 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40841 cat >conftest.$ac_ext <<_ACEOF
40844 cat confdefs.h >>conftest.$ac_ext
40845 cat >>conftest.$ac_ext <<_ACEOF
40846 /* end confdefs.h. */
40852 char *name = "www.gnu.org";
40853 struct hostent ret;
40857 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40863 rm -f conftest.$ac_objext
40864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40865 (eval $ac_compile) 2>conftest.er1
40867 grep -v '^ *+' conftest.er1 >conftest.err
40869 cat conftest.err >&5
40870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40871 (exit $ac_status); } &&
40872 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40874 (eval $ac_try) 2>&5
40876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40877 (exit $ac_status); }; } &&
40878 { ac_try='test -s conftest.$ac_objext'
40879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40880 (eval $ac_try) 2>&5
40882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40883 (exit $ac_status); }; }; then
40884 ac_cv_func_which_gethostbyname_r=five
40886 echo "$as_me: failed program was:" >&5
40887 sed 's/^/| /' conftest.$ac_ext >&5
40890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40896 # (e.g. AIX, HP-UX, Tru64)
40899 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40901 cat >conftest.$ac_ext <<_ACEOF
40904 cat confdefs.h >>conftest.$ac_ext
40905 cat >>conftest.$ac_ext <<_ACEOF
40906 /* end confdefs.h. */
40912 char *name = "www.gnu.org";
40913 struct hostent ret;
40914 struct hostent_data data;
40915 (void)gethostbyname_r(name, &ret, &data) /* ; */
40921 rm -f conftest.$ac_objext
40922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40923 (eval $ac_compile) 2>conftest.er1
40925 grep -v '^ *+' conftest.er1 >conftest.err
40927 cat conftest.err >&5
40928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40929 (exit $ac_status); } &&
40930 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40932 (eval $ac_try) 2>&5
40934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40935 (exit $ac_status); }; } &&
40936 { ac_try='test -s conftest.$ac_objext'
40937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40938 (eval $ac_try) 2>&5
40940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40941 (exit $ac_status); }; }; then
40942 ac_cv_func_which_gethostbyname_r=three
40944 echo "$as_me: failed program was:" >&5
40945 sed 's/^/| /' conftest.$ac_ext >&5
40948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40952 ################################################################
40957 case "$ac_cv_func_which_gethostbyname_r" in
40959 echo "$as_me:$LINENO: result: three" >&5
40960 echo "${ECHO_T}three" >&6
40961 cat >>confdefs.h <<\_ACEOF
40962 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40968 echo "$as_me:$LINENO: result: five" >&5
40969 echo "${ECHO_T}five" >&6
40970 cat >>confdefs.h <<\_ACEOF
40971 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40977 echo "$as_me:$LINENO: result: six" >&5
40978 echo "${ECHO_T}six" >&6
40979 cat >>confdefs.h <<\_ACEOF
40980 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40986 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40987 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
40991 echo "$as_me:$LINENO: result: can't tell" >&5
40992 echo "${ECHO_T}can't tell" >&6
40996 { { echo "$as_me:$LINENO: error: internal error" >&5
40997 echo "$as_me: error: internal error" >&2;}
40998 { (exit 1); exit 1; }; }
41003 ac_cpp='$CXXCPP $CPPFLAGS'
41004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41010 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41011 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41012 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41013 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41014 if test "${ac_cv_func_gethostbyname+set}" = set; then
41015 echo $ECHO_N "(cached) $ECHO_C" >&6
41017 cat >conftest.$ac_ext <<_ACEOF
41020 cat confdefs.h >>conftest.$ac_ext
41021 cat >>conftest.$ac_ext <<_ACEOF
41022 /* end confdefs.h. */
41023 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41025 #define gethostbyname innocuous_gethostbyname
41027 /* System header to define __stub macros and hopefully few prototypes,
41028 which can conflict with char gethostbyname (); below.
41029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41030 <limits.h> exists even on freestanding compilers. */
41033 # include <limits.h>
41035 # include <assert.h>
41038 #undef gethostbyname
41040 /* Override any gcc2 internal prototype to avoid an error. */
41045 /* We use char because int might match the return type of a gcc2
41046 builtin and then its argument prototype would still apply. */
41047 char gethostbyname ();
41048 /* The GNU C library defines this for functions which it implements
41049 to always fail with ENOSYS. Some functions are actually named
41050 something starting with __ and the normal name is an alias. */
41051 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41054 char (*f) () = gethostbyname;
41063 return f != gethostbyname;
41068 rm -f conftest.$ac_objext conftest$ac_exeext
41069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41070 (eval $ac_link) 2>conftest.er1
41072 grep -v '^ *+' conftest.er1 >conftest.err
41074 cat conftest.err >&5
41075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41076 (exit $ac_status); } &&
41077 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41079 (eval $ac_try) 2>&5
41081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41082 (exit $ac_status); }; } &&
41083 { ac_try='test -s conftest$ac_exeext'
41084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41085 (eval $ac_try) 2>&5
41087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41088 (exit $ac_status); }; }; then
41089 ac_cv_func_gethostbyname=yes
41091 echo "$as_me: failed program was:" >&5
41092 sed 's/^/| /' conftest.$ac_ext >&5
41094 ac_cv_func_gethostbyname=no
41096 rm -f conftest.err conftest.$ac_objext \
41097 conftest$ac_exeext conftest.$ac_ext
41099 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41100 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41101 if test $ac_cv_func_gethostbyname = yes; then
41102 cat >>confdefs.h <<\_ACEOF
41103 #define HAVE_GETHOSTBYNAME 1
41110 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41111 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41112 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41113 echo $ECHO_N "(cached) $ECHO_C" >&6
41116 cat >conftest.$ac_ext <<_ACEOF
41119 cat confdefs.h >>conftest.$ac_ext
41120 cat >>conftest.$ac_ext <<_ACEOF
41121 /* end confdefs.h. */
41129 struct servent *se, *res;
41132 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41138 rm -f conftest.$ac_objext
41139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41140 (eval $ac_compile) 2>conftest.er1
41142 grep -v '^ *+' conftest.er1 >conftest.err
41144 cat conftest.err >&5
41145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41146 (exit $ac_status); } &&
41147 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41149 (eval $ac_try) 2>&5
41151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41152 (exit $ac_status); }; } &&
41153 { ac_try='test -s conftest.$ac_objext'
41154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41155 (eval $ac_try) 2>&5
41157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41158 (exit $ac_status); }; }; then
41159 ac_cv_func_which_getservbyname_r=six
41161 echo "$as_me: failed program was:" >&5
41162 sed 's/^/| /' conftest.$ac_ext >&5
41165 cat >conftest.$ac_ext <<_ACEOF
41168 cat confdefs.h >>conftest.$ac_ext
41169 cat >>conftest.$ac_ext <<_ACEOF
41170 /* end confdefs.h. */
41178 struct servent *se;
41181 (void) getservbyname_r(name, proto, se, buffer, buflen)
41187 rm -f conftest.$ac_objext
41188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41189 (eval $ac_compile) 2>conftest.er1
41191 grep -v '^ *+' conftest.er1 >conftest.err
41193 cat conftest.err >&5
41194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41195 (exit $ac_status); } &&
41196 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41198 (eval $ac_try) 2>&5
41200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41201 (exit $ac_status); }; } &&
41202 { ac_try='test -s conftest.$ac_objext'
41203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41204 (eval $ac_try) 2>&5
41206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41207 (exit $ac_status); }; }; then
41208 ac_cv_func_which_getservbyname_r=five
41210 echo "$as_me: failed program was:" >&5
41211 sed 's/^/| /' conftest.$ac_ext >&5
41214 cat >conftest.$ac_ext <<_ACEOF
41217 cat confdefs.h >>conftest.$ac_ext
41218 cat >>conftest.$ac_ext <<_ACEOF
41219 /* end confdefs.h. */
41227 struct servent *se;
41228 struct servent_data data;
41229 (void) getservbyname_r(name, proto, se, &data);
41235 rm -f conftest.$ac_objext
41236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41237 (eval $ac_compile) 2>conftest.er1
41239 grep -v '^ *+' conftest.er1 >conftest.err
41241 cat conftest.err >&5
41242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41243 (exit $ac_status); } &&
41244 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41246 (eval $ac_try) 2>&5
41248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41249 (exit $ac_status); }; } &&
41250 { ac_try='test -s conftest.$ac_objext'
41251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41252 (eval $ac_try) 2>&5
41254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41255 (exit $ac_status); }; }; then
41256 ac_cv_func_which_getservbyname_r=four
41258 echo "$as_me: failed program was:" >&5
41259 sed 's/^/| /' conftest.$ac_ext >&5
41261 ac_cv_func_which_getservbyname_r=no
41264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41276 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41277 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41279 if test $ac_cv_func_which_getservbyname_r = six; then
41280 cat >>confdefs.h <<\_ACEOF
41281 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41284 elif test $ac_cv_func_which_getservbyname_r = five; then
41285 cat >>confdefs.h <<\_ACEOF
41286 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41289 elif test $ac_cv_func_which_getservbyname_r = four; then
41290 cat >>confdefs.h <<\_ACEOF
41291 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41297 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41298 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41300 for ac_func in getservbyname
41302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41303 echo "$as_me:$LINENO: checking for $ac_func" >&5
41304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41305 if eval "test \"\${$as_ac_var+set}\" = set"; then
41306 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. */
41314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41316 #define $ac_func innocuous_$ac_func
41318 /* System header to define __stub macros and hopefully few prototypes,
41319 which can conflict with char $ac_func (); below.
41320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41321 <limits.h> exists even on freestanding compilers. */
41324 # include <limits.h>
41326 # include <assert.h>
41331 /* Override any gcc2 internal prototype to avoid an error. */
41336 /* We use char because int might match the return type of a gcc2
41337 builtin and then its argument prototype would still apply. */
41339 /* The GNU C library defines this for functions which it implements
41340 to always fail with ENOSYS. Some functions are actually named
41341 something starting with __ and the normal name is an alias. */
41342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41345 char (*f) () = $ac_func;
41354 return f != $ac_func;
41359 rm -f conftest.$ac_objext conftest$ac_exeext
41360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41361 (eval $ac_link) 2>conftest.er1
41363 grep -v '^ *+' conftest.er1 >conftest.err
41365 cat conftest.err >&5
41366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41367 (exit $ac_status); } &&
41368 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41370 (eval $ac_try) 2>&5
41372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41373 (exit $ac_status); }; } &&
41374 { ac_try='test -s conftest$ac_exeext'
41375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41376 (eval $ac_try) 2>&5
41378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41379 (exit $ac_status); }; }; then
41380 eval "$as_ac_var=yes"
41382 echo "$as_me: failed program was:" >&5
41383 sed 's/^/| /' conftest.$ac_ext >&5
41385 eval "$as_ac_var=no"
41387 rm -f conftest.err conftest.$ac_objext \
41388 conftest$ac_exeext conftest.$ac_ext
41390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41392 if test `eval echo '${'$as_ac_var'}'` = yes; then
41393 cat >>confdefs.h <<_ACEOF
41394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41396 cat >>confdefs.h <<\_ACEOF
41397 #define HAVE_GETSERVBYNAME 1
41405 if test "$wxUSE_THREADS" = "yes"; then
41406 cat >>confdefs.h <<\_ACEOF
41407 #define wxUSE_THREADS 1
41411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41413 if test "$wx_cv_func_strtok_r" = "yes"; then
41414 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41415 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41416 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41417 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41418 echo "$as_me:$LINENO: result: yes" >&5
41419 echo "${ECHO_T}yes" >&6
41421 echo "$as_me:$LINENO: result: no" >&5
41422 echo "${ECHO_T}no" >&6
41427 if test "$WXGTK20" = 1 ; then
41428 cat >>confdefs.h <<_ACEOF
41429 #define __WXGTK20__ $WXGTK20
41435 if test "$WXGTK12" = 1 ; then
41436 cat >>confdefs.h <<_ACEOF
41437 #define __WXGTK12__ $WXGTK12
41442 if test "$WXGTK127" = 1 ; then
41443 cat >>confdefs.h <<_ACEOF
41444 #define __WXGTK127__ $WXGTK127
41449 if test "$WXGPE" = 1 ; then
41450 cat >>confdefs.h <<_ACEOF
41451 #define __WXGPE__ $WXGPE
41457 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41462 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41463 wxUSE_DEBUG_INFO=yes
41464 if test "$GCC" = yes; then
41465 DEBUG_CFLAGS="-ggdb"
41469 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41470 cat >>confdefs.h <<\_ACEOF
41474 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41476 if test "$wxUSE_GTK" = 1 ; then
41477 if test "x$wxGTK_VERSION" = "x1" ; then
41478 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41483 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41484 cat >>confdefs.h <<\_ACEOF
41485 #define wxUSE_MEMORY_TRACING 1
41488 cat >>confdefs.h <<\_ACEOF
41489 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41492 cat >>confdefs.h <<\_ACEOF
41493 #define wxUSE_DEBUG_NEW_ALWAYS 1
41496 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41499 if test "$wxUSE_DMALLOC" = "yes" ; then
41500 DMALLOC_LIBS="-ldmallocthcxx"
41504 if test "$wxUSE_PROFILE" = "yes" ; then
41505 PROFILE_FLAGS=" -pg"
41508 if test "$GCC" = "yes" ; then
41509 if test "$wxUSE_NO_RTTI" = "yes" ; then
41510 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41512 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41513 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41515 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41516 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41521 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41524 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41530 if test "$wxUSE_OPTIMISE" = "no" ; then
41531 if test "$GCC" = yes ; then
41532 OPTIMISE_CFLAGS="-O0"
41535 if test "$GCC" = yes ; then
41537 *-pc-os2_emx | *-pc-os2-emx )
41538 OPTIMISE_CFLAGS="-O2"
41541 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41545 OPTIMISE_CFLAGS="-O"
41550 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41551 cat >>confdefs.h <<\_ACEOF
41552 #define WXWIN_COMPATIBILITY_2_4 1
41556 WXWIN_COMPATIBILITY_2_6="yes"
41559 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41560 cat >>confdefs.h <<\_ACEOF
41561 #define WXWIN_COMPATIBILITY_2_6 1
41567 if test "$wxUSE_GUI" = "yes"; then
41568 cat >>confdefs.h <<\_ACEOF
41569 #define wxUSE_GUI 1
41576 if test "$wxUSE_UNIX" = "yes"; then
41577 cat >>confdefs.h <<\_ACEOF
41578 #define wxUSE_UNIX 1
41584 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41588 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41589 if test "$USE_DARWIN" = 1; then
41591 elif test "$USE_DOS" = 1; then
41595 for ac_func in dlopen
41597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41598 echo "$as_me:$LINENO: checking for $ac_func" >&5
41599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41600 if eval "test \"\${$as_ac_var+set}\" = set"; then
41601 echo $ECHO_N "(cached) $ECHO_C" >&6
41603 cat >conftest.$ac_ext <<_ACEOF
41606 cat confdefs.h >>conftest.$ac_ext
41607 cat >>conftest.$ac_ext <<_ACEOF
41608 /* end confdefs.h. */
41609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41611 #define $ac_func innocuous_$ac_func
41613 /* System header to define __stub macros and hopefully few prototypes,
41614 which can conflict with char $ac_func (); below.
41615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41616 <limits.h> exists even on freestanding compilers. */
41619 # include <limits.h>
41621 # include <assert.h>
41626 /* Override any gcc2 internal prototype to avoid an error. */
41631 /* We use char because int might match the return type of a gcc2
41632 builtin and then its argument prototype would still apply. */
41634 /* The GNU C library defines this for functions which it implements
41635 to always fail with ENOSYS. Some functions are actually named
41636 something starting with __ and the normal name is an alias. */
41637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41640 char (*f) () = $ac_func;
41649 return f != $ac_func;
41654 rm -f conftest.$ac_objext conftest$ac_exeext
41655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41656 (eval $ac_link) 2>conftest.er1
41658 grep -v '^ *+' conftest.er1 >conftest.err
41660 cat conftest.err >&5
41661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41662 (exit $ac_status); } &&
41663 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41665 (eval $ac_try) 2>&5
41667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41668 (exit $ac_status); }; } &&
41669 { ac_try='test -s conftest$ac_exeext'
41670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41671 (eval $ac_try) 2>&5
41673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41674 (exit $ac_status); }; }; then
41675 eval "$as_ac_var=yes"
41677 echo "$as_me: failed program was:" >&5
41678 sed 's/^/| /' conftest.$ac_ext >&5
41680 eval "$as_ac_var=no"
41682 rm -f conftest.err conftest.$ac_objext \
41683 conftest$ac_exeext conftest.$ac_ext
41685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41687 if test `eval echo '${'$as_ac_var'}'` = yes; then
41688 cat >>confdefs.h <<_ACEOF
41689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41692 cat >>confdefs.h <<\_ACEOF
41693 #define HAVE_DLOPEN 1
41700 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41701 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41702 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41703 echo $ECHO_N "(cached) $ECHO_C" >&6
41705 ac_check_lib_save_LIBS=$LIBS
41707 cat >conftest.$ac_ext <<_ACEOF
41710 cat confdefs.h >>conftest.$ac_ext
41711 cat >>conftest.$ac_ext <<_ACEOF
41712 /* end confdefs.h. */
41714 /* Override any gcc2 internal prototype to avoid an error. */
41718 /* We use char because int might match the return type of a gcc2
41719 builtin and then its argument prototype would still apply. */
41729 rm -f conftest.$ac_objext conftest$ac_exeext
41730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41731 (eval $ac_link) 2>conftest.er1
41733 grep -v '^ *+' conftest.er1 >conftest.err
41735 cat conftest.err >&5
41736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41737 (exit $ac_status); } &&
41738 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41740 (eval $ac_try) 2>&5
41742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41743 (exit $ac_status); }; } &&
41744 { ac_try='test -s conftest$ac_exeext'
41745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41746 (eval $ac_try) 2>&5
41748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41749 (exit $ac_status); }; }; then
41750 ac_cv_lib_dl_dlopen=yes
41752 echo "$as_me: failed program was:" >&5
41753 sed 's/^/| /' conftest.$ac_ext >&5
41755 ac_cv_lib_dl_dlopen=no
41757 rm -f conftest.err conftest.$ac_objext \
41758 conftest$ac_exeext conftest.$ac_ext
41759 LIBS=$ac_check_lib_save_LIBS
41761 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41762 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41763 if test $ac_cv_lib_dl_dlopen = yes; then
41765 cat >>confdefs.h <<\_ACEOF
41766 #define HAVE_DLOPEN 1
41770 DL_LINK=" -ldl$DL_LINK"
41775 for ac_func in shl_load
41777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41778 echo "$as_me:$LINENO: checking for $ac_func" >&5
41779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41780 if eval "test \"\${$as_ac_var+set}\" = set"; then
41781 echo $ECHO_N "(cached) $ECHO_C" >&6
41783 cat >conftest.$ac_ext <<_ACEOF
41786 cat confdefs.h >>conftest.$ac_ext
41787 cat >>conftest.$ac_ext <<_ACEOF
41788 /* end confdefs.h. */
41789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41791 #define $ac_func innocuous_$ac_func
41793 /* System header to define __stub macros and hopefully few prototypes,
41794 which can conflict with char $ac_func (); below.
41795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41796 <limits.h> exists even on freestanding compilers. */
41799 # include <limits.h>
41801 # include <assert.h>
41806 /* Override any gcc2 internal prototype to avoid an error. */
41811 /* We use char because int might match the return type of a gcc2
41812 builtin and then its argument prototype would still apply. */
41814 /* The GNU C library defines this for functions which it implements
41815 to always fail with ENOSYS. Some functions are actually named
41816 something starting with __ and the normal name is an alias. */
41817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41820 char (*f) () = $ac_func;
41829 return f != $ac_func;
41834 rm -f conftest.$ac_objext conftest$ac_exeext
41835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41836 (eval $ac_link) 2>conftest.er1
41838 grep -v '^ *+' conftest.er1 >conftest.err
41840 cat conftest.err >&5
41841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41842 (exit $ac_status); } &&
41843 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41845 (eval $ac_try) 2>&5
41847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41848 (exit $ac_status); }; } &&
41849 { ac_try='test -s conftest$ac_exeext'
41850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41851 (eval $ac_try) 2>&5
41853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41854 (exit $ac_status); }; }; then
41855 eval "$as_ac_var=yes"
41857 echo "$as_me: failed program was:" >&5
41858 sed 's/^/| /' conftest.$ac_ext >&5
41860 eval "$as_ac_var=no"
41862 rm -f conftest.err conftest.$ac_objext \
41863 conftest$ac_exeext conftest.$ac_ext
41865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41867 if test `eval echo '${'$as_ac_var'}'` = yes; then
41868 cat >>confdefs.h <<_ACEOF
41869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41872 cat >>confdefs.h <<\_ACEOF
41873 #define HAVE_SHL_LOAD 1
41880 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41881 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41882 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41883 echo $ECHO_N "(cached) $ECHO_C" >&6
41885 ac_check_lib_save_LIBS=$LIBS
41886 LIBS="-lshl_load $LIBS"
41887 cat >conftest.$ac_ext <<_ACEOF
41890 cat confdefs.h >>conftest.$ac_ext
41891 cat >>conftest.$ac_ext <<_ACEOF
41892 /* end confdefs.h. */
41894 /* Override any gcc2 internal prototype to avoid an error. */
41898 /* We use char because int might match the return type of a gcc2
41899 builtin and then its argument prototype would still apply. */
41909 rm -f conftest.$ac_objext conftest$ac_exeext
41910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41911 (eval $ac_link) 2>conftest.er1
41913 grep -v '^ *+' conftest.er1 >conftest.err
41915 cat conftest.err >&5
41916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41917 (exit $ac_status); } &&
41918 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41920 (eval $ac_try) 2>&5
41922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41923 (exit $ac_status); }; } &&
41924 { ac_try='test -s conftest$ac_exeext'
41925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41926 (eval $ac_try) 2>&5
41928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41929 (exit $ac_status); }; }; then
41930 ac_cv_lib_shl_load_dld=yes
41932 echo "$as_me: failed program was:" >&5
41933 sed 's/^/| /' conftest.$ac_ext >&5
41935 ac_cv_lib_shl_load_dld=no
41937 rm -f conftest.err conftest.$ac_objext \
41938 conftest$ac_exeext conftest.$ac_ext
41939 LIBS=$ac_check_lib_save_LIBS
41941 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41942 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
41943 if test $ac_cv_lib_shl_load_dld = yes; then
41946 DL_LINK=" -ldld$DL_LINK"
41962 if test "$HAVE_DL_FUNCS" = 1; then
41964 for ac_func in dlerror
41966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41967 echo "$as_me:$LINENO: checking for $ac_func" >&5
41968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41969 if eval "test \"\${$as_ac_var+set}\" = set"; then
41970 echo $ECHO_N "(cached) $ECHO_C" >&6
41972 cat >conftest.$ac_ext <<_ACEOF
41975 cat confdefs.h >>conftest.$ac_ext
41976 cat >>conftest.$ac_ext <<_ACEOF
41977 /* end confdefs.h. */
41978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41980 #define $ac_func innocuous_$ac_func
41982 /* System header to define __stub macros and hopefully few prototypes,
41983 which can conflict with char $ac_func (); below.
41984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41985 <limits.h> exists even on freestanding compilers. */
41988 # include <limits.h>
41990 # include <assert.h>
41995 /* Override any gcc2 internal prototype to avoid an error. */
42000 /* We use char because int might match the return type of a gcc2
42001 builtin and then its argument prototype would still apply. */
42003 /* The GNU C library defines this for functions which it implements
42004 to always fail with ENOSYS. Some functions are actually named
42005 something starting with __ and the normal name is an alias. */
42006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42009 char (*f) () = $ac_func;
42018 return f != $ac_func;
42023 rm -f conftest.$ac_objext conftest$ac_exeext
42024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42025 (eval $ac_link) 2>conftest.er1
42027 grep -v '^ *+' conftest.er1 >conftest.err
42029 cat conftest.err >&5
42030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42031 (exit $ac_status); } &&
42032 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42034 (eval $ac_try) 2>&5
42036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42037 (exit $ac_status); }; } &&
42038 { ac_try='test -s conftest$ac_exeext'
42039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42040 (eval $ac_try) 2>&5
42042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42043 (exit $ac_status); }; }; then
42044 eval "$as_ac_var=yes"
42046 echo "$as_me: failed program was:" >&5
42047 sed 's/^/| /' conftest.$ac_ext >&5
42049 eval "$as_ac_var=no"
42051 rm -f conftest.err conftest.$ac_objext \
42052 conftest$ac_exeext conftest.$ac_ext
42054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42056 if test `eval echo '${'$as_ac_var'}'` = yes; then
42057 cat >>confdefs.h <<_ACEOF
42058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42060 cat >>confdefs.h <<\_ACEOF
42061 #define HAVE_DLERROR 1
42066 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42067 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42068 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42069 echo $ECHO_N "(cached) $ECHO_C" >&6
42071 ac_check_lib_save_LIBS=$LIBS
42073 cat >conftest.$ac_ext <<_ACEOF
42076 cat confdefs.h >>conftest.$ac_ext
42077 cat >>conftest.$ac_ext <<_ACEOF
42078 /* end confdefs.h. */
42080 /* Override any gcc2 internal prototype to avoid an error. */
42084 /* We use char because int might match the return type of a gcc2
42085 builtin and then its argument prototype would still apply. */
42095 rm -f conftest.$ac_objext conftest$ac_exeext
42096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42097 (eval $ac_link) 2>conftest.er1
42099 grep -v '^ *+' conftest.er1 >conftest.err
42101 cat conftest.err >&5
42102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42103 (exit $ac_status); } &&
42104 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42106 (eval $ac_try) 2>&5
42108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42109 (exit $ac_status); }; } &&
42110 { ac_try='test -s conftest$ac_exeext'
42111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42112 (eval $ac_try) 2>&5
42114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42115 (exit $ac_status); }; }; then
42116 ac_cv_lib_dl_dlerror=yes
42118 echo "$as_me: failed program was:" >&5
42119 sed 's/^/| /' conftest.$ac_ext >&5
42121 ac_cv_lib_dl_dlerror=no
42123 rm -f conftest.err conftest.$ac_objext \
42124 conftest$ac_exeext conftest.$ac_ext
42125 LIBS=$ac_check_lib_save_LIBS
42127 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42128 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42129 if test $ac_cv_lib_dl_dlerror = yes; then
42130 cat >>confdefs.h <<\_ACEOF
42131 #define HAVE_DLERROR 1
42144 if test "$HAVE_DL_FUNCS" = 0; then
42145 if test "$HAVE_SHL_FUNCS" = 0; then
42146 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42147 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42148 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42149 wxUSE_DYNAMIC_LOADER=no
42150 wxUSE_DYNLIB_CLASS=no
42152 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42153 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42160 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42161 cat >>confdefs.h <<\_ACEOF
42162 #define wxUSE_DYNAMIC_LOADER 1
42166 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42167 cat >>confdefs.h <<\_ACEOF
42168 #define wxUSE_DYNLIB_CLASS 1
42175 if test "$wxUSE_PLUGINS" = "yes" ; then
42176 if test "$wxUSE_SHARED" = "no" ; then
42177 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42178 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42181 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42182 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42183 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42186 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42187 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42188 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42191 if test "$wxUSE_PLUGINS" = "yes" ; then
42192 cat >>confdefs.h <<\_ACEOF
42193 #define wxUSE_PLUGINS 1
42200 if test "$wxUSE_STL" = "yes"; then
42201 cat >>confdefs.h <<\_ACEOF
42202 #define wxUSE_STL 1
42207 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42208 cat >>confdefs.h <<\_ACEOF
42209 #define wxUSE_APPLE_IEEE 1
42214 if test "$wxUSE_TIMER" = "yes"; then
42215 cat >>confdefs.h <<\_ACEOF
42216 #define wxUSE_TIMER 1
42221 if test "$USE_UNIX" = "1" ; then
42222 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42223 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42224 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42225 echo $ECHO_N "(cached) $ECHO_C" >&6
42228 cat >conftest.$ac_ext <<_ACEOF
42231 cat confdefs.h >>conftest.$ac_ext
42232 cat >>conftest.$ac_ext <<_ACEOF
42233 /* end confdefs.h. */
42235 #include <sys/ioctl.h>
42236 #include <sys/soundcard.h>
42242 ioctl(0, SNDCTL_DSP_SPEED, 0);
42248 rm -f conftest.$ac_objext conftest$ac_exeext
42249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42250 (eval $ac_link) 2>conftest.er1
42252 grep -v '^ *+' conftest.er1 >conftest.err
42254 cat conftest.err >&5
42255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42256 (exit $ac_status); } &&
42257 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42259 (eval $ac_try) 2>&5
42261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42262 (exit $ac_status); }; } &&
42263 { ac_try='test -s conftest$ac_exeext'
42264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42265 (eval $ac_try) 2>&5
42267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42268 (exit $ac_status); }; }; then
42269 ac_cv_header_sys_soundcard=yes
42271 echo "$as_me: failed program was:" >&5
42272 sed 's/^/| /' conftest.$ac_ext >&5
42276 LIBS="$saveLibs -lossaudio"
42277 cat >conftest.$ac_ext <<_ACEOF
42280 cat confdefs.h >>conftest.$ac_ext
42281 cat >>conftest.$ac_ext <<_ACEOF
42282 /* end confdefs.h. */
42284 #include <sys/ioctl.h>
42285 #include <sys/soundcard.h>
42291 ioctl(0, SNDCTL_DSP_SPEED, 0);
42297 rm -f conftest.$ac_objext conftest$ac_exeext
42298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42299 (eval $ac_link) 2>conftest.er1
42301 grep -v '^ *+' conftest.er1 >conftest.err
42303 cat conftest.err >&5
42304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42305 (exit $ac_status); } &&
42306 { ac_try='test -z "$ac_cxx_werror_flag" || 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_header_sys_soundcard=yes
42320 echo "$as_me: failed program was:" >&5
42321 sed 's/^/| /' conftest.$ac_ext >&5
42325 ac_cv_header_sys_soundcard=no
42329 rm -f conftest.err conftest.$ac_objext \
42330 conftest$ac_exeext conftest.$ac_ext
42334 rm -f conftest.err conftest.$ac_objext \
42335 conftest$ac_exeext conftest.$ac_ext
42338 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42339 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42341 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42342 cat >>confdefs.h <<\_ACEOF
42343 #define HAVE_SYS_SOUNDCARD_H 1
42347 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
42351 if test "$wxUSE_SOUND" = "yes"; then
42352 if test "$USE_UNIX" = "1" ; then
42353 if test "$wxUSE_LIBSDL" != "no"; then
42355 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42356 if test "${with_sdl_prefix+set}" = set; then
42357 withval="$with_sdl_prefix"
42358 sdl_prefix="$withval"
42363 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42364 if test "${with_sdl_exec_prefix+set}" = set; then
42365 withval="$with_sdl_exec_prefix"
42366 sdl_exec_prefix="$withval"
42370 # Check whether --enable-sdltest or --disable-sdltest was given.
42371 if test "${enable_sdltest+set}" = set; then
42372 enableval="$enable_sdltest"
42378 if test x$sdl_exec_prefix != x ; then
42379 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42380 if test x${SDL_CONFIG+set} != xset ; then
42381 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42384 if test x$sdl_prefix != x ; then
42385 sdl_args="$sdl_args --prefix=$sdl_prefix"
42386 if test x${SDL_CONFIG+set} != xset ; then
42387 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42391 if test "x$prefix" != xNONE; then
42392 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42394 # Extract the first word of "sdl-config", so it can be a program name with args.
42395 set dummy sdl-config; ac_word=$2
42396 echo "$as_me:$LINENO: checking for $ac_word" >&5
42397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42398 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42399 echo $ECHO_N "(cached) $ECHO_C" >&6
42401 case $SDL_CONFIG in
42403 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42407 for as_dir in $PATH
42410 test -z "$as_dir" && as_dir=.
42411 for ac_exec_ext in '' $ac_executable_extensions; do
42412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42413 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42420 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42424 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42426 if test -n "$SDL_CONFIG"; then
42427 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42428 echo "${ECHO_T}$SDL_CONFIG" >&6
42430 echo "$as_me:$LINENO: result: no" >&5
42431 echo "${ECHO_T}no" >&6
42434 min_sdl_version=1.2.0
42435 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42436 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42438 if test "$SDL_CONFIG" = "no" ; then
42441 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42442 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42444 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42445 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42446 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42447 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42448 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42449 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42450 if test "x$enable_sdltest" = "xyes" ; then
42451 ac_save_CFLAGS="$CFLAGS"
42452 ac_save_CXXFLAGS="$CXXFLAGS"
42453 ac_save_LIBS="$LIBS"
42454 CFLAGS="$CFLAGS $SDL_CFLAGS"
42455 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42456 LIBS="$LIBS $SDL_LIBS"
42458 if test "$cross_compiling" = yes; then
42459 echo $ac_n "cross compiling; assumed OK... $ac_c"
42461 cat >conftest.$ac_ext <<_ACEOF
42464 cat confdefs.h >>conftest.$ac_ext
42465 cat >>conftest.$ac_ext <<_ACEOF
42466 /* end confdefs.h. */
42469 #include <stdlib.h>
42470 #include <string.h>
42474 my_strdup (char *str)
42480 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42481 strcpy (new_str, str);
42489 int main (int argc, char *argv[])
42491 int major, minor, micro;
42494 /* This hangs on some systems (?)
42495 system ("touch conf.sdltest");
42497 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42499 /* HP/UX 9 (%@#!) writes to sscanf strings */
42500 tmp_version = my_strdup("$min_sdl_version");
42501 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42502 printf("%s, bad version string\n", "$min_sdl_version");
42506 if (($sdl_major_version > major) ||
42507 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42508 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42514 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42515 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42516 printf("*** best to upgrade to the required version.\n");
42517 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42518 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42519 printf("*** config.cache before re-running configure\n");
42526 rm -f conftest$ac_exeext
42527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42528 (eval $ac_link) 2>&5
42530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42531 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42533 (eval $ac_try) 2>&5
42535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42536 (exit $ac_status); }; }; then
42539 echo "$as_me: program exited with status $ac_status" >&5
42540 echo "$as_me: failed program was:" >&5
42541 sed 's/^/| /' conftest.$ac_ext >&5
42543 ( exit $ac_status )
42546 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42548 CFLAGS="$ac_save_CFLAGS"
42549 CXXFLAGS="$ac_save_CXXFLAGS"
42550 LIBS="$ac_save_LIBS"
42553 if test "x$no_sdl" = x ; then
42554 echo "$as_me:$LINENO: result: yes" >&5
42555 echo "${ECHO_T}yes" >&6
42557 EXTRALIBS_SDL="$SDL_LIBS"
42558 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42559 cat >>confdefs.h <<\_ACEOF
42560 #define wxUSE_LIBSDL 1
42565 echo "$as_me:$LINENO: result: no" >&5
42566 echo "${ECHO_T}no" >&6
42567 if test "$SDL_CONFIG" = "no" ; then
42568 echo "*** The sdl-config script installed by SDL could not be found"
42569 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42570 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42571 echo "*** full path to sdl-config."
42573 if test -f conf.sdltest ; then
42576 echo "*** Could not run SDL test program, checking why..."
42577 CFLAGS="$CFLAGS $SDL_CFLAGS"
42578 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42579 LIBS="$LIBS $SDL_LIBS"
42580 cat >conftest.$ac_ext <<_ACEOF
42583 cat confdefs.h >>conftest.$ac_ext
42584 cat >>conftest.$ac_ext <<_ACEOF
42585 /* end confdefs.h. */
42590 int main(int argc, char *argv[])
42593 #define main K_and_R_C_main
42603 rm -f conftest.$ac_objext conftest$ac_exeext
42604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42605 (eval $ac_link) 2>conftest.er1
42607 grep -v '^ *+' conftest.er1 >conftest.err
42609 cat conftest.err >&5
42610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42611 (exit $ac_status); } &&
42612 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42614 (eval $ac_try) 2>&5
42616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42617 (exit $ac_status); }; } &&
42618 { ac_try='test -s conftest$ac_exeext'
42619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42620 (eval $ac_try) 2>&5
42622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42623 (exit $ac_status); }; }; then
42624 echo "*** The test program compiled, but did not run. This usually means"
42625 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42626 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42627 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42628 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42629 echo "*** is required on your system"
42631 echo "*** If you have an old version installed, it is best to remove it, although"
42632 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42634 echo "$as_me: failed program was:" >&5
42635 sed 's/^/| /' conftest.$ac_ext >&5
42637 echo "*** The test program failed to compile or link. See the file config.log for the"
42638 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42639 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42640 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42642 rm -f conftest.err conftest.$ac_objext \
42643 conftest$ac_exeext conftest.$ac_ext
42644 CFLAGS="$ac_save_CFLAGS"
42645 CXXFLAGS="$ac_save_CXXFLAGS"
42646 LIBS="$ac_save_LIBS"
42657 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42663 cat >>confdefs.h <<\_ACEOF
42664 #define wxUSE_SOUND 1
42667 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42670 if test "$WXGTK20" = 1; then
42671 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42672 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42676 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42677 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42679 if test -n "$PKG_CONFIG"; then
42680 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42681 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42683 if test -n "$PKG_CONFIG" && \
42684 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42685 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42688 (exit $ac_status); }; then
42689 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42697 if test -n "$PKG_CONFIG"; then
42698 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42699 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42701 if test -n "$PKG_CONFIG" && \
42702 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42703 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42706 (exit $ac_status); }; then
42707 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42718 if test $pkg_failed = yes; then
42720 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42721 _pkg_short_errors_supported=yes
42723 _pkg_short_errors_supported=no
42725 if test $_pkg_short_errors_supported = yes; then
42726 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42728 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42730 # Put the nasty error message in config.log where it belongs
42731 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42734 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42735 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42736 wxUSE_LIBGNOMEPRINT="no"
42739 elif test $pkg_failed = untried; then
42741 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42742 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42743 wxUSE_LIBGNOMEPRINT="no"
42747 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42748 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42749 echo "$as_me:$LINENO: result: yes" >&5
42750 echo "${ECHO_T}yes" >&6
42752 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42753 cat >>confdefs.h <<\_ACEOF
42754 #define wxUSE_LIBGNOMEPRINT 1
42763 if test "$WXGTK20" = 1; then
42764 if test "$wxUSE_MIMETYPE" = "yes" ; then
42765 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42769 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42770 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42772 if test -n "$PKG_CONFIG"; then
42773 if test -n "$GNOMEVFS_CFLAGS"; then
42774 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42776 if test -n "$PKG_CONFIG" && \
42777 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42778 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42781 (exit $ac_status); }; then
42782 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42790 if test -n "$PKG_CONFIG"; then
42791 if test -n "$GNOMEVFS_LIBS"; then
42792 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42794 if test -n "$PKG_CONFIG" && \
42795 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42796 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42799 (exit $ac_status); }; then
42800 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42811 if test $pkg_failed = yes; then
42813 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42814 _pkg_short_errors_supported=yes
42816 _pkg_short_errors_supported=no
42818 if test $_pkg_short_errors_supported = yes; then
42819 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42821 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42823 # Put the nasty error message in config.log where it belongs
42824 echo "$GNOMEVFS_PKG_ERRORS" >&5
42827 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42828 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42829 wxUSE_LIBGNOMEVFS="no"
42832 elif test $pkg_failed = untried; then
42834 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42835 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42836 wxUSE_LIBGNOMEVFS="no"
42840 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42841 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42842 echo "$as_me:$LINENO: result: yes" >&5
42843 echo "${ECHO_T}yes" >&6
42845 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42846 cat >>confdefs.h <<\_ACEOF
42847 #define wxUSE_LIBGNOMEVFS 1
42856 if test "$WXGTK20" = 1; then
42857 if test "$wxUSE_LIBHILDON" = "yes" ; then
42860 echo "$as_me:$LINENO: checking for HILDON" >&5
42861 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
42863 if test -n "$PKG_CONFIG"; then
42864 if test -n "$HILDON_CFLAGS"; then
42865 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42867 if test -n "$PKG_CONFIG" && \
42868 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42869 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42872 (exit $ac_status); }; then
42873 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42881 if test -n "$PKG_CONFIG"; then
42882 if test -n "$HILDON_LIBS"; then
42883 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42885 if test -n "$PKG_CONFIG" && \
42886 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42887 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42890 (exit $ac_status); }; then
42891 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42902 if test $pkg_failed = yes; then
42904 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42905 _pkg_short_errors_supported=yes
42907 _pkg_short_errors_supported=no
42909 if test $_pkg_short_errors_supported = yes; then
42910 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42912 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42914 # Put the nasty error message in config.log where it belongs
42915 echo "$HILDON_PKG_ERRORS" >&5
42918 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42919 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42920 wxUSE_LIBHILDON="no"
42923 elif test $pkg_failed = untried; then
42925 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42926 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42927 wxUSE_LIBHILDON="no"
42931 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42932 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42933 echo "$as_me:$LINENO: result: yes" >&5
42934 echo "${ECHO_T}yes" >&6
42936 EXTRALIBS_HILDON="$HILDON_LIBS"
42937 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42938 cat >>confdefs.h <<\_ACEOF
42939 #define wxUSE_LIBHILDON 1
42947 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42948 cat >>confdefs.h <<\_ACEOF
42949 #define wxUSE_CMDLINE_PARSER 1
42954 if test "$wxUSE_STOPWATCH" = "yes"; then
42955 cat >>confdefs.h <<\_ACEOF
42956 #define wxUSE_STOPWATCH 1
42961 if test "$wxUSE_DATETIME" = "yes"; then
42962 cat >>confdefs.h <<\_ACEOF
42963 #define wxUSE_DATETIME 1
42968 if test "$wxUSE_FILE" = "yes"; then
42969 cat >>confdefs.h <<\_ACEOF
42970 #define wxUSE_FILE 1
42975 if test "$wxUSE_FFILE" = "yes"; then
42976 cat >>confdefs.h <<\_ACEOF
42977 #define wxUSE_FFILE 1
42982 if test "$wxUSE_FILESYSTEM" = "yes"; then
42983 cat >>confdefs.h <<\_ACEOF
42984 #define wxUSE_FILESYSTEM 1
42989 if test "$wxUSE_FS_ZIP" = "yes"; then
42990 cat >>confdefs.h <<\_ACEOF
42991 #define wxUSE_FS_ZIP 1
42996 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42997 cat >>confdefs.h <<\_ACEOF
42998 #define wxUSE_ARCHIVE_STREAMS 1
43003 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43004 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43005 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43006 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43007 elif test "$wxUSE_ZLIB" = "no"; then
43008 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43009 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43011 cat >>confdefs.h <<\_ACEOF
43012 #define wxUSE_ZIPSTREAM 1
43018 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43019 if test "$USE_UNIX" != 1; then
43020 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43021 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43022 wxUSE_ON_FATAL_EXCEPTION=no
43024 cat >>confdefs.h <<\_ACEOF
43025 #define wxUSE_ON_FATAL_EXCEPTION 1
43031 if test "$wxUSE_STACKWALKER" = "yes"; then
43032 cat >>confdefs.h <<\_ACEOF
43033 #define wxUSE_STACKWALKER 1
43038 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43039 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43040 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43041 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43042 wxUSE_DEBUGREPORT=no
43044 cat >>confdefs.h <<\_ACEOF
43045 #define wxUSE_DEBUGREPORT 1
43048 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43049 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43054 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43055 cat >>confdefs.h <<\_ACEOF
43056 #define wxUSE_SNGLINST_CHECKER 1
43061 if test "$wxUSE_BUSYINFO" = "yes"; then
43062 cat >>confdefs.h <<\_ACEOF
43063 #define wxUSE_BUSYINFO 1
43068 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43069 cat >>confdefs.h <<\_ACEOF
43070 #define wxUSE_STD_IOSTREAM 1
43075 if test "$wxUSE_STD_STRING" = "yes"; then
43076 cat >>confdefs.h <<\_ACEOF
43077 #define wxUSE_STD_STRING 1
43082 if test "$wxUSE_STDPATHS" = "yes"; then
43083 cat >>confdefs.h <<\_ACEOF
43084 #define wxUSE_STDPATHS 1
43089 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43090 cat >>confdefs.h <<\_ACEOF
43091 #define wxUSE_TEXTBUFFER 1
43096 if test "$wxUSE_TEXTFILE" = "yes"; then
43097 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43098 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43099 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43101 cat >>confdefs.h <<\_ACEOF
43102 #define wxUSE_TEXTFILE 1
43108 if test "$wxUSE_CONFIG" = "yes" ; then
43109 if test "$wxUSE_TEXTFILE" != "yes"; then
43110 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43111 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43113 cat >>confdefs.h <<\_ACEOF
43114 #define wxUSE_CONFIG 1
43117 cat >>confdefs.h <<\_ACEOF
43118 #define wxUSE_CONFIG_NATIVE 1
43121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43125 if test "$wxUSE_INTL" = "yes" ; then
43126 if test "$wxUSE_FILE" != "yes"; then
43127 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43128 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43130 cat >>confdefs.h <<\_ACEOF
43131 #define wxUSE_INTL 1
43134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43135 GUIDIST="$GUIDIST INTL_DIST"
43139 if test "$wxUSE_LOG" = "yes"; then
43140 cat >>confdefs.h <<\_ACEOF
43141 #define wxUSE_LOG 1
43145 if test "$wxUSE_LOGGUI" = "yes"; then
43146 cat >>confdefs.h <<\_ACEOF
43147 #define wxUSE_LOGGUI 1
43152 if test "$wxUSE_LOGWINDOW" = "yes"; then
43153 cat >>confdefs.h <<\_ACEOF
43154 #define wxUSE_LOGWINDOW 1
43159 if test "$wxUSE_LOGDIALOG" = "yes"; then
43160 cat >>confdefs.h <<\_ACEOF
43161 #define wxUSE_LOG_DIALOG 1
43166 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43169 if test "$wxUSE_LONGLONG" = "yes"; then
43170 cat >>confdefs.h <<\_ACEOF
43171 #define wxUSE_LONGLONG 1
43176 if test "$wxUSE_GEOMETRY" = "yes"; then
43177 cat >>confdefs.h <<\_ACEOF
43178 #define wxUSE_GEOMETRY 1
43183 if test "$wxUSE_STREAMS" = "yes" ; then
43184 cat >>confdefs.h <<\_ACEOF
43185 #define wxUSE_STREAMS 1
43190 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43191 cat >>confdefs.h <<\_ACEOF
43192 #define wxUSE_PRINTF_POS_PARAMS 1
43199 if test "$wxUSE_DATETIME" = "yes"; then
43201 for ac_func in strptime
43203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43204 echo "$as_me:$LINENO: checking for $ac_func" >&5
43205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43206 if eval "test \"\${$as_ac_var+set}\" = set"; then
43207 echo $ECHO_N "(cached) $ECHO_C" >&6
43209 cat >conftest.$ac_ext <<_ACEOF
43212 cat confdefs.h >>conftest.$ac_ext
43213 cat >>conftest.$ac_ext <<_ACEOF
43214 /* end confdefs.h. */
43215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43217 #define $ac_func innocuous_$ac_func
43219 /* System header to define __stub macros and hopefully few prototypes,
43220 which can conflict with char $ac_func (); below.
43221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43222 <limits.h> exists even on freestanding compilers. */
43225 # include <limits.h>
43227 # include <assert.h>
43232 /* Override any gcc2 internal prototype to avoid an error. */
43237 /* We use char because int might match the return type of a gcc2
43238 builtin and then its argument prototype would still apply. */
43240 /* The GNU C library defines this for functions which it implements
43241 to always fail with ENOSYS. Some functions are actually named
43242 something starting with __ and the normal name is an alias. */
43243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43246 char (*f) () = $ac_func;
43255 return f != $ac_func;
43260 rm -f conftest.$ac_objext conftest$ac_exeext
43261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43262 (eval $ac_link) 2>conftest.er1
43264 grep -v '^ *+' conftest.er1 >conftest.err
43266 cat conftest.err >&5
43267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43268 (exit $ac_status); } &&
43269 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43271 (eval $ac_try) 2>&5
43273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43274 (exit $ac_status); }; } &&
43275 { ac_try='test -s conftest$ac_exeext'
43276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43277 (eval $ac_try) 2>&5
43279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43280 (exit $ac_status); }; }; then
43281 eval "$as_ac_var=yes"
43283 echo "$as_me: failed program was:" >&5
43284 sed 's/^/| /' conftest.$ac_ext >&5
43286 eval "$as_ac_var=no"
43288 rm -f conftest.err conftest.$ac_objext \
43289 conftest$ac_exeext conftest.$ac_ext
43291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43293 if test `eval echo '${'$as_ac_var'}'` = yes; then
43294 cat >>confdefs.h <<_ACEOF
43295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43301 if test "$ac_cv_func_strptime" = "yes"; then
43302 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43303 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43304 if test "${wx_cv_func_strptime_decl+set}" = set; then
43305 echo $ECHO_N "(cached) $ECHO_C" >&6
43308 cat >conftest.$ac_ext <<_ACEOF
43311 cat confdefs.h >>conftest.$ac_ext
43312 cat >>conftest.$ac_ext <<_ACEOF
43313 /* end confdefs.h. */
43322 strptime("foo", "bar", &t);
43328 rm -f conftest.$ac_objext
43329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43330 (eval $ac_compile) 2>conftest.er1
43332 grep -v '^ *+' conftest.er1 >conftest.err
43334 cat conftest.err >&5
43335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43336 (exit $ac_status); } &&
43337 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43339 (eval $ac_try) 2>&5
43341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43342 (exit $ac_status); }; } &&
43343 { ac_try='test -s conftest.$ac_objext'
43344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43345 (eval $ac_try) 2>&5
43347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43348 (exit $ac_status); }; }; then
43349 wx_cv_func_strptime_decl=yes
43351 echo "$as_me: failed program was:" >&5
43352 sed 's/^/| /' conftest.$ac_ext >&5
43354 wx_cv_func_strptime_decl=no
43357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43361 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43362 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43364 if test "$wx_cv_func_strptime_decl" = "yes"; then
43365 cat >>confdefs.h <<\_ACEOF
43366 #define HAVE_STRPTIME_DECL 1
43371 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43372 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43373 if test "${wx_cv_var_timezone+set}" = set; then
43374 echo $ECHO_N "(cached) $ECHO_C" >&6
43377 cat >conftest.$ac_ext <<_ACEOF
43380 cat confdefs.h >>conftest.$ac_ext
43381 cat >>conftest.$ac_ext <<_ACEOF
43382 /* end confdefs.h. */
43397 rm -f conftest.$ac_objext
43398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43399 (eval $ac_compile) 2>conftest.er1
43401 grep -v '^ *+' conftest.er1 >conftest.err
43403 cat conftest.err >&5
43404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43405 (exit $ac_status); } &&
43406 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43408 (eval $ac_try) 2>&5
43410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43411 (exit $ac_status); }; } &&
43412 { ac_try='test -s conftest.$ac_objext'
43413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43414 (eval $ac_try) 2>&5
43416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43417 (exit $ac_status); }; }; then
43419 wx_cv_var_timezone=timezone
43422 echo "$as_me: failed program was:" >&5
43423 sed 's/^/| /' conftest.$ac_ext >&5
43426 cat >conftest.$ac_ext <<_ACEOF
43429 cat confdefs.h >>conftest.$ac_ext
43430 cat >>conftest.$ac_ext <<_ACEOF
43431 /* end confdefs.h. */
43446 rm -f conftest.$ac_objext
43447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43448 (eval $ac_compile) 2>conftest.er1
43450 grep -v '^ *+' conftest.er1 >conftest.err
43452 cat conftest.err >&5
43453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43454 (exit $ac_status); } &&
43455 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43457 (eval $ac_try) 2>&5
43459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43460 (exit $ac_status); }; } &&
43461 { ac_try='test -s conftest.$ac_objext'
43462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43463 (eval $ac_try) 2>&5
43465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43466 (exit $ac_status); }; }; then
43468 wx_cv_var_timezone=_timezone
43471 echo "$as_me: failed program was:" >&5
43472 sed 's/^/| /' conftest.$ac_ext >&5
43475 cat >conftest.$ac_ext <<_ACEOF
43478 cat confdefs.h >>conftest.$ac_ext
43479 cat >>conftest.$ac_ext <<_ACEOF
43480 /* end confdefs.h. */
43495 rm -f conftest.$ac_objext
43496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43497 (eval $ac_compile) 2>conftest.er1
43499 grep -v '^ *+' conftest.er1 >conftest.err
43501 cat conftest.err >&5
43502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43503 (exit $ac_status); } &&
43504 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43506 (eval $ac_try) 2>&5
43508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43509 (exit $ac_status); }; } &&
43510 { ac_try='test -s conftest.$ac_objext'
43511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43512 (eval $ac_try) 2>&5
43514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43515 (exit $ac_status); }; }; then
43517 wx_cv_var_timezone=__timezone
43520 echo "$as_me: failed program was:" >&5
43521 sed 's/^/| /' conftest.$ac_ext >&5
43524 if test "$USE_DOS" = 0 ; then
43525 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43526 echo "$as_me: WARNING: no timezone variable" >&2;}
43531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43543 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43544 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43546 if test "x$wx_cv_var_timezone" != x ; then
43547 cat >>confdefs.h <<_ACEOF
43548 #define WX_TIMEZONE $wx_cv_var_timezone
43554 for ac_func in localtime
43556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43557 echo "$as_me:$LINENO: checking for $ac_func" >&5
43558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43559 if eval "test \"\${$as_ac_var+set}\" = set"; then
43560 echo $ECHO_N "(cached) $ECHO_C" >&6
43562 cat >conftest.$ac_ext <<_ACEOF
43565 cat confdefs.h >>conftest.$ac_ext
43566 cat >>conftest.$ac_ext <<_ACEOF
43567 /* end confdefs.h. */
43568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43570 #define $ac_func innocuous_$ac_func
43572 /* System header to define __stub macros and hopefully few prototypes,
43573 which can conflict with char $ac_func (); below.
43574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43575 <limits.h> exists even on freestanding compilers. */
43578 # include <limits.h>
43580 # include <assert.h>
43585 /* Override any gcc2 internal prototype to avoid an error. */
43590 /* We use char because int might match the return type of a gcc2
43591 builtin and then its argument prototype would still apply. */
43593 /* The GNU C library defines this for functions which it implements
43594 to always fail with ENOSYS. Some functions are actually named
43595 something starting with __ and the normal name is an alias. */
43596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43599 char (*f) () = $ac_func;
43608 return f != $ac_func;
43613 rm -f conftest.$ac_objext conftest$ac_exeext
43614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43615 (eval $ac_link) 2>conftest.er1
43617 grep -v '^ *+' conftest.er1 >conftest.err
43619 cat conftest.err >&5
43620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43621 (exit $ac_status); } &&
43622 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43624 (eval $ac_try) 2>&5
43626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43627 (exit $ac_status); }; } &&
43628 { ac_try='test -s conftest$ac_exeext'
43629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43630 (eval $ac_try) 2>&5
43632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43633 (exit $ac_status); }; }; then
43634 eval "$as_ac_var=yes"
43636 echo "$as_me: failed program was:" >&5
43637 sed 's/^/| /' conftest.$ac_ext >&5
43639 eval "$as_ac_var=no"
43641 rm -f conftest.err conftest.$ac_objext \
43642 conftest$ac_exeext conftest.$ac_ext
43644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43646 if test `eval echo '${'$as_ac_var'}'` = yes; then
43647 cat >>confdefs.h <<_ACEOF
43648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43655 if test "$ac_cv_func_localtime" = "yes"; then
43656 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43657 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43658 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43659 echo $ECHO_N "(cached) $ECHO_C" >&6
43662 cat >conftest.$ac_ext <<_ACEOF
43665 cat confdefs.h >>conftest.$ac_ext
43666 cat >>conftest.$ac_ext <<_ACEOF
43667 /* end confdefs.h. */
43682 rm -f conftest.$ac_objext
43683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43684 (eval $ac_compile) 2>conftest.er1
43686 grep -v '^ *+' conftest.er1 >conftest.err
43688 cat conftest.err >&5
43689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43690 (exit $ac_status); } &&
43691 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43693 (eval $ac_try) 2>&5
43695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43696 (exit $ac_status); }; } &&
43697 { ac_try='test -s conftest.$ac_objext'
43698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43699 (eval $ac_try) 2>&5
43701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43702 (exit $ac_status); }; }; then
43704 wx_cv_struct_tm_has_gmtoff=yes
43707 echo "$as_me: failed program was:" >&5
43708 sed 's/^/| /' conftest.$ac_ext >&5
43710 wx_cv_struct_tm_has_gmtoff=no
43713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43716 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43717 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43720 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43721 cat >>confdefs.h <<\_ACEOF
43722 #define WX_GMTOFF_IN_TM 1
43729 for ac_func in gettimeofday ftime
43731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43732 echo "$as_me:$LINENO: checking for $ac_func" >&5
43733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43734 if eval "test \"\${$as_ac_var+set}\" = set"; then
43735 echo $ECHO_N "(cached) $ECHO_C" >&6
43737 cat >conftest.$ac_ext <<_ACEOF
43740 cat confdefs.h >>conftest.$ac_ext
43741 cat >>conftest.$ac_ext <<_ACEOF
43742 /* end confdefs.h. */
43743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43745 #define $ac_func innocuous_$ac_func
43747 /* System header to define __stub macros and hopefully few prototypes,
43748 which can conflict with char $ac_func (); below.
43749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43750 <limits.h> exists even on freestanding compilers. */
43753 # include <limits.h>
43755 # include <assert.h>
43760 /* Override any gcc2 internal prototype to avoid an error. */
43765 /* We use char because int might match the return type of a gcc2
43766 builtin and then its argument prototype would still apply. */
43768 /* The GNU C library defines this for functions which it implements
43769 to always fail with ENOSYS. Some functions are actually named
43770 something starting with __ and the normal name is an alias. */
43771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43774 char (*f) () = $ac_func;
43783 return f != $ac_func;
43788 rm -f conftest.$ac_objext conftest$ac_exeext
43789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43790 (eval $ac_link) 2>conftest.er1
43792 grep -v '^ *+' conftest.er1 >conftest.err
43794 cat conftest.err >&5
43795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43796 (exit $ac_status); } &&
43797 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43799 (eval $ac_try) 2>&5
43801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43802 (exit $ac_status); }; } &&
43803 { ac_try='test -s conftest$ac_exeext'
43804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43805 (eval $ac_try) 2>&5
43807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43808 (exit $ac_status); }; }; then
43809 eval "$as_ac_var=yes"
43811 echo "$as_me: failed program was:" >&5
43812 sed 's/^/| /' conftest.$ac_ext >&5
43814 eval "$as_ac_var=no"
43816 rm -f conftest.err conftest.$ac_objext \
43817 conftest$ac_exeext conftest.$ac_ext
43819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43821 if test `eval echo '${'$as_ac_var'}'` = yes; then
43822 cat >>confdefs.h <<_ACEOF
43823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43830 if test "$ac_cv_func_gettimeofday" = "yes"; then
43831 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43832 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
43833 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43834 echo $ECHO_N "(cached) $ECHO_C" >&6
43837 cat >conftest.$ac_ext <<_ACEOF
43840 cat confdefs.h >>conftest.$ac_ext
43841 cat >>conftest.$ac_ext <<_ACEOF
43842 /* end confdefs.h. */
43844 #include <sys/time.h>
43845 #include <unistd.h>
43852 gettimeofday(&tv, NULL);
43858 rm -f conftest.$ac_objext
43859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43860 (eval $ac_compile) 2>conftest.er1
43862 grep -v '^ *+' conftest.er1 >conftest.err
43864 cat conftest.err >&5
43865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43866 (exit $ac_status); } &&
43867 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43869 (eval $ac_try) 2>&5
43871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43872 (exit $ac_status); }; } &&
43873 { ac_try='test -s conftest.$ac_objext'
43874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43875 (eval $ac_try) 2>&5
43877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43878 (exit $ac_status); }; }; then
43879 wx_cv_func_gettimeofday_has_2_args=yes
43881 echo "$as_me: failed program was:" >&5
43882 sed 's/^/| /' conftest.$ac_ext >&5
43884 cat >conftest.$ac_ext <<_ACEOF
43887 cat confdefs.h >>conftest.$ac_ext
43888 cat >>conftest.$ac_ext <<_ACEOF
43889 /* end confdefs.h. */
43891 #include <sys/time.h>
43892 #include <unistd.h>
43905 rm -f conftest.$ac_objext
43906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43907 (eval $ac_compile) 2>conftest.er1
43909 grep -v '^ *+' conftest.er1 >conftest.err
43911 cat conftest.err >&5
43912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43913 (exit $ac_status); } &&
43914 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43916 (eval $ac_try) 2>&5
43918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43919 (exit $ac_status); }; } &&
43920 { ac_try='test -s conftest.$ac_objext'
43921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43922 (eval $ac_try) 2>&5
43924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43925 (exit $ac_status); }; }; then
43926 wx_cv_func_gettimeofday_has_2_args=no
43928 echo "$as_me: failed program was:" >&5
43929 sed 's/^/| /' conftest.$ac_ext >&5
43932 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43933 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43934 wx_cv_func_gettimeofday_has_2_args=unknown
43938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43944 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43945 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
43947 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43948 cat >>confdefs.h <<\_ACEOF
43949 #define WX_GETTIMEOFDAY_NO_TZ 1
43955 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43959 if test "$wxUSE_SOCKETS" = "yes"; then
43960 if test "$wxUSE_MGL" = "1"; then
43961 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43962 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43967 if test "$wxUSE_SOCKETS" = "yes"; then
43968 if test "$TOOLKIT" != "MSW"; then
43969 echo "$as_me:$LINENO: checking for socket" >&5
43970 echo $ECHO_N "checking for socket... $ECHO_C" >&6
43971 if test "${ac_cv_func_socket+set}" = set; then
43972 echo $ECHO_N "(cached) $ECHO_C" >&6
43974 cat >conftest.$ac_ext <<_ACEOF
43977 cat confdefs.h >>conftest.$ac_ext
43978 cat >>conftest.$ac_ext <<_ACEOF
43979 /* end confdefs.h. */
43980 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43982 #define socket innocuous_socket
43984 /* System header to define __stub macros and hopefully few prototypes,
43985 which can conflict with char socket (); below.
43986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43987 <limits.h> exists even on freestanding compilers. */
43990 # include <limits.h>
43992 # include <assert.h>
43997 /* Override any gcc2 internal prototype to avoid an error. */
44002 /* We use char because int might match the return type of a gcc2
44003 builtin and then its argument prototype would still apply. */
44005 /* The GNU C library defines this for functions which it implements
44006 to always fail with ENOSYS. Some functions are actually named
44007 something starting with __ and the normal name is an alias. */
44008 #if defined (__stub_socket) || defined (__stub___socket)
44011 char (*f) () = socket;
44020 return f != socket;
44025 rm -f conftest.$ac_objext conftest$ac_exeext
44026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44027 (eval $ac_link) 2>conftest.er1
44029 grep -v '^ *+' conftest.er1 >conftest.err
44031 cat conftest.err >&5
44032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44033 (exit $ac_status); } &&
44034 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44036 (eval $ac_try) 2>&5
44038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44039 (exit $ac_status); }; } &&
44040 { ac_try='test -s conftest$ac_exeext'
44041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44042 (eval $ac_try) 2>&5
44044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44045 (exit $ac_status); }; }; then
44046 ac_cv_func_socket=yes
44048 echo "$as_me: failed program was:" >&5
44049 sed 's/^/| /' conftest.$ac_ext >&5
44051 ac_cv_func_socket=no
44053 rm -f conftest.err conftest.$ac_objext \
44054 conftest$ac_exeext conftest.$ac_ext
44056 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44057 echo "${ECHO_T}$ac_cv_func_socket" >&6
44058 if test $ac_cv_func_socket = yes; then
44062 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44063 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44064 if test "${ac_cv_lib_socket_socket+set}" = set; then
44065 echo $ECHO_N "(cached) $ECHO_C" >&6
44067 ac_check_lib_save_LIBS=$LIBS
44068 LIBS="-lsocket $LIBS"
44069 cat >conftest.$ac_ext <<_ACEOF
44072 cat confdefs.h >>conftest.$ac_ext
44073 cat >>conftest.$ac_ext <<_ACEOF
44074 /* end confdefs.h. */
44076 /* Override any gcc2 internal prototype to avoid an error. */
44080 /* We use char because int might match the return type of a gcc2
44081 builtin and then its argument prototype would still apply. */
44091 rm -f conftest.$ac_objext conftest$ac_exeext
44092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44093 (eval $ac_link) 2>conftest.er1
44095 grep -v '^ *+' conftest.er1 >conftest.err
44097 cat conftest.err >&5
44098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44099 (exit $ac_status); } &&
44100 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44102 (eval $ac_try) 2>&5
44104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44105 (exit $ac_status); }; } &&
44106 { ac_try='test -s conftest$ac_exeext'
44107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44108 (eval $ac_try) 2>&5
44110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44111 (exit $ac_status); }; }; then
44112 ac_cv_lib_socket_socket=yes
44114 echo "$as_me: failed program was:" >&5
44115 sed 's/^/| /' conftest.$ac_ext >&5
44117 ac_cv_lib_socket_socket=no
44119 rm -f conftest.err conftest.$ac_objext \
44120 conftest$ac_exeext conftest.$ac_ext
44121 LIBS=$ac_check_lib_save_LIBS
44123 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44124 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44125 if test $ac_cv_lib_socket_socket = yes; then
44126 if test "$INET_LINK" != " -lsocket"; then
44127 INET_LINK="$INET_LINK -lsocket"
44131 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44132 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44145 if test "$wxUSE_SOCKETS" = "yes" ; then
44146 if test "$TOOLKIT" != "MSW"; then
44147 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44148 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44149 if test "${wx_cv_type_getsockname3+set}" = set; then
44150 echo $ECHO_N "(cached) $ECHO_C" >&6
44153 cat >conftest.$ac_ext <<_ACEOF
44156 cat confdefs.h >>conftest.$ac_ext
44157 cat >>conftest.$ac_ext <<_ACEOF
44158 /* end confdefs.h. */
44160 #include <sys/types.h>
44161 #include <sys/socket.h>
44168 getsockname(0, 0, &len);
44174 rm -f conftest.$ac_objext
44175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44176 (eval $ac_compile) 2>conftest.er1
44178 grep -v '^ *+' conftest.er1 >conftest.err
44180 cat conftest.err >&5
44181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44182 (exit $ac_status); } &&
44183 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44185 (eval $ac_try) 2>&5
44187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44188 (exit $ac_status); }; } &&
44189 { ac_try='test -s conftest.$ac_objext'
44190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44191 (eval $ac_try) 2>&5
44193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44194 (exit $ac_status); }; }; then
44195 wx_cv_type_getsockname3=socklen_t
44197 echo "$as_me: failed program was:" >&5
44198 sed 's/^/| /' conftest.$ac_ext >&5
44201 CXXFLAGS_OLD="$CXXFLAGS"
44202 if test "$GCC" = yes ; then
44203 CXXFLAGS="-Werror $CXXFLAGS"
44206 cat >conftest.$ac_ext <<_ACEOF
44209 cat confdefs.h >>conftest.$ac_ext
44210 cat >>conftest.$ac_ext <<_ACEOF
44211 /* end confdefs.h. */
44213 #include <sys/types.h>
44214 #include <sys/socket.h>
44221 getsockname(0, 0, &len);
44227 rm -f conftest.$ac_objext
44228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44229 (eval $ac_compile) 2>conftest.er1
44231 grep -v '^ *+' conftest.er1 >conftest.err
44233 cat conftest.err >&5
44234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44235 (exit $ac_status); } &&
44236 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44238 (eval $ac_try) 2>&5
44240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44241 (exit $ac_status); }; } &&
44242 { ac_try='test -s conftest.$ac_objext'
44243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44244 (eval $ac_try) 2>&5
44246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44247 (exit $ac_status); }; }; then
44248 wx_cv_type_getsockname3=size_t
44250 echo "$as_me: failed program was:" >&5
44251 sed 's/^/| /' conftest.$ac_ext >&5
44253 cat >conftest.$ac_ext <<_ACEOF
44256 cat confdefs.h >>conftest.$ac_ext
44257 cat >>conftest.$ac_ext <<_ACEOF
44258 /* end confdefs.h. */
44260 #include <sys/types.h>
44261 #include <sys/socket.h>
44268 getsockname(0, 0, &len);
44274 rm -f conftest.$ac_objext
44275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44276 (eval $ac_compile) 2>conftest.er1
44278 grep -v '^ *+' conftest.er1 >conftest.err
44280 cat conftest.err >&5
44281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44282 (exit $ac_status); } &&
44283 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44285 (eval $ac_try) 2>&5
44287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44288 (exit $ac_status); }; } &&
44289 { ac_try='test -s conftest.$ac_objext'
44290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44291 (eval $ac_try) 2>&5
44293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44294 (exit $ac_status); }; }; then
44295 wx_cv_type_getsockname3=int
44297 echo "$as_me: failed program was:" >&5
44298 sed 's/^/| /' conftest.$ac_ext >&5
44300 wx_cv_type_getsockname3=unknown
44303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44308 CXXFLAGS="$CXXFLAGS_OLD"
44312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44315 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44316 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44318 if test "$wx_cv_type_getsockname3" = "unknown"; then
44320 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44321 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44323 cat >>confdefs.h <<_ACEOF
44324 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44328 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44329 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44330 if test "${wx_cv_type_getsockopt5+set}" = set; then
44331 echo $ECHO_N "(cached) $ECHO_C" >&6
44334 cat >conftest.$ac_ext <<_ACEOF
44337 cat confdefs.h >>conftest.$ac_ext
44338 cat >>conftest.$ac_ext <<_ACEOF
44339 /* end confdefs.h. */
44341 #include <sys/types.h>
44342 #include <sys/socket.h>
44349 getsockopt(0, 0, 0, 0, &len);
44355 rm -f conftest.$ac_objext
44356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44357 (eval $ac_compile) 2>conftest.er1
44359 grep -v '^ *+' conftest.er1 >conftest.err
44361 cat conftest.err >&5
44362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44363 (exit $ac_status); } &&
44364 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44366 (eval $ac_try) 2>&5
44368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44369 (exit $ac_status); }; } &&
44370 { ac_try='test -s conftest.$ac_objext'
44371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44372 (eval $ac_try) 2>&5
44374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44375 (exit $ac_status); }; }; then
44376 wx_cv_type_getsockopt5=socklen_t
44378 echo "$as_me: failed program was:" >&5
44379 sed 's/^/| /' conftest.$ac_ext >&5
44382 CXXFLAGS_OLD="$CXXFLAGS"
44383 if test "$GCC" = yes ; then
44384 CXXFLAGS="-Werror $CXXFLAGS"
44387 cat >conftest.$ac_ext <<_ACEOF
44390 cat confdefs.h >>conftest.$ac_ext
44391 cat >>conftest.$ac_ext <<_ACEOF
44392 /* end confdefs.h. */
44394 #include <sys/types.h>
44395 #include <sys/socket.h>
44402 getsockopt(0, 0, 0, 0, &len);
44408 rm -f conftest.$ac_objext
44409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44410 (eval $ac_compile) 2>conftest.er1
44412 grep -v '^ *+' conftest.er1 >conftest.err
44414 cat conftest.err >&5
44415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44416 (exit $ac_status); } &&
44417 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44419 (eval $ac_try) 2>&5
44421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44422 (exit $ac_status); }; } &&
44423 { ac_try='test -s conftest.$ac_objext'
44424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44425 (eval $ac_try) 2>&5
44427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44428 (exit $ac_status); }; }; then
44429 wx_cv_type_getsockopt5=size_t
44431 echo "$as_me: failed program was:" >&5
44432 sed 's/^/| /' conftest.$ac_ext >&5
44434 cat >conftest.$ac_ext <<_ACEOF
44437 cat confdefs.h >>conftest.$ac_ext
44438 cat >>conftest.$ac_ext <<_ACEOF
44439 /* end confdefs.h. */
44441 #include <sys/types.h>
44442 #include <sys/socket.h>
44449 getsockopt(0, 0, 0, 0, &len);
44455 rm -f conftest.$ac_objext
44456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44457 (eval $ac_compile) 2>conftest.er1
44459 grep -v '^ *+' conftest.er1 >conftest.err
44461 cat conftest.err >&5
44462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44463 (exit $ac_status); } &&
44464 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44466 (eval $ac_try) 2>&5
44468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44469 (exit $ac_status); }; } &&
44470 { ac_try='test -s conftest.$ac_objext'
44471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44472 (eval $ac_try) 2>&5
44474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44475 (exit $ac_status); }; }; then
44476 wx_cv_type_getsockopt5=int
44478 echo "$as_me: failed program was:" >&5
44479 sed 's/^/| /' conftest.$ac_ext >&5
44481 wx_cv_type_getsockopt5=unknown
44484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44489 CXXFLAGS="$CXXFLAGS_OLD"
44493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44496 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44497 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44499 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44501 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44502 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44504 cat >>confdefs.h <<_ACEOF
44505 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44512 if test "$wxUSE_SOCKETS" = "yes" ; then
44513 cat >>confdefs.h <<\_ACEOF
44514 #define wxUSE_SOCKETS 1
44517 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44520 if test "$wxUSE_PROTOCOL" = "yes"; then
44521 if test "$wxUSE_SOCKETS" != "yes"; then
44522 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44523 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44528 if test "$wxUSE_PROTOCOL" = "yes"; then
44529 cat >>confdefs.h <<\_ACEOF
44530 #define wxUSE_PROTOCOL 1
44534 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44535 cat >>confdefs.h <<\_ACEOF
44536 #define wxUSE_PROTOCOL_HTTP 1
44540 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44541 cat >>confdefs.h <<\_ACEOF
44542 #define wxUSE_PROTOCOL_FTP 1
44546 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44547 cat >>confdefs.h <<\_ACEOF
44548 #define wxUSE_PROTOCOL_FILE 1
44553 if test "$wxUSE_FS_INET" = "yes"; then
44554 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44555 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44560 if test "$wxUSE_URL" = "yes"; then
44561 if test "$wxUSE_PROTOCOL" != "yes"; then
44562 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44563 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44566 if test "$wxUSE_URL" = "yes"; then
44567 cat >>confdefs.h <<\_ACEOF
44568 #define wxUSE_URL 1
44574 if test "$wxUSE_VARIANT" = "yes"; then
44575 cat >>confdefs.h <<\_ACEOF
44576 #define wxUSE_VARIANT 1
44581 if test "$wxUSE_FS_INET" = "yes"; then
44582 cat >>confdefs.h <<\_ACEOF
44583 #define wxUSE_FS_INET 1
44589 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44592 if test "$TOOLKIT" = "MSW"; then
44595 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44596 if test "$USE_DARWIN" = 1; then
44597 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44598 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44599 cat >conftest.$ac_ext <<_ACEOF
44602 cat confdefs.h >>conftest.$ac_ext
44603 cat >>conftest.$ac_ext <<_ACEOF
44604 /* end confdefs.h. */
44605 #include <IOKit/hid/IOHIDLib.h>
44609 IOHIDQueueInterface *qi = NULL;
44610 IOHIDCallbackFunction cb = NULL;
44611 qi->setEventCallout(NULL, cb, NULL, NULL);
44616 rm -f conftest.$ac_objext
44617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44618 (eval $ac_compile) 2>conftest.er1
44620 grep -v '^ *+' conftest.er1 >conftest.err
44622 cat conftest.err >&5
44623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44624 (exit $ac_status); } &&
44625 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44627 (eval $ac_try) 2>&5
44629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44630 (exit $ac_status); }; } &&
44631 { ac_try='test -s conftest.$ac_objext'
44632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44633 (eval $ac_try) 2>&5
44635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44636 (exit $ac_status); }; }; then
44640 echo "$as_me: failed program was:" >&5
44641 sed 's/^/| /' conftest.$ac_ext >&5
44644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44645 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44646 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44651 for ac_header in linux/joystick.h
44653 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44655 echo "$as_me:$LINENO: checking for $ac_header" >&5
44656 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44658 echo $ECHO_N "(cached) $ECHO_C" >&6
44660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44661 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44663 # Is the header compilable?
44664 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44665 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44666 cat >conftest.$ac_ext <<_ACEOF
44669 cat confdefs.h >>conftest.$ac_ext
44670 cat >>conftest.$ac_ext <<_ACEOF
44671 /* end confdefs.h. */
44672 $ac_includes_default
44673 #include <$ac_header>
44675 rm -f conftest.$ac_objext
44676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44677 (eval $ac_compile) 2>conftest.er1
44679 grep -v '^ *+' conftest.er1 >conftest.err
44681 cat conftest.err >&5
44682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44683 (exit $ac_status); } &&
44684 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44686 (eval $ac_try) 2>&5
44688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44689 (exit $ac_status); }; } &&
44690 { ac_try='test -s conftest.$ac_objext'
44691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44692 (eval $ac_try) 2>&5
44694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44695 (exit $ac_status); }; }; then
44696 ac_header_compiler=yes
44698 echo "$as_me: failed program was:" >&5
44699 sed 's/^/| /' conftest.$ac_ext >&5
44701 ac_header_compiler=no
44703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44704 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44705 echo "${ECHO_T}$ac_header_compiler" >&6
44707 # Is the header present?
44708 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44709 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44710 cat >conftest.$ac_ext <<_ACEOF
44713 cat confdefs.h >>conftest.$ac_ext
44714 cat >>conftest.$ac_ext <<_ACEOF
44715 /* end confdefs.h. */
44716 #include <$ac_header>
44718 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44719 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44721 grep -v '^ *+' conftest.er1 >conftest.err
44723 cat conftest.err >&5
44724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44725 (exit $ac_status); } >/dev/null; then
44726 if test -s conftest.err; then
44727 ac_cpp_err=$ac_cxx_preproc_warn_flag
44728 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
44735 if test -z "$ac_cpp_err"; then
44736 ac_header_preproc=yes
44738 echo "$as_me: failed program was:" >&5
44739 sed 's/^/| /' conftest.$ac_ext >&5
44741 ac_header_preproc=no
44743 rm -f conftest.err conftest.$ac_ext
44744 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44745 echo "${ECHO_T}$ac_header_preproc" >&6
44747 # So? What about this header?
44748 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44750 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44751 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44753 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44754 ac_header_preproc=yes
44757 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44758 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44759 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44760 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44761 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44762 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44763 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44764 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44766 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44767 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44768 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44771 ## ----------------------------------------- ##
44772 ## Report this to wx-dev@lists.wxwidgets.org ##
44773 ## ----------------------------------------- ##
44776 sed "s/^/$as_me: WARNING: /" >&2
44779 echo "$as_me:$LINENO: checking for $ac_header" >&5
44780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44782 echo $ECHO_N "(cached) $ECHO_C" >&6
44784 eval "$as_ac_Header=\$ac_header_preproc"
44786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44787 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44790 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44791 cat >>confdefs.h <<_ACEOF
44792 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44801 if test "$wxUSE_JOYSTICK" = "yes"; then
44802 cat >>confdefs.h <<\_ACEOF
44803 #define wxUSE_JOYSTICK 1
44806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44808 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44809 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44815 if test "$wxUSE_FONTMAP" = "yes" ; then
44816 cat >>confdefs.h <<\_ACEOF
44817 #define wxUSE_FONTMAP 1
44822 if test "$wxUSE_UNICODE" = "yes" ; then
44823 cat >>confdefs.h <<\_ACEOF
44824 #define wxUSE_UNICODE 1
44828 if test "$USE_WIN32" != 1; then
44829 wxUSE_UNICODE_MSLU=no
44832 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44833 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44834 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
44835 if test "${ac_cv_lib_unicows_main+set}" = set; then
44836 echo $ECHO_N "(cached) $ECHO_C" >&6
44838 ac_check_lib_save_LIBS=$LIBS
44839 LIBS="-lunicows $LIBS"
44840 cat >conftest.$ac_ext <<_ACEOF
44843 cat confdefs.h >>conftest.$ac_ext
44844 cat >>conftest.$ac_ext <<_ACEOF
44845 /* end confdefs.h. */
44856 rm -f conftest.$ac_objext conftest$ac_exeext
44857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44858 (eval $ac_link) 2>conftest.er1
44860 grep -v '^ *+' conftest.er1 >conftest.err
44862 cat conftest.err >&5
44863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44864 (exit $ac_status); } &&
44865 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44867 (eval $ac_try) 2>&5
44869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44870 (exit $ac_status); }; } &&
44871 { ac_try='test -s conftest$ac_exeext'
44872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44873 (eval $ac_try) 2>&5
44875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44876 (exit $ac_status); }; }; then
44877 ac_cv_lib_unicows_main=yes
44879 echo "$as_me: failed program was:" >&5
44880 sed 's/^/| /' conftest.$ac_ext >&5
44882 ac_cv_lib_unicows_main=no
44884 rm -f conftest.err conftest.$ac_objext \
44885 conftest$ac_exeext conftest.$ac_ext
44886 LIBS=$ac_check_lib_save_LIBS
44888 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44889 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
44890 if test $ac_cv_lib_unicows_main = yes; then
44892 cat >>confdefs.h <<\_ACEOF
44893 #define wxUSE_UNICODE_MSLU 1
44899 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44900 Applications will only run on Windows NT/2000/XP!" >&5
44901 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44902 Applications will only run on Windows NT/2000/XP!" >&2;}
44903 wxUSE_UNICODE_MSLU=no
44910 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44911 cat >>confdefs.h <<\_ACEOF
44912 #define wxUSE_EXPERIMENTAL_PRINTF 1
44918 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44919 cat >>confdefs.h <<\_ACEOF
44920 #define wxUSE_POSTSCRIPT 1
44925 cat >>confdefs.h <<\_ACEOF
44926 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44930 cat >>confdefs.h <<\_ACEOF
44931 #define wxUSE_NORMALIZED_PS_FONTS 1
44936 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44937 cat >>confdefs.h <<\_ACEOF
44938 #define wxUSE_CONSTRAINTS 1
44941 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44944 if test "$wxUSE_MDI" = "yes"; then
44945 cat >>confdefs.h <<\_ACEOF
44946 #define wxUSE_MDI 1
44950 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44951 cat >>confdefs.h <<\_ACEOF
44952 #define wxUSE_MDI_ARCHITECTURE 1
44955 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44959 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44960 cat >>confdefs.h <<\_ACEOF
44961 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44965 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44966 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44970 if test "$wxUSE_HELP" = "yes"; then
44971 cat >>confdefs.h <<\_ACEOF
44972 #define wxUSE_HELP 1
44975 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44977 if test "$wxUSE_MSW" = 1; then
44978 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44979 cat >>confdefs.h <<\_ACEOF
44980 #define wxUSE_MS_HTML_HELP 1
44986 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44987 if test "$wxUSE_HTML" = "yes"; then
44988 cat >>confdefs.h <<\_ACEOF
44989 #define wxUSE_WXHTML_HELP 1
44993 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44994 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44995 wxUSE_WXHTML_HELP=no
45000 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45001 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45002 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45003 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45005 cat >>confdefs.h <<\_ACEOF
45006 #define wxUSE_PRINTING_ARCHITECTURE 1
45010 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45013 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45014 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45015 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45016 { (exit 1); exit 1; }; }
45020 if test "$wxUSE_METAFILE" = "yes"; then
45021 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45022 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45023 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45029 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45030 -o "$wxUSE_CLIPBOARD" = "yes" \
45031 -o "$wxUSE_OLE" = "yes" \
45032 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45034 for ac_header in ole2.h
45036 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45037 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45038 echo "$as_me:$LINENO: checking for $ac_header" >&5
45039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45041 echo $ECHO_N "(cached) $ECHO_C" >&6
45043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45046 # Is the header compilable?
45047 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45048 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45049 cat >conftest.$ac_ext <<_ACEOF
45052 cat confdefs.h >>conftest.$ac_ext
45053 cat >>conftest.$ac_ext <<_ACEOF
45054 /* end confdefs.h. */
45055 $ac_includes_default
45056 #include <$ac_header>
45058 rm -f conftest.$ac_objext
45059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45060 (eval $ac_compile) 2>conftest.er1
45062 grep -v '^ *+' conftest.er1 >conftest.err
45064 cat conftest.err >&5
45065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45066 (exit $ac_status); } &&
45067 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45069 (eval $ac_try) 2>&5
45071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45072 (exit $ac_status); }; } &&
45073 { ac_try='test -s conftest.$ac_objext'
45074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45075 (eval $ac_try) 2>&5
45077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45078 (exit $ac_status); }; }; then
45079 ac_header_compiler=yes
45081 echo "$as_me: failed program was:" >&5
45082 sed 's/^/| /' conftest.$ac_ext >&5
45084 ac_header_compiler=no
45086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45087 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45088 echo "${ECHO_T}$ac_header_compiler" >&6
45090 # Is the header present?
45091 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45092 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45093 cat >conftest.$ac_ext <<_ACEOF
45096 cat confdefs.h >>conftest.$ac_ext
45097 cat >>conftest.$ac_ext <<_ACEOF
45098 /* end confdefs.h. */
45099 #include <$ac_header>
45101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45102 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45104 grep -v '^ *+' conftest.er1 >conftest.err
45106 cat conftest.err >&5
45107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45108 (exit $ac_status); } >/dev/null; then
45109 if test -s conftest.err; then
45110 ac_cpp_err=$ac_cxx_preproc_warn_flag
45111 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
45118 if test -z "$ac_cpp_err"; then
45119 ac_header_preproc=yes
45121 echo "$as_me: failed program was:" >&5
45122 sed 's/^/| /' conftest.$ac_ext >&5
45124 ac_header_preproc=no
45126 rm -f conftest.err conftest.$ac_ext
45127 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45128 echo "${ECHO_T}$ac_header_preproc" >&6
45130 # So? What about this header?
45131 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45133 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45134 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45136 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45137 ac_header_preproc=yes
45140 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45141 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45142 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45143 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45144 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45145 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45146 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45147 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45148 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45149 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45150 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45151 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45154 ## ----------------------------------------- ##
45155 ## Report this to wx-dev@lists.wxwidgets.org ##
45156 ## ----------------------------------------- ##
45159 sed "s/^/$as_me: WARNING: /" >&2
45162 echo "$as_me:$LINENO: checking for $ac_header" >&5
45163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45165 echo $ECHO_N "(cached) $ECHO_C" >&6
45167 eval "$as_ac_Header=\$ac_header_preproc"
45169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45173 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45174 cat >>confdefs.h <<_ACEOF
45175 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45183 if test "$ac_cv_header_ole2_h" = "yes" ; then
45184 if test "$GCC" = yes ; then
45185 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45186 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45187 cat >conftest.$ac_ext <<_ACEOF
45190 cat confdefs.h >>conftest.$ac_ext
45191 cat >>conftest.$ac_ext <<_ACEOF
45192 /* end confdefs.h. */
45193 #include <windows.h>
45203 rm -f conftest.$ac_objext
45204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45205 (eval $ac_compile) 2>conftest.er1
45207 grep -v '^ *+' conftest.er1 >conftest.err
45209 cat conftest.err >&5
45210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45211 (exit $ac_status); } &&
45212 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45214 (eval $ac_try) 2>&5
45216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45217 (exit $ac_status); }; } &&
45218 { ac_try='test -s conftest.$ac_objext'
45219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45220 (eval $ac_try) 2>&5
45222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45223 (exit $ac_status); }; }; then
45224 echo "$as_me:$LINENO: result: no" >&5
45225 echo "${ECHO_T}no" >&6
45227 echo "$as_me: failed program was:" >&5
45228 sed 's/^/| /' conftest.$ac_ext >&5
45230 echo "$as_me:$LINENO: result: yes" >&5
45231 echo "${ECHO_T}yes" >&6
45232 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45235 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45236 if test "$wxUSE_OLE" = "yes" ; then
45237 cat >>confdefs.h <<\_ACEOF
45238 #define wxUSE_OLE 1
45241 cat >>confdefs.h <<\_ACEOF
45242 #define wxUSE_OLE_AUTOMATION 1
45245 cat >>confdefs.h <<\_ACEOF
45246 #define wxUSE_OLE_ACTIVEX 1
45249 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45253 if test "$wxUSE_DATAOBJ" = "yes" ; then
45254 cat >>confdefs.h <<\_ACEOF
45255 #define wxUSE_DATAOBJ 1
45260 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45261 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45264 wxUSE_DRAG_AND_DROP=no
45269 if test "$wxUSE_METAFILE" = "yes"; then
45270 cat >>confdefs.h <<\_ACEOF
45271 #define wxUSE_METAFILE 1
45275 cat >>confdefs.h <<\_ACEOF
45276 #define wxUSE_ENH_METAFILE 1
45282 if test "$wxUSE_IPC" = "yes"; then
45283 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45284 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45285 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45289 if test "$wxUSE_IPC" = "yes"; then
45290 cat >>confdefs.h <<\_ACEOF
45291 #define wxUSE_IPC 1
45294 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45298 if test "$wxUSE_DATAOBJ" = "yes"; then
45299 if test "$wxUSE_MGL" = 1; then
45300 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45301 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45304 cat >>confdefs.h <<\_ACEOF
45305 #define wxUSE_DATAOBJ 1
45310 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45311 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45313 wxUSE_DRAG_AND_DROP=no
45316 if test "$wxUSE_CLIPBOARD" = "yes"; then
45317 if test "$wxUSE_MGL" = 1; then
45318 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45319 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45323 if test "$wxUSE_CLIPBOARD" = "yes"; then
45324 cat >>confdefs.h <<\_ACEOF
45325 #define wxUSE_CLIPBOARD 1
45331 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45332 if test "$wxUSE_GTK" = 1; then
45333 if test "$WXGTK12" != 1; then
45334 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45335 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45336 wxUSE_DRAG_AND_DROP=no
45340 if test "$wxUSE_MOTIF" = 1; then
45341 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45342 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45343 wxUSE_DRAG_AND_DROP=no
45346 if test "$wxUSE_X11" = 1; then
45347 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45348 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45349 wxUSE_DRAG_AND_DROP=no
45352 if test "$wxUSE_MGL" = 1; then
45353 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45354 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45355 wxUSE_DRAG_AND_DROP=no
45358 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45359 cat >>confdefs.h <<\_ACEOF
45360 #define wxUSE_DRAG_AND_DROP 1
45367 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45368 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45371 if test "$wxUSE_SPLINES" = "yes" ; then
45372 cat >>confdefs.h <<\_ACEOF
45373 #define wxUSE_SPLINES 1
45378 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45379 cat >>confdefs.h <<\_ACEOF
45380 #define wxUSE_MOUSEWHEEL 1
45387 if test "$wxUSE_CONTROLS" = "yes"; then
45391 if test "$wxUSE_ACCEL" = "yes"; then
45392 cat >>confdefs.h <<\_ACEOF
45393 #define wxUSE_ACCEL 1
45399 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45400 cat >>confdefs.h <<\_ACEOF
45401 #define wxUSE_ANIMATIONCTRL 1
45405 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45408 if test "$wxUSE_BUTTON" = "yes"; then
45409 cat >>confdefs.h <<\_ACEOF
45410 #define wxUSE_BUTTON 1
45416 if test "$wxUSE_BMPBUTTON" = "yes"; then
45417 cat >>confdefs.h <<\_ACEOF
45418 #define wxUSE_BMPBUTTON 1
45424 if test "$wxUSE_CALCTRL" = "yes"; then
45425 cat >>confdefs.h <<\_ACEOF
45426 #define wxUSE_CALENDARCTRL 1
45430 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45433 if test "$wxUSE_CARET" = "yes"; then
45434 cat >>confdefs.h <<\_ACEOF
45435 #define wxUSE_CARET 1
45439 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45442 if test "$wxUSE_COMBOBOX" = "yes"; then
45443 cat >>confdefs.h <<\_ACEOF
45444 #define wxUSE_COMBOBOX 1
45450 if test "$wxUSE_COMBOCTRL" = "yes"; then
45451 cat >>confdefs.h <<\_ACEOF
45452 #define wxUSE_COMBOCTRL 1
45458 if test "$wxUSE_CHOICE" = "yes"; then
45459 cat >>confdefs.h <<\_ACEOF
45460 #define wxUSE_CHOICE 1
45466 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45467 cat >>confdefs.h <<\_ACEOF
45468 #define wxUSE_CHOICEBOOK 1
45474 if test "$wxUSE_CHECKBOX" = "yes"; then
45475 cat >>confdefs.h <<\_ACEOF
45476 #define wxUSE_CHECKBOX 1
45482 if test "$wxUSE_CHECKLST" = "yes"; then
45483 cat >>confdefs.h <<\_ACEOF
45484 #define wxUSE_CHECKLISTBOX 1
45488 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
45491 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45492 cat >>confdefs.h <<\_ACEOF
45493 #define wxUSE_COLOURPICKERCTRL 1
45499 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45500 cat >>confdefs.h <<\_ACEOF
45501 #define wxUSE_DATEPICKCTRL 1
45507 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45508 cat >>confdefs.h <<\_ACEOF
45509 #define wxUSE_DIRPICKERCTRL 1
45515 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45516 cat >>confdefs.h <<\_ACEOF
45517 #define wxUSE_FILEPICKERCTRL 1
45523 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45524 cat >>confdefs.h <<\_ACEOF
45525 #define wxUSE_FONTPICKERCTRL 1
45531 if test "$wxUSE_DISPLAY" = "yes"; then
45532 cat >>confdefs.h <<\_ACEOF
45533 #define wxUSE_DISPLAY 1
45536 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
45539 if test "$wxUSE_DETECT_SM" = "yes"; then
45540 cat >>confdefs.h <<\_ACEOF
45541 #define wxUSE_DETECT_SM 1
45546 if test "$wxUSE_GAUGE" = "yes"; then
45547 cat >>confdefs.h <<\_ACEOF
45548 #define wxUSE_GAUGE 1
45554 if test "$wxUSE_GRID" = "yes"; then
45555 cat >>confdefs.h <<\_ACEOF
45556 #define wxUSE_GRID 1
45560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45563 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45564 cat >>confdefs.h <<\_ACEOF
45565 #define wxUSE_HYPERLINKCTRL 1
45571 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45572 cat >>confdefs.h <<\_ACEOF
45573 #define wxUSE_BITMAPCOMBOBOX 1
45579 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45580 cat >>confdefs.h <<\_ACEOF
45581 #define wxUSE_DATAVIEWCTRL 1
45585 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45588 if test "$wxUSE_IMAGLIST" = "yes"; then
45589 cat >>confdefs.h <<\_ACEOF
45590 #define wxUSE_IMAGLIST 1
45595 if test "$wxUSE_LISTBOOK" = "yes"; then
45596 cat >>confdefs.h <<\_ACEOF
45597 #define wxUSE_LISTBOOK 1
45603 if test "$wxUSE_LISTBOX" = "yes"; then
45604 cat >>confdefs.h <<\_ACEOF
45605 #define wxUSE_LISTBOX 1
45609 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
45612 if test "$wxUSE_LISTCTRL" = "yes"; then
45613 if test "$wxUSE_IMAGLIST" = "yes"; then
45614 cat >>confdefs.h <<\_ACEOF
45615 #define wxUSE_LISTCTRL 1
45619 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45621 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45622 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45626 if test "$wxUSE_NOTEBOOK" = "yes"; then
45627 cat >>confdefs.h <<\_ACEOF
45628 #define wxUSE_NOTEBOOK 1
45632 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45635 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45636 cat >>confdefs.h <<\_ACEOF
45637 #define wxUSE_ODCOMBOBOX 1
45641 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45645 if test "$wxUSE_RADIOBOX" = "yes"; then
45646 cat >>confdefs.h <<\_ACEOF
45647 #define wxUSE_RADIOBOX 1
45653 if test "$wxUSE_RADIOBTN" = "yes"; then
45654 cat >>confdefs.h <<\_ACEOF
45655 #define wxUSE_RADIOBTN 1
45661 if test "$wxUSE_SASH" = "yes"; then
45662 cat >>confdefs.h <<\_ACEOF
45663 #define wxUSE_SASH 1
45666 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45669 if test "$wxUSE_SCROLLBAR" = "yes"; then
45670 cat >>confdefs.h <<\_ACEOF
45671 #define wxUSE_SCROLLBAR 1
45675 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45678 if test "$wxUSE_SLIDER" = "yes"; then
45679 cat >>confdefs.h <<\_ACEOF
45680 #define wxUSE_SLIDER 1
45686 if test "$wxUSE_SPINBTN" = "yes"; then
45687 cat >>confdefs.h <<\_ACEOF
45688 #define wxUSE_SPINBTN 1
45694 if test "$wxUSE_SPINCTRL" = "yes"; then
45695 cat >>confdefs.h <<\_ACEOF
45696 #define wxUSE_SPINCTRL 1
45702 if test "$wxUSE_SPLITTER" = "yes"; then
45703 cat >>confdefs.h <<\_ACEOF
45704 #define wxUSE_SPLITTER 1
45707 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45710 if test "$wxUSE_STATBMP" = "yes"; then
45711 cat >>confdefs.h <<\_ACEOF
45712 #define wxUSE_STATBMP 1
45718 if test "$wxUSE_STATBOX" = "yes"; then
45719 cat >>confdefs.h <<\_ACEOF
45720 #define wxUSE_STATBOX 1
45726 if test "$wxUSE_STATTEXT" = "yes"; then
45727 cat >>confdefs.h <<\_ACEOF
45728 #define wxUSE_STATTEXT 1
45734 if test "$wxUSE_STATLINE" = "yes"; then
45735 cat >>confdefs.h <<\_ACEOF
45736 #define wxUSE_STATLINE 1
45742 if test "$wxUSE_STATUSBAR" = "yes"; then
45743 cat >>confdefs.h <<\_ACEOF
45744 #define wxUSE_NATIVE_STATUSBAR 1
45747 cat >>confdefs.h <<\_ACEOF
45748 #define wxUSE_STATUSBAR 1
45753 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45756 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45757 cat >>confdefs.h <<\_ACEOF
45758 #define wxUSE_TAB_DIALOG 1
45763 if test "$wxUSE_TEXTCTRL" = "yes"; then
45764 cat >>confdefs.h <<\_ACEOF
45765 #define wxUSE_TEXTCTRL 1
45769 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45772 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45773 if test "$wxUSE_COCOA" = 1 ; then
45774 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45775 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45779 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45780 cat >>confdefs.h <<\_ACEOF
45781 #define wxUSE_TOGGLEBTN 1
45788 if test "$wxUSE_TOOLBAR" = "yes"; then
45789 cat >>confdefs.h <<\_ACEOF
45790 #define wxUSE_TOOLBAR 1
45795 if test "$wxUSE_UNIVERSAL" = "yes"; then
45796 wxUSE_TOOLBAR_NATIVE="no"
45798 wxUSE_TOOLBAR_NATIVE="yes"
45799 cat >>confdefs.h <<\_ACEOF
45800 #define wxUSE_TOOLBAR_NATIVE 1
45805 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45808 if test "$wxUSE_TOOLTIPS" = "yes"; then
45809 if test "$wxUSE_MOTIF" = 1; then
45810 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45811 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45813 if test "$wxUSE_UNIVERSAL" = "yes"; then
45814 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45815 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45817 cat >>confdefs.h <<\_ACEOF
45818 #define wxUSE_TOOLTIPS 1
45825 if test "$wxUSE_TREEBOOK" = "yes"; then
45826 cat >>confdefs.h <<\_ACEOF
45827 #define wxUSE_TREEBOOK 1
45833 if test "$wxUSE_TOOLBOOK" = "yes"; then
45834 cat >>confdefs.h <<\_ACEOF
45835 #define wxUSE_TOOLBOOK 1
45841 if test "$wxUSE_TREECTRL" = "yes"; then
45842 if test "$wxUSE_IMAGLIST" = "yes"; then
45843 cat >>confdefs.h <<\_ACEOF
45844 #define wxUSE_TREECTRL 1
45848 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45850 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45851 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45855 if test "$wxUSE_POPUPWIN" = "yes"; then
45856 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45857 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45858 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45860 if test "$wxUSE_PM" = 1; then
45861 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45862 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45864 cat >>confdefs.h <<\_ACEOF
45865 #define wxUSE_POPUPWIN 1
45868 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45875 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45876 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45877 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
45878 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
45880 cat >>confdefs.h <<\_ACEOF
45881 #define wxUSE_DIALUP_MANAGER 1
45884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45888 if test "$wxUSE_TIPWINDOW" = "yes"; then
45889 if test "$wxUSE_PM" = 1; then
45890 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45891 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45893 cat >>confdefs.h <<\_ACEOF
45894 #define wxUSE_TIPWINDOW 1
45900 if test "$USES_CONTROLS" = 1; then
45901 cat >>confdefs.h <<\_ACEOF
45902 #define wxUSE_CONTROLS 1
45908 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45909 cat >>confdefs.h <<\_ACEOF
45910 #define wxUSE_ACCESSIBILITY 1
45913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45916 if test "$wxUSE_DC_CACHEING" = "yes"; then
45917 cat >>confdefs.h <<\_ACEOF
45918 #define wxUSE_DC_CACHEING 1
45923 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45924 cat >>confdefs.h <<\_ACEOF
45925 #define wxUSE_DRAGIMAGE 1
45928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45931 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45932 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45933 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45934 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45936 cat >>confdefs.h <<\_ACEOF
45937 #define wxUSE_EXCEPTIONS 1
45940 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45945 if test "$wxUSE_HTML" = "yes"; then
45946 cat >>confdefs.h <<\_ACEOF
45947 #define wxUSE_HTML 1
45951 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45952 if test "$wxUSE_MAC" = 1; then
45953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45956 if test "$wxUSE_WEBKIT" = "yes"; then
45957 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45958 old_CPPFLAGS="$CPPFLAGS"
45959 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45960 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45961 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
45962 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45963 echo $ECHO_N "(cached) $ECHO_C" >&6
45965 cat >conftest.$ac_ext <<_ACEOF
45968 cat confdefs.h >>conftest.$ac_ext
45969 cat >>conftest.$ac_ext <<_ACEOF
45970 /* end confdefs.h. */
45971 #include <Carbon/Carbon.h>
45973 #include <WebKit/HIWebView.h>
45975 rm -f conftest.$ac_objext
45976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45977 (eval $ac_compile) 2>conftest.er1
45979 grep -v '^ *+' conftest.er1 >conftest.err
45981 cat conftest.err >&5
45982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45983 (exit $ac_status); } &&
45984 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45986 (eval $ac_try) 2>&5
45988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45989 (exit $ac_status); }; } &&
45990 { ac_try='test -s conftest.$ac_objext'
45991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45992 (eval $ac_try) 2>&5
45994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45995 (exit $ac_status); }; }; then
45996 ac_cv_header_WebKit_HIWebView_h=yes
45998 echo "$as_me: failed program was:" >&5
45999 sed 's/^/| /' conftest.$ac_ext >&5
46001 ac_cv_header_WebKit_HIWebView_h=no
46003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46005 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46006 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46007 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46009 cat >>confdefs.h <<\_ACEOF
46010 #define wxUSE_WEBKIT 1
46013 WEBKIT_LINK="-framework WebKit"
46017 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46018 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46024 CPPFLAGS="$old_CPPFLAGS"
46025 elif test "$wxUSE_COCOA" = 1; then
46026 cat >>confdefs.h <<\_ACEOF
46027 #define wxUSE_WEBKIT 1
46036 if test "$wxUSE_XRC" = "yes"; then
46037 if test "$wxUSE_XML" != "yes"; then
46038 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46039 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46042 cat >>confdefs.h <<\_ACEOF
46043 #define wxUSE_XRC 1
46047 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46052 if test "$wxUSE_AUI" = "yes"; then
46053 cat >>confdefs.h <<\_ACEOF
46054 #define wxUSE_AUI 1
46058 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46061 if test "$wxUSE_MENUS" = "yes"; then
46062 cat >>confdefs.h <<\_ACEOF
46063 #define wxUSE_MENUS 1
46066 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46069 if test "$wxUSE_METAFILE" = "yes"; then
46070 cat >>confdefs.h <<\_ACEOF
46071 #define wxUSE_METAFILE 1
46076 if test "$wxUSE_MIMETYPE" = "yes"; then
46077 cat >>confdefs.h <<\_ACEOF
46078 #define wxUSE_MIMETYPE 1
46083 if test "$wxUSE_MINIFRAME" = "yes"; then
46084 cat >>confdefs.h <<\_ACEOF
46085 #define wxUSE_MINIFRAME 1
46088 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
46091 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46092 cat >>confdefs.h <<\_ACEOF
46093 #define wxUSE_SYSTEM_OPTIONS 1
46096 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46097 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46098 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46103 if test "$wxUSE_VALIDATORS" = "yes"; then
46104 cat >>confdefs.h <<\_ACEOF
46105 #define wxUSE_VALIDATORS 1
46108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46111 if test "$wxUSE_PALETTE" = "yes" ; then
46112 cat >>confdefs.h <<\_ACEOF
46113 #define wxUSE_PALETTE 1
46118 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46119 LIBS=" -lunicows $LIBS"
46123 if test "$wxUSE_RICHTEXT" = "yes"; then
46124 cat >>confdefs.h <<\_ACEOF
46125 #define wxUSE_RICHTEXT 1
46129 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46133 if test "$wxUSE_IMAGE" = "yes" ; then
46134 cat >>confdefs.h <<\_ACEOF
46135 #define wxUSE_IMAGE 1
46139 if test "$wxUSE_GIF" = "yes" ; then
46140 cat >>confdefs.h <<\_ACEOF
46141 #define wxUSE_GIF 1
46146 if test "$wxUSE_PCX" = "yes" ; then
46147 cat >>confdefs.h <<\_ACEOF
46148 #define wxUSE_PCX 1
46153 if test "$wxUSE_IFF" = "yes" ; then
46154 cat >>confdefs.h <<\_ACEOF
46155 #define wxUSE_IFF 1
46160 if test "$wxUSE_PNM" = "yes" ; then
46161 cat >>confdefs.h <<\_ACEOF
46162 #define wxUSE_PNM 1
46167 if test "$wxUSE_XPM" = "yes" ; then
46168 cat >>confdefs.h <<\_ACEOF
46169 #define wxUSE_XPM 1
46174 if test "$wxUSE_ICO_CUR" = "yes" ; then
46175 cat >>confdefs.h <<\_ACEOF
46176 #define wxUSE_ICO_CUR 1
46183 if test "$wxUSE_ABOUTDLG" = "yes"; then
46184 cat >>confdefs.h <<\_ACEOF
46185 #define wxUSE_ABOUTDLG 1
46190 if test "$wxUSE_CHOICEDLG" = "yes"; then
46191 cat >>confdefs.h <<\_ACEOF
46192 #define wxUSE_CHOICEDLG 1
46197 if test "$wxUSE_COLOURDLG" = "yes"; then
46198 cat >>confdefs.h <<\_ACEOF
46199 #define wxUSE_COLOURDLG 1
46204 if test "$wxUSE_FILEDLG" = "yes"; then
46205 cat >>confdefs.h <<\_ACEOF
46206 #define wxUSE_FILEDLG 1
46211 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46212 cat >>confdefs.h <<\_ACEOF
46213 #define wxUSE_FINDREPLDLG 1
46218 if test "$wxUSE_FONTDLG" = "yes"; then
46219 cat >>confdefs.h <<\_ACEOF
46220 #define wxUSE_FONTDLG 1
46225 if test "$wxUSE_DIRDLG" = "yes"; then
46226 if test "$wxUSE_TREECTRL" != "yes"; then
46227 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46228 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46230 cat >>confdefs.h <<\_ACEOF
46231 #define wxUSE_DIRDLG 1
46237 if test "$wxUSE_MSGDLG" = "yes"; then
46238 cat >>confdefs.h <<\_ACEOF
46239 #define wxUSE_MSGDLG 1
46244 if test "$wxUSE_NUMBERDLG" = "yes"; then
46245 cat >>confdefs.h <<\_ACEOF
46246 #define wxUSE_NUMBERDLG 1
46251 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46252 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46253 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46254 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46256 cat >>confdefs.h <<\_ACEOF
46257 #define wxUSE_PROGRESSDLG 1
46263 if test "$wxUSE_SPLASH" = "yes"; then
46264 cat >>confdefs.h <<\_ACEOF
46265 #define wxUSE_SPLASH 1
46268 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46271 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46272 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46273 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46274 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46276 cat >>confdefs.h <<\_ACEOF
46277 #define wxUSE_STARTUP_TIPS 1
46283 if test "$wxUSE_TEXTDLG" = "yes"; then
46284 cat >>confdefs.h <<\_ACEOF
46285 #define wxUSE_TEXTDLG 1
46290 if test "$wxUSE_WIZARDDLG" = "yes"; then
46291 cat >>confdefs.h <<\_ACEOF
46292 #define wxUSE_WIZARDDLG 1
46295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46299 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46300 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
46301 cat >>confdefs.h <<\_ACEOF
46302 #define wxUSE_GRAPHICS_CONTEXT 1
46305 elif test "$wxUSE_GTK" != 1; then
46306 cat >>confdefs.h <<\_ACEOF
46307 #define wxUSE_GRAPHICS_CONTEXT 1
46313 echo "$as_me:$LINENO: checking for CAIRO" >&5
46314 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
46316 if test -n "$PKG_CONFIG"; then
46317 if test -n "$CAIRO_CFLAGS"; then
46318 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46320 if test -n "$PKG_CONFIG" && \
46321 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46322 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46325 (exit $ac_status); }; then
46326 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46334 if test -n "$PKG_CONFIG"; then
46335 if test -n "$CAIRO_LIBS"; then
46336 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46338 if test -n "$PKG_CONFIG" && \
46339 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46340 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46343 (exit $ac_status); }; then
46344 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46355 if test $pkg_failed = yes; then
46357 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46358 _pkg_short_errors_supported=yes
46360 _pkg_short_errors_supported=no
46362 if test $_pkg_short_errors_supported = yes; then
46363 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46365 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46367 # Put the nasty error message in config.log where it belongs
46368 echo "$CAIRO_PKG_ERRORS" >&5
46371 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46372 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46375 elif test $pkg_failed = untried; then
46377 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46378 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46382 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46383 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46384 echo "$as_me:$LINENO: result: yes" >&5
46385 echo "${ECHO_T}yes" >&6
46387 cat >>confdefs.h <<\_ACEOF
46388 #define wxUSE_GRAPHICS_CONTEXT 1
46399 if test "$wxUSE_MEDIACTRL" = "yes"; then
46402 if test "$wxUSE_GTK" = 1; then
46403 wxUSE_GSTREAMER="no"
46405 GST_VERSION_MAJOR=0
46406 GST_VERSION_MINOR=10
46407 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46409 if test "$wxUSE_GSTREAMER8" = "no"; then
46412 echo "$as_me:$LINENO: checking for GST" >&5
46413 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46415 if test -n "$PKG_CONFIG"; then
46416 if test -n "$GST_CFLAGS"; then
46417 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46419 if test -n "$PKG_CONFIG" && \
46420 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46421 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46424 (exit $ac_status); }; then
46425 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46433 if test -n "$PKG_CONFIG"; then
46434 if test -n "$GST_LIBS"; then
46435 pkg_cv_GST_LIBS="$GST_LIBS"
46437 if test -n "$PKG_CONFIG" && \
46438 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46439 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46442 (exit $ac_status); }; then
46443 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46454 if test $pkg_failed = yes; then
46456 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46457 _pkg_short_errors_supported=yes
46459 _pkg_short_errors_supported=no
46461 if test $_pkg_short_errors_supported = yes; then
46462 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46464 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46466 # Put the nasty error message in config.log where it belongs
46467 echo "$GST_PKG_ERRORS" >&5
46470 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46471 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46472 GST_VERSION_MINOR=8
46475 elif test $pkg_failed = untried; then
46477 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46478 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46479 GST_VERSION_MINOR=8
46483 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46484 GST_LIBS=$pkg_cv_GST_LIBS
46485 echo "$as_me:$LINENO: result: yes" >&5
46486 echo "${ECHO_T}yes" >&6
46488 wxUSE_GSTREAMER="yes"
46489 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46493 GST_VERSION_MINOR=8
46496 if test $GST_VERSION_MINOR = "8"; then
46497 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46500 echo "$as_me:$LINENO: checking for GST" >&5
46501 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46503 if test -n "$PKG_CONFIG"; then
46504 if test -n "$GST_CFLAGS"; then
46505 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46507 if test -n "$PKG_CONFIG" && \
46508 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46509 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46512 (exit $ac_status); }; then
46513 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46521 if test -n "$PKG_CONFIG"; then
46522 if test -n "$GST_LIBS"; then
46523 pkg_cv_GST_LIBS="$GST_LIBS"
46525 if test -n "$PKG_CONFIG" && \
46526 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46527 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46530 (exit $ac_status); }; then
46531 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46542 if test $pkg_failed = yes; then
46544 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46545 _pkg_short_errors_supported=yes
46547 _pkg_short_errors_supported=no
46549 if test $_pkg_short_errors_supported = yes; then
46550 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46552 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46554 # Put the nasty error message in config.log where it belongs
46555 echo "$GST_PKG_ERRORS" >&5
46558 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46559 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46561 elif test $pkg_failed = untried; then
46563 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46564 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46567 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46568 GST_LIBS=$pkg_cv_GST_LIBS
46569 echo "$as_me:$LINENO: result: yes" >&5
46570 echo "${ECHO_T}yes" >&6
46571 wxUSE_GSTREAMER="yes"
46576 if test "$wxUSE_GSTREAMER" = "yes"; then
46579 if "$GCC" = yes; then
46580 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
46581 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
46585 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46586 LIBS="$GST_LIBS $LIBS"
46588 cat >>confdefs.h <<\_ACEOF
46589 #define wxUSE_GSTREAMER 1
46597 if test $USE_MEDIA = 1; then
46598 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46599 cat >>confdefs.h <<\_ACEOF
46600 #define wxUSE_MEDIACTRL 1
46607 if test "$cross_compiling" = "yes"; then
46610 OSINFO=`uname -s -r -m`
46611 OSINFO="\"$OSINFO\""
46614 cat >>confdefs.h <<_ACEOF
46615 #define WXWIN_OS_DESCRIPTION $OSINFO
46620 if test "x$prefix" != "xNONE"; then
46623 wxPREFIX=$ac_default_prefix
46626 cat >>confdefs.h <<_ACEOF
46627 #define wxINSTALL_PREFIX "$wxPREFIX"
46633 CORE_BASE_LIBS="net base"
46634 CORE_GUI_LIBS="adv core"
46636 if test "$wxUSE_XML" = "yes" ; then
46637 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
46639 if test "$wxUSE_ODBC" != "no" ; then
46640 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
46641 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
46643 if test "$wxUSE_HTML" = "yes" ; then
46644 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
46646 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46647 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
46649 if test "$wxUSE_XRC" = "yes" ; then
46650 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
46652 if test "$wxUSE_AUI" = "yes" ; then
46653 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
46656 if test "$wxUSE_GUI" != "yes"; then
46665 ac_cpp='$CPP $CPPFLAGS'
46666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46672 if test "$wxUSE_MAC" = 1 ; then
46673 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46674 if test "$USE_DARWIN" = 1; then
46675 LDFLAGS="$LDFLAGS -framework QuickTime"
46677 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46680 if test "$USE_DARWIN" = 1; then
46681 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46683 LDFLAGS="$LDFLAGS -lCarbonLib"
46686 if test "$wxUSE_COCOA" = 1 ; then
46687 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46688 if test "$wxUSE_MEDIACTRL" = "yes"; then
46689 LDFLAGS="$LDFLAGS -framework QuickTime"
46692 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46693 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46696 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46698 if test "$wxUSE_GUI" = "yes"; then
46701 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46702 dynamic erase event exec font image minimal mobile \
46703 mobile/wxedit mobile/styles propsize render \
46704 rotate shaped vscroll widgets"
46706 if test "$wxUSE_MONOLITHIC" != "yes"; then
46707 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46709 if test "$TOOLKIT" = "MSW"; then
46710 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46711 if test "$wxUSE_UNIVERSAL" != "yes"; then
46712 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46715 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46716 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46719 SAMPLES_SUBDIRS="console"
46723 if test "x$INTELCC" = "xyes" ; then
46724 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46725 elif test "$GCC" = yes ; then
46726 CWARNINGS="-Wall -Wundef"
46729 if test "x$INTELCXX" = "xyes" ; then
46730 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46731 elif test "$GXX" = yes ; then
46732 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
46736 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46737 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46740 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46741 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
46742 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46745 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46746 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46747 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
46749 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46752 if test "x$MWCC" = "xyes"; then
46754 CC="$CC -cwd source -I-"
46755 CXX="$CXX -cwd source -I-"
46760 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46761 EXTRALIBS_XML="$EXPAT_LINK"
46762 EXTRALIBS_HTML="$MSPACK_LINK"
46763 EXTRALIBS_ODBC="$ODBC_LINK"
46764 if test "$wxUSE_GUI" = "yes"; then
46765 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46767 if test "$wxUSE_OPENGL" = "yes"; then
46768 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46771 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46773 WXCONFIG_LIBS="$LIBS"
46775 if test "$wxUSE_REGEX" = "builtin" ; then
46776 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46778 if test "$wxUSE_EXPAT" = "builtin" ; then
46779 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46781 if test "$wxUSE_ODBC" = "builtin" ; then
46782 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
46784 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46785 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46787 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46788 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46790 if test "$wxUSE_LIBPNG" = "builtin" ; then
46791 wxconfig_3rdparty="png $wxconfig_3rdparty"
46793 if test "$wxUSE_ZLIB" = "builtin" ; then
46794 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46797 for i in $wxconfig_3rdparty ; do
46798 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46802 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46805 case "$wxUNIV_THEMES" in
46807 cat >>confdefs.h <<\_ACEOF
46808 #define wxUSE_ALL_THEMES 1
46814 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
46815 cat >>confdefs.h <<_ACEOF
46816 #define wxUSE_THEME_$t 1
46833 if test $wxUSE_MONOLITHIC = "yes" ; then
46839 if test $wxUSE_PLUGINS = "yes" ; then
46845 if test $wxUSE_ODBC != "no" ; then
46851 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46857 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46887 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
46898 TOOLKIT_DESC="GTK+"
46899 if test "$WXGTK20" = 1; then
46900 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46901 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46902 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46904 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46905 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46907 if test "$wxUSE_LIBHILDON" = "yes"; then
46908 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46911 if test "$TOOLKIT_EXTRA" != ""; then
46912 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46918 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46922 TOOLKIT_DESC="base only"
46926 if test "$wxUSE_WINE" = "yes"; then
46927 BAKEFILE_FORCE_PLATFORM=win32
46930 if test "$wxUSE_MAC" = 1 ; then
46931 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
46932 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
46933 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
46935 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
46937 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
46938 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
46939 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
46940 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
46943 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
46944 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
46950 if test "x$BAKEFILE_HOST" = "x"; then
46951 if test "x${host}" = "x" ; then
46952 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46953 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46954 { (exit 1); exit 1; }; }
46957 BAKEFILE_HOST="${host}"
46960 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46962 if test -n "$ac_tool_prefix"; then
46963 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46964 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46965 echo "$as_me:$LINENO: checking for $ac_word" >&5
46966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46967 if test "${ac_cv_prog_RANLIB+set}" = set; then
46968 echo $ECHO_N "(cached) $ECHO_C" >&6
46970 if test -n "$RANLIB"; then
46971 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46974 for as_dir in $PATH
46977 test -z "$as_dir" && as_dir=.
46978 for ac_exec_ext in '' $ac_executable_extensions; do
46979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46980 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46989 RANLIB=$ac_cv_prog_RANLIB
46990 if test -n "$RANLIB"; then
46991 echo "$as_me:$LINENO: result: $RANLIB" >&5
46992 echo "${ECHO_T}$RANLIB" >&6
46994 echo "$as_me:$LINENO: result: no" >&5
46995 echo "${ECHO_T}no" >&6
46999 if test -z "$ac_cv_prog_RANLIB"; then
47000 ac_ct_RANLIB=$RANLIB
47001 # Extract the first word of "ranlib", so it can be a program name with args.
47002 set dummy ranlib; ac_word=$2
47003 echo "$as_me:$LINENO: checking for $ac_word" >&5
47004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47005 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47006 echo $ECHO_N "(cached) $ECHO_C" >&6
47008 if test -n "$ac_ct_RANLIB"; then
47009 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47012 for as_dir in $PATH
47015 test -z "$as_dir" && as_dir=.
47016 for ac_exec_ext in '' $ac_executable_extensions; do
47017 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47018 ac_cv_prog_ac_ct_RANLIB="ranlib"
47019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47025 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
47028 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47029 if test -n "$ac_ct_RANLIB"; then
47030 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47031 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47033 echo "$as_me:$LINENO: result: no" >&5
47034 echo "${ECHO_T}no" >&6
47037 RANLIB=$ac_ct_RANLIB
47039 RANLIB="$ac_cv_prog_RANLIB"
47042 # Find a good install program. We prefer a C program (faster),
47043 # so one script is as good as another. But avoid the broken or
47044 # incompatible versions:
47045 # SysV /etc/install, /usr/sbin/install
47046 # SunOS /usr/etc/install
47047 # IRIX /sbin/install
47049 # AmigaOS /C/install, which installs bootblocks on floppy discs
47050 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47051 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47052 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47053 # OS/2's system install, which has a completely different semantic
47054 # ./install, which can be erroneously created by make from ./install.sh.
47055 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47056 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47057 if test -z "$INSTALL"; then
47058 if test "${ac_cv_path_install+set}" = set; then
47059 echo $ECHO_N "(cached) $ECHO_C" >&6
47061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47062 for as_dir in $PATH
47065 test -z "$as_dir" && as_dir=.
47066 # Account for people who put trailing slashes in PATH elements.
47068 ./ | .// | /cC/* | \
47069 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47070 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47073 # OSF1 and SCO ODT 3.0 have their own names for install.
47074 # Don't use installbsd from OSF since it installs stuff as root
47076 for ac_prog in ginstall scoinst install; do
47077 for ac_exec_ext in '' $ac_executable_extensions; do
47078 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47079 if test $ac_prog = install &&
47080 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47081 # AIX install. It has an incompatible calling convention.
47083 elif test $ac_prog = install &&
47084 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47085 # program-specific install script used by HP pwplus--don't use.
47088 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47100 if test "${ac_cv_path_install+set}" = set; then
47101 INSTALL=$ac_cv_path_install
47103 # As a last resort, use the slow shell script. We don't cache a
47104 # path for INSTALL within a source directory, because that will
47105 # break other packages using the cache if that directory is
47106 # removed, or if the path is relative.
47107 INSTALL=$ac_install_sh
47110 echo "$as_me:$LINENO: result: $INSTALL" >&5
47111 echo "${ECHO_T}$INSTALL" >&6
47113 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47114 # It thinks the first close brace ends the variable substitution.
47115 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47117 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47119 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47121 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47122 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47124 if test "$LN_S" = "ln -s"; then
47125 echo "$as_me:$LINENO: result: yes" >&5
47126 echo "${ECHO_T}yes" >&6
47128 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47129 echo "${ECHO_T}no, using $LN_S" >&6
47133 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47134 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47135 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
47136 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47137 echo $ECHO_N "(cached) $ECHO_C" >&6
47139 cat >conftest.make <<\_ACEOF
47141 @echo 'ac_maketemp="$(MAKE)"'
47143 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47144 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47145 if test -n "$ac_maketemp"; then
47146 eval ac_cv_prog_make_${ac_make}_set=yes
47148 eval ac_cv_prog_make_${ac_make}_set=no
47150 rm -f conftest.make
47152 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47153 echo "$as_me:$LINENO: result: yes" >&5
47154 echo "${ECHO_T}yes" >&6
47157 echo "$as_me:$LINENO: result: no" >&5
47158 echo "${ECHO_T}no" >&6
47159 SET_MAKE="MAKE=${MAKE-make}"
47164 if test -n "$ac_tool_prefix"; then
47165 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47166 set dummy ${ac_tool_prefix}ar; ac_word=$2
47167 echo "$as_me:$LINENO: checking for $ac_word" >&5
47168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47169 if test "${ac_cv_prog_AR+set}" = set; then
47170 echo $ECHO_N "(cached) $ECHO_C" >&6
47172 if test -n "$AR"; then
47173 ac_cv_prog_AR="$AR" # Let the user override the test.
47175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47176 for as_dir in $PATH
47179 test -z "$as_dir" && as_dir=.
47180 for ac_exec_ext in '' $ac_executable_extensions; do
47181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47182 ac_cv_prog_AR="${ac_tool_prefix}ar"
47183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47192 if test -n "$AR"; then
47193 echo "$as_me:$LINENO: result: $AR" >&5
47194 echo "${ECHO_T}$AR" >&6
47196 echo "$as_me:$LINENO: result: no" >&5
47197 echo "${ECHO_T}no" >&6
47201 if test -z "$ac_cv_prog_AR"; then
47203 # Extract the first word of "ar", so it can be a program name with args.
47204 set dummy ar; ac_word=$2
47205 echo "$as_me:$LINENO: checking for $ac_word" >&5
47206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47207 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47208 echo $ECHO_N "(cached) $ECHO_C" >&6
47210 if test -n "$ac_ct_AR"; then
47211 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47214 for as_dir in $PATH
47217 test -z "$as_dir" && as_dir=.
47218 for ac_exec_ext in '' $ac_executable_extensions; do
47219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47220 ac_cv_prog_ac_ct_AR="ar"
47221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47227 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
47230 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47231 if test -n "$ac_ct_AR"; then
47232 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47233 echo "${ECHO_T}$ac_ct_AR" >&6
47235 echo "$as_me:$LINENO: result: no" >&5
47236 echo "${ECHO_T}no" >&6
47241 AR="$ac_cv_prog_AR"
47244 if test -n "$ac_tool_prefix"; then
47245 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47246 set dummy ${ac_tool_prefix}strip; ac_word=$2
47247 echo "$as_me:$LINENO: checking for $ac_word" >&5
47248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47249 if test "${ac_cv_prog_STRIP+set}" = set; then
47250 echo $ECHO_N "(cached) $ECHO_C" >&6
47252 if test -n "$STRIP"; then
47253 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47256 for as_dir in $PATH
47259 test -z "$as_dir" && as_dir=.
47260 for ac_exec_ext in '' $ac_executable_extensions; do
47261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47262 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47271 STRIP=$ac_cv_prog_STRIP
47272 if test -n "$STRIP"; then
47273 echo "$as_me:$LINENO: result: $STRIP" >&5
47274 echo "${ECHO_T}$STRIP" >&6
47276 echo "$as_me:$LINENO: result: no" >&5
47277 echo "${ECHO_T}no" >&6
47281 if test -z "$ac_cv_prog_STRIP"; then
47283 # Extract the first word of "strip", so it can be a program name with args.
47284 set dummy strip; ac_word=$2
47285 echo "$as_me:$LINENO: checking for $ac_word" >&5
47286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47287 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47288 echo $ECHO_N "(cached) $ECHO_C" >&6
47290 if test -n "$ac_ct_STRIP"; then
47291 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47294 for as_dir in $PATH
47297 test -z "$as_dir" && as_dir=.
47298 for ac_exec_ext in '' $ac_executable_extensions; do
47299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47300 ac_cv_prog_ac_ct_STRIP="strip"
47301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47307 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
47310 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47311 if test -n "$ac_ct_STRIP"; then
47312 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47313 echo "${ECHO_T}$ac_ct_STRIP" >&6
47315 echo "$as_me:$LINENO: result: no" >&5
47316 echo "${ECHO_T}no" >&6
47321 STRIP="$ac_cv_prog_STRIP"
47324 if test -n "$ac_tool_prefix"; then
47325 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47326 set dummy ${ac_tool_prefix}nm; ac_word=$2
47327 echo "$as_me:$LINENO: checking for $ac_word" >&5
47328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47329 if test "${ac_cv_prog_NM+set}" = set; then
47330 echo $ECHO_N "(cached) $ECHO_C" >&6
47332 if test -n "$NM"; then
47333 ac_cv_prog_NM="$NM" # Let the user override the test.
47335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47336 for as_dir in $PATH
47339 test -z "$as_dir" && as_dir=.
47340 for ac_exec_ext in '' $ac_executable_extensions; do
47341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47342 ac_cv_prog_NM="${ac_tool_prefix}nm"
47343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47352 if test -n "$NM"; then
47353 echo "$as_me:$LINENO: result: $NM" >&5
47354 echo "${ECHO_T}$NM" >&6
47356 echo "$as_me:$LINENO: result: no" >&5
47357 echo "${ECHO_T}no" >&6
47361 if test -z "$ac_cv_prog_NM"; then
47363 # Extract the first word of "nm", so it can be a program name with args.
47364 set dummy nm; ac_word=$2
47365 echo "$as_me:$LINENO: checking for $ac_word" >&5
47366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47367 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47368 echo $ECHO_N "(cached) $ECHO_C" >&6
47370 if test -n "$ac_ct_NM"; then
47371 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47374 for as_dir in $PATH
47377 test -z "$as_dir" && as_dir=.
47378 for ac_exec_ext in '' $ac_executable_extensions; do
47379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47380 ac_cv_prog_ac_ct_NM="nm"
47381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47387 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
47390 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47391 if test -n "$ac_ct_NM"; then
47392 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47393 echo "${ECHO_T}$ac_ct_NM" >&6
47395 echo "$as_me:$LINENO: result: no" >&5
47396 echo "${ECHO_T}no" >&6
47401 NM="$ac_cv_prog_NM"
47405 case ${BAKEFILE_HOST} in
47407 INSTALL_DIR="mkdir -p"
47409 *) INSTALL_DIR="$INSTALL -d"
47415 case ${BAKEFILE_HOST} in
47416 *-*-cygwin* | *-*-mingw32* )
47417 LDFLAGS_GUI="-mwindows"
47423 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47424 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47425 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47426 echo $ECHO_N "(cached) $ECHO_C" >&6
47429 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47430 egrep -s GNU > /dev/null); then
47431 bakefile_cv_prog_makeisgnu="yes"
47433 bakefile_cv_prog_makeisgnu="no"
47437 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47438 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47440 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47457 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47458 case "${BAKEFILE_HOST}" in
47465 *-pc-os2_emx | *-pc-os2-emx )
47475 powerpc-apple-macos* )
47484 case "$BAKEFILE_FORCE_PLATFORM" in
47505 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47506 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47507 { (exit 1); exit 1; }; }
47522 # Check whether --enable-omf or --disable-omf was given.
47523 if test "${enable_omf+set}" = set; then
47524 enableval="$enable_omf"
47525 bk_os2_use_omf="$enableval"
47528 case "${BAKEFILE_HOST}" in
47530 if test "x$GCC" = "xyes"; then
47531 CFLAGS="$CFLAGS -fno-common"
47532 CXXFLAGS="$CXXFLAGS -fno-common"
47534 if test "x$XLCC" = "xyes"; then
47535 CFLAGS="$CFLAGS -qnocommon"
47536 CXXFLAGS="$CXXFLAGS -qnocommon"
47540 *-pc-os2_emx | *-pc-os2-emx )
47541 if test "x$bk_os2_use_omf" = "xyes" ; then
47544 LDFLAGS="-Zomf $LDFLAGS"
47545 CFLAGS="-Zomf $CFLAGS"
47546 CXXFLAGS="-Zomf $CXXFLAGS"
47554 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47560 SO_SUFFIX_MODULE="so"
47565 DLLPREFIX_MODULE=""
47569 case "${BAKEFILE_HOST}" in
47572 SO_SUFFIX_MODULE="sl"
47576 SO_SUFFIX_MODULE="a"
47580 SO_SUFFIX_MODULE="dll"
47581 DLLIMP_SUFFIX="dll.a"
47588 SO_SUFFIX_MODULE="dll"
47589 DLLIMP_SUFFIX="dll.a"
47599 *-pc-os2_emx | *-pc-os2-emx )
47601 SO_SUFFIX_MODULE="dll"
47602 DLLIMP_SUFFIX=$OS2_LIBEXT
47606 LIBEXT=".$OS2_LIBEXT"
47611 SO_SUFFIX_MODULE="bundle"
47615 if test "x$DLLIMP_SUFFIX" = "x" ; then
47616 DLLIMP_SUFFIX="$SO_SUFFIX"
47631 if test "x$GCC" = "xyes"; then
47635 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47636 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47639 case "${BAKEFILE_HOST}" in
47641 if test "x$GCC" != "xyes"; then
47642 LDFLAGS="$LDFLAGS -L/usr/lib"
47644 SHARED_LD_CC="${CC} -b -o"
47645 SHARED_LD_CXX="${CXX} -b -o"
47651 if test "x$GCC" != "xyes"; then
47652 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47653 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47654 if test "${bakefile_cv_prog_icc+set}" = set; then
47655 echo $ECHO_N "(cached) $ECHO_C" >&6
47658 cat >conftest.$ac_ext <<_ACEOF
47661 cat confdefs.h >>conftest.$ac_ext
47662 cat >>conftest.$ac_ext <<_ACEOF
47663 /* end confdefs.h. */
47669 #ifndef __INTEL_COMPILER
47677 rm -f conftest.$ac_objext
47678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47679 (eval $ac_compile) 2>conftest.er1
47681 grep -v '^ *+' conftest.er1 >conftest.err
47683 cat conftest.err >&5
47684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47685 (exit $ac_status); } &&
47686 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47688 (eval $ac_try) 2>&5
47690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47691 (exit $ac_status); }; } &&
47692 { ac_try='test -s conftest.$ac_objext'
47693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47694 (eval $ac_try) 2>&5
47696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47697 (exit $ac_status); }; }; then
47698 bakefile_cv_prog_icc=yes
47700 echo "$as_me: failed program was:" >&5
47701 sed 's/^/| /' conftest.$ac_ext >&5
47703 bakefile_cv_prog_icc=no
47706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47709 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
47710 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
47711 if test "$bakefile_cv_prog_icc" = "yes"; then
47718 if test "x$GCC" != xyes ; then
47719 SHARED_LD_CC="${CC} -G -o"
47720 SHARED_LD_CXX="${CXX} -G -o"
47728 cat <<EOF >shared-ld-sh
47730 #-----------------------------------------------------------------------------
47731 #-- Name: distrib/mac/shared-ld-sh
47732 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47733 #-- Author: Gilles Depeyrot
47734 #-- Copyright: (c) 2002 Gilles Depeyrot
47735 #-- Licence: any use permitted
47736 #-----------------------------------------------------------------------------
47741 linking_flag="-dynamiclib"
47742 ldargs="-r -keep_private_externs -nostdlib"
47744 while test ${D}# -gt 0; do
47751 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47752 # collect these options and values
47753 args="${D}{args} ${D}1 ${D}2"
47758 # collect these load args
47759 ldargs="${D}{ldargs} ${D}1"
47762 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47763 # collect these options
47764 args="${D}{args} ${D}1"
47767 -dynamiclib|-bundle)
47768 linking_flag="${D}1"
47772 echo "shared-ld: unhandled option '${D}1'"
47776 *.o | *.a | *.dylib)
47777 # collect object files
47778 objects="${D}{objects} ${D}1"
47782 echo "shared-ld: unhandled argument '${D}1'"
47793 # Link one module containing all the others
47795 if test ${D}{verbose} = 1; then
47796 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47798 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47802 # Link the shared library from the single module created, but only if the
47803 # previous command didn't fail:
47805 if test ${D}{status} = 0; then
47806 if test ${D}{verbose} = 1; then
47807 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47809 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47814 # Remove intermediate module
47816 rm -f master.${D}${D}.o
47821 chmod +x shared-ld-sh
47823 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47824 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47827 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47828 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
47829 if test "${bakefile_cv_gcc31+set}" = set; then
47830 echo $ECHO_N "(cached) $ECHO_C" >&6
47833 cat >conftest.$ac_ext <<_ACEOF
47836 cat confdefs.h >>conftest.$ac_ext
47837 cat >>conftest.$ac_ext <<_ACEOF
47838 /* end confdefs.h. */
47844 #if (__GNUC__ < 3) || \
47845 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47853 rm -f conftest.$ac_objext
47854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47855 (eval $ac_compile) 2>conftest.er1
47857 grep -v '^ *+' conftest.er1 >conftest.err
47859 cat conftest.err >&5
47860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47861 (exit $ac_status); } &&
47862 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47864 (eval $ac_try) 2>&5
47866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47867 (exit $ac_status); }; } &&
47868 { ac_try='test -s conftest.$ac_objext'
47869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47870 (eval $ac_try) 2>&5
47872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47873 (exit $ac_status); }; }; then
47875 bakefile_cv_gcc31=yes
47878 echo "$as_me: failed program was:" >&5
47879 sed 's/^/| /' conftest.$ac_ext >&5
47882 bakefile_cv_gcc31=no
47886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47889 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47890 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
47891 if test "$bakefile_cv_gcc31" = "no"; then
47892 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47893 SHARED_LD_CXX="$SHARED_LD_CC"
47895 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47896 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47899 if test "x$GCC" == "xyes"; then
47900 PIC_FLAG="-dynamic -fPIC"
47902 if test "x$XLCC" = "xyes"; then
47903 PIC_FLAG="-dynamic -DPIC"
47908 if test "x$GCC" = "xyes"; then
47911 case "${BAKEFILE_HOST}" in
47913 LD_EXPFULL="-Wl,-bexpfull"
47917 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47918 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47920 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47921 set dummy makeC++SharedLib; ac_word=$2
47922 echo "$as_me:$LINENO: checking for $ac_word" >&5
47923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47924 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47925 echo $ECHO_N "(cached) $ECHO_C" >&6
47927 if test -n "$AIX_CXX_LD"; then
47928 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47931 for as_dir in $PATH
47934 test -z "$as_dir" && as_dir=.
47935 for ac_exec_ext in '' $ac_executable_extensions; do
47936 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47937 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47944 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47947 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47948 if test -n "$AIX_CXX_LD"; then
47949 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47950 echo "${ECHO_T}$AIX_CXX_LD" >&6
47952 echo "$as_me:$LINENO: result: no" >&5
47953 echo "${ECHO_T}no" >&6
47956 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47957 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47962 SHARED_LD_CC="${LD} -nostart -o"
47963 SHARED_LD_CXX="${LD} -nostart -o"
47967 if test "x$GCC" != "xyes"; then
47972 *-*-cygwin* | *-*-mingw32* )
47974 SHARED_LD_CC="\$(CC) -shared -o"
47975 SHARED_LD_CXX="\$(CXX) -shared -o"
47979 *-pc-os2_emx | *-pc-os2-emx )
47980 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47981 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47985 cat <<EOF >dllar.sh
47988 # dllar - a tool to build both a .dll and an .a file
47989 # from a set of object (.o) files for EMX/OS2.
47991 # Written by Andrew Zabolotny, bit@freya.etu.ru
47992 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47994 # This script will accept a set of files on the command line.
47995 # All the public symbols from the .o files will be exported into
47996 # a .DEF file, then linker will be run (through gcc) against them to
47997 # build a shared library consisting of all given .o files. All libraries
47998 # (.a) will be first decompressed into component .o files then act as
47999 # described above. You can optionally give a description (-d "description")
48000 # which will be put into .DLL. To see the list of accepted options (as well
48001 # as command-line format) simply run this program without options. The .DLL
48002 # is built to be imported by name (there is no guarantee that new versions
48003 # of the library you build will have same ordinals for same symbols).
48005 # dllar is free software; you can redistribute it and/or modify
48006 # it under the terms of the GNU General Public License as published by
48007 # the Free Software Foundation; either version 2, or (at your option)
48008 # any later version.
48010 # dllar is distributed in the hope that it will be useful,
48011 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48012 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48013 # GNU General Public License for more details.
48015 # You should have received a copy of the GNU General Public License
48016 # along with dllar; see the file COPYING. If not, write to the Free
48017 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48020 # To successfuly run this program you will need:
48021 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48022 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48024 # (used to build the .dll)
48026 # (used to create .def file from .o files)
48028 # (used to create .a file from .def file)
48029 # - GNU text utilites (cat, sort, uniq)
48030 # used to process emxexp output
48031 # - GNU file utilities (mv, rm)
48033 # - lxlite (optional, see flag below)
48034 # (used for general .dll cleanup)
48041 # basnam, variant of basename, which does _not_ remove the path, _iff_
48042 # second argument (suffix to remove) is given
48046 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48049 echo ${D}1 | sed 's/'${D}2'${D}//'
48052 echo "error in basnam ${D}*"
48058 # Cleanup temporary files and output
48061 for i in ${D}inputFiles ; do
48064 rm -rf \`basnam ${D}i !\`
48071 # Kill result in case of failure as there is just to many stupid make/nmake
48072 # things out there which doesn't do this.
48073 if [ ${D}# -eq 0 ]; then
48074 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48078 # Print usage and exit script with rc=1.
48080 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48081 echo ' [-name-mangler-script script.sh]'
48082 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48083 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48084 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48085 echo ' [*.o] [*.a]'
48086 echo '*> "output_file" should have no extension.'
48087 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48088 echo ' The import library name is derived from this and is set to "name".a,'
48089 echo ' unless overridden by -import'
48090 echo '*> "importlib_name" should have no extension.'
48091 echo ' If it has the .o, or .a extension, it is automatically removed.'
48092 echo ' This name is used as the import library name and may be longer and'
48093 echo ' more descriptive than the DLL name which has to follow the old '
48094 echo ' 8.3 convention of FAT.'
48095 echo '*> "script.sh may be given to override the output_file name by a'
48096 echo ' different name. It is mainly useful if the regular make process'
48097 echo ' of some package does not take into account OS/2 restriction of'
48098 echo ' DLL name lengths. It takes the importlib name as input and is'
48099 echo ' supposed to procude a shorter name as output. The script should'
48100 echo ' expect to get importlib_name without extension and should produce'
48101 echo ' a (max.) 8 letter name without extension.'
48102 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48103 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48104 echo ' These flags will be put at the start of GCC command line.'
48105 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48106 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48107 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48108 echo ' If the last character of a symbol is "*", all symbols beginning'
48109 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48110 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48111 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48112 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48113 echo ' C runtime DLLs.'
48114 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48115 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48116 echo ' unchanged to GCC at the end of command line.'
48117 echo '*> If you create a DLL from a library and you do not specify -o,'
48118 echo ' the basename for DLL and import library will be set to library name,'
48119 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48120 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48121 echo ' library will be renamed into gcc_s.a.'
48124 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48125 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48130 # Execute a command.
48131 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48132 # @Uses Whatever CleanUp() uses.
48138 if [ ${D}rcCmd -ne 0 ]; then
48139 echo "command failed, exit code="${D}rcCmd
48154 CFLAGS="-s -Zcrtdll"
48156 EXPORT_BY_ORDINALS=0
48161 case ${D}curDirS in
48165 curDirS=${D}{curDirS}"/"
48168 # Parse commandline
48171 while [ ${D}1 ]; do
48174 EXPORT_BY_ORDINALS=1;
48184 -name-mangler-script)
48205 exclude_symbols=${D}{exclude_symbols}${D}1" "
48209 library_flags=${D}{library_flags}${D}1" "
48228 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48231 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48232 if [ ${D}omfLinking -eq 1 ]; then
48233 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48235 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48240 if [ ${D}libsToLink -ne 0 ]; then
48241 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48243 for file in ${D}1 ; do
48244 if [ -f ${D}file ]; then
48245 inputFiles="${D}{inputFiles} ${D}file"
48249 if [ ${D}found -eq 0 ]; then
48250 echo "ERROR: No file(s) found: "${D}1
48257 done # iterate cmdline words
48260 if [ -z "${D}inputFiles" ]; then
48261 echo "dllar: no input files"
48265 # Now extract all .o files from .a files
48267 for file in ${D}inputFiles ; do
48278 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48283 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48285 if [ ${D}? -ne 0 ]; then
48286 echo "Failed to create subdirectory ./${D}dirname"
48290 # Append '!' to indicate archive
48291 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48292 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48295 for subfile in ${D}dirname/*.o* ; do
48296 if [ -f ${D}subfile ]; then
48298 if [ -s ${D}subfile ]; then
48299 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48300 newInputFiles="${D}newInputFiles ${D}subfile"
48304 if [ ${D}found -eq 0 ]; then
48305 echo "WARNING: there are no files in archive \\'${D}file\\'"
48309 newInputFiles="${D}{newInputFiles} ${D}file"
48313 inputFiles="${D}newInputFiles"
48315 # Output filename(s).
48317 if [ -z ${D}outFile ]; then
48319 set outFile ${D}inputFiles; outFile=${D}2
48322 # If it is an archive, remove the '!' and the '_%' suffixes
48323 case ${D}outFile in
48325 outFile=\`basnam ${D}outFile _%!\`
48330 case ${D}outFile in
48332 outFile=\`basnam ${D}outFile .dll\`
48335 outFile=\`basnam ${D}outFile .DLL\`
48338 outFile=\`basnam ${D}outFile .o\`
48341 outFile=\`basnam ${D}outFile .obj\`
48344 outFile=\`basnam ${D}outFile .a\`
48347 outFile=\`basnam ${D}outFile .lib\`
48352 case ${D}outimpFile in
48354 outimpFile=\`basnam ${D}outimpFile .a\`
48357 outimpFile=\`basnam ${D}outimpFile .lib\`
48362 if [ -z ${D}outimpFile ]; then
48363 outimpFile=${D}outFile
48365 defFile="${D}{outFile}.def"
48366 arcFile="${D}{outimpFile}.a"
48367 arcFile2="${D}{outimpFile}.lib"
48369 #create ${D}dllFile as something matching 8.3 restrictions,
48370 if [ -z ${D}renameScript ] ; then
48371 dllFile="${D}outFile"
48373 dllFile=\`${D}renameScript ${D}outimpFile\`
48376 if [ ${D}do_backup -ne 0 ] ; then
48377 if [ -f ${D}arcFile ] ; then
48378 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48380 if [ -f ${D}arcFile2 ] ; then
48381 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48385 # Extract public symbols from all the object files.
48386 tmpdefFile=${D}{defFile}_%
48387 rm -f ${D}tmpdefFile
48388 for file in ${D}inputFiles ; do
48393 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48398 # Create the def file.
48400 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48401 dllFile="${D}{dllFile}.dll"
48402 if [ ! -z ${D}description ]; then
48403 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48405 echo "EXPORTS" >> ${D}defFile
48407 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48408 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48410 # Checks if the export is ok or not.
48411 for word in ${D}exclude_symbols; do
48412 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48413 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48417 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48418 sed "=" < ${D}tmpdefFile | \\
48422 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48424 ' > ${D}{tmpdefFile}%
48425 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48427 rm -f ${D}{tmpdefFile}%
48429 cat ${D}tmpdefFile >> ${D}defFile
48430 rm -f ${D}tmpdefFile
48432 # Do linking, create implib, and apply lxlite.
48434 for file in ${D}inputFiles ; do
48439 gccCmdl="${D}gccCmdl ${D}file"
48443 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48444 touch "${D}{outFile}.dll"
48446 doCommand "emximp -o ${D}arcFile ${D}defFile"
48447 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48449 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48452 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48454 doCommand "emxomf -s -l ${D}arcFile"
48464 powerpc-apple-macos* | \
48465 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48476 if test "x$PIC_FLAG" != "x" ; then
48477 PIC_FLAG="$PIC_FLAG -DPIC"
48480 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48481 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48483 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48484 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48503 case "${BAKEFILE_HOST}" in
48504 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48505 SONAME_FLAG="-Wl,-soname,"
48539 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48540 if test "${enable_dependency_tracking+set}" = set; then
48541 enableval="$enable_dependency_tracking"
48542 bk_use_trackdeps="$enableval"
48545 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48546 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48548 if test "x$bk_use_trackdeps" = "xno" ; then
48550 echo "$as_me:$LINENO: result: disabled" >&5
48551 echo "${ECHO_T}disabled" >&6
48555 if test "x$GCC" = "xyes"; then
48557 case "${BAKEFILE_HOST}" in
48559 DEPSFLAG="-no-cpp-precomp -MMD"
48565 echo "$as_me:$LINENO: result: gcc" >&5
48566 echo "${ECHO_T}gcc" >&6
48567 elif test "x$MWCC" = "xyes"; then
48570 echo "$as_me:$LINENO: result: mwcc" >&5
48571 echo "${ECHO_T}mwcc" >&6
48572 elif test "x$SUNCC" = "xyes"; then
48575 echo "$as_me:$LINENO: result: Sun cc" >&5
48576 echo "${ECHO_T}Sun cc" >&6
48577 elif test "x$SGICC" = "xyes"; then
48580 echo "$as_me:$LINENO: result: SGI cc" >&5
48581 echo "${ECHO_T}SGI cc" >&6
48582 elif test "x$HPCC" = "xyes"; then
48585 echo "$as_me:$LINENO: result: HP cc" >&5
48586 echo "${ECHO_T}HP cc" >&6
48587 elif test "x$COMPAQCC" = "xyes"; then
48590 echo "$as_me:$LINENO: result: Compaq cc" >&5
48591 echo "${ECHO_T}Compaq cc" >&6
48594 echo "$as_me:$LINENO: result: none" >&5
48595 echo "${ECHO_T}none" >&6
48598 if test $DEPS_TRACKING = 1 ; then
48604 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48605 # script. It is used to track C/C++ files dependencies in portable way.
48607 # Permission is given to use this file in any way.
48609 DEPSMODE=${DEPSMODE}
48611 DEPSFLAG="${DEPSFLAG}"
48613 mkdir -p ${D}DEPSDIR
48615 if test ${D}DEPSMODE = gcc ; then
48616 ${D}* ${D}{DEPSFLAG}
48618 if test ${D}{status} != 0 ; then
48621 # move created file to the location we want it in:
48622 while test ${D}# -gt 0; do
48636 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48637 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48638 if test -f ${D}depfile ; then
48639 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48642 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48643 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48644 if test ! -f ${D}depfile ; then
48645 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48646 depfile="${D}objfile.d"
48648 if test -f ${D}depfile ; then
48649 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48654 elif test ${D}DEPSMODE = mwcc ; then
48655 ${D}* || exit ${D}?
48656 # Run mwcc again with -MM and redirect into the dep file we want
48657 # NOTE: We can't use shift here because we need ${D}* to be valid
48659 for arg in ${D}* ; do
48660 if test "${D}prevarg" = "-o"; then
48673 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48675 elif test ${D}DEPSMODE = unixcc; then
48676 ${D}* || exit ${D}?
48677 # Run compiler again with deps flag and redirect into the dep file.
48678 # It doesn't work if the '-o FILE' option is used, but without it the
48679 # dependency file will contain the wrong name for the object. So it is
48680 # removed from the command line, and the dep file is fixed with sed.
48682 while test ${D}# -gt 0; do
48689 eval arg${D}#=\\${D}1
48690 cmd="${D}cmd \\${D}arg${D}#"
48695 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48710 case ${BAKEFILE_HOST} in
48711 *-*-cygwin* | *-*-mingw32* )
48712 if test -n "$ac_tool_prefix"; then
48713 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48714 set dummy ${ac_tool_prefix}windres; ac_word=$2
48715 echo "$as_me:$LINENO: checking for $ac_word" >&5
48716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48717 if test "${ac_cv_prog_WINDRES+set}" = set; then
48718 echo $ECHO_N "(cached) $ECHO_C" >&6
48720 if test -n "$WINDRES"; then
48721 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48724 for as_dir in $PATH
48727 test -z "$as_dir" && as_dir=.
48728 for ac_exec_ext in '' $ac_executable_extensions; do
48729 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48730 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48739 WINDRES=$ac_cv_prog_WINDRES
48740 if test -n "$WINDRES"; then
48741 echo "$as_me:$LINENO: result: $WINDRES" >&5
48742 echo "${ECHO_T}$WINDRES" >&6
48744 echo "$as_me:$LINENO: result: no" >&5
48745 echo "${ECHO_T}no" >&6
48749 if test -z "$ac_cv_prog_WINDRES"; then
48750 ac_ct_WINDRES=$WINDRES
48751 # Extract the first word of "windres", so it can be a program name with args.
48752 set dummy windres; ac_word=$2
48753 echo "$as_me:$LINENO: checking for $ac_word" >&5
48754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48755 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48756 echo $ECHO_N "(cached) $ECHO_C" >&6
48758 if test -n "$ac_ct_WINDRES"; then
48759 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48762 for as_dir in $PATH
48765 test -z "$as_dir" && as_dir=.
48766 for ac_exec_ext in '' $ac_executable_extensions; do
48767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48768 ac_cv_prog_ac_ct_WINDRES="windres"
48769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48777 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48778 if test -n "$ac_ct_WINDRES"; then
48779 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48780 echo "${ECHO_T}$ac_ct_WINDRES" >&6
48782 echo "$as_me:$LINENO: result: no" >&5
48783 echo "${ECHO_T}no" >&6
48786 WINDRES=$ac_ct_WINDRES
48788 WINDRES="$ac_cv_prog_WINDRES"
48793 *-*-darwin* | powerpc-apple-macos* )
48794 # Extract the first word of "Rez", so it can be a program name with args.
48795 set dummy Rez; ac_word=$2
48796 echo "$as_me:$LINENO: checking for $ac_word" >&5
48797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48798 if test "${ac_cv_prog_REZ+set}" = set; then
48799 echo $ECHO_N "(cached) $ECHO_C" >&6
48801 if test -n "$REZ"; then
48802 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48805 for as_dir in $PATH
48808 test -z "$as_dir" && as_dir=.
48809 for ac_exec_ext in '' $ac_executable_extensions; do
48810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48811 ac_cv_prog_REZ="Rez"
48812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48818 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48821 REZ=$ac_cv_prog_REZ
48822 if test -n "$REZ"; then
48823 echo "$as_me:$LINENO: result: $REZ" >&5
48824 echo "${ECHO_T}$REZ" >&6
48826 echo "$as_me:$LINENO: result: no" >&5
48827 echo "${ECHO_T}no" >&6
48830 # Extract the first word of "SetFile", so it can be a program name with args.
48831 set dummy SetFile; ac_word=$2
48832 echo "$as_me:$LINENO: checking for $ac_word" >&5
48833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48834 if test "${ac_cv_prog_SETFILE+set}" = set; then
48835 echo $ECHO_N "(cached) $ECHO_C" >&6
48837 if test -n "$SETFILE"; then
48838 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48841 for as_dir in $PATH
48844 test -z "$as_dir" && as_dir=.
48845 for ac_exec_ext in '' $ac_executable_extensions; do
48846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48847 ac_cv_prog_SETFILE="SetFile"
48848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48854 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48857 SETFILE=$ac_cv_prog_SETFILE
48858 if test -n "$SETFILE"; then
48859 echo "$as_me:$LINENO: result: $SETFILE" >&5
48860 echo "${ECHO_T}$SETFILE" >&6
48862 echo "$as_me:$LINENO: result: no" >&5
48863 echo "${ECHO_T}no" >&6
48874 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
48877 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
48881 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
48882 if test "${enable_precomp_headers+set}" = set; then
48883 enableval="$enable_precomp_headers"
48884 bk_use_pch="$enableval"
48891 case ${BAKEFILE_HOST} in
48897 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48898 if test "x$GCC" = "xyes"; then
48899 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48900 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
48901 cat >conftest.$ac_ext <<_ACEOF
48904 cat confdefs.h >>conftest.$ac_ext
48905 cat >>conftest.$ac_ext <<_ACEOF
48906 /* end confdefs.h. */
48912 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48913 There is no PCH support
48916 There is no PCH support
48918 #if (__GNUC__ == 3) && \
48919 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48920 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48921 ( defined(__INTEL_COMPILER) )
48922 There is no PCH support
48929 rm -f conftest.$ac_objext
48930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48931 (eval $ac_compile) 2>conftest.er1
48933 grep -v '^ *+' conftest.er1 >conftest.err
48935 cat conftest.err >&5
48936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48937 (exit $ac_status); } &&
48938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48940 (eval $ac_try) 2>&5
48942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48943 (exit $ac_status); }; } &&
48944 { ac_try='test -s conftest.$ac_objext'
48945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48946 (eval $ac_try) 2>&5
48948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48949 (exit $ac_status); }; }; then
48951 echo "$as_me:$LINENO: result: yes" >&5
48952 echo "${ECHO_T}yes" >&6
48956 echo "$as_me: failed program was:" >&5
48957 sed 's/^/| /' conftest.$ac_ext >&5
48960 cat >conftest.$ac_ext <<_ACEOF
48963 cat confdefs.h >>conftest.$ac_ext
48964 cat >>conftest.$ac_ext <<_ACEOF
48965 /* end confdefs.h. */
48971 #if !defined(__INTEL_COMPILER) || \
48972 (__INTEL_COMPILER < 800)
48973 There is no PCH support
48980 rm -f conftest.$ac_objext
48981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48982 (eval $ac_compile) 2>conftest.er1
48984 grep -v '^ *+' conftest.er1 >conftest.err
48986 cat conftest.err >&5
48987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48988 (exit $ac_status); } &&
48989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48991 (eval $ac_try) 2>&5
48993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48994 (exit $ac_status); }; } &&
48995 { ac_try='test -s conftest.$ac_objext'
48996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48997 (eval $ac_try) 2>&5
48999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49000 (exit $ac_status); }; }; then
49002 echo "$as_me:$LINENO: result: yes" >&5
49003 echo "${ECHO_T}yes" >&6
49007 echo "$as_me: failed program was:" >&5
49008 sed 's/^/| /' conftest.$ac_ext >&5
49011 echo "$as_me:$LINENO: result: no" >&5
49012 echo "${ECHO_T}no" >&6
49015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49019 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49023 cat <<EOF >bk-make-pch
49026 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49027 # script. It is used to generated precompiled headers.
49029 # Permission is given to use this file in any way.
49039 while test ${D}{#} -gt 0; do
49043 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49044 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49045 headerfile="${D}{incdir}/${D}{header}"
49048 -use-pch|-use_pch )
49053 if test ${D}add_to_cmdline = 1 ; then
49054 compiler="${D}{compiler} ${D}{1}"
49059 if test "x${D}{headerfile}" = "x" ; then
49060 echo "error: can't find header ${D}{header} in include paths" >&2
49062 if test -f ${D}{outfile} ; then
49063 rm -f ${D}{outfile}
49065 mkdir -p \`dirname ${D}{outfile}\`
49067 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49069 if test "x${GCC_PCH}" = "x1" ; then
49070 # can do this because gcc is >= 3.4:
49071 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49072 elif test "x${ICC_PCH}" = "x1" ; then
49073 filename=pch_gen-${D}${D}
49074 file=${D}{filename}.c
49075 dfile=${D}{filename}.d
49076 cat > ${D}file <<EOT
49077 #include "${D}header"
49079 # using -MF icc complains about differing command lines in creation/use
49080 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49081 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49082 rm -f ${D}file ${D}dfile ${D}{filename}.o
49088 chmod +x bk-make-pch
49096 COND_BUILD_DEBUG="#"
49097 if test "x$BUILD" = "xdebug" ; then
49098 COND_BUILD_DEBUG=""
49101 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49102 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49103 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49106 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49107 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49108 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49111 COND_BUILD_DEBUG_UNICODE_0="#"
49112 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49113 COND_BUILD_DEBUG_UNICODE_0=""
49116 COND_BUILD_DEBUG_UNICODE_1="#"
49117 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49118 COND_BUILD_DEBUG_UNICODE_1=""
49121 COND_BUILD_RELEASE="#"
49122 if test "x$BUILD" = "xrelease" ; then
49123 COND_BUILD_RELEASE=""
49126 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49127 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49128 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49131 COND_BUILD_RELEASE_UNICODE_0="#"
49132 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49133 COND_BUILD_RELEASE_UNICODE_0=""
49136 COND_BUILD_RELEASE_UNICODE_1="#"
49137 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49138 COND_BUILD_RELEASE_UNICODE_1=""
49141 COND_DEBUG_FLAG_1="#"
49142 if test "x$DEBUG_FLAG" = "x1" ; then
49143 COND_DEBUG_FLAG_1=""
49146 COND_DEBUG_INFO_0="#"
49147 if test "x$DEBUG_INFO" = "x0" ; then
49148 COND_DEBUG_INFO_0=""
49151 COND_DEBUG_INFO_1="#"
49152 if test "x$DEBUG_INFO" = "x1" ; then
49153 COND_DEBUG_INFO_1=""
49156 COND_DEPS_TRACKING_0="#"
49157 if test "x$DEPS_TRACKING" = "x0" ; then
49158 COND_DEPS_TRACKING_0=""
49161 COND_DEPS_TRACKING_1="#"
49162 if test "x$DEPS_TRACKING" = "x1" ; then
49163 COND_DEPS_TRACKING_1=""
49167 if test "x$GCC_PCH" = "x1" ; then
49172 if test "x$ICC_PCH" = "x1" ; then
49176 COND_MONOLITHIC_0="#"
49177 if test "x$MONOLITHIC" = "x0" ; then
49178 COND_MONOLITHIC_0=""
49181 COND_MONOLITHIC_0_SHARED_0="#"
49182 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49183 COND_MONOLITHIC_0_SHARED_0=""
49186 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49187 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49188 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49191 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49192 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49193 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49196 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49197 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49198 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49201 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49202 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49203 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49206 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
49207 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49208 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
49211 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49212 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49213 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49216 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
49217 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49218 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
49221 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49222 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49223 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49226 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49227 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49228 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49231 COND_MONOLITHIC_0_SHARED_1="#"
49232 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49233 COND_MONOLITHIC_0_SHARED_1=""
49236 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49237 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49238 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49241 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49242 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49243 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49246 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49247 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49248 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49251 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49252 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49253 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49256 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
49257 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49258 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
49261 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49262 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49263 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49266 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
49267 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49268 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
49271 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49272 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49273 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49276 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49277 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49278 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49281 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49282 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49283 COND_MONOLITHIC_0_USE_MEDIA_1=""
49286 COND_MONOLITHIC_0_USE_ODBC_1="#"
49287 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49288 COND_MONOLITHIC_0_USE_ODBC_1=""
49291 COND_MONOLITHIC_1="#"
49292 if test "x$MONOLITHIC" = "x1" ; then
49293 COND_MONOLITHIC_1=""
49296 COND_MONOLITHIC_1_SHARED_0="#"
49297 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49298 COND_MONOLITHIC_1_SHARED_0=""
49301 COND_MONOLITHIC_1_SHARED_1="#"
49302 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49303 COND_MONOLITHIC_1_SHARED_1=""
49306 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49307 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49308 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49311 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49312 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49313 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49316 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49317 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49318 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49321 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49322 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49323 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49326 COND_PLATFORM_MACOSX_1="#"
49327 if test "x$PLATFORM_MACOSX" = "x1" ; then
49328 COND_PLATFORM_MACOSX_1=""
49331 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49332 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49333 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49336 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49337 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49338 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49341 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49342 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49343 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49346 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49347 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49348 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49351 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49352 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49353 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49356 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49357 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49358 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49361 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49362 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49363 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49366 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49367 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49368 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49371 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49372 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49373 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49376 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49377 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49378 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49381 COND_PLATFORM_MACOS_1="#"
49382 if test "x$PLATFORM_MACOS" = "x1" ; then
49383 COND_PLATFORM_MACOS_1=""
49386 COND_PLATFORM_MAC_1="#"
49387 if test "x$PLATFORM_MAC" = "x1" ; then
49388 COND_PLATFORM_MAC_1=""
49391 COND_PLATFORM_MSDOS_0="#"
49392 if test "x$PLATFORM_MSDOS" = "x0" ; then
49393 COND_PLATFORM_MSDOS_0=""
49396 COND_PLATFORM_MSDOS_1="#"
49397 if test "x$PLATFORM_MSDOS" = "x1" ; then
49398 COND_PLATFORM_MSDOS_1=""
49401 COND_PLATFORM_OS2_1="#"
49402 if test "x$PLATFORM_OS2" = "x1" ; then
49403 COND_PLATFORM_OS2_1=""
49406 COND_PLATFORM_UNIX_0="#"
49407 if test "x$PLATFORM_UNIX" = "x0" ; then
49408 COND_PLATFORM_UNIX_0=""
49411 COND_PLATFORM_UNIX_1="#"
49412 if test "x$PLATFORM_UNIX" = "x1" ; then
49413 COND_PLATFORM_UNIX_1=""
49416 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49417 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49418 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49421 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49422 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49423 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49426 COND_PLATFORM_WIN32_0="#"
49427 if test "x$PLATFORM_WIN32" = "x0" ; then
49428 COND_PLATFORM_WIN32_0=""
49431 COND_PLATFORM_WIN32_1="#"
49432 if test "x$PLATFORM_WIN32" = "x1" ; then
49433 COND_PLATFORM_WIN32_1=""
49437 if test "x$SHARED" = "x0" ; then
49441 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49442 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49443 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49446 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49447 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49448 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49451 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49452 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49453 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49456 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49457 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49458 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49461 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49462 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49463 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49466 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49467 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49468 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49471 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49472 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49473 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49476 COND_SHARED_0_USE_XRC_1="#"
49477 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49478 COND_SHARED_0_USE_XRC_1=""
49481 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49482 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49483 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49486 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
49487 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49488 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
49491 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49492 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49493 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49496 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49497 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49498 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49502 if test "x$SHARED" = "x1" ; then
49506 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49507 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49508 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49511 COND_SHARED_1_USE_XRC_1="#"
49512 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49513 COND_SHARED_1_USE_XRC_1=""
49517 if test "x$TOOLKIT" = "x" ; then
49521 COND_TOOLKIT_COCOA="#"
49522 if test "x$TOOLKIT" = "xCOCOA" ; then
49523 COND_TOOLKIT_COCOA=""
49526 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49527 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49528 COND_TOOLKIT_COCOA_USE_GUI_1=""
49531 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49532 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49533 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49536 COND_TOOLKIT_DFB="#"
49537 if test "x$TOOLKIT" = "xDFB" ; then
49538 COND_TOOLKIT_DFB=""
49541 COND_TOOLKIT_DFB_USE_GUI_1="#"
49542 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49543 COND_TOOLKIT_DFB_USE_GUI_1=""
49546 COND_TOOLKIT_GTK="#"
49547 if test "x$TOOLKIT" = "xGTK" ; then
49548 COND_TOOLKIT_GTK=""
49551 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49552 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49553 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49556 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49557 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49558 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49561 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49562 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49563 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49566 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49567 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49568 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49571 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49572 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49573 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49576 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49577 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49578 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49581 COND_TOOLKIT_GTK_USE_GUI_1="#"
49582 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49583 COND_TOOLKIT_GTK_USE_GUI_1=""
49586 COND_TOOLKIT_MAC="#"
49587 if test "x$TOOLKIT" = "xMAC" ; then
49588 COND_TOOLKIT_MAC=""
49591 COND_TOOLKIT_MAC_USE_GUI_1="#"
49592 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49593 COND_TOOLKIT_MAC_USE_GUI_1=""
49596 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49597 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49598 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49601 COND_TOOLKIT_MGL="#"
49602 if test "x$TOOLKIT" = "xMGL" ; then
49603 COND_TOOLKIT_MGL=""
49606 COND_TOOLKIT_MGL_USE_GUI_1="#"
49607 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49608 COND_TOOLKIT_MGL_USE_GUI_1=""
49611 COND_TOOLKIT_MOTIF="#"
49612 if test "x$TOOLKIT" = "xMOTIF" ; then
49613 COND_TOOLKIT_MOTIF=""
49616 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49617 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49618 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49621 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49622 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49623 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49626 COND_TOOLKIT_MSW="#"
49627 if test "x$TOOLKIT" = "xMSW" ; then
49628 COND_TOOLKIT_MSW=""
49631 COND_TOOLKIT_MSW_USE_GUI_1="#"
49632 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49633 COND_TOOLKIT_MSW_USE_GUI_1=""
49636 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49637 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49638 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49641 COND_TOOLKIT_MSW_WXUNIV_0="#"
49642 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49643 COND_TOOLKIT_MSW_WXUNIV_0=""
49646 COND_TOOLKIT_PM="#"
49647 if test "x$TOOLKIT" = "xPM" ; then
49651 COND_TOOLKIT_PM_USE_GUI_1="#"
49652 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49653 COND_TOOLKIT_PM_USE_GUI_1=""
49656 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49657 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49658 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49661 COND_TOOLKIT_WINCE="#"
49662 if test "x$TOOLKIT" = "xWINCE" ; then
49663 COND_TOOLKIT_WINCE=""
49666 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49667 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49668 COND_TOOLKIT_WINCE_USE_GUI_1=""
49671 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49672 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49673 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49676 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49677 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49678 COND_TOOLKIT_WINCE_WXUNIV_0=""
49681 COND_TOOLKIT_X11="#"
49682 if test "x$TOOLKIT" = "xX11" ; then
49683 COND_TOOLKIT_X11=""
49686 COND_TOOLKIT_X11_USE_GUI_1="#"
49687 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49688 COND_TOOLKIT_X11_USE_GUI_1=""
49692 if test "x$UNICODE" = "x1" ; then
49696 COND_USE_EXCEPTIONS_0="#"
49697 if test "x$USE_EXCEPTIONS" = "x0" ; then
49698 COND_USE_EXCEPTIONS_0=""
49701 COND_USE_EXCEPTIONS_1="#"
49702 if test "x$USE_EXCEPTIONS" = "x1" ; then
49703 COND_USE_EXCEPTIONS_1=""
49707 if test "x$USE_GUI" = "x0" ; then
49712 if test "x$USE_GUI" = "x1" ; then
49716 COND_USE_GUI_1_WXUNIV_0="#"
49717 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49718 COND_USE_GUI_1_WXUNIV_0=""
49721 COND_USE_GUI_1_WXUNIV_1="#"
49722 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49723 COND_USE_GUI_1_WXUNIV_1=""
49726 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49727 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49728 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49731 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49732 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49733 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49736 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49737 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49738 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49741 COND_USE_ODBC_1="#"
49742 if test "x$USE_ODBC" = "x1" ; then
49746 COND_USE_OPENGL_1="#"
49747 if test "x$USE_OPENGL" = "x1" ; then
49748 COND_USE_OPENGL_1=""
49752 if test "x$USE_PCH" = "x1" ; then
49756 COND_USE_PLUGINS_0="#"
49757 if test "x$USE_PLUGINS" = "x0" ; then
49758 COND_USE_PLUGINS_0=""
49761 COND_USE_RTTI_0="#"
49762 if test "x$USE_RTTI" = "x0" ; then
49766 COND_USE_RTTI_1="#"
49767 if test "x$USE_RTTI" = "x1" ; then
49771 COND_USE_SOSYMLINKS_1="#"
49772 if test "x$USE_SOSYMLINKS" = "x1" ; then
49773 COND_USE_SOSYMLINKS_1=""
49776 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49777 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49778 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49781 COND_USE_SOVERLINUX_1="#"
49782 if test "x$USE_SOVERLINUX" = "x1" ; then
49783 COND_USE_SOVERLINUX_1=""
49786 COND_USE_SOVERSION_0="#"
49787 if test "x$USE_SOVERSION" = "x0" ; then
49788 COND_USE_SOVERSION_0=""
49791 COND_USE_SOVERSOLARIS_1="#"
49792 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49793 COND_USE_SOVERSOLARIS_1=""
49796 COND_USE_THREADS_0="#"
49797 if test "x$USE_THREADS" = "x0" ; then
49798 COND_USE_THREADS_0=""
49801 COND_USE_THREADS_1="#"
49802 if test "x$USE_THREADS" = "x1" ; then
49803 COND_USE_THREADS_1=""
49807 if test "x$USE_XRC" = "x1" ; then
49811 COND_WINDOWS_IMPLIB_1="#"
49812 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49813 COND_WINDOWS_IMPLIB_1=""
49816 COND_WITH_PLUGIN_SDL_1="#"
49817 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49818 COND_WITH_PLUGIN_SDL_1=""
49822 if test "x$WXUNIV" = "x0" ; then
49827 if test "x$WXUNIV" = "x1" ; then
49831 COND_WXUSE_EXPAT_BUILTIN="#"
49832 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49833 COND_WXUSE_EXPAT_BUILTIN=""
49836 COND_WXUSE_LIBJPEG_BUILTIN="#"
49837 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49838 COND_WXUSE_LIBJPEG_BUILTIN=""
49841 COND_WXUSE_LIBPNG_BUILTIN="#"
49842 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49843 COND_WXUSE_LIBPNG_BUILTIN=""
49846 COND_WXUSE_LIBTIFF_BUILTIN="#"
49847 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49848 COND_WXUSE_LIBTIFF_BUILTIN=""
49851 COND_WXUSE_ODBC_BUILTIN="#"
49852 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49853 COND_WXUSE_ODBC_BUILTIN=""
49856 COND_WXUSE_REGEX_BUILTIN="#"
49857 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49858 COND_WXUSE_REGEX_BUILTIN=""
49861 COND_WXUSE_ZLIB_BUILTIN="#"
49862 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49863 COND_WXUSE_ZLIB_BUILTIN=""
49868 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49869 { { 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
49870 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;}
49871 { (exit 1); exit 1; }; }
49874 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49875 { { 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
49876 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;}
49877 { (exit 1); exit 1; }; }
49882 if test "$wxUSE_MAC" = 1 ; then
49883 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49884 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49890 if test "$wxUSE_SHARED" = "yes"; then
49892 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
49893 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
49896 *-pc-os2_emx | *-pc-os2-emx )
49897 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49898 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49899 cp -p ${srcdir}/src/os2/dllnames.sh .
49900 cp -p ${srcdir}/src/os2/dllar.sh .
49905 EXE_LINKER="$CXX -o"
49908 if test "$wxUSE_OMF" = "yes"; then
49910 *-pc-os2_emx | *-pc-os2-emx )
49911 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49912 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49913 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49918 if test $GCC_PCH = 1 ; then
49919 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49922 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49924 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49986 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49987 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
49988 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
49989 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
49990 echo $ECHO_N "(cached) $ECHO_C" >&6
49992 cat >conftest.make <<\_ACEOF
49994 @echo 'ac_maketemp="$(MAKE)"'
49996 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49997 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
49998 if test -n "$ac_maketemp"; then
49999 eval ac_cv_prog_make_${ac_make}_set=yes
50001 eval ac_cv_prog_make_${ac_make}_set=no
50003 rm -f conftest.make
50005 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50006 echo "$as_me:$LINENO: result: yes" >&5
50007 echo "${ECHO_T}yes" >&6
50010 echo "$as_me:$LINENO: result: no" >&5
50011 echo "${ECHO_T}no" >&6
50012 SET_MAKE="MAKE=${MAKE-make}"
50017 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50020 if test "$USE_WIN32" = 1; then
50021 ac_config_commands="$ac_config_commands
50027 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50030 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50033 ac_config_files="$ac_config_files version-script Makefile"
50036 ac_config_commands="$ac_config_commands wx-config"
50040 if test "$wxWITH_SUBDIRS" != "no"; then
50041 if test "$wxUSE_GUI" = "yes"; then
50042 SUBDIRS="samples demos utils contrib"
50043 else SUBDIRS="samples utils"
50048 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50049 if test "${with_cppunit_prefix+set}" = set; then
50050 withval="$with_cppunit_prefix"
50051 cppunit_config_prefix="$withval"
50053 cppunit_config_prefix=""
50056 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50057 if test "${with_cppunit_exec_prefix+set}" = set; then
50058 withval="$with_cppunit_exec_prefix"
50059 cppunit_config_exec_prefix="$withval"
50061 cppunit_config_exec_prefix=""
50064 if test x$cppunit_config_exec_prefix != x ; then
50065 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50066 if test x${CPPUNIT_CONFIG+set} != xset ; then
50067 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50070 if test x$cppunit_config_prefix != x ; then
50071 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50072 if test x${CPPUNIT_CONFIG+set} != xset ; then
50073 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50077 # Extract the first word of "cppunit-config", so it can be a program name with args.
50078 set dummy cppunit-config; ac_word=$2
50079 echo "$as_me:$LINENO: checking for $ac_word" >&5
50080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50081 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50082 echo $ECHO_N "(cached) $ECHO_C" >&6
50084 case $CPPUNIT_CONFIG in
50086 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50090 for as_dir in $PATH
50093 test -z "$as_dir" && as_dir=.
50094 for ac_exec_ext in '' $ac_executable_extensions; do
50095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50096 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50103 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50107 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50109 if test -n "$CPPUNIT_CONFIG"; then
50110 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50111 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50113 echo "$as_me:$LINENO: result: no" >&5
50114 echo "${ECHO_T}no" >&6
50117 cppunit_version_min=1.8.0
50119 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50120 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50122 if test "$CPPUNIT_CONFIG" = "no" ; then
50123 echo "$as_me:$LINENO: result: no" >&5
50124 echo "${ECHO_T}no" >&6
50127 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50128 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50129 cppunit_version=`$CPPUNIT_CONFIG --version`
50131 cppunit_major_version=`echo $cppunit_version | \
50132 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50133 cppunit_minor_version=`echo $cppunit_version | \
50134 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50135 cppunit_micro_version=`echo $cppunit_version | \
50136 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50138 cppunit_major_min=`echo $cppunit_version_min | \
50139 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50140 cppunit_minor_min=`echo $cppunit_version_min | \
50141 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50142 cppunit_micro_min=`echo $cppunit_version_min | \
50143 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50145 cppunit_version_proper=`expr \
50146 $cppunit_major_version \> $cppunit_major_min \| \
50147 $cppunit_major_version \= $cppunit_major_min \& \
50148 $cppunit_minor_version \> $cppunit_minor_min \| \
50149 $cppunit_major_version \= $cppunit_major_min \& \
50150 $cppunit_minor_version \= $cppunit_minor_min \& \
50151 $cppunit_micro_version \>= $cppunit_micro_min `
50153 if test "$cppunit_version_proper" = "1" ; then
50154 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50155 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50157 echo "$as_me:$LINENO: result: no" >&5
50158 echo "${ECHO_T}no" >&6
50163 if test "x$no_cppunit" = x ; then
50164 SUBDIRS="$SUBDIRS tests"
50175 for subdir in `echo $SUBDIRS`; do
50176 if test -d ${srcdir}/${subdir} ; then
50177 if test "$wxUSE_GUI" = "yes"; then
50178 if test ${subdir} = "samples"; then
50179 makefiles="samples/Makefile.in $makefiles"
50180 for sample in `echo $SAMPLES_SUBDIRS`; do
50181 if test -d $srcdir/samples/$sample; then
50182 makefiles="samples/$sample/Makefile.in $makefiles"
50186 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
50187 eval "disabled=\$$disabled_var"
50188 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50189 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50191 else if test ${subdir} = "samples"; then
50192 makefiles="samples/Makefile.in samples/console/Makefile.in"
50193 elif test ${subdir} = "utils"; then
50195 for util in HelpGen tex2rtf ; do
50196 if test -d $srcdir/utils/$util ; then
50197 makefiles="utils/$util/Makefile.in \
50198 utils/$util/src/Makefile.in \
50202 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50206 for mkin in $makefiles ; do
50207 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50208 ac_config_files="$ac_config_files $mk"
50214 cat >confcache <<\_ACEOF
50215 # This file is a shell script that caches the results of configure
50216 # tests run on this system so they can be shared between configure
50217 # scripts and configure runs, see configure's option --config-cache.
50218 # It is not useful on other systems. If it contains results you don't
50219 # want to keep, you may remove or edit it.
50221 # config.status only pays attention to the cache file if you give it
50222 # the --recheck option to rerun configure.
50224 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50225 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50226 # following values.
50230 # The following way of writing the cache mishandles newlines in values,
50231 # but we know of no workaround that is simple, portable, and efficient.
50232 # So, don't put newlines in cache variables' values.
50233 # Ultrix sh set writes to stderr and can't be redirected directly,
50234 # and sets the high bit in the cache file unless we assign to the vars.
50237 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50239 # `set' does not quote correctly, so add quotes (double-quote
50240 # substitution turns \\\\ into \\, and sed turns \\ into \).
50243 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50246 # `set' quotes correctly as required by POSIX, so do not add quotes.
50248 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50255 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50257 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50259 if diff $cache_file confcache >/dev/null 2>&1; then :; else
50260 if test -w $cache_file; then
50261 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50262 cat confcache >$cache_file
50264 echo "not updating unwritable cache $cache_file"
50269 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50270 # Let make expand exec_prefix.
50271 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50273 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50274 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50275 # trailing colons and then remove the whole line if VPATH becomes empty
50276 # (actually we leave an empty line to preserve line numbers).
50277 if test "x$srcdir" = x.; then
50278 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50279 s/:*\$(srcdir):*/:/;
50280 s/:*\${srcdir}:*/:/;
50282 s/^\([^=]*=[ ]*\):*/\1/;
50288 DEFS=-DHAVE_CONFIG_H
50292 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50293 # 1. Remove the extension, and $U if already installed.
50294 ac_i=`echo "$ac_i" |
50295 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50297 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
50298 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
50300 LIBOBJS=$ac_libobjs
50302 LTLIBOBJS=$ac_ltlibobjs
50306 : ${CONFIG_STATUS=./config.status}
50307 ac_clean_files_save=$ac_clean_files
50308 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50309 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50310 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50311 cat >$CONFIG_STATUS <<_ACEOF
50313 # Generated by $as_me.
50314 # Run this file to recreate the current configuration.
50315 # Compiler output produced by configure, useful for debugging
50316 # configure, is in config.log if it exists.
50319 ac_cs_recheck=false
50321 SHELL=\${CONFIG_SHELL-$SHELL}
50324 cat >>$CONFIG_STATUS <<\_ACEOF
50325 ## --------------------- ##
50326 ## M4sh Initialization. ##
50327 ## --------------------- ##
50329 # Be Bourne compatible
50330 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50333 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50334 # is contrary to our usage. Disable this feature.
50335 alias -g '${1+"$@"}'='"$@"'
50336 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
50339 DUALCASE=1; export DUALCASE # for MKS sh
50341 # Support unset when possible.
50342 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50349 # Work around bugs in pre-3.0 UWIN ksh.
50350 $as_unset ENV MAIL MAILPATH
50357 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50358 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50359 LC_TELEPHONE LC_TIME
50361 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50362 eval $as_var=C; export $as_var
50368 # Required to use basename.
50369 if expr a : '\(a\)' >/dev/null 2>&1; then
50375 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
50376 as_basename=basename
50382 # Name of the executable.
50383 as_me=`$as_basename "$0" ||
50384 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50385 X"$0" : 'X\(//\)$' \| \
50386 X"$0" : 'X\(/\)$' \| \
50387 . : '\(.\)' 2>/dev/null ||
50389 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50390 /^X\/\(\/\/\)$/{ s//\1/; q; }
50391 /^X\/\(\/\).*/{ s//\1/; q; }
50395 # PATH needs CR, and LINENO needs CR and PATH.
50396 # Avoid depending upon Character Ranges.
50397 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50398 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50399 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50400 as_cr_digits='0123456789'
50401 as_cr_alnum=$as_cr_Letters$as_cr_digits
50403 # The user is always right.
50404 if test "${PATH_SEPARATOR+set}" != set; then
50405 echo "#! /bin/sh" >conf$$.sh
50406 echo "exit 0" >>conf$$.sh
50408 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50417 as_lineno_1=$LINENO
50418 as_lineno_2=$LINENO
50419 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50420 test "x$as_lineno_1" != "x$as_lineno_2" &&
50421 test "x$as_lineno_3" = "x$as_lineno_2" || {
50422 # Find who we are. Look in the path if we contain no path at all
50425 *[\\/]* ) as_myself=$0 ;;
50426 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50427 for as_dir in $PATH
50430 test -z "$as_dir" && as_dir=.
50431 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50436 # We did not find ourselves, most probably we were run as `sh COMMAND'
50437 # in which case we are not to be found in the path.
50438 if test "x$as_myself" = x; then
50441 if test ! -f "$as_myself"; then
50442 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50443 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50444 { (exit 1); exit 1; }; }
50446 case $CONFIG_SHELL in
50448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50449 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
50452 test -z "$as_dir" && as_dir=.
50453 for as_base in sh bash ksh sh5; do
50456 if ("$as_dir/$as_base" -c '
50457 as_lineno_1=$LINENO
50458 as_lineno_2=$LINENO
50459 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50460 test "x$as_lineno_1" != "x$as_lineno_2" &&
50461 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
50462 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
50463 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
50464 CONFIG_SHELL=$as_dir/$as_base
50465 export CONFIG_SHELL
50466 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50474 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50475 # uniformly replaced by the line number. The first 'sed' inserts a
50476 # line-number line before each line; the second 'sed' does the real
50477 # work. The second script uses 'N' to pair each line-number line
50478 # with the numbered line, and appends trailing '-' during
50479 # substitution so that $LINENO is not a special case at line end.
50480 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50481 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50482 sed '=' <$as_myself |
50487 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50490 s,^['$as_cr_digits']*\n,,
50491 ' >$as_me.lineno &&
50492 chmod +x $as_me.lineno ||
50493 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50494 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50495 { (exit 1); exit 1; }; }
50497 # Don't try to exec as it changes $[0], causing all sort of problems
50498 # (the dirname of $[0] is not the place where we might find the
50499 # original and so on. Autoconf is especially sensible to this).
50501 # Exit status is that of the last command.
50506 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50507 *c*,-n*) ECHO_N= ECHO_C='
50509 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
50510 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
50513 if expr a : '\(a\)' >/dev/null 2>&1; then
50519 rm -f conf$$ conf$$.exe conf$$.file
50521 if ln -s conf$$.file conf$$ 2>/dev/null; then
50522 # We could just check for DJGPP; but this test a) works b) is more generic
50523 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50524 if test -f conf$$.exe; then
50525 # Don't use ln at all; we don't have any links
50530 elif ln conf$$.file conf$$ 2>/dev/null; then
50535 rm -f conf$$ conf$$.exe conf$$.file
50537 if mkdir -p . 2>/dev/null; then
50540 test -d ./-p && rmdir ./-p
50544 as_executable_p="test -f"
50546 # Sed expression to map a string onto a valid CPP name.
50547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50549 # Sed expression to map a string onto a valid variable name.
50550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50554 # We need space, tab and new line, in precisely that order.
50564 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50565 # report actual input values of CONFIG_FILES etc. instead of their
50566 # values after options handling. Logging --version etc. is OK.
50570 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50571 ## Running $as_me. ##
50576 This file was extended by wxWidgets $as_me 2.7.1, which was
50577 generated by GNU Autoconf 2.59. Invocation command line was
50579 CONFIG_FILES = $CONFIG_FILES
50580 CONFIG_HEADERS = $CONFIG_HEADERS
50581 CONFIG_LINKS = $CONFIG_LINKS
50582 CONFIG_COMMANDS = $CONFIG_COMMANDS
50586 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50590 # Files that config.status was made for.
50591 if test -n "$ac_config_files"; then
50592 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50595 if test -n "$ac_config_headers"; then
50596 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50599 if test -n "$ac_config_links"; then
50600 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50603 if test -n "$ac_config_commands"; then
50604 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50607 cat >>$CONFIG_STATUS <<\_ACEOF
50610 \`$as_me' instantiates files from templates according to the
50611 current configuration.
50613 Usage: $0 [OPTIONS] [FILE]...
50615 -h, --help print this help, then exit
50616 -V, --version print version number, then exit
50617 -q, --quiet do not print progress messages
50618 -d, --debug don't remove temporary files
50619 --recheck update $as_me by reconfiguring in the same conditions
50620 --file=FILE[:TEMPLATE]
50621 instantiate the configuration file FILE
50622 --header=FILE[:TEMPLATE]
50623 instantiate the configuration header FILE
50625 Configuration files:
50628 Configuration headers:
50631 Configuration commands:
50634 Report bugs to <bug-autoconf@gnu.org>."
50637 cat >>$CONFIG_STATUS <<_ACEOF
50639 wxWidgets config.status 2.7.1
50640 configured by $0, generated by GNU Autoconf 2.59,
50641 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50643 Copyright (C) 2003 Free Software Foundation, Inc.
50644 This config.status script is free software; the Free Software Foundation
50645 gives unlimited permission to copy, distribute and modify it."
50650 cat >>$CONFIG_STATUS <<\_ACEOF
50651 # If no file are specified by the user, then we need to provide default
50652 # value. By we need to know if files were specified by the user.
50658 ac_option=`expr "x$1" : 'x\([^=]*\)='`
50659 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
50667 *) # This is not an option, so the user has probably given explicit
50670 ac_need_defaults=false;;
50674 # Handling of the options.
50676 cat >>$CONFIG_STATUS <<\_ACEOF
50677 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50679 --version | --vers* | -V )
50680 echo "$ac_cs_version"; exit 0 ;;
50682 # Conflict between --help and --header
50683 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50684 Try \`$0 --help' for more information." >&5
50685 echo "$as_me: error: ambiguous option: $1
50686 Try \`$0 --help' for more information." >&2;}
50687 { (exit 1); exit 1; }; };;
50688 --help | --hel | -h )
50689 echo "$ac_cs_usage"; exit 0 ;;
50690 --debug | --d* | -d )
50692 --file | --fil | --fi | --f )
50694 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50695 ac_need_defaults=false;;
50696 --header | --heade | --head | --hea )
50698 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50699 ac_need_defaults=false;;
50700 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50701 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50704 # This is an error.
50705 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
50706 Try \`$0 --help' for more information." >&5
50707 echo "$as_me: error: unrecognized option: $1
50708 Try \`$0 --help' for more information." >&2;}
50709 { (exit 1); exit 1; }; } ;;
50711 *) ac_config_targets="$ac_config_targets $1" ;;
50717 ac_configure_extra_args=
50719 if $ac_cs_silent; then
50721 ac_configure_extra_args="$ac_configure_extra_args --silent"
50725 cat >>$CONFIG_STATUS <<_ACEOF
50726 if \$ac_cs_recheck; then
50727 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50728 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50733 cat >>$CONFIG_STATUS <<_ACEOF
50735 # INIT-COMMANDS section.
50740 infile="$srcdir/include/wx/msw/genrcdefs.h"
50741 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50744 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50745 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50746 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50754 cat >>$CONFIG_STATUS <<\_ACEOF
50755 for ac_config_target in $ac_config_targets
50757 case "$ac_config_target" in
50758 # Handling of arguments.
50759 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50760 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50761 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
50762 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50763 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
50764 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50765 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50766 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50767 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50768 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50769 { (exit 1); exit 1; }; };;
50773 # If the user did not use the arguments to specify the items to instantiate,
50774 # then the envvar interface is used. Set only those that are not.
50775 # We use the long form for the default assignment because of an extremely
50776 # bizarre bug on SunOS 4.1.3.
50777 if $ac_need_defaults; then
50778 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50779 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50780 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50783 # Have a temporary directory for convenience. Make it in the build tree
50784 # simply because there is no reason to put it here, and in addition,
50785 # creating and moving files from /tmp can sometimes cause problems.
50786 # Create a temporary directory, and hook for its removal unless debugging.
50789 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
50790 trap '{ (exit 1); exit 1; }' 1 2 13 15
50793 # Create a (secure) tmp directory for tmp files.
50796 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
50797 test -n "$tmp" && test -d "$tmp"
50800 tmp=./confstat$$-$RANDOM
50801 (umask 077 && mkdir $tmp)
50804 echo "$me: cannot create a temporary directory in ." >&2
50805 { (exit 1); exit 1; }
50810 cat >>$CONFIG_STATUS <<_ACEOF
50813 # CONFIG_FILES section.
50816 # No need to generate the scripts if there are no CONFIG_FILES.
50817 # This happens for instance when ./config.status config.h
50818 if test -n "\$CONFIG_FILES"; then
50819 # Protect against being on the right side of a sed subst in config.status.
50820 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
50821 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
50822 s,@SHELL@,$SHELL,;t t
50823 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
50824 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
50825 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
50826 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
50827 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
50828 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
50829 s,@exec_prefix@,$exec_prefix,;t t
50830 s,@prefix@,$prefix,;t t
50831 s,@program_transform_name@,$program_transform_name,;t t
50832 s,@bindir@,$bindir,;t t
50833 s,@sbindir@,$sbindir,;t t
50834 s,@libexecdir@,$libexecdir,;t t
50835 s,@datadir@,$datadir,;t t
50836 s,@sysconfdir@,$sysconfdir,;t t
50837 s,@sharedstatedir@,$sharedstatedir,;t t
50838 s,@localstatedir@,$localstatedir,;t t
50839 s,@libdir@,$libdir,;t t
50840 s,@includedir@,$includedir,;t t
50841 s,@oldincludedir@,$oldincludedir,;t t
50842 s,@infodir@,$infodir,;t t
50843 s,@mandir@,$mandir,;t t
50844 s,@build_alias@,$build_alias,;t t
50845 s,@host_alias@,$host_alias,;t t
50846 s,@target_alias@,$target_alias,;t t
50847 s,@DEFS@,$DEFS,;t t
50848 s,@ECHO_C@,$ECHO_C,;t t
50849 s,@ECHO_N@,$ECHO_N,;t t
50850 s,@ECHO_T@,$ECHO_T,;t t
50851 s,@LIBS@,$LIBS,;t t
50852 s,@build@,$build,;t t
50853 s,@build_cpu@,$build_cpu,;t t
50854 s,@build_vendor@,$build_vendor,;t t
50855 s,@build_os@,$build_os,;t t
50856 s,@host@,$host,;t t
50857 s,@host_cpu@,$host_cpu,;t t
50858 s,@host_vendor@,$host_vendor,;t t
50859 s,@host_os@,$host_os,;t t
50860 s,@target@,$target,;t t
50861 s,@target_cpu@,$target_cpu,;t t
50862 s,@target_vendor@,$target_vendor,;t t
50863 s,@target_os@,$target_os,;t t
50865 s,@CFLAGS@,$CFLAGS,;t t
50866 s,@LDFLAGS@,$LDFLAGS,;t t
50867 s,@CPPFLAGS@,$CPPFLAGS,;t t
50868 s,@ac_ct_CC@,$ac_ct_CC,;t t
50869 s,@EXEEXT@,$EXEEXT,;t t
50870 s,@OBJEXT@,$OBJEXT,;t t
50872 s,@EGREP@,$EGREP,;t t
50874 s,@CXXFLAGS@,$CXXFLAGS,;t t
50875 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
50876 s,@RANLIB@,$RANLIB,;t t
50877 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
50879 s,@ac_ct_AR@,$ac_ct_AR,;t t
50880 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
50881 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
50882 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
50883 s,@STRIP@,$STRIP,;t t
50884 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
50885 s,@WINDRES@,$WINDRES,;t t
50886 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
50887 s,@DLLTOOL@,$DLLTOOL,;t t
50888 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
50889 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
50890 s,@LN_S@,$LN_S,;t t
50891 s,@CXXCPP@,$CXXCPP,;t t
50892 s,@subdirs@,$subdirs,;t t
50893 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
50894 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
50895 s,@GTK_LIBS@,$GTK_LIBS,;t t
50896 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
50897 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
50898 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
50899 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
50900 s,@X_CFLAGS@,$X_CFLAGS,;t t
50901 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
50902 s,@X_LIBS@,$X_LIBS,;t t
50903 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
50904 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
50905 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
50906 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
50907 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
50908 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
50909 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
50911 s,@DEREZ@,$DEREZ,;t t
50912 s,@SETFILE@,$SETFILE,;t t
50913 s,@LIBICONV@,$LIBICONV,;t t
50914 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
50915 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
50916 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
50917 s,@SDL_LIBS@,$SDL_LIBS,;t t
50918 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
50919 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
50920 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
50921 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
50922 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
50923 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
50924 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
50925 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
50926 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
50927 s,@GST_LIBS@,$GST_LIBS,;t t
50928 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
50929 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
50930 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
50931 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
50932 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
50933 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
50934 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
50935 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
50936 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
50937 s,@VENDOR@,$VENDOR,;t t
50938 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
50939 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
50940 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
50941 s,@WXUNIV@,$WXUNIV,;t t
50942 s,@MONOLITHIC@,$MONOLITHIC,;t t
50943 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
50944 s,@EXTRALIBS@,$EXTRALIBS,;t t
50945 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
50946 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
50947 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
50948 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
50949 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
50950 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
50951 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
50952 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
50953 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
50954 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
50955 s,@UNICODE@,$UNICODE,;t t
50956 s,@BUILD@,$BUILD,;t t
50957 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
50958 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
50959 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
50960 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
50961 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
50962 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
50963 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
50964 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
50965 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
50966 s,@SET_MAKE@,$SET_MAKE,;t t
50967 s,@MAKE_SET@,$MAKE_SET,;t t
50969 s,@ac_ct_NM@,$ac_ct_NM,;t t
50970 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
50971 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
50972 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
50973 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
50974 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
50975 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
50976 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
50977 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
50978 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
50979 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
50980 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
50981 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
50982 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
50983 s,@LIBPREFIX@,$LIBPREFIX,;t t
50984 s,@LIBEXT@,$LIBEXT,;t t
50985 s,@DLLPREFIX@,$DLLPREFIX,;t t
50986 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
50987 s,@dlldir@,$dlldir,;t t
50988 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
50989 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
50990 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
50991 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
50992 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
50993 s,@PIC_FLAG@,$PIC_FLAG,;t t
50994 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
50995 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
50996 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
50997 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
50998 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
50999 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51000 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51001 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51002 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51003 s,@GCC_PCH@,$GCC_PCH,;t t
51004 s,@ICC_PCH@,$ICC_PCH,;t t
51005 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51006 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51007 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51008 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51009 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51010 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51011 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51012 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51013 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51014 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51015 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51016 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51017 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51018 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51019 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51020 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51021 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51022 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51023 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51024 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51025 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
51026 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
51027 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
51028 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
51029 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51030 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51031 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51032 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51033 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51034 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51035 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
51036 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
51037 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
51038 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
51039 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51040 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51041 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51042 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51043 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51044 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51045 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51046 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51047 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51048 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51049 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51050 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51051 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51052 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51053 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51054 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51055 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51056 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51057 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
51058 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51059 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51060 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51061 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51062 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51063 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51064 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51065 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51066 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51067 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51068 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51069 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51070 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51071 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51072 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51073 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51074 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51075 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51076 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51077 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51078 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51079 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51080 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51081 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51082 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51083 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51084 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51085 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51086 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51087 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51088 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51089 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51090 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51091 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51092 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51093 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51094 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51095 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51096 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51097 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51098 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51099 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
51100 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51101 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51102 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51103 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51104 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51105 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51106 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51107 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51108 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51109 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51110 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51111 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51112 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51113 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51114 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51115 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51116 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51117 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51118 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51119 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51120 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51121 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51122 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51123 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51124 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51125 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51126 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51127 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51128 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51129 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51130 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51131 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51132 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51133 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51134 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51135 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51136 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51137 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51138 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51139 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51140 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51141 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51142 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51143 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51144 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51145 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51146 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51147 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51148 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51149 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51150 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51151 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51152 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51153 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51154 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51155 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51156 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51157 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51158 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51159 s,@SHARED@,$SHARED,;t t
51160 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51161 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51162 s,@USE_GUI@,$USE_GUI,;t t
51163 s,@AFMINSTALL@,$AFMINSTALL,;t t
51164 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51165 s,@TOOLKIT@,$TOOLKIT,;t t
51166 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51167 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51168 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51169 s,@cross_compiling@,$cross_compiling,;t t
51170 s,@WIDGET_SET@,$WIDGET_SET,;t t
51171 s,@WX_RELEASE@,$WX_RELEASE,;t t
51172 s,@WX_VERSION@,$WX_VERSION,;t t
51173 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51174 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51175 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51176 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51177 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51178 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51179 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51180 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51181 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51182 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51183 s,@EXE_LINKER@,$EXE_LINKER,;t t
51184 s,@GUIDIST@,$GUIDIST,;t t
51185 s,@DISTDIR@,$DISTDIR,;t t
51186 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51187 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51188 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51189 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51190 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51191 s,@RESCOMP@,$RESCOMP,;t t
51192 s,@RESFLAGS@,$RESFLAGS,;t t
51193 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51194 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51195 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51196 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51197 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51198 s,@MACSETFILE@,$MACSETFILE,;t t
51200 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51201 s,@LIBOBJS@,$LIBOBJS,;t t
51202 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51207 cat >>$CONFIG_STATUS <<\_ACEOF
51208 # Split the substitutions into bite-sized pieces for seds with
51209 # small command number limits, like on Digital OSF/1 and HP-UX.
51210 ac_max_sed_lines=48
51211 ac_sed_frag=1 # Number of current file.
51212 ac_beg=1 # First line for current file.
51213 ac_end=$ac_max_sed_lines # Line after last line for current file.
51216 while $ac_more_lines; do
51217 if test $ac_beg -gt 1; then
51218 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51220 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51222 if test ! -s $tmp/subs.frag; then
51223 ac_more_lines=false
51225 # The purpose of the label and of the branching condition is to
51226 # speed up the sed processing (if there are no `@' at all, there
51227 # is no need to browse any of the substitutions).
51228 # These are the two extra sed commands mentioned above.
51230 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
51231 if test -z "$ac_sed_cmds"; then
51232 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
51234 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51236 ac_sed_frag=`expr $ac_sed_frag + 1`
51238 ac_end=`expr $ac_end + $ac_max_sed_lines`
51241 if test -z "$ac_sed_cmds"; then
51244 fi # test -n "$CONFIG_FILES"
51247 cat >>$CONFIG_STATUS <<\_ACEOF
51248 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
51249 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51251 - | *:- | *:-:* ) # input from stdin
51253 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51254 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51255 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51256 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51257 * ) ac_file_in=$ac_file.in ;;
51260 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51261 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51262 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51263 X"$ac_file" : 'X\(//\)[^/]' \| \
51264 X"$ac_file" : 'X\(//\)$' \| \
51265 X"$ac_file" : 'X\(/\)' \| \
51266 . : '\(.\)' 2>/dev/null ||
51268 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51269 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51270 /^X\(\/\/\)$/{ s//\1/; q; }
51271 /^X\(\/\).*/{ s//\1/; q; }
51273 { if $as_mkdir_p; then
51278 while test ! -d "$as_dir"; do
51279 as_dirs="$as_dir $as_dirs"
51280 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51281 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51282 X"$as_dir" : 'X\(//\)[^/]' \| \
51283 X"$as_dir" : 'X\(//\)$' \| \
51284 X"$as_dir" : 'X\(/\)' \| \
51285 . : '\(.\)' 2>/dev/null ||
51287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51288 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51289 /^X\(\/\/\)$/{ s//\1/; q; }
51290 /^X\(\/\).*/{ s//\1/; q; }
51293 test ! -n "$as_dirs" || mkdir $as_dirs
51294 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51295 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51296 { (exit 1); exit 1; }; }; }
51300 if test "$ac_dir" != .; then
51301 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51302 # A "../" for each directory in $ac_dir_suffix.
51303 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51305 ac_dir_suffix= ac_top_builddir=
51309 .) # No --srcdir option. We are building in place.
51311 if test -z "$ac_top_builddir"; then
51314 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51316 [\\/]* | ?:[\\/]* ) # Absolute path.
51317 ac_srcdir=$srcdir$ac_dir_suffix;
51318 ac_top_srcdir=$srcdir ;;
51319 *) # Relative path.
51320 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51321 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51324 # Do not use `cd foo && pwd` to compute absolute paths, because
51325 # the directories may not exist.
51327 .) ac_abs_builddir="$ac_dir";;
51330 .) ac_abs_builddir=`pwd`;;
51331 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51332 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51335 case $ac_abs_builddir in
51336 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51338 case ${ac_top_builddir}. in
51339 .) ac_abs_top_builddir=$ac_abs_builddir;;
51340 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51341 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51344 case $ac_abs_builddir in
51345 .) ac_abs_srcdir=$ac_srcdir;;
51348 .) ac_abs_srcdir=$ac_abs_builddir;;
51349 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51350 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51353 case $ac_abs_builddir in
51354 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51356 case $ac_top_srcdir in
51357 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51358 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51359 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51365 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51366 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
51369 # Let's still pretend it is `configure' which instantiates (i.e., don't
51370 # use $as_me), people would be surprised to read:
51371 # /* config.h. Generated by config.status. */
51372 if test x"$ac_file" = x-; then
51375 configure_input="$ac_file. "
51377 configure_input=$configure_input"Generated from `echo $ac_file_in |
51378 sed 's,.*/,,'` by configure."
51380 # First look for the input files in the build tree, otherwise in the
51382 ac_file_inputs=`IFS=:
51383 for f in $ac_file_in; do
51385 -) echo $tmp/stdin ;;
51387 # Absolute (can't be DOS-style, as IFS=:)
51388 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51389 echo "$as_me: error: cannot find input file: $f" >&2;}
51390 { (exit 1); exit 1; }; }
51393 if test -f "$f"; then
51396 elif test -f "$srcdir/$f"; then
51401 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51402 echo "$as_me: error: cannot find input file: $f" >&2;}
51403 { (exit 1); exit 1; }; }
51406 done` || { (exit 1); exit 1; }
51408 if test x"$ac_file" != x-; then
51409 { echo "$as_me:$LINENO: creating $ac_file" >&5
51410 echo "$as_me: creating $ac_file" >&6;}
51414 cat >>$CONFIG_STATUS <<_ACEOF
51418 cat >>$CONFIG_STATUS <<\_ACEOF
51420 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51421 s,@configure_input@,$configure_input,;t t
51422 s,@srcdir@,$ac_srcdir,;t t
51423 s,@abs_srcdir@,$ac_abs_srcdir,;t t
51424 s,@top_srcdir@,$ac_top_srcdir,;t t
51425 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
51426 s,@builddir@,$ac_builddir,;t t
51427 s,@abs_builddir@,$ac_abs_builddir,;t t
51428 s,@top_builddir@,$ac_top_builddir,;t t
51429 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
51430 s,@INSTALL@,$ac_INSTALL,;t t
51431 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51433 if test x"$ac_file" != x-; then
51434 mv $tmp/out $ac_file
51440 # Run the commands associated with the file.
51442 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51443 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51447 cat >>$CONFIG_STATUS <<\_ACEOF
51450 # CONFIG_HEADER section.
51453 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
51454 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51456 # ac_d sets the value in "#define NAME VALUE" lines.
51457 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51458 ac_dB='[ ].*$,\1#\2'
51461 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51462 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51463 ac_uB='$,\1#\2define\3'
51467 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
51468 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51470 - | *:- | *:-:* ) # input from stdin
51472 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51473 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51474 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51475 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51476 * ) ac_file_in=$ac_file.in ;;
51479 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51480 echo "$as_me: creating $ac_file" >&6;}
51482 # First look for the input files in the build tree, otherwise in the
51484 ac_file_inputs=`IFS=:
51485 for f in $ac_file_in; do
51487 -) echo $tmp/stdin ;;
51489 # Absolute (can't be DOS-style, as IFS=:)
51490 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51491 echo "$as_me: error: cannot find input file: $f" >&2;}
51492 { (exit 1); exit 1; }; }
51493 # Do quote $f, to prevent DOS paths from being IFS'd.
51496 if test -f "$f"; then
51499 elif test -f "$srcdir/$f"; then
51504 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51505 echo "$as_me: error: cannot find input file: $f" >&2;}
51506 { (exit 1); exit 1; }; }
51509 done` || { (exit 1); exit 1; }
51510 # Remove the trailing spaces.
51511 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51515 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51516 # `conftest.undefs', that substitutes the proper values into
51517 # config.h.in to produce config.h. The first handles `#define'
51518 # templates, and the second `#undef' templates.
51519 # And first: Protect against being on the right side of a sed subst in
51520 # config.status. Protect against being in an unquoted here document
51521 # in config.status.
51522 rm -f conftest.defines conftest.undefs
51523 # Using a here document instead of a string reduces the quoting nightmare.
51524 # Putting comments in sed scripts is not portable.
51526 # `end' is used to avoid that the second main sed command (meant for
51527 # 0-ary CPP macros) applies to n-ary macro definitions.
51528 # See the Autoconf documentation for `clear'.
51529 cat >confdef2sed.sed <<\_ACEOF
51534 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51536 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51539 # If some macros were called several times there might be several times
51540 # the same #defines, which is useless. Nevertheless, we may not want to
51541 # sort them, since we want the *last* AC-DEFINE to be honored.
51542 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51543 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51544 rm -f confdef2sed.sed
51546 # This sed command replaces #undef with comments. This is necessary, for
51547 # example, in the case of _POSIX_SOURCE, which is predefined and required
51548 # on some systems where configure will not decide to define it.
51549 cat >>conftest.undefs <<\_ACEOF
51550 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51553 # Break up conftest.defines because some shells have a limit on the size
51554 # of here documents, and old seds have small limits too (100 cmds).
51555 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51556 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51557 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51558 echo ' :' >>$CONFIG_STATUS
51559 rm -f conftest.tail
51560 while grep . conftest.defines >/dev/null
51562 # Write a limited-size here document to $tmp/defines.sed.
51563 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51564 # Speed up: don't consider the non `#define' lines.
51565 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51566 # Work around the forget-to-reset-the-flag bug.
51567 echo 't clr' >>$CONFIG_STATUS
51568 echo ': clr' >>$CONFIG_STATUS
51569 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
51571 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51573 mv $tmp/out $tmp/in
51575 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
51576 rm -f conftest.defines
51577 mv conftest.tail conftest.defines
51579 rm -f conftest.defines
51580 echo ' fi # grep' >>$CONFIG_STATUS
51581 echo >>$CONFIG_STATUS
51583 # Break up conftest.undefs because some shells have a limit on the size
51584 # of here documents, and old seds have small limits too (100 cmds).
51585 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51586 rm -f conftest.tail
51587 while grep . conftest.undefs >/dev/null
51589 # Write a limited-size here document to $tmp/undefs.sed.
51590 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51591 # Speed up: don't consider the non `#undef'
51592 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51593 # Work around the forget-to-reset-the-flag bug.
51594 echo 't clr' >>$CONFIG_STATUS
51595 echo ': clr' >>$CONFIG_STATUS
51596 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51598 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51600 mv $tmp/out $tmp/in
51602 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51603 rm -f conftest.undefs
51604 mv conftest.tail conftest.undefs
51606 rm -f conftest.undefs
51608 cat >>$CONFIG_STATUS <<\_ACEOF
51609 # Let's still pretend it is `configure' which instantiates (i.e., don't
51610 # use $as_me), people would be surprised to read:
51611 # /* config.h. Generated by config.status. */
51612 if test x"$ac_file" = x-; then
51613 echo "/* Generated by configure. */" >$tmp/config.h
51615 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51617 cat $tmp/in >>$tmp/config.h
51619 if test x"$ac_file" != x-; then
51620 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
51621 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51622 echo "$as_me: $ac_file is unchanged" >&6;}
51624 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51625 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51626 X"$ac_file" : 'X\(//\)[^/]' \| \
51627 X"$ac_file" : 'X\(//\)$' \| \
51628 X"$ac_file" : 'X\(/\)' \| \
51629 . : '\(.\)' 2>/dev/null ||
51631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51632 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51633 /^X\(\/\/\)$/{ s//\1/; q; }
51634 /^X\(\/\).*/{ s//\1/; q; }
51636 { if $as_mkdir_p; then
51641 while test ! -d "$as_dir"; do
51642 as_dirs="$as_dir $as_dirs"
51643 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51644 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51645 X"$as_dir" : 'X\(//\)[^/]' \| \
51646 X"$as_dir" : 'X\(//\)$' \| \
51647 X"$as_dir" : 'X\(/\)' \| \
51648 . : '\(.\)' 2>/dev/null ||
51650 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51651 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51652 /^X\(\/\/\)$/{ s//\1/; q; }
51653 /^X\(\/\).*/{ s//\1/; q; }
51656 test ! -n "$as_dirs" || mkdir $as_dirs
51657 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51658 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51659 { (exit 1); exit 1; }; }; }
51662 mv $tmp/config.h $ac_file
51666 rm -f $tmp/config.h
51670 cat >>$CONFIG_STATUS <<\_ACEOF
51673 # CONFIG_COMMANDS section.
51675 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
51676 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
51677 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
51678 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
51679 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51680 X"$ac_dest" : 'X\(//\)[^/]' \| \
51681 X"$ac_dest" : 'X\(//\)$' \| \
51682 X"$ac_dest" : 'X\(/\)' \| \
51683 . : '\(.\)' 2>/dev/null ||
51685 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51686 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51687 /^X\(\/\/\)$/{ s//\1/; q; }
51688 /^X\(\/\).*/{ s//\1/; q; }
51690 { if $as_mkdir_p; then
51695 while test ! -d "$as_dir"; do
51696 as_dirs="$as_dir $as_dirs"
51697 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51698 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51699 X"$as_dir" : 'X\(//\)[^/]' \| \
51700 X"$as_dir" : 'X\(//\)$' \| \
51701 X"$as_dir" : 'X\(/\)' \| \
51702 . : '\(.\)' 2>/dev/null ||
51704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51705 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51706 /^X\(\/\/\)$/{ s//\1/; q; }
51707 /^X\(\/\).*/{ s//\1/; q; }
51710 test ! -n "$as_dirs" || mkdir $as_dirs
51711 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51712 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51713 { (exit 1); exit 1; }; }; }
51717 if test "$ac_dir" != .; then
51718 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51719 # A "../" for each directory in $ac_dir_suffix.
51720 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51722 ac_dir_suffix= ac_top_builddir=
51726 .) # No --srcdir option. We are building in place.
51728 if test -z "$ac_top_builddir"; then
51731 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51733 [\\/]* | ?:[\\/]* ) # Absolute path.
51734 ac_srcdir=$srcdir$ac_dir_suffix;
51735 ac_top_srcdir=$srcdir ;;
51736 *) # Relative path.
51737 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51738 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51741 # Do not use `cd foo && pwd` to compute absolute paths, because
51742 # the directories may not exist.
51744 .) ac_abs_builddir="$ac_dir";;
51747 .) ac_abs_builddir=`pwd`;;
51748 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51749 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51752 case $ac_abs_builddir in
51753 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51755 case ${ac_top_builddir}. in
51756 .) ac_abs_top_builddir=$ac_abs_builddir;;
51757 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51758 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51761 case $ac_abs_builddir in
51762 .) ac_abs_srcdir=$ac_srcdir;;
51765 .) ac_abs_srcdir=$ac_abs_builddir;;
51766 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51767 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51770 case $ac_abs_builddir in
51771 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51773 case $ac_top_srcdir in
51774 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51775 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51776 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51781 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
51782 echo "$as_me: executing $ac_dest commands" >&6;}
51785 mkdir -p $outdir &&
51786 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51788 wx-config ) rm -f wx-config
51789 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51795 cat >>$CONFIG_STATUS <<\_ACEOF
51797 { (exit 0); exit 0; }
51799 chmod +x $CONFIG_STATUS
51800 ac_clean_files=$ac_clean_files_save
51803 # configure is writing to config.log, and then calls config.status.
51804 # config.status does its own redirection, appending to config.log.
51805 # Unfortunately, on DOS this fails, as config.log is still kept open
51806 # by configure, so config.status won't be able to write to it; its
51807 # output is simply discarded. So we exec the FD to /dev/null,
51808 # effectively closing config.log, so it can be properly (re)opened and
51809 # appended to by config.status. When coming back to configure, we
51810 # need to make the FD available again.
51811 if test "$no_create" != yes; then
51813 ac_config_status_args=
51814 test "$silent" = yes &&
51815 ac_config_status_args="$ac_config_status_args --quiet"
51817 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51819 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51820 # would make configure fail if this is the last instruction.
51821 $ac_cs_success || { (exit 1); exit 1; }
51825 # CONFIG_SUBDIRS section.
51827 if test "$no_recursion" != yes; then
51829 # Remove --cache-file and --srcdir arguments so they do not pile up.
51830 ac_sub_configure_args=
51832 for ac_arg in $ac_configure_args; do
51833 if test -n "$ac_prev"; then
51838 -cache-file | --cache-file | --cache-fil | --cache-fi \
51839 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51840 ac_prev=cache_file ;;
51841 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51842 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51845 --config-cache | -C)
51847 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51849 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51851 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51853 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51855 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
51859 # Always prepend --prefix to ensure using the same prefix
51860 # in subdir configurations.
51861 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
51864 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51866 # Do not complain, so a configure script can configure whichever
51867 # parts of a large source tree are present.
51868 test -d $srcdir/$ac_dir || continue
51870 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
51871 echo "$as_me: configuring in $ac_dir" >&6;}
51872 { if $as_mkdir_p; then
51877 while test ! -d "$as_dir"; do
51878 as_dirs="$as_dir $as_dirs"
51879 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51880 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51881 X"$as_dir" : 'X\(//\)[^/]' \| \
51882 X"$as_dir" : 'X\(//\)$' \| \
51883 X"$as_dir" : 'X\(/\)' \| \
51884 . : '\(.\)' 2>/dev/null ||
51886 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51887 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51888 /^X\(\/\/\)$/{ s//\1/; q; }
51889 /^X\(\/\).*/{ s//\1/; q; }
51892 test ! -n "$as_dirs" || mkdir $as_dirs
51893 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51894 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51895 { (exit 1); exit 1; }; }; }
51899 if test "$ac_dir" != .; then
51900 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51901 # A "../" for each directory in $ac_dir_suffix.
51902 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51904 ac_dir_suffix= ac_top_builddir=
51908 .) # No --srcdir option. We are building in place.
51910 if test -z "$ac_top_builddir"; then
51913 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51915 [\\/]* | ?:[\\/]* ) # Absolute path.
51916 ac_srcdir=$srcdir$ac_dir_suffix;
51917 ac_top_srcdir=$srcdir ;;
51918 *) # Relative path.
51919 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51920 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51923 # Do not use `cd foo && pwd` to compute absolute paths, because
51924 # the directories may not exist.
51926 .) ac_abs_builddir="$ac_dir";;
51929 .) ac_abs_builddir=`pwd`;;
51930 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51931 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51934 case $ac_abs_builddir in
51935 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51937 case ${ac_top_builddir}. in
51938 .) ac_abs_top_builddir=$ac_abs_builddir;;
51939 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51940 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51943 case $ac_abs_builddir in
51944 .) ac_abs_srcdir=$ac_srcdir;;
51947 .) ac_abs_srcdir=$ac_abs_builddir;;
51948 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51949 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51952 case $ac_abs_builddir in
51953 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51955 case $ac_top_srcdir in
51956 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51957 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51958 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51965 # Check for guested configure; otherwise get Cygnus style configure.
51966 if test -f $ac_srcdir/configure.gnu; then
51967 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
51968 elif test -f $ac_srcdir/configure; then
51969 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
51970 elif test -f $ac_srcdir/configure.in; then
51971 ac_sub_configure=$ac_configure
51973 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51974 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51978 # The recursion is here.
51979 if test -n "$ac_sub_configure"; then
51980 # Make the cache file name correct relative to the subdirectory.
51981 case $cache_file in
51982 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51983 *) # Relative path.
51984 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
51987 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51988 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51989 # The eval makes quoting arguments work.
51990 eval $ac_sub_configure $ac_sub_configure_args \
51991 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
51992 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51993 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51994 { (exit 1); exit 1; }; }
52003 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52005 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52006 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52008 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52009 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52010 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52012 echo " What level of wxWidgets compatibility should be enabled?"
52013 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52014 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52016 echo " Which libraries should wxWidgets use?"
52017 echo " jpeg ${wxUSE_LIBJPEG-none}"
52018 echo " png ${wxUSE_LIBPNG-none}"
52019 echo " regex ${wxUSE_REGEX}"
52020 echo " tiff ${wxUSE_LIBTIFF-none}"
52021 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52022 echo " xpm ${wxUSE_LIBXPM-none}"
52024 echo " zlib ${wxUSE_ZLIB}"
52025 echo " odbc ${wxUSE_ODBC}"
52026 echo " expat ${wxUSE_EXPAT}"
52027 echo " libmspack ${wxUSE_LIBMSPACK}"
52028 echo " sdl ${wxUSE_LIBSDL}"