2 # From configure.in Id: configure.in 47287 2007-07-10 10:28:12Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
25 DUALCASE=1; export DUALCASE # for MKS sh
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
197 if expr a : '\(a\)' >/dev/null 2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.file conf$$ 2>/dev/null; then
219 rm -f conf$$ conf$$.exe conf$$.file
221 if mkdir -p . 2>/dev/null; then
224 test -d ./-p && rmdir ./-p
228 as_executable_p="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
263 SHELL=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.9.0'
274 PACKAGE_STRING='wxWidgets 2.9.0'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os wx_top_builddir 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 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 CFLAGS_VISIBILITY CXXFLAGS_VISIBILITY REZ DEREZ SETFILE LIBICONV 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 ALL_WX_LIBS BUILT_WX_LIBS STD_BASE_LIBS STD_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 CXXWARNINGS 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 AROPTIONS 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 BK_DEPS GCC_PCH ICC_PCH BK_MAKE_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_STC_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_STC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_AUI_1 COND_MONOLITHIC_0_USE_GUI_1 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_USE_HTML_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_0_USE_QA_1 COND_MONOLITHIC_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_USE_STC_1 COND_MONOLITHIC_0_USE_XRC_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_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_TOOLKIT_MGL COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_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_STC_1 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_USE_OPENGL_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_STC_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_PKG_CONFIG_set=${PKG_CONFIG+set}
786 ac_env_PKG_CONFIG_value=$PKG_CONFIG
787 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
788 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
789 ac_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
790 ac_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
791 ac_cv_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
792 ac_cv_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
793 ac_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
794 ac_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
795 ac_cv_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
796 ac_cv_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
797 ac_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
798 ac_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
799 ac_cv_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
800 ac_cv_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
801 ac_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
802 ac_env_PANGOX_LIBS_value=$PANGOX_LIBS
803 ac_cv_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
804 ac_cv_env_PANGOX_LIBS_value=$PANGOX_LIBS
805 ac_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
806 ac_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
807 ac_cv_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
808 ac_cv_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
809 ac_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
810 ac_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
811 ac_cv_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
812 ac_cv_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
813 ac_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
814 ac_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
815 ac_cv_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
816 ac_cv_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
817 ac_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
818 ac_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
819 ac_cv_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
820 ac_cv_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
821 ac_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
822 ac_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
823 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
824 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
825 ac_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
826 ac_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
827 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
829 ac_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
830 ac_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
831 ac_cv_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
832 ac_cv_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
833 ac_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
834 ac_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
835 ac_cv_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
836 ac_cv_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
837 ac_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
838 ac_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
839 ac_cv_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
840 ac_cv_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
841 ac_env_HILDON_LIBS_set=${HILDON_LIBS+set}
842 ac_env_HILDON_LIBS_value=$HILDON_LIBS
843 ac_cv_env_HILDON_LIBS_set=${HILDON_LIBS+set}
844 ac_cv_env_HILDON_LIBS_value=$HILDON_LIBS
845 ac_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
846 ac_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
847 ac_cv_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
848 ac_cv_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
849 ac_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
850 ac_env_CAIRO_LIBS_value=$CAIRO_LIBS
851 ac_cv_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
852 ac_cv_env_CAIRO_LIBS_value=$CAIRO_LIBS
853 ac_env_GST_CFLAGS_set=${GST_CFLAGS+set}
854 ac_env_GST_CFLAGS_value=$GST_CFLAGS
855 ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
856 ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
857 ac_env_GST_LIBS_set=${GST_LIBS+set}
858 ac_env_GST_LIBS_value=$GST_LIBS
859 ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
860 ac_cv_env_GST_LIBS_value=$GST_LIBS
863 # Report the --help message.
865 if test "$ac_init_help" = "long"; then
866 # Omit some internal or obsolete options to make the list less imposing.
867 # This message is too long to be a string in the A/UX 3.1 sh.
869 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
871 Usage: $0 [OPTION]... [VAR=VALUE]...
873 To assign environment variables (e.g., CC, CFLAGS...), specify them as
874 VAR=VALUE. See below for descriptions of some of the useful variables.
876 Defaults for the options are specified in brackets.
879 -h, --help display this help and exit
880 --help=short display options specific to this package
881 --help=recursive display the short help of all the included packages
882 -V, --version display version information and exit
883 -q, --quiet, --silent do not print \`checking...' messages
884 --cache-file=FILE cache test results in FILE [disabled]
885 -C, --config-cache alias for \`--cache-file=config.cache'
886 -n, --no-create do not create output files
887 --srcdir=DIR find the sources in DIR [configure dir or \`..']
892 Installation directories:
893 --prefix=PREFIX install architecture-independent files in PREFIX
895 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
898 By default, \`make install' will install all the files in
899 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
900 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
901 for instance \`--prefix=\$HOME'.
903 For better control, use the options below.
905 Fine tuning of the installation directories:
906 --bindir=DIR user executables [EPREFIX/bin]
907 --sbindir=DIR system admin executables [EPREFIX/sbin]
908 --libexecdir=DIR program executables [EPREFIX/libexec]
909 --datadir=DIR read-only architecture-independent data [PREFIX/share]
910 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
911 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
912 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
913 --libdir=DIR object code libraries [EPREFIX/lib]
914 --includedir=DIR C header files [PREFIX/include]
915 --oldincludedir=DIR C header files for non-gcc [/usr/include]
916 --infodir=DIR info documentation [PREFIX/info]
917 --mandir=DIR man documentation [PREFIX/man]
923 --x-includes=DIR X include files are in DIR
924 --x-libraries=DIR X library files are in DIR
927 --build=BUILD configure for building on BUILD [guessed]
928 --host=HOST cross-compile to build programs to run on HOST [BUILD]
929 --target=TARGET configure for building compilers for TARGET [HOST]
933 if test -n "$ac_init_help"; then
934 case $ac_init_help in
935 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
940 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
941 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
942 --disable-gui don't build GUI parts of the library
943 --enable-monolithic build wxWidgets as single library
944 --enable-plugins build parts of wxWidgets as loadable components
945 --enable-official_build official build of wxWidgets (win32 DLL only)
946 --enable-vendor=VENDOR vendor name (win32 DLL only)
947 --disable-all-features disable all optional features to build minimal library
948 --enable-universal use wxWidgets GUI controls instead of native ones
949 --enable-nanox use NanoX
950 --disable-gtk2 use GTK+ 1.2 instead of 2.0
951 --enable-gpe use GNOME PDA Environment features if possible
952 --disable-shared create static library instead of shared
953 --enable-optimise create optimised code
954 --enable-debug same as debug_flag and debug_info
955 --enable-stl use STL for containers
956 --enable-std_iostreams use standard C++ stream classes
957 --enable-std_string use standard C++ string classes
958 --disable-unicode compile without Unicode support
959 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
960 --enable-utf8 use UTF-8 representation for strings (Unix only)
961 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
962 --enable-extended_rtti use extended RTTI (XTI)
963 --enable-omf use OMF object format
964 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
965 --enable-debug_info create code with debugging information
966 --enable-debug_gdb create code with extra GDB debugging information
967 --enable-debug_cntxt use wxDebugContext
968 --enable-mem_tracing create code with memory tracing
969 --enable-profile create code with profiling information
970 --enable-no_rtti create code without RTTI information
971 --enable-no_exceptions create code without C++ exceptions handling
972 --enable-permissive compile code disregarding strict ANSI
973 --enable-no_deps create code without dependency information
974 --disable-vararg_macros don't use vararg macros, even if they are supported
975 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
976 --enable-compat26 enable wxWidgets 2.6 compatibility
977 --disable-compat28 disable wxWidgets 2.8 compatibility
978 --disable-rpath disable use of rpath for uninstalled builds
979 --enable-objc_uniquifying enable Objective-C class name uniquifying
980 --enable-intl use internationalization system
981 --enable-config use wxConfig (and derived) classes
982 --enable-protocols use wxProtocol and derived classes
983 --enable-ftp use wxFTP (requires wxProtocol
984 --enable-http use wxHTTP (requires wxProtocol
985 --enable-fileproto use wxFileProto class (requires wxProtocol
986 --enable-sockets use socket/network classes
987 --enable-ole use OLE classes (Win32 only)
988 --enable-dataobj use data object classes
989 --enable-ipc use interprocess communication (wxSocket etc.)
990 --enable-apple_ieee use the Apple IEEE codec
991 --enable-arcstream use wxArchive streams
992 --enable-base64 use base64 encoding/decoding functions
993 --enable-backtrace use wxStackWalker class for getting backtraces
994 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
995 --enable-cmdline use wxCmdLineParser class
996 --enable-datetime use wxDateTime class
997 --enable-debugreport use wxDebugReport class
998 --enable-dialupman use dialup network classes
999 --enable-dynlib use wxLibrary class for DLL loading
1000 --enable-dynamicloader use (new) wxDynamicLibrary class
1001 --enable-exceptions build exception-safe library
1002 --enable-ffile use wxFFile class
1003 --enable-file use wxFile class
1004 --enable-filesystem use virtual file systems classes
1005 --enable-fontmap use font encodings conversion classes
1006 --enable-fs_archive use virtual archive filesystems
1007 --enable-fs_inet use virtual HTTP/FTP filesystems
1008 --enable-fs_zip now replaced by fs_archive
1009 --enable-geometry use geometry class
1010 --enable-log use logging system
1011 --enable-longlong use wxLongLong class
1012 --enable-mimetype use wxMimeTypesManager
1013 --enable-snglinst use wxSingleInstanceChecker class
1014 --enable-stdpaths use wxStandardPaths class
1015 --enable-stopwatch use wxStopWatch class
1016 --enable-streams use wxStream etc classes
1017 --enable-sysoptions use wxSystemOptions
1018 --enable-tarstream use wxTar streams
1019 --enable-textbuf use wxTextBuffer class
1020 --enable-textfile use wxTextFile class
1021 --enable-timer use wxTimer class
1022 --enable-sound use wxSound class
1023 --enable-mediactrl use wxMediaCtrl class
1024 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1025 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1026 --enable-zipstream use wxZip streams
1027 --enable-url use wxURL class
1028 --enable-variant use wxVariant class
1029 --enable-protocol use wxProtocol class
1030 --enable-protocol-http HTTP support in wxProtocol
1031 --enable-protocol-ftp FTP support in wxProtocol
1032 --enable-protocol-file FILE support in wxProtocol
1033 --enable-threads use threads
1034 --enable-docview use document view architecture
1035 --enable-help use help subsystem
1036 --enable-mshtmlhelp use MS HTML Help (win32)
1037 --enable-html use wxHTML sub-library
1038 --enable-htmlhelp use wxHTML-based help
1039 --enable-xrc use XRC resources sub-library
1040 --enable-aui use AUI docking library
1041 --enable-stc use wxStyledTextCtrl library
1042 --enable-constraints use layout-constraints system
1043 --enable-printarch use printing architecture
1044 --enable-mdi use multiple document interface architecture
1045 --enable-mdidoc use docview architecture with MDI
1046 --enable-loggui use standard GUI logger
1047 --enable-logwin use wxLogWindow
1048 --enable-logdialog use wxLogDialog
1049 --enable-webkit use wxWebKitCtrl (Mac)
1050 --enable-richtext use wxRichTextCtrl
1051 --enable-graphics_ctx use graphics context 2D drawing API
1052 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1053 --enable-clipboard use wxClipboard class
1054 --enable-dnd use Drag'n'Drop classes
1055 --enable-metafile use win32 metafiles
1056 --enable-controls use all usual controls
1057 --enable-accel use accelerators
1058 --enable-animatectrl use wxAnimationCtrl class
1059 --enable-button use wxButton class
1060 --enable-bmpbutton use wxBitmapButton class
1061 --enable-bmpcombobox use wxBitmapComboBox class
1062 --enable-calendar use wxCalendarCtrl class
1063 --enable-caret use wxCaret class
1064 --enable-checkbox use wxCheckBox class
1065 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1066 --enable-choice use wxChoice class
1067 --enable-choicebook use wxChoicebook class
1068 --enable-collpane use wxCollapsiblePane class
1069 --enable-colourpicker use wxColourPickerCtrl class
1070 --enable-combobox use wxComboBox class
1071 --enable-comboctrl use wxComboCtrl class
1072 --enable-datepick use wxDatePickerCtrl class
1073 --enable-dirpicker use wxDirPickerCtrl class
1074 --enable-display use wxDisplay class
1075 --enable-detect_sm use code to detect X11 session manager
1076 --enable-editablebox use wxEditableListBox class
1077 --enable-filepicker use wxFilePickerCtrl class
1078 --enable-fontpicker use wxFontPickerCtrl class
1079 --enable-gauge use wxGauge class
1080 --enable-grid use wxGrid class
1081 --enable-dataviewctrl use wxDataViewCtrl class
1082 --enable-hyperlink use wxHyperlinkCtrl class
1083 --enable-imaglist use wxImageList class
1084 --enable-listbook use wxListbook class
1085 --enable-listbox use wxListBox class
1086 --enable-listctrl use wxListCtrl class
1087 --enable-notebook use wxNotebook class
1088 --enable-odcombobox use wxOwnerDrawnComboBox class
1089 --enable-radiobox use wxRadioBox class
1090 --enable-radiobtn use wxRadioButton class
1091 --enable-sash use wxSashWindow class
1092 --enable-scrollbar use wxScrollBar class and scrollable windows
1093 --enable-searchctrl use wxSearchCtrl class
1094 --enable-slider use wxSlider class
1095 --enable-spinbtn use wxSpinButton class
1096 --enable-spinctrl use wxSpinCtrl class
1097 --enable-splitter use wxSplitterWindow class
1098 --enable-statbmp use wxStaticBitmap class
1099 --enable-statbox use wxStaticBox class
1100 --enable-statline use wxStaticLine class
1101 --enable-stattext use wxStaticText class
1102 --enable-statusbar use wxStatusBar class
1103 --enable-tabdialog use wxTabControl class
1104 --enable-textctrl use wxTextCtrl class
1105 --enable-togglebtn use wxToggleButton class
1106 --enable-toolbar use wxToolBar class
1107 --enable-tbarnative use native wxToolBar class
1108 --enable-treebook use wxTreebook class
1109 --enable-toolbook use wxToolbook class
1110 --enable-treectrl use wxTreeCtrl class
1111 --enable-tipwindow use wxTipWindow class
1112 --enable-popupwin use wxPopUpWindow class
1113 --enable-commondlg use all common dialogs
1114 --enable-aboutdlg use wxAboutBox
1115 --enable-choicedlg use wxChoiceDialog
1116 --enable-coldlg use wxColourDialog
1117 --enable-filedlg use wxFileDialog
1118 --enable-finddlg use wxFindReplaceDialog
1119 --enable-fontdlg use wxFontDialog
1120 --enable-dirdlg use wxDirDialog
1121 --enable-msgdlg use wxMessageDialog
1122 --enable-numberdlg use wxNumberEntryDialog
1123 --enable-splash use wxSplashScreen
1124 --enable-textdlg use wxTextDialog
1125 --enable-tipdlg use startup tips
1126 --enable-progressdlg use wxProgressDialog
1127 --enable-wizarddlg use wxWizard
1128 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1129 --enable-miniframe use wxMiniFrame class
1130 --enable-tooltips use wxToolTip class
1131 --enable-splines use spline drawing code
1132 --enable-mousewheel use mousewheel
1133 --enable-validators use wxValidator and derived classes
1134 --enable-busyinfo use wxBusyInfo
1135 --enable-joystick use wxJoystick
1136 --enable-metafiles use wxMetaFile (Win32 only)
1137 --enable-dragimage use wxDragImage
1138 --enable-accessibility enable accessibility support
1139 --enable-dccache cache temporary wxDC objects (Win32 only)
1140 --enable-palette use wxPalette class
1141 --enable-image use wxImage class
1142 --enable-gif use gif images (GIF file format)
1143 --enable-pcx use pcx images (PCX file format)
1144 --enable-tga use tga images (TGA file format)
1145 --enable-iff use iff images (IFF file format)
1146 --enable-pnm use pnm images (PNM file format)
1147 --enable-xpm use xpm images (XPM file format)
1148 --enable-icocur use Windows ICO and CUR formats
1149 --disable-largefile omit support for large files
1150 --disable-gtktest do not try to compile and run a test GTK+ program
1151 --disable-gtktest Do not try to compile and run a test GTK program
1152 --disable-sdltest Do not try to compile and run a test SDL program
1153 --enable-omf use OMF object format (OS/2)
1154 --disable-dependency-tracking
1155 don't use dependency tracking even if the compiler
1157 --disable-precomp-headers
1158 don't use precompiled headers even if compiler can
1161 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1162 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1163 --without-subdirs don't generate makefiles for samples/demos/...
1164 --with-flavour=NAME specify a name to identify this build
1165 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1166 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1167 --with-motif use Motif/Lesstif
1168 --with-mac use Mac OS X
1169 --with-cocoa use Cocoa
1170 --with-wine use Wine
1171 --with-msw use MS-Windows
1172 --with-pm use OS/2 Presentation Manager
1173 --with-mgl use SciTech MGL
1174 --with-directfb use DirectFB
1175 --with-microwin use MicroWindows
1177 --with-libpng use libpng (PNG image format)
1178 --with-libjpeg use libjpeg (JPEG file format)
1179 --with-libtiff use libtiff (TIFF file format)
1180 --with-libxpm use libxpm (XPM file format)
1181 --with-libmspack use libmspack (CHM help files loading)
1182 --with-sdl use SDL for audio on Unix
1183 --without-gnomeprint don't use GNOME printing libraries
1184 --with-gnomevfs use GNOME VFS for associating MIME types
1185 --with-hildon use Hildon framework for Nokia 770
1186 --with-opengl use OpenGL (or Mesa)
1187 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1188 --with-regex enable support for wxRegEx class
1189 --with-zlib use zlib for LZW compression
1190 --with-odbc use the IODBC and wxODBC classes
1191 --with-expat enable XML support using expat parser
1192 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1193 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1194 --with-x use the X Window System
1195 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1196 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1197 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1198 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1199 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1201 Some influential environment variables:
1202 CC C compiler command
1203 CFLAGS C compiler flags
1204 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1205 nonstandard directory <lib dir>
1206 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1207 headers in a nonstandard directory <include dir>
1209 CXX C++ compiler command
1210 CXXFLAGS C++ compiler flags
1211 PKG_CONFIG path to pkg-config utility
1213 C compiler flags for DIRECTFB, overriding pkg-config
1215 linker flags for DIRECTFB, overriding pkg-config
1217 C compiler flags for PANGOX, overriding pkg-config
1218 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1220 C compiler flags for PANGOFT2, overriding pkg-config
1222 linker flags for PANGOFT2, overriding pkg-config
1224 C compiler flags for PANGOXFT, overriding pkg-config
1226 linker flags for PANGOXFT, overriding pkg-config
1227 LIBGNOMEPRINTUI_CFLAGS
1228 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1229 LIBGNOMEPRINTUI_LIBS
1230 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1232 C compiler flags for GNOMEVFS, overriding pkg-config
1234 linker flags for GNOMEVFS, overriding pkg-config
1236 C compiler flags for HILDON, overriding pkg-config
1237 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1239 C compiler flags for CAIRO, overriding pkg-config
1240 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1241 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1242 GST_LIBS linker flags for GST, overriding pkg-config
1244 Use these variables to override the choices made by `configure' or to help
1245 it to find libraries and programs with nonstandard names/locations.
1247 Report bugs to <wx-dev@lists.wxwidgets.org>.
1251 if test "$ac_init_help" = "recursive"; then
1252 # If there are subdirs, report their specific --help.
1254 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1255 test -d $ac_dir || continue
1258 if test "$ac_dir" != .; then
1259 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1260 # A "../" for each directory in $ac_dir_suffix.
1261 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1263 ac_dir_suffix= ac_top_builddir=
1267 .) # No --srcdir option. We are building in place.
1269 if test -z "$ac_top_builddir"; then
1272 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1274 [\\/]* | ?:[\\/]* ) # Absolute path.
1275 ac_srcdir=$srcdir$ac_dir_suffix;
1276 ac_top_srcdir=$srcdir ;;
1278 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1279 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1282 # Do not use `cd foo && pwd` to compute absolute paths, because
1283 # the directories may not exist.
1285 .) ac_abs_builddir="$ac_dir";;
1288 .) ac_abs_builddir=`pwd`;;
1289 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1290 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1293 case $ac_abs_builddir in
1294 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1296 case ${ac_top_builddir}. in
1297 .) ac_abs_top_builddir=$ac_abs_builddir;;
1298 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1299 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1302 case $ac_abs_builddir in
1303 .) ac_abs_srcdir=$ac_srcdir;;
1306 .) ac_abs_srcdir=$ac_abs_builddir;;
1307 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1308 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1311 case $ac_abs_builddir in
1312 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1314 case $ac_top_srcdir in
1315 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1316 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1317 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1322 # Check for guested configure; otherwise get Cygnus style configure.
1323 if test -f $ac_srcdir/configure.gnu; then
1325 $SHELL $ac_srcdir/configure.gnu --help=recursive
1326 elif test -f $ac_srcdir/configure; then
1328 $SHELL $ac_srcdir/configure --help=recursive
1329 elif test -f $ac_srcdir/configure.ac ||
1330 test -f $ac_srcdir/configure.in; then
1332 $ac_configure --help
1334 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1340 test -n "$ac_init_help" && exit 0
1341 if $ac_init_version; then
1343 wxWidgets configure 2.9.0
1344 generated by GNU Autoconf 2.59
1346 Copyright (C) 2003 Free Software Foundation, Inc.
1347 This configure script is free software; the Free Software Foundation
1348 gives unlimited permission to copy, distribute and modify it.
1354 This file contains any messages produced by compilers while
1355 running configure, to aid debugging if configure makes a mistake.
1357 It was created by wxWidgets $as_me 2.9.0, which was
1358 generated by GNU Autoconf 2.59. Invocation command line was
1369 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1370 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1371 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1372 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1373 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1375 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1376 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1378 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1379 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1380 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1381 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1382 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1383 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1384 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1392 test -z "$as_dir" && as_dir=.
1393 echo "PATH: $as_dir"
1408 # Keep a trace of the command line.
1409 # Strip out --no-create and --no-recursion so they do not pile up.
1410 # Strip out --silent because we don't want to record it for future runs.
1411 # Also quote any args containing shell meta-characters.
1412 # Make two passes to allow for proper duplicate-argument suppression.
1417 ac_must_keep_next=false
1423 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1424 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1425 | -silent | --silent | --silen | --sile | --sil)
1427 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1428 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1431 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1433 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1434 if test $ac_must_keep_next = true; then
1435 ac_must_keep_next=false # Got value, back to normal.
1438 *=* | --config-cache | -C | -disable-* | --disable-* \
1439 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1440 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1441 | -with-* | --with-* | -without-* | --without-* | --x)
1442 case "$ac_configure_args0 " in
1443 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1446 -* ) ac_must_keep_next=true ;;
1449 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1450 # Get rid of the leading space.
1456 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1457 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1459 # When interrupted or exit'd, cleanup temporary files, and complete
1460 # config.log. We remove comments because anyway the quotes in there
1461 # would cause problems or look ugly.
1462 # WARNING: Be sure not to use single quotes in there, as some shells,
1463 # such as our DU 5.0 friend, will then `close' the trap.
1464 trap 'exit_status=$?
1465 # Save into config.log some information that might help in debugging.
1470 ## ---------------- ##
1471 ## Cache variables. ##
1472 ## ---------------- ##
1475 # The following way of writing the cache mishandles newlines in values,
1478 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1481 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1482 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1486 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1493 ## ----------------- ##
1494 ## Output variables. ##
1495 ## ----------------- ##
1498 for ac_var in $ac_subst_vars
1500 eval ac_val=$`echo $ac_var`
1501 echo "$ac_var='"'"'$ac_val'"'"'"
1505 if test -n "$ac_subst_files"; then
1512 for ac_var in $ac_subst_files
1514 eval ac_val=$`echo $ac_var`
1515 echo "$ac_var='"'"'$ac_val'"'"'"
1520 if test -s confdefs.h; then
1527 sed "/^$/d" confdefs.h | sort
1530 test "$ac_signal" != 0 &&
1531 echo "$as_me: caught signal $ac_signal"
1532 echo "$as_me: exit $exit_status"
1534 rm -f core *.core &&
1535 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1538 for ac_signal in 1 2 13 15; do
1539 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1543 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1544 rm -rf conftest* confdefs.h
1545 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1548 # Predefined preprocessor variables.
1550 cat >>confdefs.h <<_ACEOF
1551 #define PACKAGE_NAME "$PACKAGE_NAME"
1555 cat >>confdefs.h <<_ACEOF
1556 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1560 cat >>confdefs.h <<_ACEOF
1561 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1565 cat >>confdefs.h <<_ACEOF
1566 #define PACKAGE_STRING "$PACKAGE_STRING"
1570 cat >>confdefs.h <<_ACEOF
1571 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1575 # Let the site file select an alternate cache file if it wants to.
1576 # Prefer explicitly selected file to automatically selected ones.
1577 if test -z "$CONFIG_SITE"; then
1578 if test "x$prefix" != xNONE; then
1579 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1581 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1584 for ac_site_file in $CONFIG_SITE; do
1585 if test -r "$ac_site_file"; then
1586 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1587 echo "$as_me: loading site script $ac_site_file" >&6;}
1588 sed 's/^/| /' "$ac_site_file" >&5
1593 if test -r "$cache_file"; then
1594 # Some versions of bash will fail to source /dev/null (special
1595 # files actually), so we avoid doing that.
1596 if test -f "$cache_file"; then
1597 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1598 echo "$as_me: loading cache $cache_file" >&6;}
1600 [\\/]* | ?:[\\/]* ) . $cache_file;;
1601 *) . ./$cache_file;;
1605 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1606 echo "$as_me: creating cache $cache_file" >&6;}
1610 # Check that the precious variables saved in the cache have kept the same
1612 ac_cache_corrupted=false
1613 for ac_var in `(set) 2>&1 |
1614 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1615 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1616 eval ac_new_set=\$ac_env_${ac_var}_set
1617 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1618 eval ac_new_val="\$ac_env_${ac_var}_value"
1619 case $ac_old_set,$ac_new_set in
1621 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1622 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1623 ac_cache_corrupted=: ;;
1625 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1626 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1627 ac_cache_corrupted=: ;;
1630 if test "x$ac_old_val" != "x$ac_new_val"; then
1631 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1632 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1633 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1634 echo "$as_me: former value: $ac_old_val" >&2;}
1635 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1636 echo "$as_me: current value: $ac_new_val" >&2;}
1637 ac_cache_corrupted=:
1640 # Pass precious variables to config.status.
1641 if test "$ac_new_set" = set; then
1643 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1644 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1645 *) ac_arg=$ac_var=$ac_new_val ;;
1647 case " $ac_configure_args " in
1648 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1649 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1653 if $ac_cache_corrupted; then
1654 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1655 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1656 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1657 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1658 { (exit 1); exit 1; }; }
1662 ac_cpp='$CPP $CPPFLAGS'
1663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1697 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1698 if test -f $ac_dir/install-sh; then
1700 ac_install_sh="$ac_aux_dir/install-sh -c"
1702 elif test -f $ac_dir/install.sh; then
1704 ac_install_sh="$ac_aux_dir/install.sh -c"
1706 elif test -f $ac_dir/shtool; then
1708 ac_install_sh="$ac_aux_dir/shtool install -c"
1712 if test -z "$ac_aux_dir"; then
1713 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1714 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1715 { (exit 1); exit 1; }; }
1717 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1718 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1719 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1721 # Make sure we can run config.sub.
1722 $ac_config_sub sun4 >/dev/null 2>&1 ||
1723 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1724 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1725 { (exit 1); exit 1; }; }
1727 echo "$as_me:$LINENO: checking build system type" >&5
1728 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1729 if test "${ac_cv_build+set}" = set; then
1730 echo $ECHO_N "(cached) $ECHO_C" >&6
1732 ac_cv_build_alias=$build_alias
1733 test -z "$ac_cv_build_alias" &&
1734 ac_cv_build_alias=`$ac_config_guess`
1735 test -z "$ac_cv_build_alias" &&
1736 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1737 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1738 { (exit 1); exit 1; }; }
1739 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1740 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1741 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1742 { (exit 1); exit 1; }; }
1745 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1746 echo "${ECHO_T}$ac_cv_build" >&6
1748 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1749 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1750 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1753 echo "$as_me:$LINENO: checking host system type" >&5
1754 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1755 if test "${ac_cv_host+set}" = set; then
1756 echo $ECHO_N "(cached) $ECHO_C" >&6
1758 ac_cv_host_alias=$host_alias
1759 test -z "$ac_cv_host_alias" &&
1760 ac_cv_host_alias=$ac_cv_build_alias
1761 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1762 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1763 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1764 { (exit 1); exit 1; }; }
1767 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1768 echo "${ECHO_T}$ac_cv_host" >&6
1770 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1771 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1772 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1775 echo "$as_me:$LINENO: checking target system type" >&5
1776 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1777 if test "${ac_cv_target+set}" = set; then
1778 echo $ECHO_N "(cached) $ECHO_C" >&6
1780 ac_cv_target_alias=$target_alias
1781 test "x$ac_cv_target_alias" = "x" &&
1782 ac_cv_target_alias=$ac_cv_host_alias
1783 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1784 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1785 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1786 { (exit 1); exit 1; }; }
1789 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1790 echo "${ECHO_T}$ac_cv_target" >&6
1791 target=$ac_cv_target
1792 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1793 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1794 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1797 # The aliases save the names the user supplied, while $host etc.
1798 # will get canonicalized.
1799 test -n "$target_alias" &&
1800 test "$program_prefix$program_suffix$program_transform_name" = \
1802 program_prefix=${target_alias}-
1806 wx_major_version_number=2
1807 wx_minor_version_number=9
1809 wx_subrelease_number=0
1811 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1812 WX_VERSION=$WX_RELEASE.$wx_release_number
1813 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1815 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1818 wx_top_builddir="`pwd`"
1831 USE_BSD= USE_DARWIN= USE_FREEBSD=
1837 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1843 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1845 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1847 DEFAULT_wxUSE_COCOA=0
1851 DEFAULT_wxUSE_MICROWIN=0
1852 DEFAULT_wxUSE_MOTIF=0
1858 DEFAULT_DEFAULT_wxUSE_COCOA=0
1859 DEFAULT_DEFAULT_wxUSE_GTK=0
1860 DEFAULT_DEFAULT_wxUSE_MAC=0
1861 DEFAULT_DEFAULT_wxUSE_MGL=0
1862 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1863 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1864 DEFAULT_DEFAULT_wxUSE_MSW=0
1865 DEFAULT_DEFAULT_wxUSE_PM=0
1866 DEFAULT_DEFAULT_wxUSE_X11=0
1867 DEFAULT_DEFAULT_wxUSE_DFB=0
1872 SAMPLES_RPATH_POSTLINK=
1874 DEFAULT_STD_FLAG=yes
1879 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1880 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1882 cat >>confdefs.h <<\_ACEOF
1887 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1891 cat >>confdefs.h <<\_ACEOF
1896 if test "x$TMP" = "xalpha"; then
1898 cat >>confdefs.h <<\_ACEOF
1903 DEFAULT_DEFAULT_wxUSE_GTK=1
1905 *-*-gnu* | *-*-k*bsd*-gnu )
1908 if test "x$TMP" = "xalpha"; then
1910 cat >>confdefs.h <<\_ACEOF
1915 DEFAULT_DEFAULT_wxUSE_GTK=1
1917 *-*-irix5* | *-*-irix6* )
1920 cat >>confdefs.h <<\_ACEOF
1924 cat >>confdefs.h <<\_ACEOF
1928 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1934 cat >>confdefs.h <<\_ACEOF
1938 cat >>confdefs.h <<\_ACEOF
1939 #define __SOLARIS__ 1
1942 cat >>confdefs.h <<\_ACEOF
1946 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1947 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1953 cat >>confdefs.h <<\_ACEOF
1957 cat >>confdefs.h <<\_ACEOF
1961 cat >>confdefs.h <<\_ACEOF
1965 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1970 cat >>confdefs.h <<\_ACEOF
1971 #define __FREEBSD__ 1
1974 cat >>confdefs.h <<\_ACEOF
1978 DEFAULT_DEFAULT_wxUSE_GTK=1
1980 *-*-openbsd*|*-*-mirbsd*)
1983 cat >>confdefs.h <<\_ACEOF
1984 #define __OPENBSD__ 1
1987 cat >>confdefs.h <<\_ACEOF
1991 DEFAULT_DEFAULT_wxUSE_GTK=1
1996 cat >>confdefs.h <<\_ACEOF
1997 #define __NETBSD__ 1
2000 cat >>confdefs.h <<\_ACEOF
2004 DEFAULT_DEFAULT_wxUSE_GTK=1
2005 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2007 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2012 cat >>confdefs.h <<\_ACEOF
2016 cat >>confdefs.h <<\_ACEOF
2020 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2021 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2026 cat >>confdefs.h <<\_ACEOF
2030 cat >>confdefs.h <<\_ACEOF
2034 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2039 cat >>confdefs.h <<\_ACEOF
2043 cat >>confdefs.h <<\_ACEOF
2047 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2054 cat >>confdefs.h <<\_ACEOF
2058 cat >>confdefs.h <<\_ACEOF
2062 cat >>confdefs.h <<\_ACEOF
2066 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2073 cat >>confdefs.h <<\_ACEOF
2074 #define __UNIXWARE__ 1
2079 *-*-cygwin* | *-*-mingw32* )
2082 DEFAULT_DEFAULT_wxUSE_MSW=1
2088 cat >>confdefs.h <<\_ACEOF
2093 DEFAULT_DEFAULT_wxUSE_MGL=1
2096 *-pc-os2_emx | *-pc-os2-emx )
2097 cat >>confdefs.h <<\_ACEOF
2102 cat >>confdefs.h <<\_ACEOF
2107 DEFAULT_DEFAULT_wxUSE_PM=1
2109 LDFLAGS="$LDFLAGS -Zcrtdll"
2110 ac_executable_extensions=".exe"
2111 export ac_executable_extensions
2115 for ac_dir in $PATH; do
2117 if test -z "$ac_TEMP_PATH"; then
2118 ac_TEMP_PATH="$ac_dir"
2120 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2123 export PATH="$ac_TEMP_PATH"
2132 cat >>confdefs.h <<\_ACEOF
2136 cat >>confdefs.h <<\_ACEOF
2137 #define __DARWIN__ 1
2140 cat >>confdefs.h <<\_ACEOF
2141 #define TARGET_CARBON 1
2144 DEFAULT_DEFAULT_wxUSE_MAC=1
2147 powerpc-apple-macos* )
2149 ac_cv_c_bigendian=yes
2151 DEFAULT_DEFAULT_wxUSE_MAC=1
2157 cat >>confdefs.h <<\_ACEOF
2164 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2165 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2166 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2167 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2169 DEFAULT_DEFAULT_wxUSE_X11=1
2170 DEFAULT_wxUSE_SHARED=no
2176 wx_arg_cache_file="configarg.cache"
2177 echo "loading argument cache $wx_arg_cache_file"
2178 rm -f ${wx_arg_cache_file}.tmp
2179 touch ${wx_arg_cache_file}.tmp
2180 touch ${wx_arg_cache_file}
2183 DEFAULT_wxUSE_ALL_FEATURES=yes
2185 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2186 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2188 DEFAULT_wxUSE_UNICODE_UTF8=auto
2189 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2190 DEFAULT_wxUSE_WCSRTOMBS=no
2192 DEFAULT_wxUSE_ACCESSIBILITY=no
2194 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2196 DEFAULT_wxUSE_GTK2=yes
2198 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2201 for toolkit in `echo $ALL_TOOLKITS`; do
2202 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2203 if test "x$LINE" != "x" ; then
2204 has_toolkit_in_cache=1
2205 eval "DEFAULT_$LINE"
2206 eval "CACHE_$toolkit=1"
2208 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2209 if test "x$LINE" != "x" ; then
2210 eval "DEFAULT_$LINE"
2219 enablestring=disable
2221 if test -z"$defaultval"; then
2222 if test x"$enablestring" = xdisable; then
2229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2230 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2232 # Check whether --enable-gui or --disable-gui was given.
2233 if test "${enable_gui+set}" = set; then
2234 enableval="$enable_gui"
2236 if test "$enableval" = yes; then
2237 ac_cv_use_gui='wxUSE_GUI=yes'
2239 ac_cv_use_gui='wxUSE_GUI=no'
2244 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2245 if test "x$LINE" != x ; then
2246 eval "DEFAULT_$LINE"
2251 ac_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2255 eval "$ac_cv_use_gui"
2256 if test "$no_cache" != 1; then
2257 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2260 if test x"$enablestring" = xdisable; then
2261 if test $wxUSE_GUI = yes; then
2270 echo "$as_me:$LINENO: result: $result" >&5
2271 echo "${ECHO_T}$result" >&6
2276 if test -z"$defaultval"; then
2277 if test x"$enablestring" = xdisable; then
2284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2285 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2287 # Check whether --enable-monolithic or --disable-monolithic was given.
2288 if test "${enable_monolithic+set}" = set; then
2289 enableval="$enable_monolithic"
2291 if test "$enableval" = yes; then
2292 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2294 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2299 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
2300 if test "x$LINE" != x ; then
2301 eval "DEFAULT_$LINE"
2306 ac_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
2310 eval "$ac_cv_use_monolithic"
2311 if test "$no_cache" != 1; then
2312 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2315 if test x"$enablestring" = xdisable; then
2316 if test $wxUSE_MONOLITHIC = yes; then
2322 result=$wxUSE_MONOLITHIC
2325 echo "$as_me:$LINENO: result: $result" >&5
2326 echo "${ECHO_T}$result" >&6
2331 if test -z"$defaultval"; then
2332 if test x"$enablestring" = xdisable; then
2339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2340 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2342 # Check whether --enable-plugins or --disable-plugins was given.
2343 if test "${enable_plugins+set}" = set; then
2344 enableval="$enable_plugins"
2346 if test "$enableval" = yes; then
2347 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2349 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2354 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
2355 if test "x$LINE" != x ; then
2356 eval "DEFAULT_$LINE"
2361 ac_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
2365 eval "$ac_cv_use_plugins"
2366 if test "$no_cache" != 1; then
2367 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2370 if test x"$enablestring" = xdisable; then
2371 if test $wxUSE_PLUGINS = yes; then
2377 result=$wxUSE_PLUGINS
2380 echo "$as_me:$LINENO: result: $result" >&5
2381 echo "${ECHO_T}$result" >&6
2385 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2386 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2389 # Check whether --with-subdirs or --without-subdirs was given.
2390 if test "${with_subdirs+set}" = set; then
2391 withval="$with_subdirs"
2393 if test "$withval" = yes; then
2394 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2396 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2401 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
2402 if test "x$LINE" != x ; then
2403 eval "DEFAULT_$LINE"
2408 ac_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$wxUSE_ALL_FEATURES}"
2412 eval "$ac_cv_use_subdirs"
2413 if test "$no_cache" != 1; then
2414 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2417 if test x"$withstring" = xwithout; then
2418 if test $wxWITH_SUBDIRS = yes; then
2424 result=$wxWITH_SUBDIRS
2427 echo "$as_me:$LINENO: result: $result" >&5
2428 echo "${ECHO_T}$result" >&6
2431 # Check whether --with-flavour or --without-flavour was given.
2432 if test "${with_flavour+set}" = set; then
2433 withval="$with_flavour"
2434 WX_FLAVOUR="$withval"
2439 if test -z"$defaultval"; then
2440 if test x"$enablestring" = xdisable; then
2447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
2448 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
2450 # Check whether --enable-official_build or --disable-official_build was given.
2451 if test "${enable_official_build+set}" = set; then
2452 enableval="$enable_official_build"
2454 if test "$enableval" = yes; then
2455 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
2457 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
2462 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
2463 if test "x$LINE" != x ; then
2464 eval "DEFAULT_$LINE"
2469 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
2473 eval "$ac_cv_use_official_build"
2474 if test "$no_cache" != 1; then
2475 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
2478 if test x"$enablestring" = xdisable; then
2479 if test $wxUSE_OFFICIAL_BUILD = yes; then
2485 result=$wxUSE_OFFICIAL_BUILD
2488 echo "$as_me:$LINENO: result: $result" >&5
2489 echo "${ECHO_T}$result" >&6
2491 # Check whether --enable-vendor or --disable-vendor was given.
2492 if test "${enable_vendor+set}" = set; then
2493 enableval="$enable_vendor"
2496 if test "x$VENDOR" = "x"; then
2501 enablestring=disable
2503 if test -z"$defaultval"; then
2504 if test x"$enablestring" = xdisable; then
2511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
2512 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6
2514 # Check whether --enable-all-features or --disable-all-features was given.
2515 if test "${enable_all_features+set}" = set; then
2516 enableval="$enable_all_features"
2518 if test "$enableval" = yes; then
2519 ac_cv_use_all-features='wxUSE_ALL_FEATURES=yes'
2521 ac_cv_use_all-features='wxUSE_ALL_FEATURES=no'
2526 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
2527 if test "x$LINE" != x ; then
2528 eval "DEFAULT_$LINE"
2533 ac_cv_use_all-features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
2537 eval "$ac_cv_use_all-features"
2538 if test "$no_cache" != 1; then
2539 echo $ac_cv_use_all-features >> ${wx_arg_cache_file}.tmp
2542 if test x"$enablestring" = xdisable; then
2543 if test $wxUSE_ALL_FEATURES = yes; then
2549 result=$wxUSE_ALL_FEATURES
2552 echo "$as_me:$LINENO: result: $result" >&5
2553 echo "${ECHO_T}$result" >&6
2557 if test "$wxUSE_GUI" = "yes"; then
2562 if test -z"$defaultval"; then
2563 if test x"$enablestring" = xdisable; then
2570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2571 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2573 # Check whether --enable-universal or --disable-universal was given.
2574 if test "${enable_universal+set}" = set; then
2575 enableval="$enable_universal"
2577 if test "$enableval" = yes; then
2578 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2580 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2585 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
2586 if test "x$LINE" != x ; then
2587 eval "DEFAULT_$LINE"
2592 ac_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
2596 eval "$ac_cv_use_universal"
2597 if test "$no_cache" != 1; then
2598 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2601 if test x"$enablestring" = xdisable; then
2602 if test $wxUSE_UNIVERSAL = yes; then
2608 result=$wxUSE_UNIVERSAL
2611 echo "$as_me:$LINENO: result: $result" >&5
2612 echo "${ECHO_T}$result" >&6
2614 if test "$wxUSE_UNIVERSAL" = "yes"; then
2616 # Check whether --with-themes or --without-themes was given.
2617 if test "${with_themes+set}" = set; then
2618 withval="$with_themes"
2619 wxUNIV_THEMES="$withval"
2624 # Check whether --with-gtk or --without-gtk was given.
2625 if test "${with_gtk+set}" = set; then
2627 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2630 # Check whether --with-motif or --without-motif was given.
2631 if test "${with_motif+set}" = set; then
2632 withval="$with_motif"
2633 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2636 # Check whether --with-mac or --without-mac was given.
2637 if test "${with_mac+set}" = set; then
2639 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2642 # Check whether --with-cocoa or --without-cocoa was given.
2643 if test "${with_cocoa+set}" = set; then
2644 withval="$with_cocoa"
2645 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2648 # Check whether --with-wine or --without-wine was given.
2649 if test "${with_wine+set}" = set; then
2650 withval="$with_wine"
2651 wxUSE_WINE="$withval" CACHE_WINE=1
2654 # Check whether --with-msw or --without-msw was given.
2655 if test "${with_msw+set}" = set; then
2657 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2660 # Check whether --with-pm or --without-pm was given.
2661 if test "${with_pm+set}" = set; then
2663 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2666 # Check whether --with-mgl or --without-mgl was given.
2667 if test "${with_mgl+set}" = set; then
2669 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2672 # Check whether --with-directfb or --without-directfb was given.
2673 if test "${with_directfb+set}" = set; then
2674 withval="$with_directfb"
2675 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2678 # Check whether --with-microwin or --without-microwin was given.
2679 if test "${with_microwin+set}" = set; then
2680 withval="$with_microwin"
2681 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2684 # Check whether --with-x11 or --without-x11 was given.
2685 if test "${with_x11+set}" = set; then
2687 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2692 if test -z"$defaultval"; then
2693 if test x"$enablestring" = xdisable; then
2700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2701 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2703 # Check whether --enable-nanox or --disable-nanox was given.
2704 if test "${enable_nanox+set}" = set; then
2705 enableval="$enable_nanox"
2707 if test "$enableval" = yes; then
2708 ac_cv_use_nanox='wxUSE_NANOX=yes'
2710 ac_cv_use_nanox='wxUSE_NANOX=no'
2715 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
2716 if test "x$LINE" != x ; then
2717 eval "DEFAULT_$LINE"
2722 ac_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
2726 eval "$ac_cv_use_nanox"
2727 if test "$no_cache" != 1; then
2728 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2731 if test x"$enablestring" = xdisable; then
2732 if test $wxUSE_NANOX = yes; then
2741 echo "$as_me:$LINENO: result: $result" >&5
2742 echo "${ECHO_T}$result" >&6
2745 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2746 if test "${enable_gtk2+set}" = set; then
2747 enableval="$enable_gtk2"
2748 wxUSE_GTK2="$enableval"
2753 if test -z"$defaultval"; then
2754 if test x"$enablestring" = xdisable; then
2761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2762 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2764 # Check whether --enable-gpe or --disable-gpe was given.
2765 if test "${enable_gpe+set}" = set; then
2766 enableval="$enable_gpe"
2768 if test "$enableval" = yes; then
2769 ac_cv_use_gpe='wxUSE_GPE=yes'
2771 ac_cv_use_gpe='wxUSE_GPE=no'
2776 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
2777 if test "x$LINE" != x ; then
2778 eval "DEFAULT_$LINE"
2783 ac_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
2787 eval "$ac_cv_use_gpe"
2788 if test "$no_cache" != 1; then
2789 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2792 if test x"$enablestring" = xdisable; then
2793 if test $wxUSE_GPE = yes; then
2802 echo "$as_me:$LINENO: result: $result" >&5
2803 echo "${ECHO_T}$result" >&6
2808 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2809 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2812 # Check whether --with-libpng or --without-libpng was given.
2813 if test "${with_libpng+set}" = set; then
2814 withval="$with_libpng"
2816 if test "$withval" = yes; then
2817 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2818 elif test "$withval" = no; then
2819 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2820 elif test "$withval" = sys; then
2821 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2822 elif test "$withval" = builtin; then
2823 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2825 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2826 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2827 { (exit 1); exit 1; }; }
2832 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
2833 if test "x$LINE" != x ; then
2834 eval "DEFAULT_$LINE"
2839 ac_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
2843 eval "$ac_cv_use_libpng"
2844 if test "$no_cache" != 1; then
2845 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2848 if test "$wxUSE_LIBPNG" = yes; then
2849 echo "$as_me:$LINENO: result: yes" >&5
2850 echo "${ECHO_T}yes" >&6
2851 elif test "$wxUSE_LIBPNG" = no; then
2852 echo "$as_me:$LINENO: result: no" >&5
2853 echo "${ECHO_T}no" >&6
2854 elif test "$wxUSE_LIBPNG" = sys; then
2855 echo "$as_me:$LINENO: result: system version" >&5
2856 echo "${ECHO_T}system version" >&6
2857 elif test "$wxUSE_LIBPNG" = builtin; then
2858 echo "$as_me:$LINENO: result: builtin version" >&5
2859 echo "${ECHO_T}builtin version" >&6
2861 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2862 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2863 { (exit 1); exit 1; }; }
2867 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2868 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2871 # Check whether --with-libjpeg or --without-libjpeg was given.
2872 if test "${with_libjpeg+set}" = set; then
2873 withval="$with_libjpeg"
2875 if test "$withval" = yes; then
2876 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2877 elif test "$withval" = no; then
2878 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2879 elif test "$withval" = sys; then
2880 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2881 elif test "$withval" = builtin; then
2882 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2884 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2885 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2886 { (exit 1); exit 1; }; }
2891 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
2892 if test "x$LINE" != x ; then
2893 eval "DEFAULT_$LINE"
2898 ac_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
2902 eval "$ac_cv_use_libjpeg"
2903 if test "$no_cache" != 1; then
2904 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2907 if test "$wxUSE_LIBJPEG" = yes; then
2908 echo "$as_me:$LINENO: result: yes" >&5
2909 echo "${ECHO_T}yes" >&6
2910 elif test "$wxUSE_LIBJPEG" = no; then
2911 echo "$as_me:$LINENO: result: no" >&5
2912 echo "${ECHO_T}no" >&6
2913 elif test "$wxUSE_LIBJPEG" = sys; then
2914 echo "$as_me:$LINENO: result: system version" >&5
2915 echo "${ECHO_T}system version" >&6
2916 elif test "$wxUSE_LIBJPEG" = builtin; then
2917 echo "$as_me:$LINENO: result: builtin version" >&5
2918 echo "${ECHO_T}builtin version" >&6
2920 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2921 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2922 { (exit 1); exit 1; }; }
2926 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2927 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2930 # Check whether --with-libtiff or --without-libtiff was given.
2931 if test "${with_libtiff+set}" = set; then
2932 withval="$with_libtiff"
2934 if test "$withval" = yes; then
2935 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2936 elif test "$withval" = no; then
2937 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2938 elif test "$withval" = sys; then
2939 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2940 elif test "$withval" = builtin; then
2941 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2943 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2944 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2945 { (exit 1); exit 1; }; }
2950 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
2951 if test "x$LINE" != x ; then
2952 eval "DEFAULT_$LINE"
2957 ac_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
2961 eval "$ac_cv_use_libtiff"
2962 if test "$no_cache" != 1; then
2963 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2966 if test "$wxUSE_LIBTIFF" = yes; then
2967 echo "$as_me:$LINENO: result: yes" >&5
2968 echo "${ECHO_T}yes" >&6
2969 elif test "$wxUSE_LIBTIFF" = no; then
2970 echo "$as_me:$LINENO: result: no" >&5
2971 echo "${ECHO_T}no" >&6
2972 elif test "$wxUSE_LIBTIFF" = sys; then
2973 echo "$as_me:$LINENO: result: system version" >&5
2974 echo "${ECHO_T}system version" >&6
2975 elif test "$wxUSE_LIBTIFF" = builtin; then
2976 echo "$as_me:$LINENO: result: builtin version" >&5
2977 echo "${ECHO_T}builtin version" >&6
2979 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2980 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2981 { (exit 1); exit 1; }; }
2985 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2986 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2989 # Check whether --with-libxpm or --without-libxpm was given.
2990 if test "${with_libxpm+set}" = set; then
2991 withval="$with_libxpm"
2993 if test "$withval" = yes; then
2994 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2995 elif test "$withval" = no; then
2996 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2997 elif test "$withval" = sys; then
2998 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2999 elif test "$withval" = builtin; then
3000 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3002 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3003 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3004 { (exit 1); exit 1; }; }
3009 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3010 if test "x$LINE" != x ; then
3011 eval "DEFAULT_$LINE"
3016 ac_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3020 eval "$ac_cv_use_libxpm"
3021 if test "$no_cache" != 1; then
3022 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3025 if test "$wxUSE_LIBXPM" = yes; then
3026 echo "$as_me:$LINENO: result: yes" >&5
3027 echo "${ECHO_T}yes" >&6
3028 elif test "$wxUSE_LIBXPM" = no; then
3029 echo "$as_me:$LINENO: result: no" >&5
3030 echo "${ECHO_T}no" >&6
3031 elif test "$wxUSE_LIBXPM" = sys; then
3032 echo "$as_me:$LINENO: result: system version" >&5
3033 echo "${ECHO_T}system version" >&6
3034 elif test "$wxUSE_LIBXPM" = builtin; then
3035 echo "$as_me:$LINENO: result: builtin version" >&5
3036 echo "${ECHO_T}builtin version" >&6
3038 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3039 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3040 { (exit 1); exit 1; }; }
3045 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3046 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3049 # Check whether --with-libmspack or --without-libmspack was given.
3050 if test "${with_libmspack+set}" = set; then
3051 withval="$with_libmspack"
3053 if test "$withval" = yes; then
3054 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3056 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3061 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3062 if test "x$LINE" != x ; then
3063 eval "DEFAULT_$LINE"
3068 ac_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$wxUSE_ALL_FEATURES}"
3072 eval "$ac_cv_use_libmspack"
3073 if test "$no_cache" != 1; then
3074 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3077 if test x"$withstring" = xwithout; then
3078 if test $wxUSE_LIBMSPACK = yes; then
3084 result=$wxUSE_LIBMSPACK
3087 echo "$as_me:$LINENO: result: $result" >&5
3088 echo "${ECHO_T}$result" >&6
3092 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3093 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3096 # Check whether --with-sdl or --without-sdl was given.
3097 if test "${with_sdl+set}" = set; then
3100 if test "$withval" = yes; then
3101 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3103 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3108 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
3109 if test "x$LINE" != x ; then
3110 eval "DEFAULT_$LINE"
3115 ac_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$wxUSE_ALL_FEATURES}"
3119 eval "$ac_cv_use_sdl"
3120 if test "$no_cache" != 1; then
3121 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3124 if test x"$withstring" = xwithout; then
3125 if test $wxUSE_LIBSDL = yes; then
3131 result=$wxUSE_LIBSDL
3134 echo "$as_me:$LINENO: result: $result" >&5
3135 echo "${ECHO_T}$result" >&6
3139 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3140 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3143 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3144 if test "${with_gnomeprint+set}" = set; then
3145 withval="$with_gnomeprint"
3147 if test "$withval" = yes; then
3148 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3150 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3155 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3156 if test "x$LINE" != x ; then
3157 eval "DEFAULT_$LINE"
3162 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$wxUSE_ALL_FEATURES}"
3166 eval "$ac_cv_use_gnomeprint"
3167 if test "$no_cache" != 1; then
3168 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3171 if test x"$withstring" = xwithout; then
3172 if test $wxUSE_LIBGNOMEPRINT = yes; then
3178 result=$wxUSE_LIBGNOMEPRINT
3181 echo "$as_me:$LINENO: result: $result" >&5
3182 echo "${ECHO_T}$result" >&6
3186 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3187 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3190 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3191 if test "${with_gnomevfs+set}" = set; then
3192 withval="$with_gnomevfs"
3194 if test "$withval" = yes; then
3195 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3197 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3202 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3203 if test "x$LINE" != x ; then
3204 eval "DEFAULT_$LINE"
3209 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$wxUSE_ALL_FEATURES}"
3213 eval "$ac_cv_use_gnomevfs"
3214 if test "$no_cache" != 1; then
3215 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3218 if test x"$withstring" = xwithout; then
3219 if test $wxUSE_LIBGNOMEVFS = yes; then
3225 result=$wxUSE_LIBGNOMEVFS
3228 echo "$as_me:$LINENO: result: $result" >&5
3229 echo "${ECHO_T}$result" >&6
3233 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3234 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3237 # Check whether --with-hildon or --without-hildon was given.
3238 if test "${with_hildon+set}" = set; then
3239 withval="$with_hildon"
3241 if test "$withval" = yes; then
3242 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3244 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3249 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3250 if test "x$LINE" != x ; then
3251 eval "DEFAULT_$LINE"
3256 ac_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$wxUSE_ALL_FEATURES}"
3260 eval "$ac_cv_use_hildon"
3261 if test "$no_cache" != 1; then
3262 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3265 if test x"$withstring" = xwithout; then
3266 if test $wxUSE_LIBHILDON = yes; then
3272 result=$wxUSE_LIBHILDON
3275 echo "$as_me:$LINENO: result: $result" >&5
3276 echo "${ECHO_T}$result" >&6
3280 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3281 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3284 # Check whether --with-opengl or --without-opengl was given.
3285 if test "${with_opengl+set}" = set; then
3286 withval="$with_opengl"
3288 if test "$withval" = yes; then
3289 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3291 ac_cv_use_opengl='wxUSE_OPENGL=no'
3296 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
3297 if test "x$LINE" != x ; then
3298 eval "DEFAULT_$LINE"
3303 ac_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$wxUSE_ALL_FEATURES}"
3307 eval "$ac_cv_use_opengl"
3308 if test "$no_cache" != 1; then
3309 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3312 if test x"$withstring" = xwithout; then
3313 if test $wxUSE_OPENGL = yes; then
3319 result=$wxUSE_OPENGL
3322 echo "$as_me:$LINENO: result: $result" >&5
3323 echo "${ECHO_T}$result" >&6
3330 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3331 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3334 # Check whether --with-dmalloc or --without-dmalloc was given.
3335 if test "${with_dmalloc+set}" = set; then
3336 withval="$with_dmalloc"
3338 if test "$withval" = yes; then
3339 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3341 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3346 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
3347 if test "x$LINE" != x ; then
3348 eval "DEFAULT_$LINE"
3353 ac_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$wxUSE_ALL_FEATURES}"
3357 eval "$ac_cv_use_dmalloc"
3358 if test "$no_cache" != 1; then
3359 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3362 if test x"$withstring" = xwithout; then
3363 if test $wxUSE_DMALLOC = yes; then
3369 result=$wxUSE_DMALLOC
3372 echo "$as_me:$LINENO: result: $result" >&5
3373 echo "${ECHO_T}$result" >&6
3376 echo "$as_me:$LINENO: checking for --with-regex" >&5
3377 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3380 # Check whether --with-regex or --without-regex was given.
3381 if test "${with_regex+set}" = set; then
3382 withval="$with_regex"
3384 if test "$withval" = yes; then
3385 ac_cv_use_regex='wxUSE_REGEX=yes'
3386 elif test "$withval" = no; then
3387 ac_cv_use_regex='wxUSE_REGEX=no'
3388 elif test "$withval" = sys; then
3389 ac_cv_use_regex='wxUSE_REGEX=sys'
3390 elif test "$withval" = builtin; then
3391 ac_cv_use_regex='wxUSE_REGEX=builtin'
3393 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3394 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3395 { (exit 1); exit 1; }; }
3400 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
3401 if test "x$LINE" != x ; then
3402 eval "DEFAULT_$LINE"
3407 ac_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
3411 eval "$ac_cv_use_regex"
3412 if test "$no_cache" != 1; then
3413 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3416 if test "$wxUSE_REGEX" = yes; then
3417 echo "$as_me:$LINENO: result: yes" >&5
3418 echo "${ECHO_T}yes" >&6
3419 elif test "$wxUSE_REGEX" = no; then
3420 echo "$as_me:$LINENO: result: no" >&5
3421 echo "${ECHO_T}no" >&6
3422 elif test "$wxUSE_REGEX" = sys; then
3423 echo "$as_me:$LINENO: result: system version" >&5
3424 echo "${ECHO_T}system version" >&6
3425 elif test "$wxUSE_REGEX" = builtin; then
3426 echo "$as_me:$LINENO: result: builtin version" >&5
3427 echo "${ECHO_T}builtin version" >&6
3429 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3430 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3431 { (exit 1); exit 1; }; }
3435 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3436 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3439 # Check whether --with-zlib or --without-zlib was given.
3440 if test "${with_zlib+set}" = set; then
3441 withval="$with_zlib"
3443 if test "$withval" = yes; then
3444 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3445 elif test "$withval" = no; then
3446 ac_cv_use_zlib='wxUSE_ZLIB=no'
3447 elif test "$withval" = sys; then
3448 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3449 elif test "$withval" = builtin; then
3450 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3452 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3453 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3454 { (exit 1); exit 1; }; }
3459 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
3460 if test "x$LINE" != x ; then
3461 eval "DEFAULT_$LINE"
3466 ac_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
3470 eval "$ac_cv_use_zlib"
3471 if test "$no_cache" != 1; then
3472 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3475 if test "$wxUSE_ZLIB" = yes; then
3476 echo "$as_me:$LINENO: result: yes" >&5
3477 echo "${ECHO_T}yes" >&6
3478 elif test "$wxUSE_ZLIB" = no; then
3479 echo "$as_me:$LINENO: result: no" >&5
3480 echo "${ECHO_T}no" >&6
3481 elif test "$wxUSE_ZLIB" = sys; then
3482 echo "$as_me:$LINENO: result: system version" >&5
3483 echo "${ECHO_T}system version" >&6
3484 elif test "$wxUSE_ZLIB" = builtin; then
3485 echo "$as_me:$LINENO: result: builtin version" >&5
3486 echo "${ECHO_T}builtin version" >&6
3488 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3489 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3490 { (exit 1); exit 1; }; }
3494 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3495 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3498 # Check whether --with-odbc or --without-odbc was given.
3499 if test "${with_odbc+set}" = set; then
3500 withval="$with_odbc"
3502 if test "$withval" = yes; then
3503 ac_cv_use_odbc='wxUSE_ODBC=yes'
3504 elif test "$withval" = no; then
3505 ac_cv_use_odbc='wxUSE_ODBC=no'
3506 elif test "$withval" = sys; then
3507 ac_cv_use_odbc='wxUSE_ODBC=sys'
3508 elif test "$withval" = builtin; then
3509 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3511 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3512 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3513 { (exit 1); exit 1; }; }
3518 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
3519 if test "x$LINE" != x ; then
3520 eval "DEFAULT_$LINE"
3525 ac_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
3529 eval "$ac_cv_use_odbc"
3530 if test "$no_cache" != 1; then
3531 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3534 if test "$wxUSE_ODBC" = yes; then
3535 echo "$as_me:$LINENO: result: yes" >&5
3536 echo "${ECHO_T}yes" >&6
3537 elif test "$wxUSE_ODBC" = no; then
3538 echo "$as_me:$LINENO: result: no" >&5
3539 echo "${ECHO_T}no" >&6
3540 elif test "$wxUSE_ODBC" = sys; then
3541 echo "$as_me:$LINENO: result: system version" >&5
3542 echo "${ECHO_T}system version" >&6
3543 elif test "$wxUSE_ODBC" = builtin; then
3544 echo "$as_me:$LINENO: result: builtin version" >&5
3545 echo "${ECHO_T}builtin version" >&6
3547 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3548 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3549 { (exit 1); exit 1; }; }
3553 echo "$as_me:$LINENO: checking for --with-expat" >&5
3554 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3557 # Check whether --with-expat or --without-expat was given.
3558 if test "${with_expat+set}" = set; then
3559 withval="$with_expat"
3561 if test "$withval" = yes; then
3562 ac_cv_use_expat='wxUSE_EXPAT=yes'
3563 elif test "$withval" = no; then
3564 ac_cv_use_expat='wxUSE_EXPAT=no'
3565 elif test "$withval" = sys; then
3566 ac_cv_use_expat='wxUSE_EXPAT=sys'
3567 elif test "$withval" = builtin; then
3568 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3570 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3571 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3572 { (exit 1); exit 1; }; }
3577 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
3578 if test "x$LINE" != x ; then
3579 eval "DEFAULT_$LINE"
3584 ac_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
3588 eval "$ac_cv_use_expat"
3589 if test "$no_cache" != 1; then
3590 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3593 if test "$wxUSE_EXPAT" = yes; then
3594 echo "$as_me:$LINENO: result: yes" >&5
3595 echo "${ECHO_T}yes" >&6
3596 elif test "$wxUSE_EXPAT" = no; then
3597 echo "$as_me:$LINENO: result: no" >&5
3598 echo "${ECHO_T}no" >&6
3599 elif test "$wxUSE_EXPAT" = sys; then
3600 echo "$as_me:$LINENO: result: system version" >&5
3601 echo "${ECHO_T}system version" >&6
3602 elif test "$wxUSE_EXPAT" = builtin; then
3603 echo "$as_me:$LINENO: result: builtin version" >&5
3604 echo "${ECHO_T}builtin version" >&6
3606 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3607 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3608 { (exit 1); exit 1; }; }
3614 enablestring=disable
3616 if test -z"$defaultval"; then
3617 if test x"$enablestring" = xdisable; then
3624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3625 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3627 # Check whether --enable-shared or --disable-shared was given.
3628 if test "${enable_shared+set}" = set; then
3629 enableval="$enable_shared"
3631 if test "$enableval" = yes; then
3632 ac_cv_use_shared='wxUSE_SHARED=yes'
3634 ac_cv_use_shared='wxUSE_SHARED=no'
3639 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
3640 if test "x$LINE" != x ; then
3641 eval "DEFAULT_$LINE"
3646 ac_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
3650 eval "$ac_cv_use_shared"
3651 if test "$no_cache" != 1; then
3652 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3655 if test x"$enablestring" = xdisable; then
3656 if test $wxUSE_SHARED = yes; then
3662 result=$wxUSE_SHARED
3665 echo "$as_me:$LINENO: result: $result" >&5
3666 echo "${ECHO_T}$result" >&6
3671 if test -z"$defaultval"; then
3672 if test x"$enablestring" = xdisable; then
3679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3680 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3682 # Check whether --enable-optimise or --disable-optimise was given.
3683 if test "${enable_optimise+set}" = set; then
3684 enableval="$enable_optimise"
3686 if test "$enableval" = yes; then
3687 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3689 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3694 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
3695 if test "x$LINE" != x ; then
3696 eval "DEFAULT_$LINE"
3701 ac_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
3705 eval "$ac_cv_use_optimise"
3706 if test "$no_cache" != 1; then
3707 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3710 if test x"$enablestring" = xdisable; then
3711 if test $wxUSE_OPTIMISE = yes; then
3717 result=$wxUSE_OPTIMISE
3720 echo "$as_me:$LINENO: result: $result" >&5
3721 echo "${ECHO_T}$result" >&6
3726 if test -z"$defaultval"; then
3727 if test x"$enablestring" = xdisable; then
3734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3735 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3737 # Check whether --enable-debug or --disable-debug was given.
3738 if test "${enable_debug+set}" = set; then
3739 enableval="$enable_debug"
3741 if test "$enableval" = yes; then
3742 ac_cv_use_debug='wxUSE_DEBUG=yes'
3744 ac_cv_use_debug='wxUSE_DEBUG=no'
3749 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
3750 if test "x$LINE" != x ; then
3751 eval "DEFAULT_$LINE"
3756 ac_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
3760 eval "$ac_cv_use_debug"
3761 if test "$no_cache" != 1; then
3762 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3765 if test x"$enablestring" = xdisable; then
3766 if test $wxUSE_DEBUG = yes; then
3775 echo "$as_me:$LINENO: result: $result" >&5
3776 echo "${ECHO_T}$result" >&6
3781 if test -z"$defaultval"; then
3782 if test x"$enablestring" = xdisable; then
3789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3790 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3792 # Check whether --enable-stl or --disable-stl was given.
3793 if test "${enable_stl+set}" = set; then
3794 enableval="$enable_stl"
3796 if test "$enableval" = yes; then
3797 ac_cv_use_stl='wxUSE_STL=yes'
3799 ac_cv_use_stl='wxUSE_STL=no'
3804 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
3805 if test "x$LINE" != x ; then
3806 eval "DEFAULT_$LINE"
3811 ac_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
3815 eval "$ac_cv_use_stl"
3816 if test "$no_cache" != 1; then
3817 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3820 if test x"$enablestring" = xdisable; then
3821 if test $wxUSE_STL = yes; then
3830 echo "$as_me:$LINENO: result: $result" >&5
3831 echo "${ECHO_T}$result" >&6
3836 if test -z"$defaultval"; then
3837 if test x"$enablestring" = xdisable; then
3844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
3845 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
3847 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3848 if test "${enable_std_iostreams+set}" = set; then
3849 enableval="$enable_std_iostreams"
3851 if test "$enableval" = yes; then
3852 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
3854 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
3859 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
3860 if test "x$LINE" != x ; then
3861 eval "DEFAULT_$LINE"
3866 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
3870 eval "$ac_cv_use_std_iostreams"
3871 if test "$no_cache" != 1; then
3872 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3875 if test x"$enablestring" = xdisable; then
3876 if test $wxUSE_STD_IOSTREAM = yes; then
3882 result=$wxUSE_STD_IOSTREAM
3885 echo "$as_me:$LINENO: result: $result" >&5
3886 echo "${ECHO_T}$result" >&6
3891 if test -z"$defaultval"; then
3892 if test x"$enablestring" = xdisable; then
3899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
3900 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
3902 # Check whether --enable-std_string or --disable-std_string was given.
3903 if test "${enable_std_string+set}" = set; then
3904 enableval="$enable_std_string"
3906 if test "$enableval" = yes; then
3907 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
3909 ac_cv_use_std_string='wxUSE_STD_STRING=no'
3914 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
3915 if test "x$LINE" != x ; then
3916 eval "DEFAULT_$LINE"
3921 ac_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
3925 eval "$ac_cv_use_std_string"
3926 if test "$no_cache" != 1; then
3927 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
3930 if test x"$enablestring" = xdisable; then
3931 if test $wxUSE_STD_STRING = yes; then
3937 result=$wxUSE_STD_STRING
3940 echo "$as_me:$LINENO: result: $result" >&5
3941 echo "${ECHO_T}$result" >&6
3944 enablestring=disable
3946 if test -z"$defaultval"; then
3947 if test x"$enablestring" = xdisable; then
3954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
3955 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
3957 # Check whether --enable-unicode or --disable-unicode was given.
3958 if test "${enable_unicode+set}" = set; then
3959 enableval="$enable_unicode"
3961 if test "$enableval" = yes; then
3962 ac_cv_use_unicode='wxUSE_UNICODE=yes'
3964 ac_cv_use_unicode='wxUSE_UNICODE=no'
3969 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
3970 if test "x$LINE" != x ; then
3971 eval "DEFAULT_$LINE"
3976 ac_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
3980 eval "$ac_cv_use_unicode"
3981 if test "$no_cache" != 1; then
3982 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3985 if test x"$enablestring" = xdisable; then
3986 if test $wxUSE_UNICODE = yes; then
3992 result=$wxUSE_UNICODE
3995 echo "$as_me:$LINENO: result: $result" >&5
3996 echo "${ECHO_T}$result" >&6
4001 if test -z"$defaultval"; then
4002 if test x"$enablestring" = xdisable; then
4009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4010 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
4012 # Check whether --enable-mslu or --disable-mslu was given.
4013 if test "${enable_mslu+set}" = set; then
4014 enableval="$enable_mslu"
4016 if test "$enableval" = yes; then
4017 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4019 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4024 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4025 if test "x$LINE" != x ; then
4026 eval "DEFAULT_$LINE"
4031 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4035 eval "$ac_cv_use_mslu"
4036 if test "$no_cache" != 1; then
4037 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4040 if test x"$enablestring" = xdisable; then
4041 if test $wxUSE_UNICODE_MSLU = yes; then
4047 result=$wxUSE_UNICODE_MSLU
4050 echo "$as_me:$LINENO: result: $result" >&5
4051 echo "${ECHO_T}$result" >&6
4055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4056 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6
4058 # Check whether --enable-utf8 or --disable-utf8 was given.
4059 if test "${enable_utf8+set}" = set; then
4060 enableval="$enable_utf8"
4062 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4066 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4067 if test "x$LINE" != x ; then
4068 eval "DEFAULT_$LINE"
4073 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4077 eval "$wx_cv_use_utf8"
4078 if test "$no_cache" != 1; then
4079 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
4082 echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4083 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6
4088 if test -z"$defaultval"; then
4089 if test x"$enablestring" = xdisable; then
4096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4097 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6
4099 # Check whether --enable-utf8only or --disable-utf8only was given.
4100 if test "${enable_utf8only+set}" = set; then
4101 enableval="$enable_utf8only"
4103 if test "$enableval" = yes; then
4104 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4106 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4111 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4112 if test "x$LINE" != x ; then
4113 eval "DEFAULT_$LINE"
4118 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4122 eval "$ac_cv_use_utf8only"
4123 if test "$no_cache" != 1; then
4124 echo $ac_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
4127 if test x"$enablestring" = xdisable; then
4128 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4134 result=$wxUSE_UNICODE_UTF8_LOCALE
4137 echo "$as_me:$LINENO: result: $result" >&5
4138 echo "${ECHO_T}$result" >&6
4143 if test -z"$defaultval"; then
4144 if test x"$enablestring" = xdisable; then
4151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4152 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6
4154 # Check whether --enable-extended_rtti or --disable-extended_rtti was given.
4155 if test "${enable_extended_rtti+set}" = set; then
4156 enableval="$enable_extended_rtti"
4158 if test "$enableval" = yes; then
4159 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4161 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4166 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4167 if test "x$LINE" != x ; then
4168 eval "DEFAULT_$LINE"
4173 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4177 eval "$ac_cv_use_extended_rtti"
4178 if test "$no_cache" != 1; then
4179 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4182 if test x"$enablestring" = xdisable; then
4183 if test $wxUSE_EXTENDED_RTTI = yes; then
4189 result=$wxUSE_EXTENDED_RTTI
4192 echo "$as_me:$LINENO: result: $result" >&5
4193 echo "${ECHO_T}$result" >&6
4195 if test "$USE_OS2" = "1"; then
4196 DEFAULT_wxUSE_OMF=no
4200 if test -z"$defaultval"; then
4201 if test x"$enablestring" = xdisable; then
4208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4209 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
4211 # Check whether --enable-omf or --disable-omf was given.
4212 if test "${enable_omf+set}" = set; then
4213 enableval="$enable_omf"
4215 if test "$enableval" = yes; then
4216 ac_cv_use_omf='wxUSE_OMF=yes'
4218 ac_cv_use_omf='wxUSE_OMF=no'
4223 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4224 if test "x$LINE" != x ; then
4225 eval "DEFAULT_$LINE"
4230 ac_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4234 eval "$ac_cv_use_omf"
4235 if test "$no_cache" != 1; then
4236 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4239 if test x"$enablestring" = xdisable; then
4240 if test $wxUSE_OMF = yes; then
4249 echo "$as_me:$LINENO: result: $result" >&5
4250 echo "${ECHO_T}$result" >&6
4254 if test "$wxUSE_DEBUG" = "yes"; then
4255 DEFAULT_wxUSE_DEBUG_FLAG=yes
4256 DEFAULT_wxUSE_DEBUG_INFO=yes
4258 elif test "$wxUSE_DEBUG" = "no"; then
4259 DEFAULT_wxUSE_DEBUG_FLAG=no
4260 DEFAULT_wxUSE_DEBUG_INFO=no
4267 if test -z"$defaultval"; then
4268 if test x"$enablestring" = xdisable; then
4275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4276 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4278 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4279 if test "${enable_debug_flag+set}" = set; then
4280 enableval="$enable_debug_flag"
4282 if test "$enableval" = yes; then
4283 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4285 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4290 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
4291 if test "x$LINE" != x ; then
4292 eval "DEFAULT_$LINE"
4297 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4301 eval "$ac_cv_use_debug_flag"
4302 if test "$no_cache" != 1; then
4303 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4306 if test x"$enablestring" = xdisable; then
4307 if test $wxUSE_DEBUG_FLAG = yes; then
4313 result=$wxUSE_DEBUG_FLAG
4316 echo "$as_me:$LINENO: result: $result" >&5
4317 echo "${ECHO_T}$result" >&6
4322 if test -z"$defaultval"; then
4323 if test x"$enablestring" = xdisable; then
4330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4331 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4333 # Check whether --enable-debug_info or --disable-debug_info was given.
4334 if test "${enable_debug_info+set}" = set; then
4335 enableval="$enable_debug_info"
4337 if test "$enableval" = yes; then
4338 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4340 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4345 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
4346 if test "x$LINE" != x ; then
4347 eval "DEFAULT_$LINE"
4352 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4356 eval "$ac_cv_use_debug_info"
4357 if test "$no_cache" != 1; then
4358 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4361 if test x"$enablestring" = xdisable; then
4362 if test $wxUSE_DEBUG_INFO = yes; then
4368 result=$wxUSE_DEBUG_INFO
4371 echo "$as_me:$LINENO: result: $result" >&5
4372 echo "${ECHO_T}$result" >&6
4377 if test -z"$defaultval"; then
4378 if test x"$enablestring" = xdisable; then
4385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4386 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4388 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4389 if test "${enable_debug_gdb+set}" = set; then
4390 enableval="$enable_debug_gdb"
4392 if test "$enableval" = yes; then
4393 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4395 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4400 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
4401 if test "x$LINE" != x ; then
4402 eval "DEFAULT_$LINE"
4407 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4411 eval "$ac_cv_use_debug_gdb"
4412 if test "$no_cache" != 1; then
4413 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4416 if test x"$enablestring" = xdisable; then
4417 if test $wxUSE_DEBUG_GDB = yes; then
4423 result=$wxUSE_DEBUG_GDB
4426 echo "$as_me:$LINENO: result: $result" >&5
4427 echo "${ECHO_T}$result" >&6
4432 if test -z"$defaultval"; then
4433 if test x"$enablestring" = xdisable; then
4440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4441 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4443 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4444 if test "${enable_debug_cntxt+set}" = set; then
4445 enableval="$enable_debug_cntxt"
4447 if test "$enableval" = yes; then
4448 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4450 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4455 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
4456 if test "x$LINE" != x ; then
4457 eval "DEFAULT_$LINE"
4462 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4466 eval "$ac_cv_use_debug_cntxt"
4467 if test "$no_cache" != 1; then
4468 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4471 if test x"$enablestring" = xdisable; then
4472 if test $wxUSE_DEBUG_CONTEXT = yes; then
4478 result=$wxUSE_DEBUG_CONTEXT
4481 echo "$as_me:$LINENO: result: $result" >&5
4482 echo "${ECHO_T}$result" >&6
4487 if test -z"$defaultval"; then
4488 if test x"$enablestring" = xdisable; then
4495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4496 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4498 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4499 if test "${enable_mem_tracing+set}" = set; then
4500 enableval="$enable_mem_tracing"
4502 if test "$enableval" = yes; then
4503 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4505 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4510 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
4511 if test "x$LINE" != x ; then
4512 eval "DEFAULT_$LINE"
4517 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4521 eval "$ac_cv_use_mem_tracing"
4522 if test "$no_cache" != 1; then
4523 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4526 if test x"$enablestring" = xdisable; then
4527 if test $wxUSE_MEM_TRACING = yes; then
4533 result=$wxUSE_MEM_TRACING
4536 echo "$as_me:$LINENO: result: $result" >&5
4537 echo "${ECHO_T}$result" >&6
4542 if test -z"$defaultval"; then
4543 if test x"$enablestring" = xdisable; then
4550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4551 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4553 # Check whether --enable-profile or --disable-profile was given.
4554 if test "${enable_profile+set}" = set; then
4555 enableval="$enable_profile"
4557 if test "$enableval" = yes; then
4558 ac_cv_use_profile='wxUSE_PROFILE=yes'
4560 ac_cv_use_profile='wxUSE_PROFILE=no'
4565 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
4566 if test "x$LINE" != x ; then
4567 eval "DEFAULT_$LINE"
4572 ac_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
4576 eval "$ac_cv_use_profile"
4577 if test "$no_cache" != 1; then
4578 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4581 if test x"$enablestring" = xdisable; then
4582 if test $wxUSE_PROFILE = yes; then
4588 result=$wxUSE_PROFILE
4591 echo "$as_me:$LINENO: result: $result" >&5
4592 echo "${ECHO_T}$result" >&6
4597 if test -z"$defaultval"; then
4598 if test x"$enablestring" = xdisable; then
4605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4606 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4608 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4609 if test "${enable_no_rtti+set}" = set; then
4610 enableval="$enable_no_rtti"
4612 if test "$enableval" = yes; then
4613 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4615 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4620 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
4621 if test "x$LINE" != x ; then
4622 eval "DEFAULT_$LINE"
4627 ac_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
4631 eval "$ac_cv_use_no_rtti"
4632 if test "$no_cache" != 1; then
4633 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4636 if test x"$enablestring" = xdisable; then
4637 if test $wxUSE_NO_RTTI = yes; then
4643 result=$wxUSE_NO_RTTI
4646 echo "$as_me:$LINENO: result: $result" >&5
4647 echo "${ECHO_T}$result" >&6
4652 if test -z"$defaultval"; then
4653 if test x"$enablestring" = xdisable; then
4660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4661 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4663 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4664 if test "${enable_no_exceptions+set}" = set; then
4665 enableval="$enable_no_exceptions"
4667 if test "$enableval" = yes; then
4668 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4670 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4675 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
4676 if test "x$LINE" != x ; then
4677 eval "DEFAULT_$LINE"
4682 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
4686 eval "$ac_cv_use_no_exceptions"
4687 if test "$no_cache" != 1; then
4688 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4691 if test x"$enablestring" = xdisable; then
4692 if test $wxUSE_NO_EXCEPTIONS = yes; then
4698 result=$wxUSE_NO_EXCEPTIONS
4701 echo "$as_me:$LINENO: result: $result" >&5
4702 echo "${ECHO_T}$result" >&6
4707 if test -z"$defaultval"; then
4708 if test x"$enablestring" = xdisable; then
4715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4716 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4718 # Check whether --enable-permissive or --disable-permissive was given.
4719 if test "${enable_permissive+set}" = set; then
4720 enableval="$enable_permissive"
4722 if test "$enableval" = yes; then
4723 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4725 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4730 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
4731 if test "x$LINE" != x ; then
4732 eval "DEFAULT_$LINE"
4737 ac_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
4741 eval "$ac_cv_use_permissive"
4742 if test "$no_cache" != 1; then
4743 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4746 if test x"$enablestring" = xdisable; then
4747 if test $wxUSE_PERMISSIVE = yes; then
4753 result=$wxUSE_PERMISSIVE
4756 echo "$as_me:$LINENO: result: $result" >&5
4757 echo "${ECHO_T}$result" >&6
4762 if test -z"$defaultval"; then
4763 if test x"$enablestring" = xdisable; then
4770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4771 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4773 # Check whether --enable-no_deps or --disable-no_deps was given.
4774 if test "${enable_no_deps+set}" = set; then
4775 enableval="$enable_no_deps"
4777 if test "$enableval" = yes; then
4778 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4780 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4785 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
4786 if test "x$LINE" != x ; then
4787 eval "DEFAULT_$LINE"
4792 ac_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
4796 eval "$ac_cv_use_no_deps"
4797 if test "$no_cache" != 1; then
4798 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4801 if test x"$enablestring" = xdisable; then
4802 if test $wxUSE_NO_DEPS = yes; then
4808 result=$wxUSE_NO_DEPS
4811 echo "$as_me:$LINENO: result: $result" >&5
4812 echo "${ECHO_T}$result" >&6
4815 enablestring=disable
4817 if test -z"$defaultval"; then
4818 if test x"$enablestring" = xdisable; then
4825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
4826 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6
4828 # Check whether --enable-vararg_macros or --disable-vararg_macros was given.
4829 if test "${enable_vararg_macros+set}" = set; then
4830 enableval="$enable_vararg_macros"
4832 if test "$enableval" = yes; then
4833 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
4835 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
4840 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
4841 if test "x$LINE" != x ; then
4842 eval "DEFAULT_$LINE"
4847 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
4851 eval "$ac_cv_use_vararg_macros"
4852 if test "$no_cache" != 1; then
4853 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
4856 if test x"$enablestring" = xdisable; then
4857 if test $wxUSE_VARARG_MACROS = yes; then
4863 result=$wxUSE_VARARG_MACROS
4866 echo "$as_me:$LINENO: result: $result" >&5
4867 echo "${ECHO_T}$result" >&6
4871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4872 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4874 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4875 if test "${enable_universal_binary+set}" = set; then
4876 enableval="$enable_universal_binary"
4878 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4882 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
4883 if test "x$LINE" != x ; then
4884 eval "DEFAULT_$LINE"
4889 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4893 eval "$wx_cv_use_universal_binary"
4894 if test "$no_cache" != 1; then
4895 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4898 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4899 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4905 if test -z"$defaultval"; then
4906 if test x"$enablestring" = xdisable; then
4913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4914 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4916 # Check whether --enable-compat26 or --disable-compat26 was given.
4917 if test "${enable_compat26+set}" = set; then
4918 enableval="$enable_compat26"
4920 if test "$enableval" = yes; then
4921 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4923 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4928 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
4929 if test "x$LINE" != x ; then
4930 eval "DEFAULT_$LINE"
4935 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
4939 eval "$ac_cv_use_compat26"
4940 if test "$no_cache" != 1; then
4941 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4944 if test x"$enablestring" = xdisable; then
4945 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
4951 result=$WXWIN_COMPATIBILITY_2_6
4954 echo "$as_me:$LINENO: result: $result" >&5
4955 echo "${ECHO_T}$result" >&6
4958 enablestring=disable
4960 if test -z"$defaultval"; then
4961 if test x"$enablestring" = xdisable; then
4968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
4969 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6
4971 # Check whether --enable-compat28 or --disable-compat28 was given.
4972 if test "${enable_compat28+set}" = set; then
4973 enableval="$enable_compat28"
4975 if test "$enableval" = yes; then
4976 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
4978 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
4983 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
4984 if test "x$LINE" != x ; then
4985 eval "DEFAULT_$LINE"
4990 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
4994 eval "$ac_cv_use_compat28"
4995 if test "$no_cache" != 1; then
4996 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
4999 if test x"$enablestring" = xdisable; then
5000 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5006 result=$WXWIN_COMPATIBILITY_2_8
5009 echo "$as_me:$LINENO: result: $result" >&5
5010 echo "${ECHO_T}$result" >&6
5014 enablestring=disable
5016 if test -z"$defaultval"; then
5017 if test x"$enablestring" = xdisable; then
5024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5025 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
5027 # Check whether --enable-rpath or --disable-rpath was given.
5028 if test "${enable_rpath+set}" = set; then
5029 enableval="$enable_rpath"
5031 if test "$enableval" = yes; then
5032 ac_cv_use_rpath='wxUSE_RPATH=yes'
5034 ac_cv_use_rpath='wxUSE_RPATH=no'
5039 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5040 if test "x$LINE" != x ; then
5041 eval "DEFAULT_$LINE"
5046 ac_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5050 eval "$ac_cv_use_rpath"
5051 if test "$no_cache" != 1; then
5052 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5055 if test x"$enablestring" = xdisable; then
5056 if test $wxUSE_RPATH = yes; then
5065 echo "$as_me:$LINENO: result: $result" >&5
5066 echo "${ECHO_T}$result" >&6
5072 if test -z"$defaultval"; then
5073 if test x"$enablestring" = xdisable; then
5080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5081 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6
5083 # Check whether --enable-objc_uniquifying or --disable-objc_uniquifying was given.
5084 if test "${enable_objc_uniquifying+set}" = set; then
5085 enableval="$enable_objc_uniquifying"
5087 if test "$enableval" = yes; then
5088 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5090 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5095 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5096 if test "x$LINE" != x ; then
5097 eval "DEFAULT_$LINE"
5102 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5106 eval "$ac_cv_use_objc_uniquifying"
5107 if test "$no_cache" != 1; then
5108 echo $ac_cv_use_objc_uniquifying >> ${wx_arg_cache_file}.tmp
5111 if test x"$enablestring" = xdisable; then
5112 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5118 result=$wxUSE_OBJC_UNIQUIFYING
5121 echo "$as_me:$LINENO: result: $result" >&5
5122 echo "${ECHO_T}$result" >&6
5128 defaultval=$wxUSE_ALL_FEATURES
5129 if test -z"$defaultval"; then
5130 if test x"$enablestring" = xdisable; then
5137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5138 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
5140 # Check whether --enable-intl or --disable-intl was given.
5141 if test "${enable_intl+set}" = set; then
5142 enableval="$enable_intl"
5144 if test "$enableval" = yes; then
5145 ac_cv_use_intl='wxUSE_INTL=yes'
5147 ac_cv_use_intl='wxUSE_INTL=no'
5152 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5153 if test "x$LINE" != x ; then
5154 eval "DEFAULT_$LINE"
5159 ac_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5163 eval "$ac_cv_use_intl"
5164 if test "$no_cache" != 1; then
5165 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5168 if test x"$enablestring" = xdisable; then
5169 if test $wxUSE_INTL = yes; then
5178 echo "$as_me:$LINENO: result: $result" >&5
5179 echo "${ECHO_T}$result" >&6
5183 defaultval=$wxUSE_ALL_FEATURES
5184 if test -z"$defaultval"; then
5185 if test x"$enablestring" = xdisable; then
5192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5193 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
5195 # Check whether --enable-config or --disable-config was given.
5196 if test "${enable_config+set}" = set; then
5197 enableval="$enable_config"
5199 if test "$enableval" = yes; then
5200 ac_cv_use_config='wxUSE_CONFIG=yes'
5202 ac_cv_use_config='wxUSE_CONFIG=no'
5207 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
5208 if test "x$LINE" != x ; then
5209 eval "DEFAULT_$LINE"
5214 ac_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5218 eval "$ac_cv_use_config"
5219 if test "$no_cache" != 1; then
5220 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5223 if test x"$enablestring" = xdisable; then
5224 if test $wxUSE_CONFIG = yes; then
5230 result=$wxUSE_CONFIG
5233 echo "$as_me:$LINENO: result: $result" >&5
5234 echo "${ECHO_T}$result" >&6
5239 defaultval=$wxUSE_ALL_FEATURES
5240 if test -z"$defaultval"; then
5241 if test x"$enablestring" = xdisable; then
5248 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5249 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
5251 # Check whether --enable-protocols or --disable-protocols was given.
5252 if test "${enable_protocols+set}" = set; then
5253 enableval="$enable_protocols"
5255 if test "$enableval" = yes; then
5256 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5258 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5263 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
5264 if test "x$LINE" != x ; then
5265 eval "DEFAULT_$LINE"
5270 ac_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5274 eval "$ac_cv_use_protocols"
5275 if test "$no_cache" != 1; then
5276 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5279 if test x"$enablestring" = xdisable; then
5280 if test $wxUSE_PROTOCOL = yes; then
5286 result=$wxUSE_PROTOCOL
5289 echo "$as_me:$LINENO: result: $result" >&5
5290 echo "${ECHO_T}$result" >&6
5294 defaultval=$wxUSE_ALL_FEATURES
5295 if test -z"$defaultval"; then
5296 if test x"$enablestring" = xdisable; then
5303 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5304 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
5306 # Check whether --enable-ftp or --disable-ftp was given.
5307 if test "${enable_ftp+set}" = set; then
5308 enableval="$enable_ftp"
5310 if test "$enableval" = yes; then
5311 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5313 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5318 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
5319 if test "x$LINE" != x ; then
5320 eval "DEFAULT_$LINE"
5325 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5329 eval "$ac_cv_use_ftp"
5330 if test "$no_cache" != 1; then
5331 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5334 if test x"$enablestring" = xdisable; then
5335 if test $wxUSE_PROTOCOL_FTP = yes; then
5341 result=$wxUSE_PROTOCOL_FTP
5344 echo "$as_me:$LINENO: result: $result" >&5
5345 echo "${ECHO_T}$result" >&6
5349 defaultval=$wxUSE_ALL_FEATURES
5350 if test -z"$defaultval"; then
5351 if test x"$enablestring" = xdisable; then
5358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5359 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
5361 # Check whether --enable-http or --disable-http was given.
5362 if test "${enable_http+set}" = set; then
5363 enableval="$enable_http"
5365 if test "$enableval" = yes; then
5366 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5368 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5373 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
5374 if test "x$LINE" != x ; then
5375 eval "DEFAULT_$LINE"
5380 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5384 eval "$ac_cv_use_http"
5385 if test "$no_cache" != 1; then
5386 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5389 if test x"$enablestring" = xdisable; then
5390 if test $wxUSE_PROTOCOL_HTTP = yes; then
5396 result=$wxUSE_PROTOCOL_HTTP
5399 echo "$as_me:$LINENO: result: $result" >&5
5400 echo "${ECHO_T}$result" >&6
5404 defaultval=$wxUSE_ALL_FEATURES
5405 if test -z"$defaultval"; then
5406 if test x"$enablestring" = xdisable; then
5413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5414 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
5416 # Check whether --enable-fileproto or --disable-fileproto was given.
5417 if test "${enable_fileproto+set}" = set; then
5418 enableval="$enable_fileproto"
5420 if test "$enableval" = yes; then
5421 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5423 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5428 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
5429 if test "x$LINE" != x ; then
5430 eval "DEFAULT_$LINE"
5435 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5439 eval "$ac_cv_use_fileproto"
5440 if test "$no_cache" != 1; then
5441 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5444 if test x"$enablestring" = xdisable; then
5445 if test $wxUSE_PROTOCOL_FILE = yes; then
5451 result=$wxUSE_PROTOCOL_FILE
5454 echo "$as_me:$LINENO: result: $result" >&5
5455 echo "${ECHO_T}$result" >&6
5459 defaultval=$wxUSE_ALL_FEATURES
5460 if test -z"$defaultval"; then
5461 if test x"$enablestring" = xdisable; then
5468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5469 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
5471 # Check whether --enable-sockets or --disable-sockets was given.
5472 if test "${enable_sockets+set}" = set; then
5473 enableval="$enable_sockets"
5475 if test "$enableval" = yes; then
5476 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5478 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5483 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
5484 if test "x$LINE" != x ; then
5485 eval "DEFAULT_$LINE"
5490 ac_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5494 eval "$ac_cv_use_sockets"
5495 if test "$no_cache" != 1; then
5496 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5499 if test x"$enablestring" = xdisable; then
5500 if test $wxUSE_SOCKETS = yes; then
5506 result=$wxUSE_SOCKETS
5509 echo "$as_me:$LINENO: result: $result" >&5
5510 echo "${ECHO_T}$result" >&6
5514 defaultval=$wxUSE_ALL_FEATURES
5515 if test -z"$defaultval"; then
5516 if test x"$enablestring" = xdisable; then
5523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5524 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
5526 # Check whether --enable-ole or --disable-ole was given.
5527 if test "${enable_ole+set}" = set; then
5528 enableval="$enable_ole"
5530 if test "$enableval" = yes; then
5531 ac_cv_use_ole='wxUSE_OLE=yes'
5533 ac_cv_use_ole='wxUSE_OLE=no'
5538 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
5539 if test "x$LINE" != x ; then
5540 eval "DEFAULT_$LINE"
5545 ac_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5549 eval "$ac_cv_use_ole"
5550 if test "$no_cache" != 1; then
5551 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5554 if test x"$enablestring" = xdisable; then
5555 if test $wxUSE_OLE = yes; then
5564 echo "$as_me:$LINENO: result: $result" >&5
5565 echo "${ECHO_T}$result" >&6
5569 defaultval=$wxUSE_ALL_FEATURES
5570 if test -z"$defaultval"; then
5571 if test x"$enablestring" = xdisable; then
5578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5579 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
5581 # Check whether --enable-dataobj or --disable-dataobj was given.
5582 if test "${enable_dataobj+set}" = set; then
5583 enableval="$enable_dataobj"
5585 if test "$enableval" = yes; then
5586 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5588 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5593 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
5594 if test "x$LINE" != x ; then
5595 eval "DEFAULT_$LINE"
5600 ac_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5604 eval "$ac_cv_use_dataobj"
5605 if test "$no_cache" != 1; then
5606 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5609 if test x"$enablestring" = xdisable; then
5610 if test $wxUSE_DATAOBJ = yes; then
5616 result=$wxUSE_DATAOBJ
5619 echo "$as_me:$LINENO: result: $result" >&5
5620 echo "${ECHO_T}$result" >&6
5625 defaultval=$wxUSE_ALL_FEATURES
5626 if test -z"$defaultval"; then
5627 if test x"$enablestring" = xdisable; then
5634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5635 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
5637 # Check whether --enable-ipc or --disable-ipc was given.
5638 if test "${enable_ipc+set}" = set; then
5639 enableval="$enable_ipc"
5641 if test "$enableval" = yes; then
5642 ac_cv_use_ipc='wxUSE_IPC=yes'
5644 ac_cv_use_ipc='wxUSE_IPC=no'
5649 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
5650 if test "x$LINE" != x ; then
5651 eval "DEFAULT_$LINE"
5656 ac_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
5660 eval "$ac_cv_use_ipc"
5661 if test "$no_cache" != 1; then
5662 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5665 if test x"$enablestring" = xdisable; then
5666 if test $wxUSE_IPC = yes; then
5675 echo "$as_me:$LINENO: result: $result" >&5
5676 echo "${ECHO_T}$result" >&6
5681 defaultval=$wxUSE_ALL_FEATURES
5682 if test -z"$defaultval"; then
5683 if test x"$enablestring" = xdisable; then
5690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5691 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
5693 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
5694 if test "${enable_apple_ieee+set}" = set; then
5695 enableval="$enable_apple_ieee"
5697 if test "$enableval" = yes; then
5698 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5700 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5705 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
5706 if test "x$LINE" != x ; then
5707 eval "DEFAULT_$LINE"
5712 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
5716 eval "$ac_cv_use_apple_ieee"
5717 if test "$no_cache" != 1; then
5718 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5721 if test x"$enablestring" = xdisable; then
5722 if test $wxUSE_APPLE_IEEE = yes; then
5728 result=$wxUSE_APPLE_IEEE
5731 echo "$as_me:$LINENO: result: $result" >&5
5732 echo "${ECHO_T}$result" >&6
5736 defaultval=$wxUSE_ALL_FEATURES
5737 if test -z"$defaultval"; then
5738 if test x"$enablestring" = xdisable; then
5745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5746 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5748 # Check whether --enable-arcstream or --disable-arcstream was given.
5749 if test "${enable_arcstream+set}" = set; then
5750 enableval="$enable_arcstream"
5752 if test "$enableval" = yes; then
5753 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5755 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5760 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
5761 if test "x$LINE" != x ; then
5762 eval "DEFAULT_$LINE"
5767 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
5771 eval "$ac_cv_use_arcstream"
5772 if test "$no_cache" != 1; then
5773 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5776 if test x"$enablestring" = xdisable; then
5777 if test $wxUSE_ARCHIVE_STREAMS = yes; then
5783 result=$wxUSE_ARCHIVE_STREAMS
5786 echo "$as_me:$LINENO: result: $result" >&5
5787 echo "${ECHO_T}$result" >&6
5791 defaultval=$wxUSE_ALL_FEATURES
5792 if test -z"$defaultval"; then
5793 if test x"$enablestring" = xdisable; then
5800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
5801 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6
5803 # Check whether --enable-base64 or --disable-base64 was given.
5804 if test "${enable_base64+set}" = set; then
5805 enableval="$enable_base64"
5807 if test "$enableval" = yes; then
5808 ac_cv_use_base64='wxUSE_BASE64=yes'
5810 ac_cv_use_base64='wxUSE_BASE64=no'
5815 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
5816 if test "x$LINE" != x ; then
5817 eval "DEFAULT_$LINE"
5822 ac_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
5826 eval "$ac_cv_use_base64"
5827 if test "$no_cache" != 1; then
5828 echo $ac_cv_use_base64 >> ${wx_arg_cache_file}.tmp
5831 if test x"$enablestring" = xdisable; then
5832 if test $wxUSE_BASE64 = yes; then
5838 result=$wxUSE_BASE64
5841 echo "$as_me:$LINENO: result: $result" >&5
5842 echo "${ECHO_T}$result" >&6
5846 defaultval=$wxUSE_ALL_FEATURES
5847 if test -z"$defaultval"; then
5848 if test x"$enablestring" = xdisable; then
5855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5856 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5858 # Check whether --enable-backtrace or --disable-backtrace was given.
5859 if test "${enable_backtrace+set}" = set; then
5860 enableval="$enable_backtrace"
5862 if test "$enableval" = yes; then
5863 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5865 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5870 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
5871 if test "x$LINE" != x ; then
5872 eval "DEFAULT_$LINE"
5877 ac_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
5881 eval "$ac_cv_use_backtrace"
5882 if test "$no_cache" != 1; then
5883 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5886 if test x"$enablestring" = xdisable; then
5887 if test $wxUSE_STACKWALKER = yes; then
5893 result=$wxUSE_STACKWALKER
5896 echo "$as_me:$LINENO: result: $result" >&5
5897 echo "${ECHO_T}$result" >&6
5901 defaultval=$wxUSE_ALL_FEATURES
5902 if test -z"$defaultval"; then
5903 if test x"$enablestring" = xdisable; then
5910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5911 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5913 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5914 if test "${enable_catch_segvs+set}" = set; then
5915 enableval="$enable_catch_segvs"
5917 if test "$enableval" = yes; then
5918 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5920 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5925 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
5926 if test "x$LINE" != x ; then
5927 eval "DEFAULT_$LINE"
5932 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
5936 eval "$ac_cv_use_catch_segvs"
5937 if test "$no_cache" != 1; then
5938 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5941 if test x"$enablestring" = xdisable; then
5942 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
5948 result=$wxUSE_ON_FATAL_EXCEPTION
5951 echo "$as_me:$LINENO: result: $result" >&5
5952 echo "${ECHO_T}$result" >&6
5956 defaultval=$wxUSE_ALL_FEATURES
5957 if test -z"$defaultval"; then
5958 if test x"$enablestring" = xdisable; then
5965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5966 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5968 # Check whether --enable-cmdline or --disable-cmdline was given.
5969 if test "${enable_cmdline+set}" = set; then
5970 enableval="$enable_cmdline"
5972 if test "$enableval" = yes; then
5973 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5975 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5980 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
5981 if test "x$LINE" != x ; then
5982 eval "DEFAULT_$LINE"
5987 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
5991 eval "$ac_cv_use_cmdline"
5992 if test "$no_cache" != 1; then
5993 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5996 if test x"$enablestring" = xdisable; then
5997 if test $wxUSE_CMDLINE_PARSER = yes; then
6003 result=$wxUSE_CMDLINE_PARSER
6006 echo "$as_me:$LINENO: result: $result" >&5
6007 echo "${ECHO_T}$result" >&6
6011 defaultval=$wxUSE_ALL_FEATURES
6012 if test -z"$defaultval"; then
6013 if test x"$enablestring" = xdisable; then
6020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6021 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
6023 # Check whether --enable-datetime or --disable-datetime was given.
6024 if test "${enable_datetime+set}" = set; then
6025 enableval="$enable_datetime"
6027 if test "$enableval" = yes; then
6028 ac_cv_use_datetime='wxUSE_DATETIME=yes'
6030 ac_cv_use_datetime='wxUSE_DATETIME=no'
6035 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
6036 if test "x$LINE" != x ; then
6037 eval "DEFAULT_$LINE"
6042 ac_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6046 eval "$ac_cv_use_datetime"
6047 if test "$no_cache" != 1; then
6048 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
6051 if test x"$enablestring" = xdisable; then
6052 if test $wxUSE_DATETIME = yes; then
6058 result=$wxUSE_DATETIME
6061 echo "$as_me:$LINENO: result: $result" >&5
6062 echo "${ECHO_T}$result" >&6
6066 defaultval=$wxUSE_ALL_FEATURES
6067 if test -z"$defaultval"; then
6068 if test x"$enablestring" = xdisable; then
6075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6076 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
6078 # Check whether --enable-debugreport or --disable-debugreport was given.
6079 if test "${enable_debugreport+set}" = set; then
6080 enableval="$enable_debugreport"
6082 if test "$enableval" = yes; then
6083 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6085 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6090 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
6091 if test "x$LINE" != x ; then
6092 eval "DEFAULT_$LINE"
6097 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6101 eval "$ac_cv_use_debugreport"
6102 if test "$no_cache" != 1; then
6103 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6106 if test x"$enablestring" = xdisable; then
6107 if test $wxUSE_DEBUGREPORT = yes; then
6113 result=$wxUSE_DEBUGREPORT
6116 echo "$as_me:$LINENO: result: $result" >&5
6117 echo "${ECHO_T}$result" >&6
6121 defaultval=$wxUSE_ALL_FEATURES
6122 if test -z"$defaultval"; then
6123 if test x"$enablestring" = xdisable; then
6130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6131 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
6133 # Check whether --enable-dialupman or --disable-dialupman was given.
6134 if test "${enable_dialupman+set}" = set; then
6135 enableval="$enable_dialupman"
6137 if test "$enableval" = yes; then
6138 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6140 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6145 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
6146 if test "x$LINE" != x ; then
6147 eval "DEFAULT_$LINE"
6152 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6156 eval "$ac_cv_use_dialupman"
6157 if test "$no_cache" != 1; then
6158 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6161 if test x"$enablestring" = xdisable; then
6162 if test $wxUSE_DIALUP_MANAGER = yes; then
6168 result=$wxUSE_DIALUP_MANAGER
6171 echo "$as_me:$LINENO: result: $result" >&5
6172 echo "${ECHO_T}$result" >&6
6176 defaultval=$wxUSE_ALL_FEATURES
6177 if test -z"$defaultval"; then
6178 if test x"$enablestring" = xdisable; then
6185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6186 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
6188 # Check whether --enable-dynlib or --disable-dynlib was given.
6189 if test "${enable_dynlib+set}" = set; then
6190 enableval="$enable_dynlib"
6192 if test "$enableval" = yes; then
6193 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6195 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6200 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
6201 if test "x$LINE" != x ; then
6202 eval "DEFAULT_$LINE"
6207 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6211 eval "$ac_cv_use_dynlib"
6212 if test "$no_cache" != 1; then
6213 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6216 if test x"$enablestring" = xdisable; then
6217 if test $wxUSE_DYNLIB_CLASS = yes; then
6223 result=$wxUSE_DYNLIB_CLASS
6226 echo "$as_me:$LINENO: result: $result" >&5
6227 echo "${ECHO_T}$result" >&6
6231 defaultval=$wxUSE_ALL_FEATURES
6232 if test -z"$defaultval"; then
6233 if test x"$enablestring" = xdisable; then
6240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6241 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
6243 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
6244 if test "${enable_dynamicloader+set}" = set; then
6245 enableval="$enable_dynamicloader"
6247 if test "$enableval" = yes; then
6248 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6250 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6255 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
6256 if test "x$LINE" != x ; then
6257 eval "DEFAULT_$LINE"
6262 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6266 eval "$ac_cv_use_dynamicloader"
6267 if test "$no_cache" != 1; then
6268 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6271 if test x"$enablestring" = xdisable; then
6272 if test $wxUSE_DYNAMIC_LOADER = yes; then
6278 result=$wxUSE_DYNAMIC_LOADER
6281 echo "$as_me:$LINENO: result: $result" >&5
6282 echo "${ECHO_T}$result" >&6
6286 defaultval=$wxUSE_ALL_FEATURES
6287 if test -z"$defaultval"; then
6288 if test x"$enablestring" = xdisable; then
6295 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6296 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
6298 # Check whether --enable-exceptions or --disable-exceptions was given.
6299 if test "${enable_exceptions+set}" = set; then
6300 enableval="$enable_exceptions"
6302 if test "$enableval" = yes; then
6303 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6305 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6310 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
6311 if test "x$LINE" != x ; then
6312 eval "DEFAULT_$LINE"
6317 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6321 eval "$ac_cv_use_exceptions"
6322 if test "$no_cache" != 1; then
6323 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6326 if test x"$enablestring" = xdisable; then
6327 if test $wxUSE_EXCEPTIONS = yes; then
6333 result=$wxUSE_EXCEPTIONS
6336 echo "$as_me:$LINENO: result: $result" >&5
6337 echo "${ECHO_T}$result" >&6
6341 defaultval=$wxUSE_ALL_FEATURES
6342 if test -z"$defaultval"; then
6343 if test x"$enablestring" = xdisable; then
6350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6351 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
6353 # Check whether --enable-ffile or --disable-ffile was given.
6354 if test "${enable_ffile+set}" = set; then
6355 enableval="$enable_ffile"
6357 if test "$enableval" = yes; then
6358 ac_cv_use_ffile='wxUSE_FFILE=yes'
6360 ac_cv_use_ffile='wxUSE_FFILE=no'
6365 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
6366 if test "x$LINE" != x ; then
6367 eval "DEFAULT_$LINE"
6372 ac_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6376 eval "$ac_cv_use_ffile"
6377 if test "$no_cache" != 1; then
6378 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6381 if test x"$enablestring" = xdisable; then
6382 if test $wxUSE_FFILE = yes; then
6391 echo "$as_me:$LINENO: result: $result" >&5
6392 echo "${ECHO_T}$result" >&6
6396 defaultval=$wxUSE_ALL_FEATURES
6397 if test -z"$defaultval"; then
6398 if test x"$enablestring" = xdisable; then
6405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6406 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
6408 # Check whether --enable-file or --disable-file was given.
6409 if test "${enable_file+set}" = set; then
6410 enableval="$enable_file"
6412 if test "$enableval" = yes; then
6413 ac_cv_use_file='wxUSE_FILE=yes'
6415 ac_cv_use_file='wxUSE_FILE=no'
6420 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
6421 if test "x$LINE" != x ; then
6422 eval "DEFAULT_$LINE"
6427 ac_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6431 eval "$ac_cv_use_file"
6432 if test "$no_cache" != 1; then
6433 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6436 if test x"$enablestring" = xdisable; then
6437 if test $wxUSE_FILE = yes; then
6446 echo "$as_me:$LINENO: result: $result" >&5
6447 echo "${ECHO_T}$result" >&6
6451 defaultval=$wxUSE_ALL_FEATURES
6452 if test -z"$defaultval"; then
6453 if test x"$enablestring" = xdisable; then
6460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6461 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
6463 # Check whether --enable-filesystem or --disable-filesystem was given.
6464 if test "${enable_filesystem+set}" = set; then
6465 enableval="$enable_filesystem"
6467 if test "$enableval" = yes; then
6468 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6470 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6475 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
6476 if test "x$LINE" != x ; then
6477 eval "DEFAULT_$LINE"
6482 ac_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6486 eval "$ac_cv_use_filesystem"
6487 if test "$no_cache" != 1; then
6488 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6491 if test x"$enablestring" = xdisable; then
6492 if test $wxUSE_FILESYSTEM = yes; then
6498 result=$wxUSE_FILESYSTEM
6501 echo "$as_me:$LINENO: result: $result" >&5
6502 echo "${ECHO_T}$result" >&6
6506 defaultval=$wxUSE_ALL_FEATURES
6507 if test -z"$defaultval"; then
6508 if test x"$enablestring" = xdisable; then
6515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6516 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
6518 # Check whether --enable-fontmap or --disable-fontmap was given.
6519 if test "${enable_fontmap+set}" = set; then
6520 enableval="$enable_fontmap"
6522 if test "$enableval" = yes; then
6523 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6525 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6530 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
6531 if test "x$LINE" != x ; then
6532 eval "DEFAULT_$LINE"
6537 ac_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6541 eval "$ac_cv_use_fontmap"
6542 if test "$no_cache" != 1; then
6543 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6546 if test x"$enablestring" = xdisable; then
6547 if test $wxUSE_FONTMAP = yes; then
6553 result=$wxUSE_FONTMAP
6556 echo "$as_me:$LINENO: result: $result" >&5
6557 echo "${ECHO_T}$result" >&6
6561 defaultval=$wxUSE_ALL_FEATURES
6562 if test -z"$defaultval"; then
6563 if test x"$enablestring" = xdisable; then
6570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6571 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
6573 # Check whether --enable-fs_archive or --disable-fs_archive was given.
6574 if test "${enable_fs_archive+set}" = set; then
6575 enableval="$enable_fs_archive"
6577 if test "$enableval" = yes; then
6578 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6580 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6585 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
6586 if test "x$LINE" != x ; then
6587 eval "DEFAULT_$LINE"
6592 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6596 eval "$ac_cv_use_fs_archive"
6597 if test "$no_cache" != 1; then
6598 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6601 if test x"$enablestring" = xdisable; then
6602 if test $wxUSE_FS_ARCHIVE = yes; then
6608 result=$wxUSE_FS_ARCHIVE
6611 echo "$as_me:$LINENO: result: $result" >&5
6612 echo "${ECHO_T}$result" >&6
6616 defaultval=$wxUSE_ALL_FEATURES
6617 if test -z"$defaultval"; then
6618 if test x"$enablestring" = xdisable; then
6625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6626 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
6628 # Check whether --enable-fs_inet or --disable-fs_inet was given.
6629 if test "${enable_fs_inet+set}" = set; then
6630 enableval="$enable_fs_inet"
6632 if test "$enableval" = yes; then
6633 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6635 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6640 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
6641 if test "x$LINE" != x ; then
6642 eval "DEFAULT_$LINE"
6647 ac_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
6651 eval "$ac_cv_use_fs_inet"
6652 if test "$no_cache" != 1; then
6653 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6656 if test x"$enablestring" = xdisable; then
6657 if test $wxUSE_FS_INET = yes; then
6663 result=$wxUSE_FS_INET
6666 echo "$as_me:$LINENO: result: $result" >&5
6667 echo "${ECHO_T}$result" >&6
6671 defaultval=$wxUSE_ALL_FEATURES
6672 if test -z"$defaultval"; then
6673 if test x"$enablestring" = xdisable; then
6680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6681 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
6683 # Check whether --enable-fs_zip or --disable-fs_zip was given.
6684 if test "${enable_fs_zip+set}" = set; then
6685 enableval="$enable_fs_zip"
6687 if test "$enableval" = yes; then
6688 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6690 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6695 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
6696 if test "x$LINE" != x ; then
6697 eval "DEFAULT_$LINE"
6702 ac_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
6706 eval "$ac_cv_use_fs_zip"
6707 if test "$no_cache" != 1; then
6708 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6711 if test x"$enablestring" = xdisable; then
6712 if test $wxUSE_FS_ZIP = yes; then
6718 result=$wxUSE_FS_ZIP
6721 echo "$as_me:$LINENO: result: $result" >&5
6722 echo "${ECHO_T}$result" >&6
6726 defaultval=$wxUSE_ALL_FEATURES
6727 if test -z"$defaultval"; then
6728 if test x"$enablestring" = xdisable; then
6735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6736 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
6738 # Check whether --enable-geometry or --disable-geometry was given.
6739 if test "${enable_geometry+set}" = set; then
6740 enableval="$enable_geometry"
6742 if test "$enableval" = yes; then
6743 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6745 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6750 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
6751 if test "x$LINE" != x ; then
6752 eval "DEFAULT_$LINE"
6757 ac_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
6761 eval "$ac_cv_use_geometry"
6762 if test "$no_cache" != 1; then
6763 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6766 if test x"$enablestring" = xdisable; then
6767 if test $wxUSE_GEOMETRY = yes; then
6773 result=$wxUSE_GEOMETRY
6776 echo "$as_me:$LINENO: result: $result" >&5
6777 echo "${ECHO_T}$result" >&6
6781 defaultval=$wxUSE_ALL_FEATURES
6782 if test -z"$defaultval"; then
6783 if test x"$enablestring" = xdisable; then
6790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6791 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
6793 # Check whether --enable-log or --disable-log was given.
6794 if test "${enable_log+set}" = set; then
6795 enableval="$enable_log"
6797 if test "$enableval" = yes; then
6798 ac_cv_use_log='wxUSE_LOG=yes'
6800 ac_cv_use_log='wxUSE_LOG=no'
6805 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
6806 if test "x$LINE" != x ; then
6807 eval "DEFAULT_$LINE"
6812 ac_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
6816 eval "$ac_cv_use_log"
6817 if test "$no_cache" != 1; then
6818 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6821 if test x"$enablestring" = xdisable; then
6822 if test $wxUSE_LOG = yes; then
6831 echo "$as_me:$LINENO: result: $result" >&5
6832 echo "${ECHO_T}$result" >&6
6836 defaultval=$wxUSE_ALL_FEATURES
6837 if test -z"$defaultval"; then
6838 if test x"$enablestring" = xdisable; then
6845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6846 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
6848 # Check whether --enable-longlong or --disable-longlong was given.
6849 if test "${enable_longlong+set}" = set; then
6850 enableval="$enable_longlong"
6852 if test "$enableval" = yes; then
6853 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6855 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6860 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
6861 if test "x$LINE" != x ; then
6862 eval "DEFAULT_$LINE"
6867 ac_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
6871 eval "$ac_cv_use_longlong"
6872 if test "$no_cache" != 1; then
6873 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6876 if test x"$enablestring" = xdisable; then
6877 if test $wxUSE_LONGLONG = yes; then
6883 result=$wxUSE_LONGLONG
6886 echo "$as_me:$LINENO: result: $result" >&5
6887 echo "${ECHO_T}$result" >&6
6891 defaultval=$wxUSE_ALL_FEATURES
6892 if test -z"$defaultval"; then
6893 if test x"$enablestring" = xdisable; then
6900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6901 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
6903 # Check whether --enable-mimetype or --disable-mimetype was given.
6904 if test "${enable_mimetype+set}" = set; then
6905 enableval="$enable_mimetype"
6907 if test "$enableval" = yes; then
6908 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6910 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6915 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
6916 if test "x$LINE" != x ; then
6917 eval "DEFAULT_$LINE"
6922 ac_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
6926 eval "$ac_cv_use_mimetype"
6927 if test "$no_cache" != 1; then
6928 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6931 if test x"$enablestring" = xdisable; then
6932 if test $wxUSE_MIMETYPE = yes; then
6938 result=$wxUSE_MIMETYPE
6941 echo "$as_me:$LINENO: result: $result" >&5
6942 echo "${ECHO_T}$result" >&6
6946 defaultval=$wxUSE_ALL_FEATURES
6947 if test -z"$defaultval"; then
6948 if test x"$enablestring" = xdisable; then
6955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6956 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
6958 # Check whether --enable-snglinst or --disable-snglinst was given.
6959 if test "${enable_snglinst+set}" = set; then
6960 enableval="$enable_snglinst"
6962 if test "$enableval" = yes; then
6963 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6965 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6970 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
6971 if test "x$LINE" != x ; then
6972 eval "DEFAULT_$LINE"
6977 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
6981 eval "$ac_cv_use_snglinst"
6982 if test "$no_cache" != 1; then
6983 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6986 if test x"$enablestring" = xdisable; then
6987 if test $wxUSE_SNGLINST_CHECKER = yes; then
6993 result=$wxUSE_SNGLINST_CHECKER
6996 echo "$as_me:$LINENO: result: $result" >&5
6997 echo "${ECHO_T}$result" >&6
7001 defaultval=$wxUSE_ALL_FEATURES
7002 if test -z"$defaultval"; then
7003 if test x"$enablestring" = xdisable; then
7010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7011 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
7013 # Check whether --enable-stdpaths or --disable-stdpaths was given.
7014 if test "${enable_stdpaths+set}" = set; then
7015 enableval="$enable_stdpaths"
7017 if test "$enableval" = yes; then
7018 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7020 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
7025 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
7026 if test "x$LINE" != x ; then
7027 eval "DEFAULT_$LINE"
7032 ac_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7036 eval "$ac_cv_use_stdpaths"
7037 if test "$no_cache" != 1; then
7038 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
7041 if test x"$enablestring" = xdisable; then
7042 if test $wxUSE_STDPATHS = yes; then
7048 result=$wxUSE_STDPATHS
7051 echo "$as_me:$LINENO: result: $result" >&5
7052 echo "${ECHO_T}$result" >&6
7056 defaultval=$wxUSE_ALL_FEATURES
7057 if test -z"$defaultval"; then
7058 if test x"$enablestring" = xdisable; then
7065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7066 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
7068 # Check whether --enable-stopwatch or --disable-stopwatch was given.
7069 if test "${enable_stopwatch+set}" = set; then
7070 enableval="$enable_stopwatch"
7072 if test "$enableval" = yes; then
7073 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7075 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7080 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
7081 if test "x$LINE" != x ; then
7082 eval "DEFAULT_$LINE"
7087 ac_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7091 eval "$ac_cv_use_stopwatch"
7092 if test "$no_cache" != 1; then
7093 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
7096 if test x"$enablestring" = xdisable; then
7097 if test $wxUSE_STOPWATCH = yes; then
7103 result=$wxUSE_STOPWATCH
7106 echo "$as_me:$LINENO: result: $result" >&5
7107 echo "${ECHO_T}$result" >&6
7111 defaultval=$wxUSE_ALL_FEATURES
7112 if test -z"$defaultval"; then
7113 if test x"$enablestring" = xdisable; then
7120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7121 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
7123 # Check whether --enable-streams or --disable-streams was given.
7124 if test "${enable_streams+set}" = set; then
7125 enableval="$enable_streams"
7127 if test "$enableval" = yes; then
7128 ac_cv_use_streams='wxUSE_STREAMS=yes'
7130 ac_cv_use_streams='wxUSE_STREAMS=no'
7135 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
7136 if test "x$LINE" != x ; then
7137 eval "DEFAULT_$LINE"
7142 ac_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7146 eval "$ac_cv_use_streams"
7147 if test "$no_cache" != 1; then
7148 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
7151 if test x"$enablestring" = xdisable; then
7152 if test $wxUSE_STREAMS = yes; then
7158 result=$wxUSE_STREAMS
7161 echo "$as_me:$LINENO: result: $result" >&5
7162 echo "${ECHO_T}$result" >&6
7166 defaultval=$wxUSE_ALL_FEATURES
7167 if test -z"$defaultval"; then
7168 if test x"$enablestring" = xdisable; then
7175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7176 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
7178 # Check whether --enable-system_options or --disable-system_options was given.
7179 if test "${enable_system_options+set}" = set; then
7180 enableval="$enable_system_options"
7182 if test "$enableval" = yes; then
7183 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7185 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7190 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
7191 if test "x$LINE" != x ; then
7192 eval "DEFAULT_$LINE"
7197 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7201 eval "$ac_cv_use_system_options"
7202 if test "$no_cache" != 1; then
7203 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
7206 if test x"$enablestring" = xdisable; then
7207 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7213 result=$wxUSE_SYSTEM_OPTIONS
7216 echo "$as_me:$LINENO: result: $result" >&5
7217 echo "${ECHO_T}$result" >&6
7221 defaultval=$wxUSE_ALL_FEATURES
7222 if test -z"$defaultval"; then
7223 if test x"$enablestring" = xdisable; then
7230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7231 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
7233 # Check whether --enable-tarstream or --disable-tarstream was given.
7234 if test "${enable_tarstream+set}" = set; then
7235 enableval="$enable_tarstream"
7237 if test "$enableval" = yes; then
7238 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7240 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
7245 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
7246 if test "x$LINE" != x ; then
7247 eval "DEFAULT_$LINE"
7252 ac_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7256 eval "$ac_cv_use_tarstream"
7257 if test "$no_cache" != 1; then
7258 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7261 if test x"$enablestring" = xdisable; then
7262 if test $wxUSE_TARSTREAM = yes; then
7268 result=$wxUSE_TARSTREAM
7271 echo "$as_me:$LINENO: result: $result" >&5
7272 echo "${ECHO_T}$result" >&6
7276 defaultval=$wxUSE_ALL_FEATURES
7277 if test -z"$defaultval"; then
7278 if test x"$enablestring" = xdisable; then
7285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7286 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
7288 # Check whether --enable-textbuf or --disable-textbuf was given.
7289 if test "${enable_textbuf+set}" = set; then
7290 enableval="$enable_textbuf"
7292 if test "$enableval" = yes; then
7293 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7295 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7300 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
7301 if test "x$LINE" != x ; then
7302 eval "DEFAULT_$LINE"
7307 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7311 eval "$ac_cv_use_textbuf"
7312 if test "$no_cache" != 1; then
7313 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7316 if test x"$enablestring" = xdisable; then
7317 if test $wxUSE_TEXTBUFFER = yes; then
7323 result=$wxUSE_TEXTBUFFER
7326 echo "$as_me:$LINENO: result: $result" >&5
7327 echo "${ECHO_T}$result" >&6
7331 defaultval=$wxUSE_ALL_FEATURES
7332 if test -z"$defaultval"; then
7333 if test x"$enablestring" = xdisable; then
7340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7341 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
7343 # Check whether --enable-textfile or --disable-textfile was given.
7344 if test "${enable_textfile+set}" = set; then
7345 enableval="$enable_textfile"
7347 if test "$enableval" = yes; then
7348 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7350 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7355 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
7356 if test "x$LINE" != x ; then
7357 eval "DEFAULT_$LINE"
7362 ac_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7366 eval "$ac_cv_use_textfile"
7367 if test "$no_cache" != 1; then
7368 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7371 if test x"$enablestring" = xdisable; then
7372 if test $wxUSE_TEXTFILE = yes; then
7378 result=$wxUSE_TEXTFILE
7381 echo "$as_me:$LINENO: result: $result" >&5
7382 echo "${ECHO_T}$result" >&6
7386 defaultval=$wxUSE_ALL_FEATURES
7387 if test -z"$defaultval"; then
7388 if test x"$enablestring" = xdisable; then
7395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7396 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
7398 # Check whether --enable-timer or --disable-timer was given.
7399 if test "${enable_timer+set}" = set; then
7400 enableval="$enable_timer"
7402 if test "$enableval" = yes; then
7403 ac_cv_use_timer='wxUSE_TIMER=yes'
7405 ac_cv_use_timer='wxUSE_TIMER=no'
7410 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
7411 if test "x$LINE" != x ; then
7412 eval "DEFAULT_$LINE"
7417 ac_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7421 eval "$ac_cv_use_timer"
7422 if test "$no_cache" != 1; then
7423 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7426 if test x"$enablestring" = xdisable; then
7427 if test $wxUSE_TIMER = yes; then
7436 echo "$as_me:$LINENO: result: $result" >&5
7437 echo "${ECHO_T}$result" >&6
7441 defaultval=$wxUSE_ALL_FEATURES
7442 if test -z"$defaultval"; then
7443 if test x"$enablestring" = xdisable; then
7450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7451 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
7453 # Check whether --enable-sound or --disable-sound was given.
7454 if test "${enable_sound+set}" = set; then
7455 enableval="$enable_sound"
7457 if test "$enableval" = yes; then
7458 ac_cv_use_sound='wxUSE_SOUND=yes'
7460 ac_cv_use_sound='wxUSE_SOUND=no'
7465 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
7466 if test "x$LINE" != x ; then
7467 eval "DEFAULT_$LINE"
7472 ac_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7476 eval "$ac_cv_use_sound"
7477 if test "$no_cache" != 1; then
7478 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7481 if test x"$enablestring" = xdisable; then
7482 if test $wxUSE_SOUND = yes; then
7491 echo "$as_me:$LINENO: result: $result" >&5
7492 echo "${ECHO_T}$result" >&6
7496 defaultval=$wxUSE_ALL_FEATURES
7497 if test -z"$defaultval"; then
7498 if test x"$enablestring" = xdisable; then
7505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7506 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
7508 # Check whether --enable-mediactrl or --disable-mediactrl was given.
7509 if test "${enable_mediactrl+set}" = set; then
7510 enableval="$enable_mediactrl"
7512 if test "$enableval" = yes; then
7513 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7515 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7520 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
7521 if test "x$LINE" != x ; then
7522 eval "DEFAULT_$LINE"
7527 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7531 eval "$ac_cv_use_mediactrl"
7532 if test "$no_cache" != 1; then
7533 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7536 if test x"$enablestring" = xdisable; then
7537 if test $wxUSE_MEDIACTRL = yes; then
7543 result=$wxUSE_MEDIACTRL
7546 echo "$as_me:$LINENO: result: $result" >&5
7547 echo "${ECHO_T}$result" >&6
7551 defaultval=$wxUSE_ALL_FEATURES
7552 if test -z"$defaultval"; then
7553 if test x"$enablestring" = xdisable; then
7560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7561 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
7563 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
7564 if test "${enable_gstreamer8+set}" = set; then
7565 enableval="$enable_gstreamer8"
7567 if test "$enableval" = yes; then
7568 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7570 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7575 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
7576 if test "x$LINE" != x ; then
7577 eval "DEFAULT_$LINE"
7582 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7586 eval "$ac_cv_use_gstreamer8"
7587 if test "$no_cache" != 1; then
7588 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7591 if test x"$enablestring" = xdisable; then
7592 if test $wxUSE_GSTREAMER8 = yes; then
7598 result=$wxUSE_GSTREAMER8
7601 echo "$as_me:$LINENO: result: $result" >&5
7602 echo "${ECHO_T}$result" >&6
7606 defaultval=$wxUSE_ALL_FEATURES
7607 if test -z"$defaultval"; then
7608 if test x"$enablestring" = xdisable; then
7615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7616 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
7618 # Check whether --enable-printfposparam or --disable-printfposparam was given.
7619 if test "${enable_printfposparam+set}" = set; then
7620 enableval="$enable_printfposparam"
7622 if test "$enableval" = yes; then
7623 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7625 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7630 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
7631 if test "x$LINE" != x ; then
7632 eval "DEFAULT_$LINE"
7637 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7641 eval "$ac_cv_use_printfposparam"
7642 if test "$no_cache" != 1; then
7643 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7646 if test x"$enablestring" = xdisable; then
7647 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7653 result=$wxUSE_PRINTF_POS_PARAMS
7656 echo "$as_me:$LINENO: result: $result" >&5
7657 echo "${ECHO_T}$result" >&6
7661 defaultval=$wxUSE_ALL_FEATURES
7662 if test -z"$defaultval"; then
7663 if test x"$enablestring" = xdisable; then
7670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7671 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
7673 # Check whether --enable-zipstream or --disable-zipstream was given.
7674 if test "${enable_zipstream+set}" = set; then
7675 enableval="$enable_zipstream"
7677 if test "$enableval" = yes; then
7678 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7680 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7685 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
7686 if test "x$LINE" != x ; then
7687 eval "DEFAULT_$LINE"
7692 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7696 eval "$ac_cv_use_zipstream"
7697 if test "$no_cache" != 1; then
7698 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7701 if test x"$enablestring" = xdisable; then
7702 if test $wxUSE_ZIPSTREAM = yes; then
7708 result=$wxUSE_ZIPSTREAM
7711 echo "$as_me:$LINENO: result: $result" >&5
7712 echo "${ECHO_T}$result" >&6
7717 defaultval=$wxUSE_ALL_FEATURES
7718 if test -z"$defaultval"; then
7719 if test x"$enablestring" = xdisable; then
7726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7727 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
7729 # Check whether --enable-url or --disable-url was given.
7730 if test "${enable_url+set}" = set; then
7731 enableval="$enable_url"
7733 if test "$enableval" = yes; then
7734 ac_cv_use_url='wxUSE_URL=yes'
7736 ac_cv_use_url='wxUSE_URL=no'
7741 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
7742 if test "x$LINE" != x ; then
7743 eval "DEFAULT_$LINE"
7748 ac_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7752 eval "$ac_cv_use_url"
7753 if test "$no_cache" != 1; then
7754 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7757 if test x"$enablestring" = xdisable; then
7758 if test $wxUSE_URL = yes; then
7767 echo "$as_me:$LINENO: result: $result" >&5
7768 echo "${ECHO_T}$result" >&6
7772 defaultval=$wxUSE_ALL_FEATURES
7773 if test -z"$defaultval"; then
7774 if test x"$enablestring" = xdisable; then
7781 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7782 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
7784 # Check whether --enable-variant or --disable-variant was given.
7785 if test "${enable_variant+set}" = set; then
7786 enableval="$enable_variant"
7788 if test "$enableval" = yes; then
7789 ac_cv_use_variant='wxUSE_VARIANT=yes'
7791 ac_cv_use_variant='wxUSE_VARIANT=no'
7796 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
7797 if test "x$LINE" != x ; then
7798 eval "DEFAULT_$LINE"
7803 ac_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7807 eval "$ac_cv_use_variant"
7808 if test "$no_cache" != 1; then
7809 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7812 if test x"$enablestring" = xdisable; then
7813 if test $wxUSE_VARIANT = yes; then
7819 result=$wxUSE_VARIANT
7822 echo "$as_me:$LINENO: result: $result" >&5
7823 echo "${ECHO_T}$result" >&6
7827 defaultval=$wxUSE_ALL_FEATURES
7828 if test -z"$defaultval"; then
7829 if test x"$enablestring" = xdisable; then
7836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7837 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
7839 # Check whether --enable-protocol or --disable-protocol was given.
7840 if test "${enable_protocol+set}" = set; then
7841 enableval="$enable_protocol"
7843 if test "$enableval" = yes; then
7844 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7846 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7851 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
7852 if test "x$LINE" != x ; then
7853 eval "DEFAULT_$LINE"
7858 ac_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7862 eval "$ac_cv_use_protocol"
7863 if test "$no_cache" != 1; then
7864 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7867 if test x"$enablestring" = xdisable; then
7868 if test $wxUSE_PROTOCOL = yes; then
7874 result=$wxUSE_PROTOCOL
7877 echo "$as_me:$LINENO: result: $result" >&5
7878 echo "${ECHO_T}$result" >&6
7882 defaultval=$wxUSE_ALL_FEATURES
7883 if test -z"$defaultval"; then
7884 if test x"$enablestring" = xdisable; then
7891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7892 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
7894 # Check whether --enable-protocol_http or --disable-protocol_http was given.
7895 if test "${enable_protocol_http+set}" = set; then
7896 enableval="$enable_protocol_http"
7898 if test "$enableval" = yes; then
7899 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7901 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7906 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
7907 if test "x$LINE" != x ; then
7908 eval "DEFAULT_$LINE"
7913 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7917 eval "$ac_cv_use_protocol_http"
7918 if test "$no_cache" != 1; then
7919 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7922 if test x"$enablestring" = xdisable; then
7923 if test $wxUSE_PROTOCOL_HTTP = yes; then
7929 result=$wxUSE_PROTOCOL_HTTP
7932 echo "$as_me:$LINENO: result: $result" >&5
7933 echo "${ECHO_T}$result" >&6
7937 defaultval=$wxUSE_ALL_FEATURES
7938 if test -z"$defaultval"; then
7939 if test x"$enablestring" = xdisable; then
7946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7947 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
7949 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
7950 if test "${enable_protocol_ftp+set}" = set; then
7951 enableval="$enable_protocol_ftp"
7953 if test "$enableval" = yes; then
7954 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7956 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7961 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
7962 if test "x$LINE" != x ; then
7963 eval "DEFAULT_$LINE"
7968 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7972 eval "$ac_cv_use_protocol_ftp"
7973 if test "$no_cache" != 1; then
7974 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7977 if test x"$enablestring" = xdisable; then
7978 if test $wxUSE_PROTOCOL_FTP = yes; then
7984 result=$wxUSE_PROTOCOL_FTP
7987 echo "$as_me:$LINENO: result: $result" >&5
7988 echo "${ECHO_T}$result" >&6
7992 defaultval=$wxUSE_ALL_FEATURES
7993 if test -z"$defaultval"; then
7994 if test x"$enablestring" = xdisable; then
8001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8002 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
8004 # Check whether --enable-protocol_file or --disable-protocol_file was given.
8005 if test "${enable_protocol_file+set}" = set; then
8006 enableval="$enable_protocol_file"
8008 if test "$enableval" = yes; then
8009 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8011 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8016 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
8017 if test "x$LINE" != x ; then
8018 eval "DEFAULT_$LINE"
8023 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8027 eval "$ac_cv_use_protocol_file"
8028 if test "$no_cache" != 1; then
8029 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
8032 if test x"$enablestring" = xdisable; then
8033 if test $wxUSE_PROTOCOL_FILE = yes; then
8039 result=$wxUSE_PROTOCOL_FILE
8042 echo "$as_me:$LINENO: result: $result" >&5
8043 echo "${ECHO_T}$result" >&6
8048 defaultval=$wxUSE_ALL_FEATURES
8049 if test -z"$defaultval"; then
8050 if test x"$enablestring" = xdisable; then
8057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8058 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
8060 # Check whether --enable-threads or --disable-threads was given.
8061 if test "${enable_threads+set}" = set; then
8062 enableval="$enable_threads"
8064 if test "$enableval" = yes; then
8065 ac_cv_use_threads='wxUSE_THREADS=yes'
8067 ac_cv_use_threads='wxUSE_THREADS=no'
8072 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
8073 if test "x$LINE" != x ; then
8074 eval "DEFAULT_$LINE"
8079 ac_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8083 eval "$ac_cv_use_threads"
8084 if test "$no_cache" != 1; then
8085 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
8088 if test x"$enablestring" = xdisable; then
8089 if test $wxUSE_THREADS = yes; then
8095 result=$wxUSE_THREADS
8098 echo "$as_me:$LINENO: result: $result" >&5
8099 echo "${ECHO_T}$result" >&6
8102 if test "$wxUSE_GUI" = "yes"; then
8107 defaultval=$wxUSE_ALL_FEATURES
8108 if test -z"$defaultval"; then
8109 if test x"$enablestring" = xdisable; then
8116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8117 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
8119 # Check whether --enable-docview or --disable-docview was given.
8120 if test "${enable_docview+set}" = set; then
8121 enableval="$enable_docview"
8123 if test "$enableval" = yes; then
8124 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8126 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8131 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
8132 if test "x$LINE" != x ; then
8133 eval "DEFAULT_$LINE"
8138 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8142 eval "$ac_cv_use_docview"
8143 if test "$no_cache" != 1; then
8144 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
8147 if test x"$enablestring" = xdisable; then
8148 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8154 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8157 echo "$as_me:$LINENO: result: $result" >&5
8158 echo "${ECHO_T}$result" >&6
8162 defaultval=$wxUSE_ALL_FEATURES
8163 if test -z"$defaultval"; then
8164 if test x"$enablestring" = xdisable; then
8171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8172 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
8174 # Check whether --enable-help or --disable-help was given.
8175 if test "${enable_help+set}" = set; then
8176 enableval="$enable_help"
8178 if test "$enableval" = yes; then
8179 ac_cv_use_help='wxUSE_HELP=yes'
8181 ac_cv_use_help='wxUSE_HELP=no'
8186 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
8187 if test "x$LINE" != x ; then
8188 eval "DEFAULT_$LINE"
8193 ac_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8197 eval "$ac_cv_use_help"
8198 if test "$no_cache" != 1; then
8199 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
8202 if test x"$enablestring" = xdisable; then
8203 if test $wxUSE_HELP = yes; then
8212 echo "$as_me:$LINENO: result: $result" >&5
8213 echo "${ECHO_T}$result" >&6
8217 defaultval=$wxUSE_ALL_FEATURES
8218 if test -z"$defaultval"; then
8219 if test x"$enablestring" = xdisable; then
8226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8227 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
8229 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
8230 if test "${enable_mshtmlhelp+set}" = set; then
8231 enableval="$enable_mshtmlhelp"
8233 if test "$enableval" = yes; then
8234 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8236 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8241 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
8242 if test "x$LINE" != x ; then
8243 eval "DEFAULT_$LINE"
8248 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8252 eval "$ac_cv_use_mshtmlhelp"
8253 if test "$no_cache" != 1; then
8254 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
8257 if test x"$enablestring" = xdisable; then
8258 if test $wxUSE_MS_HTML_HELP = yes; then
8264 result=$wxUSE_MS_HTML_HELP
8267 echo "$as_me:$LINENO: result: $result" >&5
8268 echo "${ECHO_T}$result" >&6
8272 defaultval=$wxUSE_ALL_FEATURES
8273 if test -z"$defaultval"; then
8274 if test x"$enablestring" = xdisable; then
8281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8282 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
8284 # Check whether --enable-html or --disable-html was given.
8285 if test "${enable_html+set}" = set; then
8286 enableval="$enable_html"
8288 if test "$enableval" = yes; then
8289 ac_cv_use_html='wxUSE_HTML=yes'
8291 ac_cv_use_html='wxUSE_HTML=no'
8296 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
8297 if test "x$LINE" != x ; then
8298 eval "DEFAULT_$LINE"
8303 ac_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8307 eval "$ac_cv_use_html"
8308 if test "$no_cache" != 1; then
8309 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
8312 if test x"$enablestring" = xdisable; then
8313 if test $wxUSE_HTML = yes; then
8322 echo "$as_me:$LINENO: result: $result" >&5
8323 echo "${ECHO_T}$result" >&6
8327 defaultval=$wxUSE_ALL_FEATURES
8328 if test -z"$defaultval"; then
8329 if test x"$enablestring" = xdisable; then
8336 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8337 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
8339 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
8340 if test "${enable_htmlhelp+set}" = set; then
8341 enableval="$enable_htmlhelp"
8343 if test "$enableval" = yes; then
8344 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8346 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8351 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
8352 if test "x$LINE" != x ; then
8353 eval "DEFAULT_$LINE"
8358 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8362 eval "$ac_cv_use_htmlhelp"
8363 if test "$no_cache" != 1; then
8364 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
8367 if test x"$enablestring" = xdisable; then
8368 if test $wxUSE_WXHTML_HELP = yes; then
8374 result=$wxUSE_WXHTML_HELP
8377 echo "$as_me:$LINENO: result: $result" >&5
8378 echo "${ECHO_T}$result" >&6
8382 defaultval=$wxUSE_ALL_FEATURES
8383 if test -z"$defaultval"; then
8384 if test x"$enablestring" = xdisable; then
8391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8392 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
8394 # Check whether --enable-xrc or --disable-xrc was given.
8395 if test "${enable_xrc+set}" = set; then
8396 enableval="$enable_xrc"
8398 if test "$enableval" = yes; then
8399 ac_cv_use_xrc='wxUSE_XRC=yes'
8401 ac_cv_use_xrc='wxUSE_XRC=no'
8406 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
8407 if test "x$LINE" != x ; then
8408 eval "DEFAULT_$LINE"
8413 ac_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8417 eval "$ac_cv_use_xrc"
8418 if test "$no_cache" != 1; then
8419 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
8422 if test x"$enablestring" = xdisable; then
8423 if test $wxUSE_XRC = yes; then
8432 echo "$as_me:$LINENO: result: $result" >&5
8433 echo "${ECHO_T}$result" >&6
8437 defaultval=$wxUSE_ALL_FEATURES
8438 if test -z"$defaultval"; then
8439 if test x"$enablestring" = xdisable; then
8446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8447 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
8449 # Check whether --enable-aui or --disable-aui was given.
8450 if test "${enable_aui+set}" = set; then
8451 enableval="$enable_aui"
8453 if test "$enableval" = yes; then
8454 ac_cv_use_aui='wxUSE_AUI=yes'
8456 ac_cv_use_aui='wxUSE_AUI=no'
8461 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
8462 if test "x$LINE" != x ; then
8463 eval "DEFAULT_$LINE"
8468 ac_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8472 eval "$ac_cv_use_aui"
8473 if test "$no_cache" != 1; then
8474 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
8477 if test x"$enablestring" = xdisable; then
8478 if test $wxUSE_AUI = yes; then
8487 echo "$as_me:$LINENO: result: $result" >&5
8488 echo "${ECHO_T}$result" >&6
8492 defaultval=$wxUSE_ALL_FEATURES
8493 if test -z"$defaultval"; then
8494 if test x"$enablestring" = xdisable; then
8501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8502 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6
8504 # Check whether --enable-stc or --disable-stc was given.
8505 if test "${enable_stc+set}" = set; then
8506 enableval="$enable_stc"
8508 if test "$enableval" = yes; then
8509 ac_cv_use_stc='wxUSE_STC=yes'
8511 ac_cv_use_stc='wxUSE_STC=no'
8516 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
8517 if test "x$LINE" != x ; then
8518 eval "DEFAULT_$LINE"
8523 ac_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8527 eval "$ac_cv_use_stc"
8528 if test "$no_cache" != 1; then
8529 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
8532 if test x"$enablestring" = xdisable; then
8533 if test $wxUSE_STC = yes; then
8542 echo "$as_me:$LINENO: result: $result" >&5
8543 echo "${ECHO_T}$result" >&6
8547 defaultval=$wxUSE_ALL_FEATURES
8548 if test -z"$defaultval"; then
8549 if test x"$enablestring" = xdisable; then
8556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8557 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
8559 # Check whether --enable-constraints or --disable-constraints was given.
8560 if test "${enable_constraints+set}" = set; then
8561 enableval="$enable_constraints"
8563 if test "$enableval" = yes; then
8564 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8566 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8571 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
8572 if test "x$LINE" != x ; then
8573 eval "DEFAULT_$LINE"
8578 ac_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8582 eval "$ac_cv_use_constraints"
8583 if test "$no_cache" != 1; then
8584 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8587 if test x"$enablestring" = xdisable; then
8588 if test $wxUSE_CONSTRAINTS = yes; then
8594 result=$wxUSE_CONSTRAINTS
8597 echo "$as_me:$LINENO: result: $result" >&5
8598 echo "${ECHO_T}$result" >&6
8602 defaultval=$wxUSE_ALL_FEATURES
8603 if test -z"$defaultval"; then
8604 if test x"$enablestring" = xdisable; then
8611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8612 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
8614 # Check whether --enable-printarch or --disable-printarch was given.
8615 if test "${enable_printarch+set}" = set; then
8616 enableval="$enable_printarch"
8618 if test "$enableval" = yes; then
8619 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8621 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8626 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
8627 if test "x$LINE" != x ; then
8628 eval "DEFAULT_$LINE"
8633 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8637 eval "$ac_cv_use_printarch"
8638 if test "$no_cache" != 1; then
8639 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8642 if test x"$enablestring" = xdisable; then
8643 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8649 result=$wxUSE_PRINTING_ARCHITECTURE
8652 echo "$as_me:$LINENO: result: $result" >&5
8653 echo "${ECHO_T}$result" >&6
8657 defaultval=$wxUSE_ALL_FEATURES
8658 if test -z"$defaultval"; then
8659 if test x"$enablestring" = xdisable; then
8666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8667 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
8669 # Check whether --enable-mdi or --disable-mdi was given.
8670 if test "${enable_mdi+set}" = set; then
8671 enableval="$enable_mdi"
8673 if test "$enableval" = yes; then
8674 ac_cv_use_mdi='wxUSE_MDI=yes'
8676 ac_cv_use_mdi='wxUSE_MDI=no'
8681 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
8682 if test "x$LINE" != x ; then
8683 eval "DEFAULT_$LINE"
8688 ac_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8692 eval "$ac_cv_use_mdi"
8693 if test "$no_cache" != 1; then
8694 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8697 if test x"$enablestring" = xdisable; then
8698 if test $wxUSE_MDI = yes; then
8707 echo "$as_me:$LINENO: result: $result" >&5
8708 echo "${ECHO_T}$result" >&6
8712 defaultval=$wxUSE_ALL_FEATURES
8713 if test -z"$defaultval"; then
8714 if test x"$enablestring" = xdisable; then
8721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8722 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
8724 # Check whether --enable-mdidoc or --disable-mdidoc was given.
8725 if test "${enable_mdidoc+set}" = set; then
8726 enableval="$enable_mdidoc"
8728 if test "$enableval" = yes; then
8729 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8731 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8736 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
8737 if test "x$LINE" != x ; then
8738 eval "DEFAULT_$LINE"
8743 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8747 eval "$ac_cv_use_mdidoc"
8748 if test "$no_cache" != 1; then
8749 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8752 if test x"$enablestring" = xdisable; then
8753 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8759 result=$wxUSE_MDI_ARCHITECTURE
8762 echo "$as_me:$LINENO: result: $result" >&5
8763 echo "${ECHO_T}$result" >&6
8767 defaultval=$wxUSE_ALL_FEATURES
8768 if test -z"$defaultval"; then
8769 if test x"$enablestring" = xdisable; then
8776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8777 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
8779 # Check whether --enable-loggui or --disable-loggui was given.
8780 if test "${enable_loggui+set}" = set; then
8781 enableval="$enable_loggui"
8783 if test "$enableval" = yes; then
8784 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8786 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8791 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
8792 if test "x$LINE" != x ; then
8793 eval "DEFAULT_$LINE"
8798 ac_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8802 eval "$ac_cv_use_loggui"
8803 if test "$no_cache" != 1; then
8804 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8807 if test x"$enablestring" = xdisable; then
8808 if test $wxUSE_LOGGUI = yes; then
8814 result=$wxUSE_LOGGUI
8817 echo "$as_me:$LINENO: result: $result" >&5
8818 echo "${ECHO_T}$result" >&6
8822 defaultval=$wxUSE_ALL_FEATURES
8823 if test -z"$defaultval"; then
8824 if test x"$enablestring" = xdisable; then
8831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8832 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
8834 # Check whether --enable-logwin or --disable-logwin was given.
8835 if test "${enable_logwin+set}" = set; then
8836 enableval="$enable_logwin"
8838 if test "$enableval" = yes; then
8839 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8841 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8846 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
8847 if test "x$LINE" != x ; then
8848 eval "DEFAULT_$LINE"
8853 ac_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8857 eval "$ac_cv_use_logwin"
8858 if test "$no_cache" != 1; then
8859 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8862 if test x"$enablestring" = xdisable; then
8863 if test $wxUSE_LOGWINDOW = yes; then
8869 result=$wxUSE_LOGWINDOW
8872 echo "$as_me:$LINENO: result: $result" >&5
8873 echo "${ECHO_T}$result" >&6
8877 defaultval=$wxUSE_ALL_FEATURES
8878 if test -z"$defaultval"; then
8879 if test x"$enablestring" = xdisable; then
8886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8887 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
8889 # Check whether --enable-logdialog or --disable-logdialog was given.
8890 if test "${enable_logdialog+set}" = set; then
8891 enableval="$enable_logdialog"
8893 if test "$enableval" = yes; then
8894 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8896 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8901 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
8902 if test "x$LINE" != x ; then
8903 eval "DEFAULT_$LINE"
8908 ac_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8912 eval "$ac_cv_use_logdialog"
8913 if test "$no_cache" != 1; then
8914 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8917 if test x"$enablestring" = xdisable; then
8918 if test $wxUSE_LOGDIALOG = yes; then
8924 result=$wxUSE_LOGDIALOG
8927 echo "$as_me:$LINENO: result: $result" >&5
8928 echo "${ECHO_T}$result" >&6
8932 defaultval=$wxUSE_ALL_FEATURES
8933 if test -z"$defaultval"; then
8934 if test x"$enablestring" = xdisable; then
8941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8942 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
8944 # Check whether --enable-webkit or --disable-webkit was given.
8945 if test "${enable_webkit+set}" = set; then
8946 enableval="$enable_webkit"
8948 if test "$enableval" = yes; then
8949 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8951 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8956 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
8957 if test "x$LINE" != x ; then
8958 eval "DEFAULT_$LINE"
8963 ac_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8967 eval "$ac_cv_use_webkit"
8968 if test "$no_cache" != 1; then
8969 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8972 if test x"$enablestring" = xdisable; then
8973 if test $wxUSE_WEBKIT = yes; then
8979 result=$wxUSE_WEBKIT
8982 echo "$as_me:$LINENO: result: $result" >&5
8983 echo "${ECHO_T}$result" >&6
8987 defaultval=$wxUSE_ALL_FEATURES
8988 if test -z"$defaultval"; then
8989 if test x"$enablestring" = xdisable; then
8996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8997 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
8999 # Check whether --enable-richtext or --disable-richtext was given.
9000 if test "${enable_richtext+set}" = set; then
9001 enableval="$enable_richtext"
9003 if test "$enableval" = yes; then
9004 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
9006 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
9011 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
9012 if test "x$LINE" != x ; then
9013 eval "DEFAULT_$LINE"
9018 ac_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9022 eval "$ac_cv_use_richtext"
9023 if test "$no_cache" != 1; then
9024 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
9027 if test x"$enablestring" = xdisable; then
9028 if test $wxUSE_RICHTEXT = yes; then
9034 result=$wxUSE_RICHTEXT
9037 echo "$as_me:$LINENO: result: $result" >&5
9038 echo "${ECHO_T}$result" >&6
9042 defaultval=$wxUSE_ALL_FEATURES
9043 if test -z"$defaultval"; then
9044 if test x"$enablestring" = xdisable; then
9051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9052 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
9054 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
9055 if test "${enable_graphics_ctx+set}" = set; then
9056 enableval="$enable_graphics_ctx"
9058 if test "$enableval" = yes; then
9059 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9061 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9066 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
9067 if test "x$LINE" != x ; then
9068 eval "DEFAULT_$LINE"
9073 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9077 eval "$ac_cv_use_graphics_ctx"
9078 if test "$no_cache" != 1; then
9079 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
9082 if test x"$enablestring" = xdisable; then
9083 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9089 result=$wxUSE_GRAPHICS_CONTEXT
9092 echo "$as_me:$LINENO: result: $result" >&5
9093 echo "${ECHO_T}$result" >&6
9097 defaultval=$wxUSE_ALL_FEATURES
9098 if test -z"$defaultval"; then
9099 if test x"$enablestring" = xdisable; then
9106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9107 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
9109 # Check whether --enable-postscript or --disable-postscript was given.
9110 if test "${enable_postscript+set}" = set; then
9111 enableval="$enable_postscript"
9113 if test "$enableval" = yes; then
9114 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9116 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9121 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
9122 if test "x$LINE" != x ; then
9123 eval "DEFAULT_$LINE"
9128 ac_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9132 eval "$ac_cv_use_postscript"
9133 if test "$no_cache" != 1; then
9134 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
9137 if test x"$enablestring" = xdisable; then
9138 if test $wxUSE_POSTSCRIPT = yes; then
9144 result=$wxUSE_POSTSCRIPT
9147 echo "$as_me:$LINENO: result: $result" >&5
9148 echo "${ECHO_T}$result" >&6
9154 defaultval=$wxUSE_ALL_FEATURES
9155 if test -z"$defaultval"; then
9156 if test x"$enablestring" = xdisable; then
9163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9164 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
9166 # Check whether --enable-clipboard or --disable-clipboard was given.
9167 if test "${enable_clipboard+set}" = set; then
9168 enableval="$enable_clipboard"
9170 if test "$enableval" = yes; then
9171 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9173 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9178 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
9179 if test "x$LINE" != x ; then
9180 eval "DEFAULT_$LINE"
9185 ac_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9189 eval "$ac_cv_use_clipboard"
9190 if test "$no_cache" != 1; then
9191 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
9194 if test x"$enablestring" = xdisable; then
9195 if test $wxUSE_CLIPBOARD = yes; then
9201 result=$wxUSE_CLIPBOARD
9204 echo "$as_me:$LINENO: result: $result" >&5
9205 echo "${ECHO_T}$result" >&6
9209 defaultval=$wxUSE_ALL_FEATURES
9210 if test -z"$defaultval"; then
9211 if test x"$enablestring" = xdisable; then
9218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9219 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
9221 # Check whether --enable-dnd or --disable-dnd was given.
9222 if test "${enable_dnd+set}" = set; then
9223 enableval="$enable_dnd"
9225 if test "$enableval" = yes; then
9226 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9228 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9233 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
9234 if test "x$LINE" != x ; then
9235 eval "DEFAULT_$LINE"
9240 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9244 eval "$ac_cv_use_dnd"
9245 if test "$no_cache" != 1; then
9246 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
9249 if test x"$enablestring" = xdisable; then
9250 if test $wxUSE_DRAG_AND_DROP = yes; then
9256 result=$wxUSE_DRAG_AND_DROP
9259 echo "$as_me:$LINENO: result: $result" >&5
9260 echo "${ECHO_T}$result" >&6
9264 defaultval=$wxUSE_ALL_FEATURES
9265 if test -z"$defaultval"; then
9266 if test x"$enablestring" = xdisable; then
9273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9274 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9276 # Check whether --enable-metafile or --disable-metafile was given.
9277 if test "${enable_metafile+set}" = set; then
9278 enableval="$enable_metafile"
9280 if test "$enableval" = yes; then
9281 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9283 ac_cv_use_metafile='wxUSE_METAFILE=no'
9288 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
9289 if test "x$LINE" != x ; then
9290 eval "DEFAULT_$LINE"
9295 ac_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9299 eval "$ac_cv_use_metafile"
9300 if test "$no_cache" != 1; then
9301 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9304 if test x"$enablestring" = xdisable; then
9305 if test $wxUSE_METAFILE = yes; then
9311 result=$wxUSE_METAFILE
9314 echo "$as_me:$LINENO: result: $result" >&5
9315 echo "${ECHO_T}$result" >&6
9321 defaultval=$wxUSE_ALL_FEATURES
9322 if test -z"$defaultval"; then
9323 if test x"$enablestring" = xdisable; then
9330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9331 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
9333 # Check whether --enable-controls or --disable-controls was given.
9334 if test "${enable_controls+set}" = set; then
9335 enableval="$enable_controls"
9337 if test "$enableval" = yes; then
9338 ac_cv_use_controls='wxUSE_CONTROLS=yes'
9340 ac_cv_use_controls='wxUSE_CONTROLS=no'
9345 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
9346 if test "x$LINE" != x ; then
9347 eval "DEFAULT_$LINE"
9352 ac_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9356 eval "$ac_cv_use_controls"
9357 if test "$no_cache" != 1; then
9358 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
9361 if test x"$enablestring" = xdisable; then
9362 if test $wxUSE_CONTROLS = yes; then
9368 result=$wxUSE_CONTROLS
9371 echo "$as_me:$LINENO: result: $result" >&5
9372 echo "${ECHO_T}$result" >&6
9375 if test "$wxUSE_CONTROLS" = "yes"; then
9376 DEFAULT_wxUSE_ACCEL=yes
9377 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9378 DEFAULT_wxUSE_BMPBUTTON=yes
9379 DEFAULT_wxUSE_BUTTON=yes
9380 DEFAULT_wxUSE_CALCTRL=yes
9381 DEFAULT_wxUSE_CARET=yes
9382 DEFAULT_wxUSE_COMBOBOX=yes
9383 DEFAULT_wxUSE_CHECKBOX=yes
9384 DEFAULT_wxUSE_CHECKLISTBOX=yes
9385 DEFAULT_wxUSE_CHOICE=yes
9386 DEFAULT_wxUSE_CHOICEBOOK=yes
9387 DEFAULT_wxUSE_COLLPANE=yes
9388 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9389 DEFAULT_wxUSE_COMBOBOX=yes
9390 DEFAULT_wxUSE_DATEPICKCTRL=yes
9391 DEFAULT_wxUSE_DISPLAY=yes
9392 DEFAULT_wxUSE_DETECT_SM=yes
9393 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9394 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9395 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9396 DEFAULT_wxUSE_GAUGE=yes
9397 DEFAULT_wxUSE_GRID=yes
9398 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9399 DEFAULT_wxUSE_DATAVIEWCTRL=no
9400 DEFAULT_wxUSE_IMAGLIST=yes
9401 DEFAULT_wxUSE_LISTBOOK=yes
9402 DEFAULT_wxUSE_LISTBOX=yes
9403 DEFAULT_wxUSE_LISTCTRL=yes
9404 DEFAULT_wxUSE_NOTEBOOK=yes
9405 DEFAULT_wxUSE_RADIOBOX=yes
9406 DEFAULT_wxUSE_RADIOBTN=yes
9407 DEFAULT_wxUSE_SASH=yes
9408 DEFAULT_wxUSE_SCROLLBAR=yes
9409 DEFAULT_wxUSE_SEARCHCTRL=yes
9410 DEFAULT_wxUSE_SLIDER=yes
9411 DEFAULT_wxUSE_SPINBTN=yes
9412 DEFAULT_wxUSE_SPINCTRL=yes
9413 DEFAULT_wxUSE_SPLITTER=yes
9414 DEFAULT_wxUSE_STATBMP=yes
9415 DEFAULT_wxUSE_STATBOX=yes
9416 DEFAULT_wxUSE_STATLINE=yes
9417 DEFAULT_wxUSE_STATUSBAR=yes
9418 DEFAULT_wxUSE_TAB_DIALOG=yes
9419 DEFAULT_wxUSE_TOGGLEBTN=yes
9420 DEFAULT_wxUSE_TOOLBAR=yes
9421 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9422 DEFAULT_wxUSE_TOOLTIPS=yes
9423 DEFAULT_wxUSE_TREEBOOK=yes
9424 DEFAULT_wxUSE_TOOLBOOK=yes
9425 DEFAULT_wxUSE_TREECTRL=yes
9426 DEFAULT_wxUSE_POPUPWIN=yes
9427 DEFAULT_wxUSE_TIPWINDOW=yes
9428 elif test "$wxUSE_CONTROLS" = "no"; then
9429 DEFAULT_wxUSE_ACCEL=no
9430 DEFAULT_wxUSE_ANIMATIONCTRL=no
9431 DEFAULT_wxUSE_BMPBUTTON=no
9432 DEFAULT_wxUSE_BUTTON=no
9433 DEFAULT_wxUSE_CALCTRL=no
9434 DEFAULT_wxUSE_CARET=no
9435 DEFAULT_wxUSE_COLLPANE=no
9436 DEFAULT_wxUSE_COMBOBOX=no
9437 DEFAULT_wxUSE_CHECKBOX=no
9438 DEFAULT_wxUSE_CHECKLISTBOX=no
9439 DEFAULT_wxUSE_CHOICE=no
9440 DEFAULT_wxUSE_CHOICEBOOK=no
9441 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9442 DEFAULT_wxUSE_COMBOBOX=no
9443 DEFAULT_wxUSE_DATEPICKCTRL=no
9444 DEFAULT_wxUSE_DISPLAY=no
9445 DEFAULT_wxUSE_DETECT_SM=no
9446 DEFAULT_wxUSE_DIRPICKERCTRL=no
9447 DEFAULT_wxUSE_FILEPICKERCTRL=no
9448 DEFAULT_wxUSE_FONTPICKERCTRL=no
9449 DEFAULT_wxUSE_GAUGE=no
9450 DEFAULT_wxUSE_GRID=no
9451 DEFAULT_wxUSE_HYPERLINKCTRL=no
9452 DEFAULT_wxUSE_DATAVIEWCTRL=no
9453 DEFAULT_wxUSE_IMAGLIST=no
9454 DEFAULT_wxUSE_LISTBOOK=no
9455 DEFAULT_wxUSE_LISTBOX=no
9456 DEFAULT_wxUSE_LISTCTRL=no
9457 DEFAULT_wxUSE_NOTEBOOK=no
9458 DEFAULT_wxUSE_RADIOBOX=no
9459 DEFAULT_wxUSE_RADIOBTN=no
9460 DEFAULT_wxUSE_SASH=no
9461 DEFAULT_wxUSE_SCROLLBAR=no
9462 DEFAULT_wxUSE_SEARCHCTRL=no
9463 DEFAULT_wxUSE_SLIDER=no
9464 DEFAULT_wxUSE_SPINBTN=no
9465 DEFAULT_wxUSE_SPINCTRL=no
9466 DEFAULT_wxUSE_SPLITTER=no
9467 DEFAULT_wxUSE_STATBMP=no
9468 DEFAULT_wxUSE_STATBOX=no
9469 DEFAULT_wxUSE_STATLINE=no
9470 DEFAULT_wxUSE_STATUSBAR=no
9471 DEFAULT_wxUSE_TAB_DIALOG=no
9472 DEFAULT_wxUSE_TOGGLEBTN=no
9473 DEFAULT_wxUSE_TOOLBAR=no
9474 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9475 DEFAULT_wxUSE_TOOLTIPS=no
9476 DEFAULT_wxUSE_TREEBOOK=no
9477 DEFAULT_wxUSE_TOOLBOOK=no
9478 DEFAULT_wxUSE_TREECTRL=no
9479 DEFAULT_wxUSE_POPUPWIN=no
9480 DEFAULT_wxUSE_TIPWINDOW=no
9485 defaultval=$wxUSE_ALL_FEATURES
9486 if test -z"$defaultval"; then
9487 if test x"$enablestring" = xdisable; then
9494 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9495 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
9497 # Check whether --enable-accel or --disable-accel was given.
9498 if test "${enable_accel+set}" = set; then
9499 enableval="$enable_accel"
9501 if test "$enableval" = yes; then
9502 ac_cv_use_accel='wxUSE_ACCEL=yes'
9504 ac_cv_use_accel='wxUSE_ACCEL=no'
9509 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
9510 if test "x$LINE" != x ; then
9511 eval "DEFAULT_$LINE"
9516 ac_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9520 eval "$ac_cv_use_accel"
9521 if test "$no_cache" != 1; then
9522 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
9525 if test x"$enablestring" = xdisable; then
9526 if test $wxUSE_ACCEL = yes; then
9535 echo "$as_me:$LINENO: result: $result" >&5
9536 echo "${ECHO_T}$result" >&6
9540 defaultval=$wxUSE_ALL_FEATURES
9541 if test -z"$defaultval"; then
9542 if test x"$enablestring" = xdisable; then
9549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9550 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
9552 # Check whether --enable-animatectrl or --disable-animatectrl was given.
9553 if test "${enable_animatectrl+set}" = set; then
9554 enableval="$enable_animatectrl"
9556 if test "$enableval" = yes; then
9557 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9559 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9564 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
9565 if test "x$LINE" != x ; then
9566 eval "DEFAULT_$LINE"
9571 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9575 eval "$ac_cv_use_animatectrl"
9576 if test "$no_cache" != 1; then
9577 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
9580 if test x"$enablestring" = xdisable; then
9581 if test $wxUSE_ANIMATIONCTRL = yes; then
9587 result=$wxUSE_ANIMATIONCTRL
9590 echo "$as_me:$LINENO: result: $result" >&5
9591 echo "${ECHO_T}$result" >&6
9595 defaultval=$wxUSE_ALL_FEATURES
9596 if test -z"$defaultval"; then
9597 if test x"$enablestring" = xdisable; then
9604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9605 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
9607 # Check whether --enable-button or --disable-button was given.
9608 if test "${enable_button+set}" = set; then
9609 enableval="$enable_button"
9611 if test "$enableval" = yes; then
9612 ac_cv_use_button='wxUSE_BUTTON=yes'
9614 ac_cv_use_button='wxUSE_BUTTON=no'
9619 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
9620 if test "x$LINE" != x ; then
9621 eval "DEFAULT_$LINE"
9626 ac_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9630 eval "$ac_cv_use_button"
9631 if test "$no_cache" != 1; then
9632 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
9635 if test x"$enablestring" = xdisable; then
9636 if test $wxUSE_BUTTON = yes; then
9642 result=$wxUSE_BUTTON
9645 echo "$as_me:$LINENO: result: $result" >&5
9646 echo "${ECHO_T}$result" >&6
9650 defaultval=$wxUSE_ALL_FEATURES
9651 if test -z"$defaultval"; then
9652 if test x"$enablestring" = xdisable; then
9659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9660 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
9662 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
9663 if test "${enable_bmpbutton+set}" = set; then
9664 enableval="$enable_bmpbutton"
9666 if test "$enableval" = yes; then
9667 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9669 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9674 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
9675 if test "x$LINE" != x ; then
9676 eval "DEFAULT_$LINE"
9681 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9685 eval "$ac_cv_use_bmpbutton"
9686 if test "$no_cache" != 1; then
9687 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
9690 if test x"$enablestring" = xdisable; then
9691 if test $wxUSE_BMPBUTTON = yes; then
9697 result=$wxUSE_BMPBUTTON
9700 echo "$as_me:$LINENO: result: $result" >&5
9701 echo "${ECHO_T}$result" >&6
9705 defaultval=$wxUSE_ALL_FEATURES
9706 if test -z"$defaultval"; then
9707 if test x"$enablestring" = xdisable; then
9714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9715 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
9717 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
9718 if test "${enable_bmpcombobox+set}" = set; then
9719 enableval="$enable_bmpcombobox"
9721 if test "$enableval" = yes; then
9722 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9724 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9729 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
9730 if test "x$LINE" != x ; then
9731 eval "DEFAULT_$LINE"
9736 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9740 eval "$ac_cv_use_bmpcombobox"
9741 if test "$no_cache" != 1; then
9742 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
9745 if test x"$enablestring" = xdisable; then
9746 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9752 result=$wxUSE_BITMAPCOMBOBOX
9755 echo "$as_me:$LINENO: result: $result" >&5
9756 echo "${ECHO_T}$result" >&6
9760 defaultval=$wxUSE_ALL_FEATURES
9761 if test -z"$defaultval"; then
9762 if test x"$enablestring" = xdisable; then
9769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9770 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
9772 # Check whether --enable-calendar or --disable-calendar was given.
9773 if test "${enable_calendar+set}" = set; then
9774 enableval="$enable_calendar"
9776 if test "$enableval" = yes; then
9777 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
9779 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9784 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
9785 if test "x$LINE" != x ; then
9786 eval "DEFAULT_$LINE"
9791 ac_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9795 eval "$ac_cv_use_calendar"
9796 if test "$no_cache" != 1; then
9797 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9800 if test x"$enablestring" = xdisable; then
9801 if test $wxUSE_CALCTRL = yes; then
9807 result=$wxUSE_CALCTRL
9810 echo "$as_me:$LINENO: result: $result" >&5
9811 echo "${ECHO_T}$result" >&6
9815 defaultval=$wxUSE_ALL_FEATURES
9816 if test -z"$defaultval"; then
9817 if test x"$enablestring" = xdisable; then
9824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9825 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
9827 # Check whether --enable-caret or --disable-caret was given.
9828 if test "${enable_caret+set}" = set; then
9829 enableval="$enable_caret"
9831 if test "$enableval" = yes; then
9832 ac_cv_use_caret='wxUSE_CARET=yes'
9834 ac_cv_use_caret='wxUSE_CARET=no'
9839 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
9840 if test "x$LINE" != x ; then
9841 eval "DEFAULT_$LINE"
9846 ac_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9850 eval "$ac_cv_use_caret"
9851 if test "$no_cache" != 1; then
9852 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9855 if test x"$enablestring" = xdisable; then
9856 if test $wxUSE_CARET = yes; then
9865 echo "$as_me:$LINENO: result: $result" >&5
9866 echo "${ECHO_T}$result" >&6
9870 defaultval=$wxUSE_ALL_FEATURES
9871 if test -z"$defaultval"; then
9872 if test x"$enablestring" = xdisable; then
9879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9880 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
9882 # Check whether --enable-checkbox or --disable-checkbox was given.
9883 if test "${enable_checkbox+set}" = set; then
9884 enableval="$enable_checkbox"
9886 if test "$enableval" = yes; then
9887 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9889 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9894 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
9895 if test "x$LINE" != x ; then
9896 eval "DEFAULT_$LINE"
9901 ac_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9905 eval "$ac_cv_use_checkbox"
9906 if test "$no_cache" != 1; then
9907 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9910 if test x"$enablestring" = xdisable; then
9911 if test $wxUSE_CHECKBOX = yes; then
9917 result=$wxUSE_CHECKBOX
9920 echo "$as_me:$LINENO: result: $result" >&5
9921 echo "${ECHO_T}$result" >&6
9925 defaultval=$wxUSE_ALL_FEATURES
9926 if test -z"$defaultval"; then
9927 if test x"$enablestring" = xdisable; then
9934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9935 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
9937 # Check whether --enable-checklst or --disable-checklst was given.
9938 if test "${enable_checklst+set}" = set; then
9939 enableval="$enable_checklst"
9941 if test "$enableval" = yes; then
9942 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9944 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9949 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
9950 if test "x$LINE" != x ; then
9951 eval "DEFAULT_$LINE"
9956 ac_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9960 eval "$ac_cv_use_checklst"
9961 if test "$no_cache" != 1; then
9962 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9965 if test x"$enablestring" = xdisable; then
9966 if test $wxUSE_CHECKLST = yes; then
9972 result=$wxUSE_CHECKLST
9975 echo "$as_me:$LINENO: result: $result" >&5
9976 echo "${ECHO_T}$result" >&6
9980 defaultval=$wxUSE_ALL_FEATURES
9981 if test -z"$defaultval"; then
9982 if test x"$enablestring" = xdisable; then
9989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9990 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
9992 # Check whether --enable-choice or --disable-choice was given.
9993 if test "${enable_choice+set}" = set; then
9994 enableval="$enable_choice"
9996 if test "$enableval" = yes; then
9997 ac_cv_use_choice='wxUSE_CHOICE=yes'
9999 ac_cv_use_choice='wxUSE_CHOICE=no'
10004 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
10005 if test "x$LINE" != x ; then
10006 eval "DEFAULT_$LINE"
10011 ac_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10015 eval "$ac_cv_use_choice"
10016 if test "$no_cache" != 1; then
10017 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
10020 if test x"$enablestring" = xdisable; then
10021 if test $wxUSE_CHOICE = yes; then
10027 result=$wxUSE_CHOICE
10030 echo "$as_me:$LINENO: result: $result" >&5
10031 echo "${ECHO_T}$result" >&6
10035 defaultval=$wxUSE_ALL_FEATURES
10036 if test -z"$defaultval"; then
10037 if test x"$enablestring" = xdisable; then
10044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10045 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
10047 # Check whether --enable-choicebook or --disable-choicebook was given.
10048 if test "${enable_choicebook+set}" = set; then
10049 enableval="$enable_choicebook"
10051 if test "$enableval" = yes; then
10052 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10054 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10059 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
10060 if test "x$LINE" != x ; then
10061 eval "DEFAULT_$LINE"
10066 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10070 eval "$ac_cv_use_choicebook"
10071 if test "$no_cache" != 1; then
10072 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
10075 if test x"$enablestring" = xdisable; then
10076 if test $wxUSE_CHOICEBOOK = yes; then
10082 result=$wxUSE_CHOICEBOOK
10085 echo "$as_me:$LINENO: result: $result" >&5
10086 echo "${ECHO_T}$result" >&6
10090 defaultval=$wxUSE_ALL_FEATURES
10091 if test -z"$defaultval"; then
10092 if test x"$enablestring" = xdisable; then
10099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10100 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
10102 # Check whether --enable-collpane or --disable-collpane was given.
10103 if test "${enable_collpane+set}" = set; then
10104 enableval="$enable_collpane"
10106 if test "$enableval" = yes; then
10107 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
10109 ac_cv_use_collpane='wxUSE_COLLPANE=no'
10114 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
10115 if test "x$LINE" != x ; then
10116 eval "DEFAULT_$LINE"
10121 ac_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10125 eval "$ac_cv_use_collpane"
10126 if test "$no_cache" != 1; then
10127 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
10130 if test x"$enablestring" = xdisable; then
10131 if test $wxUSE_COLLPANE = yes; then
10137 result=$wxUSE_COLLPANE
10140 echo "$as_me:$LINENO: result: $result" >&5
10141 echo "${ECHO_T}$result" >&6
10145 defaultval=$wxUSE_ALL_FEATURES
10146 if test -z"$defaultval"; then
10147 if test x"$enablestring" = xdisable; then
10154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10155 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
10157 # Check whether --enable-colourpicker or --disable-colourpicker was given.
10158 if test "${enable_colourpicker+set}" = set; then
10159 enableval="$enable_colourpicker"
10161 if test "$enableval" = yes; then
10162 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10164 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10169 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
10170 if test "x$LINE" != x ; then
10171 eval "DEFAULT_$LINE"
10176 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10180 eval "$ac_cv_use_colourpicker"
10181 if test "$no_cache" != 1; then
10182 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
10185 if test x"$enablestring" = xdisable; then
10186 if test $wxUSE_COLOURPICKERCTRL = yes; then
10192 result=$wxUSE_COLOURPICKERCTRL
10195 echo "$as_me:$LINENO: result: $result" >&5
10196 echo "${ECHO_T}$result" >&6
10200 defaultval=$wxUSE_ALL_FEATURES
10201 if test -z"$defaultval"; then
10202 if test x"$enablestring" = xdisable; then
10209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10210 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
10212 # Check whether --enable-combobox or --disable-combobox was given.
10213 if test "${enable_combobox+set}" = set; then
10214 enableval="$enable_combobox"
10216 if test "$enableval" = yes; then
10217 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
10219 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
10224 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
10225 if test "x$LINE" != x ; then
10226 eval "DEFAULT_$LINE"
10231 ac_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10235 eval "$ac_cv_use_combobox"
10236 if test "$no_cache" != 1; then
10237 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
10240 if test x"$enablestring" = xdisable; then
10241 if test $wxUSE_COMBOBOX = yes; then
10247 result=$wxUSE_COMBOBOX
10250 echo "$as_me:$LINENO: result: $result" >&5
10251 echo "${ECHO_T}$result" >&6
10255 defaultval=$wxUSE_ALL_FEATURES
10256 if test -z"$defaultval"; then
10257 if test x"$enablestring" = xdisable; then
10264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10265 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
10267 # Check whether --enable-comboctrl or --disable-comboctrl was given.
10268 if test "${enable_comboctrl+set}" = set; then
10269 enableval="$enable_comboctrl"
10271 if test "$enableval" = yes; then
10272 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10274 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10279 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
10280 if test "x$LINE" != x ; then
10281 eval "DEFAULT_$LINE"
10286 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10290 eval "$ac_cv_use_comboctrl"
10291 if test "$no_cache" != 1; then
10292 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
10295 if test x"$enablestring" = xdisable; then
10296 if test $wxUSE_COMBOCTRL = yes; then
10302 result=$wxUSE_COMBOCTRL
10305 echo "$as_me:$LINENO: result: $result" >&5
10306 echo "${ECHO_T}$result" >&6
10310 defaultval=$wxUSE_ALL_FEATURES
10311 if test -z"$defaultval"; then
10312 if test x"$enablestring" = xdisable; then
10319 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10320 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
10322 # Check whether --enable-datepick or --disable-datepick was given.
10323 if test "${enable_datepick+set}" = set; then
10324 enableval="$enable_datepick"
10326 if test "$enableval" = yes; then
10327 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10329 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10334 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
10335 if test "x$LINE" != x ; then
10336 eval "DEFAULT_$LINE"
10341 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10345 eval "$ac_cv_use_datepick"
10346 if test "$no_cache" != 1; then
10347 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
10350 if test x"$enablestring" = xdisable; then
10351 if test $wxUSE_DATEPICKCTRL = yes; then
10357 result=$wxUSE_DATEPICKCTRL
10360 echo "$as_me:$LINENO: result: $result" >&5
10361 echo "${ECHO_T}$result" >&6
10365 defaultval=$wxUSE_ALL_FEATURES
10366 if test -z"$defaultval"; then
10367 if test x"$enablestring" = xdisable; then
10374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10375 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
10377 # Check whether --enable-dirpicker or --disable-dirpicker was given.
10378 if test "${enable_dirpicker+set}" = set; then
10379 enableval="$enable_dirpicker"
10381 if test "$enableval" = yes; then
10382 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10384 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10389 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
10390 if test "x$LINE" != x ; then
10391 eval "DEFAULT_$LINE"
10396 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10400 eval "$ac_cv_use_dirpicker"
10401 if test "$no_cache" != 1; then
10402 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
10405 if test x"$enablestring" = xdisable; then
10406 if test $wxUSE_DIRPICKERCTRL = yes; then
10412 result=$wxUSE_DIRPICKERCTRL
10415 echo "$as_me:$LINENO: result: $result" >&5
10416 echo "${ECHO_T}$result" >&6
10420 defaultval=$wxUSE_ALL_FEATURES
10421 if test -z"$defaultval"; then
10422 if test x"$enablestring" = xdisable; then
10429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10430 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
10432 # Check whether --enable-display or --disable-display was given.
10433 if test "${enable_display+set}" = set; then
10434 enableval="$enable_display"
10436 if test "$enableval" = yes; then
10437 ac_cv_use_display='wxUSE_DISPLAY=yes'
10439 ac_cv_use_display='wxUSE_DISPLAY=no'
10444 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
10445 if test "x$LINE" != x ; then
10446 eval "DEFAULT_$LINE"
10451 ac_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10455 eval "$ac_cv_use_display"
10456 if test "$no_cache" != 1; then
10457 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
10460 if test x"$enablestring" = xdisable; then
10461 if test $wxUSE_DISPLAY = yes; then
10467 result=$wxUSE_DISPLAY
10470 echo "$as_me:$LINENO: result: $result" >&5
10471 echo "${ECHO_T}$result" >&6
10475 defaultval=$wxUSE_ALL_FEATURES
10476 if test -z"$defaultval"; then
10477 if test x"$enablestring" = xdisable; then
10484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10485 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
10487 # Check whether --enable-detect_sm or --disable-detect_sm was given.
10488 if test "${enable_detect_sm+set}" = set; then
10489 enableval="$enable_detect_sm"
10491 if test "$enableval" = yes; then
10492 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10494 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10499 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
10500 if test "x$LINE" != x ; then
10501 eval "DEFAULT_$LINE"
10506 ac_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10510 eval "$ac_cv_use_detect_sm"
10511 if test "$no_cache" != 1; then
10512 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
10515 if test x"$enablestring" = xdisable; then
10516 if test $wxUSE_DETECT_SM = yes; then
10522 result=$wxUSE_DETECT_SM
10525 echo "$as_me:$LINENO: result: $result" >&5
10526 echo "${ECHO_T}$result" >&6
10530 defaultval=$wxUSE_ALL_FEATURES
10531 if test -z"$defaultval"; then
10532 if test x"$enablestring" = xdisable; then
10539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10540 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6
10542 # Check whether --enable-editablebox or --disable-editablebox was given.
10543 if test "${enable_editablebox+set}" = set; then
10544 enableval="$enable_editablebox"
10546 if test "$enableval" = yes; then
10547 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10549 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10554 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
10555 if test "x$LINE" != x ; then
10556 eval "DEFAULT_$LINE"
10561 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10565 eval "$ac_cv_use_editablebox"
10566 if test "$no_cache" != 1; then
10567 echo $ac_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
10570 if test x"$enablestring" = xdisable; then
10571 if test $wxUSE_EDITABLELISTBOX = yes; then
10577 result=$wxUSE_EDITABLELISTBOX
10580 echo "$as_me:$LINENO: result: $result" >&5
10581 echo "${ECHO_T}$result" >&6
10585 defaultval=$wxUSE_ALL_FEATURES
10586 if test -z"$defaultval"; then
10587 if test x"$enablestring" = xdisable; then
10594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10595 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
10597 # Check whether --enable-filepicker or --disable-filepicker was given.
10598 if test "${enable_filepicker+set}" = set; then
10599 enableval="$enable_filepicker"
10601 if test "$enableval" = yes; then
10602 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10604 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10609 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
10610 if test "x$LINE" != x ; then
10611 eval "DEFAULT_$LINE"
10616 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10620 eval "$ac_cv_use_filepicker"
10621 if test "$no_cache" != 1; then
10622 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
10625 if test x"$enablestring" = xdisable; then
10626 if test $wxUSE_FILEPICKERCTRL = yes; then
10632 result=$wxUSE_FILEPICKERCTRL
10635 echo "$as_me:$LINENO: result: $result" >&5
10636 echo "${ECHO_T}$result" >&6
10640 defaultval=$wxUSE_ALL_FEATURES
10641 if test -z"$defaultval"; then
10642 if test x"$enablestring" = xdisable; then
10649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10650 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
10652 # Check whether --enable-fontpicker or --disable-fontpicker was given.
10653 if test "${enable_fontpicker+set}" = set; then
10654 enableval="$enable_fontpicker"
10656 if test "$enableval" = yes; then
10657 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10659 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10664 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
10665 if test "x$LINE" != x ; then
10666 eval "DEFAULT_$LINE"
10671 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10675 eval "$ac_cv_use_fontpicker"
10676 if test "$no_cache" != 1; then
10677 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
10680 if test x"$enablestring" = xdisable; then
10681 if test $wxUSE_FONTPICKERCTRL = yes; then
10687 result=$wxUSE_FONTPICKERCTRL
10690 echo "$as_me:$LINENO: result: $result" >&5
10691 echo "${ECHO_T}$result" >&6
10695 defaultval=$wxUSE_ALL_FEATURES
10696 if test -z"$defaultval"; then
10697 if test x"$enablestring" = xdisable; then
10704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10705 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
10707 # Check whether --enable-gauge or --disable-gauge was given.
10708 if test "${enable_gauge+set}" = set; then
10709 enableval="$enable_gauge"
10711 if test "$enableval" = yes; then
10712 ac_cv_use_gauge='wxUSE_GAUGE=yes'
10714 ac_cv_use_gauge='wxUSE_GAUGE=no'
10719 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
10720 if test "x$LINE" != x ; then
10721 eval "DEFAULT_$LINE"
10726 ac_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10730 eval "$ac_cv_use_gauge"
10731 if test "$no_cache" != 1; then
10732 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
10735 if test x"$enablestring" = xdisable; then
10736 if test $wxUSE_GAUGE = yes; then
10742 result=$wxUSE_GAUGE
10745 echo "$as_me:$LINENO: result: $result" >&5
10746 echo "${ECHO_T}$result" >&6
10750 defaultval=$wxUSE_ALL_FEATURES
10751 if test -z"$defaultval"; then
10752 if test x"$enablestring" = xdisable; then
10759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10760 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
10762 # Check whether --enable-grid or --disable-grid was given.
10763 if test "${enable_grid+set}" = set; then
10764 enableval="$enable_grid"
10766 if test "$enableval" = yes; then
10767 ac_cv_use_grid='wxUSE_GRID=yes'
10769 ac_cv_use_grid='wxUSE_GRID=no'
10774 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
10775 if test "x$LINE" != x ; then
10776 eval "DEFAULT_$LINE"
10781 ac_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10785 eval "$ac_cv_use_grid"
10786 if test "$no_cache" != 1; then
10787 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
10790 if test x"$enablestring" = xdisable; then
10791 if test $wxUSE_GRID = yes; then
10800 echo "$as_me:$LINENO: result: $result" >&5
10801 echo "${ECHO_T}$result" >&6
10805 defaultval=$wxUSE_ALL_FEATURES
10806 if test -z"$defaultval"; then
10807 if test x"$enablestring" = xdisable; then
10814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10815 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
10817 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
10818 if test "${enable_dataviewctrl+set}" = set; then
10819 enableval="$enable_dataviewctrl"
10821 if test "$enableval" = yes; then
10822 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10824 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10829 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
10830 if test "x$LINE" != x ; then
10831 eval "DEFAULT_$LINE"
10836 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10840 eval "$ac_cv_use_dataviewctrl"
10841 if test "$no_cache" != 1; then
10842 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
10845 if test x"$enablestring" = xdisable; then
10846 if test $wxUSE_DATAVIEWCTRL = yes; then
10852 result=$wxUSE_DATAVIEWCTRL
10855 echo "$as_me:$LINENO: result: $result" >&5
10856 echo "${ECHO_T}$result" >&6
10860 defaultval=$wxUSE_ALL_FEATURES
10861 if test -z"$defaultval"; then
10862 if test x"$enablestring" = xdisable; then
10869 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10870 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
10872 # Check whether --enable-hyperlink or --disable-hyperlink was given.
10873 if test "${enable_hyperlink+set}" = set; then
10874 enableval="$enable_hyperlink"
10876 if test "$enableval" = yes; then
10877 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10879 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10884 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
10885 if test "x$LINE" != x ; then
10886 eval "DEFAULT_$LINE"
10891 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10895 eval "$ac_cv_use_hyperlink"
10896 if test "$no_cache" != 1; then
10897 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
10900 if test x"$enablestring" = xdisable; then
10901 if test $wxUSE_HYPERLINKCTRL = yes; then
10907 result=$wxUSE_HYPERLINKCTRL
10910 echo "$as_me:$LINENO: result: $result" >&5
10911 echo "${ECHO_T}$result" >&6
10915 defaultval=$wxUSE_ALL_FEATURES
10916 if test -z"$defaultval"; then
10917 if test x"$enablestring" = xdisable; then
10924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10925 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
10927 # Check whether --enable-imaglist or --disable-imaglist was given.
10928 if test "${enable_imaglist+set}" = set; then
10929 enableval="$enable_imaglist"
10931 if test "$enableval" = yes; then
10932 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10934 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
10939 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
10940 if test "x$LINE" != x ; then
10941 eval "DEFAULT_$LINE"
10946 ac_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10950 eval "$ac_cv_use_imaglist"
10951 if test "$no_cache" != 1; then
10952 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
10955 if test x"$enablestring" = xdisable; then
10956 if test $wxUSE_IMAGLIST = yes; then
10962 result=$wxUSE_IMAGLIST
10965 echo "$as_me:$LINENO: result: $result" >&5
10966 echo "${ECHO_T}$result" >&6
10970 defaultval=$wxUSE_ALL_FEATURES
10971 if test -z"$defaultval"; then
10972 if test x"$enablestring" = xdisable; then
10979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10980 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
10982 # Check whether --enable-listbook or --disable-listbook was given.
10983 if test "${enable_listbook+set}" = set; then
10984 enableval="$enable_listbook"
10986 if test "$enableval" = yes; then
10987 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
10989 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
10994 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
10995 if test "x$LINE" != x ; then
10996 eval "DEFAULT_$LINE"
11001 ac_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11005 eval "$ac_cv_use_listbook"
11006 if test "$no_cache" != 1; then
11007 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
11010 if test x"$enablestring" = xdisable; then
11011 if test $wxUSE_LISTBOOK = yes; then
11017 result=$wxUSE_LISTBOOK
11020 echo "$as_me:$LINENO: result: $result" >&5
11021 echo "${ECHO_T}$result" >&6
11025 defaultval=$wxUSE_ALL_FEATURES
11026 if test -z"$defaultval"; then
11027 if test x"$enablestring" = xdisable; then
11034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11035 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
11037 # Check whether --enable-listbox or --disable-listbox was given.
11038 if test "${enable_listbox+set}" = set; then
11039 enableval="$enable_listbox"
11041 if test "$enableval" = yes; then
11042 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
11044 ac_cv_use_listbox='wxUSE_LISTBOX=no'
11049 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
11050 if test "x$LINE" != x ; then
11051 eval "DEFAULT_$LINE"
11056 ac_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11060 eval "$ac_cv_use_listbox"
11061 if test "$no_cache" != 1; then
11062 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
11065 if test x"$enablestring" = xdisable; then
11066 if test $wxUSE_LISTBOX = yes; then
11072 result=$wxUSE_LISTBOX
11075 echo "$as_me:$LINENO: result: $result" >&5
11076 echo "${ECHO_T}$result" >&6
11080 defaultval=$wxUSE_ALL_FEATURES
11081 if test -z"$defaultval"; then
11082 if test x"$enablestring" = xdisable; then
11089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11090 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
11092 # Check whether --enable-listctrl or --disable-listctrl was given.
11093 if test "${enable_listctrl+set}" = set; then
11094 enableval="$enable_listctrl"
11096 if test "$enableval" = yes; then
11097 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11099 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
11104 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
11105 if test "x$LINE" != x ; then
11106 eval "DEFAULT_$LINE"
11111 ac_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11115 eval "$ac_cv_use_listctrl"
11116 if test "$no_cache" != 1; then
11117 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
11120 if test x"$enablestring" = xdisable; then
11121 if test $wxUSE_LISTCTRL = yes; then
11127 result=$wxUSE_LISTCTRL
11130 echo "$as_me:$LINENO: result: $result" >&5
11131 echo "${ECHO_T}$result" >&6
11135 defaultval=$wxUSE_ALL_FEATURES
11136 if test -z"$defaultval"; then
11137 if test x"$enablestring" = xdisable; then
11144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11145 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
11147 # Check whether --enable-notebook or --disable-notebook was given.
11148 if test "${enable_notebook+set}" = set; then
11149 enableval="$enable_notebook"
11151 if test "$enableval" = yes; then
11152 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11154 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
11159 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
11160 if test "x$LINE" != x ; then
11161 eval "DEFAULT_$LINE"
11166 ac_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11170 eval "$ac_cv_use_notebook"
11171 if test "$no_cache" != 1; then
11172 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
11175 if test x"$enablestring" = xdisable; then
11176 if test $wxUSE_NOTEBOOK = yes; then
11182 result=$wxUSE_NOTEBOOK
11185 echo "$as_me:$LINENO: result: $result" >&5
11186 echo "${ECHO_T}$result" >&6
11190 defaultval=$wxUSE_ALL_FEATURES
11191 if test -z"$defaultval"; then
11192 if test x"$enablestring" = xdisable; then
11199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11200 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
11202 # Check whether --enable-odcombobox or --disable-odcombobox was given.
11203 if test "${enable_odcombobox+set}" = set; then
11204 enableval="$enable_odcombobox"
11206 if test "$enableval" = yes; then
11207 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11209 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11214 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
11215 if test "x$LINE" != x ; then
11216 eval "DEFAULT_$LINE"
11221 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11225 eval "$ac_cv_use_odcombobox"
11226 if test "$no_cache" != 1; then
11227 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
11230 if test x"$enablestring" = xdisable; then
11231 if test $wxUSE_ODCOMBOBOX = yes; then
11237 result=$wxUSE_ODCOMBOBOX
11240 echo "$as_me:$LINENO: result: $result" >&5
11241 echo "${ECHO_T}$result" >&6
11245 defaultval=$wxUSE_ALL_FEATURES
11246 if test -z"$defaultval"; then
11247 if test x"$enablestring" = xdisable; then
11254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11255 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
11257 # Check whether --enable-radiobox or --disable-radiobox was given.
11258 if test "${enable_radiobox+set}" = set; then
11259 enableval="$enable_radiobox"
11261 if test "$enableval" = yes; then
11262 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11264 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
11269 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
11270 if test "x$LINE" != x ; then
11271 eval "DEFAULT_$LINE"
11276 ac_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11280 eval "$ac_cv_use_radiobox"
11281 if test "$no_cache" != 1; then
11282 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
11285 if test x"$enablestring" = xdisable; then
11286 if test $wxUSE_RADIOBOX = yes; then
11292 result=$wxUSE_RADIOBOX
11295 echo "$as_me:$LINENO: result: $result" >&5
11296 echo "${ECHO_T}$result" >&6
11300 defaultval=$wxUSE_ALL_FEATURES
11301 if test -z"$defaultval"; then
11302 if test x"$enablestring" = xdisable; then
11309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11310 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
11312 # Check whether --enable-radiobtn or --disable-radiobtn was given.
11313 if test "${enable_radiobtn+set}" = set; then
11314 enableval="$enable_radiobtn"
11316 if test "$enableval" = yes; then
11317 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11319 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11324 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
11325 if test "x$LINE" != x ; then
11326 eval "DEFAULT_$LINE"
11331 ac_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11335 eval "$ac_cv_use_radiobtn"
11336 if test "$no_cache" != 1; then
11337 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
11340 if test x"$enablestring" = xdisable; then
11341 if test $wxUSE_RADIOBTN = yes; then
11347 result=$wxUSE_RADIOBTN
11350 echo "$as_me:$LINENO: result: $result" >&5
11351 echo "${ECHO_T}$result" >&6
11355 defaultval=$wxUSE_ALL_FEATURES
11356 if test -z"$defaultval"; then
11357 if test x"$enablestring" = xdisable; then
11364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11365 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
11367 # Check whether --enable-sash or --disable-sash was given.
11368 if test "${enable_sash+set}" = set; then
11369 enableval="$enable_sash"
11371 if test "$enableval" = yes; then
11372 ac_cv_use_sash='wxUSE_SASH=yes'
11374 ac_cv_use_sash='wxUSE_SASH=no'
11379 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
11380 if test "x$LINE" != x ; then
11381 eval "DEFAULT_$LINE"
11386 ac_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11390 eval "$ac_cv_use_sash"
11391 if test "$no_cache" != 1; then
11392 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
11395 if test x"$enablestring" = xdisable; then
11396 if test $wxUSE_SASH = yes; then
11405 echo "$as_me:$LINENO: result: $result" >&5
11406 echo "${ECHO_T}$result" >&6
11410 defaultval=$wxUSE_ALL_FEATURES
11411 if test -z"$defaultval"; then
11412 if test x"$enablestring" = xdisable; then
11419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11420 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
11422 # Check whether --enable-scrollbar or --disable-scrollbar was given.
11423 if test "${enable_scrollbar+set}" = set; then
11424 enableval="$enable_scrollbar"
11426 if test "$enableval" = yes; then
11427 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11429 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11434 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
11435 if test "x$LINE" != x ; then
11436 eval "DEFAULT_$LINE"
11441 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11445 eval "$ac_cv_use_scrollbar"
11446 if test "$no_cache" != 1; then
11447 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
11450 if test x"$enablestring" = xdisable; then
11451 if test $wxUSE_SCROLLBAR = yes; then
11457 result=$wxUSE_SCROLLBAR
11460 echo "$as_me:$LINENO: result: $result" >&5
11461 echo "${ECHO_T}$result" >&6
11465 defaultval=$wxUSE_ALL_FEATURES
11466 if test -z"$defaultval"; then
11467 if test x"$enablestring" = xdisable; then
11474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11475 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6
11477 # Check whether --enable-searchctrl or --disable-searchctrl was given.
11478 if test "${enable_searchctrl+set}" = set; then
11479 enableval="$enable_searchctrl"
11481 if test "$enableval" = yes; then
11482 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11484 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11489 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
11490 if test "x$LINE" != x ; then
11491 eval "DEFAULT_$LINE"
11496 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11500 eval "$ac_cv_use_searchctrl"
11501 if test "$no_cache" != 1; then
11502 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
11505 if test x"$enablestring" = xdisable; then
11506 if test $wxUSE_SEARCHCTRL = yes; then
11512 result=$wxUSE_SEARCHCTRL
11515 echo "$as_me:$LINENO: result: $result" >&5
11516 echo "${ECHO_T}$result" >&6
11520 defaultval=$wxUSE_ALL_FEATURES
11521 if test -z"$defaultval"; then
11522 if test x"$enablestring" = xdisable; then
11529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11530 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
11532 # Check whether --enable-slider or --disable-slider was given.
11533 if test "${enable_slider+set}" = set; then
11534 enableval="$enable_slider"
11536 if test "$enableval" = yes; then
11537 ac_cv_use_slider='wxUSE_SLIDER=yes'
11539 ac_cv_use_slider='wxUSE_SLIDER=no'
11544 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
11545 if test "x$LINE" != x ; then
11546 eval "DEFAULT_$LINE"
11551 ac_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11555 eval "$ac_cv_use_slider"
11556 if test "$no_cache" != 1; then
11557 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
11560 if test x"$enablestring" = xdisable; then
11561 if test $wxUSE_SLIDER = yes; then
11567 result=$wxUSE_SLIDER
11570 echo "$as_me:$LINENO: result: $result" >&5
11571 echo "${ECHO_T}$result" >&6
11575 defaultval=$wxUSE_ALL_FEATURES
11576 if test -z"$defaultval"; then
11577 if test x"$enablestring" = xdisable; then
11584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11585 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
11587 # Check whether --enable-spinbtn or --disable-spinbtn was given.
11588 if test "${enable_spinbtn+set}" = set; then
11589 enableval="$enable_spinbtn"
11591 if test "$enableval" = yes; then
11592 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11594 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
11599 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
11600 if test "x$LINE" != x ; then
11601 eval "DEFAULT_$LINE"
11606 ac_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11610 eval "$ac_cv_use_spinbtn"
11611 if test "$no_cache" != 1; then
11612 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
11615 if test x"$enablestring" = xdisable; then
11616 if test $wxUSE_SPINBTN = yes; then
11622 result=$wxUSE_SPINBTN
11625 echo "$as_me:$LINENO: result: $result" >&5
11626 echo "${ECHO_T}$result" >&6
11630 defaultval=$wxUSE_ALL_FEATURES
11631 if test -z"$defaultval"; then
11632 if test x"$enablestring" = xdisable; then
11639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11640 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
11642 # Check whether --enable-spinctrl or --disable-spinctrl was given.
11643 if test "${enable_spinctrl+set}" = set; then
11644 enableval="$enable_spinctrl"
11646 if test "$enableval" = yes; then
11647 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11649 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11654 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
11655 if test "x$LINE" != x ; then
11656 eval "DEFAULT_$LINE"
11661 ac_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11665 eval "$ac_cv_use_spinctrl"
11666 if test "$no_cache" != 1; then
11667 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
11670 if test x"$enablestring" = xdisable; then
11671 if test $wxUSE_SPINCTRL = yes; then
11677 result=$wxUSE_SPINCTRL
11680 echo "$as_me:$LINENO: result: $result" >&5
11681 echo "${ECHO_T}$result" >&6
11685 defaultval=$wxUSE_ALL_FEATURES
11686 if test -z"$defaultval"; then
11687 if test x"$enablestring" = xdisable; then
11694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11695 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
11697 # Check whether --enable-splitter or --disable-splitter was given.
11698 if test "${enable_splitter+set}" = set; then
11699 enableval="$enable_splitter"
11701 if test "$enableval" = yes; then
11702 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
11704 ac_cv_use_splitter='wxUSE_SPLITTER=no'
11709 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
11710 if test "x$LINE" != x ; then
11711 eval "DEFAULT_$LINE"
11716 ac_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11720 eval "$ac_cv_use_splitter"
11721 if test "$no_cache" != 1; then
11722 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
11725 if test x"$enablestring" = xdisable; then
11726 if test $wxUSE_SPLITTER = yes; then
11732 result=$wxUSE_SPLITTER
11735 echo "$as_me:$LINENO: result: $result" >&5
11736 echo "${ECHO_T}$result" >&6
11740 defaultval=$wxUSE_ALL_FEATURES
11741 if test -z"$defaultval"; then
11742 if test x"$enablestring" = xdisable; then
11749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11750 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
11752 # Check whether --enable-statbmp or --disable-statbmp was given.
11753 if test "${enable_statbmp+set}" = set; then
11754 enableval="$enable_statbmp"
11756 if test "$enableval" = yes; then
11757 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
11759 ac_cv_use_statbmp='wxUSE_STATBMP=no'
11764 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
11765 if test "x$LINE" != x ; then
11766 eval "DEFAULT_$LINE"
11771 ac_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11775 eval "$ac_cv_use_statbmp"
11776 if test "$no_cache" != 1; then
11777 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
11780 if test x"$enablestring" = xdisable; then
11781 if test $wxUSE_STATBMP = yes; then
11787 result=$wxUSE_STATBMP
11790 echo "$as_me:$LINENO: result: $result" >&5
11791 echo "${ECHO_T}$result" >&6
11795 defaultval=$wxUSE_ALL_FEATURES
11796 if test -z"$defaultval"; then
11797 if test x"$enablestring" = xdisable; then
11804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11805 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
11807 # Check whether --enable-statbox or --disable-statbox was given.
11808 if test "${enable_statbox+set}" = set; then
11809 enableval="$enable_statbox"
11811 if test "$enableval" = yes; then
11812 ac_cv_use_statbox='wxUSE_STATBOX=yes'
11814 ac_cv_use_statbox='wxUSE_STATBOX=no'
11819 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
11820 if test "x$LINE" != x ; then
11821 eval "DEFAULT_$LINE"
11826 ac_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11830 eval "$ac_cv_use_statbox"
11831 if test "$no_cache" != 1; then
11832 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
11835 if test x"$enablestring" = xdisable; then
11836 if test $wxUSE_STATBOX = yes; then
11842 result=$wxUSE_STATBOX
11845 echo "$as_me:$LINENO: result: $result" >&5
11846 echo "${ECHO_T}$result" >&6
11850 defaultval=$wxUSE_ALL_FEATURES
11851 if test -z"$defaultval"; then
11852 if test x"$enablestring" = xdisable; then
11859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11860 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
11862 # Check whether --enable-statline or --disable-statline was given.
11863 if test "${enable_statline+set}" = set; then
11864 enableval="$enable_statline"
11866 if test "$enableval" = yes; then
11867 ac_cv_use_statline='wxUSE_STATLINE=yes'
11869 ac_cv_use_statline='wxUSE_STATLINE=no'
11874 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
11875 if test "x$LINE" != x ; then
11876 eval "DEFAULT_$LINE"
11881 ac_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11885 eval "$ac_cv_use_statline"
11886 if test "$no_cache" != 1; then
11887 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
11890 if test x"$enablestring" = xdisable; then
11891 if test $wxUSE_STATLINE = yes; then
11897 result=$wxUSE_STATLINE
11900 echo "$as_me:$LINENO: result: $result" >&5
11901 echo "${ECHO_T}$result" >&6
11905 defaultval=$wxUSE_ALL_FEATURES
11906 if test -z"$defaultval"; then
11907 if test x"$enablestring" = xdisable; then
11914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11915 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
11917 # Check whether --enable-stattext or --disable-stattext was given.
11918 if test "${enable_stattext+set}" = set; then
11919 enableval="$enable_stattext"
11921 if test "$enableval" = yes; then
11922 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
11924 ac_cv_use_stattext='wxUSE_STATTEXT=no'
11929 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
11930 if test "x$LINE" != x ; then
11931 eval "DEFAULT_$LINE"
11936 ac_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11940 eval "$ac_cv_use_stattext"
11941 if test "$no_cache" != 1; then
11942 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
11945 if test x"$enablestring" = xdisable; then
11946 if test $wxUSE_STATTEXT = yes; then
11952 result=$wxUSE_STATTEXT
11955 echo "$as_me:$LINENO: result: $result" >&5
11956 echo "${ECHO_T}$result" >&6
11960 defaultval=$wxUSE_ALL_FEATURES
11961 if test -z"$defaultval"; then
11962 if test x"$enablestring" = xdisable; then
11969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11970 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
11972 # Check whether --enable-statusbar or --disable-statusbar was given.
11973 if test "${enable_statusbar+set}" = set; then
11974 enableval="$enable_statusbar"
11976 if test "$enableval" = yes; then
11977 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11979 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
11984 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
11985 if test "x$LINE" != x ; then
11986 eval "DEFAULT_$LINE"
11991 ac_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11995 eval "$ac_cv_use_statusbar"
11996 if test "$no_cache" != 1; then
11997 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
12000 if test x"$enablestring" = xdisable; then
12001 if test $wxUSE_STATUSBAR = yes; then
12007 result=$wxUSE_STATUSBAR
12010 echo "$as_me:$LINENO: result: $result" >&5
12011 echo "${ECHO_T}$result" >&6
12015 defaultval=$wxUSE_ALL_FEATURES
12016 if test -z"$defaultval"; then
12017 if test x"$enablestring" = xdisable; then
12024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
12025 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
12027 # Check whether --enable-tabdialog or --disable-tabdialog was given.
12028 if test "${enable_tabdialog+set}" = set; then
12029 enableval="$enable_tabdialog"
12031 if test "$enableval" = yes; then
12032 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
12034 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
12039 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
12040 if test "x$LINE" != x ; then
12041 eval "DEFAULT_$LINE"
12046 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
12050 eval "$ac_cv_use_tabdialog"
12051 if test "$no_cache" != 1; then
12052 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
12055 if test x"$enablestring" = xdisable; then
12056 if test $wxUSE_TAB_DIALOG = yes; then
12062 result=$wxUSE_TAB_DIALOG
12065 echo "$as_me:$LINENO: result: $result" >&5
12066 echo "${ECHO_T}$result" >&6
12070 defaultval=$wxUSE_ALL_FEATURES
12071 if test -z"$defaultval"; then
12072 if test x"$enablestring" = xdisable; then
12079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12080 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
12082 # Check whether --enable-textctrl or --disable-textctrl was given.
12083 if test "${enable_textctrl+set}" = set; then
12084 enableval="$enable_textctrl"
12086 if test "$enableval" = yes; then
12087 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12089 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12094 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
12095 if test "x$LINE" != x ; then
12096 eval "DEFAULT_$LINE"
12101 ac_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12105 eval "$ac_cv_use_textctrl"
12106 if test "$no_cache" != 1; then
12107 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
12110 if test x"$enablestring" = xdisable; then
12111 if test $wxUSE_TEXTCTRL = yes; then
12117 result=$wxUSE_TEXTCTRL
12120 echo "$as_me:$LINENO: result: $result" >&5
12121 echo "${ECHO_T}$result" >&6
12125 defaultval=$wxUSE_ALL_FEATURES
12126 if test -z"$defaultval"; then
12127 if test x"$enablestring" = xdisable; then
12134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12135 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
12137 # Check whether --enable-togglebtn or --disable-togglebtn was given.
12138 if test "${enable_togglebtn+set}" = set; then
12139 enableval="$enable_togglebtn"
12141 if test "$enableval" = yes; then
12142 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12144 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12149 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
12150 if test "x$LINE" != x ; then
12151 eval "DEFAULT_$LINE"
12156 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12160 eval "$ac_cv_use_togglebtn"
12161 if test "$no_cache" != 1; then
12162 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
12165 if test x"$enablestring" = xdisable; then
12166 if test $wxUSE_TOGGLEBTN = yes; then
12172 result=$wxUSE_TOGGLEBTN
12175 echo "$as_me:$LINENO: result: $result" >&5
12176 echo "${ECHO_T}$result" >&6
12180 defaultval=$wxUSE_ALL_FEATURES
12181 if test -z"$defaultval"; then
12182 if test x"$enablestring" = xdisable; then
12189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12190 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
12192 # Check whether --enable-toolbar or --disable-toolbar was given.
12193 if test "${enable_toolbar+set}" = set; then
12194 enableval="$enable_toolbar"
12196 if test "$enableval" = yes; then
12197 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12199 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
12204 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
12205 if test "x$LINE" != x ; then
12206 eval "DEFAULT_$LINE"
12211 ac_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12215 eval "$ac_cv_use_toolbar"
12216 if test "$no_cache" != 1; then
12217 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
12220 if test x"$enablestring" = xdisable; then
12221 if test $wxUSE_TOOLBAR = yes; then
12227 result=$wxUSE_TOOLBAR
12230 echo "$as_me:$LINENO: result: $result" >&5
12231 echo "${ECHO_T}$result" >&6
12235 defaultval=$wxUSE_ALL_FEATURES
12236 if test -z"$defaultval"; then
12237 if test x"$enablestring" = xdisable; then
12244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12245 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
12247 # Check whether --enable-tbarnative or --disable-tbarnative was given.
12248 if test "${enable_tbarnative+set}" = set; then
12249 enableval="$enable_tbarnative"
12251 if test "$enableval" = yes; then
12252 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12254 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12259 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
12260 if test "x$LINE" != x ; then
12261 eval "DEFAULT_$LINE"
12266 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12270 eval "$ac_cv_use_tbarnative"
12271 if test "$no_cache" != 1; then
12272 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
12275 if test x"$enablestring" = xdisable; then
12276 if test $wxUSE_TOOLBAR_NATIVE = yes; then
12282 result=$wxUSE_TOOLBAR_NATIVE
12285 echo "$as_me:$LINENO: result: $result" >&5
12286 echo "${ECHO_T}$result" >&6
12290 defaultval=$wxUSE_ALL_FEATURES
12291 if test -z"$defaultval"; then
12292 if test x"$enablestring" = xdisable; then
12299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12300 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
12302 # Check whether --enable-treebook or --disable-treebook was given.
12303 if test "${enable_treebook+set}" = set; then
12304 enableval="$enable_treebook"
12306 if test "$enableval" = yes; then
12307 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
12309 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
12314 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
12315 if test "x$LINE" != x ; then
12316 eval "DEFAULT_$LINE"
12321 ac_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12325 eval "$ac_cv_use_treebook"
12326 if test "$no_cache" != 1; then
12327 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
12330 if test x"$enablestring" = xdisable; then
12331 if test $wxUSE_TREEBOOK = yes; then
12337 result=$wxUSE_TREEBOOK
12340 echo "$as_me:$LINENO: result: $result" >&5
12341 echo "${ECHO_T}$result" >&6
12345 defaultval=$wxUSE_ALL_FEATURES
12346 if test -z"$defaultval"; then
12347 if test x"$enablestring" = xdisable; then
12354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12355 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
12357 # Check whether --enable-toolbook or --disable-toolbook was given.
12358 if test "${enable_toolbook+set}" = set; then
12359 enableval="$enable_toolbook"
12361 if test "$enableval" = yes; then
12362 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12364 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12369 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
12370 if test "x$LINE" != x ; then
12371 eval "DEFAULT_$LINE"
12376 ac_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12380 eval "$ac_cv_use_toolbook"
12381 if test "$no_cache" != 1; then
12382 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
12385 if test x"$enablestring" = xdisable; then
12386 if test $wxUSE_TOOLBOOK = yes; then
12392 result=$wxUSE_TOOLBOOK
12395 echo "$as_me:$LINENO: result: $result" >&5
12396 echo "${ECHO_T}$result" >&6
12400 defaultval=$wxUSE_ALL_FEATURES
12401 if test -z"$defaultval"; then
12402 if test x"$enablestring" = xdisable; then
12409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12410 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
12412 # Check whether --enable-treectrl or --disable-treectrl was given.
12413 if test "${enable_treectrl+set}" = set; then
12414 enableval="$enable_treectrl"
12416 if test "$enableval" = yes; then
12417 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
12419 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
12424 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
12425 if test "x$LINE" != x ; then
12426 eval "DEFAULT_$LINE"
12431 ac_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12435 eval "$ac_cv_use_treectrl"
12436 if test "$no_cache" != 1; then
12437 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
12440 if test x"$enablestring" = xdisable; then
12441 if test $wxUSE_TREECTRL = yes; then
12447 result=$wxUSE_TREECTRL
12450 echo "$as_me:$LINENO: result: $result" >&5
12451 echo "${ECHO_T}$result" >&6
12455 defaultval=$wxUSE_ALL_FEATURES
12456 if test -z"$defaultval"; then
12457 if test x"$enablestring" = xdisable; then
12464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12465 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
12467 # Check whether --enable-tipwindow or --disable-tipwindow was given.
12468 if test "${enable_tipwindow+set}" = set; then
12469 enableval="$enable_tipwindow"
12471 if test "$enableval" = yes; then
12472 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12474 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12479 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
12480 if test "x$LINE" != x ; then
12481 eval "DEFAULT_$LINE"
12486 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12490 eval "$ac_cv_use_tipwindow"
12491 if test "$no_cache" != 1; then
12492 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
12495 if test x"$enablestring" = xdisable; then
12496 if test $wxUSE_TIPWINDOW = yes; then
12502 result=$wxUSE_TIPWINDOW
12505 echo "$as_me:$LINENO: result: $result" >&5
12506 echo "${ECHO_T}$result" >&6
12510 defaultval=$wxUSE_ALL_FEATURES
12511 if test -z"$defaultval"; then
12512 if test x"$enablestring" = xdisable; then
12519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
12520 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
12522 # Check whether --enable-popupwin or --disable-popupwin was given.
12523 if test "${enable_popupwin+set}" = set; then
12524 enableval="$enable_popupwin"
12526 if test "$enableval" = yes; then
12527 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12529 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
12534 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
12535 if test "x$LINE" != x ; then
12536 eval "DEFAULT_$LINE"
12541 ac_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12545 eval "$ac_cv_use_popupwin"
12546 if test "$no_cache" != 1; then
12547 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
12550 if test x"$enablestring" = xdisable; then
12551 if test $wxUSE_POPUPWIN = yes; then
12557 result=$wxUSE_POPUPWIN
12560 echo "$as_me:$LINENO: result: $result" >&5
12561 echo "${ECHO_T}$result" >&6
12567 defaultval=$wxUSE_ALL_FEATURES
12568 if test -z"$defaultval"; then
12569 if test x"$enablestring" = xdisable; then
12576 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12577 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
12579 # Check whether --enable-commondlg or --disable-commondlg was given.
12580 if test "${enable_commondlg+set}" = set; then
12581 enableval="$enable_commondlg"
12583 if test "$enableval" = yes; then
12584 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12586 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12591 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
12592 if test "x$LINE" != x ; then
12593 eval "DEFAULT_$LINE"
12598 ac_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12602 eval "$ac_cv_use_commondlg"
12603 if test "$no_cache" != 1; then
12604 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
12607 if test x"$enablestring" = xdisable; then
12608 if test $wxUSE_COMMONDLGS = yes; then
12614 result=$wxUSE_COMMONDLGS
12617 echo "$as_me:$LINENO: result: $result" >&5
12618 echo "${ECHO_T}$result" >&6
12622 defaultval=$wxUSE_ALL_FEATURES
12623 if test -z"$defaultval"; then
12624 if test x"$enablestring" = xdisable; then
12631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12632 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
12634 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
12635 if test "${enable_aboutdlg+set}" = set; then
12636 enableval="$enable_aboutdlg"
12638 if test "$enableval" = yes; then
12639 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12641 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12646 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
12647 if test "x$LINE" != x ; then
12648 eval "DEFAULT_$LINE"
12653 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12657 eval "$ac_cv_use_aboutdlg"
12658 if test "$no_cache" != 1; then
12659 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
12662 if test x"$enablestring" = xdisable; then
12663 if test $wxUSE_ABOUTDLG = yes; then
12669 result=$wxUSE_ABOUTDLG
12672 echo "$as_me:$LINENO: result: $result" >&5
12673 echo "${ECHO_T}$result" >&6
12677 defaultval=$wxUSE_ALL_FEATURES
12678 if test -z"$defaultval"; then
12679 if test x"$enablestring" = xdisable; then
12686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12687 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
12689 # Check whether --enable-choicedlg or --disable-choicedlg was given.
12690 if test "${enable_choicedlg+set}" = set; then
12691 enableval="$enable_choicedlg"
12693 if test "$enableval" = yes; then
12694 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12696 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12701 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
12702 if test "x$LINE" != x ; then
12703 eval "DEFAULT_$LINE"
12708 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12712 eval "$ac_cv_use_choicedlg"
12713 if test "$no_cache" != 1; then
12714 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
12717 if test x"$enablestring" = xdisable; then
12718 if test $wxUSE_CHOICEDLG = yes; then
12724 result=$wxUSE_CHOICEDLG
12727 echo "$as_me:$LINENO: result: $result" >&5
12728 echo "${ECHO_T}$result" >&6
12732 defaultval=$wxUSE_ALL_FEATURES
12733 if test -z"$defaultval"; then
12734 if test x"$enablestring" = xdisable; then
12741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12742 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
12744 # Check whether --enable-coldlg or --disable-coldlg was given.
12745 if test "${enable_coldlg+set}" = set; then
12746 enableval="$enable_coldlg"
12748 if test "$enableval" = yes; then
12749 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12751 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
12756 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
12757 if test "x$LINE" != x ; then
12758 eval "DEFAULT_$LINE"
12763 ac_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12767 eval "$ac_cv_use_coldlg"
12768 if test "$no_cache" != 1; then
12769 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
12772 if test x"$enablestring" = xdisable; then
12773 if test $wxUSE_COLOURDLG = yes; then
12779 result=$wxUSE_COLOURDLG
12782 echo "$as_me:$LINENO: result: $result" >&5
12783 echo "${ECHO_T}$result" >&6
12787 defaultval=$wxUSE_ALL_FEATURES
12788 if test -z"$defaultval"; then
12789 if test x"$enablestring" = xdisable; then
12796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12797 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
12799 # Check whether --enable-filedlg or --disable-filedlg was given.
12800 if test "${enable_filedlg+set}" = set; then
12801 enableval="$enable_filedlg"
12803 if test "$enableval" = yes; then
12804 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
12806 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
12811 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
12812 if test "x$LINE" != x ; then
12813 eval "DEFAULT_$LINE"
12818 ac_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12822 eval "$ac_cv_use_filedlg"
12823 if test "$no_cache" != 1; then
12824 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
12827 if test x"$enablestring" = xdisable; then
12828 if test $wxUSE_FILEDLG = yes; then
12834 result=$wxUSE_FILEDLG
12837 echo "$as_me:$LINENO: result: $result" >&5
12838 echo "${ECHO_T}$result" >&6
12842 defaultval=$wxUSE_ALL_FEATURES
12843 if test -z"$defaultval"; then
12844 if test x"$enablestring" = xdisable; then
12851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12852 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
12854 # Check whether --enable-finddlg or --disable-finddlg was given.
12855 if test "${enable_finddlg+set}" = set; then
12856 enableval="$enable_finddlg"
12858 if test "$enableval" = yes; then
12859 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12861 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12866 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
12867 if test "x$LINE" != x ; then
12868 eval "DEFAULT_$LINE"
12873 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12877 eval "$ac_cv_use_finddlg"
12878 if test "$no_cache" != 1; then
12879 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
12882 if test x"$enablestring" = xdisable; then
12883 if test $wxUSE_FINDREPLDLG = yes; then
12889 result=$wxUSE_FINDREPLDLG
12892 echo "$as_me:$LINENO: result: $result" >&5
12893 echo "${ECHO_T}$result" >&6
12897 defaultval=$wxUSE_ALL_FEATURES
12898 if test -z"$defaultval"; then
12899 if test x"$enablestring" = xdisable; then
12906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12907 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
12909 # Check whether --enable-fontdlg or --disable-fontdlg was given.
12910 if test "${enable_fontdlg+set}" = set; then
12911 enableval="$enable_fontdlg"
12913 if test "$enableval" = yes; then
12914 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12916 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
12921 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
12922 if test "x$LINE" != x ; then
12923 eval "DEFAULT_$LINE"
12928 ac_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12932 eval "$ac_cv_use_fontdlg"
12933 if test "$no_cache" != 1; then
12934 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
12937 if test x"$enablestring" = xdisable; then
12938 if test $wxUSE_FONTDLG = yes; then
12944 result=$wxUSE_FONTDLG
12947 echo "$as_me:$LINENO: result: $result" >&5
12948 echo "${ECHO_T}$result" >&6
12952 defaultval=$wxUSE_ALL_FEATURES
12953 if test -z"$defaultval"; then
12954 if test x"$enablestring" = xdisable; then
12961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12962 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
12964 # Check whether --enable-dirdlg or --disable-dirdlg was given.
12965 if test "${enable_dirdlg+set}" = set; then
12966 enableval="$enable_dirdlg"
12968 if test "$enableval" = yes; then
12969 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12971 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
12976 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
12977 if test "x$LINE" != x ; then
12978 eval "DEFAULT_$LINE"
12983 ac_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12987 eval "$ac_cv_use_dirdlg"
12988 if test "$no_cache" != 1; then
12989 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
12992 if test x"$enablestring" = xdisable; then
12993 if test $wxUSE_DIRDLG = yes; then
12999 result=$wxUSE_DIRDLG
13002 echo "$as_me:$LINENO: result: $result" >&5
13003 echo "${ECHO_T}$result" >&6
13007 defaultval=$wxUSE_ALL_FEATURES
13008 if test -z"$defaultval"; then
13009 if test x"$enablestring" = xdisable; then
13016 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13017 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
13019 # Check whether --enable-msgdlg or --disable-msgdlg was given.
13020 if test "${enable_msgdlg+set}" = set; then
13021 enableval="$enable_msgdlg"
13023 if test "$enableval" = yes; then
13024 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13026 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
13031 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
13032 if test "x$LINE" != x ; then
13033 eval "DEFAULT_$LINE"
13038 ac_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13042 eval "$ac_cv_use_msgdlg"
13043 if test "$no_cache" != 1; then
13044 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
13047 if test x"$enablestring" = xdisable; then
13048 if test $wxUSE_MSGDLG = yes; then
13054 result=$wxUSE_MSGDLG
13057 echo "$as_me:$LINENO: result: $result" >&5
13058 echo "${ECHO_T}$result" >&6
13062 defaultval=$wxUSE_ALL_FEATURES
13063 if test -z"$defaultval"; then
13064 if test x"$enablestring" = xdisable; then
13071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13072 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
13074 # Check whether --enable-numberdlg or --disable-numberdlg was given.
13075 if test "${enable_numberdlg+set}" = set; then
13076 enableval="$enable_numberdlg"
13078 if test "$enableval" = yes; then
13079 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13081 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13086 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
13087 if test "x$LINE" != x ; then
13088 eval "DEFAULT_$LINE"
13093 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13097 eval "$ac_cv_use_numberdlg"
13098 if test "$no_cache" != 1; then
13099 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
13102 if test x"$enablestring" = xdisable; then
13103 if test $wxUSE_NUMBERDLG = yes; then
13109 result=$wxUSE_NUMBERDLG
13112 echo "$as_me:$LINENO: result: $result" >&5
13113 echo "${ECHO_T}$result" >&6
13117 defaultval=$wxUSE_ALL_FEATURES
13118 if test -z"$defaultval"; then
13119 if test x"$enablestring" = xdisable; then
13126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13127 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
13129 # Check whether --enable-splash or --disable-splash was given.
13130 if test "${enable_splash+set}" = set; then
13131 enableval="$enable_splash"
13133 if test "$enableval" = yes; then
13134 ac_cv_use_splash='wxUSE_SPLASH=yes'
13136 ac_cv_use_splash='wxUSE_SPLASH=no'
13141 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
13142 if test "x$LINE" != x ; then
13143 eval "DEFAULT_$LINE"
13148 ac_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13152 eval "$ac_cv_use_splash"
13153 if test "$no_cache" != 1; then
13154 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
13157 if test x"$enablestring" = xdisable; then
13158 if test $wxUSE_SPLASH = yes; then
13164 result=$wxUSE_SPLASH
13167 echo "$as_me:$LINENO: result: $result" >&5
13168 echo "${ECHO_T}$result" >&6
13172 defaultval=$wxUSE_ALL_FEATURES
13173 if test -z"$defaultval"; then
13174 if test x"$enablestring" = xdisable; then
13181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13182 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
13184 # Check whether --enable-textdlg or --disable-textdlg was given.
13185 if test "${enable_textdlg+set}" = set; then
13186 enableval="$enable_textdlg"
13188 if test "$enableval" = yes; then
13189 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13191 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
13196 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
13197 if test "x$LINE" != x ; then
13198 eval "DEFAULT_$LINE"
13203 ac_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13207 eval "$ac_cv_use_textdlg"
13208 if test "$no_cache" != 1; then
13209 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
13212 if test x"$enablestring" = xdisable; then
13213 if test $wxUSE_TEXTDLG = yes; then
13219 result=$wxUSE_TEXTDLG
13222 echo "$as_me:$LINENO: result: $result" >&5
13223 echo "${ECHO_T}$result" >&6
13227 defaultval=$wxUSE_ALL_FEATURES
13228 if test -z"$defaultval"; then
13229 if test x"$enablestring" = xdisable; then
13236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13237 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
13239 # Check whether --enable-tipdlg or --disable-tipdlg was given.
13240 if test "${enable_tipdlg+set}" = set; then
13241 enableval="$enable_tipdlg"
13243 if test "$enableval" = yes; then
13244 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13246 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13251 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
13252 if test "x$LINE" != x ; then
13253 eval "DEFAULT_$LINE"
13258 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13262 eval "$ac_cv_use_tipdlg"
13263 if test "$no_cache" != 1; then
13264 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
13267 if test x"$enablestring" = xdisable; then
13268 if test $wxUSE_STARTUP_TIPS = yes; then
13274 result=$wxUSE_STARTUP_TIPS
13277 echo "$as_me:$LINENO: result: $result" >&5
13278 echo "${ECHO_T}$result" >&6
13282 defaultval=$wxUSE_ALL_FEATURES
13283 if test -z"$defaultval"; then
13284 if test x"$enablestring" = xdisable; then
13291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13292 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
13294 # Check whether --enable-progressdlg or --disable-progressdlg was given.
13295 if test "${enable_progressdlg+set}" = set; then
13296 enableval="$enable_progressdlg"
13298 if test "$enableval" = yes; then
13299 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13301 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13306 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
13307 if test "x$LINE" != x ; then
13308 eval "DEFAULT_$LINE"
13313 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13317 eval "$ac_cv_use_progressdlg"
13318 if test "$no_cache" != 1; then
13319 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
13322 if test x"$enablestring" = xdisable; then
13323 if test $wxUSE_PROGRESSDLG = yes; then
13329 result=$wxUSE_PROGRESSDLG
13332 echo "$as_me:$LINENO: result: $result" >&5
13333 echo "${ECHO_T}$result" >&6
13337 defaultval=$wxUSE_ALL_FEATURES
13338 if test -z"$defaultval"; then
13339 if test x"$enablestring" = xdisable; then
13346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13347 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
13349 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
13350 if test "${enable_wizarddlg+set}" = set; then
13351 enableval="$enable_wizarddlg"
13353 if test "$enableval" = yes; then
13354 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13356 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13361 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
13362 if test "x$LINE" != x ; then
13363 eval "DEFAULT_$LINE"
13368 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13372 eval "$ac_cv_use_wizarddlg"
13373 if test "$no_cache" != 1; then
13374 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
13377 if test x"$enablestring" = xdisable; then
13378 if test $wxUSE_WIZARDDLG = yes; then
13384 result=$wxUSE_WIZARDDLG
13387 echo "$as_me:$LINENO: result: $result" >&5
13388 echo "${ECHO_T}$result" >&6
13394 defaultval=$wxUSE_ALL_FEATURES
13395 if test -z"$defaultval"; then
13396 if test x"$enablestring" = xdisable; then
13403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13404 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
13406 # Check whether --enable-menus or --disable-menus was given.
13407 if test "${enable_menus+set}" = set; then
13408 enableval="$enable_menus"
13410 if test "$enableval" = yes; then
13411 ac_cv_use_menus='wxUSE_MENUS=yes'
13413 ac_cv_use_menus='wxUSE_MENUS=no'
13418 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
13419 if test "x$LINE" != x ; then
13420 eval "DEFAULT_$LINE"
13425 ac_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13429 eval "$ac_cv_use_menus"
13430 if test "$no_cache" != 1; then
13431 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
13434 if test x"$enablestring" = xdisable; then
13435 if test $wxUSE_MENUS = yes; then
13441 result=$wxUSE_MENUS
13444 echo "$as_me:$LINENO: result: $result" >&5
13445 echo "${ECHO_T}$result" >&6
13449 defaultval=$wxUSE_ALL_FEATURES
13450 if test -z"$defaultval"; then
13451 if test x"$enablestring" = xdisable; then
13458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13459 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
13461 # Check whether --enable-miniframe or --disable-miniframe was given.
13462 if test "${enable_miniframe+set}" = set; then
13463 enableval="$enable_miniframe"
13465 if test "$enableval" = yes; then
13466 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13468 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
13473 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
13474 if test "x$LINE" != x ; then
13475 eval "DEFAULT_$LINE"
13480 ac_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13484 eval "$ac_cv_use_miniframe"
13485 if test "$no_cache" != 1; then
13486 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
13489 if test x"$enablestring" = xdisable; then
13490 if test $wxUSE_MINIFRAME = yes; then
13496 result=$wxUSE_MINIFRAME
13499 echo "$as_me:$LINENO: result: $result" >&5
13500 echo "${ECHO_T}$result" >&6
13504 defaultval=$wxUSE_ALL_FEATURES
13505 if test -z"$defaultval"; then
13506 if test x"$enablestring" = xdisable; then
13513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13514 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
13516 # Check whether --enable-tooltips or --disable-tooltips was given.
13517 if test "${enable_tooltips+set}" = set; then
13518 enableval="$enable_tooltips"
13520 if test "$enableval" = yes; then
13521 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13523 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13528 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
13529 if test "x$LINE" != x ; then
13530 eval "DEFAULT_$LINE"
13535 ac_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13539 eval "$ac_cv_use_tooltips"
13540 if test "$no_cache" != 1; then
13541 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
13544 if test x"$enablestring" = xdisable; then
13545 if test $wxUSE_TOOLTIPS = yes; then
13551 result=$wxUSE_TOOLTIPS
13554 echo "$as_me:$LINENO: result: $result" >&5
13555 echo "${ECHO_T}$result" >&6
13559 defaultval=$wxUSE_ALL_FEATURES
13560 if test -z"$defaultval"; then
13561 if test x"$enablestring" = xdisable; then
13568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13569 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
13571 # Check whether --enable-splines or --disable-splines was given.
13572 if test "${enable_splines+set}" = set; then
13573 enableval="$enable_splines"
13575 if test "$enableval" = yes; then
13576 ac_cv_use_splines='wxUSE_SPLINES=yes'
13578 ac_cv_use_splines='wxUSE_SPLINES=no'
13583 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
13584 if test "x$LINE" != x ; then
13585 eval "DEFAULT_$LINE"
13590 ac_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13594 eval "$ac_cv_use_splines"
13595 if test "$no_cache" != 1; then
13596 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
13599 if test x"$enablestring" = xdisable; then
13600 if test $wxUSE_SPLINES = yes; then
13606 result=$wxUSE_SPLINES
13609 echo "$as_me:$LINENO: result: $result" >&5
13610 echo "${ECHO_T}$result" >&6
13614 defaultval=$wxUSE_ALL_FEATURES
13615 if test -z"$defaultval"; then
13616 if test x"$enablestring" = xdisable; then
13623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13624 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
13626 # Check whether --enable-mousewheel or --disable-mousewheel was given.
13627 if test "${enable_mousewheel+set}" = set; then
13628 enableval="$enable_mousewheel"
13630 if test "$enableval" = yes; then
13631 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13633 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13638 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
13639 if test "x$LINE" != x ; then
13640 eval "DEFAULT_$LINE"
13645 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13649 eval "$ac_cv_use_mousewheel"
13650 if test "$no_cache" != 1; then
13651 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
13654 if test x"$enablestring" = xdisable; then
13655 if test $wxUSE_MOUSEWHEEL = yes; then
13661 result=$wxUSE_MOUSEWHEEL
13664 echo "$as_me:$LINENO: result: $result" >&5
13665 echo "${ECHO_T}$result" >&6
13669 defaultval=$wxUSE_ALL_FEATURES
13670 if test -z"$defaultval"; then
13671 if test x"$enablestring" = xdisable; then
13678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13679 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
13681 # Check whether --enable-validators or --disable-validators was given.
13682 if test "${enable_validators+set}" = set; then
13683 enableval="$enable_validators"
13685 if test "$enableval" = yes; then
13686 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
13688 ac_cv_use_validators='wxUSE_VALIDATORS=no'
13693 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
13694 if test "x$LINE" != x ; then
13695 eval "DEFAULT_$LINE"
13700 ac_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13704 eval "$ac_cv_use_validators"
13705 if test "$no_cache" != 1; then
13706 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
13709 if test x"$enablestring" = xdisable; then
13710 if test $wxUSE_VALIDATORS = yes; then
13716 result=$wxUSE_VALIDATORS
13719 echo "$as_me:$LINENO: result: $result" >&5
13720 echo "${ECHO_T}$result" >&6
13724 defaultval=$wxUSE_ALL_FEATURES
13725 if test -z"$defaultval"; then
13726 if test x"$enablestring" = xdisable; then
13733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13734 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
13736 # Check whether --enable-busyinfo or --disable-busyinfo was given.
13737 if test "${enable_busyinfo+set}" = set; then
13738 enableval="$enable_busyinfo"
13740 if test "$enableval" = yes; then
13741 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13743 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13748 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
13749 if test "x$LINE" != x ; then
13750 eval "DEFAULT_$LINE"
13755 ac_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13759 eval "$ac_cv_use_busyinfo"
13760 if test "$no_cache" != 1; then
13761 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
13764 if test x"$enablestring" = xdisable; then
13765 if test $wxUSE_BUSYINFO = yes; then
13771 result=$wxUSE_BUSYINFO
13774 echo "$as_me:$LINENO: result: $result" >&5
13775 echo "${ECHO_T}$result" >&6
13779 defaultval=$wxUSE_ALL_FEATURES
13780 if test -z"$defaultval"; then
13781 if test x"$enablestring" = xdisable; then
13788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13789 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
13791 # Check whether --enable-joystick or --disable-joystick was given.
13792 if test "${enable_joystick+set}" = set; then
13793 enableval="$enable_joystick"
13795 if test "$enableval" = yes; then
13796 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
13798 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
13803 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
13804 if test "x$LINE" != x ; then
13805 eval "DEFAULT_$LINE"
13810 ac_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13814 eval "$ac_cv_use_joystick"
13815 if test "$no_cache" != 1; then
13816 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
13819 if test x"$enablestring" = xdisable; then
13820 if test $wxUSE_JOYSTICK = yes; then
13826 result=$wxUSE_JOYSTICK
13829 echo "$as_me:$LINENO: result: $result" >&5
13830 echo "${ECHO_T}$result" >&6
13834 defaultval=$wxUSE_ALL_FEATURES
13835 if test -z"$defaultval"; then
13836 if test x"$enablestring" = xdisable; then
13843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13844 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
13846 # Check whether --enable-metafile or --disable-metafile was given.
13847 if test "${enable_metafile+set}" = set; then
13848 enableval="$enable_metafile"
13850 if test "$enableval" = yes; then
13851 ac_cv_use_metafile='wxUSE_METAFILE=yes'
13853 ac_cv_use_metafile='wxUSE_METAFILE=no'
13858 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
13859 if test "x$LINE" != x ; then
13860 eval "DEFAULT_$LINE"
13865 ac_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13869 eval "$ac_cv_use_metafile"
13870 if test "$no_cache" != 1; then
13871 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
13874 if test x"$enablestring" = xdisable; then
13875 if test $wxUSE_METAFILE = yes; then
13881 result=$wxUSE_METAFILE
13884 echo "$as_me:$LINENO: result: $result" >&5
13885 echo "${ECHO_T}$result" >&6
13889 defaultval=$wxUSE_ALL_FEATURES
13890 if test -z"$defaultval"; then
13891 if test x"$enablestring" = xdisable; then
13898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13899 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
13901 # Check whether --enable-dragimage or --disable-dragimage was given.
13902 if test "${enable_dragimage+set}" = set; then
13903 enableval="$enable_dragimage"
13905 if test "$enableval" = yes; then
13906 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13908 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13913 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
13914 if test "x$LINE" != x ; then
13915 eval "DEFAULT_$LINE"
13920 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13924 eval "$ac_cv_use_dragimage"
13925 if test "$no_cache" != 1; then
13926 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
13929 if test x"$enablestring" = xdisable; then
13930 if test $wxUSE_DRAGIMAGE = yes; then
13936 result=$wxUSE_DRAGIMAGE
13939 echo "$as_me:$LINENO: result: $result" >&5
13940 echo "${ECHO_T}$result" >&6
13944 defaultval=$wxUSE_ALL_FEATURES
13945 if test -z"$defaultval"; then
13946 if test x"$enablestring" = xdisable; then
13953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13954 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
13956 # Check whether --enable-accessibility or --disable-accessibility was given.
13957 if test "${enable_accessibility+set}" = set; then
13958 enableval="$enable_accessibility"
13960 if test "$enableval" = yes; then
13961 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13963 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13968 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
13969 if test "x$LINE" != x ; then
13970 eval "DEFAULT_$LINE"
13975 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13979 eval "$ac_cv_use_accessibility"
13980 if test "$no_cache" != 1; then
13981 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
13984 if test x"$enablestring" = xdisable; then
13985 if test $wxUSE_ACCESSIBILITY = yes; then
13991 result=$wxUSE_ACCESSIBILITY
13994 echo "$as_me:$LINENO: result: $result" >&5
13995 echo "${ECHO_T}$result" >&6
13998 if test "$wxUSE_MSW" = "1"; then
14001 defaultval=$wxUSE_ALL_FEATURES
14002 if test -z"$defaultval"; then
14003 if test x"$enablestring" = xdisable; then
14010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14011 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
14013 # Check whether --enable-dccache or --disable-dccache was given.
14014 if test "${enable_dccache+set}" = set; then
14015 enableval="$enable_dccache"
14017 if test "$enableval" = yes; then
14018 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14020 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
14025 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
14026 if test "x$LINE" != x ; then
14027 eval "DEFAULT_$LINE"
14032 ac_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14036 eval "$ac_cv_use_dccache"
14037 if test "$no_cache" != 1; then
14038 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
14041 if test x"$enablestring" = xdisable; then
14042 if test $wxUSE_DC_CACHEING = yes; then
14048 result=$wxUSE_DC_CACHEING
14051 echo "$as_me:$LINENO: result: $result" >&5
14052 echo "${ECHO_T}$result" >&6
14059 defaultval=$wxUSE_ALL_FEATURES
14060 if test -z"$defaultval"; then
14061 if test x"$enablestring" = xdisable; then
14068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14069 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
14071 # Check whether --enable-palette or --disable-palette was given.
14072 if test "${enable_palette+set}" = set; then
14073 enableval="$enable_palette"
14075 if test "$enableval" = yes; then
14076 ac_cv_use_palette='wxUSE_PALETTE=yes'
14078 ac_cv_use_palette='wxUSE_PALETTE=no'
14083 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
14084 if test "x$LINE" != x ; then
14085 eval "DEFAULT_$LINE"
14090 ac_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14094 eval "$ac_cv_use_palette"
14095 if test "$no_cache" != 1; then
14096 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
14099 if test x"$enablestring" = xdisable; then
14100 if test $wxUSE_PALETTE = yes; then
14106 result=$wxUSE_PALETTE
14109 echo "$as_me:$LINENO: result: $result" >&5
14110 echo "${ECHO_T}$result" >&6
14114 defaultval=$wxUSE_ALL_FEATURES
14115 if test -z"$defaultval"; then
14116 if test x"$enablestring" = xdisable; then
14123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14124 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
14126 # Check whether --enable-image or --disable-image was given.
14127 if test "${enable_image+set}" = set; then
14128 enableval="$enable_image"
14130 if test "$enableval" = yes; then
14131 ac_cv_use_image='wxUSE_IMAGE=yes'
14133 ac_cv_use_image='wxUSE_IMAGE=no'
14138 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
14139 if test "x$LINE" != x ; then
14140 eval "DEFAULT_$LINE"
14145 ac_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14149 eval "$ac_cv_use_image"
14150 if test "$no_cache" != 1; then
14151 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
14154 if test x"$enablestring" = xdisable; then
14155 if test $wxUSE_IMAGE = yes; then
14161 result=$wxUSE_IMAGE
14164 echo "$as_me:$LINENO: result: $result" >&5
14165 echo "${ECHO_T}$result" >&6
14169 defaultval=$wxUSE_ALL_FEATURES
14170 if test -z"$defaultval"; then
14171 if test x"$enablestring" = xdisable; then
14178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14179 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
14181 # Check whether --enable-gif or --disable-gif was given.
14182 if test "${enable_gif+set}" = set; then
14183 enableval="$enable_gif"
14185 if test "$enableval" = yes; then
14186 ac_cv_use_gif='wxUSE_GIF=yes'
14188 ac_cv_use_gif='wxUSE_GIF=no'
14193 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
14194 if test "x$LINE" != x ; then
14195 eval "DEFAULT_$LINE"
14200 ac_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14204 eval "$ac_cv_use_gif"
14205 if test "$no_cache" != 1; then
14206 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
14209 if test x"$enablestring" = xdisable; then
14210 if test $wxUSE_GIF = yes; then
14219 echo "$as_me:$LINENO: result: $result" >&5
14220 echo "${ECHO_T}$result" >&6
14224 defaultval=$wxUSE_ALL_FEATURES
14225 if test -z"$defaultval"; then
14226 if test x"$enablestring" = xdisable; then
14233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14234 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
14236 # Check whether --enable-pcx or --disable-pcx was given.
14237 if test "${enable_pcx+set}" = set; then
14238 enableval="$enable_pcx"
14240 if test "$enableval" = yes; then
14241 ac_cv_use_pcx='wxUSE_PCX=yes'
14243 ac_cv_use_pcx='wxUSE_PCX=no'
14248 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
14249 if test "x$LINE" != x ; then
14250 eval "DEFAULT_$LINE"
14255 ac_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14259 eval "$ac_cv_use_pcx"
14260 if test "$no_cache" != 1; then
14261 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
14264 if test x"$enablestring" = xdisable; then
14265 if test $wxUSE_PCX = yes; then
14274 echo "$as_me:$LINENO: result: $result" >&5
14275 echo "${ECHO_T}$result" >&6
14279 defaultval=$wxUSE_ALL_FEATURES
14280 if test -z"$defaultval"; then
14281 if test x"$enablestring" = xdisable; then
14288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14289 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
14291 # Check whether --enable-tga or --disable-tga was given.
14292 if test "${enable_tga+set}" = set; then
14293 enableval="$enable_tga"
14295 if test "$enableval" = yes; then
14296 ac_cv_use_tga='wxUSE_TGA=yes'
14298 ac_cv_use_tga='wxUSE_TGA=no'
14303 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
14304 if test "x$LINE" != x ; then
14305 eval "DEFAULT_$LINE"
14310 ac_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14314 eval "$ac_cv_use_tga"
14315 if test "$no_cache" != 1; then
14316 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
14319 if test x"$enablestring" = xdisable; then
14320 if test $wxUSE_TGA = yes; then
14329 echo "$as_me:$LINENO: result: $result" >&5
14330 echo "${ECHO_T}$result" >&6
14334 defaultval=$wxUSE_ALL_FEATURES
14335 if test -z"$defaultval"; then
14336 if test x"$enablestring" = xdisable; then
14343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14344 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
14346 # Check whether --enable-iff or --disable-iff was given.
14347 if test "${enable_iff+set}" = set; then
14348 enableval="$enable_iff"
14350 if test "$enableval" = yes; then
14351 ac_cv_use_iff='wxUSE_IFF=yes'
14353 ac_cv_use_iff='wxUSE_IFF=no'
14358 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
14359 if test "x$LINE" != x ; then
14360 eval "DEFAULT_$LINE"
14365 ac_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14369 eval "$ac_cv_use_iff"
14370 if test "$no_cache" != 1; then
14371 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
14374 if test x"$enablestring" = xdisable; then
14375 if test $wxUSE_IFF = yes; then
14384 echo "$as_me:$LINENO: result: $result" >&5
14385 echo "${ECHO_T}$result" >&6
14389 defaultval=$wxUSE_ALL_FEATURES
14390 if test -z"$defaultval"; then
14391 if test x"$enablestring" = xdisable; then
14398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14399 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
14401 # Check whether --enable-pnm or --disable-pnm was given.
14402 if test "${enable_pnm+set}" = set; then
14403 enableval="$enable_pnm"
14405 if test "$enableval" = yes; then
14406 ac_cv_use_pnm='wxUSE_PNM=yes'
14408 ac_cv_use_pnm='wxUSE_PNM=no'
14413 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
14414 if test "x$LINE" != x ; then
14415 eval "DEFAULT_$LINE"
14420 ac_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14424 eval "$ac_cv_use_pnm"
14425 if test "$no_cache" != 1; then
14426 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
14429 if test x"$enablestring" = xdisable; then
14430 if test $wxUSE_PNM = yes; then
14439 echo "$as_me:$LINENO: result: $result" >&5
14440 echo "${ECHO_T}$result" >&6
14444 defaultval=$wxUSE_ALL_FEATURES
14445 if test -z"$defaultval"; then
14446 if test x"$enablestring" = xdisable; then
14453 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14454 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
14456 # Check whether --enable-xpm or --disable-xpm was given.
14457 if test "${enable_xpm+set}" = set; then
14458 enableval="$enable_xpm"
14460 if test "$enableval" = yes; then
14461 ac_cv_use_xpm='wxUSE_XPM=yes'
14463 ac_cv_use_xpm='wxUSE_XPM=no'
14468 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
14469 if test "x$LINE" != x ; then
14470 eval "DEFAULT_$LINE"
14475 ac_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14479 eval "$ac_cv_use_xpm"
14480 if test "$no_cache" != 1; then
14481 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
14484 if test x"$enablestring" = xdisable; then
14485 if test $wxUSE_XPM = yes; then
14494 echo "$as_me:$LINENO: result: $result" >&5
14495 echo "${ECHO_T}$result" >&6
14499 defaultval=$wxUSE_ALL_FEATURES
14500 if test -z"$defaultval"; then
14501 if test x"$enablestring" = xdisable; then
14508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14509 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
14511 # Check whether --enable-ico_cur or --disable-ico_cur was given.
14512 if test "${enable_ico_cur+set}" = set; then
14513 enableval="$enable_ico_cur"
14515 if test "$enableval" = yes; then
14516 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14518 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14523 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
14524 if test "x$LINE" != x ; then
14525 eval "DEFAULT_$LINE"
14530 ac_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14534 eval "$ac_cv_use_ico_cur"
14535 if test "$no_cache" != 1; then
14536 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
14539 if test x"$enablestring" = xdisable; then
14540 if test $wxUSE_ICO_CUR = yes; then
14546 result=$wxUSE_ICO_CUR
14549 echo "$as_me:$LINENO: result: $result" >&5
14550 echo "${ECHO_T}$result" >&6
14556 echo "saving argument cache $wx_arg_cache_file"
14557 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
14561 echo "$as_me:$LINENO: checking for toolkit" >&5
14562 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
14564 # In Wine, we need to default to MSW, not GTK or MOTIF
14565 if test "$wxUSE_WINE" = "yes"; then
14566 DEFAULT_DEFAULT_wxUSE_GTK=0
14567 DEFAULT_DEFAULT_wxUSE_MOTIF=0
14568 DEFAULT_DEFAULT_wxUSE_MSW=1
14571 CXX=${CXX:-wineg++}
14575 if test "$wxUSE_GUI" = "yes"; then
14577 if test "$USE_BEOS" = 1; then
14578 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
14579 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
14580 { (exit 1); exit 1; }; }
14583 if test "$TOOLKIT_GIVEN" = 1; then
14584 for toolkit in `echo $ALL_TOOLKITS`; do
14586 eval "value=\$${var}"
14587 if test "x$value" = "xno"; then
14589 elif test "x$value" != "x"; then
14593 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
14594 eval "wx${toolkit}_VERSION=$value"
14598 for toolkit in `echo $ALL_TOOLKITS`; do
14599 if test "$has_toolkit_in_cache" != 1; then
14600 var=DEFAULT_DEFAULT_wxUSE_$toolkit
14602 var=DEFAULT_wxUSE_$toolkit
14604 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
14605 if test "x$version" != "x"; then
14606 eval "wx${toolkit}_VERSION=$version"
14609 eval "wxUSE_$toolkit=\$${var}"
14613 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
14614 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
14615 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
14618 *-pc-os2_emx | *-pc-os2-emx )
14619 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
14622 case "$NUM_TOOLKITS" in
14626 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
14627 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
14628 { (exit 1); exit 1; }; }
14631 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
14632 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
14633 { (exit 1); exit 1; }; }
14636 # to be removed when --disable-gtk2 isn't needed
14637 if test "x$wxUSE_GTK2" = "xyes"; then
14639 elif test "x$wxUSE_GTK2" = "xno"; then
14643 for toolkit in `echo $ALL_TOOLKITS`; do
14645 eval "value=\$${var}"
14646 if test "x$value" != x; then
14647 cache_var=CACHE_$toolkit
14648 eval "cache=\$${cache_var}"
14649 if test "$cache" = 1; then
14650 echo "$var=$value" >> ${wx_arg_cache_file}
14651 eval "version=\$wx${toolkit}_VERSION"
14652 if test "x$version" != "x"; then
14653 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
14656 if test "$value" = 1; then
14657 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
14658 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
14659 echo "${ECHO_T}$toolkit_echo" >&6
14664 if test "x$host_alias" != "x"; then
14665 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
14666 echo "${ECHO_T}base ($host_alias hosted) only" >&6
14668 echo "$as_me:$LINENO: result: base only" >&5
14669 echo "${ECHO_T}base only" >&6
14674 cat >confcache <<\_ACEOF
14675 # This file is a shell script that caches the results of configure
14676 # tests run on this system so they can be shared between configure
14677 # scripts and configure runs, see configure's option --config-cache.
14678 # It is not useful on other systems. If it contains results you don't
14679 # want to keep, you may remove or edit it.
14681 # config.status only pays attention to the cache file if you give it
14682 # the --recheck option to rerun configure.
14684 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14685 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14686 # following values.
14690 # The following way of writing the cache mishandles newlines in values,
14691 # but we know of no workaround that is simple, portable, and efficient.
14692 # So, don't put newlines in cache variables' values.
14693 # Ultrix sh set writes to stderr and can't be redirected directly,
14694 # and sets the high bit in the cache file unless we assign to the vars.
14697 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14699 # `set' does not quote correctly, so add quotes (double-quote
14700 # substitution turns \\\\ into \\, and sed turns \\ into \).
14703 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14706 # `set' quotes correctly as required by POSIX, so do not add quotes.
14708 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14715 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14717 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14719 if diff $cache_file confcache >/dev/null 2>&1; then :; else
14720 if test -w $cache_file; then
14721 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14722 cat confcache >$cache_file
14724 echo "not updating unwritable cache $cache_file"
14734 ac_cpp='$CPP $CPPFLAGS'
14735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14738 if test -n "$ac_tool_prefix"; then
14739 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14740 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14741 echo "$as_me:$LINENO: checking for $ac_word" >&5
14742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14743 if test "${ac_cv_prog_CC+set}" = set; then
14744 echo $ECHO_N "(cached) $ECHO_C" >&6
14746 if test -n "$CC"; then
14747 ac_cv_prog_CC="$CC" # Let the user override the test.
14749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14750 for as_dir in $PATH
14753 test -z "$as_dir" && as_dir=.
14754 for ac_exec_ext in '' $ac_executable_extensions; do
14755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14756 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14766 if test -n "$CC"; then
14767 echo "$as_me:$LINENO: result: $CC" >&5
14768 echo "${ECHO_T}$CC" >&6
14770 echo "$as_me:$LINENO: result: no" >&5
14771 echo "${ECHO_T}no" >&6
14775 if test -z "$ac_cv_prog_CC"; then
14777 # Extract the first word of "gcc", so it can be a program name with args.
14778 set dummy gcc; ac_word=$2
14779 echo "$as_me:$LINENO: checking for $ac_word" >&5
14780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14781 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14782 echo $ECHO_N "(cached) $ECHO_C" >&6
14784 if test -n "$ac_ct_CC"; then
14785 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14788 for as_dir in $PATH
14791 test -z "$as_dir" && as_dir=.
14792 for ac_exec_ext in '' $ac_executable_extensions; do
14793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14794 ac_cv_prog_ac_ct_CC="gcc"
14795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14803 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14804 if test -n "$ac_ct_CC"; then
14805 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14806 echo "${ECHO_T}$ac_ct_CC" >&6
14808 echo "$as_me:$LINENO: result: no" >&5
14809 echo "${ECHO_T}no" >&6
14814 CC="$ac_cv_prog_CC"
14817 if test -z "$CC"; then
14818 if test -n "$ac_tool_prefix"; then
14819 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14820 set dummy ${ac_tool_prefix}cc; ac_word=$2
14821 echo "$as_me:$LINENO: checking for $ac_word" >&5
14822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14823 if test "${ac_cv_prog_CC+set}" = set; then
14824 echo $ECHO_N "(cached) $ECHO_C" >&6
14826 if test -n "$CC"; then
14827 ac_cv_prog_CC="$CC" # Let the user override the test.
14829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14830 for as_dir in $PATH
14833 test -z "$as_dir" && as_dir=.
14834 for ac_exec_ext in '' $ac_executable_extensions; do
14835 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14836 ac_cv_prog_CC="${ac_tool_prefix}cc"
14837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14846 if test -n "$CC"; then
14847 echo "$as_me:$LINENO: result: $CC" >&5
14848 echo "${ECHO_T}$CC" >&6
14850 echo "$as_me:$LINENO: result: no" >&5
14851 echo "${ECHO_T}no" >&6
14855 if test -z "$ac_cv_prog_CC"; then
14857 # Extract the first word of "cc", so it can be a program name with args.
14858 set dummy cc; ac_word=$2
14859 echo "$as_me:$LINENO: checking for $ac_word" >&5
14860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14861 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14862 echo $ECHO_N "(cached) $ECHO_C" >&6
14864 if test -n "$ac_ct_CC"; then
14865 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14868 for as_dir in $PATH
14871 test -z "$as_dir" && as_dir=.
14872 for ac_exec_ext in '' $ac_executable_extensions; do
14873 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14874 ac_cv_prog_ac_ct_CC="cc"
14875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14883 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14884 if test -n "$ac_ct_CC"; then
14885 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14886 echo "${ECHO_T}$ac_ct_CC" >&6
14888 echo "$as_me:$LINENO: result: no" >&5
14889 echo "${ECHO_T}no" >&6
14894 CC="$ac_cv_prog_CC"
14898 if test -z "$CC"; then
14899 # Extract the first word of "cc", so it can be a program name with args.
14900 set dummy cc; ac_word=$2
14901 echo "$as_me:$LINENO: checking for $ac_word" >&5
14902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14903 if test "${ac_cv_prog_CC+set}" = set; then
14904 echo $ECHO_N "(cached) $ECHO_C" >&6
14906 if test -n "$CC"; then
14907 ac_cv_prog_CC="$CC" # Let the user override the test.
14909 ac_prog_rejected=no
14910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14911 for as_dir in $PATH
14914 test -z "$as_dir" && as_dir=.
14915 for ac_exec_ext in '' $ac_executable_extensions; do
14916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14917 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14918 ac_prog_rejected=yes
14922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14928 if test $ac_prog_rejected = yes; then
14929 # We found a bogon in the path, so make sure we never use it.
14930 set dummy $ac_cv_prog_CC
14932 if test $# != 0; then
14933 # We chose a different compiler from the bogus one.
14934 # However, it has the same basename, so the bogon will be chosen
14935 # first if we set CC to just the basename; use the full file name.
14937 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14943 if test -n "$CC"; then
14944 echo "$as_me:$LINENO: result: $CC" >&5
14945 echo "${ECHO_T}$CC" >&6
14947 echo "$as_me:$LINENO: result: no" >&5
14948 echo "${ECHO_T}no" >&6
14952 if test -z "$CC"; then
14953 if test -n "$ac_tool_prefix"; then
14956 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14957 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14958 echo "$as_me:$LINENO: checking for $ac_word" >&5
14959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14960 if test "${ac_cv_prog_CC+set}" = set; then
14961 echo $ECHO_N "(cached) $ECHO_C" >&6
14963 if test -n "$CC"; then
14964 ac_cv_prog_CC="$CC" # Let the user override the test.
14966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14967 for as_dir in $PATH
14970 test -z "$as_dir" && as_dir=.
14971 for ac_exec_ext in '' $ac_executable_extensions; do
14972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14973 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14983 if test -n "$CC"; then
14984 echo "$as_me:$LINENO: result: $CC" >&5
14985 echo "${ECHO_T}$CC" >&6
14987 echo "$as_me:$LINENO: result: no" >&5
14988 echo "${ECHO_T}no" >&6
14991 test -n "$CC" && break
14994 if test -z "$CC"; then
14998 # Extract the first word of "$ac_prog", so it can be a program name with args.
14999 set dummy $ac_prog; ac_word=$2
15000 echo "$as_me:$LINENO: checking for $ac_word" >&5
15001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15002 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15003 echo $ECHO_N "(cached) $ECHO_C" >&6
15005 if test -n "$ac_ct_CC"; then
15006 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15009 for as_dir in $PATH
15012 test -z "$as_dir" && as_dir=.
15013 for ac_exec_ext in '' $ac_executable_extensions; do
15014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15015 ac_cv_prog_ac_ct_CC="$ac_prog"
15016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15024 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15025 if test -n "$ac_ct_CC"; then
15026 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15027 echo "${ECHO_T}$ac_ct_CC" >&6
15029 echo "$as_me:$LINENO: result: no" >&5
15030 echo "${ECHO_T}no" >&6
15033 test -n "$ac_ct_CC" && break
15042 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15043 See \`config.log' for more details." >&5
15044 echo "$as_me: error: no acceptable C compiler found in \$PATH
15045 See \`config.log' for more details." >&2;}
15046 { (exit 1); exit 1; }; }
15048 # Provide some information about the compiler.
15049 echo "$as_me:$LINENO:" \
15050 "checking for C compiler version" >&5
15051 ac_compiler=`set X $ac_compile; echo $2`
15052 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
15053 (eval $ac_compiler --version </dev/null >&5) 2>&5
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); }
15057 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
15058 (eval $ac_compiler -v </dev/null >&5) 2>&5
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); }
15062 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
15063 (eval $ac_compiler -V </dev/null >&5) 2>&5
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); }
15068 cat >conftest.$ac_ext <<_ACEOF
15071 cat confdefs.h >>conftest.$ac_ext
15072 cat >>conftest.$ac_ext <<_ACEOF
15073 /* end confdefs.h. */
15083 ac_clean_files_save=$ac_clean_files
15084 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15085 # Try to create an executable without -o first, disregard a.out.
15086 # It will help us diagnose broken compilers, and finding out an intuition
15088 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15089 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
15090 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15091 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
15092 (eval $ac_link_default) 2>&5
15094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 (exit $ac_status); }; then
15096 # Find the output, starting from the most likely. This scheme is
15097 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
15100 # Be careful to initialize this variable, since it used to be cached.
15101 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
15103 # b.out is created by i960 compilers.
15104 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
15106 test -f "$ac_file" || continue
15108 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
15111 # This is the source file.
15114 # We found the default executable, but exeext='' is most
15118 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15119 # FIXME: I believe we export ac_cv_exeext for Libtool,
15120 # but it would be cool to find out if it's true. Does anybody
15121 # maintain Libtool? --akim.
15122 export ac_cv_exeext
15129 echo "$as_me: failed program was:" >&5
15130 sed 's/^/| /' conftest.$ac_ext >&5
15132 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15133 See \`config.log' for more details." >&5
15134 echo "$as_me: error: C compiler cannot create executables
15135 See \`config.log' for more details." >&2;}
15136 { (exit 77); exit 77; }; }
15139 ac_exeext=$ac_cv_exeext
15140 echo "$as_me:$LINENO: result: $ac_file" >&5
15141 echo "${ECHO_T}$ac_file" >&6
15143 # Check the compiler produces executables we can run. If not, either
15144 # the compiler is broken, or we cross compile.
15145 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15146 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
15147 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15148 # If not cross compiling, check that we can run a simple program.
15149 if test "$cross_compiling" != yes; then
15150 if { ac_try='./$ac_file'
15151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15152 (eval $ac_try) 2>&5
15154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15155 (exit $ac_status); }; }; then
15158 if test "$cross_compiling" = maybe; then
15159 cross_compiling=yes
15161 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15162 If you meant to cross compile, use \`--host'.
15163 See \`config.log' for more details." >&5
15164 echo "$as_me: error: cannot run C compiled programs.
15165 If you meant to cross compile, use \`--host'.
15166 See \`config.log' for more details." >&2;}
15167 { (exit 1); exit 1; }; }
15171 echo "$as_me:$LINENO: result: yes" >&5
15172 echo "${ECHO_T}yes" >&6
15174 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15175 ac_clean_files=$ac_clean_files_save
15176 # Check the compiler produces executables we can run. If not, either
15177 # the compiler is broken, or we cross compile.
15178 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15179 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
15180 echo "$as_me:$LINENO: result: $cross_compiling" >&5
15181 echo "${ECHO_T}$cross_compiling" >&6
15183 echo "$as_me:$LINENO: checking for suffix of executables" >&5
15184 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
15185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15186 (eval $ac_link) 2>&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); }; then
15190 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15191 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15192 # work properly (i.e., refer to `conftest.exe'), while it won't with
15194 for ac_file in conftest.exe conftest conftest.*; do
15195 test -f "$ac_file" || continue
15197 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
15198 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15199 export ac_cv_exeext
15205 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15206 See \`config.log' for more details." >&5
15207 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15208 See \`config.log' for more details." >&2;}
15209 { (exit 1); exit 1; }; }
15212 rm -f conftest$ac_cv_exeext
15213 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15214 echo "${ECHO_T}$ac_cv_exeext" >&6
15216 rm -f conftest.$ac_ext
15217 EXEEXT=$ac_cv_exeext
15219 echo "$as_me:$LINENO: checking for suffix of object files" >&5
15220 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
15221 if test "${ac_cv_objext+set}" = set; then
15222 echo $ECHO_N "(cached) $ECHO_C" >&6
15224 cat >conftest.$ac_ext <<_ACEOF
15227 cat confdefs.h >>conftest.$ac_ext
15228 cat >>conftest.$ac_ext <<_ACEOF
15229 /* end confdefs.h. */
15239 rm -f conftest.o conftest.obj
15240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15241 (eval $ac_compile) 2>&5
15243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15244 (exit $ac_status); }; then
15245 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
15247 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
15248 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15253 echo "$as_me: failed program was:" >&5
15254 sed 's/^/| /' conftest.$ac_ext >&5
15256 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15257 See \`config.log' for more details." >&5
15258 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15259 See \`config.log' for more details." >&2;}
15260 { (exit 1); exit 1; }; }
15263 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15265 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15266 echo "${ECHO_T}$ac_cv_objext" >&6
15267 OBJEXT=$ac_cv_objext
15269 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15270 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
15271 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15272 echo $ECHO_N "(cached) $ECHO_C" >&6
15274 cat >conftest.$ac_ext <<_ACEOF
15277 cat confdefs.h >>conftest.$ac_ext
15278 cat >>conftest.$ac_ext <<_ACEOF
15279 /* end confdefs.h. */
15292 rm -f conftest.$ac_objext
15293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15294 (eval $ac_compile) 2>conftest.er1
15296 grep -v '^ *+' conftest.er1 >conftest.err
15298 cat conftest.err >&5
15299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15300 (exit $ac_status); } &&
15301 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15303 (eval $ac_try) 2>&5
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); }; } &&
15307 { ac_try='test -s conftest.$ac_objext'
15308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15309 (eval $ac_try) 2>&5
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); }; }; then
15313 ac_compiler_gnu=yes
15315 echo "$as_me: failed program was:" >&5
15316 sed 's/^/| /' conftest.$ac_ext >&5
15320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15321 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15324 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15325 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
15326 GCC=`test $ac_compiler_gnu = yes && echo yes`
15327 ac_test_CFLAGS=${CFLAGS+set}
15328 ac_save_CFLAGS=$CFLAGS
15330 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15331 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
15332 if test "${ac_cv_prog_cc_g+set}" = set; then
15333 echo $ECHO_N "(cached) $ECHO_C" >&6
15335 cat >conftest.$ac_ext <<_ACEOF
15338 cat confdefs.h >>conftest.$ac_ext
15339 cat >>conftest.$ac_ext <<_ACEOF
15340 /* end confdefs.h. */
15350 rm -f conftest.$ac_objext
15351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15352 (eval $ac_compile) 2>conftest.er1
15354 grep -v '^ *+' conftest.er1 >conftest.err
15356 cat conftest.err >&5
15357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15358 (exit $ac_status); } &&
15359 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15361 (eval $ac_try) 2>&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); }; } &&
15365 { ac_try='test -s conftest.$ac_objext'
15366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15367 (eval $ac_try) 2>&5
15369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15370 (exit $ac_status); }; }; then
15371 ac_cv_prog_cc_g=yes
15373 echo "$as_me: failed program was:" >&5
15374 sed 's/^/| /' conftest.$ac_ext >&5
15378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15380 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15381 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
15382 if test "$ac_test_CFLAGS" = set; then
15383 CFLAGS=$ac_save_CFLAGS
15384 elif test $ac_cv_prog_cc_g = yes; then
15385 if test "$GCC" = yes; then
15391 if test "$GCC" = yes; then
15397 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
15398 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
15399 if test "${ac_cv_prog_cc_stdc+set}" = set; then
15400 echo $ECHO_N "(cached) $ECHO_C" >&6
15402 ac_cv_prog_cc_stdc=no
15404 cat >conftest.$ac_ext <<_ACEOF
15407 cat confdefs.h >>conftest.$ac_ext
15408 cat >>conftest.$ac_ext <<_ACEOF
15409 /* end confdefs.h. */
15410 #include <stdarg.h>
15412 #include <sys/types.h>
15413 #include <sys/stat.h>
15414 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15415 struct buf { int x; };
15416 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15417 static char *e (p, i)
15423 static char *f (char * (*g) (char **, int), char **p, ...)
15428 s = g (p, va_arg (v,int));
15433 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15434 function prototypes and stuff, but not '\xHH' hex character constants.
15435 These don't provoke an error unfortunately, instead are silently treated
15436 as 'x'. The following induces an error, until -std1 is added to get
15437 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15438 array size at least. It's necessary to write '\x00'==0 to get something
15439 that's true only with -std1. */
15440 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15442 int test (int i, double x);
15443 struct s1 {int (*f) (int a);};
15444 struct s2 {int (*f) (double a);};
15445 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15451 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15456 # Don't try gcc -ansi; that turns off useful extensions and
15457 # breaks some systems' header files.
15458 # AIX -qlanglvl=ansi
15459 # Ultrix and OSF/1 -std1
15460 # HP-UX 10.20 and later -Ae
15461 # HP-UX older versions -Aa -D_HPUX_SOURCE
15462 # SVR4 -Xc -D__EXTENSIONS__
15463 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15465 CC="$ac_save_CC $ac_arg"
15466 rm -f conftest.$ac_objext
15467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15468 (eval $ac_compile) 2>conftest.er1
15470 grep -v '^ *+' conftest.er1 >conftest.err
15472 cat conftest.err >&5
15473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15474 (exit $ac_status); } &&
15475 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15477 (eval $ac_try) 2>&5
15479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15480 (exit $ac_status); }; } &&
15481 { ac_try='test -s conftest.$ac_objext'
15482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15483 (eval $ac_try) 2>&5
15485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15486 (exit $ac_status); }; }; then
15487 ac_cv_prog_cc_stdc=$ac_arg
15490 echo "$as_me: failed program was:" >&5
15491 sed 's/^/| /' conftest.$ac_ext >&5
15494 rm -f conftest.err conftest.$ac_objext
15496 rm -f conftest.$ac_ext conftest.$ac_objext
15501 case "x$ac_cv_prog_cc_stdc" in
15503 echo "$as_me:$LINENO: result: none needed" >&5
15504 echo "${ECHO_T}none needed" >&6 ;;
15506 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
15507 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
15508 CC="$CC $ac_cv_prog_cc_stdc" ;;
15511 # Some people use a C++ compiler to compile C. Since we use `exit',
15512 # in C++ we need to declare it. In case someone uses the same compiler
15513 # for both compiling C and C++ we need to have the C++ compiler decide
15514 # the declaration of exit, since it's the most demanding environment.
15515 cat >conftest.$ac_ext <<_ACEOF
15516 #ifndef __cplusplus
15520 rm -f conftest.$ac_objext
15521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15522 (eval $ac_compile) 2>conftest.er1
15524 grep -v '^ *+' conftest.er1 >conftest.err
15526 cat conftest.err >&5
15527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15528 (exit $ac_status); } &&
15529 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15531 (eval $ac_try) 2>&5
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); }; } &&
15535 { ac_try='test -s conftest.$ac_objext'
15536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15537 (eval $ac_try) 2>&5
15539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15540 (exit $ac_status); }; }; then
15541 for ac_declaration in \
15543 'extern "C" void std::exit (int) throw (); using std::exit;' \
15544 'extern "C" void std::exit (int); using std::exit;' \
15545 'extern "C" void exit (int) throw ();' \
15546 'extern "C" void exit (int);' \
15549 cat >conftest.$ac_ext <<_ACEOF
15552 cat confdefs.h >>conftest.$ac_ext
15553 cat >>conftest.$ac_ext <<_ACEOF
15554 /* end confdefs.h. */
15556 #include <stdlib.h>
15565 rm -f conftest.$ac_objext
15566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15567 (eval $ac_compile) 2>conftest.er1
15569 grep -v '^ *+' conftest.er1 >conftest.err
15571 cat conftest.err >&5
15572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15573 (exit $ac_status); } &&
15574 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15576 (eval $ac_try) 2>&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); }; } &&
15580 { ac_try='test -s conftest.$ac_objext'
15581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15582 (eval $ac_try) 2>&5
15584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585 (exit $ac_status); }; }; then
15588 echo "$as_me: failed program was:" >&5
15589 sed 's/^/| /' conftest.$ac_ext >&5
15593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15594 cat >conftest.$ac_ext <<_ACEOF
15597 cat confdefs.h >>conftest.$ac_ext
15598 cat >>conftest.$ac_ext <<_ACEOF
15599 /* end confdefs.h. */
15609 rm -f conftest.$ac_objext
15610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15611 (eval $ac_compile) 2>conftest.er1
15613 grep -v '^ *+' conftest.er1 >conftest.err
15615 cat conftest.err >&5
15616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15617 (exit $ac_status); } &&
15618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15620 (eval $ac_try) 2>&5
15622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15623 (exit $ac_status); }; } &&
15624 { ac_try='test -s conftest.$ac_objext'
15625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15626 (eval $ac_try) 2>&5
15628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15629 (exit $ac_status); }; }; then
15632 echo "$as_me: failed program was:" >&5
15633 sed 's/^/| /' conftest.$ac_ext >&5
15636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15639 if test -n "$ac_declaration"; then
15640 echo '#ifdef __cplusplus' >>confdefs.h
15641 echo $ac_declaration >>confdefs.h
15642 echo '#endif' >>confdefs.h
15646 echo "$as_me: failed program was:" >&5
15647 sed 's/^/| /' conftest.$ac_ext >&5
15650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15652 ac_cpp='$CPP $CPPFLAGS'
15653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15661 ac_cpp='$CPP $CPPFLAGS'
15662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15666 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15667 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
15668 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15669 echo $ECHO_N "(cached) $ECHO_C" >&6
15671 cat >conftest.$ac_ext <<_ACEOF
15674 cat confdefs.h >>conftest.$ac_ext
15675 cat >>conftest.$ac_ext <<_ACEOF
15676 /* end confdefs.h. */
15682 #ifndef __INTEL_COMPILER
15690 rm -f conftest.$ac_objext
15691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15692 (eval $ac_compile) 2>conftest.er1
15694 grep -v '^ *+' conftest.er1 >conftest.err
15696 cat conftest.err >&5
15697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15698 (exit $ac_status); } &&
15699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15701 (eval $ac_try) 2>&5
15703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704 (exit $ac_status); }; } &&
15705 { ac_try='test -s conftest.$ac_objext'
15706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15707 (eval $ac_try) 2>&5
15709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15710 (exit $ac_status); }; }; then
15711 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15713 echo "$as_me: failed program was:" >&5
15714 sed 's/^/| /' conftest.$ac_ext >&5
15716 bakefile_cv_c_compiler___INTEL_COMPILER=no
15719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15723 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15724 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
15725 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15731 ac_cpp='$CPP $CPPFLAGS'
15732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15739 if test "x$GCC" != "xyes"; then
15740 if test "xCC" = "xC"; then
15741 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15742 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
15743 if test "${bakefile_cv_c_exto+set}" = set; then
15744 echo $ECHO_N "(cached) $ECHO_C" >&6
15746 cat >conftest.$ac_ext <<_ACEOF
15749 cat confdefs.h >>conftest.$ac_ext
15750 cat >>conftest.$ac_ext <<_ACEOF
15751 /* end confdefs.h. */
15761 rm -f conftest.$ac_objext conftest.$ac_ext.o
15762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15763 (eval $ac_compile) 2>&5
15765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15766 (exit $ac_status); }; then
15767 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15769 conftest.$ac_ext.o)
15770 bakefile_cv_c_exto="-ext o"
15777 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15778 See \`config.log' for more details." >&5
15779 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15780 See \`config.log' for more details." >&2;}
15781 { (exit 1); exit 1; }; }
15785 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15788 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15789 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
15790 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15791 if test "c" = "c"; then
15792 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15794 if test "c" = "cxx"; then
15795 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15799 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15800 unset ac_cv_prog_cc_g
15801 ac_test_CFLAGS=${CFLAGS+set}
15802 ac_save_CFLAGS=$CFLAGS
15804 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15805 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
15806 if test "${ac_cv_prog_cc_g+set}" = set; then
15807 echo $ECHO_N "(cached) $ECHO_C" >&6
15809 cat >conftest.$ac_ext <<_ACEOF
15812 cat confdefs.h >>conftest.$ac_ext
15813 cat >>conftest.$ac_ext <<_ACEOF
15814 /* end confdefs.h. */
15824 rm -f conftest.$ac_objext
15825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15826 (eval $ac_compile) 2>conftest.er1
15828 grep -v '^ *+' conftest.er1 >conftest.err
15830 cat conftest.err >&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); } &&
15833 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15835 (eval $ac_try) 2>&5
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); }; } &&
15839 { ac_try='test -s conftest.$ac_objext'
15840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15841 (eval $ac_try) 2>&5
15843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15844 (exit $ac_status); }; }; then
15845 ac_cv_prog_cc_g=yes
15847 echo "$as_me: failed program was:" >&5
15848 sed 's/^/| /' conftest.$ac_ext >&5
15852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15854 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15855 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
15856 if test "$ac_test_CFLAGS" = set; then
15857 CFLAGS=$ac_save_CFLAGS
15858 elif test $ac_cv_prog_cc_g = yes; then
15859 if test "$GCC" = yes; then
15865 if test "$GCC" = yes; then
15879 ac_cpp='$CPP $CPPFLAGS'
15880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15884 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15885 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
15886 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15887 echo $ECHO_N "(cached) $ECHO_C" >&6
15889 cat >conftest.$ac_ext <<_ACEOF
15892 cat confdefs.h >>conftest.$ac_ext
15893 cat >>conftest.$ac_ext <<_ACEOF
15894 /* end confdefs.h. */
15908 rm -f conftest.$ac_objext
15909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15910 (eval $ac_compile) 2>conftest.er1
15912 grep -v '^ *+' conftest.er1 >conftest.err
15914 cat conftest.err >&5
15915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15916 (exit $ac_status); } &&
15917 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15919 (eval $ac_try) 2>&5
15921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); }; } &&
15923 { ac_try='test -s conftest.$ac_objext'
15924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15925 (eval $ac_try) 2>&5
15927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15928 (exit $ac_status); }; }; then
15929 bakefile_cv_c_compiler___xlC__=yes
15931 echo "$as_me: failed program was:" >&5
15932 sed 's/^/| /' conftest.$ac_ext >&5
15934 bakefile_cv_c_compiler___xlC__=no
15937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15941 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15942 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6
15943 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15949 ac_cpp='$CPP $CPPFLAGS'
15950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15962 ac_cpp='$CPP $CPPFLAGS'
15963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15967 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15968 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
15969 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15970 echo $ECHO_N "(cached) $ECHO_C" >&6
15972 cat >conftest.$ac_ext <<_ACEOF
15975 cat confdefs.h >>conftest.$ac_ext
15976 cat >>conftest.$ac_ext <<_ACEOF
15977 /* end confdefs.h. */
15991 rm -f conftest.$ac_objext
15992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15993 (eval $ac_compile) 2>conftest.er1
15995 grep -v '^ *+' conftest.er1 >conftest.err
15997 cat conftest.err >&5
15998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999 (exit $ac_status); } &&
16000 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16002 (eval $ac_try) 2>&5
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); }; } &&
16006 { ac_try='test -s conftest.$ac_objext'
16007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16008 (eval $ac_try) 2>&5
16010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011 (exit $ac_status); }; }; then
16012 bakefile_cv_c_compiler___MWERKS__=yes
16014 echo "$as_me: failed program was:" >&5
16015 sed 's/^/| /' conftest.$ac_ext >&5
16017 bakefile_cv_c_compiler___MWERKS__=no
16020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16024 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16025 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6
16026 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16032 ac_cpp='$CPP $CPPFLAGS'
16033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16042 ac_cpp='$CPP $CPPFLAGS'
16043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16047 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16048 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
16049 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16050 echo $ECHO_N "(cached) $ECHO_C" >&6
16052 cat >conftest.$ac_ext <<_ACEOF
16055 cat confdefs.h >>conftest.$ac_ext
16056 cat >>conftest.$ac_ext <<_ACEOF
16057 /* end confdefs.h. */
16071 rm -f conftest.$ac_objext
16072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16073 (eval $ac_compile) 2>conftest.er1
16075 grep -v '^ *+' conftest.er1 >conftest.err
16077 cat conftest.err >&5
16078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16079 (exit $ac_status); } &&
16080 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16082 (eval $ac_try) 2>&5
16084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); }; } &&
16086 { ac_try='test -s conftest.$ac_objext'
16087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16088 (eval $ac_try) 2>&5
16090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16091 (exit $ac_status); }; }; then
16092 bakefile_cv_c_compiler___xlC__=yes
16094 echo "$as_me: failed program was:" >&5
16095 sed 's/^/| /' conftest.$ac_ext >&5
16097 bakefile_cv_c_compiler___xlC__=no
16100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16104 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16105 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6
16106 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16112 ac_cpp='$CPP $CPPFLAGS'
16113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16125 ac_cpp='$CPP $CPPFLAGS'
16126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16130 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16131 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
16132 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16133 echo $ECHO_N "(cached) $ECHO_C" >&6
16135 cat >conftest.$ac_ext <<_ACEOF
16138 cat confdefs.h >>conftest.$ac_ext
16139 cat >>conftest.$ac_ext <<_ACEOF
16140 /* end confdefs.h. */
16146 #ifndef _SGI_COMPILER_VERSION
16154 rm -f conftest.$ac_objext
16155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16156 (eval $ac_compile) 2>conftest.er1
16158 grep -v '^ *+' conftest.er1 >conftest.err
16160 cat conftest.err >&5
16161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16162 (exit $ac_status); } &&
16163 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16165 (eval $ac_try) 2>&5
16167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168 (exit $ac_status); }; } &&
16169 { ac_try='test -s conftest.$ac_objext'
16170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16171 (eval $ac_try) 2>&5
16173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174 (exit $ac_status); }; }; then
16175 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16177 echo "$as_me: failed program was:" >&5
16178 sed 's/^/| /' conftest.$ac_ext >&5
16180 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16187 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16188 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
16189 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16195 ac_cpp='$CPP $CPPFLAGS'
16196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16208 ac_cpp='$CPP $CPPFLAGS'
16209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16213 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16214 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
16215 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16216 echo $ECHO_N "(cached) $ECHO_C" >&6
16218 cat >conftest.$ac_ext <<_ACEOF
16221 cat confdefs.h >>conftest.$ac_ext
16222 cat >>conftest.$ac_ext <<_ACEOF
16223 /* end confdefs.h. */
16237 rm -f conftest.$ac_objext
16238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16239 (eval $ac_compile) 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); } &&
16246 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16248 (eval $ac_try) 2>&5
16250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); }; } &&
16252 { ac_try='test -s conftest.$ac_objext'
16253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16254 (eval $ac_try) 2>&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); }; }; then
16258 bakefile_cv_c_compiler___SUNPRO_C=yes
16260 echo "$as_me: failed program was:" >&5
16261 sed 's/^/| /' conftest.$ac_ext >&5
16263 bakefile_cv_c_compiler___SUNPRO_C=no
16266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16270 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16271 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
16272 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16278 ac_cpp='$CPP $CPPFLAGS'
16279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16291 ac_cpp='$CPP $CPPFLAGS'
16292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16296 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16297 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
16298 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16299 echo $ECHO_N "(cached) $ECHO_C" >&6
16301 cat >conftest.$ac_ext <<_ACEOF
16304 cat confdefs.h >>conftest.$ac_ext
16305 cat >>conftest.$ac_ext <<_ACEOF
16306 /* end confdefs.h. */
16320 rm -f conftest.$ac_objext
16321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16322 (eval $ac_compile) 2>conftest.er1
16324 grep -v '^ *+' conftest.er1 >conftest.err
16326 cat conftest.err >&5
16327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16328 (exit $ac_status); } &&
16329 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16331 (eval $ac_try) 2>&5
16333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16334 (exit $ac_status); }; } &&
16335 { ac_try='test -s conftest.$ac_objext'
16336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16337 (eval $ac_try) 2>&5
16339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16340 (exit $ac_status); }; }; then
16341 bakefile_cv_c_compiler___HP_cc=yes
16343 echo "$as_me: failed program was:" >&5
16344 sed 's/^/| /' conftest.$ac_ext >&5
16346 bakefile_cv_c_compiler___HP_cc=no
16349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16353 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16354 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
16355 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16361 ac_cpp='$CPP $CPPFLAGS'
16362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16374 ac_cpp='$CPP $CPPFLAGS'
16375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16379 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16380 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
16381 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16382 echo $ECHO_N "(cached) $ECHO_C" >&6
16384 cat >conftest.$ac_ext <<_ACEOF
16387 cat confdefs.h >>conftest.$ac_ext
16388 cat >>conftest.$ac_ext <<_ACEOF
16389 /* end confdefs.h. */
16403 rm -f conftest.$ac_objext
16404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16405 (eval $ac_compile) 2>conftest.er1
16407 grep -v '^ *+' conftest.er1 >conftest.err
16409 cat conftest.err >&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); } &&
16412 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16414 (eval $ac_try) 2>&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); }; } &&
16418 { ac_try='test -s conftest.$ac_objext'
16419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16420 (eval $ac_try) 2>&5
16422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16423 (exit $ac_status); }; }; then
16424 bakefile_cv_c_compiler___DECC=yes
16426 echo "$as_me: failed program was:" >&5
16427 sed 's/^/| /' conftest.$ac_ext >&5
16429 bakefile_cv_c_compiler___DECC=no
16432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16436 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16437 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
16438 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16444 ac_cpp='$CPP $CPPFLAGS'
16445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16457 ac_cpp='$CPP $CPPFLAGS'
16458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16462 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16463 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
16464 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16465 echo $ECHO_N "(cached) $ECHO_C" >&6
16467 cat >conftest.$ac_ext <<_ACEOF
16470 cat confdefs.h >>conftest.$ac_ext
16471 cat >>conftest.$ac_ext <<_ACEOF
16472 /* end confdefs.h. */
16486 rm -f conftest.$ac_objext
16487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16488 (eval $ac_compile) 2>conftest.er1
16490 grep -v '^ *+' conftest.er1 >conftest.err
16492 cat conftest.err >&5
16493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16494 (exit $ac_status); } &&
16495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16497 (eval $ac_try) 2>&5
16499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16500 (exit $ac_status); }; } &&
16501 { ac_try='test -s conftest.$ac_objext'
16502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16503 (eval $ac_try) 2>&5
16505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16506 (exit $ac_status); }; }; then
16507 bakefile_cv_c_compiler___SUNPRO_C=yes
16509 echo "$as_me: failed program was:" >&5
16510 sed 's/^/| /' conftest.$ac_ext >&5
16512 bakefile_cv_c_compiler___SUNPRO_C=no
16515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16519 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16520 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
16521 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16527 ac_cpp='$CPP $CPPFLAGS'
16528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16541 ac_cpp='$CPP $CPPFLAGS'
16542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16545 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16546 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
16547 # On Suns, sometimes $CPP names a directory.
16548 if test -n "$CPP" && test -d "$CPP"; then
16551 if test -z "$CPP"; then
16552 if test "${ac_cv_prog_CPP+set}" = set; then
16553 echo $ECHO_N "(cached) $ECHO_C" >&6
16555 # Double quotes because CPP needs to be expanded
16556 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16558 ac_preproc_ok=false
16559 for ac_c_preproc_warn_flag in '' yes
16561 # Use a header file that comes with gcc, so configuring glibc
16562 # with a fresh cross-compiler works.
16563 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16564 # <limits.h> exists even on freestanding compilers.
16565 # On the NeXT, cc -E runs the code through the compiler's parser,
16566 # not just through cpp. "Syntax error" is here to catch this case.
16567 cat >conftest.$ac_ext <<_ACEOF
16570 cat confdefs.h >>conftest.$ac_ext
16571 cat >>conftest.$ac_ext <<_ACEOF
16572 /* end confdefs.h. */
16574 # include <limits.h>
16576 # include <assert.h>
16580 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16581 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16583 grep -v '^ *+' conftest.er1 >conftest.err
16585 cat conftest.err >&5
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); } >/dev/null; then
16588 if test -s conftest.err; then
16589 ac_cpp_err=$ac_c_preproc_warn_flag
16590 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16597 if test -z "$ac_cpp_err"; then
16600 echo "$as_me: failed program was:" >&5
16601 sed 's/^/| /' conftest.$ac_ext >&5
16603 # Broken: fails on valid input.
16606 rm -f conftest.err conftest.$ac_ext
16608 # OK, works on sane cases. Now check whether non-existent headers
16609 # can be detected and how.
16610 cat >conftest.$ac_ext <<_ACEOF
16613 cat confdefs.h >>conftest.$ac_ext
16614 cat >>conftest.$ac_ext <<_ACEOF
16615 /* end confdefs.h. */
16616 #include <ac_nonexistent.h>
16618 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16619 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16621 grep -v '^ *+' conftest.er1 >conftest.err
16623 cat conftest.err >&5
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); } >/dev/null; then
16626 if test -s conftest.err; then
16627 ac_cpp_err=$ac_c_preproc_warn_flag
16628 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16635 if test -z "$ac_cpp_err"; then
16636 # Broken: success on invalid input.
16639 echo "$as_me: failed program was:" >&5
16640 sed 's/^/| /' conftest.$ac_ext >&5
16642 # Passes both tests.
16646 rm -f conftest.err conftest.$ac_ext
16649 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16650 rm -f conftest.err conftest.$ac_ext
16651 if $ac_preproc_ok; then
16656 ac_cv_prog_CPP=$CPP
16659 CPP=$ac_cv_prog_CPP
16661 ac_cv_prog_CPP=$CPP
16663 echo "$as_me:$LINENO: result: $CPP" >&5
16664 echo "${ECHO_T}$CPP" >&6
16665 ac_preproc_ok=false
16666 for ac_c_preproc_warn_flag in '' yes
16668 # Use a header file that comes with gcc, so configuring glibc
16669 # with a fresh cross-compiler works.
16670 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16671 # <limits.h> exists even on freestanding compilers.
16672 # On the NeXT, cc -E runs the code through the compiler's parser,
16673 # not just through cpp. "Syntax error" is here to catch this case.
16674 cat >conftest.$ac_ext <<_ACEOF
16677 cat confdefs.h >>conftest.$ac_ext
16678 cat >>conftest.$ac_ext <<_ACEOF
16679 /* end confdefs.h. */
16681 # include <limits.h>
16683 # include <assert.h>
16687 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16688 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16690 grep -v '^ *+' conftest.er1 >conftest.err
16692 cat conftest.err >&5
16693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16694 (exit $ac_status); } >/dev/null; then
16695 if test -s conftest.err; then
16696 ac_cpp_err=$ac_c_preproc_warn_flag
16697 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16704 if test -z "$ac_cpp_err"; then
16707 echo "$as_me: failed program was:" >&5
16708 sed 's/^/| /' conftest.$ac_ext >&5
16710 # Broken: fails on valid input.
16713 rm -f conftest.err conftest.$ac_ext
16715 # OK, works on sane cases. Now check whether non-existent headers
16716 # can be detected and how.
16717 cat >conftest.$ac_ext <<_ACEOF
16720 cat confdefs.h >>conftest.$ac_ext
16721 cat >>conftest.$ac_ext <<_ACEOF
16722 /* end confdefs.h. */
16723 #include <ac_nonexistent.h>
16725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16726 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16728 grep -v '^ *+' conftest.er1 >conftest.err
16730 cat conftest.err >&5
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); } >/dev/null; then
16733 if test -s conftest.err; then
16734 ac_cpp_err=$ac_c_preproc_warn_flag
16735 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16742 if test -z "$ac_cpp_err"; then
16743 # Broken: success on invalid input.
16746 echo "$as_me: failed program was:" >&5
16747 sed 's/^/| /' conftest.$ac_ext >&5
16749 # Passes both tests.
16753 rm -f conftest.err conftest.$ac_ext
16756 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16757 rm -f conftest.err conftest.$ac_ext
16758 if $ac_preproc_ok; then
16761 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16762 See \`config.log' for more details." >&5
16763 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16764 See \`config.log' for more details." >&2;}
16765 { (exit 1); exit 1; }; }
16769 ac_cpp='$CPP $CPPFLAGS'
16770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16775 echo "$as_me:$LINENO: checking for egrep" >&5
16776 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
16777 if test "${ac_cv_prog_egrep+set}" = set; then
16778 echo $ECHO_N "(cached) $ECHO_C" >&6
16780 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
16781 then ac_cv_prog_egrep='grep -E'
16782 else ac_cv_prog_egrep='egrep'
16785 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
16786 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
16787 EGREP=$ac_cv_prog_egrep
16790 if test $ac_cv_c_compiler_gnu = yes; then
16791 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16792 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
16793 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16794 echo $ECHO_N "(cached) $ECHO_C" >&6
16796 ac_pattern="Autoconf.*'x'"
16797 cat >conftest.$ac_ext <<_ACEOF
16800 cat confdefs.h >>conftest.$ac_ext
16801 cat >>conftest.$ac_ext <<_ACEOF
16802 /* end confdefs.h. */
16806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16807 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16808 ac_cv_prog_gcc_traditional=yes
16810 ac_cv_prog_gcc_traditional=no
16815 if test $ac_cv_prog_gcc_traditional = no; then
16816 cat >conftest.$ac_ext <<_ACEOF
16819 cat confdefs.h >>conftest.$ac_ext
16820 cat >>conftest.$ac_ext <<_ACEOF
16821 /* end confdefs.h. */
16822 #include <termio.h>
16825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16826 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16827 ac_cv_prog_gcc_traditional=yes
16833 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16834 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
16835 if test $ac_cv_prog_gcc_traditional = yes; then
16836 CC="$CC -traditional"
16841 CXXFLAGS=${CXXFLAGS:=}
16846 ac_cpp='$CXXCPP $CPPFLAGS'
16847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16850 if test -n "$ac_tool_prefix"; then
16851 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
16853 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16854 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16855 echo "$as_me:$LINENO: checking for $ac_word" >&5
16856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16857 if test "${ac_cv_prog_CXX+set}" = set; then
16858 echo $ECHO_N "(cached) $ECHO_C" >&6
16860 if test -n "$CXX"; then
16861 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16864 for as_dir in $PATH
16867 test -z "$as_dir" && as_dir=.
16868 for ac_exec_ext in '' $ac_executable_extensions; do
16869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16870 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16879 CXX=$ac_cv_prog_CXX
16880 if test -n "$CXX"; then
16881 echo "$as_me:$LINENO: result: $CXX" >&5
16882 echo "${ECHO_T}$CXX" >&6
16884 echo "$as_me:$LINENO: result: no" >&5
16885 echo "${ECHO_T}no" >&6
16888 test -n "$CXX" && break
16891 if test -z "$CXX"; then
16893 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
16895 # Extract the first word of "$ac_prog", so it can be a program name with args.
16896 set dummy $ac_prog; ac_word=$2
16897 echo "$as_me:$LINENO: checking for $ac_word" >&5
16898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16899 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16900 echo $ECHO_N "(cached) $ECHO_C" >&6
16902 if test -n "$ac_ct_CXX"; then
16903 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16906 for as_dir in $PATH
16909 test -z "$as_dir" && as_dir=.
16910 for ac_exec_ext in '' $ac_executable_extensions; do
16911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16912 ac_cv_prog_ac_ct_CXX="$ac_prog"
16913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16921 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16922 if test -n "$ac_ct_CXX"; then
16923 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16924 echo "${ECHO_T}$ac_ct_CXX" >&6
16926 echo "$as_me:$LINENO: result: no" >&5
16927 echo "${ECHO_T}no" >&6
16930 test -n "$ac_ct_CXX" && break
16932 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
16938 # Provide some information about the compiler.
16939 echo "$as_me:$LINENO:" \
16940 "checking for C++ compiler version" >&5
16941 ac_compiler=`set X $ac_compile; echo $2`
16942 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
16943 (eval $ac_compiler --version </dev/null >&5) 2>&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); }
16947 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
16948 (eval $ac_compiler -v </dev/null >&5) 2>&5
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); }
16952 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
16953 (eval $ac_compiler -V </dev/null >&5) 2>&5
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); }
16958 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16959 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
16960 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16961 echo $ECHO_N "(cached) $ECHO_C" >&6
16963 cat >conftest.$ac_ext <<_ACEOF
16966 cat confdefs.h >>conftest.$ac_ext
16967 cat >>conftest.$ac_ext <<_ACEOF
16968 /* end confdefs.h. */
16981 rm -f conftest.$ac_objext
16982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16983 (eval $ac_compile) 2>conftest.er1
16985 grep -v '^ *+' conftest.er1 >conftest.err
16987 cat conftest.err >&5
16988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16989 (exit $ac_status); } &&
16990 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16992 (eval $ac_try) 2>&5
16994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16995 (exit $ac_status); }; } &&
16996 { ac_try='test -s conftest.$ac_objext'
16997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16998 (eval $ac_try) 2>&5
17000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17001 (exit $ac_status); }; }; then
17002 ac_compiler_gnu=yes
17004 echo "$as_me: failed program was:" >&5
17005 sed 's/^/| /' conftest.$ac_ext >&5
17009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17010 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17013 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17014 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
17015 GXX=`test $ac_compiler_gnu = yes && echo yes`
17016 ac_test_CXXFLAGS=${CXXFLAGS+set}
17017 ac_save_CXXFLAGS=$CXXFLAGS
17019 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17020 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
17021 if test "${ac_cv_prog_cxx_g+set}" = set; then
17022 echo $ECHO_N "(cached) $ECHO_C" >&6
17024 cat >conftest.$ac_ext <<_ACEOF
17027 cat confdefs.h >>conftest.$ac_ext
17028 cat >>conftest.$ac_ext <<_ACEOF
17029 /* end confdefs.h. */
17039 rm -f conftest.$ac_objext
17040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17041 (eval $ac_compile) 2>conftest.er1
17043 grep -v '^ *+' conftest.er1 >conftest.err
17045 cat conftest.err >&5
17046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17047 (exit $ac_status); } &&
17048 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17050 (eval $ac_try) 2>&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); }; } &&
17054 { ac_try='test -s conftest.$ac_objext'
17055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17056 (eval $ac_try) 2>&5
17058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059 (exit $ac_status); }; }; then
17060 ac_cv_prog_cxx_g=yes
17062 echo "$as_me: failed program was:" >&5
17063 sed 's/^/| /' conftest.$ac_ext >&5
17065 ac_cv_prog_cxx_g=no
17067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17069 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17070 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
17071 if test "$ac_test_CXXFLAGS" = set; then
17072 CXXFLAGS=$ac_save_CXXFLAGS
17073 elif test $ac_cv_prog_cxx_g = yes; then
17074 if test "$GXX" = yes; then
17080 if test "$GXX" = yes; then
17086 for ac_declaration in \
17088 'extern "C" void std::exit (int) throw (); using std::exit;' \
17089 'extern "C" void std::exit (int); using std::exit;' \
17090 'extern "C" void exit (int) throw ();' \
17091 'extern "C" void exit (int);' \
17094 cat >conftest.$ac_ext <<_ACEOF
17097 cat confdefs.h >>conftest.$ac_ext
17098 cat >>conftest.$ac_ext <<_ACEOF
17099 /* end confdefs.h. */
17101 #include <stdlib.h>
17110 rm -f conftest.$ac_objext
17111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17112 (eval $ac_compile) 2>conftest.er1
17114 grep -v '^ *+' conftest.er1 >conftest.err
17116 cat conftest.err >&5
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); } &&
17119 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17121 (eval $ac_try) 2>&5
17123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124 (exit $ac_status); }; } &&
17125 { ac_try='test -s conftest.$ac_objext'
17126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17127 (eval $ac_try) 2>&5
17129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17130 (exit $ac_status); }; }; then
17133 echo "$as_me: failed program was:" >&5
17134 sed 's/^/| /' conftest.$ac_ext >&5
17138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17139 cat >conftest.$ac_ext <<_ACEOF
17142 cat confdefs.h >>conftest.$ac_ext
17143 cat >>conftest.$ac_ext <<_ACEOF
17144 /* end confdefs.h. */
17154 rm -f conftest.$ac_objext
17155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17156 (eval $ac_compile) 2>conftest.er1
17158 grep -v '^ *+' conftest.er1 >conftest.err
17160 cat conftest.err >&5
17161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162 (exit $ac_status); } &&
17163 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17165 (eval $ac_try) 2>&5
17167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168 (exit $ac_status); }; } &&
17169 { ac_try='test -s conftest.$ac_objext'
17170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17171 (eval $ac_try) 2>&5
17173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174 (exit $ac_status); }; }; then
17177 echo "$as_me: failed program was:" >&5
17178 sed 's/^/| /' conftest.$ac_ext >&5
17181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17184 if test -n "$ac_declaration"; then
17185 echo '#ifdef __cplusplus' >>confdefs.h
17186 echo $ac_declaration >>confdefs.h
17187 echo '#endif' >>confdefs.h
17191 ac_cpp='$CPP $CPPFLAGS'
17192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17200 ac_cpp='$CXXCPP $CPPFLAGS'
17201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17205 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17206 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
17207 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17208 echo $ECHO_N "(cached) $ECHO_C" >&6
17210 cat >conftest.$ac_ext <<_ACEOF
17213 cat confdefs.h >>conftest.$ac_ext
17214 cat >>conftest.$ac_ext <<_ACEOF
17215 /* end confdefs.h. */
17221 #ifndef __INTEL_COMPILER
17229 rm -f conftest.$ac_objext
17230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17231 (eval $ac_compile) 2>conftest.er1
17233 grep -v '^ *+' conftest.er1 >conftest.err
17235 cat conftest.err >&5
17236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17237 (exit $ac_status); } &&
17238 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17240 (eval $ac_try) 2>&5
17242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17243 (exit $ac_status); }; } &&
17244 { ac_try='test -s conftest.$ac_objext'
17245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17246 (eval $ac_try) 2>&5
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); }; }; then
17250 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17252 echo "$as_me: failed program was:" >&5
17253 sed 's/^/| /' conftest.$ac_ext >&5
17255 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17262 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17263 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
17264 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17270 ac_cpp='$CPP $CPPFLAGS'
17271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17278 if test "x$GCXX" != "xyes"; then
17279 if test "xCXX" = "xC"; then
17280 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17281 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
17282 if test "${bakefile_cv_c_exto+set}" = set; then
17283 echo $ECHO_N "(cached) $ECHO_C" >&6
17285 cat >conftest.$ac_ext <<_ACEOF
17288 cat confdefs.h >>conftest.$ac_ext
17289 cat >>conftest.$ac_ext <<_ACEOF
17290 /* end confdefs.h. */
17300 rm -f conftest.$ac_objext conftest.$ac_ext.o
17301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17302 (eval $ac_compile) 2>&5
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); }; then
17306 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17308 conftest.$ac_ext.o)
17309 bakefile_cv_c_exto="-ext o"
17316 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17317 See \`config.log' for more details." >&5
17318 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17319 See \`config.log' for more details." >&2;}
17320 { (exit 1); exit 1; }; }
17324 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17327 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17328 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
17329 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17330 if test "c" = "c"; then
17331 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17333 if test "c" = "cxx"; then
17334 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17338 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17339 unset ac_cv_prog_cc_g
17340 ac_test_CFLAGS=${CFLAGS+set}
17341 ac_save_CFLAGS=$CFLAGS
17343 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17344 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
17345 if test "${ac_cv_prog_cc_g+set}" = set; then
17346 echo $ECHO_N "(cached) $ECHO_C" >&6
17348 cat >conftest.$ac_ext <<_ACEOF
17351 cat confdefs.h >>conftest.$ac_ext
17352 cat >>conftest.$ac_ext <<_ACEOF
17353 /* end confdefs.h. */
17363 rm -f conftest.$ac_objext
17364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17365 (eval $ac_compile) 2>conftest.er1
17367 grep -v '^ *+' conftest.er1 >conftest.err
17369 cat conftest.err >&5
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); } &&
17372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17374 (eval $ac_try) 2>&5
17376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17377 (exit $ac_status); }; } &&
17378 { ac_try='test -s conftest.$ac_objext'
17379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17380 (eval $ac_try) 2>&5
17382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17383 (exit $ac_status); }; }; then
17384 ac_cv_prog_cc_g=yes
17386 echo "$as_me: failed program was:" >&5
17387 sed 's/^/| /' conftest.$ac_ext >&5
17391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17393 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17394 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
17395 if test "$ac_test_CFLAGS" = set; then
17396 CFLAGS=$ac_save_CFLAGS
17397 elif test $ac_cv_prog_cc_g = yes; then
17398 if test "$GCC" = yes; then
17404 if test "$GCC" = yes; then
17418 ac_cpp='$CXXCPP $CPPFLAGS'
17419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17423 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17424 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
17425 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17428 cat >conftest.$ac_ext <<_ACEOF
17431 cat confdefs.h >>conftest.$ac_ext
17432 cat >>conftest.$ac_ext <<_ACEOF
17433 /* end confdefs.h. */
17447 rm -f conftest.$ac_objext
17448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17449 (eval $ac_compile) 2>conftest.er1
17451 grep -v '^ *+' conftest.er1 >conftest.err
17453 cat conftest.err >&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); } &&
17456 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17458 (eval $ac_try) 2>&5
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); }; } &&
17462 { ac_try='test -s conftest.$ac_objext'
17463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17464 (eval $ac_try) 2>&5
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); }; }; then
17468 bakefile_cv_cxx_compiler___xlC__=yes
17470 echo "$as_me: failed program was:" >&5
17471 sed 's/^/| /' conftest.$ac_ext >&5
17473 bakefile_cv_cxx_compiler___xlC__=no
17476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17480 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17481 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6
17482 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17488 ac_cpp='$CPP $CPPFLAGS'
17489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17501 ac_cpp='$CXXCPP $CPPFLAGS'
17502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17506 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17507 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
17508 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17509 echo $ECHO_N "(cached) $ECHO_C" >&6
17511 cat >conftest.$ac_ext <<_ACEOF
17514 cat confdefs.h >>conftest.$ac_ext
17515 cat >>conftest.$ac_ext <<_ACEOF
17516 /* end confdefs.h. */
17530 rm -f conftest.$ac_objext
17531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17532 (eval $ac_compile) 2>conftest.er1
17534 grep -v '^ *+' conftest.er1 >conftest.err
17536 cat conftest.err >&5
17537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17538 (exit $ac_status); } &&
17539 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17541 (eval $ac_try) 2>&5
17543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17544 (exit $ac_status); }; } &&
17545 { ac_try='test -s conftest.$ac_objext'
17546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17547 (eval $ac_try) 2>&5
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); }; }; then
17551 bakefile_cv_cxx_compiler___MWERKS__=yes
17553 echo "$as_me: failed program was:" >&5
17554 sed 's/^/| /' conftest.$ac_ext >&5
17556 bakefile_cv_cxx_compiler___MWERKS__=no
17559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17563 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17564 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6
17565 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17571 ac_cpp='$CPP $CPPFLAGS'
17572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17581 ac_cpp='$CXXCPP $CPPFLAGS'
17582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17586 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17587 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
17588 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17589 echo $ECHO_N "(cached) $ECHO_C" >&6
17591 cat >conftest.$ac_ext <<_ACEOF
17594 cat confdefs.h >>conftest.$ac_ext
17595 cat >>conftest.$ac_ext <<_ACEOF
17596 /* end confdefs.h. */
17610 rm -f conftest.$ac_objext
17611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17612 (eval $ac_compile) 2>conftest.er1
17614 grep -v '^ *+' conftest.er1 >conftest.err
17616 cat conftest.err >&5
17617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17618 (exit $ac_status); } &&
17619 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17621 (eval $ac_try) 2>&5
17623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17624 (exit $ac_status); }; } &&
17625 { ac_try='test -s conftest.$ac_objext'
17626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17627 (eval $ac_try) 2>&5
17629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17630 (exit $ac_status); }; }; then
17631 bakefile_cv_cxx_compiler___xlC__=yes
17633 echo "$as_me: failed program was:" >&5
17634 sed 's/^/| /' conftest.$ac_ext >&5
17636 bakefile_cv_cxx_compiler___xlC__=no
17639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17643 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17644 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6
17645 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17651 ac_cpp='$CPP $CPPFLAGS'
17652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17664 ac_cpp='$CXXCPP $CPPFLAGS'
17665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17669 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17670 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
17671 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17672 echo $ECHO_N "(cached) $ECHO_C" >&6
17674 cat >conftest.$ac_ext <<_ACEOF
17677 cat confdefs.h >>conftest.$ac_ext
17678 cat >>conftest.$ac_ext <<_ACEOF
17679 /* end confdefs.h. */
17685 #ifndef _SGI_COMPILER_VERSION
17693 rm -f conftest.$ac_objext
17694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17695 (eval $ac_compile) 2>conftest.er1
17697 grep -v '^ *+' conftest.er1 >conftest.err
17699 cat conftest.err >&5
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); } &&
17702 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17704 (eval $ac_try) 2>&5
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); }; } &&
17708 { ac_try='test -s conftest.$ac_objext'
17709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17710 (eval $ac_try) 2>&5
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); }; }; then
17714 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17716 echo "$as_me: failed program was:" >&5
17717 sed 's/^/| /' conftest.$ac_ext >&5
17719 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17726 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17727 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
17728 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17734 ac_cpp='$CPP $CPPFLAGS'
17735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17747 ac_cpp='$CXXCPP $CPPFLAGS'
17748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17752 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17753 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
17754 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17755 echo $ECHO_N "(cached) $ECHO_C" >&6
17757 cat >conftest.$ac_ext <<_ACEOF
17760 cat confdefs.h >>conftest.$ac_ext
17761 cat >>conftest.$ac_ext <<_ACEOF
17762 /* end confdefs.h. */
17768 #ifndef __SUNPRO_CC
17776 rm -f conftest.$ac_objext
17777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17778 (eval $ac_compile) 2>conftest.er1
17780 grep -v '^ *+' conftest.er1 >conftest.err
17782 cat conftest.err >&5
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); } &&
17785 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17787 (eval $ac_try) 2>&5
17789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790 (exit $ac_status); }; } &&
17791 { ac_try='test -s conftest.$ac_objext'
17792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17793 (eval $ac_try) 2>&5
17795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17796 (exit $ac_status); }; }; then
17797 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17799 echo "$as_me: failed program was:" >&5
17800 sed 's/^/| /' conftest.$ac_ext >&5
17802 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17809 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17810 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
17811 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17817 ac_cpp='$CPP $CPPFLAGS'
17818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17830 ac_cpp='$CXXCPP $CPPFLAGS'
17831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17835 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17836 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
17837 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17838 echo $ECHO_N "(cached) $ECHO_C" >&6
17840 cat >conftest.$ac_ext <<_ACEOF
17843 cat confdefs.h >>conftest.$ac_ext
17844 cat >>conftest.$ac_ext <<_ACEOF
17845 /* end confdefs.h. */
17859 rm -f conftest.$ac_objext
17860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17861 (eval $ac_compile) 2>conftest.er1
17863 grep -v '^ *+' conftest.er1 >conftest.err
17865 cat conftest.err >&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); } &&
17868 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17870 (eval $ac_try) 2>&5
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); }; } &&
17874 { ac_try='test -s conftest.$ac_objext'
17875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17876 (eval $ac_try) 2>&5
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); }; }; then
17880 bakefile_cv_cxx_compiler___HP_aCC=yes
17882 echo "$as_me: failed program was:" >&5
17883 sed 's/^/| /' conftest.$ac_ext >&5
17885 bakefile_cv_cxx_compiler___HP_aCC=no
17888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17892 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17893 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
17894 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17900 ac_cpp='$CPP $CPPFLAGS'
17901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17913 ac_cpp='$CXXCPP $CPPFLAGS'
17914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17918 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17919 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
17920 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17921 echo $ECHO_N "(cached) $ECHO_C" >&6
17923 cat >conftest.$ac_ext <<_ACEOF
17926 cat confdefs.h >>conftest.$ac_ext
17927 cat >>conftest.$ac_ext <<_ACEOF
17928 /* end confdefs.h. */
17942 rm -f conftest.$ac_objext
17943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17944 (eval $ac_compile) 2>conftest.er1
17946 grep -v '^ *+' conftest.er1 >conftest.err
17948 cat conftest.err >&5
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); } &&
17951 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17953 (eval $ac_try) 2>&5
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); }; } &&
17957 { ac_try='test -s conftest.$ac_objext'
17958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17959 (eval $ac_try) 2>&5
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); }; }; then
17963 bakefile_cv_cxx_compiler___DECCXX=yes
17965 echo "$as_me: failed program was:" >&5
17966 sed 's/^/| /' conftest.$ac_ext >&5
17968 bakefile_cv_cxx_compiler___DECCXX=no
17971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17975 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17976 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
17977 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17983 ac_cpp='$CPP $CPPFLAGS'
17984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17996 ac_cpp='$CXXCPP $CPPFLAGS'
17997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18001 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18002 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
18003 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18004 echo $ECHO_N "(cached) $ECHO_C" >&6
18006 cat >conftest.$ac_ext <<_ACEOF
18009 cat confdefs.h >>conftest.$ac_ext
18010 cat >>conftest.$ac_ext <<_ACEOF
18011 /* end confdefs.h. */
18017 #ifndef __SUNPRO_CC
18025 rm -f conftest.$ac_objext
18026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18027 (eval $ac_compile) 2>conftest.er1
18029 grep -v '^ *+' conftest.er1 >conftest.err
18031 cat conftest.err >&5
18032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18033 (exit $ac_status); } &&
18034 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18036 (eval $ac_try) 2>&5
18038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039 (exit $ac_status); }; } &&
18040 { ac_try='test -s conftest.$ac_objext'
18041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18042 (eval $ac_try) 2>&5
18044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045 (exit $ac_status); }; }; then
18046 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18048 echo "$as_me: failed program was:" >&5
18049 sed 's/^/| /' conftest.$ac_ext >&5
18051 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18058 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18059 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
18060 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18066 ac_cpp='$CPP $CPPFLAGS'
18067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18079 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18080 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18081 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18082 { (exit 1); exit 1; }; }
18085 if test -n "$ac_tool_prefix"; then
18086 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
18087 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
18088 echo "$as_me:$LINENO: checking for $ac_word" >&5
18089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18090 if test "${ac_cv_prog_RANLIB+set}" = set; then
18091 echo $ECHO_N "(cached) $ECHO_C" >&6
18093 if test -n "$RANLIB"; then
18094 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
18096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18097 for as_dir in $PATH
18100 test -z "$as_dir" && as_dir=.
18101 for ac_exec_ext in '' $ac_executable_extensions; do
18102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18103 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
18104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18112 RANLIB=$ac_cv_prog_RANLIB
18113 if test -n "$RANLIB"; then
18114 echo "$as_me:$LINENO: result: $RANLIB" >&5
18115 echo "${ECHO_T}$RANLIB" >&6
18117 echo "$as_me:$LINENO: result: no" >&5
18118 echo "${ECHO_T}no" >&6
18122 if test -z "$ac_cv_prog_RANLIB"; then
18123 ac_ct_RANLIB=$RANLIB
18124 # Extract the first word of "ranlib", so it can be a program name with args.
18125 set dummy ranlib; ac_word=$2
18126 echo "$as_me:$LINENO: checking for $ac_word" >&5
18127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18128 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
18129 echo $ECHO_N "(cached) $ECHO_C" >&6
18131 if test -n "$ac_ct_RANLIB"; then
18132 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
18134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18135 for as_dir in $PATH
18138 test -z "$as_dir" && as_dir=.
18139 for ac_exec_ext in '' $ac_executable_extensions; do
18140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18141 ac_cv_prog_ac_ct_RANLIB="ranlib"
18142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18148 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
18151 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
18152 if test -n "$ac_ct_RANLIB"; then
18153 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
18154 echo "${ECHO_T}$ac_ct_RANLIB" >&6
18156 echo "$as_me:$LINENO: result: no" >&5
18157 echo "${ECHO_T}no" >&6
18160 RANLIB=$ac_ct_RANLIB
18162 RANLIB="$ac_cv_prog_RANLIB"
18166 if test "x$SUNCXX" != xyes; then
18167 if test -n "$ac_tool_prefix"; then
18168 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18169 set dummy ${ac_tool_prefix}ar; ac_word=$2
18170 echo "$as_me:$LINENO: checking for $ac_word" >&5
18171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18172 if test "${ac_cv_prog_AR+set}" = set; then
18173 echo $ECHO_N "(cached) $ECHO_C" >&6
18175 if test -n "$AR"; then
18176 ac_cv_prog_AR="$AR" # Let the user override the test.
18178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18179 for as_dir in $PATH
18182 test -z "$as_dir" && as_dir=.
18183 for ac_exec_ext in '' $ac_executable_extensions; do
18184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18185 ac_cv_prog_AR="${ac_tool_prefix}ar"
18186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18195 if test -n "$AR"; then
18196 echo "$as_me:$LINENO: result: $AR" >&5
18197 echo "${ECHO_T}$AR" >&6
18199 echo "$as_me:$LINENO: result: no" >&5
18200 echo "${ECHO_T}no" >&6
18204 if test -z "$ac_cv_prog_AR"; then
18206 # Extract the first word of "ar", so it can be a program name with args.
18207 set dummy ar; ac_word=$2
18208 echo "$as_me:$LINENO: checking for $ac_word" >&5
18209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18210 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18211 echo $ECHO_N "(cached) $ECHO_C" >&6
18213 if test -n "$ac_ct_AR"; then
18214 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18217 for as_dir in $PATH
18220 test -z "$as_dir" && as_dir=.
18221 for ac_exec_ext in '' $ac_executable_extensions; do
18222 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18223 ac_cv_prog_ac_ct_AR="ar"
18224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18232 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18233 if test -n "$ac_ct_AR"; then
18234 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18235 echo "${ECHO_T}$ac_ct_AR" >&6
18237 echo "$as_me:$LINENO: result: no" >&5
18238 echo "${ECHO_T}no" >&6
18243 AR="$ac_cv_prog_AR"
18246 if test "x$AR" = "x" ; then
18247 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18248 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18249 { (exit 1); exit 1; }; }
18253 # Find a good install program. We prefer a C program (faster),
18254 # so one script is as good as another. But avoid the broken or
18255 # incompatible versions:
18256 # SysV /etc/install, /usr/sbin/install
18257 # SunOS /usr/etc/install
18258 # IRIX /sbin/install
18260 # AmigaOS /C/install, which installs bootblocks on floppy discs
18261 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
18262 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
18263 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
18264 # OS/2's system install, which has a completely different semantic
18265 # ./install, which can be erroneously created by make from ./install.sh.
18266 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
18267 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
18268 if test -z "$INSTALL"; then
18269 if test "${ac_cv_path_install+set}" = set; then
18270 echo $ECHO_N "(cached) $ECHO_C" >&6
18272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18273 for as_dir in $PATH
18276 test -z "$as_dir" && as_dir=.
18277 # Account for people who put trailing slashes in PATH elements.
18279 ./ | .// | /cC/* | \
18280 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
18281 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
18284 # OSF1 and SCO ODT 3.0 have their own names for install.
18285 # Don't use installbsd from OSF since it installs stuff as root
18287 for ac_prog in ginstall scoinst install; do
18288 for ac_exec_ext in '' $ac_executable_extensions; do
18289 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
18290 if test $ac_prog = install &&
18291 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
18292 # AIX install. It has an incompatible calling convention.
18294 elif test $ac_prog = install &&
18295 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
18296 # program-specific install script used by HP pwplus--don't use.
18299 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
18311 if test "${ac_cv_path_install+set}" = set; then
18312 INSTALL=$ac_cv_path_install
18314 # As a last resort, use the slow shell script. We don't cache a
18315 # path for INSTALL within a source directory, because that will
18316 # break other packages using the cache if that directory is
18317 # removed, or if the path is relative.
18318 INSTALL=$ac_install_sh
18321 echo "$as_me:$LINENO: result: $INSTALL" >&5
18322 echo "${ECHO_T}$INSTALL" >&6
18324 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
18325 # It thinks the first close brace ends the variable substitution.
18326 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
18328 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
18330 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
18336 ?:* ) # Drive letter, considered as absolute.
18339 INSTALL=`pwd`/${INSTALL} ;;
18346 INSTALL_PROGRAM="cp -fp"
18347 INSTALL_DATA="cp -fp"
18353 if test -n "$ac_tool_prefix"; then
18354 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
18355 set dummy ${ac_tool_prefix}strip; ac_word=$2
18356 echo "$as_me:$LINENO: checking for $ac_word" >&5
18357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18358 if test "${ac_cv_prog_STRIP+set}" = set; then
18359 echo $ECHO_N "(cached) $ECHO_C" >&6
18361 if test -n "$STRIP"; then
18362 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
18364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18365 for as_dir in $PATH
18368 test -z "$as_dir" && as_dir=.
18369 for ac_exec_ext in '' $ac_executable_extensions; do
18370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18371 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
18372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18380 STRIP=$ac_cv_prog_STRIP
18381 if test -n "$STRIP"; then
18382 echo "$as_me:$LINENO: result: $STRIP" >&5
18383 echo "${ECHO_T}$STRIP" >&6
18385 echo "$as_me:$LINENO: result: no" >&5
18386 echo "${ECHO_T}no" >&6
18390 if test -z "$ac_cv_prog_STRIP"; then
18392 # Extract the first word of "strip", so it can be a program name with args.
18393 set dummy strip; ac_word=$2
18394 echo "$as_me:$LINENO: checking for $ac_word" >&5
18395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18396 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
18397 echo $ECHO_N "(cached) $ECHO_C" >&6
18399 if test -n "$ac_ct_STRIP"; then
18400 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
18402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18403 for as_dir in $PATH
18406 test -z "$as_dir" && as_dir=.
18407 for ac_exec_ext in '' $ac_executable_extensions; do
18408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18409 ac_cv_prog_ac_ct_STRIP="strip"
18410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18416 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
18419 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
18420 if test -n "$ac_ct_STRIP"; then
18421 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
18422 echo "${ECHO_T}$ac_ct_STRIP" >&6
18424 echo "$as_me:$LINENO: result: no" >&5
18425 echo "${ECHO_T}no" >&6
18430 STRIP="$ac_cv_prog_STRIP"
18434 if test "$wxUSE_WINE" = "yes"; then
18435 if test -n "$ac_tool_prefix"; then
18436 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
18437 set dummy ${ac_tool_prefix}wrc; ac_word=$2
18438 echo "$as_me:$LINENO: checking for $ac_word" >&5
18439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18440 if test "${ac_cv_prog_WINDRES+set}" = set; then
18441 echo $ECHO_N "(cached) $ECHO_C" >&6
18443 if test -n "$WINDRES"; then
18444 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
18446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18447 for as_dir in $PATH
18450 test -z "$as_dir" && as_dir=.
18451 for ac_exec_ext in '' $ac_executable_extensions; do
18452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18453 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
18454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18462 WINDRES=$ac_cv_prog_WINDRES
18463 if test -n "$WINDRES"; then
18464 echo "$as_me:$LINENO: result: $WINDRES" >&5
18465 echo "${ECHO_T}$WINDRES" >&6
18467 echo "$as_me:$LINENO: result: no" >&5
18468 echo "${ECHO_T}no" >&6
18472 if test -z "$ac_cv_prog_WINDRES"; then
18473 ac_ct_WINDRES=$WINDRES
18474 # Extract the first word of "wrc", so it can be a program name with args.
18475 set dummy wrc; ac_word=$2
18476 echo "$as_me:$LINENO: checking for $ac_word" >&5
18477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18478 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
18479 echo $ECHO_N "(cached) $ECHO_C" >&6
18481 if test -n "$ac_ct_WINDRES"; then
18482 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
18484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18485 for as_dir in $PATH
18488 test -z "$as_dir" && as_dir=.
18489 for ac_exec_ext in '' $ac_executable_extensions; do
18490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18491 ac_cv_prog_ac_ct_WINDRES="wrc"
18492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18500 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
18501 if test -n "$ac_ct_WINDRES"; then
18502 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
18503 echo "${ECHO_T}$ac_ct_WINDRES" >&6
18505 echo "$as_me:$LINENO: result: no" >&5
18506 echo "${ECHO_T}no" >&6
18509 WINDRES=$ac_ct_WINDRES
18511 WINDRES="$ac_cv_prog_WINDRES"
18517 *-*-cygwin* | *-*-mingw32* )
18518 if test -n "$ac_tool_prefix"; then
18519 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
18520 set dummy ${ac_tool_prefix}windres; ac_word=$2
18521 echo "$as_me:$LINENO: checking for $ac_word" >&5
18522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18523 if test "${ac_cv_prog_WINDRES+set}" = set; then
18524 echo $ECHO_N "(cached) $ECHO_C" >&6
18526 if test -n "$WINDRES"; then
18527 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
18529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18530 for as_dir in $PATH
18533 test -z "$as_dir" && as_dir=.
18534 for ac_exec_ext in '' $ac_executable_extensions; do
18535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18536 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
18537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18545 WINDRES=$ac_cv_prog_WINDRES
18546 if test -n "$WINDRES"; then
18547 echo "$as_me:$LINENO: result: $WINDRES" >&5
18548 echo "${ECHO_T}$WINDRES" >&6
18550 echo "$as_me:$LINENO: result: no" >&5
18551 echo "${ECHO_T}no" >&6
18555 if test -z "$ac_cv_prog_WINDRES"; then
18556 ac_ct_WINDRES=$WINDRES
18557 # Extract the first word of "windres", so it can be a program name with args.
18558 set dummy windres; ac_word=$2
18559 echo "$as_me:$LINENO: checking for $ac_word" >&5
18560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18561 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
18562 echo $ECHO_N "(cached) $ECHO_C" >&6
18564 if test -n "$ac_ct_WINDRES"; then
18565 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
18567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18568 for as_dir in $PATH
18571 test -z "$as_dir" && as_dir=.
18572 for ac_exec_ext in '' $ac_executable_extensions; do
18573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18574 ac_cv_prog_ac_ct_WINDRES="windres"
18575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18583 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
18584 if test -n "$ac_ct_WINDRES"; then
18585 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
18586 echo "${ECHO_T}$ac_ct_WINDRES" >&6
18588 echo "$as_me:$LINENO: result: no" >&5
18589 echo "${ECHO_T}no" >&6
18592 WINDRES=$ac_ct_WINDRES
18594 WINDRES="$ac_cv_prog_WINDRES"
18598 if test -n "$ac_tool_prefix"; then
18599 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
18600 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
18601 echo "$as_me:$LINENO: checking for $ac_word" >&5
18602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18603 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
18604 echo $ECHO_N "(cached) $ECHO_C" >&6
18606 if test -n "$DLLTOOL"; then
18607 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
18609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18610 for as_dir in $PATH
18613 test -z "$as_dir" && as_dir=.
18614 for ac_exec_ext in '' $ac_executable_extensions; do
18615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18616 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
18617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18625 DLLTOOL=$ac_cv_prog_DLLTOOL
18626 if test -n "$DLLTOOL"; then
18627 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
18628 echo "${ECHO_T}$DLLTOOL" >&6
18630 echo "$as_me:$LINENO: result: no" >&5
18631 echo "${ECHO_T}no" >&6
18635 if test -z "$ac_cv_prog_DLLTOOL"; then
18636 ac_ct_DLLTOOL=$DLLTOOL
18637 # Extract the first word of "dlltool", so it can be a program name with args.
18638 set dummy dlltool; ac_word=$2
18639 echo "$as_me:$LINENO: checking for $ac_word" >&5
18640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18641 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
18642 echo $ECHO_N "(cached) $ECHO_C" >&6
18644 if test -n "$ac_ct_DLLTOOL"; then
18645 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
18647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18648 for as_dir in $PATH
18651 test -z "$as_dir" && as_dir=.
18652 for ac_exec_ext in '' $ac_executable_extensions; do
18653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18654 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
18655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18663 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
18664 if test -n "$ac_ct_DLLTOOL"; then
18665 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
18666 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
18668 echo "$as_me:$LINENO: result: no" >&5
18669 echo "${ECHO_T}no" >&6
18672 DLLTOOL=$ac_ct_DLLTOOL
18674 DLLTOOL="$ac_cv_prog_DLLTOOL"
18681 echo "$as_me:$LINENO: checking if make is GNU make" >&5
18682 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
18683 if test "${wx_cv_prog_makeisgnu+set}" = set; then
18684 echo $ECHO_N "(cached) $ECHO_C" >&6
18687 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
18688 $EGREP -s GNU > /dev/null); then
18689 wx_cv_prog_makeisgnu="yes"
18691 wx_cv_prog_makeisgnu="no"
18695 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
18696 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
18698 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
18706 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
18707 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
18708 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
18709 if test "${wx_cv_prog_makevpath+set}" = set; then
18710 echo $ECHO_N "(cached) $ECHO_C" >&6
18713 cat - << EOF > confMake
18719 if test ! -d sub ; then
18722 echo dummy > sub/file
18723 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
18725 rm -f sub/file check final_file confMake
18727 if test "$RESULT" = 0; then
18728 wx_cv_prog_makevpath="yes"
18730 wx_cv_prog_makevpath="no"
18734 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
18735 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
18737 if test "x$wx_cv_prog_makevpath" != "xyes"; then
18738 { { echo "$as_me:$LINENO: error:
18739 You need a make-utility that is able to use the variable
18741 If your version of make does not support VPATH correctly,
18742 please install GNU-make (possibly as gmake), and start
18743 configure with the following command:
18744 export MAKE=gmake; ./configure for sh-type shells
18745 setenv MAKE gmake; ./configure for csh-type shells
18746 Also please do remember to use gmake in this case every time
18747 you are trying to compile.
18749 echo "$as_me: error:
18750 You need a make-utility that is able to use the variable
18752 If your version of make does not support VPATH correctly,
18753 please install GNU-make (possibly as gmake), and start
18754 configure with the following command:
18755 export MAKE=gmake; ./configure for sh-type shells
18756 setenv MAKE gmake; ./configure for csh-type shells
18757 Also please do remember to use gmake in this case every time
18758 you are trying to compile.
18760 { (exit 1); exit 1; }; }
18762 echo "$as_me:$LINENO: checking whether ln -s works" >&5
18763 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
18765 if test "$LN_S" = "ln -s"; then
18766 echo "$as_me:$LINENO: result: yes" >&5
18767 echo "${ECHO_T}yes" >&6
18769 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
18770 echo "${ECHO_T}no, using $LN_S" >&6
18776 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18777 CXXFLAGS="-qunique $CXXFLAGS"
18781 powerpc-*-darwin* )
18782 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18783 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
18784 cat >conftest.$ac_ext <<_ACEOF
18787 cat confdefs.h >>conftest.$ac_ext
18788 cat >>conftest.$ac_ext <<_ACEOF
18789 /* end confdefs.h. */
18794 #ifndef __POWERPC__
18795 choke me for lack of PowerPC
18802 rm -f conftest.$ac_objext
18803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18804 (eval $ac_compile) 2>conftest.er1
18806 grep -v '^ *+' conftest.er1 >conftest.err
18808 cat conftest.err >&5
18809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18810 (exit $ac_status); } &&
18811 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18813 (eval $ac_try) 2>&5
18815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18816 (exit $ac_status); }; } &&
18817 { ac_try='test -s conftest.$ac_objext'
18818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18819 (eval $ac_try) 2>&5
18821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18822 (exit $ac_status); }; }; then
18823 echo "$as_me:$LINENO: result: yes" >&5
18824 echo "${ECHO_T}yes" >&6
18826 echo "$as_me: failed program was:" >&5
18827 sed 's/^/| /' conftest.$ac_ext >&5
18829 echo "$as_me:$LINENO: result: no" >&5
18830 echo "${ECHO_T}no" >&6
18831 cat >>confdefs.h <<\_ACEOF
18832 #define __POWERPC__ 1
18837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18843 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18844 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
18845 cat >conftest.$ac_ext <<_ACEOF
18848 cat confdefs.h >>conftest.$ac_ext
18849 cat >>conftest.$ac_ext <<_ACEOF
18850 /* end confdefs.h. */
18851 #include <CoreFoundation/CFBase.h>
18861 rm -f conftest.$ac_objext
18862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18863 (eval $ac_compile) 2>conftest.er1
18865 grep -v '^ *+' conftest.er1 >conftest.err
18867 cat conftest.err >&5
18868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18869 (exit $ac_status); } &&
18870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18872 (eval $ac_try) 2>&5
18874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18875 (exit $ac_status); }; } &&
18876 { ac_try='test -s conftest.$ac_objext'
18877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18878 (eval $ac_try) 2>&5
18880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881 (exit $ac_status); }; }; then
18882 echo "$as_me:$LINENO: result: yes" >&5
18883 echo "${ECHO_T}yes" >&6
18885 echo "$as_me: failed program was:" >&5
18886 sed 's/^/| /' conftest.$ac_ext >&5
18888 echo "$as_me:$LINENO: result: no" >&5
18889 echo "${ECHO_T}no" >&6
18890 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18891 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
18892 cat >conftest.$ac_ext <<_ACEOF
18895 cat confdefs.h >>conftest.$ac_ext
18896 cat >>conftest.$ac_ext <<_ACEOF
18897 /* end confdefs.h. */
18898 #define __CF_USE_FRAMEWORK_INCLUDES__
18899 #include <CoreFoundation/CFBase.h>
18909 rm -f conftest.$ac_objext
18910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18911 (eval $ac_compile) 2>conftest.er1
18913 grep -v '^ *+' conftest.er1 >conftest.err
18915 cat conftest.err >&5
18916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18917 (exit $ac_status); } &&
18918 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18920 (eval $ac_try) 2>&5
18922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18923 (exit $ac_status); }; } &&
18924 { ac_try='test -s conftest.$ac_objext'
18925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18926 (eval $ac_try) 2>&5
18928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18929 (exit $ac_status); }; }; then
18930 echo "$as_me:$LINENO: result: yes" >&5
18931 echo "${ECHO_T}yes" >&6
18932 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18934 echo "$as_me: failed program was:" >&5
18935 sed 's/^/| /' conftest.$ac_ext >&5
18937 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18938 See \`config.log' for more details." >&5
18939 echo "$as_me: error: no. CoreFoundation not available.
18940 See \`config.log' for more details." >&2;}
18941 { (exit 1); exit 1; }; }
18944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18953 doesnt_want_win32=0
18956 if test "$wxUSE_MSW" = 1 ; then
18959 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18960 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
18961 if test "${wx_cv_nocygwin+set}" = set; then
18962 echo $ECHO_N "(cached) $ECHO_C" >&6
18965 cat >conftest.$ac_ext <<_ACEOF
18968 cat confdefs.h >>conftest.$ac_ext
18969 cat >>conftest.$ac_ext <<_ACEOF
18970 /* end confdefs.h. */
18984 rm -f conftest.$ac_objext
18985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18986 (eval $ac_compile) 2>conftest.er1
18988 grep -v '^ *+' conftest.er1 >conftest.err
18990 cat conftest.err >&5
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); } &&
18993 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18995 (eval $ac_try) 2>&5
18997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998 (exit $ac_status); }; } &&
18999 { ac_try='test -s conftest.$ac_objext'
19000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19001 (eval $ac_try) 2>&5
19003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19004 (exit $ac_status); }; }; then
19007 echo "$as_me: failed program was:" >&5
19008 sed 's/^/| /' conftest.$ac_ext >&5
19013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19017 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19018 echo "${ECHO_T}$wx_cv_nocygwin" >&6
19020 if test "$wx_cv_nocygwin" = "yes"; then
19023 doesnt_want_win32=1
19026 if test "$wants_win32" = 1 ; then
19027 BAKEFILE_FORCE_PLATFORM=win32
19035 if test "$wxUSE_WINE" = "yes"; then
19037 LDFLAGS_GUI="-mwindows"
19040 if test "$wants_win32" = 1 ; then
19043 cat >>confdefs.h <<\_ACEOF
19044 #define __WIN32__ 1
19047 cat >>confdefs.h <<\_ACEOF
19048 #define __WIN95__ 1
19051 cat >>confdefs.h <<\_ACEOF
19052 #define __WINDOWS__ 1
19055 cat >>confdefs.h <<\_ACEOF
19056 #define __GNUWIN32__ 1
19059 cat >>confdefs.h <<\_ACEOF
19064 if test "$doesnt_want_win32" = 1 ; then
19069 if test "$USE_UNIX" = 1 ; then
19071 cat >>confdefs.h <<\_ACEOF
19078 *-pc-os2_emx | *-pc-os2-emx )
19079 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19080 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19081 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
19082 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19083 echo $ECHO_N "(cached) $ECHO_C" >&6
19085 ac_check_lib_save_LIBS=$LIBS
19086 LIBS="-lcExt $LIBS"
19087 cat >conftest.$ac_ext <<_ACEOF
19090 cat confdefs.h >>conftest.$ac_ext
19091 cat >>conftest.$ac_ext <<_ACEOF
19092 /* end confdefs.h. */
19094 /* Override any gcc2 internal prototype to avoid an error. */
19098 /* We use char because int might match the return type of a gcc2
19099 builtin and then its argument prototype would still apply. */
19109 rm -f conftest.$ac_objext conftest$ac_exeext
19110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19111 (eval $ac_link) 2>conftest.er1
19113 grep -v '^ *+' conftest.er1 >conftest.err
19115 cat conftest.err >&5
19116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19117 (exit $ac_status); } &&
19118 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19120 (eval $ac_try) 2>&5
19122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19123 (exit $ac_status); }; } &&
19124 { ac_try='test -s conftest$ac_exeext'
19125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19126 (eval $ac_try) 2>&5
19128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19129 (exit $ac_status); }; }; then
19130 ac_cv_lib_cExt_drand48=yes
19132 echo "$as_me: failed program was:" >&5
19133 sed 's/^/| /' conftest.$ac_ext >&5
19135 ac_cv_lib_cExt_drand48=no
19137 rm -f conftest.err conftest.$ac_objext \
19138 conftest$ac_exeext conftest.$ac_ext
19139 LIBS=$ac_check_lib_save_LIBS
19141 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19142 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
19143 if test $ac_cv_lib_cExt_drand48 = yes; then
19144 LIBS="$LIBS -lcExt"
19148 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19150 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19151 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
19152 if test "${wx_cv_gccversion+set}" = set; then
19153 echo $ECHO_N "(cached) $ECHO_C" >&6
19156 if test "$cross_compiling" = yes; then
19157 wx_cv_gccversion="EMX2"
19160 cat >conftest.$ac_ext <<_ACEOF
19163 cat confdefs.h >>conftest.$ac_ext
19164 cat >>conftest.$ac_ext <<_ACEOF
19165 /* end confdefs.h. */
19171 FILE *f=fopen("conftestval", "w");
19176 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19178 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19188 rm -f conftest$ac_exeext
19189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19190 (eval $ac_link) 2>&5
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19195 (eval $ac_try) 2>&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); }; }; then
19199 wx_cv_gccversion=`cat conftestval`
19201 echo "$as_me: program exited with status $ac_status" >&5
19202 echo "$as_me: failed program was:" >&5
19203 sed 's/^/| /' conftest.$ac_ext >&5
19205 ( exit $ac_status )
19206 wx_cv_gccversion="EMX2"
19208 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19212 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19213 echo "${ECHO_T}$wx_cv_gccversion" >&6
19214 if test "$wx_cv_gccversion" = "EMX2"; then
19215 LIBS="$LIBS -lstdcpp"
19216 LDFLAGS="$LDFLAGS -Zsysv-signals"
19218 if test "$wx_cv_gccversion" = "EMX3"; then
19219 LIBS="$LIBS -lstdcxx -lgcc"
19220 LDFLAGS="$LDFLAGS -Zsysv-signals"
19222 LIBS="$LIBS -lstdc++"
19225 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19226 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19227 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19234 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19235 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
19236 if test "${ac_cv_string_strcasecmp+set}" = set; then
19237 echo $ECHO_N "(cached) $ECHO_C" >&6
19240 cat >conftest.$ac_ext <<_ACEOF
19243 cat confdefs.h >>conftest.$ac_ext
19244 cat >>conftest.$ac_ext <<_ACEOF
19245 /* end confdefs.h. */
19247 #include <string.h>
19253 strcasecmp("foo", "bar");
19259 rm -f conftest.$ac_objext conftest$ac_exeext
19260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19261 (eval $ac_link) 2>conftest.er1
19263 grep -v '^ *+' conftest.er1 >conftest.err
19265 cat conftest.err >&5
19266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267 (exit $ac_status); } &&
19268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19270 (eval $ac_try) 2>&5
19272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19273 (exit $ac_status); }; } &&
19274 { ac_try='test -s conftest$ac_exeext'
19275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19276 (eval $ac_try) 2>&5
19278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279 (exit $ac_status); }; }; then
19280 ac_cv_string_strcasecmp=yes
19282 echo "$as_me: failed program was:" >&5
19283 sed 's/^/| /' conftest.$ac_ext >&5
19285 ac_cv_string_strcasecmp=no
19288 rm -f conftest.err conftest.$ac_objext \
19289 conftest$ac_exeext conftest.$ac_ext
19292 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19293 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
19295 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19296 cat >>confdefs.h <<\_ACEOF
19297 #define HAVE_STRCASECMP_IN_STRING_H 1
19301 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19302 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
19303 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19304 echo $ECHO_N "(cached) $ECHO_C" >&6
19307 cat >conftest.$ac_ext <<_ACEOF
19310 cat confdefs.h >>conftest.$ac_ext
19311 cat >>conftest.$ac_ext <<_ACEOF
19312 /* end confdefs.h. */
19314 #include <strings.h>
19320 strcasecmp("foo", "bar");
19326 rm -f conftest.$ac_objext conftest$ac_exeext
19327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19328 (eval $ac_link) 2>conftest.er1
19330 grep -v '^ *+' conftest.er1 >conftest.err
19332 cat conftest.err >&5
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); } &&
19335 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19337 (eval $ac_try) 2>&5
19339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340 (exit $ac_status); }; } &&
19341 { ac_try='test -s conftest$ac_exeext'
19342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19343 (eval $ac_try) 2>&5
19345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19346 (exit $ac_status); }; }; then
19347 ac_cv_strings_strcasecmp=yes
19349 echo "$as_me: failed program was:" >&5
19350 sed 's/^/| /' conftest.$ac_ext >&5
19352 ac_cv_strings_strcasecmp=no
19355 rm -f conftest.err conftest.$ac_objext \
19356 conftest$ac_exeext conftest.$ac_ext
19359 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19360 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
19362 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19363 cat >>confdefs.h <<\_ACEOF
19364 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19368 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19369 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19370 { (exit 1); exit 1; }; }
19378 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19379 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19380 if test "${ac_cv_header_stdc+set}" = set; then
19381 echo $ECHO_N "(cached) $ECHO_C" >&6
19383 cat >conftest.$ac_ext <<_ACEOF
19386 cat confdefs.h >>conftest.$ac_ext
19387 cat >>conftest.$ac_ext <<_ACEOF
19388 /* end confdefs.h. */
19389 #include <stdlib.h>
19390 #include <stdarg.h>
19391 #include <string.h>
19402 rm -f conftest.$ac_objext
19403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19404 (eval $ac_compile) 2>conftest.er1
19406 grep -v '^ *+' conftest.er1 >conftest.err
19408 cat conftest.err >&5
19409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410 (exit $ac_status); } &&
19411 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19413 (eval $ac_try) 2>&5
19415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19416 (exit $ac_status); }; } &&
19417 { ac_try='test -s conftest.$ac_objext'
19418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19419 (eval $ac_try) 2>&5
19421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19422 (exit $ac_status); }; }; then
19423 ac_cv_header_stdc=yes
19425 echo "$as_me: failed program was:" >&5
19426 sed 's/^/| /' conftest.$ac_ext >&5
19428 ac_cv_header_stdc=no
19430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19432 if test $ac_cv_header_stdc = yes; then
19433 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19434 cat >conftest.$ac_ext <<_ACEOF
19437 cat confdefs.h >>conftest.$ac_ext
19438 cat >>conftest.$ac_ext <<_ACEOF
19439 /* end confdefs.h. */
19440 #include <string.h>
19443 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19444 $EGREP "memchr" >/dev/null 2>&1; then
19447 ac_cv_header_stdc=no
19453 if test $ac_cv_header_stdc = yes; then
19454 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19455 cat >conftest.$ac_ext <<_ACEOF
19458 cat confdefs.h >>conftest.$ac_ext
19459 cat >>conftest.$ac_ext <<_ACEOF
19460 /* end confdefs.h. */
19461 #include <stdlib.h>
19464 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19465 $EGREP "free" >/dev/null 2>&1; then
19468 ac_cv_header_stdc=no
19474 if test $ac_cv_header_stdc = yes; then
19475 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19476 if test "$cross_compiling" = yes; then
19479 cat >conftest.$ac_ext <<_ACEOF
19482 cat confdefs.h >>conftest.$ac_ext
19483 cat >>conftest.$ac_ext <<_ACEOF
19484 /* end confdefs.h. */
19486 #if ((' ' & 0x0FF) == 0x020)
19487 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19488 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19490 # define ISLOWER(c) \
19491 (('a' <= (c) && (c) <= 'i') \
19492 || ('j' <= (c) && (c) <= 'r') \
19493 || ('s' <= (c) && (c) <= 'z'))
19494 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19497 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19502 for (i = 0; i < 256; i++)
19503 if (XOR (islower (i), ISLOWER (i))
19504 || toupper (i) != TOUPPER (i))
19509 rm -f conftest$ac_exeext
19510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19511 (eval $ac_link) 2>&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19516 (eval $ac_try) 2>&5
19518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519 (exit $ac_status); }; }; then
19522 echo "$as_me: program exited with status $ac_status" >&5
19523 echo "$as_me: failed program was:" >&5
19524 sed 's/^/| /' conftest.$ac_ext >&5
19526 ( exit $ac_status )
19527 ac_cv_header_stdc=no
19529 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19533 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19534 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19535 if test $ac_cv_header_stdc = yes; then
19537 cat >>confdefs.h <<\_ACEOF
19538 #define STDC_HEADERS 1
19543 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19553 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19554 inttypes.h stdint.h unistd.h
19556 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19557 echo "$as_me:$LINENO: checking for $ac_header" >&5
19558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19559 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19560 echo $ECHO_N "(cached) $ECHO_C" >&6
19562 cat >conftest.$ac_ext <<_ACEOF
19565 cat confdefs.h >>conftest.$ac_ext
19566 cat >>conftest.$ac_ext <<_ACEOF
19567 /* end confdefs.h. */
19568 $ac_includes_default
19570 #include <$ac_header>
19572 rm -f conftest.$ac_objext
19573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19574 (eval $ac_compile) 2>conftest.er1
19576 grep -v '^ *+' conftest.er1 >conftest.err
19578 cat conftest.err >&5
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); } &&
19581 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19583 (eval $ac_try) 2>&5
19585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586 (exit $ac_status); }; } &&
19587 { ac_try='test -s conftest.$ac_objext'
19588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19589 (eval $ac_try) 2>&5
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); }; }; then
19593 eval "$as_ac_Header=yes"
19595 echo "$as_me: failed program was:" >&5
19596 sed 's/^/| /' conftest.$ac_ext >&5
19598 eval "$as_ac_Header=no"
19600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19603 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19604 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19605 cat >>confdefs.h <<_ACEOF
19606 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19620 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
19622 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19623 echo "$as_me:$LINENO: checking for $ac_header" >&5
19624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19626 echo $ECHO_N "(cached) $ECHO_C" >&6
19628 cat >conftest.$ac_ext <<_ACEOF
19631 cat confdefs.h >>conftest.$ac_ext
19632 cat >>conftest.$ac_ext <<_ACEOF
19633 /* end confdefs.h. */
19634 $ac_includes_default
19636 #include <$ac_header>
19638 rm -f conftest.$ac_objext
19639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19640 (eval $ac_compile) 2>conftest.er1
19642 grep -v '^ *+' conftest.er1 >conftest.err
19644 cat conftest.err >&5
19645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646 (exit $ac_status); } &&
19647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19649 (eval $ac_try) 2>&5
19651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19652 (exit $ac_status); }; } &&
19653 { ac_try='test -s conftest.$ac_objext'
19654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19655 (eval $ac_try) 2>&5
19657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19658 (exit $ac_status); }; }; then
19659 eval "$as_ac_Header=yes"
19661 echo "$as_me: failed program was:" >&5
19662 sed 's/^/| /' conftest.$ac_ext >&5
19664 eval "$as_ac_Header=no"
19666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19670 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19671 cat >>confdefs.h <<_ACEOF
19672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19680 if test "$ac_cv_header_wchar_h" != "yes"; then
19681 echo "$as_me:$LINENO: checking for wcstr.h" >&5
19682 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6
19683 if test "${ac_cv_header_wcstr_h+set}" = set; then
19684 echo $ECHO_N "(cached) $ECHO_C" >&6
19686 cat >conftest.$ac_ext <<_ACEOF
19689 cat confdefs.h >>conftest.$ac_ext
19690 cat >>conftest.$ac_ext <<_ACEOF
19691 /* end confdefs.h. */
19692 $ac_includes_default
19696 rm -f conftest.$ac_objext
19697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19698 (eval $ac_compile) 2>conftest.er1
19700 grep -v '^ *+' conftest.er1 >conftest.err
19702 cat conftest.err >&5
19703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19704 (exit $ac_status); } &&
19705 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19707 (eval $ac_try) 2>&5
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19710 (exit $ac_status); }; } &&
19711 { ac_try='test -s conftest.$ac_objext'
19712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19713 (eval $ac_try) 2>&5
19715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19716 (exit $ac_status); }; }; then
19717 ac_cv_header_wcstr_h=yes
19719 echo "$as_me: failed program was:" >&5
19720 sed 's/^/| /' conftest.$ac_ext >&5
19722 ac_cv_header_wcstr_h=no
19724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19726 echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
19727 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6
19733 *-pc-os2_emx | *-pc-os2-emx )
19734 if test $ac_cv_header_langinfo_h = "yes" \
19735 -a \( "$wx_cv_gccversion" = "EMX2" \
19736 -o "$wx_cv_gccversion" = "EMX3" \
19737 -o "$wx_cv_gccversion" = "Innotek5" \); then
19738 LIBS="$LIBS -lintl"
19743 if test "$USE_UNIX" = 1 ; then
19744 echo "$as_me:$LINENO: checking for sys/select.h" >&5
19745 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6
19746 if test "${ac_cv_header_sys_select_h+set}" = set; then
19747 echo $ECHO_N "(cached) $ECHO_C" >&6
19749 cat >conftest.$ac_ext <<_ACEOF
19752 cat confdefs.h >>conftest.$ac_ext
19753 cat >>conftest.$ac_ext <<_ACEOF
19754 /* end confdefs.h. */
19755 $ac_includes_default
19757 #include <sys/select.h>
19759 rm -f conftest.$ac_objext
19760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19761 (eval $ac_compile) 2>conftest.er1
19763 grep -v '^ *+' conftest.er1 >conftest.err
19765 cat conftest.err >&5
19766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767 (exit $ac_status); } &&
19768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19770 (eval $ac_try) 2>&5
19772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19773 (exit $ac_status); }; } &&
19774 { ac_try='test -s conftest.$ac_objext'
19775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19776 (eval $ac_try) 2>&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); }; }; then
19780 ac_cv_header_sys_select_h=yes
19782 echo "$as_me: failed program was:" >&5
19783 sed 's/^/| /' conftest.$ac_ext >&5
19785 ac_cv_header_sys_select_h=no
19787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19789 echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
19790 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6
19796 for ac_header in sys/epoll.h
19798 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19800 echo "$as_me:$LINENO: checking for $ac_header" >&5
19801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19803 echo $ECHO_N "(cached) $ECHO_C" >&6
19805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19806 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19808 # Is the header compilable?
19809 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19810 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19811 cat >conftest.$ac_ext <<_ACEOF
19814 cat confdefs.h >>conftest.$ac_ext
19815 cat >>conftest.$ac_ext <<_ACEOF
19816 /* end confdefs.h. */
19817 $ac_includes_default
19818 #include <$ac_header>
19820 rm -f conftest.$ac_objext
19821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19822 (eval $ac_compile) 2>conftest.er1
19824 grep -v '^ *+' conftest.er1 >conftest.err
19826 cat conftest.err >&5
19827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19828 (exit $ac_status); } &&
19829 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19831 (eval $ac_try) 2>&5
19833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19834 (exit $ac_status); }; } &&
19835 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19841 ac_header_compiler=yes
19843 echo "$as_me: failed program was:" >&5
19844 sed 's/^/| /' conftest.$ac_ext >&5
19846 ac_header_compiler=no
19848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19849 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19850 echo "${ECHO_T}$ac_header_compiler" >&6
19852 # Is the header present?
19853 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19854 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19855 cat >conftest.$ac_ext <<_ACEOF
19858 cat confdefs.h >>conftest.$ac_ext
19859 cat >>conftest.$ac_ext <<_ACEOF
19860 /* end confdefs.h. */
19861 #include <$ac_header>
19863 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19864 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19866 grep -v '^ *+' conftest.er1 >conftest.err
19868 cat conftest.err >&5
19869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870 (exit $ac_status); } >/dev/null; then
19871 if test -s conftest.err; then
19872 ac_cpp_err=$ac_c_preproc_warn_flag
19873 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19880 if test -z "$ac_cpp_err"; then
19881 ac_header_preproc=yes
19883 echo "$as_me: failed program was:" >&5
19884 sed 's/^/| /' conftest.$ac_ext >&5
19886 ac_header_preproc=no
19888 rm -f conftest.err conftest.$ac_ext
19889 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19890 echo "${ECHO_T}$ac_header_preproc" >&6
19892 # So? What about this header?
19893 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19895 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19896 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19897 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19898 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19899 ac_header_preproc=yes
19902 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19903 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19904 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19905 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19906 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19907 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19908 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19909 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19910 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19911 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19912 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19913 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19916 ## ----------------------------------------- ##
19917 ## Report this to wx-dev@lists.wxwidgets.org ##
19918 ## ----------------------------------------- ##
19921 sed "s/^/$as_me: WARNING: /" >&2
19924 echo "$as_me:$LINENO: checking for $ac_header" >&5
19925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19927 echo $ECHO_N "(cached) $ECHO_C" >&6
19929 eval "$as_ac_Header=\$ac_header_preproc"
19931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19936 cat >>confdefs.h <<_ACEOF
19937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19946 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19947 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19948 if test "${ac_cv_c_const+set}" = set; then
19949 echo $ECHO_N "(cached) $ECHO_C" >&6
19951 cat >conftest.$ac_ext <<_ACEOF
19954 cat confdefs.h >>conftest.$ac_ext
19955 cat >>conftest.$ac_ext <<_ACEOF
19956 /* end confdefs.h. */
19961 /* FIXME: Include the comments suggested by Paul. */
19962 #ifndef __cplusplus
19963 /* Ultrix mips cc rejects this. */
19964 typedef int charset[2];
19966 /* SunOS 4.1.1 cc rejects this. */
19967 char const *const *ccp;
19969 /* NEC SVR4.0.2 mips cc rejects this. */
19970 struct point {int x, y;};
19971 static struct point const zero = {0,0};
19972 /* AIX XL C 1.02.0.0 rejects this.
19973 It does not let you subtract one const X* pointer from another in
19974 an arm of an if-expression whose if-part is not a constant
19976 const char *g = "string";
19977 ccp = &g + (g ? g-g : 0);
19978 /* HPUX 7.0 cc rejects these. */
19981 ccp = (char const *const *) p;
19982 { /* SCO 3.2v4 cc rejects this. */
19984 char const *s = 0 ? (char *) 0 : (char const *) 0;
19988 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19989 int x[] = {25, 17};
19990 const int *foo = &x[0];
19993 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19994 typedef const int *iptr;
19998 { /* AIX XL C 1.02.0.0 rejects this saying
19999 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20000 struct s { int j; const int *ap[3]; };
20001 struct s *b; b->j = 5;
20003 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20004 const int foo = 10;
20012 rm -f conftest.$ac_objext
20013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20014 (eval $ac_compile) 2>conftest.er1
20016 grep -v '^ *+' conftest.er1 >conftest.err
20018 cat conftest.err >&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); } &&
20021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20023 (eval $ac_try) 2>&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); }; } &&
20027 { ac_try='test -s conftest.$ac_objext'
20028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20029 (eval $ac_try) 2>&5
20031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20032 (exit $ac_status); }; }; then
20035 echo "$as_me: failed program was:" >&5
20036 sed 's/^/| /' conftest.$ac_ext >&5
20040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20042 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20043 echo "${ECHO_T}$ac_cv_c_const" >&6
20044 if test $ac_cv_c_const = no; then
20046 cat >>confdefs.h <<\_ACEOF
20052 echo "$as_me:$LINENO: checking for inline" >&5
20053 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20054 if test "${ac_cv_c_inline+set}" = set; then
20055 echo $ECHO_N "(cached) $ECHO_C" >&6
20058 for ac_kw in inline __inline__ __inline; do
20059 cat >conftest.$ac_ext <<_ACEOF
20062 cat confdefs.h >>conftest.$ac_ext
20063 cat >>conftest.$ac_ext <<_ACEOF
20064 /* end confdefs.h. */
20065 #ifndef __cplusplus
20067 static $ac_kw foo_t static_foo () {return 0; }
20068 $ac_kw foo_t foo () {return 0; }
20072 rm -f conftest.$ac_objext
20073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20074 (eval $ac_compile) 2>conftest.er1
20076 grep -v '^ *+' conftest.er1 >conftest.err
20078 cat conftest.err >&5
20079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20080 (exit $ac_status); } &&
20081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20083 (eval $ac_try) 2>&5
20085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20086 (exit $ac_status); }; } &&
20087 { ac_try='test -s conftest.$ac_objext'
20088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20089 (eval $ac_try) 2>&5
20091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20092 (exit $ac_status); }; }; then
20093 ac_cv_c_inline=$ac_kw; break
20095 echo "$as_me: failed program was:" >&5
20096 sed 's/^/| /' conftest.$ac_ext >&5
20099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20103 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20104 echo "${ECHO_T}$ac_cv_c_inline" >&6
20107 case $ac_cv_c_inline in
20110 case $ac_cv_c_inline in
20112 *) ac_val=$ac_cv_c_inline;;
20114 cat >>confdefs.h <<_ACEOF
20115 #ifndef __cplusplus
20116 #define inline $ac_val
20123 echo "$as_me:$LINENO: checking for short" >&5
20124 echo $ECHO_N "checking for short... $ECHO_C" >&6
20125 if test "${ac_cv_type_short+set}" = set; then
20126 echo $ECHO_N "(cached) $ECHO_C" >&6
20128 cat >conftest.$ac_ext <<_ACEOF
20131 cat confdefs.h >>conftest.$ac_ext
20132 cat >>conftest.$ac_ext <<_ACEOF
20133 /* end confdefs.h. */
20134 $ac_includes_default
20140 if (sizeof (short))
20146 rm -f conftest.$ac_objext
20147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20148 (eval $ac_compile) 2>conftest.er1
20150 grep -v '^ *+' conftest.er1 >conftest.err
20152 cat conftest.err >&5
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); } &&
20155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20157 (eval $ac_try) 2>&5
20159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160 (exit $ac_status); }; } &&
20161 { ac_try='test -s conftest.$ac_objext'
20162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20163 (eval $ac_try) 2>&5
20165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20166 (exit $ac_status); }; }; then
20167 ac_cv_type_short=yes
20169 echo "$as_me: failed program was:" >&5
20170 sed 's/^/| /' conftest.$ac_ext >&5
20172 ac_cv_type_short=no
20174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20176 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20177 echo "${ECHO_T}$ac_cv_type_short" >&6
20179 echo "$as_me:$LINENO: checking size of short" >&5
20180 echo $ECHO_N "checking size of short... $ECHO_C" >&6
20181 if test "${ac_cv_sizeof_short+set}" = set; then
20182 echo $ECHO_N "(cached) $ECHO_C" >&6
20184 if test "$ac_cv_type_short" = yes; then
20185 # The cast to unsigned long works around a bug in the HP C Compiler
20186 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20187 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20188 # This bug is HP SR number 8606223364.
20189 if test "$cross_compiling" = yes; then
20190 # Depending upon the size, compute the lo and hi bounds.
20191 cat >conftest.$ac_ext <<_ACEOF
20194 cat confdefs.h >>conftest.$ac_ext
20195 cat >>conftest.$ac_ext <<_ACEOF
20196 /* end confdefs.h. */
20197 $ac_includes_default
20201 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
20208 rm -f conftest.$ac_objext
20209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20210 (eval $ac_compile) 2>conftest.er1
20212 grep -v '^ *+' conftest.er1 >conftest.err
20214 cat conftest.err >&5
20215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20216 (exit $ac_status); } &&
20217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20219 (eval $ac_try) 2>&5
20221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20222 (exit $ac_status); }; } &&
20223 { ac_try='test -s conftest.$ac_objext'
20224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20225 (eval $ac_try) 2>&5
20227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228 (exit $ac_status); }; }; then
20231 cat >conftest.$ac_ext <<_ACEOF
20234 cat confdefs.h >>conftest.$ac_ext
20235 cat >>conftest.$ac_ext <<_ACEOF
20236 /* end confdefs.h. */
20237 $ac_includes_default
20241 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
20248 rm -f conftest.$ac_objext
20249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20250 (eval $ac_compile) 2>conftest.er1
20252 grep -v '^ *+' conftest.er1 >conftest.err
20254 cat conftest.err >&5
20255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20256 (exit $ac_status); } &&
20257 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20259 (eval $ac_try) 2>&5
20261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262 (exit $ac_status); }; } &&
20263 { ac_try='test -s conftest.$ac_objext'
20264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20265 (eval $ac_try) 2>&5
20267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20268 (exit $ac_status); }; }; then
20269 ac_hi=$ac_mid; break
20271 echo "$as_me: failed program was:" >&5
20272 sed 's/^/| /' conftest.$ac_ext >&5
20274 ac_lo=`expr $ac_mid + 1`
20275 if test $ac_lo -le $ac_mid; then
20279 ac_mid=`expr 2 '*' $ac_mid + 1`
20281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20284 echo "$as_me: failed program was:" >&5
20285 sed 's/^/| /' conftest.$ac_ext >&5
20287 cat >conftest.$ac_ext <<_ACEOF
20290 cat confdefs.h >>conftest.$ac_ext
20291 cat >>conftest.$ac_ext <<_ACEOF
20292 /* end confdefs.h. */
20293 $ac_includes_default
20297 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
20304 rm -f conftest.$ac_objext
20305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20306 (eval $ac_compile) 2>conftest.er1
20308 grep -v '^ *+' conftest.er1 >conftest.err
20310 cat conftest.err >&5
20311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); } &&
20313 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20315 (eval $ac_try) 2>&5
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); }; } &&
20319 { ac_try='test -s conftest.$ac_objext'
20320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20321 (eval $ac_try) 2>&5
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); }; }; then
20327 cat >conftest.$ac_ext <<_ACEOF
20330 cat confdefs.h >>conftest.$ac_ext
20331 cat >>conftest.$ac_ext <<_ACEOF
20332 /* end confdefs.h. */
20333 $ac_includes_default
20337 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
20344 rm -f conftest.$ac_objext
20345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20346 (eval $ac_compile) 2>conftest.er1
20348 grep -v '^ *+' conftest.er1 >conftest.err
20350 cat conftest.err >&5
20351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20352 (exit $ac_status); } &&
20353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20355 (eval $ac_try) 2>&5
20357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20358 (exit $ac_status); }; } &&
20359 { ac_try='test -s conftest.$ac_objext'
20360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20361 (eval $ac_try) 2>&5
20363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364 (exit $ac_status); }; }; then
20365 ac_lo=$ac_mid; break
20367 echo "$as_me: failed program was:" >&5
20368 sed 's/^/| /' conftest.$ac_ext >&5
20370 ac_hi=`expr '(' $ac_mid ')' - 1`
20371 if test $ac_mid -le $ac_hi; then
20375 ac_mid=`expr 2 '*' $ac_mid`
20377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20380 echo "$as_me: failed program was:" >&5
20381 sed 's/^/| /' conftest.$ac_ext >&5
20385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20388 # Binary search between lo and hi bounds.
20389 while test "x$ac_lo" != "x$ac_hi"; do
20390 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20391 cat >conftest.$ac_ext <<_ACEOF
20394 cat confdefs.h >>conftest.$ac_ext
20395 cat >>conftest.$ac_ext <<_ACEOF
20396 /* end confdefs.h. */
20397 $ac_includes_default
20401 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
20408 rm -f conftest.$ac_objext
20409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20410 (eval $ac_compile) 2>conftest.er1
20412 grep -v '^ *+' conftest.er1 >conftest.err
20414 cat conftest.err >&5
20415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20416 (exit $ac_status); } &&
20417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20419 (eval $ac_try) 2>&5
20421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20422 (exit $ac_status); }; } &&
20423 { ac_try='test -s conftest.$ac_objext'
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
20431 echo "$as_me: failed program was:" >&5
20432 sed 's/^/| /' conftest.$ac_ext >&5
20434 ac_lo=`expr '(' $ac_mid ')' + 1`
20436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20439 ?*) ac_cv_sizeof_short=$ac_lo;;
20440 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
20441 See \`config.log' for more details." >&5
20442 echo "$as_me: error: cannot compute sizeof (short), 77
20443 See \`config.log' for more details." >&2;}
20444 { (exit 1); exit 1; }; } ;;
20447 if test "$cross_compiling" = yes; then
20448 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20449 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20450 { (exit 1); exit 1; }; }
20452 cat >conftest.$ac_ext <<_ACEOF
20455 cat confdefs.h >>conftest.$ac_ext
20456 cat >>conftest.$ac_ext <<_ACEOF
20457 /* end confdefs.h. */
20458 $ac_includes_default
20459 long longval () { return (long) (sizeof (short)); }
20460 unsigned long ulongval () { return (long) (sizeof (short)); }
20462 #include <stdlib.h>
20467 FILE *f = fopen ("conftest.val", "w");
20470 if (((long) (sizeof (short))) < 0)
20472 long i = longval ();
20473 if (i != ((long) (sizeof (short))))
20475 fprintf (f, "%ld\n", i);
20479 unsigned long i = ulongval ();
20480 if (i != ((long) (sizeof (short))))
20482 fprintf (f, "%lu\n", i);
20484 exit (ferror (f) || fclose (f) != 0);
20490 rm -f conftest$ac_exeext
20491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20492 (eval $ac_link) 2>&5
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20497 (eval $ac_try) 2>&5
20499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20500 (exit $ac_status); }; }; then
20501 ac_cv_sizeof_short=`cat conftest.val`
20503 echo "$as_me: program exited with status $ac_status" >&5
20504 echo "$as_me: failed program was:" >&5
20505 sed 's/^/| /' conftest.$ac_ext >&5
20507 ( exit $ac_status )
20508 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
20509 See \`config.log' for more details." >&5
20510 echo "$as_me: error: cannot compute sizeof (short), 77
20511 See \`config.log' for more details." >&2;}
20512 { (exit 1); exit 1; }; }
20514 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20519 ac_cv_sizeof_short=0
20522 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20523 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
20524 cat >>confdefs.h <<_ACEOF
20525 #define SIZEOF_SHORT $ac_cv_sizeof_short
20529 echo "$as_me:$LINENO: checking for void *" >&5
20530 echo $ECHO_N "checking for void *... $ECHO_C" >&6
20531 if test "${ac_cv_type_void_p+set}" = set; then
20532 echo $ECHO_N "(cached) $ECHO_C" >&6
20534 cat >conftest.$ac_ext <<_ACEOF
20537 cat confdefs.h >>conftest.$ac_ext
20538 cat >>conftest.$ac_ext <<_ACEOF
20539 /* end confdefs.h. */
20540 $ac_includes_default
20546 if (sizeof (void *))
20552 rm -f conftest.$ac_objext
20553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20554 (eval $ac_compile) 2>conftest.er1
20556 grep -v '^ *+' conftest.er1 >conftest.err
20558 cat conftest.err >&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); } &&
20561 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20563 (eval $ac_try) 2>&5
20565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566 (exit $ac_status); }; } &&
20567 { ac_try='test -s conftest.$ac_objext'
20568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20569 (eval $ac_try) 2>&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); }; }; then
20573 ac_cv_type_void_p=yes
20575 echo "$as_me: failed program was:" >&5
20576 sed 's/^/| /' conftest.$ac_ext >&5
20578 ac_cv_type_void_p=no
20580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20582 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20583 echo "${ECHO_T}$ac_cv_type_void_p" >&6
20585 echo "$as_me:$LINENO: checking size of void *" >&5
20586 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
20587 if test "${ac_cv_sizeof_void_p+set}" = set; then
20588 echo $ECHO_N "(cached) $ECHO_C" >&6
20590 if test "$ac_cv_type_void_p" = yes; then
20591 # The cast to unsigned long works around a bug in the HP C Compiler
20592 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20593 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20594 # This bug is HP SR number 8606223364.
20595 if test "$cross_compiling" = yes; then
20596 # Depending upon the size, compute the lo and hi bounds.
20597 cat >conftest.$ac_ext <<_ACEOF
20600 cat confdefs.h >>conftest.$ac_ext
20601 cat >>conftest.$ac_ext <<_ACEOF
20602 /* end confdefs.h. */
20603 $ac_includes_default
20607 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
20614 rm -f conftest.$ac_objext
20615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20616 (eval $ac_compile) 2>conftest.er1
20618 grep -v '^ *+' conftest.er1 >conftest.err
20620 cat conftest.err >&5
20621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20622 (exit $ac_status); } &&
20623 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20625 (eval $ac_try) 2>&5
20627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20628 (exit $ac_status); }; } &&
20629 { ac_try='test -s conftest.$ac_objext'
20630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20631 (eval $ac_try) 2>&5
20633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634 (exit $ac_status); }; }; then
20637 cat >conftest.$ac_ext <<_ACEOF
20640 cat confdefs.h >>conftest.$ac_ext
20641 cat >>conftest.$ac_ext <<_ACEOF
20642 /* end confdefs.h. */
20643 $ac_includes_default
20647 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
20654 rm -f conftest.$ac_objext
20655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20656 (eval $ac_compile) 2>conftest.er1
20658 grep -v '^ *+' conftest.er1 >conftest.err
20660 cat conftest.err >&5
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); } &&
20663 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20665 (eval $ac_try) 2>&5
20667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668 (exit $ac_status); }; } &&
20669 { ac_try='test -s conftest.$ac_objext'
20670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20671 (eval $ac_try) 2>&5
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); }; }; then
20675 ac_hi=$ac_mid; break
20677 echo "$as_me: failed program was:" >&5
20678 sed 's/^/| /' conftest.$ac_ext >&5
20680 ac_lo=`expr $ac_mid + 1`
20681 if test $ac_lo -le $ac_mid; then
20685 ac_mid=`expr 2 '*' $ac_mid + 1`
20687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20690 echo "$as_me: failed program was:" >&5
20691 sed 's/^/| /' conftest.$ac_ext >&5
20693 cat >conftest.$ac_ext <<_ACEOF
20696 cat confdefs.h >>conftest.$ac_ext
20697 cat >>conftest.$ac_ext <<_ACEOF
20698 /* end confdefs.h. */
20699 $ac_includes_default
20703 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
20710 rm -f conftest.$ac_objext
20711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20712 (eval $ac_compile) 2>conftest.er1
20714 grep -v '^ *+' conftest.er1 >conftest.err
20716 cat conftest.err >&5
20717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20718 (exit $ac_status); } &&
20719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20721 (eval $ac_try) 2>&5
20723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20724 (exit $ac_status); }; } &&
20725 { ac_try='test -s conftest.$ac_objext'
20726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20727 (eval $ac_try) 2>&5
20729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20730 (exit $ac_status); }; }; then
20733 cat >conftest.$ac_ext <<_ACEOF
20736 cat confdefs.h >>conftest.$ac_ext
20737 cat >>conftest.$ac_ext <<_ACEOF
20738 /* end confdefs.h. */
20739 $ac_includes_default
20743 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
20750 rm -f conftest.$ac_objext
20751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20752 (eval $ac_compile) 2>conftest.er1
20754 grep -v '^ *+' conftest.er1 >conftest.err
20756 cat conftest.err >&5
20757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20758 (exit $ac_status); } &&
20759 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20761 (eval $ac_try) 2>&5
20763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20764 (exit $ac_status); }; } &&
20765 { ac_try='test -s conftest.$ac_objext'
20766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20767 (eval $ac_try) 2>&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); }; }; then
20771 ac_lo=$ac_mid; break
20773 echo "$as_me: failed program was:" >&5
20774 sed 's/^/| /' conftest.$ac_ext >&5
20776 ac_hi=`expr '(' $ac_mid ')' - 1`
20777 if test $ac_mid -le $ac_hi; then
20781 ac_mid=`expr 2 '*' $ac_mid`
20783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20786 echo "$as_me: failed program was:" >&5
20787 sed 's/^/| /' conftest.$ac_ext >&5
20791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20794 # Binary search between lo and hi bounds.
20795 while test "x$ac_lo" != "x$ac_hi"; do
20796 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20797 cat >conftest.$ac_ext <<_ACEOF
20800 cat confdefs.h >>conftest.$ac_ext
20801 cat >>conftest.$ac_ext <<_ACEOF
20802 /* end confdefs.h. */
20803 $ac_includes_default
20807 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
20814 rm -f conftest.$ac_objext
20815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20816 (eval $ac_compile) 2>conftest.er1
20818 grep -v '^ *+' conftest.er1 >conftest.err
20820 cat conftest.err >&5
20821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822 (exit $ac_status); } &&
20823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20825 (eval $ac_try) 2>&5
20827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828 (exit $ac_status); }; } &&
20829 { ac_try='test -s conftest.$ac_objext'
20830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20831 (eval $ac_try) 2>&5
20833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834 (exit $ac_status); }; }; then
20837 echo "$as_me: failed program was:" >&5
20838 sed 's/^/| /' conftest.$ac_ext >&5
20840 ac_lo=`expr '(' $ac_mid ')' + 1`
20842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20845 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20846 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
20847 See \`config.log' for more details." >&5
20848 echo "$as_me: error: cannot compute sizeof (void *), 77
20849 See \`config.log' for more details." >&2;}
20850 { (exit 1); exit 1; }; } ;;
20853 if test "$cross_compiling" = yes; then
20854 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20855 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20856 { (exit 1); exit 1; }; }
20858 cat >conftest.$ac_ext <<_ACEOF
20861 cat confdefs.h >>conftest.$ac_ext
20862 cat >>conftest.$ac_ext <<_ACEOF
20863 /* end confdefs.h. */
20864 $ac_includes_default
20865 long longval () { return (long) (sizeof (void *)); }
20866 unsigned long ulongval () { return (long) (sizeof (void *)); }
20868 #include <stdlib.h>
20873 FILE *f = fopen ("conftest.val", "w");
20876 if (((long) (sizeof (void *))) < 0)
20878 long i = longval ();
20879 if (i != ((long) (sizeof (void *))))
20881 fprintf (f, "%ld\n", i);
20885 unsigned long i = ulongval ();
20886 if (i != ((long) (sizeof (void *))))
20888 fprintf (f, "%lu\n", i);
20890 exit (ferror (f) || fclose (f) != 0);
20896 rm -f conftest$ac_exeext
20897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20898 (eval $ac_link) 2>&5
20900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20901 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20903 (eval $ac_try) 2>&5
20905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20906 (exit $ac_status); }; }; then
20907 ac_cv_sizeof_void_p=`cat conftest.val`
20909 echo "$as_me: program exited with status $ac_status" >&5
20910 echo "$as_me: failed program was:" >&5
20911 sed 's/^/| /' conftest.$ac_ext >&5
20913 ( exit $ac_status )
20914 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
20915 See \`config.log' for more details." >&5
20916 echo "$as_me: error: cannot compute sizeof (void *), 77
20917 See \`config.log' for more details." >&2;}
20918 { (exit 1); exit 1; }; }
20920 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20925 ac_cv_sizeof_void_p=0
20928 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20929 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
20930 cat >>confdefs.h <<_ACEOF
20931 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20935 echo "$as_me:$LINENO: checking for int" >&5
20936 echo $ECHO_N "checking for int... $ECHO_C" >&6
20937 if test "${ac_cv_type_int+set}" = set; then
20938 echo $ECHO_N "(cached) $ECHO_C" >&6
20940 cat >conftest.$ac_ext <<_ACEOF
20943 cat confdefs.h >>conftest.$ac_ext
20944 cat >>conftest.$ac_ext <<_ACEOF
20945 /* end confdefs.h. */
20946 $ac_includes_default
20958 rm -f conftest.$ac_objext
20959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20960 (eval $ac_compile) 2>conftest.er1
20962 grep -v '^ *+' conftest.er1 >conftest.err
20964 cat conftest.err >&5
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); } &&
20967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20969 (eval $ac_try) 2>&5
20971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972 (exit $ac_status); }; } &&
20973 { ac_try='test -s conftest.$ac_objext'
20974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20975 (eval $ac_try) 2>&5
20977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); }; }; then
20981 echo "$as_me: failed program was:" >&5
20982 sed 's/^/| /' conftest.$ac_ext >&5
20986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20988 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20989 echo "${ECHO_T}$ac_cv_type_int" >&6
20991 echo "$as_me:$LINENO: checking size of int" >&5
20992 echo $ECHO_N "checking size of int... $ECHO_C" >&6
20993 if test "${ac_cv_sizeof_int+set}" = set; then
20994 echo $ECHO_N "(cached) $ECHO_C" >&6
20996 if test "$ac_cv_type_int" = yes; then
20997 # The cast to unsigned long works around a bug in the HP C Compiler
20998 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20999 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21000 # This bug is HP SR number 8606223364.
21001 if test "$cross_compiling" = yes; then
21002 # Depending upon the size, compute the lo and hi bounds.
21003 cat >conftest.$ac_ext <<_ACEOF
21006 cat confdefs.h >>conftest.$ac_ext
21007 cat >>conftest.$ac_ext <<_ACEOF
21008 /* end confdefs.h. */
21009 $ac_includes_default
21013 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
21020 rm -f conftest.$ac_objext
21021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21022 (eval $ac_compile) 2>conftest.er1
21024 grep -v '^ *+' conftest.er1 >conftest.err
21026 cat conftest.err >&5
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); } &&
21029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21031 (eval $ac_try) 2>&5
21033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21034 (exit $ac_status); }; } &&
21035 { ac_try='test -s conftest.$ac_objext'
21036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21037 (eval $ac_try) 2>&5
21039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21040 (exit $ac_status); }; }; then
21043 cat >conftest.$ac_ext <<_ACEOF
21046 cat confdefs.h >>conftest.$ac_ext
21047 cat >>conftest.$ac_ext <<_ACEOF
21048 /* end confdefs.h. */
21049 $ac_includes_default
21053 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
21060 rm -f conftest.$ac_objext
21061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21062 (eval $ac_compile) 2>conftest.er1
21064 grep -v '^ *+' conftest.er1 >conftest.err
21066 cat conftest.err >&5
21067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21068 (exit $ac_status); } &&
21069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21071 (eval $ac_try) 2>&5
21073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21074 (exit $ac_status); }; } &&
21075 { ac_try='test -s conftest.$ac_objext'
21076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21077 (eval $ac_try) 2>&5
21079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21080 (exit $ac_status); }; }; then
21081 ac_hi=$ac_mid; break
21083 echo "$as_me: failed program was:" >&5
21084 sed 's/^/| /' conftest.$ac_ext >&5
21086 ac_lo=`expr $ac_mid + 1`
21087 if test $ac_lo -le $ac_mid; then
21091 ac_mid=`expr 2 '*' $ac_mid + 1`
21093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21096 echo "$as_me: failed program was:" >&5
21097 sed 's/^/| /' conftest.$ac_ext >&5
21099 cat >conftest.$ac_ext <<_ACEOF
21102 cat confdefs.h >>conftest.$ac_ext
21103 cat >>conftest.$ac_ext <<_ACEOF
21104 /* end confdefs.h. */
21105 $ac_includes_default
21109 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
21116 rm -f conftest.$ac_objext
21117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21118 (eval $ac_compile) 2>conftest.er1
21120 grep -v '^ *+' conftest.er1 >conftest.err
21122 cat conftest.err >&5
21123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21124 (exit $ac_status); } &&
21125 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21127 (eval $ac_try) 2>&5
21129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21130 (exit $ac_status); }; } &&
21131 { ac_try='test -s conftest.$ac_objext'
21132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21133 (eval $ac_try) 2>&5
21135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21136 (exit $ac_status); }; }; then
21139 cat >conftest.$ac_ext <<_ACEOF
21142 cat confdefs.h >>conftest.$ac_ext
21143 cat >>conftest.$ac_ext <<_ACEOF
21144 /* end confdefs.h. */
21145 $ac_includes_default
21149 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
21156 rm -f conftest.$ac_objext
21157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21158 (eval $ac_compile) 2>conftest.er1
21160 grep -v '^ *+' conftest.er1 >conftest.err
21162 cat conftest.err >&5
21163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21164 (exit $ac_status); } &&
21165 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21167 (eval $ac_try) 2>&5
21169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21170 (exit $ac_status); }; } &&
21171 { ac_try='test -s conftest.$ac_objext'
21172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21173 (eval $ac_try) 2>&5
21175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21176 (exit $ac_status); }; }; then
21177 ac_lo=$ac_mid; break
21179 echo "$as_me: failed program was:" >&5
21180 sed 's/^/| /' conftest.$ac_ext >&5
21182 ac_hi=`expr '(' $ac_mid ')' - 1`
21183 if test $ac_mid -le $ac_hi; then
21187 ac_mid=`expr 2 '*' $ac_mid`
21189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21192 echo "$as_me: failed program was:" >&5
21193 sed 's/^/| /' conftest.$ac_ext >&5
21197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21200 # Binary search between lo and hi bounds.
21201 while test "x$ac_lo" != "x$ac_hi"; do
21202 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21203 cat >conftest.$ac_ext <<_ACEOF
21206 cat confdefs.h >>conftest.$ac_ext
21207 cat >>conftest.$ac_ext <<_ACEOF
21208 /* end confdefs.h. */
21209 $ac_includes_default
21213 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
21220 rm -f conftest.$ac_objext
21221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21222 (eval $ac_compile) 2>conftest.er1
21224 grep -v '^ *+' conftest.er1 >conftest.err
21226 cat conftest.err >&5
21227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228 (exit $ac_status); } &&
21229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21231 (eval $ac_try) 2>&5
21233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21234 (exit $ac_status); }; } &&
21235 { ac_try='test -s conftest.$ac_objext'
21236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21237 (eval $ac_try) 2>&5
21239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21240 (exit $ac_status); }; }; then
21243 echo "$as_me: failed program was:" >&5
21244 sed 's/^/| /' conftest.$ac_ext >&5
21246 ac_lo=`expr '(' $ac_mid ')' + 1`
21248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21251 ?*) ac_cv_sizeof_int=$ac_lo;;
21252 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
21253 See \`config.log' for more details." >&5
21254 echo "$as_me: error: cannot compute sizeof (int), 77
21255 See \`config.log' for more details." >&2;}
21256 { (exit 1); exit 1; }; } ;;
21259 if test "$cross_compiling" = yes; then
21260 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21261 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21262 { (exit 1); exit 1; }; }
21264 cat >conftest.$ac_ext <<_ACEOF
21267 cat confdefs.h >>conftest.$ac_ext
21268 cat >>conftest.$ac_ext <<_ACEOF
21269 /* end confdefs.h. */
21270 $ac_includes_default
21271 long longval () { return (long) (sizeof (int)); }
21272 unsigned long ulongval () { return (long) (sizeof (int)); }
21274 #include <stdlib.h>
21279 FILE *f = fopen ("conftest.val", "w");
21282 if (((long) (sizeof (int))) < 0)
21284 long i = longval ();
21285 if (i != ((long) (sizeof (int))))
21287 fprintf (f, "%ld\n", i);
21291 unsigned long i = ulongval ();
21292 if (i != ((long) (sizeof (int))))
21294 fprintf (f, "%lu\n", i);
21296 exit (ferror (f) || fclose (f) != 0);
21302 rm -f conftest$ac_exeext
21303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21304 (eval $ac_link) 2>&5
21306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21307 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21309 (eval $ac_try) 2>&5
21311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312 (exit $ac_status); }; }; then
21313 ac_cv_sizeof_int=`cat conftest.val`
21315 echo "$as_me: program exited with status $ac_status" >&5
21316 echo "$as_me: failed program was:" >&5
21317 sed 's/^/| /' conftest.$ac_ext >&5
21319 ( exit $ac_status )
21320 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
21321 See \`config.log' for more details." >&5
21322 echo "$as_me: error: cannot compute sizeof (int), 77
21323 See \`config.log' for more details." >&2;}
21324 { (exit 1); exit 1; }; }
21326 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21334 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21335 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
21336 cat >>confdefs.h <<_ACEOF
21337 #define SIZEOF_INT $ac_cv_sizeof_int
21341 echo "$as_me:$LINENO: checking for long" >&5
21342 echo $ECHO_N "checking for long... $ECHO_C" >&6
21343 if test "${ac_cv_type_long+set}" = set; then
21344 echo $ECHO_N "(cached) $ECHO_C" >&6
21346 cat >conftest.$ac_ext <<_ACEOF
21349 cat confdefs.h >>conftest.$ac_ext
21350 cat >>conftest.$ac_ext <<_ACEOF
21351 /* end confdefs.h. */
21352 $ac_includes_default
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_c_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
21385 ac_cv_type_long=yes
21387 echo "$as_me: failed program was:" >&5
21388 sed 's/^/| /' conftest.$ac_ext >&5
21392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21394 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21395 echo "${ECHO_T}$ac_cv_type_long" >&6
21397 echo "$as_me:$LINENO: checking size of long" >&5
21398 echo $ECHO_N "checking size of long... $ECHO_C" >&6
21399 if test "${ac_cv_sizeof_long+set}" = set; then
21400 echo $ECHO_N "(cached) $ECHO_C" >&6
21402 if test "$ac_cv_type_long" = yes; then
21403 # The cast to unsigned long works around a bug in the HP C Compiler
21404 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21405 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21406 # This bug is HP SR number 8606223364.
21407 if test "$cross_compiling" = yes; then
21408 # Depending upon the size, compute the lo and hi bounds.
21409 cat >conftest.$ac_ext <<_ACEOF
21412 cat confdefs.h >>conftest.$ac_ext
21413 cat >>conftest.$ac_ext <<_ACEOF
21414 /* end confdefs.h. */
21415 $ac_includes_default
21419 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
21426 rm -f conftest.$ac_objext
21427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21428 (eval $ac_compile) 2>conftest.er1
21430 grep -v '^ *+' conftest.er1 >conftest.err
21432 cat conftest.err >&5
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); } &&
21435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21437 (eval $ac_try) 2>&5
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); }; } &&
21441 { ac_try='test -s conftest.$ac_objext'
21442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21443 (eval $ac_try) 2>&5
21445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446 (exit $ac_status); }; }; then
21449 cat >conftest.$ac_ext <<_ACEOF
21452 cat confdefs.h >>conftest.$ac_ext
21453 cat >>conftest.$ac_ext <<_ACEOF
21454 /* end confdefs.h. */
21455 $ac_includes_default
21459 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
21466 rm -f conftest.$ac_objext
21467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21468 (eval $ac_compile) 2>conftest.er1
21470 grep -v '^ *+' conftest.er1 >conftest.err
21472 cat conftest.err >&5
21473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21474 (exit $ac_status); } &&
21475 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
21481 { ac_try='test -s conftest.$ac_objext'
21482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21483 (eval $ac_try) 2>&5
21485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21486 (exit $ac_status); }; }; then
21487 ac_hi=$ac_mid; break
21489 echo "$as_me: failed program was:" >&5
21490 sed 's/^/| /' conftest.$ac_ext >&5
21492 ac_lo=`expr $ac_mid + 1`
21493 if test $ac_lo -le $ac_mid; then
21497 ac_mid=`expr 2 '*' $ac_mid + 1`
21499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21502 echo "$as_me: failed program was:" >&5
21503 sed 's/^/| /' conftest.$ac_ext >&5
21505 cat >conftest.$ac_ext <<_ACEOF
21508 cat confdefs.h >>conftest.$ac_ext
21509 cat >>conftest.$ac_ext <<_ACEOF
21510 /* end confdefs.h. */
21511 $ac_includes_default
21515 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
21522 rm -f conftest.$ac_objext
21523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21524 (eval $ac_compile) 2>conftest.er1
21526 grep -v '^ *+' conftest.er1 >conftest.err
21528 cat conftest.err >&5
21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530 (exit $ac_status); } &&
21531 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21533 (eval $ac_try) 2>&5
21535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21536 (exit $ac_status); }; } &&
21537 { ac_try='test -s conftest.$ac_objext'
21538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21539 (eval $ac_try) 2>&5
21541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21542 (exit $ac_status); }; }; then
21545 cat >conftest.$ac_ext <<_ACEOF
21548 cat confdefs.h >>conftest.$ac_ext
21549 cat >>conftest.$ac_ext <<_ACEOF
21550 /* end confdefs.h. */
21551 $ac_includes_default
21555 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
21562 rm -f conftest.$ac_objext
21563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21564 (eval $ac_compile) 2>conftest.er1
21566 grep -v '^ *+' conftest.er1 >conftest.err
21568 cat conftest.err >&5
21569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21570 (exit $ac_status); } &&
21571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21573 (eval $ac_try) 2>&5
21575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21576 (exit $ac_status); }; } &&
21577 { ac_try='test -s conftest.$ac_objext'
21578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21579 (eval $ac_try) 2>&5
21581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21582 (exit $ac_status); }; }; then
21583 ac_lo=$ac_mid; break
21585 echo "$as_me: failed program was:" >&5
21586 sed 's/^/| /' conftest.$ac_ext >&5
21588 ac_hi=`expr '(' $ac_mid ')' - 1`
21589 if test $ac_mid -le $ac_hi; then
21593 ac_mid=`expr 2 '*' $ac_mid`
21595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21598 echo "$as_me: failed program was:" >&5
21599 sed 's/^/| /' conftest.$ac_ext >&5
21603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21606 # Binary search between lo and hi bounds.
21607 while test "x$ac_lo" != "x$ac_hi"; do
21608 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21609 cat >conftest.$ac_ext <<_ACEOF
21612 cat confdefs.h >>conftest.$ac_ext
21613 cat >>conftest.$ac_ext <<_ACEOF
21614 /* end confdefs.h. */
21615 $ac_includes_default
21619 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
21626 rm -f conftest.$ac_objext
21627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21628 (eval $ac_compile) 2>conftest.er1
21630 grep -v '^ *+' conftest.er1 >conftest.err
21632 cat conftest.err >&5
21633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634 (exit $ac_status); } &&
21635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21637 (eval $ac_try) 2>&5
21639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21640 (exit $ac_status); }; } &&
21641 { ac_try='test -s conftest.$ac_objext'
21642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21643 (eval $ac_try) 2>&5
21645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21646 (exit $ac_status); }; }; then
21649 echo "$as_me: failed program was:" >&5
21650 sed 's/^/| /' conftest.$ac_ext >&5
21652 ac_lo=`expr '(' $ac_mid ')' + 1`
21654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21657 ?*) ac_cv_sizeof_long=$ac_lo;;
21658 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
21659 See \`config.log' for more details." >&5
21660 echo "$as_me: error: cannot compute sizeof (long), 77
21661 See \`config.log' for more details." >&2;}
21662 { (exit 1); exit 1; }; } ;;
21665 if test "$cross_compiling" = yes; then
21666 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21667 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21668 { (exit 1); exit 1; }; }
21670 cat >conftest.$ac_ext <<_ACEOF
21673 cat confdefs.h >>conftest.$ac_ext
21674 cat >>conftest.$ac_ext <<_ACEOF
21675 /* end confdefs.h. */
21676 $ac_includes_default
21677 long longval () { return (long) (sizeof (long)); }
21678 unsigned long ulongval () { return (long) (sizeof (long)); }
21680 #include <stdlib.h>
21685 FILE *f = fopen ("conftest.val", "w");
21688 if (((long) (sizeof (long))) < 0)
21690 long i = longval ();
21691 if (i != ((long) (sizeof (long))))
21693 fprintf (f, "%ld\n", i);
21697 unsigned long i = ulongval ();
21698 if (i != ((long) (sizeof (long))))
21700 fprintf (f, "%lu\n", i);
21702 exit (ferror (f) || fclose (f) != 0);
21708 rm -f conftest$ac_exeext
21709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21710 (eval $ac_link) 2>&5
21712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21713 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21715 (eval $ac_try) 2>&5
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); }; }; then
21719 ac_cv_sizeof_long=`cat conftest.val`
21721 echo "$as_me: program exited with status $ac_status" >&5
21722 echo "$as_me: failed program was:" >&5
21723 sed 's/^/| /' conftest.$ac_ext >&5
21725 ( exit $ac_status )
21726 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
21727 See \`config.log' for more details." >&5
21728 echo "$as_me: error: cannot compute sizeof (long), 77
21729 See \`config.log' for more details." >&2;}
21730 { (exit 1); exit 1; }; }
21732 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21737 ac_cv_sizeof_long=0
21740 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21741 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
21742 cat >>confdefs.h <<_ACEOF
21743 #define SIZEOF_LONG $ac_cv_sizeof_long
21747 echo "$as_me:$LINENO: checking for size_t" >&5
21748 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
21749 if test "${ac_cv_type_size_t+set}" = set; then
21750 echo $ECHO_N "(cached) $ECHO_C" >&6
21752 cat >conftest.$ac_ext <<_ACEOF
21755 cat confdefs.h >>conftest.$ac_ext
21756 cat >>conftest.$ac_ext <<_ACEOF
21757 /* end confdefs.h. */
21758 $ac_includes_default
21764 if (sizeof (size_t))
21770 rm -f conftest.$ac_objext
21771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21772 (eval $ac_compile) 2>conftest.er1
21774 grep -v '^ *+' conftest.er1 >conftest.err
21776 cat conftest.err >&5
21777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21778 (exit $ac_status); } &&
21779 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21781 (eval $ac_try) 2>&5
21783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21784 (exit $ac_status); }; } &&
21785 { ac_try='test -s conftest.$ac_objext'
21786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21787 (eval $ac_try) 2>&5
21789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21790 (exit $ac_status); }; }; then
21791 ac_cv_type_size_t=yes
21793 echo "$as_me: failed program was:" >&5
21794 sed 's/^/| /' conftest.$ac_ext >&5
21796 ac_cv_type_size_t=no
21798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21800 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21801 echo "${ECHO_T}$ac_cv_type_size_t" >&6
21803 echo "$as_me:$LINENO: checking size of size_t" >&5
21804 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
21805 if test "${ac_cv_sizeof_size_t+set}" = set; then
21806 echo $ECHO_N "(cached) $ECHO_C" >&6
21808 if test "$ac_cv_type_size_t" = yes; then
21809 # The cast to unsigned long works around a bug in the HP C Compiler
21810 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21811 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21812 # This bug is HP SR number 8606223364.
21813 if test "$cross_compiling" = yes; then
21814 # Depending upon the size, compute the lo and hi bounds.
21815 cat >conftest.$ac_ext <<_ACEOF
21818 cat confdefs.h >>conftest.$ac_ext
21819 cat >>conftest.$ac_ext <<_ACEOF
21820 /* end confdefs.h. */
21821 $ac_includes_default
21825 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
21832 rm -f conftest.$ac_objext
21833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21834 (eval $ac_compile) 2>conftest.er1
21836 grep -v '^ *+' conftest.er1 >conftest.err
21838 cat conftest.err >&5
21839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21840 (exit $ac_status); } &&
21841 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21843 (eval $ac_try) 2>&5
21845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846 (exit $ac_status); }; } &&
21847 { ac_try='test -s conftest.$ac_objext'
21848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21849 (eval $ac_try) 2>&5
21851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852 (exit $ac_status); }; }; then
21855 cat >conftest.$ac_ext <<_ACEOF
21858 cat confdefs.h >>conftest.$ac_ext
21859 cat >>conftest.$ac_ext <<_ACEOF
21860 /* end confdefs.h. */
21861 $ac_includes_default
21865 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
21872 rm -f conftest.$ac_objext
21873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21874 (eval $ac_compile) 2>conftest.er1
21876 grep -v '^ *+' conftest.er1 >conftest.err
21878 cat conftest.err >&5
21879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21880 (exit $ac_status); } &&
21881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21883 (eval $ac_try) 2>&5
21885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21886 (exit $ac_status); }; } &&
21887 { ac_try='test -s conftest.$ac_objext'
21888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21889 (eval $ac_try) 2>&5
21891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21892 (exit $ac_status); }; }; then
21893 ac_hi=$ac_mid; break
21895 echo "$as_me: failed program was:" >&5
21896 sed 's/^/| /' conftest.$ac_ext >&5
21898 ac_lo=`expr $ac_mid + 1`
21899 if test $ac_lo -le $ac_mid; then
21903 ac_mid=`expr 2 '*' $ac_mid + 1`
21905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21908 echo "$as_me: failed program was:" >&5
21909 sed 's/^/| /' conftest.$ac_ext >&5
21911 cat >conftest.$ac_ext <<_ACEOF
21914 cat confdefs.h >>conftest.$ac_ext
21915 cat >>conftest.$ac_ext <<_ACEOF
21916 /* end confdefs.h. */
21917 $ac_includes_default
21921 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
21928 rm -f conftest.$ac_objext
21929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21930 (eval $ac_compile) 2>conftest.er1
21932 grep -v '^ *+' conftest.er1 >conftest.err
21934 cat conftest.err >&5
21935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936 (exit $ac_status); } &&
21937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21939 (eval $ac_try) 2>&5
21941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21942 (exit $ac_status); }; } &&
21943 { ac_try='test -s conftest.$ac_objext'
21944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21945 (eval $ac_try) 2>&5
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); }; }; then
21951 cat >conftest.$ac_ext <<_ACEOF
21954 cat confdefs.h >>conftest.$ac_ext
21955 cat >>conftest.$ac_ext <<_ACEOF
21956 /* end confdefs.h. */
21957 $ac_includes_default
21961 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
21968 rm -f conftest.$ac_objext
21969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21970 (eval $ac_compile) 2>conftest.er1
21972 grep -v '^ *+' conftest.er1 >conftest.err
21974 cat conftest.err >&5
21975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976 (exit $ac_status); } &&
21977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21979 (eval $ac_try) 2>&5
21981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21982 (exit $ac_status); }; } &&
21983 { ac_try='test -s conftest.$ac_objext'
21984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21985 (eval $ac_try) 2>&5
21987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988 (exit $ac_status); }; }; then
21989 ac_lo=$ac_mid; break
21991 echo "$as_me: failed program was:" >&5
21992 sed 's/^/| /' conftest.$ac_ext >&5
21994 ac_hi=`expr '(' $ac_mid ')' - 1`
21995 if test $ac_mid -le $ac_hi; then
21999 ac_mid=`expr 2 '*' $ac_mid`
22001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22004 echo "$as_me: failed program was:" >&5
22005 sed 's/^/| /' conftest.$ac_ext >&5
22009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22012 # Binary search between lo and hi bounds.
22013 while test "x$ac_lo" != "x$ac_hi"; do
22014 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22015 cat >conftest.$ac_ext <<_ACEOF
22018 cat confdefs.h >>conftest.$ac_ext
22019 cat >>conftest.$ac_ext <<_ACEOF
22020 /* end confdefs.h. */
22021 $ac_includes_default
22025 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
22032 rm -f conftest.$ac_objext
22033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22034 (eval $ac_compile) 2>conftest.er1
22036 grep -v '^ *+' conftest.er1 >conftest.err
22038 cat conftest.err >&5
22039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22040 (exit $ac_status); } &&
22041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22043 (eval $ac_try) 2>&5
22045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22046 (exit $ac_status); }; } &&
22047 { ac_try='test -s conftest.$ac_objext'
22048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22049 (eval $ac_try) 2>&5
22051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22052 (exit $ac_status); }; }; then
22055 echo "$as_me: failed program was:" >&5
22056 sed 's/^/| /' conftest.$ac_ext >&5
22058 ac_lo=`expr '(' $ac_mid ')' + 1`
22060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22063 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22064 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
22065 See \`config.log' for more details." >&5
22066 echo "$as_me: error: cannot compute sizeof (size_t), 77
22067 See \`config.log' for more details." >&2;}
22068 { (exit 1); exit 1; }; } ;;
22071 if test "$cross_compiling" = yes; then
22072 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22073 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22074 { (exit 1); exit 1; }; }
22076 cat >conftest.$ac_ext <<_ACEOF
22079 cat confdefs.h >>conftest.$ac_ext
22080 cat >>conftest.$ac_ext <<_ACEOF
22081 /* end confdefs.h. */
22082 $ac_includes_default
22083 long longval () { return (long) (sizeof (size_t)); }
22084 unsigned long ulongval () { return (long) (sizeof (size_t)); }
22086 #include <stdlib.h>
22091 FILE *f = fopen ("conftest.val", "w");
22094 if (((long) (sizeof (size_t))) < 0)
22096 long i = longval ();
22097 if (i != ((long) (sizeof (size_t))))
22099 fprintf (f, "%ld\n", i);
22103 unsigned long i = ulongval ();
22104 if (i != ((long) (sizeof (size_t))))
22106 fprintf (f, "%lu\n", i);
22108 exit (ferror (f) || fclose (f) != 0);
22114 rm -f conftest$ac_exeext
22115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22116 (eval $ac_link) 2>&5
22118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22119 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22121 (eval $ac_try) 2>&5
22123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124 (exit $ac_status); }; }; then
22125 ac_cv_sizeof_size_t=`cat conftest.val`
22127 echo "$as_me: program exited with status $ac_status" >&5
22128 echo "$as_me: failed program was:" >&5
22129 sed 's/^/| /' conftest.$ac_ext >&5
22131 ( exit $ac_status )
22132 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
22133 See \`config.log' for more details." >&5
22134 echo "$as_me: error: cannot compute sizeof (size_t), 77
22135 See \`config.log' for more details." >&2;}
22136 { (exit 1); exit 1; }; }
22138 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22143 ac_cv_sizeof_size_t=0
22146 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22147 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
22148 cat >>confdefs.h <<_ACEOF
22149 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22156 echo "$as_me:$LINENO: checking for long long" >&5
22157 echo $ECHO_N "checking for long long... $ECHO_C" >&6
22158 if test "${ac_cv_type_long_long+set}" = set; then
22159 echo $ECHO_N "(cached) $ECHO_C" >&6
22161 cat >conftest.$ac_ext <<_ACEOF
22164 cat confdefs.h >>conftest.$ac_ext
22165 cat >>conftest.$ac_ext <<_ACEOF
22166 /* end confdefs.h. */
22167 $ac_includes_default
22171 if ((long long *) 0)
22173 if (sizeof (long long))
22179 rm -f conftest.$ac_objext
22180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22181 (eval $ac_compile) 2>conftest.er1
22183 grep -v '^ *+' conftest.er1 >conftest.err
22185 cat conftest.err >&5
22186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22187 (exit $ac_status); } &&
22188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22190 (eval $ac_try) 2>&5
22192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 (exit $ac_status); }; } &&
22194 { ac_try='test -s conftest.$ac_objext'
22195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22196 (eval $ac_try) 2>&5
22198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22199 (exit $ac_status); }; }; then
22200 ac_cv_type_long_long=yes
22202 echo "$as_me: failed program was:" >&5
22203 sed 's/^/| /' conftest.$ac_ext >&5
22205 ac_cv_type_long_long=no
22207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22209 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22210 echo "${ECHO_T}$ac_cv_type_long_long" >&6
22212 echo "$as_me:$LINENO: checking size of long long" >&5
22213 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
22214 if test "${ac_cv_sizeof_long_long+set}" = set; then
22215 echo $ECHO_N "(cached) $ECHO_C" >&6
22217 if test "$ac_cv_type_long_long" = yes; then
22218 # The cast to unsigned long works around a bug in the HP C Compiler
22219 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22220 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22221 # This bug is HP SR number 8606223364.
22222 if test "$cross_compiling" = yes; then
22223 # Depending upon the size, compute the lo and hi bounds.
22224 cat >conftest.$ac_ext <<_ACEOF
22227 cat confdefs.h >>conftest.$ac_ext
22228 cat >>conftest.$ac_ext <<_ACEOF
22229 /* end confdefs.h. */
22230 $ac_includes_default
22234 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
22241 rm -f conftest.$ac_objext
22242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22243 (eval $ac_compile) 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_c_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_objext'
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
22264 cat >conftest.$ac_ext <<_ACEOF
22267 cat confdefs.h >>conftest.$ac_ext
22268 cat >>conftest.$ac_ext <<_ACEOF
22269 /* end confdefs.h. */
22270 $ac_includes_default
22274 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
22281 rm -f conftest.$ac_objext
22282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22283 (eval $ac_compile) 2>conftest.er1
22285 grep -v '^ *+' conftest.er1 >conftest.err
22287 cat conftest.err >&5
22288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22289 (exit $ac_status); } &&
22290 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22292 (eval $ac_try) 2>&5
22294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22295 (exit $ac_status); }; } &&
22296 { ac_try='test -s conftest.$ac_objext'
22297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22298 (eval $ac_try) 2>&5
22300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22301 (exit $ac_status); }; }; then
22302 ac_hi=$ac_mid; break
22304 echo "$as_me: failed program was:" >&5
22305 sed 's/^/| /' conftest.$ac_ext >&5
22307 ac_lo=`expr $ac_mid + 1`
22308 if test $ac_lo -le $ac_mid; then
22312 ac_mid=`expr 2 '*' $ac_mid + 1`
22314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22317 echo "$as_me: failed program was:" >&5
22318 sed 's/^/| /' conftest.$ac_ext >&5
22320 cat >conftest.$ac_ext <<_ACEOF
22323 cat confdefs.h >>conftest.$ac_ext
22324 cat >>conftest.$ac_ext <<_ACEOF
22325 /* end confdefs.h. */
22326 $ac_includes_default
22330 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
22337 rm -f conftest.$ac_objext
22338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22339 (eval $ac_compile) 2>conftest.er1
22341 grep -v '^ *+' conftest.er1 >conftest.err
22343 cat conftest.err >&5
22344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22345 (exit $ac_status); } &&
22346 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22348 (eval $ac_try) 2>&5
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); }; } &&
22352 { ac_try='test -s conftest.$ac_objext'
22353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22354 (eval $ac_try) 2>&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); }; }; then
22360 cat >conftest.$ac_ext <<_ACEOF
22363 cat confdefs.h >>conftest.$ac_ext
22364 cat >>conftest.$ac_ext <<_ACEOF
22365 /* end confdefs.h. */
22366 $ac_includes_default
22370 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
22377 rm -f conftest.$ac_objext
22378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22379 (eval $ac_compile) 2>conftest.er1
22381 grep -v '^ *+' conftest.er1 >conftest.err
22383 cat conftest.err >&5
22384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22385 (exit $ac_status); } &&
22386 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22388 (eval $ac_try) 2>&5
22390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391 (exit $ac_status); }; } &&
22392 { ac_try='test -s conftest.$ac_objext'
22393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22394 (eval $ac_try) 2>&5
22396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22397 (exit $ac_status); }; }; then
22398 ac_lo=$ac_mid; break
22400 echo "$as_me: failed program was:" >&5
22401 sed 's/^/| /' conftest.$ac_ext >&5
22403 ac_hi=`expr '(' $ac_mid ')' - 1`
22404 if test $ac_mid -le $ac_hi; then
22408 ac_mid=`expr 2 '*' $ac_mid`
22410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22413 echo "$as_me: failed program was:" >&5
22414 sed 's/^/| /' conftest.$ac_ext >&5
22418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22421 # Binary search between lo and hi bounds.
22422 while test "x$ac_lo" != "x$ac_hi"; do
22423 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22424 cat >conftest.$ac_ext <<_ACEOF
22427 cat confdefs.h >>conftest.$ac_ext
22428 cat >>conftest.$ac_ext <<_ACEOF
22429 /* end confdefs.h. */
22430 $ac_includes_default
22434 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
22441 rm -f conftest.$ac_objext
22442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22443 (eval $ac_compile) 2>conftest.er1
22445 grep -v '^ *+' conftest.er1 >conftest.err
22447 cat conftest.err >&5
22448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22449 (exit $ac_status); } &&
22450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22452 (eval $ac_try) 2>&5
22454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22455 (exit $ac_status); }; } &&
22456 { ac_try='test -s conftest.$ac_objext'
22457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22458 (eval $ac_try) 2>&5
22460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461 (exit $ac_status); }; }; then
22464 echo "$as_me: failed program was:" >&5
22465 sed 's/^/| /' conftest.$ac_ext >&5
22467 ac_lo=`expr '(' $ac_mid ')' + 1`
22469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22472 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22473 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
22474 See \`config.log' for more details." >&5
22475 echo "$as_me: error: cannot compute sizeof (long long), 77
22476 See \`config.log' for more details." >&2;}
22477 { (exit 1); exit 1; }; } ;;
22480 if test "$cross_compiling" = yes; then
22481 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22482 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22483 { (exit 1); exit 1; }; }
22485 cat >conftest.$ac_ext <<_ACEOF
22488 cat confdefs.h >>conftest.$ac_ext
22489 cat >>conftest.$ac_ext <<_ACEOF
22490 /* end confdefs.h. */
22491 $ac_includes_default
22492 long longval () { return (long) (sizeof (long long)); }
22493 unsigned long ulongval () { return (long) (sizeof (long long)); }
22495 #include <stdlib.h>
22500 FILE *f = fopen ("conftest.val", "w");
22503 if (((long) (sizeof (long long))) < 0)
22505 long i = longval ();
22506 if (i != ((long) (sizeof (long long))))
22508 fprintf (f, "%ld\n", i);
22512 unsigned long i = ulongval ();
22513 if (i != ((long) (sizeof (long long))))
22515 fprintf (f, "%lu\n", i);
22517 exit (ferror (f) || fclose (f) != 0);
22523 rm -f conftest$ac_exeext
22524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22525 (eval $ac_link) 2>&5
22527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22528 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22530 (eval $ac_try) 2>&5
22532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22533 (exit $ac_status); }; }; then
22534 ac_cv_sizeof_long_long=`cat conftest.val`
22536 echo "$as_me: program exited with status $ac_status" >&5
22537 echo "$as_me: failed program was:" >&5
22538 sed 's/^/| /' conftest.$ac_ext >&5
22540 ( exit $ac_status )
22541 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
22542 See \`config.log' for more details." >&5
22543 echo "$as_me: error: cannot compute sizeof (long long), 77
22544 See \`config.log' for more details." >&2;}
22545 { (exit 1); exit 1; }; }
22547 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22552 ac_cv_sizeof_long_long=0
22555 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22556 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
22557 cat >>confdefs.h <<_ACEOF
22558 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22564 echo "$as_me:$LINENO: checking for long long" >&5
22565 echo $ECHO_N "checking for long long... $ECHO_C" >&6
22566 if test "${ac_cv_type_long_long+set}" = set; then
22567 echo $ECHO_N "(cached) $ECHO_C" >&6
22569 cat >conftest.$ac_ext <<_ACEOF
22572 cat confdefs.h >>conftest.$ac_ext
22573 cat >>conftest.$ac_ext <<_ACEOF
22574 /* end confdefs.h. */
22575 $ac_includes_default
22579 if ((long long *) 0)
22581 if (sizeof (long long))
22587 rm -f conftest.$ac_objext
22588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22589 (eval $ac_compile) 2>conftest.er1
22591 grep -v '^ *+' conftest.er1 >conftest.err
22593 cat conftest.err >&5
22594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22595 (exit $ac_status); } &&
22596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22598 (eval $ac_try) 2>&5
22600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22601 (exit $ac_status); }; } &&
22602 { ac_try='test -s conftest.$ac_objext'
22603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22604 (eval $ac_try) 2>&5
22606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22607 (exit $ac_status); }; }; then
22608 ac_cv_type_long_long=yes
22610 echo "$as_me: failed program was:" >&5
22611 sed 's/^/| /' conftest.$ac_ext >&5
22613 ac_cv_type_long_long=no
22615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22617 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22618 echo "${ECHO_T}$ac_cv_type_long_long" >&6
22620 echo "$as_me:$LINENO: checking size of long long" >&5
22621 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
22622 if test "${ac_cv_sizeof_long_long+set}" = set; then
22623 echo $ECHO_N "(cached) $ECHO_C" >&6
22625 if test "$ac_cv_type_long_long" = yes; then
22626 # The cast to unsigned long works around a bug in the HP C Compiler
22627 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22628 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22629 # This bug is HP SR number 8606223364.
22630 if test "$cross_compiling" = yes; then
22631 # Depending upon the size, compute the lo and hi bounds.
22632 cat >conftest.$ac_ext <<_ACEOF
22635 cat confdefs.h >>conftest.$ac_ext
22636 cat >>conftest.$ac_ext <<_ACEOF
22637 /* end confdefs.h. */
22638 $ac_includes_default
22642 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
22649 rm -f conftest.$ac_objext
22650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22651 (eval $ac_compile) 2>conftest.er1
22653 grep -v '^ *+' conftest.er1 >conftest.err
22655 cat conftest.err >&5
22656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22657 (exit $ac_status); } &&
22658 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22660 (eval $ac_try) 2>&5
22662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22663 (exit $ac_status); }; } &&
22664 { ac_try='test -s conftest.$ac_objext'
22665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22666 (eval $ac_try) 2>&5
22668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22669 (exit $ac_status); }; }; then
22672 cat >conftest.$ac_ext <<_ACEOF
22675 cat confdefs.h >>conftest.$ac_ext
22676 cat >>conftest.$ac_ext <<_ACEOF
22677 /* end confdefs.h. */
22678 $ac_includes_default
22682 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
22689 rm -f conftest.$ac_objext
22690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22691 (eval $ac_compile) 2>conftest.er1
22693 grep -v '^ *+' conftest.er1 >conftest.err
22695 cat conftest.err >&5
22696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22697 (exit $ac_status); } &&
22698 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22700 (eval $ac_try) 2>&5
22702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22703 (exit $ac_status); }; } &&
22704 { ac_try='test -s conftest.$ac_objext'
22705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22706 (eval $ac_try) 2>&5
22708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22709 (exit $ac_status); }; }; then
22710 ac_hi=$ac_mid; break
22712 echo "$as_me: failed program was:" >&5
22713 sed 's/^/| /' conftest.$ac_ext >&5
22715 ac_lo=`expr $ac_mid + 1`
22716 if test $ac_lo -le $ac_mid; then
22720 ac_mid=`expr 2 '*' $ac_mid + 1`
22722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22725 echo "$as_me: failed program was:" >&5
22726 sed 's/^/| /' conftest.$ac_ext >&5
22728 cat >conftest.$ac_ext <<_ACEOF
22731 cat confdefs.h >>conftest.$ac_ext
22732 cat >>conftest.$ac_ext <<_ACEOF
22733 /* end confdefs.h. */
22734 $ac_includes_default
22738 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
22745 rm -f conftest.$ac_objext
22746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22747 (eval $ac_compile) 2>conftest.er1
22749 grep -v '^ *+' conftest.er1 >conftest.err
22751 cat conftest.err >&5
22752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22753 (exit $ac_status); } &&
22754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22756 (eval $ac_try) 2>&5
22758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22759 (exit $ac_status); }; } &&
22760 { ac_try='test -s conftest.$ac_objext'
22761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22762 (eval $ac_try) 2>&5
22764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22765 (exit $ac_status); }; }; then
22768 cat >conftest.$ac_ext <<_ACEOF
22771 cat confdefs.h >>conftest.$ac_ext
22772 cat >>conftest.$ac_ext <<_ACEOF
22773 /* end confdefs.h. */
22774 $ac_includes_default
22778 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
22785 rm -f conftest.$ac_objext
22786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22787 (eval $ac_compile) 2>conftest.er1
22789 grep -v '^ *+' conftest.er1 >conftest.err
22791 cat conftest.err >&5
22792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22793 (exit $ac_status); } &&
22794 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22796 (eval $ac_try) 2>&5
22798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22799 (exit $ac_status); }; } &&
22800 { ac_try='test -s conftest.$ac_objext'
22801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22802 (eval $ac_try) 2>&5
22804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22805 (exit $ac_status); }; }; then
22806 ac_lo=$ac_mid; break
22808 echo "$as_me: failed program was:" >&5
22809 sed 's/^/| /' conftest.$ac_ext >&5
22811 ac_hi=`expr '(' $ac_mid ')' - 1`
22812 if test $ac_mid -le $ac_hi; then
22816 ac_mid=`expr 2 '*' $ac_mid`
22818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22821 echo "$as_me: failed program was:" >&5
22822 sed 's/^/| /' conftest.$ac_ext >&5
22826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22829 # Binary search between lo and hi bounds.
22830 while test "x$ac_lo" != "x$ac_hi"; do
22831 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22832 cat >conftest.$ac_ext <<_ACEOF
22835 cat confdefs.h >>conftest.$ac_ext
22836 cat >>conftest.$ac_ext <<_ACEOF
22837 /* end confdefs.h. */
22838 $ac_includes_default
22842 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
22849 rm -f conftest.$ac_objext
22850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22851 (eval $ac_compile) 2>conftest.er1
22853 grep -v '^ *+' conftest.er1 >conftest.err
22855 cat conftest.err >&5
22856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22857 (exit $ac_status); } &&
22858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22860 (eval $ac_try) 2>&5
22862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22863 (exit $ac_status); }; } &&
22864 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
22872 echo "$as_me: failed program was:" >&5
22873 sed 's/^/| /' conftest.$ac_ext >&5
22875 ac_lo=`expr '(' $ac_mid ')' + 1`
22877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22880 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22881 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
22882 See \`config.log' for more details." >&5
22883 echo "$as_me: error: cannot compute sizeof (long long), 77
22884 See \`config.log' for more details." >&2;}
22885 { (exit 1); exit 1; }; } ;;
22888 if test "$cross_compiling" = yes; then
22889 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22890 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22891 { (exit 1); exit 1; }; }
22893 cat >conftest.$ac_ext <<_ACEOF
22896 cat confdefs.h >>conftest.$ac_ext
22897 cat >>conftest.$ac_ext <<_ACEOF
22898 /* end confdefs.h. */
22899 $ac_includes_default
22900 long longval () { return (long) (sizeof (long long)); }
22901 unsigned long ulongval () { return (long) (sizeof (long long)); }
22903 #include <stdlib.h>
22908 FILE *f = fopen ("conftest.val", "w");
22911 if (((long) (sizeof (long long))) < 0)
22913 long i = longval ();
22914 if (i != ((long) (sizeof (long long))))
22916 fprintf (f, "%ld\n", i);
22920 unsigned long i = ulongval ();
22921 if (i != ((long) (sizeof (long long))))
22923 fprintf (f, "%lu\n", i);
22925 exit (ferror (f) || fclose (f) != 0);
22931 rm -f conftest$ac_exeext
22932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22933 (eval $ac_link) 2>&5
22935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22938 (eval $ac_try) 2>&5
22940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22941 (exit $ac_status); }; }; then
22942 ac_cv_sizeof_long_long=`cat conftest.val`
22944 echo "$as_me: program exited with status $ac_status" >&5
22945 echo "$as_me: failed program was:" >&5
22946 sed 's/^/| /' conftest.$ac_ext >&5
22948 ( exit $ac_status )
22949 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
22950 See \`config.log' for more details." >&5
22951 echo "$as_me: error: cannot compute sizeof (long long), 77
22952 See \`config.log' for more details." >&2;}
22953 { (exit 1); exit 1; }; }
22955 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22960 ac_cv_sizeof_long_long=0
22963 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22964 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
22965 cat >>confdefs.h <<_ACEOF
22966 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22970 if test "$ac_cv_sizeof_long_long" != "0"; then
22971 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22975 echo "$as_me:$LINENO: checking for long long" >&5
22976 echo $ECHO_N "checking for long long... $ECHO_C" >&6
22977 if test "${ac_cv_type_long_long+set}" = set; then
22978 echo $ECHO_N "(cached) $ECHO_C" >&6
22980 cat >conftest.$ac_ext <<_ACEOF
22983 cat confdefs.h >>conftest.$ac_ext
22984 cat >>conftest.$ac_ext <<_ACEOF
22985 /* end confdefs.h. */
22986 $ac_includes_default
22990 if ((long long *) 0)
22992 if (sizeof (long long))
22998 rm -f conftest.$ac_objext
22999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23000 (eval $ac_compile) 2>conftest.er1
23002 grep -v '^ *+' conftest.er1 >conftest.err
23004 cat conftest.err >&5
23005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23006 (exit $ac_status); } &&
23007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23009 (eval $ac_try) 2>&5
23011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23012 (exit $ac_status); }; } &&
23013 { ac_try='test -s conftest.$ac_objext'
23014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23015 (eval $ac_try) 2>&5
23017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23018 (exit $ac_status); }; }; then
23019 ac_cv_type_long_long=yes
23021 echo "$as_me: failed program was:" >&5
23022 sed 's/^/| /' conftest.$ac_ext >&5
23024 ac_cv_type_long_long=no
23026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23028 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23029 echo "${ECHO_T}$ac_cv_type_long_long" >&6
23031 echo "$as_me:$LINENO: checking size of long long" >&5
23032 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
23033 if test "${ac_cv_sizeof_long_long+set}" = set; then
23034 echo $ECHO_N "(cached) $ECHO_C" >&6
23036 if test "$ac_cv_type_long_long" = yes; then
23037 # The cast to unsigned long works around a bug in the HP C Compiler
23038 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23039 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23040 # This bug is HP SR number 8606223364.
23041 if test "$cross_compiling" = yes; then
23042 # Depending upon the size, compute the lo and hi bounds.
23043 cat >conftest.$ac_ext <<_ACEOF
23046 cat confdefs.h >>conftest.$ac_ext
23047 cat >>conftest.$ac_ext <<_ACEOF
23048 /* end confdefs.h. */
23049 $ac_includes_default
23053 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
23060 rm -f conftest.$ac_objext
23061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23062 (eval $ac_compile) 2>conftest.er1
23064 grep -v '^ *+' conftest.er1 >conftest.err
23066 cat conftest.err >&5
23067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23068 (exit $ac_status); } &&
23069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23071 (eval $ac_try) 2>&5
23073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23074 (exit $ac_status); }; } &&
23075 { ac_try='test -s conftest.$ac_objext'
23076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23077 (eval $ac_try) 2>&5
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); }; }; then
23083 cat >conftest.$ac_ext <<_ACEOF
23086 cat confdefs.h >>conftest.$ac_ext
23087 cat >>conftest.$ac_ext <<_ACEOF
23088 /* end confdefs.h. */
23089 $ac_includes_default
23093 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
23100 rm -f conftest.$ac_objext
23101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23102 (eval $ac_compile) 2>conftest.er1
23104 grep -v '^ *+' conftest.er1 >conftest.err
23106 cat conftest.err >&5
23107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23108 (exit $ac_status); } &&
23109 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23111 (eval $ac_try) 2>&5
23113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23114 (exit $ac_status); }; } &&
23115 { ac_try='test -s conftest.$ac_objext'
23116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23117 (eval $ac_try) 2>&5
23119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23120 (exit $ac_status); }; }; then
23121 ac_hi=$ac_mid; break
23123 echo "$as_me: failed program was:" >&5
23124 sed 's/^/| /' conftest.$ac_ext >&5
23126 ac_lo=`expr $ac_mid + 1`
23127 if test $ac_lo -le $ac_mid; then
23131 ac_mid=`expr 2 '*' $ac_mid + 1`
23133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23136 echo "$as_me: failed program was:" >&5
23137 sed 's/^/| /' conftest.$ac_ext >&5
23139 cat >conftest.$ac_ext <<_ACEOF
23142 cat confdefs.h >>conftest.$ac_ext
23143 cat >>conftest.$ac_ext <<_ACEOF
23144 /* end confdefs.h. */
23145 $ac_includes_default
23149 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
23156 rm -f conftest.$ac_objext
23157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23158 (eval $ac_compile) 2>conftest.er1
23160 grep -v '^ *+' conftest.er1 >conftest.err
23162 cat conftest.err >&5
23163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23164 (exit $ac_status); } &&
23165 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23167 (eval $ac_try) 2>&5
23169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23170 (exit $ac_status); }; } &&
23171 { ac_try='test -s conftest.$ac_objext'
23172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23173 (eval $ac_try) 2>&5
23175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23176 (exit $ac_status); }; }; then
23179 cat >conftest.$ac_ext <<_ACEOF
23182 cat confdefs.h >>conftest.$ac_ext
23183 cat >>conftest.$ac_ext <<_ACEOF
23184 /* end confdefs.h. */
23185 $ac_includes_default
23189 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
23196 rm -f conftest.$ac_objext
23197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23198 (eval $ac_compile) 2>conftest.er1
23200 grep -v '^ *+' conftest.er1 >conftest.err
23202 cat conftest.err >&5
23203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23204 (exit $ac_status); } &&
23205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23207 (eval $ac_try) 2>&5
23209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23210 (exit $ac_status); }; } &&
23211 { ac_try='test -s conftest.$ac_objext'
23212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23213 (eval $ac_try) 2>&5
23215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23216 (exit $ac_status); }; }; then
23217 ac_lo=$ac_mid; break
23219 echo "$as_me: failed program was:" >&5
23220 sed 's/^/| /' conftest.$ac_ext >&5
23222 ac_hi=`expr '(' $ac_mid ')' - 1`
23223 if test $ac_mid -le $ac_hi; then
23227 ac_mid=`expr 2 '*' $ac_mid`
23229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23232 echo "$as_me: failed program was:" >&5
23233 sed 's/^/| /' conftest.$ac_ext >&5
23237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23240 # Binary search between lo and hi bounds.
23241 while test "x$ac_lo" != "x$ac_hi"; do
23242 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23243 cat >conftest.$ac_ext <<_ACEOF
23246 cat confdefs.h >>conftest.$ac_ext
23247 cat >>conftest.$ac_ext <<_ACEOF
23248 /* end confdefs.h. */
23249 $ac_includes_default
23253 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
23260 rm -f conftest.$ac_objext
23261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23262 (eval $ac_compile) 2>conftest.er1
23264 grep -v '^ *+' conftest.er1 >conftest.err
23266 cat conftest.err >&5
23267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23268 (exit $ac_status); } &&
23269 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23271 (eval $ac_try) 2>&5
23273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23274 (exit $ac_status); }; } &&
23275 { ac_try='test -s conftest.$ac_objext'
23276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23277 (eval $ac_try) 2>&5
23279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23280 (exit $ac_status); }; }; then
23283 echo "$as_me: failed program was:" >&5
23284 sed 's/^/| /' conftest.$ac_ext >&5
23286 ac_lo=`expr '(' $ac_mid ')' + 1`
23288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23291 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23292 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
23293 See \`config.log' for more details." >&5
23294 echo "$as_me: error: cannot compute sizeof (long long), 77
23295 See \`config.log' for more details." >&2;}
23296 { (exit 1); exit 1; }; } ;;
23299 if test "$cross_compiling" = yes; then
23300 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
23301 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
23302 { (exit 1); exit 1; }; }
23304 cat >conftest.$ac_ext <<_ACEOF
23307 cat confdefs.h >>conftest.$ac_ext
23308 cat >>conftest.$ac_ext <<_ACEOF
23309 /* end confdefs.h. */
23310 $ac_includes_default
23311 long longval () { return (long) (sizeof (long long)); }
23312 unsigned long ulongval () { return (long) (sizeof (long long)); }
23314 #include <stdlib.h>
23319 FILE *f = fopen ("conftest.val", "w");
23322 if (((long) (sizeof (long long))) < 0)
23324 long i = longval ();
23325 if (i != ((long) (sizeof (long long))))
23327 fprintf (f, "%ld\n", i);
23331 unsigned long i = ulongval ();
23332 if (i != ((long) (sizeof (long long))))
23334 fprintf (f, "%lu\n", i);
23336 exit (ferror (f) || fclose (f) != 0);
23342 rm -f conftest$ac_exeext
23343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23344 (eval $ac_link) 2>&5
23346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23347 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23349 (eval $ac_try) 2>&5
23351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23352 (exit $ac_status); }; }; then
23353 ac_cv_sizeof_long_long=`cat conftest.val`
23355 echo "$as_me: program exited with status $ac_status" >&5
23356 echo "$as_me: failed program was:" >&5
23357 sed 's/^/| /' conftest.$ac_ext >&5
23359 ( exit $ac_status )
23360 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
23361 See \`config.log' for more details." >&5
23362 echo "$as_me: error: cannot compute sizeof (long long), 77
23363 See \`config.log' for more details." >&2;}
23364 { (exit 1); exit 1; }; }
23366 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23371 ac_cv_sizeof_long_long=0
23374 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23375 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
23376 cat >>confdefs.h <<_ACEOF
23377 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23383 echo "$as_me:$LINENO: checking for wchar_t" >&5
23384 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
23385 if test "${ac_cv_type_wchar_t+set}" = set; then
23386 echo $ECHO_N "(cached) $ECHO_C" >&6
23388 cat >conftest.$ac_ext <<_ACEOF
23391 cat confdefs.h >>conftest.$ac_ext
23392 cat >>conftest.$ac_ext <<_ACEOF
23393 /* end confdefs.h. */
23395 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23396 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23397 # error "fake wchar_t"
23399 #ifdef HAVE_WCHAR_H
23401 # include <stddef.h>
23403 # include <wchar.h>
23405 #ifdef HAVE_STDLIB_H
23406 # include <stdlib.h>
23417 if (sizeof (wchar_t))
23423 rm -f conftest.$ac_objext
23424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23425 (eval $ac_compile) 2>conftest.er1
23427 grep -v '^ *+' conftest.er1 >conftest.err
23429 cat conftest.err >&5
23430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23431 (exit $ac_status); } &&
23432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23434 (eval $ac_try) 2>&5
23436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23437 (exit $ac_status); }; } &&
23438 { ac_try='test -s conftest.$ac_objext'
23439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23440 (eval $ac_try) 2>&5
23442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443 (exit $ac_status); }; }; then
23444 ac_cv_type_wchar_t=yes
23446 echo "$as_me: failed program was:" >&5
23447 sed 's/^/| /' conftest.$ac_ext >&5
23449 ac_cv_type_wchar_t=no
23451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23453 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23454 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
23456 echo "$as_me:$LINENO: checking size of wchar_t" >&5
23457 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
23458 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23459 echo $ECHO_N "(cached) $ECHO_C" >&6
23461 if test "$ac_cv_type_wchar_t" = yes; then
23462 # The cast to unsigned long works around a bug in the HP C Compiler
23463 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23464 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23465 # This bug is HP SR number 8606223364.
23466 if test "$cross_compiling" = yes; then
23467 # Depending upon the size, compute the lo and hi bounds.
23468 cat >conftest.$ac_ext <<_ACEOF
23471 cat confdefs.h >>conftest.$ac_ext
23472 cat >>conftest.$ac_ext <<_ACEOF
23473 /* end confdefs.h. */
23475 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23476 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23477 # error "fake wchar_t"
23479 #ifdef HAVE_WCHAR_H
23481 # include <stddef.h>
23483 # include <wchar.h>
23485 #ifdef HAVE_STDLIB_H
23486 # include <stdlib.h>
23495 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
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_c_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
23525 cat >conftest.$ac_ext <<_ACEOF
23528 cat confdefs.h >>conftest.$ac_ext
23529 cat >>conftest.$ac_ext <<_ACEOF
23530 /* end confdefs.h. */
23532 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23533 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23534 # error "fake wchar_t"
23536 #ifdef HAVE_WCHAR_H
23538 # include <stddef.h>
23540 # include <wchar.h>
23542 #ifdef HAVE_STDLIB_H
23543 # include <stdlib.h>
23552 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
23559 rm -f conftest.$ac_objext
23560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23561 (eval $ac_compile) 2>conftest.er1
23563 grep -v '^ *+' conftest.er1 >conftest.err
23565 cat conftest.err >&5
23566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23567 (exit $ac_status); } &&
23568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23570 (eval $ac_try) 2>&5
23572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23573 (exit $ac_status); }; } &&
23574 { ac_try='test -s conftest.$ac_objext'
23575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23576 (eval $ac_try) 2>&5
23578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23579 (exit $ac_status); }; }; then
23580 ac_hi=$ac_mid; break
23582 echo "$as_me: failed program was:" >&5
23583 sed 's/^/| /' conftest.$ac_ext >&5
23585 ac_lo=`expr $ac_mid + 1`
23586 if test $ac_lo -le $ac_mid; then
23590 ac_mid=`expr 2 '*' $ac_mid + 1`
23592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23595 echo "$as_me: failed program was:" >&5
23596 sed 's/^/| /' conftest.$ac_ext >&5
23598 cat >conftest.$ac_ext <<_ACEOF
23601 cat confdefs.h >>conftest.$ac_ext
23602 cat >>conftest.$ac_ext <<_ACEOF
23603 /* end confdefs.h. */
23605 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23606 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23607 # error "fake wchar_t"
23609 #ifdef HAVE_WCHAR_H
23611 # include <stddef.h>
23613 # include <wchar.h>
23615 #ifdef HAVE_STDLIB_H
23616 # include <stdlib.h>
23625 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
23632 rm -f conftest.$ac_objext
23633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23634 (eval $ac_compile) 2>conftest.er1
23636 grep -v '^ *+' conftest.er1 >conftest.err
23638 cat conftest.err >&5
23639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23640 (exit $ac_status); } &&
23641 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23643 (eval $ac_try) 2>&5
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); }; } &&
23647 { ac_try='test -s conftest.$ac_objext'
23648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23649 (eval $ac_try) 2>&5
23651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23652 (exit $ac_status); }; }; then
23655 cat >conftest.$ac_ext <<_ACEOF
23658 cat confdefs.h >>conftest.$ac_ext
23659 cat >>conftest.$ac_ext <<_ACEOF
23660 /* end confdefs.h. */
23662 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23663 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23664 # error "fake wchar_t"
23666 #ifdef HAVE_WCHAR_H
23668 # include <stddef.h>
23670 # include <wchar.h>
23672 #ifdef HAVE_STDLIB_H
23673 # include <stdlib.h>
23682 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
23689 rm -f conftest.$ac_objext
23690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23691 (eval $ac_compile) 2>conftest.er1
23693 grep -v '^ *+' conftest.er1 >conftest.err
23695 cat conftest.err >&5
23696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23697 (exit $ac_status); } &&
23698 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23700 (eval $ac_try) 2>&5
23702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23703 (exit $ac_status); }; } &&
23704 { ac_try='test -s conftest.$ac_objext'
23705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23706 (eval $ac_try) 2>&5
23708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23709 (exit $ac_status); }; }; then
23710 ac_lo=$ac_mid; break
23712 echo "$as_me: failed program was:" >&5
23713 sed 's/^/| /' conftest.$ac_ext >&5
23715 ac_hi=`expr '(' $ac_mid ')' - 1`
23716 if test $ac_mid -le $ac_hi; then
23720 ac_mid=`expr 2 '*' $ac_mid`
23722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23725 echo "$as_me: failed program was:" >&5
23726 sed 's/^/| /' conftest.$ac_ext >&5
23730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23733 # Binary search between lo and hi bounds.
23734 while test "x$ac_lo" != "x$ac_hi"; do
23735 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23736 cat >conftest.$ac_ext <<_ACEOF
23739 cat confdefs.h >>conftest.$ac_ext
23740 cat >>conftest.$ac_ext <<_ACEOF
23741 /* end confdefs.h. */
23743 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23744 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23745 # error "fake wchar_t"
23747 #ifdef HAVE_WCHAR_H
23749 # include <stddef.h>
23751 # include <wchar.h>
23753 #ifdef HAVE_STDLIB_H
23754 # include <stdlib.h>
23763 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
23770 rm -f conftest.$ac_objext
23771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23772 (eval $ac_compile) 2>conftest.er1
23774 grep -v '^ *+' conftest.er1 >conftest.err
23776 cat conftest.err >&5
23777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23778 (exit $ac_status); } &&
23779 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23781 (eval $ac_try) 2>&5
23783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23784 (exit $ac_status); }; } &&
23785 { ac_try='test -s conftest.$ac_objext'
23786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23787 (eval $ac_try) 2>&5
23789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23790 (exit $ac_status); }; }; then
23793 echo "$as_me: failed program was:" >&5
23794 sed 's/^/| /' conftest.$ac_ext >&5
23796 ac_lo=`expr '(' $ac_mid ')' + 1`
23798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23801 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23802 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
23803 See \`config.log' for more details." >&5
23804 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
23805 See \`config.log' for more details." >&2;}
23806 { (exit 1); exit 1; }; } ;;
23809 if test "$cross_compiling" = yes; then
23810 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
23811 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
23812 { (exit 1); exit 1; }; }
23814 cat >conftest.$ac_ext <<_ACEOF
23817 cat confdefs.h >>conftest.$ac_ext
23818 cat >>conftest.$ac_ext <<_ACEOF
23819 /* end confdefs.h. */
23821 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23822 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23823 # error "fake wchar_t"
23825 #ifdef HAVE_WCHAR_H
23827 # include <stddef.h>
23829 # include <wchar.h>
23831 #ifdef HAVE_STDLIB_H
23832 # include <stdlib.h>
23838 long longval () { return (long) (sizeof (wchar_t)); }
23839 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
23841 #include <stdlib.h>
23846 FILE *f = fopen ("conftest.val", "w");
23849 if (((long) (sizeof (wchar_t))) < 0)
23851 long i = longval ();
23852 if (i != ((long) (sizeof (wchar_t))))
23854 fprintf (f, "%ld\n", i);
23858 unsigned long i = ulongval ();
23859 if (i != ((long) (sizeof (wchar_t))))
23861 fprintf (f, "%lu\n", i);
23863 exit (ferror (f) || fclose (f) != 0);
23869 rm -f conftest$ac_exeext
23870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23871 (eval $ac_link) 2>&5
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23876 (eval $ac_try) 2>&5
23878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23879 (exit $ac_status); }; }; then
23880 ac_cv_sizeof_wchar_t=`cat conftest.val`
23882 echo "$as_me: program exited with status $ac_status" >&5
23883 echo "$as_me: failed program was:" >&5
23884 sed 's/^/| /' conftest.$ac_ext >&5
23886 ( exit $ac_status )
23887 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
23888 See \`config.log' for more details." >&5
23889 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
23890 See \`config.log' for more details." >&2;}
23891 { (exit 1); exit 1; }; }
23893 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23898 ac_cv_sizeof_wchar_t=0
23901 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23902 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
23903 cat >>confdefs.h <<_ACEOF
23904 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23908 if test "$ac_cv_sizeof_wchar_t" != "0"; then
23914 echo "$as_me:$LINENO: checking for va_copy" >&5
23915 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
23916 if test "${wx_cv_func_va_copy+set}" = set; then
23917 echo $ECHO_N "(cached) $ECHO_C" >&6
23921 ac_cpp='$CXXCPP $CPPFLAGS'
23922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23926 cat >conftest.$ac_ext <<_ACEOF
23928 #include <stdarg.h>
23929 void foo(char *f, ...)
23943 rm -f conftest.$ac_objext conftest$ac_exeext
23944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23945 (eval $ac_link) 2>conftest.er1
23947 grep -v '^ *+' conftest.er1 >conftest.err
23949 cat conftest.err >&5
23950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23951 (exit $ac_status); } &&
23952 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23954 (eval $ac_try) 2>&5
23956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23957 (exit $ac_status); }; } &&
23958 { ac_try='test -s conftest$ac_exeext'
23959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23960 (eval $ac_try) 2>&5
23962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23963 (exit $ac_status); }; }; then
23964 wx_cv_func_va_copy=yes
23966 echo "$as_me: failed program was:" >&5
23967 sed 's/^/| /' conftest.$ac_ext >&5
23969 wx_cv_func_va_copy=no
23972 rm -f conftest.err conftest.$ac_objext \
23973 conftest$ac_exeext conftest.$ac_ext
23975 ac_cpp='$CPP $CPPFLAGS'
23976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23983 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23984 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
23986 if test $wx_cv_func_va_copy = "yes"; then
23987 cat >>confdefs.h <<\_ACEOF
23988 #define HAVE_VA_COPY 1
23992 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23993 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
23994 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23995 echo $ECHO_N "(cached) $ECHO_C" >&6
23998 if test "$cross_compiling" = yes; then
23999 wx_cv_type_va_list_lvalue=yes
24002 cat >conftest.$ac_ext <<_ACEOF
24004 #include <stdarg.h>
24005 int foo(char *f, ...)
24010 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24018 return foo("hi", 17);
24021 rm -f conftest$ac_exeext
24022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24023 (eval $ac_link) 2>&5
24025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24026 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24028 (eval $ac_try) 2>&5
24030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24031 (exit $ac_status); }; }; then
24032 wx_cv_type_va_list_lvalue=yes
24034 echo "$as_me: program exited with status $ac_status" >&5
24035 echo "$as_me: failed program was:" >&5
24036 sed 's/^/| /' conftest.$ac_ext >&5
24038 ( exit $ac_status )
24039 wx_cv_type_va_list_lvalue=no
24041 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24046 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24047 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
24049 if test $wx_cv_type_va_list_lvalue != "yes"; then
24050 cat >>confdefs.h <<\_ACEOF
24051 #define VA_LIST_IS_ARRAY 1
24057 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24059 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24060 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
24061 if test "${wx_cv_have_variadic_macros+set}" = set; then
24062 echo $ECHO_N "(cached) $ECHO_C" >&6
24066 ac_cpp='$CXXCPP $CPPFLAGS'
24067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24071 cat >conftest.$ac_ext <<_ACEOF
24074 cat confdefs.h >>conftest.$ac_ext
24075 cat >>conftest.$ac_ext <<_ACEOF
24076 /* end confdefs.h. */
24079 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24085 test("%s %d %p", "test", 1, 0);
24092 rm -f conftest.$ac_objext
24093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24094 (eval $ac_compile) 2>conftest.er1
24096 grep -v '^ *+' conftest.er1 >conftest.err
24098 cat conftest.err >&5
24099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24100 (exit $ac_status); } &&
24101 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24103 (eval $ac_try) 2>&5
24105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24106 (exit $ac_status); }; } &&
24107 { ac_try='test -s conftest.$ac_objext'
24108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24109 (eval $ac_try) 2>&5
24111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24112 (exit $ac_status); }; }; then
24113 wx_cv_have_variadic_macros=yes
24115 echo "$as_me: failed program was:" >&5
24116 sed 's/^/| /' conftest.$ac_ext >&5
24118 wx_cv_have_variadic_macros=no
24121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24123 ac_cpp='$CPP $CPPFLAGS'
24124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24131 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24132 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
24134 if test $wx_cv_have_variadic_macros = "yes"; then
24135 cat >>confdefs.h <<\_ACEOF
24136 #define HAVE_VARIADIC_MACROS 1
24142 # Check whether --enable-largefile or --disable-largefile was given.
24143 if test "${enable_largefile+set}" = set; then
24144 enableval="$enable_largefile"
24147 if test "$enable_largefile" != no; then
24150 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24151 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
24152 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24153 echo $ECHO_N "(cached) $ECHO_C" >&6
24156 cat >conftest.$ac_ext <<_ACEOF
24159 cat confdefs.h >>conftest.$ac_ext
24160 cat >>conftest.$ac_ext <<_ACEOF
24161 /* end confdefs.h. */
24162 #define _FILE_OFFSET_BITS 64
24163 #include <sys/types.h>
24168 unsigned int field: sizeof(off_t) == 8;
24175 rm -f conftest.$ac_objext
24176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24177 (eval $ac_compile) 2>conftest.er1
24179 grep -v '^ *+' conftest.er1 >conftest.err
24181 cat conftest.err >&5
24182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24183 (exit $ac_status); } &&
24184 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24186 (eval $ac_try) 2>&5
24188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24189 (exit $ac_status); }; } &&
24190 { ac_try='test -s conftest.$ac_objext'
24191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24192 (eval $ac_try) 2>&5
24194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24195 (exit $ac_status); }; }; then
24196 ac_cv_sys_file_offset_bits=64
24198 echo "$as_me: failed program was:" >&5
24199 sed 's/^/| /' conftest.$ac_ext >&5
24201 ac_cv_sys_file_offset_bits=no
24203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24207 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24208 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
24210 if test "$ac_cv_sys_file_offset_bits" != no; then
24212 cat >>confdefs.h <<_ACEOF
24213 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24218 if test "x$wx_largefile" != "xyes"; then
24220 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24221 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
24222 if test "${ac_cv_sys_large_files+set}" = set; then
24223 echo $ECHO_N "(cached) $ECHO_C" >&6
24226 cat >conftest.$ac_ext <<_ACEOF
24229 cat confdefs.h >>conftest.$ac_ext
24230 cat >>conftest.$ac_ext <<_ACEOF
24231 /* end confdefs.h. */
24232 #define _LARGE_FILES 1
24233 #include <sys/types.h>
24238 unsigned int field: sizeof(off_t) == 8;
24245 rm -f conftest.$ac_objext
24246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24247 (eval $ac_compile) 2>conftest.er1
24249 grep -v '^ *+' conftest.er1 >conftest.err
24251 cat conftest.err >&5
24252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24253 (exit $ac_status); } &&
24254 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24256 (eval $ac_try) 2>&5
24258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24259 (exit $ac_status); }; } &&
24260 { ac_try='test -s conftest.$ac_objext'
24261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24262 (eval $ac_try) 2>&5
24264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24265 (exit $ac_status); }; }; then
24266 ac_cv_sys_large_files=1
24268 echo "$as_me: failed program was:" >&5
24269 sed 's/^/| /' conftest.$ac_ext >&5
24271 ac_cv_sys_large_files=no
24273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24277 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24278 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
24280 if test "$ac_cv_sys_large_files" != no; then
24282 cat >>confdefs.h <<_ACEOF
24283 #define _LARGE_FILES $ac_cv_sys_large_files
24290 echo "$as_me:$LINENO: checking if large file support is available" >&5
24291 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
24292 if test "x$wx_largefile" = "xyes"; then
24293 cat >>confdefs.h <<\_ACEOF
24294 #define HAVE_LARGEFILE_SUPPORT 1
24298 echo "$as_me:$LINENO: result: $wx_largefile" >&5
24299 echo "${ECHO_T}$wx_largefile" >&6
24303 if test "x$wx_largefile" = "xyes"; then
24304 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
24305 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
24307 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24308 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24309 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
24310 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24311 echo $ECHO_N "(cached) $ECHO_C" >&6
24315 ac_cpp='$CXXCPP $CPPFLAGS'
24316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24320 cat >conftest.$ac_ext <<_ACEOF
24323 cat confdefs.h >>conftest.$ac_ext
24324 cat >>conftest.$ac_ext <<_ACEOF
24325 /* end confdefs.h. */
24331 #ifndef __STDC_EXT__
24339 rm -f conftest.$ac_objext
24340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24341 (eval $ac_compile) 2>conftest.er1
24343 grep -v '^ *+' conftest.er1 >conftest.err
24345 cat conftest.err >&5
24346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24347 (exit $ac_status); } &&
24348 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24350 (eval $ac_try) 2>&5
24352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24353 (exit $ac_status); }; } &&
24354 { ac_try='test -s conftest.$ac_objext'
24355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24356 (eval $ac_try) 2>&5
24358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24359 (exit $ac_status); }; }; then
24360 wx_cv_STDC_EXT_required=no
24362 echo "$as_me: failed program was:" >&5
24363 sed 's/^/| /' conftest.$ac_ext >&5
24365 wx_cv_STDC_EXT_required=yes
24368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24370 ac_cpp='$CPP $CPPFLAGS'
24371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24378 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24379 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
24380 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24381 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24385 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
24387 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24388 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
24389 if test "${ac_cv_sys_largefile_source+set}" = set; then
24390 echo $ECHO_N "(cached) $ECHO_C" >&6
24393 ac_cv_sys_largefile_source=no
24394 cat >conftest.$ac_ext <<_ACEOF
24397 cat confdefs.h >>conftest.$ac_ext
24398 cat >>conftest.$ac_ext <<_ACEOF
24399 /* end confdefs.h. */
24409 rm -f conftest.$ac_objext
24410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24411 (eval $ac_compile) 2>conftest.er1
24413 grep -v '^ *+' conftest.er1 >conftest.err
24415 cat conftest.err >&5
24416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24417 (exit $ac_status); } &&
24418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24420 (eval $ac_try) 2>&5
24422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); }; } &&
24424 { ac_try='test -s conftest.$ac_objext'
24425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24426 (eval $ac_try) 2>&5
24428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24429 (exit $ac_status); }; }; then
24432 echo "$as_me: failed program was:" >&5
24433 sed 's/^/| /' conftest.$ac_ext >&5
24436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24437 cat >conftest.$ac_ext <<_ACEOF
24440 cat confdefs.h >>conftest.$ac_ext
24441 cat >>conftest.$ac_ext <<_ACEOF
24442 /* end confdefs.h. */
24443 #define _LARGEFILE_SOURCE 1
24453 rm -f conftest.$ac_objext
24454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24455 (eval $ac_compile) 2>conftest.er1
24457 grep -v '^ *+' conftest.er1 >conftest.err
24459 cat conftest.err >&5
24460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24461 (exit $ac_status); } &&
24462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24464 (eval $ac_try) 2>&5
24466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24467 (exit $ac_status); }; } &&
24468 { ac_try='test -s conftest.$ac_objext'
24469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24470 (eval $ac_try) 2>&5
24472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24473 (exit $ac_status); }; }; then
24474 ac_cv_sys_largefile_source=1; break
24476 echo "$as_me: failed program was:" >&5
24477 sed 's/^/| /' conftest.$ac_ext >&5
24480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24484 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24485 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
24486 if test "$ac_cv_sys_largefile_source" != no; then
24488 cat >>confdefs.h <<_ACEOF
24489 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24495 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24496 # in glibc 2.1.3, but that breaks too many other things.
24497 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24498 echo "$as_me:$LINENO: checking for fseeko" >&5
24499 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
24500 if test "${ac_cv_func_fseeko+set}" = set; then
24501 echo $ECHO_N "(cached) $ECHO_C" >&6
24503 cat >conftest.$ac_ext <<_ACEOF
24506 cat confdefs.h >>conftest.$ac_ext
24507 cat >>conftest.$ac_ext <<_ACEOF
24508 /* end confdefs.h. */
24513 return fseeko && fseeko (stdin, 0, 0);
24518 rm -f conftest.$ac_objext conftest$ac_exeext
24519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24520 (eval $ac_link) 2>conftest.er1
24522 grep -v '^ *+' conftest.er1 >conftest.err
24524 cat conftest.err >&5
24525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24526 (exit $ac_status); } &&
24527 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24529 (eval $ac_try) 2>&5
24531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24532 (exit $ac_status); }; } &&
24533 { ac_try='test -s conftest$ac_exeext'
24534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24535 (eval $ac_try) 2>&5
24537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24538 (exit $ac_status); }; }; then
24539 ac_cv_func_fseeko=yes
24541 echo "$as_me: failed program was:" >&5
24542 sed 's/^/| /' conftest.$ac_ext >&5
24544 ac_cv_func_fseeko=no
24546 rm -f conftest.err conftest.$ac_objext \
24547 conftest$ac_exeext conftest.$ac_ext
24549 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
24550 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
24551 if test $ac_cv_func_fseeko = yes; then
24553 cat >>confdefs.h <<\_ACEOF
24554 #define HAVE_FSEEKO 1
24559 if test "$ac_cv_sys_largefile_source" != no; then
24560 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24564 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24565 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
24566 if test "${ac_cv_c_bigendian+set}" = set; then
24567 echo $ECHO_N "(cached) $ECHO_C" >&6
24569 ac_cv_c_bigendian=unknown
24570 # See if sys/param.h defines the BYTE_ORDER macro.
24571 cat >conftest.$ac_ext <<_ACEOF
24574 cat confdefs.h >>conftest.$ac_ext
24575 cat >>conftest.$ac_ext <<_ACEOF
24576 /* end confdefs.h. */
24577 #include <sys/types.h>
24578 #include <sys/param.h>
24583 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24584 bogus endian macros
24590 rm -f conftest.$ac_objext
24591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24592 (eval $ac_compile) 2>conftest.er1
24594 grep -v '^ *+' conftest.er1 >conftest.err
24596 cat conftest.err >&5
24597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24598 (exit $ac_status); } &&
24599 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24601 (eval $ac_try) 2>&5
24603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24604 (exit $ac_status); }; } &&
24605 { ac_try='test -s conftest.$ac_objext'
24606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24607 (eval $ac_try) 2>&5
24609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24610 (exit $ac_status); }; }; then
24611 # It does; now see whether it defined to BIG_ENDIAN or not.
24612 cat >conftest.$ac_ext <<_ACEOF
24615 cat confdefs.h >>conftest.$ac_ext
24616 cat >>conftest.$ac_ext <<_ACEOF
24617 /* end confdefs.h. */
24618 #include <sys/types.h>
24619 #include <sys/param.h>
24624 #if BYTE_ORDER != BIG_ENDIAN
24631 rm -f conftest.$ac_objext
24632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24633 (eval $ac_compile) 2>conftest.er1
24635 grep -v '^ *+' conftest.er1 >conftest.err
24637 cat conftest.err >&5
24638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24639 (exit $ac_status); } &&
24640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24642 (eval $ac_try) 2>&5
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); }; } &&
24646 { ac_try='test -s conftest.$ac_objext'
24647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24648 (eval $ac_try) 2>&5
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); }; }; then
24652 ac_cv_c_bigendian=yes
24654 echo "$as_me: failed program was:" >&5
24655 sed 's/^/| /' conftest.$ac_ext >&5
24657 ac_cv_c_bigendian=no
24659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24661 echo "$as_me: failed program was:" >&5
24662 sed 's/^/| /' conftest.$ac_ext >&5
24665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24666 if test $ac_cv_c_bigendian = unknown; then
24667 if test "$cross_compiling" = yes; then
24668 ac_cv_c_bigendian=unknown
24670 cat >conftest.$ac_ext <<_ACEOF
24673 cat confdefs.h >>conftest.$ac_ext
24674 cat >>conftest.$ac_ext <<_ACEOF
24675 /* end confdefs.h. */
24677 /* Are we little or big endian? From Harbison&Steele. */
24681 char c[sizeof (long)];
24684 exit (u.c[sizeof (long) - 1] == 1);
24687 rm -f conftest$ac_exeext
24688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24689 (eval $ac_link) 2>&5
24691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24692 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24694 (eval $ac_try) 2>&5
24696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24697 (exit $ac_status); }; }; then
24698 ac_cv_c_bigendian=no
24700 echo "$as_me: program exited with status $ac_status" >&5
24701 echo "$as_me: failed program was:" >&5
24702 sed 's/^/| /' conftest.$ac_ext >&5
24704 ( exit $ac_status )
24705 ac_cv_c_bigendian=yes
24707 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24711 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24712 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
24713 if test $ac_cv_c_bigendian = unknown; then
24714 { 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
24715 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;}
24717 if test $ac_cv_c_bigendian = yes; then
24718 cat >>confdefs.h <<\_ACEOF
24719 #define WORDS_BIGENDIAN 1
24729 ac_cpp='$CXXCPP $CPPFLAGS'
24730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24735 echo "$as_me:$LINENO: checking for iostream" >&5
24736 echo $ECHO_N "checking for iostream... $ECHO_C" >&6
24737 if test "${ac_cv_header_iostream+set}" = set; then
24738 echo $ECHO_N "(cached) $ECHO_C" >&6
24740 cat >conftest.$ac_ext <<_ACEOF
24743 cat confdefs.h >>conftest.$ac_ext
24744 cat >>conftest.$ac_ext <<_ACEOF
24745 /* end confdefs.h. */
24748 #include <iostream>
24750 rm -f conftest.$ac_objext
24751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24752 (eval $ac_compile) 2>conftest.er1
24754 grep -v '^ *+' conftest.er1 >conftest.err
24756 cat conftest.err >&5
24757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24758 (exit $ac_status); } &&
24759 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24761 (eval $ac_try) 2>&5
24763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24764 (exit $ac_status); }; } &&
24765 { ac_try='test -s conftest.$ac_objext'
24766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24767 (eval $ac_try) 2>&5
24769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24770 (exit $ac_status); }; }; then
24771 ac_cv_header_iostream=yes
24773 echo "$as_me: failed program was:" >&5
24774 sed 's/^/| /' conftest.$ac_ext >&5
24776 ac_cv_header_iostream=no
24778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24780 echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
24781 echo "${ECHO_T}$ac_cv_header_iostream" >&6
24785 if test "$ac_cv_header_iostream" = "yes" ; then
24788 cat >>confdefs.h <<\_ACEOF
24789 #define wxUSE_IOSTREAMH 1
24795 ac_cpp='$CPP $CPPFLAGS'
24796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24803 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
24804 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
24805 if test "${wx_cv_cpp_bool+set}" = set; then
24806 echo $ECHO_N "(cached) $ECHO_C" >&6
24812 ac_cpp='$CXXCPP $CPPFLAGS'
24813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24818 cat >conftest.$ac_ext <<_ACEOF
24821 cat confdefs.h >>conftest.$ac_ext
24822 cat >>conftest.$ac_ext <<_ACEOF
24823 /* end confdefs.h. */
24838 rm -f conftest.$ac_objext
24839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24840 (eval $ac_compile) 2>conftest.er1
24842 grep -v '^ *+' conftest.er1 >conftest.err
24844 cat conftest.err >&5
24845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24846 (exit $ac_status); } &&
24847 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24849 (eval $ac_try) 2>&5
24851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24852 (exit $ac_status); }; } &&
24853 { ac_try='test -s conftest.$ac_objext'
24854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24855 (eval $ac_try) 2>&5
24857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24858 (exit $ac_status); }; }; then
24863 echo "$as_me: failed program was:" >&5
24864 sed 's/^/| /' conftest.$ac_ext >&5
24871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24874 ac_cpp='$CPP $CPPFLAGS'
24875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24881 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
24882 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
24884 if test "$wx_cv_cpp_bool" = "yes"; then
24885 cat >>confdefs.h <<\_ACEOF
24886 #define HAVE_BOOL 1
24893 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24894 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
24895 if test "${wx_cv_explicit+set}" = set; then
24896 echo $ECHO_N "(cached) $ECHO_C" >&6
24902 ac_cpp='$CXXCPP $CPPFLAGS'
24903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24908 cat >conftest.$ac_ext <<_ACEOF
24911 cat confdefs.h >>conftest.$ac_ext
24912 cat >>conftest.$ac_ext <<_ACEOF
24913 /* end confdefs.h. */
24915 class Foo { public: explicit Foo(int) {} };
24927 rm -f conftest.$ac_objext
24928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24929 (eval $ac_compile) 2>conftest.er1
24931 grep -v '^ *+' conftest.er1 >conftest.err
24933 cat conftest.err >&5
24934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935 (exit $ac_status); } &&
24936 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24938 (eval $ac_try) 2>&5
24940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941 (exit $ac_status); }; } &&
24942 { ac_try='test -s conftest.$ac_objext'
24943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24944 (eval $ac_try) 2>&5
24946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24947 (exit $ac_status); }; }; then
24949 cat >conftest.$ac_ext <<_ACEOF
24952 cat confdefs.h >>conftest.$ac_ext
24953 cat >>conftest.$ac_ext <<_ACEOF
24954 /* end confdefs.h. */
24956 class Foo { public: explicit Foo(int) {} };
24957 static void TakeFoo(const Foo& foo) { }
24970 rm -f conftest.$ac_objext
24971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24972 (eval $ac_compile) 2>conftest.er1
24974 grep -v '^ *+' conftest.er1 >conftest.err
24976 cat conftest.err >&5
24977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24978 (exit $ac_status); } &&
24979 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24981 (eval $ac_try) 2>&5
24983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24984 (exit $ac_status); }; } &&
24985 { ac_try='test -s conftest.$ac_objext'
24986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24987 (eval $ac_try) 2>&5
24989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24990 (exit $ac_status); }; }; then
24993 echo "$as_me: failed program was:" >&5
24994 sed 's/^/| /' conftest.$ac_ext >&5
24999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25002 echo "$as_me: failed program was:" >&5
25003 sed 's/^/| /' conftest.$ac_ext >&5
25008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25011 ac_cpp='$CPP $CPPFLAGS'
25012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25018 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25019 echo "${ECHO_T}$wx_cv_explicit" >&6
25021 if test "$wx_cv_explicit" = "yes"; then
25022 cat >>confdefs.h <<\_ACEOF
25023 #define HAVE_EXPLICIT 1
25029 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
25030 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
25031 if test "${ac_cv_cxx_const_cast+set}" = set; then
25032 echo $ECHO_N "(cached) $ECHO_C" >&6
25037 ac_cpp='$CXXCPP $CPPFLAGS'
25038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25042 cat >conftest.$ac_ext <<_ACEOF
25045 cat confdefs.h >>conftest.$ac_ext
25046 cat >>conftest.$ac_ext <<_ACEOF
25047 /* end confdefs.h. */
25052 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
25057 rm -f conftest.$ac_objext
25058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25059 (eval $ac_compile) 2>conftest.er1
25061 grep -v '^ *+' conftest.er1 >conftest.err
25063 cat conftest.err >&5
25064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25065 (exit $ac_status); } &&
25066 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
25072 { ac_try='test -s conftest.$ac_objext'
25073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25074 (eval $ac_try) 2>&5
25076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25077 (exit $ac_status); }; }; then
25078 ac_cv_cxx_const_cast=yes
25080 echo "$as_me: failed program was:" >&5
25081 sed 's/^/| /' conftest.$ac_ext >&5
25083 ac_cv_cxx_const_cast=no
25085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25087 ac_cpp='$CPP $CPPFLAGS'
25088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25094 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
25095 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
25096 if test "$ac_cv_cxx_const_cast" = yes; then
25098 cat >>confdefs.h <<\_ACEOF
25099 #define HAVE_CONST_CAST
25104 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
25105 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
25106 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
25107 echo $ECHO_N "(cached) $ECHO_C" >&6
25112 ac_cpp='$CXXCPP $CPPFLAGS'
25113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25117 cat >conftest.$ac_ext <<_ACEOF
25120 cat confdefs.h >>conftest.$ac_ext
25121 cat >>conftest.$ac_ext <<_ACEOF
25122 /* end confdefs.h. */
25123 #include <typeinfo>
25124 class Base { public : Base () {} virtual void f () = 0;};
25125 class Derived : public Base { public : Derived () {} virtual void f () {} };
25126 class Unrelated { public : Unrelated () {} };
25127 int g (Unrelated&) { return 0; }
25132 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
25137 rm -f conftest.$ac_objext
25138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25139 (eval $ac_compile) 2>conftest.er1
25141 grep -v '^ *+' conftest.er1 >conftest.err
25143 cat conftest.err >&5
25144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25145 (exit $ac_status); } &&
25146 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25148 (eval $ac_try) 2>&5
25150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25151 (exit $ac_status); }; } &&
25152 { ac_try='test -s conftest.$ac_objext'
25153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25154 (eval $ac_try) 2>&5
25156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25157 (exit $ac_status); }; }; then
25158 ac_cv_cxx_reinterpret_cast=yes
25160 echo "$as_me: failed program was:" >&5
25161 sed 's/^/| /' conftest.$ac_ext >&5
25163 ac_cv_cxx_reinterpret_cast=no
25165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25167 ac_cpp='$CPP $CPPFLAGS'
25168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25174 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
25175 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
25176 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
25178 cat >>confdefs.h <<\_ACEOF
25179 #define HAVE_REINTERPRET_CAST
25184 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
25185 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
25186 if test "${ac_cv_cxx_static_cast+set}" = set; then
25187 echo $ECHO_N "(cached) $ECHO_C" >&6
25192 ac_cpp='$CXXCPP $CPPFLAGS'
25193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25197 cat >conftest.$ac_ext <<_ACEOF
25200 cat confdefs.h >>conftest.$ac_ext
25201 cat >>conftest.$ac_ext <<_ACEOF
25202 /* end confdefs.h. */
25203 #include <typeinfo>
25204 class Base { public : Base () {} virtual void f () = 0; };
25205 class Derived : public Base { public : Derived () {} virtual void f () {} };
25206 int g (Derived&) { return 0; }
25211 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
25216 rm -f conftest.$ac_objext
25217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25218 (eval $ac_compile) 2>conftest.er1
25220 grep -v '^ *+' conftest.er1 >conftest.err
25222 cat conftest.err >&5
25223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25224 (exit $ac_status); } &&
25225 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25227 (eval $ac_try) 2>&5
25229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25230 (exit $ac_status); }; } &&
25231 { ac_try='test -s conftest.$ac_objext'
25232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25233 (eval $ac_try) 2>&5
25235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25236 (exit $ac_status); }; }; then
25237 ac_cv_cxx_static_cast=yes
25239 echo "$as_me: failed program was:" >&5
25240 sed 's/^/| /' conftest.$ac_ext >&5
25242 ac_cv_cxx_static_cast=no
25244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25246 ac_cpp='$CPP $CPPFLAGS'
25247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25253 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
25254 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
25255 if test "$ac_cv_cxx_static_cast" = yes; then
25257 cat >>confdefs.h <<\_ACEOF
25258 #define HAVE_STATIC_CAST
25264 if test "x$SUNCXX" = xyes; then
25265 CXXFLAGS="-features=tmplife $CXXFLAGS"
25268 if test "x$SUNCC" = xyes; then
25269 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25272 if test "x$SGICC" = "xyes"; then
25273 CFLAGS="-woff 3970 $CFLAGS"
25275 if test "x$SGICXX" = "xyes"; then
25276 CXXFLAGS="-woff 3970 $CXXFLAGS"
25279 if test "x$HPCC" = "xyes"; then
25280 CFLAGS="+W 2011,2450 $CFLAGS"
25282 if test "x$HPCXX" = "xyes"; then
25283 CXXFLAGS="+W 2340 $CXXFLAGS"
25286 if test "x$COMPAQCXX" = "xyes"; then
25287 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25291 ac_cpp='$CXXCPP $CPPFLAGS'
25292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25297 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25298 if test "$wxUSE_UNICODE" = "yes"; then
25299 std_string="std::wstring"
25300 char_type="wchar_t"
25302 std_string="std::string"
25306 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25307 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
25308 if test "${wx_cv_class_stdstring+set}" = set; then
25309 echo $ECHO_N "(cached) $ECHO_C" >&6
25312 cat >conftest.$ac_ext <<_ACEOF
25315 cat confdefs.h >>conftest.$ac_ext
25316 cat >>conftest.$ac_ext <<_ACEOF
25317 /* end confdefs.h. */
25327 rm -f conftest.$ac_objext
25328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25329 (eval $ac_compile) 2>conftest.er1
25331 grep -v '^ *+' conftest.er1 >conftest.err
25333 cat conftest.err >&5
25334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25335 (exit $ac_status); } &&
25336 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25338 (eval $ac_try) 2>&5
25340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25341 (exit $ac_status); }; } &&
25342 { ac_try='test -s conftest.$ac_objext'
25343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25344 (eval $ac_try) 2>&5
25346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25347 (exit $ac_status); }; }; then
25348 wx_cv_class_stdstring=yes
25350 echo "$as_me: failed program was:" >&5
25351 sed 's/^/| /' conftest.$ac_ext >&5
25353 wx_cv_class_stdstring=no
25356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25360 echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25361 echo "${ECHO_T}$wx_cv_class_stdstring" >&6
25363 if test "$wx_cv_class_stdstring" = yes; then
25364 if test "$wxUSE_UNICODE" = "yes"; then
25365 cat >>confdefs.h <<\_ACEOF
25366 #define HAVE_STD_WSTRING 1
25371 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25372 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
25373 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25374 echo $ECHO_N "(cached) $ECHO_C" >&6
25377 cat >conftest.$ac_ext <<_ACEOF
25380 cat confdefs.h >>conftest.$ac_ext
25381 cat >>conftest.$ac_ext <<_ACEOF
25382 /* end confdefs.h. */
25384 #ifdef HAVE_WCHAR_H
25386 # include <stddef.h>
25388 # include <wchar.h>
25390 #ifdef HAVE_STDLIB_H
25391 # include <stdlib.h>
25399 std::basic_string<$char_type> foo;
25400 const $char_type* dummy = foo.c_str();
25405 rm -f conftest.$ac_objext
25406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25407 (eval $ac_compile) 2>conftest.er1
25409 grep -v '^ *+' conftest.er1 >conftest.err
25411 cat conftest.err >&5
25412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25413 (exit $ac_status); } &&
25414 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25416 (eval $ac_try) 2>&5
25418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25419 (exit $ac_status); }; } &&
25420 { ac_try='test -s conftest.$ac_objext'
25421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25422 (eval $ac_try) 2>&5
25424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25425 (exit $ac_status); }; }; then
25426 wx_cv_class_stdbasicstring=yes
25428 echo "$as_me: failed program was:" >&5
25429 sed 's/^/| /' conftest.$ac_ext >&5
25431 wx_cv_class_stdbasicstring=no
25434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25438 echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25439 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6
25441 if test "$wx_cv_class_stdbasicstring" != yes; then
25442 if test "$wxUSE_STL" = "yes"; then
25443 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25444 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25445 { (exit 1); exit 1; }; }
25446 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
25447 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25448 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25449 { (exit 1); exit 1; }; }
25451 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25452 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25453 wxUSE_STD_STRING=no
25459 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25460 echo "$as_me:$LINENO: checking for std::istream" >&5
25461 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
25462 if test "${ac_cv_type_std__istream+set}" = set; then
25463 echo $ECHO_N "(cached) $ECHO_C" >&6
25465 cat >conftest.$ac_ext <<_ACEOF
25468 cat confdefs.h >>conftest.$ac_ext
25469 cat >>conftest.$ac_ext <<_ACEOF
25470 /* end confdefs.h. */
25471 #include <iostream>
25476 if ((std::istream *) 0)
25478 if (sizeof (std::istream))
25484 rm -f conftest.$ac_objext
25485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25486 (eval $ac_compile) 2>conftest.er1
25488 grep -v '^ *+' conftest.er1 >conftest.err
25490 cat conftest.err >&5
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); } &&
25493 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25495 (eval $ac_try) 2>&5
25497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25498 (exit $ac_status); }; } &&
25499 { ac_try='test -s conftest.$ac_objext'
25500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25501 (eval $ac_try) 2>&5
25503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25504 (exit $ac_status); }; }; then
25505 ac_cv_type_std__istream=yes
25507 echo "$as_me: failed program was:" >&5
25508 sed 's/^/| /' conftest.$ac_ext >&5
25510 ac_cv_type_std__istream=no
25512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25514 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25515 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
25516 if test $ac_cv_type_std__istream = yes; then
25518 cat >>confdefs.h <<_ACEOF
25519 #define HAVE_STD__ISTREAM 1
25524 wxUSE_STD_IOSTREAM=no
25526 echo "$as_me:$LINENO: checking for std::ostream" >&5
25527 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
25528 if test "${ac_cv_type_std__ostream+set}" = set; then
25529 echo $ECHO_N "(cached) $ECHO_C" >&6
25531 cat >conftest.$ac_ext <<_ACEOF
25534 cat confdefs.h >>conftest.$ac_ext
25535 cat >>conftest.$ac_ext <<_ACEOF
25536 /* end confdefs.h. */
25537 #include <iostream>
25542 if ((std::ostream *) 0)
25544 if (sizeof (std::ostream))
25550 rm -f conftest.$ac_objext
25551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25552 (eval $ac_compile) 2>conftest.er1
25554 grep -v '^ *+' conftest.er1 >conftest.err
25556 cat conftest.err >&5
25557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25558 (exit $ac_status); } &&
25559 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25561 (eval $ac_try) 2>&5
25563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25564 (exit $ac_status); }; } &&
25565 { ac_try='test -s conftest.$ac_objext'
25566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25567 (eval $ac_try) 2>&5
25569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25570 (exit $ac_status); }; }; then
25571 ac_cv_type_std__ostream=yes
25573 echo "$as_me: failed program was:" >&5
25574 sed 's/^/| /' conftest.$ac_ext >&5
25576 ac_cv_type_std__ostream=no
25578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25580 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25581 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
25582 if test $ac_cv_type_std__ostream = yes; then
25584 cat >>confdefs.h <<_ACEOF
25585 #define HAVE_STD__OSTREAM 1
25590 wxUSE_STD_IOSTREAM=no
25594 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25595 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
25596 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25597 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25598 { (exit 1); exit 1; }; }
25600 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25601 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25606 if test "$wxUSE_STL" = "yes"; then
25607 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25608 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
25609 if test "${wx_cv_lib_stl+set}" = set; then
25610 echo $ECHO_N "(cached) $ECHO_C" >&6
25612 cat >conftest.$ac_ext <<_ACEOF
25615 cat confdefs.h >>conftest.$ac_ext
25616 cat >>conftest.$ac_ext <<_ACEOF
25617 /* end confdefs.h. */
25619 #include <functional>
25620 #include <algorithm>
25626 std::vector<int> moo;
25627 std::list<int> foo;
25628 std::vector<int>::iterator it =
25629 std::find_if(moo.begin(), moo.end(),
25630 std::bind2nd(std::less<int>(), 3));
25635 rm -f conftest.$ac_objext
25636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25637 (eval $ac_compile) 2>conftest.er1
25639 grep -v '^ *+' conftest.er1 >conftest.err
25641 cat conftest.err >&5
25642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25643 (exit $ac_status); } &&
25644 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25646 (eval $ac_try) 2>&5
25648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25649 (exit $ac_status); }; } &&
25650 { ac_try='test -s conftest.$ac_objext'
25651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25652 (eval $ac_try) 2>&5
25654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25655 (exit $ac_status); }; }; then
25658 echo "$as_me: failed program was:" >&5
25659 sed 's/^/| /' conftest.$ac_ext >&5
25664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25667 echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25668 echo "${ECHO_T}$wx_cv_lib_stl" >&6
25670 if test "$wx_cv_lib_stl" != yes; then
25671 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25672 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25673 { (exit 1); exit 1; }; }
25676 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25677 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
25678 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25679 echo $ECHO_N "(cached) $ECHO_C" >&6
25681 cat >conftest.$ac_ext <<_ACEOF
25684 cat confdefs.h >>conftest.$ac_ext
25685 cat >>conftest.$ac_ext <<_ACEOF
25686 /* end confdefs.h. */
25691 std::string foo, bar;
25693 foo.compare(1, 1, bar);
25694 foo.compare(1, 1, bar, 1, 1);
25696 foo.compare(1, 1, "");
25697 foo.compare(1, 1, "", 2);
25702 rm -f conftest.$ac_objext
25703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25704 (eval $ac_compile) 2>conftest.er1
25706 grep -v '^ *+' conftest.er1 >conftest.err
25708 cat conftest.err >&5
25709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25710 (exit $ac_status); } &&
25711 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25713 (eval $ac_try) 2>&5
25715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25716 (exit $ac_status); }; } &&
25717 { ac_try='test -s conftest.$ac_objext'
25718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25719 (eval $ac_try) 2>&5
25721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25722 (exit $ac_status); }; }; then
25723 wx_cv_func_stdstring_compare=yes
25725 echo "$as_me: failed program was:" >&5
25726 sed 's/^/| /' conftest.$ac_ext >&5
25728 wx_cv_func_stdstring_compare=no
25731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25734 echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25735 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6
25737 if test "$wx_cv_func_stdstring_compare" = yes; then
25738 cat >>confdefs.h <<\_ACEOF
25739 #define HAVE_STD_STRING_COMPARE 1
25744 echo "$as_me:$LINENO: checking for hash_map" >&5
25745 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
25746 if test "${ac_cv_header_hash_map+set}" = set; then
25747 echo $ECHO_N "(cached) $ECHO_C" >&6
25749 cat >conftest.$ac_ext <<_ACEOF
25752 cat confdefs.h >>conftest.$ac_ext
25753 cat >>conftest.$ac_ext <<_ACEOF
25754 /* end confdefs.h. */
25758 #include <hash_map>
25760 rm -f conftest.$ac_objext
25761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25762 (eval $ac_compile) 2>conftest.er1
25764 grep -v '^ *+' conftest.er1 >conftest.err
25766 cat conftest.err >&5
25767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25768 (exit $ac_status); } &&
25769 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25771 (eval $ac_try) 2>&5
25773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25774 (exit $ac_status); }; } &&
25775 { ac_try='test -s conftest.$ac_objext'
25776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25777 (eval $ac_try) 2>&5
25779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25780 (exit $ac_status); }; }; then
25781 ac_cv_header_hash_map=yes
25783 echo "$as_me: failed program was:" >&5
25784 sed 's/^/| /' conftest.$ac_ext >&5
25786 ac_cv_header_hash_map=no
25788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25790 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25791 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
25792 if test $ac_cv_header_hash_map = yes; then
25793 echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
25794 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6
25795 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25796 echo $ECHO_N "(cached) $ECHO_C" >&6
25798 cat >conftest.$ac_ext <<_ACEOF
25801 cat confdefs.h >>conftest.$ac_ext
25802 cat >>conftest.$ac_ext <<_ACEOF
25803 /* end confdefs.h. */
25804 #include <hash_map>
25805 #include <hash_set>
25809 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25810 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25815 rm -f conftest.$ac_objext
25816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25817 (eval $ac_compile) 2>conftest.er1
25819 grep -v '^ *+' conftest.er1 >conftest.err
25821 cat conftest.err >&5
25822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25823 (exit $ac_status); } &&
25824 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25826 (eval $ac_try) 2>&5
25828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25829 (exit $ac_status); }; } &&
25830 { ac_try='test -s conftest.$ac_objext'
25831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25832 (eval $ac_try) 2>&5
25834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25835 (exit $ac_status); }; }; then
25836 wx_cv_class_stdhashmapset=yes
25838 echo "$as_me: failed program was:" >&5
25839 sed 's/^/| /' conftest.$ac_ext >&5
25841 wx_cv_class_stdhashmapset=no
25843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25847 echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25848 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6
25853 if test "$wx_cv_class_stdhashmapset" = yes; then
25854 cat >>confdefs.h <<\_ACEOF
25855 #define HAVE_HASH_MAP 1
25858 cat >>confdefs.h <<\_ACEOF
25859 #define HAVE_STD_HASH_MAP 1
25864 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25865 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
25866 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25867 echo $ECHO_N "(cached) $ECHO_C" >&6
25869 cat >conftest.$ac_ext <<_ACEOF
25872 cat confdefs.h >>conftest.$ac_ext
25873 cat >>conftest.$ac_ext <<_ACEOF
25874 /* end confdefs.h. */
25878 #include <ext/hash_map>
25880 rm -f conftest.$ac_objext
25881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25882 (eval $ac_compile) 2>conftest.er1
25884 grep -v '^ *+' conftest.er1 >conftest.err
25886 cat conftest.err >&5
25887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25888 (exit $ac_status); } &&
25889 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25891 (eval $ac_try) 2>&5
25893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25894 (exit $ac_status); }; } &&
25895 { ac_try='test -s conftest.$ac_objext'
25896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25897 (eval $ac_try) 2>&5
25899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25900 (exit $ac_status); }; }; then
25901 ac_cv_header_ext_hash_map=yes
25903 echo "$as_me: failed program was:" >&5
25904 sed 's/^/| /' conftest.$ac_ext >&5
25906 ac_cv_header_ext_hash_map=no
25908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25910 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25911 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
25912 if test $ac_cv_header_ext_hash_map = yes; then
25913 echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25914 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6
25915 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25916 echo $ECHO_N "(cached) $ECHO_C" >&6
25918 cat >conftest.$ac_ext <<_ACEOF
25921 cat confdefs.h >>conftest.$ac_ext
25922 cat >>conftest.$ac_ext <<_ACEOF
25923 /* end confdefs.h. */
25924 #include <ext/hash_map>
25925 #include <ext/hash_set>
25929 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25930 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25935 rm -f conftest.$ac_objext
25936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25937 (eval $ac_compile) 2>conftest.er1
25939 grep -v '^ *+' conftest.er1 >conftest.err
25941 cat conftest.err >&5
25942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25943 (exit $ac_status); } &&
25944 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25946 (eval $ac_try) 2>&5
25948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25949 (exit $ac_status); }; } &&
25950 { ac_try='test -s conftest.$ac_objext'
25951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25952 (eval $ac_try) 2>&5
25954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25955 (exit $ac_status); }; }; then
25956 wx_cv_class_gnuhashmapset=yes
25958 echo "$as_me: failed program was:" >&5
25959 sed 's/^/| /' conftest.$ac_ext >&5
25961 wx_cv_class_gnuhashmapset=no
25963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25967 echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25968 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6
25973 if test "$wx_cv_class_gnuhashmapset" = yes; then
25974 cat >>confdefs.h <<\_ACEOF
25975 #define HAVE_EXT_HASH_MAP 1
25978 cat >>confdefs.h <<\_ACEOF
25979 #define HAVE_GNU_CXX_HASH_MAP 1
25986 ac_cpp='$CPP $CPPFLAGS'
25987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25994 /usr/local/include \
25996 /usr/Motif-2.1/include \
25997 /usr/Motif-1.2/include \
25998 /usr/include/Motif1.2 \
26001 /usr/openwin/include \
26005 /usr/X11R6/include \
26006 /usr/X11R6.4/include \
26007 /usr/X11R5/include \
26008 /usr/X11R4/include \
26010 /usr/include/X11R6 \
26011 /usr/include/X11R5 \
26012 /usr/include/X11R4 \
26014 /usr/local/X11R6/include \
26015 /usr/local/X11R5/include \
26016 /usr/local/X11R4/include \
26018 /usr/local/include/X11R6 \
26019 /usr/local/include/X11R5 \
26020 /usr/local/include/X11R4 \
26024 /usr/local/X11/include \
26025 /usr/local/include/X11 \
26027 /usr/XFree86/include/X11 \
26030 /usr/openwin/share/include"
26032 echo "$as_me:$LINENO: checking for libraries directory" >&5
26033 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
26037 if test "${wx_cv_std_libpath+set}" = set; then
26038 echo $ECHO_N "(cached) $ECHO_C" >&6
26041 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26042 for e in a so sl dylib dll.a; do
26044 if test -f $libc; then
26047 cat >conftest.$ac_ext <<_ACEOF
26048 int main() { return 0; }
26050 rm -f conftest.$ac_objext conftest$ac_exeext
26051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26052 (eval $ac_link) 2>conftest.er1
26054 grep -v '^ *+' conftest.er1 >conftest.err
26056 cat conftest.err >&5
26057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26058 (exit $ac_status); } &&
26059 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26061 (eval $ac_try) 2>&5
26063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26064 (exit $ac_status); }; } &&
26065 { ac_try='test -s conftest$ac_exeext'
26066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26067 (eval $ac_try) 2>&5
26069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26070 (exit $ac_status); }; }; then
26071 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26073 echo "$as_me: failed program was:" >&5
26074 sed 's/^/| /' conftest.$ac_ext >&5
26077 rm -f conftest.err conftest.$ac_objext \
26078 conftest$ac_exeext conftest.$ac_ext
26080 if test "x$wx_cv_std_libpath" != "x"; then
26086 if test "x$wx_cv_std_libpath" = "x"; then
26087 wx_cv_std_libpath="lib"
26096 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26097 wx_cv_std_libpath="lib/64"
26099 wx_cv_std_libpath="lib"
26104 if test "$ac_cv_sizeof_void_p" = 8 -a \
26105 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26106 wx_cv_std_libpath="lib64"
26108 wx_cv_std_libpath="lib"
26113 wx_cv_std_libpath="lib";
26117 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26118 echo "${ECHO_T}$wx_cv_std_libpath" >&6
26120 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26122 if test "$build" != "$host" -a "$GCC" = yes; then
26123 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26124 cross_root=`dirname $cross_root`
26125 cross_root=`dirname $cross_root`
26127 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26128 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26129 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26131 if test -z "$PKG_CONFIG_PATH"; then
26132 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26133 export PKG_CONFIG_PATH
26136 if test -z "$x_includes" -o "$x_includes" = NONE; then
26139 for ac_dir in $SEARCH_INCLUDE /usr/include;
26141 if test -f "$ac_dir/X11/Intrinsic.h"; then
26142 ac_find_includes=$ac_dir
26147 x_includes=$ac_find_includes
26149 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26152 for ac_dir in $SEARCH_LIB;
26154 for ac_extension in a so sl dylib dll.a; do
26155 if test -f "$ac_dir/libXt.$ac_extension"; then
26156 ac_find_libraries=$ac_dir
26162 x_libraries=$ac_find_libraries
26168 cat >confcache <<\_ACEOF
26169 # This file is a shell script that caches the results of configure
26170 # tests run on this system so they can be shared between configure
26171 # scripts and configure runs, see configure's option --config-cache.
26172 # It is not useful on other systems. If it contains results you don't
26173 # want to keep, you may remove or edit it.
26175 # config.status only pays attention to the cache file if you give it
26176 # the --recheck option to rerun configure.
26178 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26179 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26180 # following values.
26184 # The following way of writing the cache mishandles newlines in values,
26185 # but we know of no workaround that is simple, portable, and efficient.
26186 # So, don't put newlines in cache variables' values.
26187 # Ultrix sh set writes to stderr and can't be redirected directly,
26188 # and sets the high bit in the cache file unless we assign to the vars.
26191 case `(ac_space=' '; set | grep ac_space) 2>&1` in
26193 # `set' does not quote correctly, so add quotes (double-quote
26194 # substitution turns \\\\ into \\, and sed turns \\ into \).
26197 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26200 # `set' quotes correctly as required by POSIX, so do not add quotes.
26202 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
26209 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26211 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26213 if diff $cache_file confcache >/dev/null 2>&1; then :; else
26214 if test -w $cache_file; then
26215 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
26216 cat confcache >$cache_file
26218 echo "not updating unwritable cache $cache_file"
26223 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26224 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26225 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
26226 if test "${wx_cv_lib_glibc21+set}" = set; then
26227 echo $ECHO_N "(cached) $ECHO_C" >&6
26230 cat >conftest.$ac_ext <<_ACEOF
26233 cat confdefs.h >>conftest.$ac_ext
26234 cat >>conftest.$ac_ext <<_ACEOF
26235 /* end confdefs.h. */
26236 #include <features.h>
26241 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26249 rm -f conftest.$ac_objext
26250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26251 (eval $ac_compile) 2>conftest.er1
26253 grep -v '^ *+' conftest.er1 >conftest.err
26255 cat conftest.err >&5
26256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26257 (exit $ac_status); } &&
26258 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26260 (eval $ac_try) 2>&5
26262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26263 (exit $ac_status); }; } &&
26264 { ac_try='test -s conftest.$ac_objext'
26265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26266 (eval $ac_try) 2>&5
26268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26269 (exit $ac_status); }; }; then
26271 wx_cv_lib_glibc21=yes
26274 echo "$as_me: failed program was:" >&5
26275 sed 's/^/| /' conftest.$ac_ext >&5
26278 wx_cv_lib_glibc21=no
26282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26285 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26286 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
26287 if test "$wx_cv_lib_glibc21" = "yes"; then
26288 cat >>confdefs.h <<\_ACEOF
26289 #define wxHAVE_GLIBC2 1
26295 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26296 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26297 cat >>confdefs.h <<\_ACEOF
26298 #define _GNU_SOURCE 1
26309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26310 echo "$as_me:$LINENO: checking for $ac_func" >&5
26311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26312 if eval "test \"\${$as_ac_var+set}\" = set"; then
26313 echo $ECHO_N "(cached) $ECHO_C" >&6
26315 cat >conftest.$ac_ext <<_ACEOF
26318 cat confdefs.h >>conftest.$ac_ext
26319 cat >>conftest.$ac_ext <<_ACEOF
26320 /* end confdefs.h. */
26321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26323 #define $ac_func innocuous_$ac_func
26325 /* System header to define __stub macros and hopefully few prototypes,
26326 which can conflict with char $ac_func (); below.
26327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26328 <limits.h> exists even on freestanding compilers. */
26331 # include <limits.h>
26333 # include <assert.h>
26338 /* Override any gcc2 internal prototype to avoid an error. */
26343 /* We use char because int might match the return type of a gcc2
26344 builtin and then its argument prototype would still apply. */
26346 /* The GNU C library defines this for functions which it implements
26347 to always fail with ENOSYS. Some functions are actually named
26348 something starting with __ and the normal name is an alias. */
26349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26352 char (*f) () = $ac_func;
26361 return f != $ac_func;
26366 rm -f conftest.$ac_objext conftest$ac_exeext
26367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26368 (eval $ac_link) 2>conftest.er1
26370 grep -v '^ *+' conftest.er1 >conftest.err
26372 cat conftest.err >&5
26373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26374 (exit $ac_status); } &&
26375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26377 (eval $ac_try) 2>&5
26379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26380 (exit $ac_status); }; } &&
26381 { ac_try='test -s conftest$ac_exeext'
26382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26383 (eval $ac_try) 2>&5
26385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26386 (exit $ac_status); }; }; then
26387 eval "$as_ac_var=yes"
26389 echo "$as_me: failed program was:" >&5
26390 sed 's/^/| /' conftest.$ac_ext >&5
26392 eval "$as_ac_var=no"
26394 rm -f conftest.err conftest.$ac_objext \
26395 conftest$ac_exeext conftest.$ac_ext
26397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26399 if test `eval echo '${'$as_ac_var'}'` = yes; then
26400 cat >>confdefs.h <<_ACEOF
26401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26408 for ac_func in floor
26410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26411 echo "$as_me:$LINENO: checking for $ac_func" >&5
26412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26413 if eval "test \"\${$as_ac_var+set}\" = set"; then
26414 echo $ECHO_N "(cached) $ECHO_C" >&6
26416 cat >conftest.$ac_ext <<_ACEOF
26419 cat confdefs.h >>conftest.$ac_ext
26420 cat >>conftest.$ac_ext <<_ACEOF
26421 /* end confdefs.h. */
26422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26424 #define $ac_func innocuous_$ac_func
26426 /* System header to define __stub macros and hopefully few prototypes,
26427 which can conflict with char $ac_func (); below.
26428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26429 <limits.h> exists even on freestanding compilers. */
26432 # include <limits.h>
26434 # include <assert.h>
26439 /* Override any gcc2 internal prototype to avoid an error. */
26444 /* We use char because int might match the return type of a gcc2
26445 builtin and then its argument prototype would still apply. */
26447 /* The GNU C library defines this for functions which it implements
26448 to always fail with ENOSYS. Some functions are actually named
26449 something starting with __ and the normal name is an alias. */
26450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26453 char (*f) () = $ac_func;
26462 return f != $ac_func;
26467 rm -f conftest.$ac_objext conftest$ac_exeext
26468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26469 (eval $ac_link) 2>conftest.er1
26471 grep -v '^ *+' conftest.er1 >conftest.err
26473 cat conftest.err >&5
26474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26475 (exit $ac_status); } &&
26476 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26478 (eval $ac_try) 2>&5
26480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26481 (exit $ac_status); }; } &&
26482 { ac_try='test -s conftest$ac_exeext'
26483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26484 (eval $ac_try) 2>&5
26486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26487 (exit $ac_status); }; }; then
26488 eval "$as_ac_var=yes"
26490 echo "$as_me: failed program was:" >&5
26491 sed 's/^/| /' conftest.$ac_ext >&5
26493 eval "$as_ac_var=no"
26495 rm -f conftest.err conftest.$ac_objext \
26496 conftest$ac_exeext conftest.$ac_ext
26498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26500 if test `eval echo '${'$as_ac_var'}'` = yes; then
26501 cat >>confdefs.h <<_ACEOF
26502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26508 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26509 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
26510 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26511 echo "$as_me:$LINENO: result: yes" >&5
26512 echo "${ECHO_T}yes" >&6
26514 echo "$as_me:$LINENO: result: no" >&5
26515 echo "${ECHO_T}no" >&6
26517 # use different functions to avoid configure caching
26523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26524 echo "$as_me:$LINENO: checking for $ac_func" >&5
26525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26526 if eval "test \"\${$as_ac_var+set}\" = set"; then
26527 echo $ECHO_N "(cached) $ECHO_C" >&6
26529 cat >conftest.$ac_ext <<_ACEOF
26532 cat confdefs.h >>conftest.$ac_ext
26533 cat >>conftest.$ac_ext <<_ACEOF
26534 /* end confdefs.h. */
26535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26537 #define $ac_func innocuous_$ac_func
26539 /* System header to define __stub macros and hopefully few prototypes,
26540 which can conflict with char $ac_func (); below.
26541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26542 <limits.h> exists even on freestanding compilers. */
26545 # include <limits.h>
26547 # include <assert.h>
26552 /* Override any gcc2 internal prototype to avoid an error. */
26557 /* We use char because int might match the return type of a gcc2
26558 builtin and then its argument prototype would still apply. */
26560 /* The GNU C library defines this for functions which it implements
26561 to always fail with ENOSYS. Some functions are actually named
26562 something starting with __ and the normal name is an alias. */
26563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26566 char (*f) () = $ac_func;
26575 return f != $ac_func;
26580 rm -f conftest.$ac_objext conftest$ac_exeext
26581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26582 (eval $ac_link) 2>conftest.er1
26584 grep -v '^ *+' conftest.er1 >conftest.err
26586 cat conftest.err >&5
26587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26588 (exit $ac_status); } &&
26589 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26591 (eval $ac_try) 2>&5
26593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26594 (exit $ac_status); }; } &&
26595 { ac_try='test -s conftest$ac_exeext'
26596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26597 (eval $ac_try) 2>&5
26599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26600 (exit $ac_status); }; }; then
26601 eval "$as_ac_var=yes"
26603 echo "$as_me: failed program was:" >&5
26604 sed 's/^/| /' conftest.$ac_ext >&5
26606 eval "$as_ac_var=no"
26608 rm -f conftest.err conftest.$ac_objext \
26609 conftest$ac_exeext conftest.$ac_ext
26611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26613 if test `eval echo '${'$as_ac_var'}'` = yes; then
26614 cat >>confdefs.h <<_ACEOF
26615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26622 for ac_func in ceil
26624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26625 echo "$as_me:$LINENO: checking for $ac_func" >&5
26626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26627 if eval "test \"\${$as_ac_var+set}\" = set"; then
26628 echo $ECHO_N "(cached) $ECHO_C" >&6
26630 cat >conftest.$ac_ext <<_ACEOF
26633 cat confdefs.h >>conftest.$ac_ext
26634 cat >>conftest.$ac_ext <<_ACEOF
26635 /* end confdefs.h. */
26636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26638 #define $ac_func innocuous_$ac_func
26640 /* System header to define __stub macros and hopefully few prototypes,
26641 which can conflict with char $ac_func (); below.
26642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26643 <limits.h> exists even on freestanding compilers. */
26646 # include <limits.h>
26648 # include <assert.h>
26653 /* Override any gcc2 internal prototype to avoid an error. */
26658 /* We use char because int might match the return type of a gcc2
26659 builtin and then its argument prototype would still apply. */
26661 /* The GNU C library defines this for functions which it implements
26662 to always fail with ENOSYS. Some functions are actually named
26663 something starting with __ and the normal name is an alias. */
26664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26667 char (*f) () = $ac_func;
26676 return f != $ac_func;
26681 rm -f conftest.$ac_objext conftest$ac_exeext
26682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26683 (eval $ac_link) 2>conftest.er1
26685 grep -v '^ *+' conftest.er1 >conftest.err
26687 cat conftest.err >&5
26688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26689 (exit $ac_status); } &&
26690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26692 (eval $ac_try) 2>&5
26694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26695 (exit $ac_status); }; } &&
26696 { ac_try='test -s conftest$ac_exeext'
26697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26698 (eval $ac_try) 2>&5
26700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26701 (exit $ac_status); }; }; then
26702 eval "$as_ac_var=yes"
26704 echo "$as_me: failed program was:" >&5
26705 sed 's/^/| /' conftest.$ac_ext >&5
26707 eval "$as_ac_var=no"
26709 rm -f conftest.err conftest.$ac_objext \
26710 conftest$ac_exeext conftest.$ac_ext
26712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26714 if test `eval echo '${'$as_ac_var'}'` = yes; then
26715 cat >>confdefs.h <<_ACEOF
26716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26722 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26723 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
26724 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26725 echo "$as_me:$LINENO: result: yes" >&5
26726 echo "${ECHO_T}yes" >&6
26728 echo "$as_me:$LINENO: result: no" >&5
26729 echo "${ECHO_T}no" >&6
26730 # not sure we should warn the user, crash, etc.
26735 ac_cpp='$CXXCPP $CPPFLAGS'
26736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26740 if test "wxUSE_UNICODE" = "yes"; then
26742 for wx_func in wcstoull
26744 echo "$as_me:$LINENO: checking for $wx_func" >&5
26745 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
26746 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
26747 echo $ECHO_N "(cached) $ECHO_C" >&6
26750 cat >conftest.$ac_ext <<_ACEOF
26754 cat confdefs.h >>conftest.$ac_ext
26755 cat >>conftest.$ac_ext <<_ACEOF
26756 /* end confdefs.h. */
26759 $ac_includes_default
26775 rm -f conftest.$ac_objext conftest$ac_exeext
26776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26777 (eval $ac_link) 2>conftest.er1
26779 grep -v '^ *+' conftest.er1 >conftest.err
26781 cat conftest.err >&5
26782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26783 (exit $ac_status); } &&
26784 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26786 (eval $ac_try) 2>&5
26788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26789 (exit $ac_status); }; } &&
26790 { ac_try='test -s conftest$ac_exeext'
26791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26792 (eval $ac_try) 2>&5
26794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26795 (exit $ac_status); }; }; then
26796 eval wx_cv_func_$wx_func=yes
26798 echo "$as_me: failed program was:" >&5
26799 sed 's/^/| /' conftest.$ac_ext >&5
26801 eval wx_cv_func_$wx_func=no
26803 rm -f conftest.err conftest.$ac_objext \
26804 conftest$ac_exeext conftest.$ac_ext
26807 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
26808 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
26810 if eval test \$wx_cv_func_$wx_func = yes
26812 cat >>confdefs.h <<_ACEOF
26813 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
26825 for wx_func in strtoull
26827 echo "$as_me:$LINENO: checking for $wx_func" >&5
26828 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
26829 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
26830 echo $ECHO_N "(cached) $ECHO_C" >&6
26833 cat >conftest.$ac_ext <<_ACEOF
26837 cat confdefs.h >>conftest.$ac_ext
26838 cat >>conftest.$ac_ext <<_ACEOF
26839 /* end confdefs.h. */
26842 $ac_includes_default
26858 rm -f conftest.$ac_objext conftest$ac_exeext
26859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26860 (eval $ac_link) 2>conftest.er1
26862 grep -v '^ *+' conftest.er1 >conftest.err
26864 cat conftest.err >&5
26865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26866 (exit $ac_status); } &&
26867 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26869 (eval $ac_try) 2>&5
26871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26872 (exit $ac_status); }; } &&
26873 { ac_try='test -s conftest$ac_exeext'
26874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26875 (eval $ac_try) 2>&5
26877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26878 (exit $ac_status); }; }; then
26879 eval wx_cv_func_$wx_func=yes
26881 echo "$as_me: failed program was:" >&5
26882 sed 's/^/| /' conftest.$ac_ext >&5
26884 eval wx_cv_func_$wx_func=no
26886 rm -f conftest.err conftest.$ac_objext \
26887 conftest$ac_exeext conftest.$ac_ext
26890 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
26891 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
26893 if eval test \$wx_cv_func_$wx_func = yes
26895 cat >>confdefs.h <<_ACEOF
26896 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
26908 ac_cpp='$CPP $CPPFLAGS'
26909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26916 if test "$wxUSE_REGEX" != "no"; then
26917 cat >>confdefs.h <<\_ACEOF
26918 #define wxUSE_REGEX 1
26922 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26923 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
26924 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
26925 wxUSE_REGEX=builtin
26928 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26929 echo "$as_me:$LINENO: checking for regex.h" >&5
26930 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
26931 if test "${ac_cv_header_regex_h+set}" = set; then
26932 echo $ECHO_N "(cached) $ECHO_C" >&6
26934 cat >conftest.$ac_ext <<_ACEOF
26937 cat confdefs.h >>conftest.$ac_ext
26938 cat >>conftest.$ac_ext <<_ACEOF
26939 /* end confdefs.h. */
26944 rm -f conftest.$ac_objext
26945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26946 (eval $ac_compile) 2>conftest.er1
26948 grep -v '^ *+' conftest.er1 >conftest.err
26950 cat conftest.err >&5
26951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26952 (exit $ac_status); } &&
26953 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26955 (eval $ac_try) 2>&5
26957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26958 (exit $ac_status); }; } &&
26959 { ac_try='test -s conftest.$ac_objext'
26960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26961 (eval $ac_try) 2>&5
26963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26964 (exit $ac_status); }; }; then
26965 ac_cv_header_regex_h=yes
26967 echo "$as_me: failed program was:" >&5
26968 sed 's/^/| /' conftest.$ac_ext >&5
26970 ac_cv_header_regex_h=no
26972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26974 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26975 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
26976 if test $ac_cv_header_regex_h = yes; then
26979 for ac_func in regcomp re_search
26981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26982 echo "$as_me:$LINENO: checking for $ac_func" >&5
26983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26984 if eval "test \"\${$as_ac_var+set}\" = set"; then
26985 echo $ECHO_N "(cached) $ECHO_C" >&6
26987 cat >conftest.$ac_ext <<_ACEOF
26990 cat confdefs.h >>conftest.$ac_ext
26991 cat >>conftest.$ac_ext <<_ACEOF
26992 /* end confdefs.h. */
26993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26995 #define $ac_func innocuous_$ac_func
26997 /* System header to define __stub macros and hopefully few prototypes,
26998 which can conflict with char $ac_func (); below.
26999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27000 <limits.h> exists even on freestanding compilers. */
27003 # include <limits.h>
27005 # include <assert.h>
27010 /* Override any gcc2 internal prototype to avoid an error. */
27015 /* We use char because int might match the return type of a gcc2
27016 builtin and then its argument prototype would still apply. */
27018 /* The GNU C library defines this for functions which it implements
27019 to always fail with ENOSYS. Some functions are actually named
27020 something starting with __ and the normal name is an alias. */
27021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27024 char (*f) () = $ac_func;
27033 return f != $ac_func;
27038 rm -f conftest.$ac_objext conftest$ac_exeext
27039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27040 (eval $ac_link) 2>conftest.er1
27042 grep -v '^ *+' conftest.er1 >conftest.err
27044 cat conftest.err >&5
27045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27046 (exit $ac_status); } &&
27047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27049 (eval $ac_try) 2>&5
27051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27052 (exit $ac_status); }; } &&
27053 { ac_try='test -s conftest$ac_exeext'
27054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27055 (eval $ac_try) 2>&5
27057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27058 (exit $ac_status); }; }; then
27059 eval "$as_ac_var=yes"
27061 echo "$as_me: failed program was:" >&5
27062 sed 's/^/| /' conftest.$ac_ext >&5
27064 eval "$as_ac_var=no"
27066 rm -f conftest.err conftest.$ac_objext \
27067 conftest$ac_exeext conftest.$ac_ext
27069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27071 if test `eval echo '${'$as_ac_var'}'` = yes; then
27072 cat >>confdefs.h <<_ACEOF
27073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27083 if test "x$ac_cv_func_regcomp" != "xyes"; then
27084 if test "$wxUSE_REGEX" = "sys" ; then
27085 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27086 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27087 { (exit 1); exit 1; }; }
27089 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27090 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27091 wxUSE_REGEX=builtin
27095 cat >>confdefs.h <<\_ACEOF
27096 #define WX_NO_REGEX_ADVANCED 1
27105 if test "$wxUSE_ZLIB" != "no" ; then
27106 cat >>confdefs.h <<\_ACEOF
27107 #define wxUSE_ZLIB 1
27111 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27112 if test "$USE_DARWIN" = 1; then
27113 system_zlib_h_ok="yes"
27115 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27116 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
27117 if test "${ac_cv_header_zlib_h+set}" = set; then
27118 echo $ECHO_N "(cached) $ECHO_C" >&6
27120 if test "$cross_compiling" = yes; then
27121 unset ac_cv_header_zlib_h
27124 cat >conftest.$ac_ext <<_ACEOF
27127 cat confdefs.h >>conftest.$ac_ext
27128 cat >>conftest.$ac_ext <<_ACEOF
27129 /* end confdefs.h. */
27136 FILE *f=fopen("conftestval", "w");
27139 ZLIB_VERSION[0] == '1' &&
27140 (ZLIB_VERSION[2] > '1' ||
27141 (ZLIB_VERSION[2] == '1' &&
27142 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27147 rm -f conftest$ac_exeext
27148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27149 (eval $ac_link) 2>&5
27151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27152 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27154 (eval $ac_try) 2>&5
27156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27157 (exit $ac_status); }; }; then
27158 ac_cv_header_zlib_h=`cat conftestval`
27160 echo "$as_me: program exited with status $ac_status" >&5
27161 echo "$as_me: failed program was:" >&5
27162 sed 's/^/| /' conftest.$ac_ext >&5
27164 ( exit $ac_status )
27165 ac_cv_header_zlib_h=no
27167 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27171 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27172 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
27173 echo "$as_me:$LINENO: checking for zlib.h" >&5
27174 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
27175 if test "${ac_cv_header_zlib_h+set}" = set; then
27176 echo $ECHO_N "(cached) $ECHO_C" >&6
27178 cat >conftest.$ac_ext <<_ACEOF
27181 cat confdefs.h >>conftest.$ac_ext
27182 cat >>conftest.$ac_ext <<_ACEOF
27183 /* end confdefs.h. */
27188 rm -f conftest.$ac_objext
27189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27190 (eval $ac_compile) 2>conftest.er1
27192 grep -v '^ *+' conftest.er1 >conftest.err
27194 cat conftest.err >&5
27195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27196 (exit $ac_status); } &&
27197 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27199 (eval $ac_try) 2>&5
27201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202 (exit $ac_status); }; } &&
27203 { ac_try='test -s conftest.$ac_objext'
27204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27205 (eval $ac_try) 2>&5
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); }; }; then
27209 ac_cv_header_zlib_h=yes
27211 echo "$as_me: failed program was:" >&5
27212 sed 's/^/| /' conftest.$ac_ext >&5
27214 ac_cv_header_zlib_h=no
27216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27218 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27219 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
27223 system_zlib_h_ok=$ac_cv_header_zlib_h
27226 if test "$system_zlib_h_ok" = "yes"; then
27227 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27228 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
27229 if test "${ac_cv_lib_z_deflate+set}" = set; then
27230 echo $ECHO_N "(cached) $ECHO_C" >&6
27232 ac_check_lib_save_LIBS=$LIBS
27234 cat >conftest.$ac_ext <<_ACEOF
27237 cat confdefs.h >>conftest.$ac_ext
27238 cat >>conftest.$ac_ext <<_ACEOF
27239 /* end confdefs.h. */
27241 /* Override any gcc2 internal prototype to avoid an error. */
27245 /* We use char because int might match the return type of a gcc2
27246 builtin and then its argument prototype would still apply. */
27256 rm -f conftest.$ac_objext conftest$ac_exeext
27257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27258 (eval $ac_link) 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); } &&
27265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27267 (eval $ac_try) 2>&5
27269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27270 (exit $ac_status); }; } &&
27271 { ac_try='test -s conftest$ac_exeext'
27272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27273 (eval $ac_try) 2>&5
27275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27276 (exit $ac_status); }; }; then
27277 ac_cv_lib_z_deflate=yes
27279 echo "$as_me: failed program was:" >&5
27280 sed 's/^/| /' conftest.$ac_ext >&5
27282 ac_cv_lib_z_deflate=no
27284 rm -f conftest.err conftest.$ac_objext \
27285 conftest$ac_exeext conftest.$ac_ext
27286 LIBS=$ac_check_lib_save_LIBS
27288 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27289 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
27290 if test $ac_cv_lib_z_deflate = yes; then
27296 if test "x$ZLIB_LINK" = "x" ; then
27297 if test "$wxUSE_ZLIB" = "sys" ; then
27298 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27299 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27300 { (exit 1); exit 1; }; }
27302 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27303 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27314 if test "$wxUSE_LIBPNG" != "no" ; then
27315 cat >>confdefs.h <<\_ACEOF
27316 #define wxUSE_LIBPNG 1
27320 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27321 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27322 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27326 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27327 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27328 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27329 wxUSE_LIBPNG=builtin
27332 if test "$wxUSE_MGL" != 1 ; then
27333 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27334 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27335 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
27336 if test "${ac_cv_header_png_h+set}" = set; then
27337 echo $ECHO_N "(cached) $ECHO_C" >&6
27339 if test "$cross_compiling" = yes; then
27340 unset ac_cv_header_png_h
27343 cat >conftest.$ac_ext <<_ACEOF
27346 cat confdefs.h >>conftest.$ac_ext
27347 cat >>conftest.$ac_ext <<_ACEOF
27348 /* end confdefs.h. */
27355 FILE *f=fopen("conftestval", "w");
27358 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27363 rm -f conftest$ac_exeext
27364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27365 (eval $ac_link) 2>&5
27367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27368 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27370 (eval $ac_try) 2>&5
27372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27373 (exit $ac_status); }; }; then
27374 ac_cv_header_png_h=`cat conftestval`
27376 echo "$as_me: program exited with status $ac_status" >&5
27377 echo "$as_me: failed program was:" >&5
27378 sed 's/^/| /' conftest.$ac_ext >&5
27380 ( exit $ac_status )
27381 ac_cv_header_png_h=no
27383 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27387 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27388 echo "${ECHO_T}$ac_cv_header_png_h" >&6
27389 echo "$as_me:$LINENO: checking for png.h" >&5
27390 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
27391 if test "${ac_cv_header_png_h+set}" = set; then
27392 echo $ECHO_N "(cached) $ECHO_C" >&6
27394 cat >conftest.$ac_ext <<_ACEOF
27397 cat confdefs.h >>conftest.$ac_ext
27398 cat >>conftest.$ac_ext <<_ACEOF
27399 /* end confdefs.h. */
27404 rm -f conftest.$ac_objext
27405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27406 (eval $ac_compile) 2>conftest.er1
27408 grep -v '^ *+' conftest.er1 >conftest.err
27410 cat conftest.err >&5
27411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27412 (exit $ac_status); } &&
27413 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27415 (eval $ac_try) 2>&5
27417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27418 (exit $ac_status); }; } &&
27419 { ac_try='test -s conftest.$ac_objext'
27420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27421 (eval $ac_try) 2>&5
27423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27424 (exit $ac_status); }; }; then
27425 ac_cv_header_png_h=yes
27427 echo "$as_me: failed program was:" >&5
27428 sed 's/^/| /' conftest.$ac_ext >&5
27430 ac_cv_header_png_h=no
27432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27434 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27435 echo "${ECHO_T}$ac_cv_header_png_h" >&6
27439 if test "$ac_cv_header_png_h" = "yes"; then
27440 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
27441 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
27442 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
27443 echo $ECHO_N "(cached) $ECHO_C" >&6
27445 ac_check_lib_save_LIBS=$LIBS
27446 LIBS="-lpng -lz -lm $LIBS"
27447 cat >conftest.$ac_ext <<_ACEOF
27450 cat confdefs.h >>conftest.$ac_ext
27451 cat >>conftest.$ac_ext <<_ACEOF
27452 /* end confdefs.h. */
27454 /* Override any gcc2 internal prototype to avoid an error. */
27458 /* We use char because int might match the return type of a gcc2
27459 builtin and then its argument prototype would still apply. */
27460 char png_check_sig ();
27469 rm -f conftest.$ac_objext conftest$ac_exeext
27470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27471 (eval $ac_link) 2>conftest.er1
27473 grep -v '^ *+' conftest.er1 >conftest.err
27475 cat conftest.err >&5
27476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27477 (exit $ac_status); } &&
27478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27480 (eval $ac_try) 2>&5
27482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27483 (exit $ac_status); }; } &&
27484 { ac_try='test -s conftest$ac_exeext'
27485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27486 (eval $ac_try) 2>&5
27488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27489 (exit $ac_status); }; }; then
27490 ac_cv_lib_png_png_check_sig=yes
27492 echo "$as_me: failed program was:" >&5
27493 sed 's/^/| /' conftest.$ac_ext >&5
27495 ac_cv_lib_png_png_check_sig=no
27497 rm -f conftest.err conftest.$ac_objext \
27498 conftest$ac_exeext conftest.$ac_ext
27499 LIBS=$ac_check_lib_save_LIBS
27501 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
27502 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
27503 if test $ac_cv_lib_png_png_check_sig = yes; then
27504 PNG_LINK=" -lpng -lz"
27509 if test "x$PNG_LINK" = "x" ; then
27510 if test "$wxUSE_LIBPNG" = "sys" ; then
27511 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27512 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27513 { (exit 1); exit 1; }; }
27515 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27516 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27517 wxUSE_LIBPNG=builtin
27525 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
27530 if test "$wxUSE_LIBJPEG" != "no" ; then
27531 cat >>confdefs.h <<\_ACEOF
27532 #define wxUSE_LIBJPEG 1
27536 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27537 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27538 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27542 if test "$wxUSE_MGL" != 1 ; then
27543 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27544 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27545 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
27546 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27547 echo $ECHO_N "(cached) $ECHO_C" >&6
27549 cat >conftest.$ac_ext <<_ACEOF
27552 cat confdefs.h >>conftest.$ac_ext
27553 cat >>conftest.$ac_ext <<_ACEOF
27554 /* end confdefs.h. */
27556 #undef HAVE_STDLIB_H
27558 #include <jpeglib.h>
27569 rm -f conftest.$ac_objext
27570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27571 (eval $ac_compile) 2>conftest.er1
27573 grep -v '^ *+' conftest.er1 >conftest.err
27575 cat conftest.err >&5
27576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27577 (exit $ac_status); } &&
27578 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27580 (eval $ac_try) 2>&5
27582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27583 (exit $ac_status); }; } &&
27584 { ac_try='test -s conftest.$ac_objext'
27585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27586 (eval $ac_try) 2>&5
27588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27589 (exit $ac_status); }; }; then
27590 ac_cv_header_jpeglib_h=yes
27592 echo "$as_me: failed program was:" >&5
27593 sed 's/^/| /' conftest.$ac_ext >&5
27595 ac_cv_header_jpeglib_h=no
27598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27602 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27603 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
27605 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27606 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27607 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
27608 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27609 echo $ECHO_N "(cached) $ECHO_C" >&6
27611 ac_check_lib_save_LIBS=$LIBS
27612 LIBS="-ljpeg $LIBS"
27613 cat >conftest.$ac_ext <<_ACEOF
27616 cat confdefs.h >>conftest.$ac_ext
27617 cat >>conftest.$ac_ext <<_ACEOF
27618 /* end confdefs.h. */
27620 /* Override any gcc2 internal prototype to avoid an error. */
27624 /* We use char because int might match the return type of a gcc2
27625 builtin and then its argument prototype would still apply. */
27626 char jpeg_read_header ();
27630 jpeg_read_header ();
27635 rm -f conftest.$ac_objext conftest$ac_exeext
27636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27637 (eval $ac_link) 2>conftest.er1
27639 grep -v '^ *+' conftest.er1 >conftest.err
27641 cat conftest.err >&5
27642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27643 (exit $ac_status); } &&
27644 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27646 (eval $ac_try) 2>&5
27648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27649 (exit $ac_status); }; } &&
27650 { ac_try='test -s conftest$ac_exeext'
27651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27652 (eval $ac_try) 2>&5
27654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27655 (exit $ac_status); }; }; then
27656 ac_cv_lib_jpeg_jpeg_read_header=yes
27658 echo "$as_me: failed program was:" >&5
27659 sed 's/^/| /' conftest.$ac_ext >&5
27661 ac_cv_lib_jpeg_jpeg_read_header=no
27663 rm -f conftest.err conftest.$ac_objext \
27664 conftest$ac_exeext conftest.$ac_ext
27665 LIBS=$ac_check_lib_save_LIBS
27667 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27668 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
27669 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27670 JPEG_LINK=" -ljpeg"
27675 if test "x$JPEG_LINK" = "x" ; then
27676 if test "$wxUSE_LIBJPEG" = "sys" ; then
27677 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27678 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27679 { (exit 1); exit 1; }; }
27681 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27682 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27683 wxUSE_LIBJPEG=builtin
27688 if test "$wxUSE_MSW" = 1; then
27689 echo "$as_me:$LINENO: checking for boolean" >&5
27690 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27691 if test "${ac_cv_type_boolean+set}" = set; then
27692 echo $ECHO_N "(cached) $ECHO_C" >&6
27694 cat >conftest.$ac_ext <<_ACEOF
27697 cat confdefs.h >>conftest.$ac_ext
27698 cat >>conftest.$ac_ext <<_ACEOF
27699 /* end confdefs.h. */
27700 #include <windows.h>
27707 if (sizeof (boolean))
27713 rm -f conftest.$ac_objext
27714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27715 (eval $ac_compile) 2>conftest.er1
27717 grep -v '^ *+' conftest.er1 >conftest.err
27719 cat conftest.err >&5
27720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27721 (exit $ac_status); } &&
27722 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27724 (eval $ac_try) 2>&5
27726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27727 (exit $ac_status); }; } &&
27728 { ac_try='test -s conftest.$ac_objext'
27729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27730 (eval $ac_try) 2>&5
27732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27733 (exit $ac_status); }; }; then
27734 ac_cv_type_boolean=yes
27736 echo "$as_me: failed program was:" >&5
27737 sed 's/^/| /' conftest.$ac_ext >&5
27739 ac_cv_type_boolean=no
27741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27743 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27744 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27745 if test $ac_cv_type_boolean = yes; then
27747 cat >>confdefs.h <<_ACEOF
27748 #define HAVE_BOOLEAN 1
27752 echo "$as_me:$LINENO: checking for boolean" >&5
27753 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27754 if test "${ac_cv_type_boolean+set}" = set; then
27755 echo $ECHO_N "(cached) $ECHO_C" >&6
27757 cat >conftest.$ac_ext <<_ACEOF
27760 cat confdefs.h >>conftest.$ac_ext
27761 cat >>conftest.$ac_ext <<_ACEOF
27762 /* end confdefs.h. */
27764 #undef HAVE_BOOLEAN
27766 #include <jpeglib.h>
27774 if (sizeof (boolean))
27780 rm -f conftest.$ac_objext
27781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27782 (eval $ac_compile) 2>conftest.er1
27784 grep -v '^ *+' conftest.er1 >conftest.err
27786 cat conftest.err >&5
27787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27788 (exit $ac_status); } &&
27789 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27791 (eval $ac_try) 2>&5
27793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27794 (exit $ac_status); }; } &&
27795 { ac_try='test -s conftest.$ac_objext'
27796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27797 (eval $ac_try) 2>&5
27799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27800 (exit $ac_status); }; }; then
27801 ac_cv_type_boolean=yes
27803 echo "$as_me: failed program was:" >&5
27804 sed 's/^/| /' conftest.$ac_ext >&5
27806 ac_cv_type_boolean=no
27808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27810 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27811 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27813 echo "$as_me:$LINENO: checking size of boolean" >&5
27814 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6
27815 if test "${ac_cv_sizeof_boolean+set}" = set; then
27816 echo $ECHO_N "(cached) $ECHO_C" >&6
27818 if test "$ac_cv_type_boolean" = yes; then
27819 # The cast to unsigned long works around a bug in the HP C Compiler
27820 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27821 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27822 # This bug is HP SR number 8606223364.
27823 if test "$cross_compiling" = yes; then
27824 # Depending upon the size, compute the lo and hi bounds.
27825 cat >conftest.$ac_ext <<_ACEOF
27828 cat confdefs.h >>conftest.$ac_ext
27829 cat >>conftest.$ac_ext <<_ACEOF
27830 /* end confdefs.h. */
27832 #undef HAVE_BOOLEAN
27834 #include <jpeglib.h>
27840 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= 0)];
27847 rm -f conftest.$ac_objext
27848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27849 (eval $ac_compile) 2>conftest.er1
27851 grep -v '^ *+' conftest.er1 >conftest.err
27853 cat conftest.err >&5
27854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27855 (exit $ac_status); } &&
27856 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27858 (eval $ac_try) 2>&5
27860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27861 (exit $ac_status); }; } &&
27862 { ac_try='test -s conftest.$ac_objext'
27863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27864 (eval $ac_try) 2>&5
27866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27867 (exit $ac_status); }; }; then
27870 cat >conftest.$ac_ext <<_ACEOF
27873 cat confdefs.h >>conftest.$ac_ext
27874 cat >>conftest.$ac_ext <<_ACEOF
27875 /* end confdefs.h. */
27877 #undef HAVE_BOOLEAN
27879 #include <jpeglib.h>
27885 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
27892 rm -f conftest.$ac_objext
27893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27894 (eval $ac_compile) 2>conftest.er1
27896 grep -v '^ *+' conftest.er1 >conftest.err
27898 cat conftest.err >&5
27899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27900 (exit $ac_status); } &&
27901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27903 (eval $ac_try) 2>&5
27905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27906 (exit $ac_status); }; } &&
27907 { ac_try='test -s conftest.$ac_objext'
27908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27909 (eval $ac_try) 2>&5
27911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27912 (exit $ac_status); }; }; then
27913 ac_hi=$ac_mid; break
27915 echo "$as_me: failed program was:" >&5
27916 sed 's/^/| /' conftest.$ac_ext >&5
27918 ac_lo=`expr $ac_mid + 1`
27919 if test $ac_lo -le $ac_mid; then
27923 ac_mid=`expr 2 '*' $ac_mid + 1`
27925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27928 echo "$as_me: failed program was:" >&5
27929 sed 's/^/| /' conftest.$ac_ext >&5
27931 cat >conftest.$ac_ext <<_ACEOF
27934 cat confdefs.h >>conftest.$ac_ext
27935 cat >>conftest.$ac_ext <<_ACEOF
27936 /* end confdefs.h. */
27938 #undef HAVE_BOOLEAN
27940 #include <jpeglib.h>
27946 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) < 0)];
27953 rm -f conftest.$ac_objext
27954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27955 (eval $ac_compile) 2>conftest.er1
27957 grep -v '^ *+' conftest.er1 >conftest.err
27959 cat conftest.err >&5
27960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27961 (exit $ac_status); } &&
27962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27964 (eval $ac_try) 2>&5
27966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27967 (exit $ac_status); }; } &&
27968 { ac_try='test -s conftest.$ac_objext'
27969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27970 (eval $ac_try) 2>&5
27972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27973 (exit $ac_status); }; }; then
27976 cat >conftest.$ac_ext <<_ACEOF
27979 cat confdefs.h >>conftest.$ac_ext
27980 cat >>conftest.$ac_ext <<_ACEOF
27981 /* end confdefs.h. */
27983 #undef HAVE_BOOLEAN
27985 #include <jpeglib.h>
27991 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= $ac_mid)];
27998 rm -f conftest.$ac_objext
27999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28000 (eval $ac_compile) 2>conftest.er1
28002 grep -v '^ *+' conftest.er1 >conftest.err
28004 cat conftest.err >&5
28005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28006 (exit $ac_status); } &&
28007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28009 (eval $ac_try) 2>&5
28011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28012 (exit $ac_status); }; } &&
28013 { ac_try='test -s conftest.$ac_objext'
28014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28015 (eval $ac_try) 2>&5
28017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28018 (exit $ac_status); }; }; then
28019 ac_lo=$ac_mid; break
28021 echo "$as_me: failed program was:" >&5
28022 sed 's/^/| /' conftest.$ac_ext >&5
28024 ac_hi=`expr '(' $ac_mid ')' - 1`
28025 if test $ac_mid -le $ac_hi; then
28029 ac_mid=`expr 2 '*' $ac_mid`
28031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28034 echo "$as_me: failed program was:" >&5
28035 sed 's/^/| /' conftest.$ac_ext >&5
28039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28042 # Binary search between lo and hi bounds.
28043 while test "x$ac_lo" != "x$ac_hi"; do
28044 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28045 cat >conftest.$ac_ext <<_ACEOF
28048 cat confdefs.h >>conftest.$ac_ext
28049 cat >>conftest.$ac_ext <<_ACEOF
28050 /* end confdefs.h. */
28052 #undef HAVE_BOOLEAN
28054 #include <jpeglib.h>
28060 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
28067 rm -f conftest.$ac_objext
28068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28069 (eval $ac_compile) 2>conftest.er1
28071 grep -v '^ *+' conftest.er1 >conftest.err
28073 cat conftest.err >&5
28074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28075 (exit $ac_status); } &&
28076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28078 (eval $ac_try) 2>&5
28080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28081 (exit $ac_status); }; } &&
28082 { ac_try='test -s conftest.$ac_objext'
28083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28084 (eval $ac_try) 2>&5
28086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28087 (exit $ac_status); }; }; then
28090 echo "$as_me: failed program was:" >&5
28091 sed 's/^/| /' conftest.$ac_ext >&5
28093 ac_lo=`expr '(' $ac_mid ')' + 1`
28095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28098 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28099 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
28100 See \`config.log' for more details." >&5
28101 echo "$as_me: error: cannot compute sizeof (boolean), 77
28102 See \`config.log' for more details." >&2;}
28103 { (exit 1); exit 1; }; } ;;
28106 if test "$cross_compiling" = yes; then
28107 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
28108 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
28109 { (exit 1); exit 1; }; }
28111 cat >conftest.$ac_ext <<_ACEOF
28114 cat confdefs.h >>conftest.$ac_ext
28115 cat >>conftest.$ac_ext <<_ACEOF
28116 /* end confdefs.h. */
28118 #undef HAVE_BOOLEAN
28120 #include <jpeglib.h>
28123 long longval () { return (long) (sizeof (boolean)); }
28124 unsigned long ulongval () { return (long) (sizeof (boolean)); }
28126 #include <stdlib.h>
28131 FILE *f = fopen ("conftest.val", "w");
28134 if (((long) (sizeof (boolean))) < 0)
28136 long i = longval ();
28137 if (i != ((long) (sizeof (boolean))))
28139 fprintf (f, "%ld\n", i);
28143 unsigned long i = ulongval ();
28144 if (i != ((long) (sizeof (boolean))))
28146 fprintf (f, "%lu\n", i);
28148 exit (ferror (f) || fclose (f) != 0);
28154 rm -f conftest$ac_exeext
28155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28156 (eval $ac_link) 2>&5
28158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28159 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28161 (eval $ac_try) 2>&5
28163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28164 (exit $ac_status); }; }; then
28165 ac_cv_sizeof_boolean=`cat conftest.val`
28167 echo "$as_me: program exited with status $ac_status" >&5
28168 echo "$as_me: failed program was:" >&5
28169 sed 's/^/| /' conftest.$ac_ext >&5
28171 ( exit $ac_status )
28172 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
28173 See \`config.log' for more details." >&5
28174 echo "$as_me: error: cannot compute sizeof (boolean), 77
28175 See \`config.log' for more details." >&2;}
28176 { (exit 1); exit 1; }; }
28178 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28183 ac_cv_sizeof_boolean=0
28186 echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28187 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6
28188 cat >>confdefs.h <<_ACEOF
28189 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28193 cat >>confdefs.h <<_ACEOF
28194 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28208 TIFF_PREREQ_LINKS=-lm
28209 if test "$wxUSE_LIBTIFF" != "no" ; then
28210 cat >>confdefs.h <<\_ACEOF
28211 #define wxUSE_LIBTIFF 1
28215 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28216 if test "$wxUSE_LIBJPEG" = "sys"; then
28217 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28219 if test "$wxUSE_ZLIB" = "sys"; then
28220 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28222 echo "$as_me:$LINENO: checking for tiffio.h" >&5
28223 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
28224 if test "${ac_cv_header_tiffio_h+set}" = set; then
28225 echo $ECHO_N "(cached) $ECHO_C" >&6
28227 cat >conftest.$ac_ext <<_ACEOF
28230 cat confdefs.h >>conftest.$ac_ext
28231 cat >>conftest.$ac_ext <<_ACEOF
28232 /* end confdefs.h. */
28236 #include <tiffio.h>
28238 rm -f conftest.$ac_objext
28239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28240 (eval $ac_compile) 2>conftest.er1
28242 grep -v '^ *+' conftest.er1 >conftest.err
28244 cat conftest.err >&5
28245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28246 (exit $ac_status); } &&
28247 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28249 (eval $ac_try) 2>&5
28251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28252 (exit $ac_status); }; } &&
28253 { ac_try='test -s conftest.$ac_objext'
28254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28255 (eval $ac_try) 2>&5
28257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28258 (exit $ac_status); }; }; then
28259 ac_cv_header_tiffio_h=yes
28261 echo "$as_me: failed program was:" >&5
28262 sed 's/^/| /' conftest.$ac_ext >&5
28264 ac_cv_header_tiffio_h=no
28266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28268 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28269 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
28270 if test $ac_cv_header_tiffio_h = yes; then
28272 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28273 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
28274 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28275 echo $ECHO_N "(cached) $ECHO_C" >&6
28277 ac_check_lib_save_LIBS=$LIBS
28278 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28279 cat >conftest.$ac_ext <<_ACEOF
28282 cat confdefs.h >>conftest.$ac_ext
28283 cat >>conftest.$ac_ext <<_ACEOF
28284 /* end confdefs.h. */
28286 /* Override any gcc2 internal prototype to avoid an error. */
28290 /* We use char because int might match the return type of a gcc2
28291 builtin and then its argument prototype would still apply. */
28301 rm -f conftest.$ac_objext conftest$ac_exeext
28302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28303 (eval $ac_link) 2>conftest.er1
28305 grep -v '^ *+' conftest.er1 >conftest.err
28307 cat conftest.err >&5
28308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28309 (exit $ac_status); } &&
28310 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28312 (eval $ac_try) 2>&5
28314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28315 (exit $ac_status); }; } &&
28316 { ac_try='test -s conftest$ac_exeext'
28317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28318 (eval $ac_try) 2>&5
28320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28321 (exit $ac_status); }; }; then
28322 ac_cv_lib_tiff_TIFFError=yes
28324 echo "$as_me: failed program was:" >&5
28325 sed 's/^/| /' conftest.$ac_ext >&5
28327 ac_cv_lib_tiff_TIFFError=no
28329 rm -f conftest.err conftest.$ac_objext \
28330 conftest$ac_exeext conftest.$ac_ext
28331 LIBS=$ac_check_lib_save_LIBS
28333 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
28334 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
28335 if test $ac_cv_lib_tiff_TIFFError = yes; then
28336 TIFF_LINK=" -ltiff"
28344 if test "x$TIFF_LINK" = "x" ; then
28345 if test "$wxUSE_LIBTIFF" = "sys" ; then
28346 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
28347 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
28348 { (exit 1); exit 1; }; }
28350 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
28351 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
28352 wxUSE_LIBTIFF=builtin
28361 if test "$wxUSE_WCHAR_T" != "yes"; then
28362 if test "$wxUSE_EXPAT" != "no"; then
28363 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
28364 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
28367 if test "$wxUSE_XML" != "no"; then
28368 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
28369 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
28374 if test "$wxUSE_EXPAT" != "no"; then
28376 cat >>confdefs.h <<\_ACEOF
28377 #define wxUSE_EXPAT 1
28380 cat >>confdefs.h <<\_ACEOF
28381 #define wxUSE_XML 1
28385 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
28386 echo "$as_me:$LINENO: checking for expat.h" >&5
28387 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
28388 if test "${ac_cv_header_expat_h+set}" = set; then
28389 echo $ECHO_N "(cached) $ECHO_C" >&6
28391 cat >conftest.$ac_ext <<_ACEOF
28394 cat confdefs.h >>conftest.$ac_ext
28395 cat >>conftest.$ac_ext <<_ACEOF
28396 /* end confdefs.h. */
28401 rm -f conftest.$ac_objext
28402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28403 (eval $ac_compile) 2>conftest.er1
28405 grep -v '^ *+' conftest.er1 >conftest.err
28407 cat conftest.err >&5
28408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28409 (exit $ac_status); } &&
28410 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28412 (eval $ac_try) 2>&5
28414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28415 (exit $ac_status); }; } &&
28416 { ac_try='test -s conftest.$ac_objext'
28417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28418 (eval $ac_try) 2>&5
28420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28421 (exit $ac_status); }; }; then
28422 ac_cv_header_expat_h=yes
28424 echo "$as_me: failed program was:" >&5
28425 sed 's/^/| /' conftest.$ac_ext >&5
28427 ac_cv_header_expat_h=no
28429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28431 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
28432 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
28433 if test $ac_cv_header_expat_h = yes; then
28438 if test "x$found_expat_h" = "x1"; then
28439 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28440 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
28441 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28442 echo $ECHO_N "(cached) $ECHO_C" >&6
28446 ac_cpp='$CXXCPP $CPPFLAGS'
28447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28451 cat >conftest.$ac_ext <<_ACEOF
28454 cat confdefs.h >>conftest.$ac_ext
28455 cat >>conftest.$ac_ext <<_ACEOF
28456 /* end confdefs.h. */
28466 rm -f conftest.$ac_objext
28467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28468 (eval $ac_compile) 2>conftest.er1
28470 grep -v '^ *+' conftest.er1 >conftest.err
28472 cat conftest.err >&5
28473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28474 (exit $ac_status); } &&
28475 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28477 (eval $ac_try) 2>&5
28479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28480 (exit $ac_status); }; } &&
28481 { ac_try='test -s conftest.$ac_objext'
28482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28483 (eval $ac_try) 2>&5
28485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28486 (exit $ac_status); }; }; then
28487 wx_cv_expat_is_not_broken=yes
28489 echo "$as_me: failed program was:" >&5
28490 sed 's/^/| /' conftest.$ac_ext >&5
28492 wx_cv_expat_is_not_broken=no
28495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28497 ac_cpp='$CPP $CPPFLAGS'
28498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28505 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28506 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
28507 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28508 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28509 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
28510 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28511 echo $ECHO_N "(cached) $ECHO_C" >&6
28513 ac_check_lib_save_LIBS=$LIBS
28514 LIBS="-lexpat $LIBS"
28515 cat >conftest.$ac_ext <<_ACEOF
28518 cat confdefs.h >>conftest.$ac_ext
28519 cat >>conftest.$ac_ext <<_ACEOF
28520 /* end confdefs.h. */
28522 /* Override any gcc2 internal prototype to avoid an error. */
28526 /* We use char because int might match the return type of a gcc2
28527 builtin and then its argument prototype would still apply. */
28528 char XML_ParserCreate ();
28532 XML_ParserCreate ();
28537 rm -f conftest.$ac_objext conftest$ac_exeext
28538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28539 (eval $ac_link) 2>conftest.er1
28541 grep -v '^ *+' conftest.er1 >conftest.err
28543 cat conftest.err >&5
28544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28545 (exit $ac_status); } &&
28546 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28548 (eval $ac_try) 2>&5
28550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28551 (exit $ac_status); }; } &&
28552 { ac_try='test -s conftest$ac_exeext'
28553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28554 (eval $ac_try) 2>&5
28556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28557 (exit $ac_status); }; }; then
28558 ac_cv_lib_expat_XML_ParserCreate=yes
28560 echo "$as_me: failed program was:" >&5
28561 sed 's/^/| /' conftest.$ac_ext >&5
28563 ac_cv_lib_expat_XML_ParserCreate=no
28565 rm -f conftest.err conftest.$ac_objext \
28566 conftest$ac_exeext conftest.$ac_ext
28567 LIBS=$ac_check_lib_save_LIBS
28569 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28570 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
28571 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28572 EXPAT_LINK=" -lexpat"
28577 if test "x$EXPAT_LINK" = "x" ; then
28578 if test "$wxUSE_EXPAT" = "sys" ; then
28579 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28580 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28581 { (exit 1); exit 1; }; }
28583 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28584 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28585 wxUSE_EXPAT=builtin
28591 if test "$wxUSE_EXPAT" = "builtin" ; then
28594 subdirs="$subdirs src/expat"
28601 if test "$wxUSE_LIBMSPACK" != "no"; then
28602 echo "$as_me:$LINENO: checking for mspack.h" >&5
28603 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
28604 if test "${ac_cv_header_mspack_h+set}" = set; then
28605 echo $ECHO_N "(cached) $ECHO_C" >&6
28607 cat >conftest.$ac_ext <<_ACEOF
28610 cat confdefs.h >>conftest.$ac_ext
28611 cat >>conftest.$ac_ext <<_ACEOF
28612 /* end confdefs.h. */
28615 #include <mspack.h>
28617 rm -f conftest.$ac_objext
28618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28619 (eval $ac_compile) 2>conftest.er1
28621 grep -v '^ *+' conftest.er1 >conftest.err
28623 cat conftest.err >&5
28624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28625 (exit $ac_status); } &&
28626 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28628 (eval $ac_try) 2>&5
28630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28631 (exit $ac_status); }; } &&
28632 { ac_try='test -s conftest.$ac_objext'
28633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28634 (eval $ac_try) 2>&5
28636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28637 (exit $ac_status); }; }; then
28638 ac_cv_header_mspack_h=yes
28640 echo "$as_me: failed program was:" >&5
28641 sed 's/^/| /' conftest.$ac_ext >&5
28643 ac_cv_header_mspack_h=no
28645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28647 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28648 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
28649 if test $ac_cv_header_mspack_h = yes; then
28654 if test "x$found_mspack_h" = "x1"; then
28655 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28656 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
28657 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28658 echo $ECHO_N "(cached) $ECHO_C" >&6
28660 ac_check_lib_save_LIBS=$LIBS
28661 LIBS="-lmspack $LIBS"
28662 cat >conftest.$ac_ext <<_ACEOF
28665 cat confdefs.h >>conftest.$ac_ext
28666 cat >>conftest.$ac_ext <<_ACEOF
28667 /* end confdefs.h. */
28669 /* Override any gcc2 internal prototype to avoid an error. */
28673 /* We use char because int might match the return type of a gcc2
28674 builtin and then its argument prototype would still apply. */
28675 char mspack_create_chm_decompressor ();
28679 mspack_create_chm_decompressor ();
28684 rm -f conftest.$ac_objext conftest$ac_exeext
28685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28686 (eval $ac_link) 2>conftest.er1
28688 grep -v '^ *+' conftest.er1 >conftest.err
28690 cat conftest.err >&5
28691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28692 (exit $ac_status); } &&
28693 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28695 (eval $ac_try) 2>&5
28697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28698 (exit $ac_status); }; } &&
28699 { ac_try='test -s conftest$ac_exeext'
28700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28701 (eval $ac_try) 2>&5
28703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28704 (exit $ac_status); }; }; then
28705 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28707 echo "$as_me: failed program was:" >&5
28708 sed 's/^/| /' conftest.$ac_ext >&5
28710 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28712 rm -f conftest.err conftest.$ac_objext \
28713 conftest$ac_exeext conftest.$ac_ext
28714 LIBS=$ac_check_lib_save_LIBS
28716 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28717 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
28718 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28719 MSPACK_LINK=" -lmspack"
28723 if test "x$MSPACK_LINK" = "x" ; then
28728 if test "$wxUSE_LIBMSPACK" != "no"; then
28729 cat >>confdefs.h <<\_ACEOF
28730 #define wxUSE_LIBMSPACK 1
28744 if test "$USE_WIN32" = 1 ; then
28745 echo "$as_me:$LINENO: checking for w32api.h" >&5
28746 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6
28747 if test "${ac_cv_header_w32api_h+set}" = set; then
28748 echo $ECHO_N "(cached) $ECHO_C" >&6
28750 cat >conftest.$ac_ext <<_ACEOF
28753 cat confdefs.h >>conftest.$ac_ext
28754 cat >>conftest.$ac_ext <<_ACEOF
28755 /* end confdefs.h. */
28758 #include <w32api.h>
28760 rm -f conftest.$ac_objext
28761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28762 (eval $ac_compile) 2>conftest.er1
28764 grep -v '^ *+' conftest.er1 >conftest.err
28766 cat conftest.err >&5
28767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28768 (exit $ac_status); } &&
28769 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28771 (eval $ac_try) 2>&5
28773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28774 (exit $ac_status); }; } &&
28775 { ac_try='test -s conftest.$ac_objext'
28776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28777 (eval $ac_try) 2>&5
28779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28780 (exit $ac_status); }; }; then
28781 ac_cv_header_w32api_h=yes
28783 echo "$as_me: failed program was:" >&5
28784 sed 's/^/| /' conftest.$ac_ext >&5
28786 ac_cv_header_w32api_h=no
28788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28790 echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
28791 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6
28794 echo "$as_me:$LINENO: checking for windows.h" >&5
28795 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
28796 if test "${ac_cv_header_windows_h+set}" = set; then
28797 echo $ECHO_N "(cached) $ECHO_C" >&6
28799 cat >conftest.$ac_ext <<_ACEOF
28802 cat confdefs.h >>conftest.$ac_ext
28803 cat >>conftest.$ac_ext <<_ACEOF
28804 /* end confdefs.h. */
28807 #include <windows.h>
28809 rm -f conftest.$ac_objext
28810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28811 (eval $ac_compile) 2>conftest.er1
28813 grep -v '^ *+' conftest.er1 >conftest.err
28815 cat conftest.err >&5
28816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28817 (exit $ac_status); } &&
28818 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28820 (eval $ac_try) 2>&5
28822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28823 (exit $ac_status); }; } &&
28824 { ac_try='test -s conftest.$ac_objext'
28825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28826 (eval $ac_try) 2>&5
28828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28829 (exit $ac_status); }; }; then
28830 ac_cv_header_windows_h=yes
28832 echo "$as_me: failed program was:" >&5
28833 sed 's/^/| /' conftest.$ac_ext >&5
28835 ac_cv_header_windows_h=no
28837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28839 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28840 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
28841 if test $ac_cv_header_windows_h = yes; then
28845 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28846 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28847 { (exit 1); exit 1; }; }
28853 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28855 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28856 LIBS="$LIBS -loleacc"
28861 LIBS="$LIBS -lkernel32 -luser32"
28864 if test "$wxUSE_ODBC" = "sys" ; then
28867 if test "$wxUSE_ODBC" = "yes" ; then
28868 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
28869 cat >>confdefs.h <<\_ACEOF
28870 #define wxUSE_ODBC 1
28875 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28876 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28878 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28880 WIN32INSTALL=win32install
28882 echo "$as_me:$LINENO: checking for pbt.h" >&5
28883 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6
28884 if test "${ac_cv_header_pbt_h+set}" = set; then
28885 echo $ECHO_N "(cached) $ECHO_C" >&6
28887 cat >conftest.$ac_ext <<_ACEOF
28890 cat confdefs.h >>conftest.$ac_ext
28891 cat >>conftest.$ac_ext <<_ACEOF
28892 /* end confdefs.h. */
28897 rm -f conftest.$ac_objext
28898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28899 (eval $ac_compile) 2>conftest.er1
28901 grep -v '^ *+' conftest.er1 >conftest.err
28903 cat conftest.err >&5
28904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28905 (exit $ac_status); } &&
28906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28908 (eval $ac_try) 2>&5
28910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28911 (exit $ac_status); }; } &&
28912 { ac_try='test -s conftest.$ac_objext'
28913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28914 (eval $ac_try) 2>&5
28916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28917 (exit $ac_status); }; }; then
28918 ac_cv_header_pbt_h=yes
28920 echo "$as_me: failed program was:" >&5
28921 sed 's/^/| /' conftest.$ac_ext >&5
28923 ac_cv_header_pbt_h=no
28925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28927 echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28928 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6
28929 if test $ac_cv_header_pbt_h = yes; then
28932 cat >>confdefs.h <<\_ACEOF
28933 #define NEED_PBT_H 1
28941 if test "$wxUSE_GUI" = "yes"; then
28951 if test "$wxUSE_COCOA" = 1 ; then
28952 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28953 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28954 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28955 wxUSE_PRINTING_ARCHITECTURE=no
28957 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28958 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28959 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28960 wxUSE_DRAG_AND_DROP=no
28962 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28963 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28964 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28969 if test "$wxUSE_MSW" = 1 ; then
28975 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28979 if test "$wxUSE_GTK" = 1; then
28980 echo "$as_me:$LINENO: checking for GTK+ version" >&5
28981 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
28983 gtk_version_cached=1
28984 if test "${wx_cv_lib_gtk+set}" = set; then
28985 echo $ECHO_N "(cached) $ECHO_C" >&6
28988 gtk_version_cached=0
28989 echo "$as_me:$LINENO: result: " >&5
28990 echo "${ECHO_T}" >&6
28993 if test "$wxUSE_THREADS" = "yes"; then
28994 GTK_MODULES=gthread
28998 if test "x$wxGTK_VERSION" != "x1"
29002 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29007 # Check whether --enable-gtktest or --disable-gtktest was given.
29008 if test "${enable_gtktest+set}" = set; then
29009 enableval="$enable_gtktest"
29015 pkg_config_args=gtk+-2.0
29016 for module in . $GTK_MODULES
29020 pkg_config_args="$pkg_config_args gthread-2.0"
29027 # Extract the first word of "pkg-config", so it can be a program name with args.
29028 set dummy pkg-config; ac_word=$2
29029 echo "$as_me:$LINENO: checking for $ac_word" >&5
29030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29031 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29032 echo $ECHO_N "(cached) $ECHO_C" >&6
29034 case $PKG_CONFIG in
29036 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29040 for as_dir in $PATH
29043 test -z "$as_dir" && as_dir=.
29044 for ac_exec_ext in '' $ac_executable_extensions; do
29045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29046 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29053 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29057 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29059 if test -n "$PKG_CONFIG"; then
29060 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29061 echo "${ECHO_T}$PKG_CONFIG" >&6
29063 echo "$as_me:$LINENO: result: no" >&5
29064 echo "${ECHO_T}no" >&6
29068 if test x$PKG_CONFIG != xno ; then
29069 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29072 echo "*** pkg-config too old; version 0.7 or better required."
29080 min_gtk_version=2.0.0
29081 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29082 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
29084 if test x$PKG_CONFIG != xno ; then
29085 ## don't try to run the test against uninstalled libtool libs
29086 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29087 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29091 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29098 if test x"$no_gtk" = x ; then
29099 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29100 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29101 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29102 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29103 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29104 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29105 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29106 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29107 if test "x$enable_gtktest" = "xyes" ; then
29108 ac_save_CFLAGS="$CFLAGS"
29109 ac_save_LIBS="$LIBS"
29110 CFLAGS="$CFLAGS $GTK_CFLAGS"
29111 LIBS="$GTK_LIBS $LIBS"
29113 if test "$cross_compiling" = yes; then
29114 echo $ac_n "cross compiling; assumed OK... $ac_c"
29116 cat >conftest.$ac_ext <<_ACEOF
29119 cat confdefs.h >>conftest.$ac_ext
29120 cat >>conftest.$ac_ext <<_ACEOF
29121 /* end confdefs.h. */
29123 #include <gtk/gtk.h>
29125 #include <stdlib.h>
29130 int major, minor, micro;
29133 system ("touch conf.gtktest");
29135 /* HP/UX 9 (%@#!) writes to sscanf strings */
29136 tmp_version = g_strdup("$min_gtk_version");
29137 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29138 printf("%s, bad version string\n", "$min_gtk_version");
29142 if ((gtk_major_version != $gtk_config_major_version) ||
29143 (gtk_minor_version != $gtk_config_minor_version) ||
29144 (gtk_micro_version != $gtk_config_micro_version))
29146 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29147 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29148 gtk_major_version, gtk_minor_version, gtk_micro_version);
29149 printf ("*** was found! If pkg-config was correct, then it is best\n");
29150 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29151 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29152 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29153 printf("*** required on your system.\n");
29154 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29155 printf("*** to point to the correct configuration files\n");
29157 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29158 (gtk_minor_version != GTK_MINOR_VERSION) ||
29159 (gtk_micro_version != GTK_MICRO_VERSION))
29161 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29162 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29163 printf("*** library (version %d.%d.%d)\n",
29164 gtk_major_version, gtk_minor_version, gtk_micro_version);
29168 if ((gtk_major_version > major) ||
29169 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29170 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29176 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29177 gtk_major_version, gtk_minor_version, gtk_micro_version);
29178 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29179 major, minor, micro);
29180 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29182 printf("*** If you have already installed a sufficiently new version, this error\n");
29183 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29184 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29185 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29186 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29187 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29188 printf("*** so that the correct libraries are found at run-time))\n");
29195 rm -f conftest$ac_exeext
29196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29197 (eval $ac_link) 2>&5
29199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29200 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29202 (eval $ac_try) 2>&5
29204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29205 (exit $ac_status); }; }; then
29208 echo "$as_me: program exited with status $ac_status" >&5
29209 echo "$as_me: failed program was:" >&5
29210 sed 's/^/| /' conftest.$ac_ext >&5
29212 ( exit $ac_status )
29215 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29217 CFLAGS="$ac_save_CFLAGS"
29218 LIBS="$ac_save_LIBS"
29221 if test "x$no_gtk" = x ; then
29222 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29223 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
29226 echo "$as_me:$LINENO: result: no" >&5
29227 echo "${ECHO_T}no" >&6
29228 if test "$PKG_CONFIG" = "no" ; then
29229 echo "*** A new enough version of pkg-config was not found."
29230 echo "*** See http://pkgconfig.sourceforge.net"
29232 if test -f conf.gtktest ; then
29235 echo "*** Could not run GTK+ test program, checking why..."
29236 ac_save_CFLAGS="$CFLAGS"
29237 ac_save_LIBS="$LIBS"
29238 CFLAGS="$CFLAGS $GTK_CFLAGS"
29239 LIBS="$LIBS $GTK_LIBS"
29240 cat >conftest.$ac_ext <<_ACEOF
29243 cat confdefs.h >>conftest.$ac_ext
29244 cat >>conftest.$ac_ext <<_ACEOF
29245 /* end confdefs.h. */
29247 #include <gtk/gtk.h>
29253 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29258 rm -f conftest.$ac_objext conftest$ac_exeext
29259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29260 (eval $ac_link) 2>conftest.er1
29262 grep -v '^ *+' conftest.er1 >conftest.err
29264 cat conftest.err >&5
29265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29266 (exit $ac_status); } &&
29267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29269 (eval $ac_try) 2>&5
29271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29272 (exit $ac_status); }; } &&
29273 { ac_try='test -s conftest$ac_exeext'
29274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29275 (eval $ac_try) 2>&5
29277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29278 (exit $ac_status); }; }; then
29279 echo "*** The test program compiled, but did not run. This usually means"
29280 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29281 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29282 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29283 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29284 echo "*** is required on your system"
29286 echo "*** If you have an old version installed, it is best to remove it, although"
29287 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29289 echo "$as_me: failed program was:" >&5
29290 sed 's/^/| /' conftest.$ac_ext >&5
29292 echo "*** The test program failed to compile or link. See the file config.log for the"
29293 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29295 rm -f conftest.err conftest.$ac_objext \
29296 conftest$ac_exeext conftest.$ac_ext
29297 CFLAGS="$ac_save_CFLAGS"
29298 LIBS="$ac_save_LIBS"
29312 if test "$wxUSE_SHARED" != "yes"; then
29313 GTK_LIBS="$GTK_LIBS -lX11"
29318 if test -z "$wx_cv_lib_gtk"; then
29319 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29321 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
29322 if test "${with_gtk_prefix+set}" = set; then
29323 withval="$with_gtk_prefix"
29324 gtk_config_prefix="$withval"
29326 gtk_config_prefix=""
29329 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
29330 if test "${with_gtk_exec_prefix+set}" = set; then
29331 withval="$with_gtk_exec_prefix"
29332 gtk_config_exec_prefix="$withval"
29334 gtk_config_exec_prefix=""
29336 # Check whether --enable-gtktest or --disable-gtktest was given.
29337 if test "${enable_gtktest+set}" = set; then
29338 enableval="$enable_gtktest"
29344 for module in . $GTK_MODULES
29348 gtk_config_args="$gtk_config_args gthread"
29353 if test x$gtk_config_exec_prefix != x ; then
29354 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29355 if test x${GTK_CONFIG+set} != xset ; then
29356 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29359 if test x$gtk_config_prefix != x ; then
29360 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29361 if test x${GTK_CONFIG+set} != xset ; then
29362 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29366 # Extract the first word of "gtk-config", so it can be a program name with args.
29367 set dummy gtk-config; ac_word=$2
29368 echo "$as_me:$LINENO: checking for $ac_word" >&5
29369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29370 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29371 echo $ECHO_N "(cached) $ECHO_C" >&6
29373 case $GTK_CONFIG in
29375 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29379 for as_dir in $PATH
29382 test -z "$as_dir" && as_dir=.
29383 for ac_exec_ext in '' $ac_executable_extensions; do
29384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29385 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29392 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29396 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29398 if test -n "$GTK_CONFIG"; then
29399 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29400 echo "${ECHO_T}$GTK_CONFIG" >&6
29402 echo "$as_me:$LINENO: result: no" >&5
29403 echo "${ECHO_T}no" >&6
29406 min_gtk_version=1.2.7
29407 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29408 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
29410 if test "$GTK_CONFIG" = "no" ; then
29413 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29414 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29415 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29416 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29417 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29418 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29419 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29420 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29421 if test "x$enable_gtktest" = "xyes" ; then
29422 ac_save_CFLAGS="$CFLAGS"
29423 ac_save_LIBS="$LIBS"
29424 CFLAGS="$CFLAGS $GTK_CFLAGS"
29425 LIBS="$GTK_LIBS $LIBS"
29427 if test "$cross_compiling" = yes; then
29428 echo $ac_n "cross compiling; assumed OK... $ac_c"
29430 cat >conftest.$ac_ext <<_ACEOF
29433 cat confdefs.h >>conftest.$ac_ext
29434 cat >>conftest.$ac_ext <<_ACEOF
29435 /* end confdefs.h. */
29437 #include <gtk/gtk.h>
29439 #include <stdlib.h>
29444 int major, minor, micro;
29447 system ("touch conf.gtktest");
29449 /* HP/UX 9 (%@#!) writes to sscanf strings */
29450 tmp_version = g_strdup("$min_gtk_version");
29451 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29452 printf("%s, bad version string\n", "$min_gtk_version");
29456 if ((gtk_major_version != $gtk_config_major_version) ||
29457 (gtk_minor_version != $gtk_config_minor_version) ||
29458 (gtk_micro_version != $gtk_config_micro_version))
29460 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29461 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29462 gtk_major_version, gtk_minor_version, gtk_micro_version);
29463 printf ("*** was found! If gtk-config was correct, then it is best\n");
29464 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29465 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29466 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29467 printf("*** required on your system.\n");
29468 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29469 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29470 printf("*** before re-running configure\n");
29472 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29473 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29474 (gtk_minor_version != GTK_MINOR_VERSION) ||
29475 (gtk_micro_version != GTK_MICRO_VERSION))
29477 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29478 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29479 printf("*** library (version %d.%d.%d)\n",
29480 gtk_major_version, gtk_minor_version, gtk_micro_version);
29482 #endif /* defined (GTK_MAJOR_VERSION) ... */
29485 if ((gtk_major_version > major) ||
29486 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29487 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29493 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29494 gtk_major_version, gtk_minor_version, gtk_micro_version);
29495 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29496 major, minor, micro);
29497 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29499 printf("*** If you have already installed a sufficiently new version, this error\n");
29500 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29501 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29502 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29503 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29504 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29505 printf("*** so that the correct libraries are found at run-time))\n");
29512 rm -f conftest$ac_exeext
29513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29514 (eval $ac_link) 2>&5
29516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29517 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29519 (eval $ac_try) 2>&5
29521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29522 (exit $ac_status); }; }; then
29525 echo "$as_me: program exited with status $ac_status" >&5
29526 echo "$as_me: failed program was:" >&5
29527 sed 's/^/| /' conftest.$ac_ext >&5
29529 ( exit $ac_status )
29532 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29534 CFLAGS="$ac_save_CFLAGS"
29535 LIBS="$ac_save_LIBS"
29538 if test "x$no_gtk" = x ; then
29539 echo "$as_me:$LINENO: result: yes" >&5
29540 echo "${ECHO_T}yes" >&6
29541 wx_cv_lib_gtk=1.2.7
29543 echo "$as_me:$LINENO: result: no" >&5
29544 echo "${ECHO_T}no" >&6
29545 if test "$GTK_CONFIG" = "no" ; then
29546 echo "*** The gtk-config script installed by GTK could not be found"
29547 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29548 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29549 echo "*** full path to gtk-config."
29551 if test -f conf.gtktest ; then
29554 echo "*** Could not run GTK test program, checking why..."
29555 CFLAGS="$CFLAGS $GTK_CFLAGS"
29556 LIBS="$LIBS $GTK_LIBS"
29557 cat >conftest.$ac_ext <<_ACEOF
29560 cat confdefs.h >>conftest.$ac_ext
29561 cat >>conftest.$ac_ext <<_ACEOF
29562 /* end confdefs.h. */
29564 #include <gtk/gtk.h>
29570 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29575 rm -f conftest.$ac_objext conftest$ac_exeext
29576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29577 (eval $ac_link) 2>conftest.er1
29579 grep -v '^ *+' conftest.er1 >conftest.err
29581 cat conftest.err >&5
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); } &&
29584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29586 (eval $ac_try) 2>&5
29588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29589 (exit $ac_status); }; } &&
29590 { ac_try='test -s conftest$ac_exeext'
29591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29592 (eval $ac_try) 2>&5
29594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29595 (exit $ac_status); }; }; then
29596 echo "*** The test program compiled, but did not run. This usually means"
29597 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29598 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29599 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29600 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29601 echo "*** is required on your system"
29603 echo "*** If you have an old version installed, it is best to remove it, although"
29604 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29606 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29607 echo "*** came with the system with the command"
29609 echo "*** rpm --erase --nodeps gtk gtk-devel"
29611 echo "$as_me: failed program was:" >&5
29612 sed 's/^/| /' conftest.$ac_ext >&5
29614 echo "*** The test program failed to compile or link. See the file config.log for the"
29615 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29616 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29617 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29619 rm -f conftest.err conftest.$ac_objext \
29620 conftest$ac_exeext conftest.$ac_ext
29621 CFLAGS="$ac_save_CFLAGS"
29622 LIBS="$ac_save_LIBS"
29634 if test -z "$wx_cv_lib_gtk"; then
29636 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
29637 if test "${with_gtk_prefix+set}" = set; then
29638 withval="$with_gtk_prefix"
29639 gtk_config_prefix="$withval"
29641 gtk_config_prefix=""
29644 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
29645 if test "${with_gtk_exec_prefix+set}" = set; then
29646 withval="$with_gtk_exec_prefix"
29647 gtk_config_exec_prefix="$withval"
29649 gtk_config_exec_prefix=""
29651 # Check whether --enable-gtktest or --disable-gtktest was given.
29652 if test "${enable_gtktest+set}" = set; then
29653 enableval="$enable_gtktest"
29659 for module in . $GTK_MODULES
29663 gtk_config_args="$gtk_config_args gthread"
29668 if test x$gtk_config_exec_prefix != x ; then
29669 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29670 if test x${GTK_CONFIG+set} != xset ; then
29671 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29674 if test x$gtk_config_prefix != x ; then
29675 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29676 if test x${GTK_CONFIG+set} != xset ; then
29677 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29681 # Extract the first word of "gtk-config", so it can be a program name with args.
29682 set dummy gtk-config; ac_word=$2
29683 echo "$as_me:$LINENO: checking for $ac_word" >&5
29684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29685 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29686 echo $ECHO_N "(cached) $ECHO_C" >&6
29688 case $GTK_CONFIG in
29690 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29694 for as_dir in $PATH
29697 test -z "$as_dir" && as_dir=.
29698 for ac_exec_ext in '' $ac_executable_extensions; do
29699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29700 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29707 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29711 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29713 if test -n "$GTK_CONFIG"; then
29714 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29715 echo "${ECHO_T}$GTK_CONFIG" >&6
29717 echo "$as_me:$LINENO: result: no" >&5
29718 echo "${ECHO_T}no" >&6
29721 min_gtk_version=1.2.3
29722 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29723 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
29725 if test "$GTK_CONFIG" = "no" ; then
29728 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29729 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29730 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29731 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29732 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29733 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29734 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29735 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29736 if test "x$enable_gtktest" = "xyes" ; then
29737 ac_save_CFLAGS="$CFLAGS"
29738 ac_save_LIBS="$LIBS"
29739 CFLAGS="$CFLAGS $GTK_CFLAGS"
29740 LIBS="$GTK_LIBS $LIBS"
29742 if test "$cross_compiling" = yes; then
29743 echo $ac_n "cross compiling; assumed OK... $ac_c"
29745 cat >conftest.$ac_ext <<_ACEOF
29748 cat confdefs.h >>conftest.$ac_ext
29749 cat >>conftest.$ac_ext <<_ACEOF
29750 /* end confdefs.h. */
29752 #include <gtk/gtk.h>
29754 #include <stdlib.h>
29759 int major, minor, micro;
29762 system ("touch conf.gtktest");
29764 /* HP/UX 9 (%@#!) writes to sscanf strings */
29765 tmp_version = g_strdup("$min_gtk_version");
29766 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29767 printf("%s, bad version string\n", "$min_gtk_version");
29771 if ((gtk_major_version != $gtk_config_major_version) ||
29772 (gtk_minor_version != $gtk_config_minor_version) ||
29773 (gtk_micro_version != $gtk_config_micro_version))
29775 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29776 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29777 gtk_major_version, gtk_minor_version, gtk_micro_version);
29778 printf ("*** was found! If gtk-config was correct, then it is best\n");
29779 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29780 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29781 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29782 printf("*** required on your system.\n");
29783 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29784 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29785 printf("*** before re-running configure\n");
29787 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29788 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29789 (gtk_minor_version != GTK_MINOR_VERSION) ||
29790 (gtk_micro_version != GTK_MICRO_VERSION))
29792 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29793 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29794 printf("*** library (version %d.%d.%d)\n",
29795 gtk_major_version, gtk_minor_version, gtk_micro_version);
29797 #endif /* defined (GTK_MAJOR_VERSION) ... */
29800 if ((gtk_major_version > major) ||
29801 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29802 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29808 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29809 gtk_major_version, gtk_minor_version, gtk_micro_version);
29810 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29811 major, minor, micro);
29812 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29814 printf("*** If you have already installed a sufficiently new version, this error\n");
29815 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29816 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29817 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29818 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29819 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29820 printf("*** so that the correct libraries are found at run-time))\n");
29827 rm -f conftest$ac_exeext
29828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29829 (eval $ac_link) 2>&5
29831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29832 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29834 (eval $ac_try) 2>&5
29836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837 (exit $ac_status); }; }; then
29840 echo "$as_me: program exited with status $ac_status" >&5
29841 echo "$as_me: failed program was:" >&5
29842 sed 's/^/| /' conftest.$ac_ext >&5
29844 ( exit $ac_status )
29847 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29849 CFLAGS="$ac_save_CFLAGS"
29850 LIBS="$ac_save_LIBS"
29853 if test "x$no_gtk" = x ; then
29854 echo "$as_me:$LINENO: result: yes" >&5
29855 echo "${ECHO_T}yes" >&6
29856 wx_cv_lib_gtk=1.2.3
29858 echo "$as_me:$LINENO: result: no" >&5
29859 echo "${ECHO_T}no" >&6
29860 if test "$GTK_CONFIG" = "no" ; then
29861 echo "*** The gtk-config script installed by GTK could not be found"
29862 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29863 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29864 echo "*** full path to gtk-config."
29866 if test -f conf.gtktest ; then
29869 echo "*** Could not run GTK test program, checking why..."
29870 CFLAGS="$CFLAGS $GTK_CFLAGS"
29871 LIBS="$LIBS $GTK_LIBS"
29872 cat >conftest.$ac_ext <<_ACEOF
29875 cat confdefs.h >>conftest.$ac_ext
29876 cat >>conftest.$ac_ext <<_ACEOF
29877 /* end confdefs.h. */
29879 #include <gtk/gtk.h>
29885 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29890 rm -f conftest.$ac_objext conftest$ac_exeext
29891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29892 (eval $ac_link) 2>conftest.er1
29894 grep -v '^ *+' conftest.er1 >conftest.err
29896 cat conftest.err >&5
29897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29898 (exit $ac_status); } &&
29899 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29901 (eval $ac_try) 2>&5
29903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29904 (exit $ac_status); }; } &&
29905 { ac_try='test -s conftest$ac_exeext'
29906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29907 (eval $ac_try) 2>&5
29909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29910 (exit $ac_status); }; }; then
29911 echo "*** The test program compiled, but did not run. This usually means"
29912 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29913 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29914 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29915 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29916 echo "*** is required on your system"
29918 echo "*** If you have an old version installed, it is best to remove it, although"
29919 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29921 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29922 echo "*** came with the system with the command"
29924 echo "*** rpm --erase --nodeps gtk gtk-devel"
29926 echo "$as_me: failed program was:" >&5
29927 sed 's/^/| /' conftest.$ac_ext >&5
29929 echo "*** The test program failed to compile or link. See the file config.log for the"
29930 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29931 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29932 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29934 rm -f conftest.err conftest.$ac_objext \
29935 conftest$ac_exeext conftest.$ac_ext
29936 CFLAGS="$ac_save_CFLAGS"
29937 LIBS="$ac_save_LIBS"
29952 if test -z "$wx_cv_lib_gtk"; then
29955 wx_cv_cflags_gtk=$GTK_CFLAGS
29956 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29963 if test "$gtk_version_cached" = 1; then
29964 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29965 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
29968 case "$wx_cv_lib_gtk" in
29977 *) { { echo "$as_me:$LINENO: error:
29978 The development files for GTK+ were not found. For GTK+ 2, please
29979 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29980 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29981 and that the version is 1.2.3 or above. Also check that the
29982 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29983 --libs' are in the LD_LIBRARY_PATH or equivalent.
29985 echo "$as_me: error:
29986 The development files for GTK+ were not found. For GTK+ 2, please
29987 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29988 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29989 and that the version is 1.2.3 or above. Also check that the
29990 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29991 --libs' are in the LD_LIBRARY_PATH or equivalent.
29993 { (exit 1); exit 1; }; }
29997 if test "$WXGTK20" = 1; then
29998 save_CFLAGS="$CFLAGS"
30000 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30001 LIBS="$LIBS $wx_cv_libs_gtk"
30003 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
30004 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
30005 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
30006 echo $ECHO_N "(cached) $ECHO_C" >&6
30008 cat >conftest.$ac_ext <<_ACEOF
30011 cat confdefs.h >>conftest.$ac_ext
30012 cat >>conftest.$ac_ext <<_ACEOF
30013 /* end confdefs.h. */
30014 #include <gtk/gtk.h>
30019 #ifndef gtk_icon_size_lookup
30020 char *p = (char *) gtk_icon_size_lookup;
30027 rm -f conftest.$ac_objext
30028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30029 (eval $ac_compile) 2>conftest.er1
30031 grep -v '^ *+' conftest.er1 >conftest.err
30033 cat conftest.err >&5
30034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30035 (exit $ac_status); } &&
30036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30038 (eval $ac_try) 2>&5
30040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30041 (exit $ac_status); }; } &&
30042 { ac_try='test -s conftest.$ac_objext'
30043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30044 (eval $ac_try) 2>&5
30046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30047 (exit $ac_status); }; }; then
30048 ac_cv_have_decl_gtk_icon_size_lookup=yes
30050 echo "$as_me: failed program was:" >&5
30051 sed 's/^/| /' conftest.$ac_ext >&5
30053 ac_cv_have_decl_gtk_icon_size_lookup=no
30055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30057 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
30058 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
30059 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
30061 cat >>confdefs.h <<_ACEOF
30062 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
30067 cat >>confdefs.h <<_ACEOF
30068 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
30071 cat >>confdefs.h <<\_ACEOF
30072 #define NEED_GTK_ICON_SIZE_LOOKUP 1
30080 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30081 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6
30082 cat >conftest.$ac_ext <<_ACEOF
30085 cat confdefs.h >>conftest.$ac_ext
30086 cat >>conftest.$ac_ext <<_ACEOF
30087 /* end confdefs.h. */
30089 #include <gtk/gtk.h>
30095 #if !GTK_CHECK_VERSION(2,10,0)
30103 rm -f conftest.$ac_objext
30104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30105 (eval $ac_compile) 2>conftest.er1
30107 grep -v '^ *+' conftest.er1 >conftest.err
30109 cat conftest.err >&5
30110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30111 (exit $ac_status); } &&
30112 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30114 (eval $ac_try) 2>&5
30116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30117 (exit $ac_status); }; } &&
30118 { ac_try='test -s conftest.$ac_objext'
30119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30120 (eval $ac_try) 2>&5
30122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30123 (exit $ac_status); }; }; then
30125 cat >>confdefs.h <<\_ACEOF
30126 #define __WXGTK210__ 1
30129 cat >>confdefs.h <<\_ACEOF
30130 #define __WXGTK26__ 1
30133 cat >>confdefs.h <<\_ACEOF
30134 #define __WXGTK24__ 1
30137 echo "$as_me:$LINENO: result: yes" >&5
30138 echo "${ECHO_T}yes" >&6
30142 echo "$as_me: failed program was:" >&5
30143 sed 's/^/| /' conftest.$ac_ext >&5
30146 echo "$as_me:$LINENO: result: no" >&5
30147 echo "${ECHO_T}no" >&6
30151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30153 if test "$ac_wxgtk210" = 0; then
30154 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30155 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
30156 cat >conftest.$ac_ext <<_ACEOF
30159 cat confdefs.h >>conftest.$ac_ext
30160 cat >>conftest.$ac_ext <<_ACEOF
30161 /* end confdefs.h. */
30163 #include <gtk/gtk.h>
30169 #if !GTK_CHECK_VERSION(2,6,0)
30177 rm -f conftest.$ac_objext
30178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30179 (eval $ac_compile) 2>conftest.er1
30181 grep -v '^ *+' conftest.er1 >conftest.err
30183 cat conftest.err >&5
30184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30185 (exit $ac_status); } &&
30186 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30188 (eval $ac_try) 2>&5
30190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30191 (exit $ac_status); }; } &&
30192 { ac_try='test -s conftest.$ac_objext'
30193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30194 (eval $ac_try) 2>&5
30196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30197 (exit $ac_status); }; }; then
30199 cat >>confdefs.h <<\_ACEOF
30200 #define __WXGTK26__ 1
30203 cat >>confdefs.h <<\_ACEOF
30204 #define __WXGTK24__ 1
30207 echo "$as_me:$LINENO: result: yes" >&5
30208 echo "${ECHO_T}yes" >&6
30212 echo "$as_me: failed program was:" >&5
30213 sed 's/^/| /' conftest.$ac_ext >&5
30216 echo "$as_me:$LINENO: result: no" >&5
30217 echo "${ECHO_T}no" >&6
30221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30224 if test "$ac_wxgtk26" = 0; then
30225 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
30226 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
30227 cat >conftest.$ac_ext <<_ACEOF
30230 cat confdefs.h >>conftest.$ac_ext
30231 cat >>conftest.$ac_ext <<_ACEOF
30232 /* end confdefs.h. */
30234 #include <gtk/gtk.h>
30240 #if !GTK_CHECK_VERSION(2,4,0)
30248 rm -f conftest.$ac_objext
30249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30250 (eval $ac_compile) 2>conftest.er1
30252 grep -v '^ *+' conftest.er1 >conftest.err
30254 cat conftest.err >&5
30255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30256 (exit $ac_status); } &&
30257 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30259 (eval $ac_try) 2>&5
30261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30262 (exit $ac_status); }; } &&
30263 { ac_try='test -s conftest.$ac_objext'
30264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30265 (eval $ac_try) 2>&5
30267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30268 (exit $ac_status); }; }; then
30270 cat >>confdefs.h <<\_ACEOF
30271 #define __WXGTK24__ 1
30274 echo "$as_me:$LINENO: result: yes" >&5
30275 echo "${ECHO_T}yes" >&6
30278 echo "$as_me: failed program was:" >&5
30279 sed 's/^/| /' conftest.$ac_ext >&5
30282 echo "$as_me:$LINENO: result: no" >&5
30283 echo "${ECHO_T}no" >&6
30286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30289 CFLAGS="$save_CFLAGS"
30292 if test "$wxUSE_UNICODE" = "yes"; then
30293 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30294 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30298 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30299 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
30300 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30301 echo $ECHO_N "(cached) $ECHO_C" >&6
30303 ac_check_lib_save_LIBS=$LIBS
30305 cat >conftest.$ac_ext <<_ACEOF
30308 cat confdefs.h >>conftest.$ac_ext
30309 cat >>conftest.$ac_ext <<_ACEOF
30310 /* end confdefs.h. */
30312 /* Override any gcc2 internal prototype to avoid an error. */
30316 /* We use char because int might match the return type of a gcc2
30317 builtin and then its argument prototype would still apply. */
30318 char gdk_im_open ();
30327 rm -f conftest.$ac_objext conftest$ac_exeext
30328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30329 (eval $ac_link) 2>conftest.er1
30331 grep -v '^ *+' conftest.er1 >conftest.err
30333 cat conftest.err >&5
30334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30335 (exit $ac_status); } &&
30336 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30338 (eval $ac_try) 2>&5
30340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30341 (exit $ac_status); }; } &&
30342 { ac_try='test -s conftest$ac_exeext'
30343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30344 (eval $ac_try) 2>&5
30346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30347 (exit $ac_status); }; }; then
30348 ac_cv_lib_gdk_gdk_im_open=yes
30350 echo "$as_me: failed program was:" >&5
30351 sed 's/^/| /' conftest.$ac_ext >&5
30353 ac_cv_lib_gdk_gdk_im_open=no
30355 rm -f conftest.err conftest.$ac_objext \
30356 conftest$ac_exeext conftest.$ac_ext
30357 LIBS=$ac_check_lib_save_LIBS
30359 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30360 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
30361 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30362 cat >>confdefs.h <<\_ACEOF
30369 if test "$USE_DARWIN" != 1; then
30371 for ac_func in poll
30373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30374 echo "$as_me:$LINENO: checking for $ac_func" >&5
30375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30376 if eval "test \"\${$as_ac_var+set}\" = set"; then
30377 echo $ECHO_N "(cached) $ECHO_C" >&6
30379 cat >conftest.$ac_ext <<_ACEOF
30382 cat confdefs.h >>conftest.$ac_ext
30383 cat >>conftest.$ac_ext <<_ACEOF
30384 /* end confdefs.h. */
30385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30387 #define $ac_func innocuous_$ac_func
30389 /* System header to define __stub macros and hopefully few prototypes,
30390 which can conflict with char $ac_func (); below.
30391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30392 <limits.h> exists even on freestanding compilers. */
30395 # include <limits.h>
30397 # include <assert.h>
30402 /* Override any gcc2 internal prototype to avoid an error. */
30407 /* We use char because int might match the return type of a gcc2
30408 builtin and then its argument prototype would still apply. */
30410 /* The GNU C library defines this for functions which it implements
30411 to always fail with ENOSYS. Some functions are actually named
30412 something starting with __ and the normal name is an alias. */
30413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30416 char (*f) () = $ac_func;
30425 return f != $ac_func;
30430 rm -f conftest.$ac_objext conftest$ac_exeext
30431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30432 (eval $ac_link) 2>conftest.er1
30434 grep -v '^ *+' conftest.er1 >conftest.err
30436 cat conftest.err >&5
30437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30438 (exit $ac_status); } &&
30439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30441 (eval $ac_try) 2>&5
30443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30444 (exit $ac_status); }; } &&
30445 { ac_try='test -s conftest$ac_exeext'
30446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30447 (eval $ac_try) 2>&5
30449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30450 (exit $ac_status); }; }; then
30451 eval "$as_ac_var=yes"
30453 echo "$as_me: failed program was:" >&5
30454 sed 's/^/| /' conftest.$ac_ext >&5
30456 eval "$as_ac_var=no"
30458 rm -f conftest.err conftest.$ac_objext \
30459 conftest$ac_exeext conftest.$ac_ext
30461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30463 if test `eval echo '${'$as_ac_var'}'` = yes; then
30464 cat >>confdefs.h <<_ACEOF
30465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30474 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30475 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30477 AFMINSTALL=afminstall
30481 if test "$wxUSE_GPE" = "yes"; then
30482 echo "$as_me:$LINENO: checking for gpewidget library" >&5
30483 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
30486 for ac_dir in $SEARCH_LIB;
30488 for ac_extension in a so sl dylib dll.a; do
30489 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30490 ac_find_libraries=$ac_dir
30496 if test "$ac_find_libraries" != "" ; then
30498 if test "$ac_find_libraries" = "default location"; then
30501 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30503 if test $result = 0; then
30506 ac_path_to_link=" -L$ac_find_libraries"
30510 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30512 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30513 echo "${ECHO_T}found in $ac_find_libraries" >&6
30515 echo "$as_me:$LINENO: result: not found" >&5
30516 echo "${ECHO_T}not found" >&6
30522 if test "$wxUSE_MGL" = 1; then
30523 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30524 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
30525 if test "x$MGL_ROOT" = x ; then
30526 echo "$as_me:$LINENO: result: not found" >&5
30527 echo "${ECHO_T}not found" >&6
30528 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30529 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30530 { (exit 1); exit 1; }; }
30532 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30533 echo "${ECHO_T}$MGL_ROOT" >&6
30536 echo "$as_me:$LINENO: checking for libmgl location" >&5
30537 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
30540 if test "x$wxUSE_SHARED" = xyes ; then
30541 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30543 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30547 mgl_os_candidates="dos32/dj2"
30550 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30551 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30552 { (exit 1); exit 1; }; }
30558 for mgl_os_i in $mgl_os_candidates ; do
30559 if test "x$mgl_os" = x ; then
30560 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30561 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30562 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30567 if test "x$mgl_lib_type" = x ; then
30568 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30569 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30570 mgl_lib_type=release
30577 if test "x$mgl_os" = x ; then
30578 echo "$as_me:$LINENO: result: not found" >&5
30579 echo "${ECHO_T}not found" >&6
30580 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30581 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30582 { (exit 1); exit 1; }; }
30584 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30585 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
30587 wxUSE_UNIVERSAL="yes"
30589 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30590 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30592 AFMINSTALL=afminstall
30597 if test "$wxUSE_DFB" = 1; then
30600 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30601 if test -n "$ac_tool_prefix"; then
30602 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30603 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30604 echo "$as_me:$LINENO: checking for $ac_word" >&5
30605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30606 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30607 echo $ECHO_N "(cached) $ECHO_C" >&6
30609 case $PKG_CONFIG in
30611 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30615 for as_dir in $PATH
30618 test -z "$as_dir" && as_dir=.
30619 for ac_exec_ext in '' $ac_executable_extensions; do
30620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30621 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30631 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30633 if test -n "$PKG_CONFIG"; then
30634 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30635 echo "${ECHO_T}$PKG_CONFIG" >&6
30637 echo "$as_me:$LINENO: result: no" >&5
30638 echo "${ECHO_T}no" >&6
30642 if test -z "$ac_cv_path_PKG_CONFIG"; then
30643 ac_pt_PKG_CONFIG=$PKG_CONFIG
30644 # Extract the first word of "pkg-config", so it can be a program name with args.
30645 set dummy pkg-config; ac_word=$2
30646 echo "$as_me:$LINENO: checking for $ac_word" >&5
30647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30648 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30649 echo $ECHO_N "(cached) $ECHO_C" >&6
30651 case $ac_pt_PKG_CONFIG in
30653 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30657 for as_dir in $PATH
30660 test -z "$as_dir" && as_dir=.
30661 for ac_exec_ext in '' $ac_executable_extensions; do
30662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30663 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30673 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30675 if test -n "$ac_pt_PKG_CONFIG"; then
30676 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30677 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
30679 echo "$as_me:$LINENO: result: no" >&5
30680 echo "${ECHO_T}no" >&6
30683 PKG_CONFIG=$ac_pt_PKG_CONFIG
30685 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30689 if test -n "$PKG_CONFIG"; then
30690 _pkg_min_version=0.9.0
30691 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30692 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
30693 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30694 echo "$as_me:$LINENO: result: yes" >&5
30695 echo "${ECHO_T}yes" >&6
30697 echo "$as_me:$LINENO: result: no" >&5
30698 echo "${ECHO_T}no" >&6
30706 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30707 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
30709 if test -n "$PKG_CONFIG"; then
30710 if test -n "$DIRECTFB_CFLAGS"; then
30711 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30713 if test -n "$PKG_CONFIG" && \
30714 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30715 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30718 (exit $ac_status); }; then
30719 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30727 if test -n "$PKG_CONFIG"; then
30728 if test -n "$DIRECTFB_LIBS"; then
30729 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30731 if test -n "$PKG_CONFIG" && \
30732 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30733 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30736 (exit $ac_status); }; then
30737 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30748 if test $pkg_failed = yes; then
30750 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30751 _pkg_short_errors_supported=yes
30753 _pkg_short_errors_supported=no
30755 if test $_pkg_short_errors_supported = yes; then
30756 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30758 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30760 # Put the nasty error message in config.log where it belongs
30761 echo "$DIRECTFB_PKG_ERRORS" >&5
30764 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30765 echo "$as_me: error: DirectFB not found." >&2;}
30766 { (exit 1); exit 1; }; }
30769 elif test $pkg_failed = untried; then
30771 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30772 echo "$as_me: error: DirectFB not found." >&2;}
30773 { (exit 1); exit 1; }; }
30777 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30778 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30779 echo "$as_me:$LINENO: result: yes" >&5
30780 echo "${ECHO_T}yes" >&6
30782 wxUSE_UNIVERSAL="yes"
30783 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30784 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30791 if test "$wxUSE_MICROWIN" = 1; then
30792 echo "$as_me:$LINENO: checking for MicroWindows" >&5
30793 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
30794 if test "x$MICROWINDOWS" = x ; then
30795 echo "$as_me:$LINENO: result: not found" >&5
30796 echo "${ECHO_T}not found" >&6
30797 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30798 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30799 { (exit 1); exit 1; }; }
30801 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30802 echo "${ECHO_T}$MICROWINDOWS" >&6
30805 if test -f $MICROWINDOWS/lib/libmwin.a; then
30806 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30807 echo "${ECHO_T}MicroWindows' libraries found." >&6
30809 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30810 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30811 { (exit 1); exit 1; }; }
30814 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30815 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30817 wxUSE_UNIVERSAL="yes"
30819 AFMINSTALL=afminstall
30821 GUIDIST=MICROWIN_DIST
30823 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30826 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30828 if test "x$ac_path_x_has_been_run" != xyes; then
30829 echo "$as_me:$LINENO: checking for X" >&5
30830 echo $ECHO_N "checking for X... $ECHO_C" >&6
30832 ac_path_x_has_been_run=yes
30834 # Check whether --with-x or --without-x was given.
30835 if test "${with_x+set}" = set; then
30839 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30840 if test "x$with_x" = xno; then
30841 # The user explicitly disabled X.
30844 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
30845 # Both variables are already set.
30848 if test "${ac_cv_have_x+set}" = set; then
30849 echo $ECHO_N "(cached) $ECHO_C" >&6
30851 # One or both of the vars are not set, and there is no cached value.
30852 ac_x_includes=no ac_x_libraries=no
30853 rm -fr conftest.dir
30854 if mkdir conftest.dir; then
30856 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
30857 cat >Imakefile <<'_ACEOF'
30859 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
30861 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
30862 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30863 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
30864 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30865 for ac_extension in a so sl; do
30866 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
30867 test -f $ac_im_libdir/libX11.$ac_extension; then
30868 ac_im_usrlibdir=$ac_im_libdir; break
30871 # Screen out bogus values from the imake configuration. They are
30872 # bogus both because they are the default anyway, and because
30873 # using them would break gcc on systems where it needs fixed includes.
30874 case $ac_im_incroot in
30876 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30878 case $ac_im_usrlibdir in
30879 /usr/lib | /lib) ;;
30880 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30884 rm -fr conftest.dir
30887 # Standard set of common directories for X headers.
30888 # Check X11 before X11Rn because it is often a symlink to the current release.
30900 /usr/local/X11/include
30901 /usr/local/X11R6/include
30902 /usr/local/X11R5/include
30903 /usr/local/X11R4/include
30905 /usr/local/include/X11
30906 /usr/local/include/X11R6
30907 /usr/local/include/X11R5
30908 /usr/local/include/X11R4
30912 /usr/XFree86/include/X11
30916 /usr/unsupported/include
30917 /usr/athena/include
30918 /usr/local/x11r5/include
30919 /usr/lpp/Xamples/include
30921 /usr/openwin/include
30922 /usr/openwin/share/include'
30924 if test "$ac_x_includes" = no; then
30925 # Guess where to find include files, by looking for a specified header file.
30926 # First, try using that file with no special directory specified.
30927 cat >conftest.$ac_ext <<_ACEOF
30930 cat confdefs.h >>conftest.$ac_ext
30931 cat >>conftest.$ac_ext <<_ACEOF
30932 /* end confdefs.h. */
30933 #include <X11/Xlib.h>
30935 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30936 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30938 grep -v '^ *+' conftest.er1 >conftest.err
30940 cat conftest.err >&5
30941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30942 (exit $ac_status); } >/dev/null; then
30943 if test -s conftest.err; then
30944 ac_cpp_err=$ac_c_preproc_warn_flag
30945 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30952 if test -z "$ac_cpp_err"; then
30953 # We can compile using X headers with no special include directory.
30956 echo "$as_me: failed program was:" >&5
30957 sed 's/^/| /' conftest.$ac_ext >&5
30959 for ac_dir in $ac_x_header_dirs; do
30960 if test -r "$ac_dir/X11/Xlib.h"; then
30961 ac_x_includes=$ac_dir
30966 rm -f conftest.err conftest.$ac_ext
30967 fi # $ac_x_includes = no
30969 if test "$ac_x_libraries" = no; then
30970 # Check for the libraries.
30971 # See if we find them without any special options.
30972 # Don't add to $LIBS permanently.
30975 cat >conftest.$ac_ext <<_ACEOF
30978 cat confdefs.h >>conftest.$ac_ext
30979 cat >>conftest.$ac_ext <<_ACEOF
30980 /* end confdefs.h. */
30981 #include <X11/Xlib.h>
30990 rm -f conftest.$ac_objext conftest$ac_exeext
30991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30992 (eval $ac_link) 2>conftest.er1
30994 grep -v '^ *+' conftest.er1 >conftest.err
30996 cat conftest.err >&5
30997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30998 (exit $ac_status); } &&
30999 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31001 (eval $ac_try) 2>&5
31003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31004 (exit $ac_status); }; } &&
31005 { ac_try='test -s conftest$ac_exeext'
31006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31007 (eval $ac_try) 2>&5
31009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31010 (exit $ac_status); }; }; then
31012 # We can link X programs with no special library path.
31015 echo "$as_me: failed program was:" >&5
31016 sed 's/^/| /' conftest.$ac_ext >&5
31019 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31021 # Don't even attempt the hair of trying to link an X program!
31022 for ac_extension in a so sl; do
31023 if test -r $ac_dir/libX11.$ac_extension; then
31024 ac_x_libraries=$ac_dir
31030 rm -f conftest.err conftest.$ac_objext \
31031 conftest$ac_exeext conftest.$ac_ext
31032 fi # $ac_x_libraries = no
31034 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
31035 # Didn't find X anywhere. Cache the known absence of X.
31036 ac_cv_have_x="have_x=no"
31038 # Record where we found X for the cache.
31039 ac_cv_have_x="have_x=yes \
31040 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
31045 eval "$ac_cv_have_x"
31048 if test "$have_x" != yes; then
31049 echo "$as_me:$LINENO: result: $have_x" >&5
31050 echo "${ECHO_T}$have_x" >&6
31053 # If each of the values was on the command line, it overrides each guess.
31054 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31055 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31056 # Update the cache value to reflect the command line values.
31057 ac_cv_have_x="have_x=yes \
31058 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
31059 # It might be that x_includes is empty (headers are found in the
31060 # standard search path. Then output the corresponding message
31061 ac_out_x_includes=$x_includes
31062 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
31063 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
31064 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
31068 if test "$no_x" = yes; then
31069 # Not all programs may use this symbol, but it does not hurt to define it.
31071 cat >>confdefs.h <<\_ACEOF
31072 #define X_DISPLAY_MISSING 1
31075 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31077 if test -n "$x_includes"; then
31078 X_CFLAGS="$X_CFLAGS -I$x_includes"
31081 # It would also be nice to do this for all -L options, not just this one.
31082 if test -n "$x_libraries"; then
31083 X_LIBS="$X_LIBS -L$x_libraries"
31084 # For Solaris; some versions of Sun CC require a space after -R and
31085 # others require no space. Words are not sufficient . . . .
31086 case `(uname -sr) 2>/dev/null` in
31088 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31089 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
31090 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31091 cat >conftest.$ac_ext <<_ACEOF
31094 cat confdefs.h >>conftest.$ac_ext
31095 cat >>conftest.$ac_ext <<_ACEOF
31096 /* end confdefs.h. */
31106 rm -f conftest.$ac_objext conftest$ac_exeext
31107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31108 (eval $ac_link) 2>conftest.er1
31110 grep -v '^ *+' conftest.er1 >conftest.err
31112 cat conftest.err >&5
31113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31114 (exit $ac_status); } &&
31115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31117 (eval $ac_try) 2>&5
31119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31120 (exit $ac_status); }; } &&
31121 { ac_try='test -s conftest$ac_exeext'
31122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31123 (eval $ac_try) 2>&5
31125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31126 (exit $ac_status); }; }; then
31129 echo "$as_me: failed program was:" >&5
31130 sed 's/^/| /' conftest.$ac_ext >&5
31134 rm -f conftest.err conftest.$ac_objext \
31135 conftest$ac_exeext conftest.$ac_ext
31136 if test $ac_R_nospace = yes; then
31137 echo "$as_me:$LINENO: result: no" >&5
31138 echo "${ECHO_T}no" >&6
31139 X_LIBS="$X_LIBS -R$x_libraries"
31141 LIBS="$ac_xsave_LIBS -R $x_libraries"
31142 cat >conftest.$ac_ext <<_ACEOF
31145 cat confdefs.h >>conftest.$ac_ext
31146 cat >>conftest.$ac_ext <<_ACEOF
31147 /* end confdefs.h. */
31157 rm -f conftest.$ac_objext conftest$ac_exeext
31158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31159 (eval $ac_link) 2>conftest.er1
31161 grep -v '^ *+' conftest.er1 >conftest.err
31163 cat conftest.err >&5
31164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31165 (exit $ac_status); } &&
31166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31168 (eval $ac_try) 2>&5
31170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31171 (exit $ac_status); }; } &&
31172 { ac_try='test -s conftest$ac_exeext'
31173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31174 (eval $ac_try) 2>&5
31176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31177 (exit $ac_status); }; }; then
31180 echo "$as_me: failed program was:" >&5
31181 sed 's/^/| /' conftest.$ac_ext >&5
31185 rm -f conftest.err conftest.$ac_objext \
31186 conftest$ac_exeext conftest.$ac_ext
31187 if test $ac_R_space = yes; then
31188 echo "$as_me:$LINENO: result: yes" >&5
31189 echo "${ECHO_T}yes" >&6
31190 X_LIBS="$X_LIBS -R $x_libraries"
31192 echo "$as_me:$LINENO: result: neither works" >&5
31193 echo "${ECHO_T}neither works" >&6
31196 LIBS=$ac_xsave_LIBS
31200 # Check for system-dependent libraries X programs must link with.
31201 # Do this before checking for the system-independent R6 libraries
31202 # (-lICE), since we may need -lsocket or whatever for X linking.
31204 if test "$ISC" = yes; then
31205 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31207 # Martyn Johnson says this is needed for Ultrix, if the X
31208 # libraries were built with DECnet support. And Karl Berry says
31209 # the Alpha needs dnet_stub (dnet does not exist).
31210 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31211 cat >conftest.$ac_ext <<_ACEOF
31214 cat confdefs.h >>conftest.$ac_ext
31215 cat >>conftest.$ac_ext <<_ACEOF
31216 /* end confdefs.h. */
31218 /* Override any gcc2 internal prototype to avoid an error. */
31222 /* We use char because int might match the return type of a gcc2
31223 builtin and then its argument prototype would still apply. */
31224 char XOpenDisplay ();
31233 rm -f conftest.$ac_objext conftest$ac_exeext
31234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31235 (eval $ac_link) 2>conftest.er1
31237 grep -v '^ *+' conftest.er1 >conftest.err
31239 cat conftest.err >&5
31240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31241 (exit $ac_status); } &&
31242 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31244 (eval $ac_try) 2>&5
31246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31247 (exit $ac_status); }; } &&
31248 { ac_try='test -s conftest$ac_exeext'
31249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31250 (eval $ac_try) 2>&5
31252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31253 (exit $ac_status); }; }; then
31256 echo "$as_me: failed program was:" >&5
31257 sed 's/^/| /' conftest.$ac_ext >&5
31259 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31260 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
31261 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31262 echo $ECHO_N "(cached) $ECHO_C" >&6
31264 ac_check_lib_save_LIBS=$LIBS
31265 LIBS="-ldnet $LIBS"
31266 cat >conftest.$ac_ext <<_ACEOF
31269 cat confdefs.h >>conftest.$ac_ext
31270 cat >>conftest.$ac_ext <<_ACEOF
31271 /* end confdefs.h. */
31273 /* Override any gcc2 internal prototype to avoid an error. */
31277 /* We use char because int might match the return type of a gcc2
31278 builtin and then its argument prototype would still apply. */
31288 rm -f conftest.$ac_objext conftest$ac_exeext
31289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31290 (eval $ac_link) 2>conftest.er1
31292 grep -v '^ *+' conftest.er1 >conftest.err
31294 cat conftest.err >&5
31295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31296 (exit $ac_status); } &&
31297 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31299 (eval $ac_try) 2>&5
31301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31302 (exit $ac_status); }; } &&
31303 { ac_try='test -s conftest$ac_exeext'
31304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31305 (eval $ac_try) 2>&5
31307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31308 (exit $ac_status); }; }; then
31309 ac_cv_lib_dnet_dnet_ntoa=yes
31311 echo "$as_me: failed program was:" >&5
31312 sed 's/^/| /' conftest.$ac_ext >&5
31314 ac_cv_lib_dnet_dnet_ntoa=no
31316 rm -f conftest.err conftest.$ac_objext \
31317 conftest$ac_exeext conftest.$ac_ext
31318 LIBS=$ac_check_lib_save_LIBS
31320 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31321 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
31322 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31323 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31326 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31327 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31328 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
31329 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31330 echo $ECHO_N "(cached) $ECHO_C" >&6
31332 ac_check_lib_save_LIBS=$LIBS
31333 LIBS="-ldnet_stub $LIBS"
31334 cat >conftest.$ac_ext <<_ACEOF
31337 cat confdefs.h >>conftest.$ac_ext
31338 cat >>conftest.$ac_ext <<_ACEOF
31339 /* end confdefs.h. */
31341 /* Override any gcc2 internal prototype to avoid an error. */
31345 /* We use char because int might match the return type of a gcc2
31346 builtin and then its argument prototype would still apply. */
31356 rm -f conftest.$ac_objext conftest$ac_exeext
31357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31358 (eval $ac_link) 2>conftest.er1
31360 grep -v '^ *+' conftest.er1 >conftest.err
31362 cat conftest.err >&5
31363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31364 (exit $ac_status); } &&
31365 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31367 (eval $ac_try) 2>&5
31369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31370 (exit $ac_status); }; } &&
31371 { ac_try='test -s conftest$ac_exeext'
31372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31373 (eval $ac_try) 2>&5
31375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31376 (exit $ac_status); }; }; then
31377 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31379 echo "$as_me: failed program was:" >&5
31380 sed 's/^/| /' conftest.$ac_ext >&5
31382 ac_cv_lib_dnet_stub_dnet_ntoa=no
31384 rm -f conftest.err conftest.$ac_objext \
31385 conftest$ac_exeext conftest.$ac_ext
31386 LIBS=$ac_check_lib_save_LIBS
31388 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31389 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
31390 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31391 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31396 rm -f conftest.err conftest.$ac_objext \
31397 conftest$ac_exeext conftest.$ac_ext
31398 LIBS="$ac_xsave_LIBS"
31400 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31401 # to get the SysV transport functions.
31402 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31404 # The nsl library prevents programs from opening the X display
31405 # on Irix 5.2, according to T.E. Dickey.
31406 # The functions gethostbyname, getservbyname, and inet_addr are
31407 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31408 echo "$as_me:$LINENO: checking for gethostbyname" >&5
31409 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
31410 if test "${ac_cv_func_gethostbyname+set}" = set; then
31411 echo $ECHO_N "(cached) $ECHO_C" >&6
31413 cat >conftest.$ac_ext <<_ACEOF
31416 cat confdefs.h >>conftest.$ac_ext
31417 cat >>conftest.$ac_ext <<_ACEOF
31418 /* end confdefs.h. */
31419 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31421 #define gethostbyname innocuous_gethostbyname
31423 /* System header to define __stub macros and hopefully few prototypes,
31424 which can conflict with char gethostbyname (); below.
31425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31426 <limits.h> exists even on freestanding compilers. */
31429 # include <limits.h>
31431 # include <assert.h>
31434 #undef gethostbyname
31436 /* Override any gcc2 internal prototype to avoid an error. */
31441 /* We use char because int might match the return type of a gcc2
31442 builtin and then its argument prototype would still apply. */
31443 char gethostbyname ();
31444 /* The GNU C library defines this for functions which it implements
31445 to always fail with ENOSYS. Some functions are actually named
31446 something starting with __ and the normal name is an alias. */
31447 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
31450 char (*f) () = gethostbyname;
31459 return f != gethostbyname;
31464 rm -f conftest.$ac_objext conftest$ac_exeext
31465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31466 (eval $ac_link) 2>conftest.er1
31468 grep -v '^ *+' conftest.er1 >conftest.err
31470 cat conftest.err >&5
31471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31472 (exit $ac_status); } &&
31473 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31475 (eval $ac_try) 2>&5
31477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31478 (exit $ac_status); }; } &&
31479 { ac_try='test -s conftest$ac_exeext'
31480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31481 (eval $ac_try) 2>&5
31483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484 (exit $ac_status); }; }; then
31485 ac_cv_func_gethostbyname=yes
31487 echo "$as_me: failed program was:" >&5
31488 sed 's/^/| /' conftest.$ac_ext >&5
31490 ac_cv_func_gethostbyname=no
31492 rm -f conftest.err conftest.$ac_objext \
31493 conftest$ac_exeext conftest.$ac_ext
31495 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31496 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
31498 if test $ac_cv_func_gethostbyname = no; then
31499 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31500 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
31501 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31502 echo $ECHO_N "(cached) $ECHO_C" >&6
31504 ac_check_lib_save_LIBS=$LIBS
31506 cat >conftest.$ac_ext <<_ACEOF
31509 cat confdefs.h >>conftest.$ac_ext
31510 cat >>conftest.$ac_ext <<_ACEOF
31511 /* end confdefs.h. */
31513 /* Override any gcc2 internal prototype to avoid an error. */
31517 /* We use char because int might match the return type of a gcc2
31518 builtin and then its argument prototype would still apply. */
31519 char gethostbyname ();
31528 rm -f conftest.$ac_objext conftest$ac_exeext
31529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31530 (eval $ac_link) 2>conftest.er1
31532 grep -v '^ *+' conftest.er1 >conftest.err
31534 cat conftest.err >&5
31535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31536 (exit $ac_status); } &&
31537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31539 (eval $ac_try) 2>&5
31541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31542 (exit $ac_status); }; } &&
31543 { ac_try='test -s conftest$ac_exeext'
31544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31545 (eval $ac_try) 2>&5
31547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31548 (exit $ac_status); }; }; then
31549 ac_cv_lib_nsl_gethostbyname=yes
31551 echo "$as_me: failed program was:" >&5
31552 sed 's/^/| /' conftest.$ac_ext >&5
31554 ac_cv_lib_nsl_gethostbyname=no
31556 rm -f conftest.err conftest.$ac_objext \
31557 conftest$ac_exeext conftest.$ac_ext
31558 LIBS=$ac_check_lib_save_LIBS
31560 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31561 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
31562 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31563 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31566 if test $ac_cv_lib_nsl_gethostbyname = no; then
31567 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31568 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
31569 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31570 echo $ECHO_N "(cached) $ECHO_C" >&6
31572 ac_check_lib_save_LIBS=$LIBS
31574 cat >conftest.$ac_ext <<_ACEOF
31577 cat confdefs.h >>conftest.$ac_ext
31578 cat >>conftest.$ac_ext <<_ACEOF
31579 /* end confdefs.h. */
31581 /* Override any gcc2 internal prototype to avoid an error. */
31585 /* We use char because int might match the return type of a gcc2
31586 builtin and then its argument prototype would still apply. */
31587 char gethostbyname ();
31596 rm -f conftest.$ac_objext conftest$ac_exeext
31597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31598 (eval $ac_link) 2>conftest.er1
31600 grep -v '^ *+' conftest.er1 >conftest.err
31602 cat conftest.err >&5
31603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31604 (exit $ac_status); } &&
31605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31607 (eval $ac_try) 2>&5
31609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31610 (exit $ac_status); }; } &&
31611 { ac_try='test -s conftest$ac_exeext'
31612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31613 (eval $ac_try) 2>&5
31615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616 (exit $ac_status); }; }; then
31617 ac_cv_lib_bsd_gethostbyname=yes
31619 echo "$as_me: failed program was:" >&5
31620 sed 's/^/| /' conftest.$ac_ext >&5
31622 ac_cv_lib_bsd_gethostbyname=no
31624 rm -f conftest.err conftest.$ac_objext \
31625 conftest$ac_exeext conftest.$ac_ext
31626 LIBS=$ac_check_lib_save_LIBS
31628 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31629 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
31630 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31631 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31637 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31638 # socket/setsockopt and other routines are undefined under SCO ODT
31639 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31640 # on later versions), says Simon Leinen: it contains gethostby*
31641 # variants that don't use the name server (or something). -lsocket
31642 # must be given before -lnsl if both are needed. We assume that
31643 # if connect needs -lnsl, so does gethostbyname.
31644 echo "$as_me:$LINENO: checking for connect" >&5
31645 echo $ECHO_N "checking for connect... $ECHO_C" >&6
31646 if test "${ac_cv_func_connect+set}" = set; then
31647 echo $ECHO_N "(cached) $ECHO_C" >&6
31649 cat >conftest.$ac_ext <<_ACEOF
31652 cat confdefs.h >>conftest.$ac_ext
31653 cat >>conftest.$ac_ext <<_ACEOF
31654 /* end confdefs.h. */
31655 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31657 #define connect innocuous_connect
31659 /* System header to define __stub macros and hopefully few prototypes,
31660 which can conflict with char connect (); below.
31661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31662 <limits.h> exists even on freestanding compilers. */
31665 # include <limits.h>
31667 # include <assert.h>
31672 /* Override any gcc2 internal prototype to avoid an error. */
31677 /* We use char because int might match the return type of a gcc2
31678 builtin and then its argument prototype would still apply. */
31680 /* The GNU C library defines this for functions which it implements
31681 to always fail with ENOSYS. Some functions are actually named
31682 something starting with __ and the normal name is an alias. */
31683 #if defined (__stub_connect) || defined (__stub___connect)
31686 char (*f) () = connect;
31695 return f != connect;
31700 rm -f conftest.$ac_objext conftest$ac_exeext
31701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31702 (eval $ac_link) 2>conftest.er1
31704 grep -v '^ *+' conftest.er1 >conftest.err
31706 cat conftest.err >&5
31707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31708 (exit $ac_status); } &&
31709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31711 (eval $ac_try) 2>&5
31713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31714 (exit $ac_status); }; } &&
31715 { ac_try='test -s conftest$ac_exeext'
31716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31717 (eval $ac_try) 2>&5
31719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31720 (exit $ac_status); }; }; then
31721 ac_cv_func_connect=yes
31723 echo "$as_me: failed program was:" >&5
31724 sed 's/^/| /' conftest.$ac_ext >&5
31726 ac_cv_func_connect=no
31728 rm -f conftest.err conftest.$ac_objext \
31729 conftest$ac_exeext conftest.$ac_ext
31731 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31732 echo "${ECHO_T}$ac_cv_func_connect" >&6
31734 if test $ac_cv_func_connect = no; then
31735 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31736 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
31737 if test "${ac_cv_lib_socket_connect+set}" = set; then
31738 echo $ECHO_N "(cached) $ECHO_C" >&6
31740 ac_check_lib_save_LIBS=$LIBS
31741 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
31742 cat >conftest.$ac_ext <<_ACEOF
31745 cat confdefs.h >>conftest.$ac_ext
31746 cat >>conftest.$ac_ext <<_ACEOF
31747 /* end confdefs.h. */
31749 /* Override any gcc2 internal prototype to avoid an error. */
31753 /* We use char because int might match the return type of a gcc2
31754 builtin and then its argument prototype would still apply. */
31764 rm -f conftest.$ac_objext conftest$ac_exeext
31765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31766 (eval $ac_link) 2>conftest.er1
31768 grep -v '^ *+' conftest.er1 >conftest.err
31770 cat conftest.err >&5
31771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31772 (exit $ac_status); } &&
31773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31775 (eval $ac_try) 2>&5
31777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31778 (exit $ac_status); }; } &&
31779 { ac_try='test -s conftest$ac_exeext'
31780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31781 (eval $ac_try) 2>&5
31783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31784 (exit $ac_status); }; }; then
31785 ac_cv_lib_socket_connect=yes
31787 echo "$as_me: failed program was:" >&5
31788 sed 's/^/| /' conftest.$ac_ext >&5
31790 ac_cv_lib_socket_connect=no
31792 rm -f conftest.err conftest.$ac_objext \
31793 conftest$ac_exeext conftest.$ac_ext
31794 LIBS=$ac_check_lib_save_LIBS
31796 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31797 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
31798 if test $ac_cv_lib_socket_connect = yes; then
31799 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31804 # Guillermo Gomez says -lposix is necessary on A/UX.
31805 echo "$as_me:$LINENO: checking for remove" >&5
31806 echo $ECHO_N "checking for remove... $ECHO_C" >&6
31807 if test "${ac_cv_func_remove+set}" = set; then
31808 echo $ECHO_N "(cached) $ECHO_C" >&6
31810 cat >conftest.$ac_ext <<_ACEOF
31813 cat confdefs.h >>conftest.$ac_ext
31814 cat >>conftest.$ac_ext <<_ACEOF
31815 /* end confdefs.h. */
31816 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31818 #define remove innocuous_remove
31820 /* System header to define __stub macros and hopefully few prototypes,
31821 which can conflict with char remove (); below.
31822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31823 <limits.h> exists even on freestanding compilers. */
31826 # include <limits.h>
31828 # include <assert.h>
31833 /* Override any gcc2 internal prototype to avoid an error. */
31838 /* We use char because int might match the return type of a gcc2
31839 builtin and then its argument prototype would still apply. */
31841 /* The GNU C library defines this for functions which it implements
31842 to always fail with ENOSYS. Some functions are actually named
31843 something starting with __ and the normal name is an alias. */
31844 #if defined (__stub_remove) || defined (__stub___remove)
31847 char (*f) () = remove;
31856 return f != remove;
31861 rm -f conftest.$ac_objext conftest$ac_exeext
31862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31863 (eval $ac_link) 2>conftest.er1
31865 grep -v '^ *+' conftest.er1 >conftest.err
31867 cat conftest.err >&5
31868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31869 (exit $ac_status); } &&
31870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31872 (eval $ac_try) 2>&5
31874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31875 (exit $ac_status); }; } &&
31876 { ac_try='test -s conftest$ac_exeext'
31877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31878 (eval $ac_try) 2>&5
31880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31881 (exit $ac_status); }; }; then
31882 ac_cv_func_remove=yes
31884 echo "$as_me: failed program was:" >&5
31885 sed 's/^/| /' conftest.$ac_ext >&5
31887 ac_cv_func_remove=no
31889 rm -f conftest.err conftest.$ac_objext \
31890 conftest$ac_exeext conftest.$ac_ext
31892 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31893 echo "${ECHO_T}$ac_cv_func_remove" >&6
31895 if test $ac_cv_func_remove = no; then
31896 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31897 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
31898 if test "${ac_cv_lib_posix_remove+set}" = set; then
31899 echo $ECHO_N "(cached) $ECHO_C" >&6
31901 ac_check_lib_save_LIBS=$LIBS
31902 LIBS="-lposix $LIBS"
31903 cat >conftest.$ac_ext <<_ACEOF
31906 cat confdefs.h >>conftest.$ac_ext
31907 cat >>conftest.$ac_ext <<_ACEOF
31908 /* end confdefs.h. */
31910 /* Override any gcc2 internal prototype to avoid an error. */
31914 /* We use char because int might match the return type of a gcc2
31915 builtin and then its argument prototype would still apply. */
31925 rm -f conftest.$ac_objext conftest$ac_exeext
31926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31927 (eval $ac_link) 2>conftest.er1
31929 grep -v '^ *+' conftest.er1 >conftest.err
31931 cat conftest.err >&5
31932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31933 (exit $ac_status); } &&
31934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31936 (eval $ac_try) 2>&5
31938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31939 (exit $ac_status); }; } &&
31940 { ac_try='test -s conftest$ac_exeext'
31941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31942 (eval $ac_try) 2>&5
31944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31945 (exit $ac_status); }; }; then
31946 ac_cv_lib_posix_remove=yes
31948 echo "$as_me: failed program was:" >&5
31949 sed 's/^/| /' conftest.$ac_ext >&5
31951 ac_cv_lib_posix_remove=no
31953 rm -f conftest.err conftest.$ac_objext \
31954 conftest$ac_exeext conftest.$ac_ext
31955 LIBS=$ac_check_lib_save_LIBS
31957 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31958 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
31959 if test $ac_cv_lib_posix_remove = yes; then
31960 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31965 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31966 echo "$as_me:$LINENO: checking for shmat" >&5
31967 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
31968 if test "${ac_cv_func_shmat+set}" = set; then
31969 echo $ECHO_N "(cached) $ECHO_C" >&6
31971 cat >conftest.$ac_ext <<_ACEOF
31974 cat confdefs.h >>conftest.$ac_ext
31975 cat >>conftest.$ac_ext <<_ACEOF
31976 /* end confdefs.h. */
31977 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31979 #define shmat innocuous_shmat
31981 /* System header to define __stub macros and hopefully few prototypes,
31982 which can conflict with char shmat (); below.
31983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31984 <limits.h> exists even on freestanding compilers. */
31987 # include <limits.h>
31989 # include <assert.h>
31994 /* Override any gcc2 internal prototype to avoid an error. */
31999 /* We use char because int might match the return type of a gcc2
32000 builtin and then its argument prototype would still apply. */
32002 /* The GNU C library defines this for functions which it implements
32003 to always fail with ENOSYS. Some functions are actually named
32004 something starting with __ and the normal name is an alias. */
32005 #if defined (__stub_shmat) || defined (__stub___shmat)
32008 char (*f) () = shmat;
32022 rm -f conftest.$ac_objext conftest$ac_exeext
32023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32024 (eval $ac_link) 2>conftest.er1
32026 grep -v '^ *+' conftest.er1 >conftest.err
32028 cat conftest.err >&5
32029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32030 (exit $ac_status); } &&
32031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32033 (eval $ac_try) 2>&5
32035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32036 (exit $ac_status); }; } &&
32037 { ac_try='test -s conftest$ac_exeext'
32038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32039 (eval $ac_try) 2>&5
32041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32042 (exit $ac_status); }; }; then
32043 ac_cv_func_shmat=yes
32045 echo "$as_me: failed program was:" >&5
32046 sed 's/^/| /' conftest.$ac_ext >&5
32048 ac_cv_func_shmat=no
32050 rm -f conftest.err conftest.$ac_objext \
32051 conftest$ac_exeext conftest.$ac_ext
32053 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32054 echo "${ECHO_T}$ac_cv_func_shmat" >&6
32056 if test $ac_cv_func_shmat = no; then
32057 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32058 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
32059 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32060 echo $ECHO_N "(cached) $ECHO_C" >&6
32062 ac_check_lib_save_LIBS=$LIBS
32064 cat >conftest.$ac_ext <<_ACEOF
32067 cat confdefs.h >>conftest.$ac_ext
32068 cat >>conftest.$ac_ext <<_ACEOF
32069 /* end confdefs.h. */
32071 /* Override any gcc2 internal prototype to avoid an error. */
32075 /* We use char because int might match the return type of a gcc2
32076 builtin and then its argument prototype would still apply. */
32086 rm -f conftest.$ac_objext conftest$ac_exeext
32087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32088 (eval $ac_link) 2>conftest.er1
32090 grep -v '^ *+' conftest.er1 >conftest.err
32092 cat conftest.err >&5
32093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32094 (exit $ac_status); } &&
32095 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32097 (eval $ac_try) 2>&5
32099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32100 (exit $ac_status); }; } &&
32101 { ac_try='test -s conftest$ac_exeext'
32102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32103 (eval $ac_try) 2>&5
32105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32106 (exit $ac_status); }; }; then
32107 ac_cv_lib_ipc_shmat=yes
32109 echo "$as_me: failed program was:" >&5
32110 sed 's/^/| /' conftest.$ac_ext >&5
32112 ac_cv_lib_ipc_shmat=no
32114 rm -f conftest.err conftest.$ac_objext \
32115 conftest$ac_exeext conftest.$ac_ext
32116 LIBS=$ac_check_lib_save_LIBS
32118 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32119 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
32120 if test $ac_cv_lib_ipc_shmat = yes; then
32121 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32127 # Check for libraries that X11R6 Xt/Xaw programs need.
32128 ac_save_LDFLAGS=$LDFLAGS
32129 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32130 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32131 # check for ICE first), but we must link in the order -lSM -lICE or
32132 # we get undefined symbols. So assume we have SM if we have ICE.
32133 # These have to be linked with before -lX11, unlike the other
32134 # libraries we check for below, so use a different variable.
32135 # John Interrante, Karl Berry
32136 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32137 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
32138 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32139 echo $ECHO_N "(cached) $ECHO_C" >&6
32141 ac_check_lib_save_LIBS=$LIBS
32142 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32143 cat >conftest.$ac_ext <<_ACEOF
32146 cat confdefs.h >>conftest.$ac_ext
32147 cat >>conftest.$ac_ext <<_ACEOF
32148 /* end confdefs.h. */
32150 /* Override any gcc2 internal prototype to avoid an error. */
32154 /* We use char because int might match the return type of a gcc2
32155 builtin and then its argument prototype would still apply. */
32156 char IceConnectionNumber ();
32160 IceConnectionNumber ();
32165 rm -f conftest.$ac_objext conftest$ac_exeext
32166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32167 (eval $ac_link) 2>conftest.er1
32169 grep -v '^ *+' conftest.er1 >conftest.err
32171 cat conftest.err >&5
32172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32173 (exit $ac_status); } &&
32174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32176 (eval $ac_try) 2>&5
32178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32179 (exit $ac_status); }; } &&
32180 { ac_try='test -s conftest$ac_exeext'
32181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32182 (eval $ac_try) 2>&5
32184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32185 (exit $ac_status); }; }; then
32186 ac_cv_lib_ICE_IceConnectionNumber=yes
32188 echo "$as_me: failed program was:" >&5
32189 sed 's/^/| /' conftest.$ac_ext >&5
32191 ac_cv_lib_ICE_IceConnectionNumber=no
32193 rm -f conftest.err conftest.$ac_objext \
32194 conftest$ac_exeext conftest.$ac_ext
32195 LIBS=$ac_check_lib_save_LIBS
32197 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32198 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
32199 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32200 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32203 LDFLAGS=$ac_save_LDFLAGS
32208 if test "$no_x" = "yes"; then
32209 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32210 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32211 { (exit 1); exit 1; }; }
32214 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32215 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32216 AFMINSTALL=afminstall
32217 COMPILED_X_PROGRAM=0
32221 if test "$wxUSE_X11" = 1; then
32222 if test "$wxUSE_NANOX" = "yes"; then
32223 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32224 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
32225 if test "x$MICROWIN" = x ; then
32226 echo "$as_me:$LINENO: result: not found" >&5
32227 echo "${ECHO_T}not found" >&6
32228 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32229 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32230 { (exit 1); exit 1; }; }
32232 echo "$as_me:$LINENO: result: $MICROWIN" >&5
32233 echo "${ECHO_T}$MICROWIN" >&6
32234 cat >>confdefs.h <<\_ACEOF
32235 #define wxUSE_NANOX 1
32241 if test "$wxUSE_UNICODE" = "yes"; then
32244 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32245 if test -n "$ac_tool_prefix"; then
32246 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32247 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32248 echo "$as_me:$LINENO: checking for $ac_word" >&5
32249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32250 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32251 echo $ECHO_N "(cached) $ECHO_C" >&6
32253 case $PKG_CONFIG in
32255 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32259 for as_dir in $PATH
32262 test -z "$as_dir" && as_dir=.
32263 for ac_exec_ext in '' $ac_executable_extensions; do
32264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32265 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32275 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32277 if test -n "$PKG_CONFIG"; then
32278 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32279 echo "${ECHO_T}$PKG_CONFIG" >&6
32281 echo "$as_me:$LINENO: result: no" >&5
32282 echo "${ECHO_T}no" >&6
32286 if test -z "$ac_cv_path_PKG_CONFIG"; then
32287 ac_pt_PKG_CONFIG=$PKG_CONFIG
32288 # Extract the first word of "pkg-config", so it can be a program name with args.
32289 set dummy pkg-config; ac_word=$2
32290 echo "$as_me:$LINENO: checking for $ac_word" >&5
32291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32292 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32293 echo $ECHO_N "(cached) $ECHO_C" >&6
32295 case $ac_pt_PKG_CONFIG in
32297 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32301 for as_dir in $PATH
32304 test -z "$as_dir" && as_dir=.
32305 for ac_exec_ext in '' $ac_executable_extensions; do
32306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32307 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32317 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32319 if test -n "$ac_pt_PKG_CONFIG"; then
32320 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32321 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
32323 echo "$as_me:$LINENO: result: no" >&5
32324 echo "${ECHO_T}no" >&6
32327 PKG_CONFIG=$ac_pt_PKG_CONFIG
32329 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32333 if test -n "$PKG_CONFIG"; then
32334 _pkg_min_version=0.9.0
32335 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32336 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
32337 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32338 echo "$as_me:$LINENO: result: yes" >&5
32339 echo "${ECHO_T}yes" >&6
32341 echo "$as_me:$LINENO: result: no" >&5
32342 echo "${ECHO_T}no" >&6
32350 echo "$as_me:$LINENO: checking for PANGOX" >&5
32351 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
32353 if test -n "$PKG_CONFIG"; then
32354 if test -n "$PANGOX_CFLAGS"; then
32355 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32357 if test -n "$PKG_CONFIG" && \
32358 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32359 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32362 (exit $ac_status); }; then
32363 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32371 if test -n "$PKG_CONFIG"; then
32372 if test -n "$PANGOX_LIBS"; then
32373 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32375 if test -n "$PKG_CONFIG" && \
32376 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32377 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32380 (exit $ac_status); }; then
32381 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32392 if test $pkg_failed = yes; then
32394 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32395 _pkg_short_errors_supported=yes
32397 _pkg_short_errors_supported=no
32399 if test $_pkg_short_errors_supported = yes; then
32400 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32402 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32404 # Put the nasty error message in config.log where it belongs
32405 echo "$PANGOX_PKG_ERRORS" >&5
32408 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32409 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32410 { (exit 1); exit 1; }; }
32413 elif test $pkg_failed = untried; then
32415 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32416 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32417 { (exit 1); exit 1; }; }
32421 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32422 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32423 echo "$as_me:$LINENO: result: yes" >&5
32424 echo "${ECHO_T}yes" >&6
32426 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
32427 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32428 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32433 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32434 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
32436 if test -n "$PKG_CONFIG"; then
32437 if test -n "$PANGOFT2_CFLAGS"; then
32438 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32440 if test -n "$PKG_CONFIG" && \
32441 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32442 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32445 (exit $ac_status); }; then
32446 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32454 if test -n "$PKG_CONFIG"; then
32455 if test -n "$PANGOFT2_LIBS"; then
32456 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32458 if test -n "$PKG_CONFIG" && \
32459 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32460 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32463 (exit $ac_status); }; then
32464 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32475 if test $pkg_failed = yes; then
32477 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32478 _pkg_short_errors_supported=yes
32480 _pkg_short_errors_supported=no
32482 if test $_pkg_short_errors_supported = yes; then
32483 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32485 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32487 # Put the nasty error message in config.log where it belongs
32488 echo "$PANGOFT2_PKG_ERRORS" >&5
32491 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32492 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32493 wxUSE_PRINTING_ARCHITECTURE="no"
32496 elif test $pkg_failed = untried; then
32498 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32499 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32500 wxUSE_PRINTING_ARCHITECTURE="no"
32504 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
32505 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
32506 echo "$as_me:$LINENO: result: yes" >&5
32507 echo "${ECHO_T}yes" >&6
32509 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
32510 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
32511 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32516 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32517 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
32519 if test -n "$PKG_CONFIG"; then
32520 if test -n "$PANGOXFT_CFLAGS"; then
32521 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
32523 if test -n "$PKG_CONFIG" && \
32524 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32525 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32528 (exit $ac_status); }; then
32529 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32537 if test -n "$PKG_CONFIG"; then
32538 if test -n "$PANGOXFT_LIBS"; then
32539 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
32541 if test -n "$PKG_CONFIG" && \
32542 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32543 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32546 (exit $ac_status); }; then
32547 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32558 if test $pkg_failed = yes; then
32560 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32561 _pkg_short_errors_supported=yes
32563 _pkg_short_errors_supported=no
32565 if test $_pkg_short_errors_supported = yes; then
32566 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32568 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32570 # Put the nasty error message in config.log where it belongs
32571 echo "$PANGOXFT_PKG_ERRORS" >&5
32574 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32575 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32578 elif test $pkg_failed = untried; then
32580 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32581 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32585 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32586 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32587 echo "$as_me:$LINENO: result: yes" >&5
32588 echo "${ECHO_T}yes" >&6
32590 cat >>confdefs.h <<\_ACEOF
32591 #define HAVE_PANGO_XFT 1
32594 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32595 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32596 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32600 LIBS="$LIBS $PANGOX_LIBS"
32602 for ac_func in pango_font_family_is_monospace
32604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32605 echo "$as_me:$LINENO: checking for $ac_func" >&5
32606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32607 if eval "test \"\${$as_ac_var+set}\" = set"; then
32608 echo $ECHO_N "(cached) $ECHO_C" >&6
32610 cat >conftest.$ac_ext <<_ACEOF
32613 cat confdefs.h >>conftest.$ac_ext
32614 cat >>conftest.$ac_ext <<_ACEOF
32615 /* end confdefs.h. */
32616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32618 #define $ac_func innocuous_$ac_func
32620 /* System header to define __stub macros and hopefully few prototypes,
32621 which can conflict with char $ac_func (); below.
32622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32623 <limits.h> exists even on freestanding compilers. */
32626 # include <limits.h>
32628 # include <assert.h>
32633 /* Override any gcc2 internal prototype to avoid an error. */
32638 /* We use char because int might match the return type of a gcc2
32639 builtin and then its argument prototype would still apply. */
32641 /* The GNU C library defines this for functions which it implements
32642 to always fail with ENOSYS. Some functions are actually named
32643 something starting with __ and the normal name is an alias. */
32644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32647 char (*f) () = $ac_func;
32656 return f != $ac_func;
32661 rm -f conftest.$ac_objext conftest$ac_exeext
32662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32663 (eval $ac_link) 2>conftest.er1
32665 grep -v '^ *+' conftest.er1 >conftest.err
32667 cat conftest.err >&5
32668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32669 (exit $ac_status); } &&
32670 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32672 (eval $ac_try) 2>&5
32674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32675 (exit $ac_status); }; } &&
32676 { ac_try='test -s conftest$ac_exeext'
32677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32678 (eval $ac_try) 2>&5
32680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32681 (exit $ac_status); }; }; then
32682 eval "$as_ac_var=yes"
32684 echo "$as_me: failed program was:" >&5
32685 sed 's/^/| /' conftest.$ac_ext >&5
32687 eval "$as_ac_var=no"
32689 rm -f conftest.err conftest.$ac_objext \
32690 conftest$ac_exeext conftest.$ac_ext
32692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32694 if test `eval echo '${'$as_ac_var'}'` = yes; then
32695 cat >>confdefs.h <<_ACEOF
32696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32705 wxUSE_UNIVERSAL="yes"
32707 if test "$wxUSE_NANOX" = "yes"; then
32708 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32709 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"
32710 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32712 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32719 if test "$wxUSE_MOTIF" = 1; then
32720 if test "$wxUSE_UNICODE" = "yes"; then
32721 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
32722 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
32723 { (exit 1); exit 1; }; }
32726 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32727 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
32730 for ac_dir in $SEARCH_INCLUDE /usr/include;
32732 if test -f "$ac_dir/Xm/Xm.h"; then
32733 ac_find_includes=$ac_dir
32738 if test "$ac_find_includes" != "" ; then
32739 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32740 echo "${ECHO_T}found in $ac_find_includes" >&6
32742 if test "x$ac_find_includes" = "x/usr/include"; then
32743 ac_path_to_include=""
32745 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32747 if test $result = 0; then
32748 ac_path_to_include=""
32750 ac_path_to_include=" -I$ac_find_includes"
32754 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32756 save_CFLAGS=$CFLAGS
32757 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32759 cat >conftest.$ac_ext <<_ACEOF
32762 cat confdefs.h >>conftest.$ac_ext
32763 cat >>conftest.$ac_ext <<_ACEOF
32764 /* end confdefs.h. */
32773 version = xmUseVersion;
32779 rm -f conftest.$ac_objext
32780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32781 (eval $ac_compile) 2>conftest.er1
32783 grep -v '^ *+' conftest.er1 >conftest.err
32785 cat conftest.err >&5
32786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32787 (exit $ac_status); } &&
32788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32790 (eval $ac_try) 2>&5
32792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32793 (exit $ac_status); }; } &&
32794 { ac_try='test -s conftest.$ac_objext'
32795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32796 (eval $ac_try) 2>&5
32798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32799 (exit $ac_status); }; }; then
32801 echo "$as_me:$LINENO: result: found in default search path" >&5
32802 echo "${ECHO_T}found in default search path" >&6
32803 COMPILED_X_PROGRAM=1
32806 echo "$as_me: failed program was:" >&5
32807 sed 's/^/| /' conftest.$ac_ext >&5
32810 echo "$as_me:$LINENO: result: no" >&5
32811 echo "${ECHO_T}no" >&6
32812 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32813 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32814 { (exit 1); exit 1; }; }
32818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32820 CFLAGS=$save_CFLAGS
32824 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32825 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
32828 for ac_dir in $SEARCH_LIB;
32830 for ac_extension in a so sl dylib dll.a; do
32831 if test -f "$ac_dir/libXm.$ac_extension"; then
32832 ac_find_libraries=$ac_dir
32839 if test "x$ac_find_libraries" != "x" ; then
32840 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32841 echo "${ECHO_T}found in $ac_find_libraries" >&6
32844 if test "$ac_find_libraries" = "default location"; then
32847 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32849 if test $result = 0; then
32852 ac_path_to_link=" -L$ac_find_libraries"
32856 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32858 save_CFLAGS=$CFLAGS
32859 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32861 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32863 cat >conftest.$ac_ext <<_ACEOF
32866 cat confdefs.h >>conftest.$ac_ext
32867 cat >>conftest.$ac_ext <<_ACEOF
32868 /* end confdefs.h. */
32877 version = xmUseVersion;
32883 rm -f conftest.$ac_objext conftest$ac_exeext
32884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32885 (eval $ac_link) 2>conftest.er1
32887 grep -v '^ *+' conftest.er1 >conftest.err
32889 cat conftest.err >&5
32890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32891 (exit $ac_status); } &&
32892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32894 (eval $ac_try) 2>&5
32896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32897 (exit $ac_status); }; } &&
32898 { ac_try='test -s conftest$ac_exeext'
32899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32900 (eval $ac_try) 2>&5
32902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32903 (exit $ac_status); }; }; then
32905 echo "$as_me:$LINENO: result: found in default search path" >&5
32906 echo "${ECHO_T}found in default search path" >&6
32907 COMPILED_X_PROGRAM=1
32910 echo "$as_me: failed program was:" >&5
32911 sed 's/^/| /' conftest.$ac_ext >&5
32914 echo "$as_me:$LINENO: result: no" >&5
32915 echo "${ECHO_T}no" >&6
32916 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32917 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32918 { (exit 1); exit 1; }; }
32922 rm -f conftest.err conftest.$ac_objext \
32923 conftest$ac_exeext conftest.$ac_ext
32925 CFLAGS=$save_CFLAGS
32929 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32930 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
32934 for libp in "" " -lXp"; do
32935 if test "$libs_found" = "0"; then
32936 for libsm_ice in "" " -lSM -lICE"; do
32937 if test "$libs_found" = "0"; then
32939 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32940 save_CFLAGS=$CFLAGS
32941 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32943 cat >conftest.$ac_ext <<_ACEOF
32946 cat confdefs.h >>conftest.$ac_ext
32947 cat >>conftest.$ac_ext <<_ACEOF
32948 /* end confdefs.h. */
32951 #include <Xm/List.h>
32957 XmString string = NULL;
32960 XmListAddItem(w, string, position);
32966 rm -f conftest.$ac_objext conftest$ac_exeext
32967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32968 (eval $ac_link) 2>conftest.er1
32970 grep -v '^ *+' conftest.er1 >conftest.err
32972 cat conftest.err >&5
32973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32974 (exit $ac_status); } &&
32975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32977 (eval $ac_try) 2>&5
32979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32980 (exit $ac_status); }; } &&
32981 { ac_try='test -s conftest$ac_exeext'
32982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32983 (eval $ac_try) 2>&5
32985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32986 (exit $ac_status); }; }; then
32989 libsm_ice_link="$libsm_ice"
32990 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32991 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
32995 echo "$as_me: failed program was:" >&5
32996 sed 's/^/| /' conftest.$ac_ext >&5
33001 rm -f conftest.err conftest.$ac_objext \
33002 conftest$ac_exeext conftest.$ac_ext
33005 CFLAGS=$save_CFLAGS
33011 if test "$libs_found" = "0"; then
33012 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33013 echo "${ECHO_T}can't find the right libraries" >&6
33014 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33015 echo "$as_me: error: can't link a simple motif program" >&2;}
33016 { (exit 1); exit 1; }; }
33019 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33020 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
33021 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33022 echo $ECHO_N "(cached) $ECHO_C" >&6
33024 ac_check_lib_save_LIBS=$LIBS
33026 cat >conftest.$ac_ext <<_ACEOF
33029 cat confdefs.h >>conftest.$ac_ext
33030 cat >>conftest.$ac_ext <<_ACEOF
33031 /* end confdefs.h. */
33033 /* Override any gcc2 internal prototype to avoid an error. */
33037 /* We use char because int might match the return type of a gcc2
33038 builtin and then its argument prototype would still apply. */
33039 char SgCreateList ();
33048 rm -f conftest.$ac_objext conftest$ac_exeext
33049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33050 (eval $ac_link) 2>conftest.er1
33052 grep -v '^ *+' conftest.er1 >conftest.err
33054 cat conftest.err >&5
33055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33056 (exit $ac_status); } &&
33057 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33059 (eval $ac_try) 2>&5
33061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33062 (exit $ac_status); }; } &&
33063 { ac_try='test -s conftest$ac_exeext'
33064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33065 (eval $ac_try) 2>&5
33067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33068 (exit $ac_status); }; }; then
33069 ac_cv_lib_Sgm_SgCreateList=yes
33071 echo "$as_me: failed program was:" >&5
33072 sed 's/^/| /' conftest.$ac_ext >&5
33074 ac_cv_lib_Sgm_SgCreateList=no
33076 rm -f conftest.err conftest.$ac_objext \
33077 conftest$ac_exeext conftest.$ac_ext
33078 LIBS=$ac_check_lib_save_LIBS
33080 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33081 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
33082 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33083 libsgm_link=" -lSgm"
33087 save_CFLAGS=$CFLAGS
33088 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33090 echo "$as_me:$LINENO: checking for Motif 2" >&5
33091 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
33092 if test "${wx_cv_lib_motif2+set}" = set; then
33093 echo $ECHO_N "(cached) $ECHO_C" >&6
33095 cat >conftest.$ac_ext <<_ACEOF
33098 cat confdefs.h >>conftest.$ac_ext
33099 cat >>conftest.$ac_ext <<_ACEOF
33100 /* end confdefs.h. */
33108 #if XmVersion < 2000
33116 rm -f conftest.$ac_objext
33117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33118 (eval $ac_compile) 2>conftest.er1
33120 grep -v '^ *+' conftest.er1 >conftest.err
33122 cat conftest.err >&5
33123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33124 (exit $ac_status); } &&
33125 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33127 (eval $ac_try) 2>&5
33129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33130 (exit $ac_status); }; } &&
33131 { ac_try='test -s conftest.$ac_objext'
33132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33133 (eval $ac_try) 2>&5
33135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33136 (exit $ac_status); }; }; then
33137 wx_cv_lib_motif2="yes"
33139 echo "$as_me: failed program was:" >&5
33140 sed 's/^/| /' conftest.$ac_ext >&5
33142 wx_cv_lib_motif2="no"
33144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33146 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33147 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
33148 if test "$wx_cv_lib_motif2" = "yes"; then
33149 cat >>confdefs.h <<\_ACEOF
33150 #define __WXMOTIF20__ 1
33154 cat >>confdefs.h <<\_ACEOF
33155 #define __WXMOTIF20__ 0
33160 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33161 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
33162 if test "${wx_cv_lib_lesstif+set}" = set; then
33163 echo $ECHO_N "(cached) $ECHO_C" >&6
33165 cat >conftest.$ac_ext <<_ACEOF
33168 cat confdefs.h >>conftest.$ac_ext
33169 cat >>conftest.$ac_ext <<_ACEOF
33170 /* end confdefs.h. */
33178 #if !defined(LesstifVersion) || LesstifVersion <= 0
33186 rm -f conftest.$ac_objext
33187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33188 (eval $ac_compile) 2>conftest.er1
33190 grep -v '^ *+' conftest.er1 >conftest.err
33192 cat conftest.err >&5
33193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33194 (exit $ac_status); } &&
33195 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33197 (eval $ac_try) 2>&5
33199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33200 (exit $ac_status); }; } &&
33201 { ac_try='test -s conftest.$ac_objext'
33202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33203 (eval $ac_try) 2>&5
33205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33206 (exit $ac_status); }; }; then
33207 wx_cv_lib_lesstif="yes"
33209 echo "$as_me: failed program was:" >&5
33210 sed 's/^/| /' conftest.$ac_ext >&5
33212 wx_cv_lib_lesstif="no"
33214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33217 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33218 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
33219 if test "$wx_cv_lib_lesstif" = "yes"; then
33220 cat >>confdefs.h <<\_ACEOF
33221 #define __WXLESSTIF__ 1
33225 cat >>confdefs.h <<\_ACEOF
33226 #define __WXLESSTIF__ 0
33231 CFLAGS=$save_CFLAGS
33233 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33238 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33239 if test "$wxUSE_LIBXPM" = "sys"; then
33240 echo "$as_me:$LINENO: checking for Xpm library" >&5
33241 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
33244 for ac_dir in $SEARCH_LIB;
33246 for ac_extension in a so sl dylib dll.a; do
33247 if test -f "$ac_dir/libXpm.$ac_extension"; then
33248 ac_find_libraries=$ac_dir
33254 if test "$ac_find_libraries" != "" ; then
33256 if test "$ac_find_libraries" = "default location"; then
33259 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33261 if test $result = 0; then
33264 ac_path_to_link=" -L$ac_find_libraries"
33268 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33269 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33270 echo "${ECHO_T}found in $ac_find_libraries" >&6
33272 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33273 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
33274 if test "${wx_cv_x11_xpm_h+set}" = set; then
33275 echo $ECHO_N "(cached) $ECHO_C" >&6
33278 save_CFLAGS=$CFLAGS
33279 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33281 cat >conftest.$ac_ext <<_ACEOF
33284 cat confdefs.h >>conftest.$ac_ext
33285 cat >>conftest.$ac_ext <<_ACEOF
33286 /* end confdefs.h. */
33288 #include <X11/xpm.h>
33295 version = XpmLibraryVersion();
33301 rm -f conftest.$ac_objext
33302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33303 (eval $ac_compile) 2>conftest.er1
33305 grep -v '^ *+' conftest.er1 >conftest.err
33307 cat conftest.err >&5
33308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33309 (exit $ac_status); } &&
33310 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33312 (eval $ac_try) 2>&5
33314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33315 (exit $ac_status); }; } &&
33316 { ac_try='test -s conftest.$ac_objext'
33317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33318 (eval $ac_try) 2>&5
33320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33321 (exit $ac_status); }; }; then
33322 wx_cv_x11_xpm_h=yes
33324 echo "$as_me: failed program was:" >&5
33325 sed 's/^/| /' conftest.$ac_ext >&5
33330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33332 CFLAGS=$save_CFLAGS
33336 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33337 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
33339 if test $wx_cv_x11_xpm_h = "yes"; then
33340 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33341 cat >>confdefs.h <<\_ACEOF
33342 #define wxHAVE_LIB_XPM 1
33346 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33347 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33353 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33354 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
33355 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33356 echo $ECHO_N "(cached) $ECHO_C" >&6
33358 ac_check_lib_save_LIBS=$LIBS
33359 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33360 cat >conftest.$ac_ext <<_ACEOF
33363 cat confdefs.h >>conftest.$ac_ext
33364 cat >>conftest.$ac_ext <<_ACEOF
33365 /* end confdefs.h. */
33367 /* Override any gcc2 internal prototype to avoid an error. */
33371 /* We use char because int might match the return type of a gcc2
33372 builtin and then its argument prototype would still apply. */
33373 char XShapeQueryExtension ();
33377 XShapeQueryExtension ();
33382 rm -f conftest.$ac_objext conftest$ac_exeext
33383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33384 (eval $ac_link) 2>conftest.er1
33386 grep -v '^ *+' conftest.er1 >conftest.err
33388 cat conftest.err >&5
33389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33390 (exit $ac_status); } &&
33391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33393 (eval $ac_try) 2>&5
33395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33396 (exit $ac_status); }; } &&
33397 { ac_try='test -s conftest$ac_exeext'
33398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33399 (eval $ac_try) 2>&5
33401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33402 (exit $ac_status); }; }; then
33403 ac_cv_lib_Xext_XShapeQueryExtension=yes
33405 echo "$as_me: failed program was:" >&5
33406 sed 's/^/| /' conftest.$ac_ext >&5
33408 ac_cv_lib_Xext_XShapeQueryExtension=no
33410 rm -f conftest.err conftest.$ac_objext \
33411 conftest$ac_exeext conftest.$ac_ext
33412 LIBS=$ac_check_lib_save_LIBS
33414 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33415 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
33416 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33418 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33424 if test "$wxHAVE_XEXT_LIB" = 1; then
33425 save_CFLAGS="$CFLAGS"
33426 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33428 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33429 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
33430 cat >conftest.$ac_ext <<_ACEOF
33433 cat confdefs.h >>conftest.$ac_ext
33434 cat >>conftest.$ac_ext <<_ACEOF
33435 /* end confdefs.h. */
33437 #include <X11/Xlib.h>
33438 #include <X11/extensions/shape.h>
33444 int dummy1, dummy2;
33445 XShapeQueryExtension((Display*)NULL,
33446 (int*)NULL, (int*)NULL);
33452 rm -f conftest.$ac_objext
33453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33454 (eval $ac_compile) 2>conftest.er1
33456 grep -v '^ *+' conftest.er1 >conftest.err
33458 cat conftest.err >&5
33459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33460 (exit $ac_status); } &&
33461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33463 (eval $ac_try) 2>&5
33465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33466 (exit $ac_status); }; } &&
33467 { ac_try='test -s conftest.$ac_objext'
33468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33469 (eval $ac_try) 2>&5
33471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33472 (exit $ac_status); }; }; then
33474 cat >>confdefs.h <<\_ACEOF
33475 #define HAVE_XSHAPE 1
33478 echo "$as_me:$LINENO: result: found" >&5
33479 echo "${ECHO_T}found" >&6
33482 echo "$as_me: failed program was:" >&5
33483 sed 's/^/| /' conftest.$ac_ext >&5
33486 echo "$as_me:$LINENO: result: not found" >&5
33487 echo "${ECHO_T}not found" >&6
33490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33491 CFLAGS="$save_CFLAGS"
33496 if test "$wxUSE_MAC" = 1; then
33497 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33498 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
33499 if test "$GCC" = yes; then
33500 echo "$as_me:$LINENO: result: gcc" >&5
33501 echo "${ECHO_T}gcc" >&6
33502 CPPFLAGS_PASCAL="-fpascal-strings"
33503 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33504 echo "$as_me:$LINENO: result: xlc" >&5
33505 echo "${ECHO_T}xlc" >&6
33506 CPPFLAGS_PASCAL="-qmacpstr"
33508 echo "$as_me:$LINENO: result: none" >&5
33509 echo "${ECHO_T}none" >&6
33512 if test "x$wxUSE_UNIX" = "xyes"; then
33513 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33515 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
33520 WXBASEPORT="_carbon"
33523 if test "$wxUSE_COCOA" = 1; then
33528 if test "$wxUSE_PM" = 1; then
33531 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33532 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
33533 if test "${wx_cv_spbcdata+set}" = set; then
33534 echo $ECHO_N "(cached) $ECHO_C" >&6
33537 cat >conftest.$ac_ext <<_ACEOF
33540 cat confdefs.h >>conftest.$ac_ext
33541 cat >>conftest.$ac_ext <<_ACEOF
33542 /* end confdefs.h. */
33557 rm -f conftest.$ac_objext
33558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33559 (eval $ac_compile) 2>conftest.er1
33561 grep -v '^ *+' conftest.er1 >conftest.err
33563 cat conftest.err >&5
33564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33565 (exit $ac_status); } &&
33566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33568 (eval $ac_try) 2>&5
33570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33571 (exit $ac_status); }; } &&
33572 { ac_try='test -s conftest.$ac_objext'
33573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33574 (eval $ac_try) 2>&5
33576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33577 (exit $ac_status); }; }; then
33580 echo "$as_me: failed program was:" >&5
33581 sed 's/^/| /' conftest.$ac_ext >&5
33586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33590 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33591 echo "${ECHO_T}$wx_cv_spbcdata" >&6
33593 if test $wx_cv_spbcdata = "yes"; then
33594 cat >>confdefs.h <<\_ACEOF
33595 #define HAVE_SPBCDATA 1
33601 if test "$TOOLKIT" = "PM" ; then
33604 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
33607 if test "$wxUSE_UNIVERSAL" = "yes"; then
33608 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33612 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33613 DISTDIR="wx\$(TOOLKIT)"
33619 if test "$USE_WIN32" = 1 ; then
33623 GUIDIST="BASE_DIST"
33629 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33630 if test "$TOOLKIT" = "DFB" ; then
33631 wxUSE_UNICODE_UTF8=yes
33632 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
33633 wxUSE_UNICODE_UTF8=yes
33634 elif test "$USE_OS2" = "1" ; then
33635 wxUSE_UNICODE_UTF8=yes
33637 wxUSE_UNICODE_UTF8=no
33642 if test "$wxUSE_GUI" = "yes"; then
33643 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33644 echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
33645 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6
33646 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
33647 echo $ECHO_N "(cached) $ECHO_C" >&6
33649 cat >conftest.$ac_ext <<_ACEOF
33652 cat confdefs.h >>conftest.$ac_ext
33653 cat >>conftest.$ac_ext <<_ACEOF
33654 /* end confdefs.h. */
33657 #include <X11/Xlib.h>
33659 rm -f conftest.$ac_objext
33660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33661 (eval $ac_compile) 2>conftest.er1
33663 grep -v '^ *+' conftest.er1 >conftest.err
33665 cat conftest.err >&5
33666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33667 (exit $ac_status); } &&
33668 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33670 (eval $ac_try) 2>&5
33672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33673 (exit $ac_status); }; } &&
33674 { ac_try='test -s conftest.$ac_objext'
33675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33676 (eval $ac_try) 2>&5
33678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33679 (exit $ac_status); }; }; then
33680 ac_cv_header_X11_Xlib_h=yes
33682 echo "$as_me: failed program was:" >&5
33683 sed 's/^/| /' conftest.$ac_ext >&5
33685 ac_cv_header_X11_Xlib_h=no
33687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33689 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
33690 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6
33693 echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
33694 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6
33695 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
33696 echo $ECHO_N "(cached) $ECHO_C" >&6
33698 cat >conftest.$ac_ext <<_ACEOF
33701 cat confdefs.h >>conftest.$ac_ext
33702 cat >>conftest.$ac_ext <<_ACEOF
33703 /* end confdefs.h. */
33705 #if HAVE_X11_XLIB_H
33706 #include <X11/Xlib.h>
33710 #include <X11/XKBlib.h>
33712 rm -f conftest.$ac_objext
33713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33714 (eval $ac_compile) 2>conftest.er1
33716 grep -v '^ *+' conftest.er1 >conftest.err
33718 cat conftest.err >&5
33719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33720 (exit $ac_status); } &&
33721 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33723 (eval $ac_try) 2>&5
33725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33726 (exit $ac_status); }; } &&
33727 { ac_try='test -s conftest.$ac_objext'
33728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33729 (eval $ac_try) 2>&5
33731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33732 (exit $ac_status); }; }; then
33733 ac_cv_header_X11_XKBlib_h=yes
33735 echo "$as_me: failed program was:" >&5
33736 sed 's/^/| /' conftest.$ac_ext >&5
33738 ac_cv_header_X11_XKBlib_h=no
33740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33742 echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
33743 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6
33754 if test "$TOOLKIT" != "MSW" ; then
33756 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
33758 echo "$as_me:$LINENO: checking for sql.h" >&5
33759 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
33760 if test "${ac_cv_header_sql_h+set}" = set; then
33761 echo $ECHO_N "(cached) $ECHO_C" >&6
33763 cat >conftest.$ac_ext <<_ACEOF
33766 cat confdefs.h >>conftest.$ac_ext
33767 cat >>conftest.$ac_ext <<_ACEOF
33768 /* end confdefs.h. */
33773 rm -f conftest.$ac_objext
33774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33775 (eval $ac_compile) 2>conftest.er1
33777 grep -v '^ *+' conftest.er1 >conftest.err
33779 cat conftest.err >&5
33780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33781 (exit $ac_status); } &&
33782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33784 (eval $ac_try) 2>&5
33786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33787 (exit $ac_status); }; } &&
33788 { ac_try='test -s conftest.$ac_objext'
33789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33790 (eval $ac_try) 2>&5
33792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33793 (exit $ac_status); }; }; then
33794 ac_cv_header_sql_h=yes
33796 echo "$as_me: failed program was:" >&5
33797 sed 's/^/| /' conftest.$ac_ext >&5
33799 ac_cv_header_sql_h=no
33801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33803 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
33804 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
33805 if test $ac_cv_header_sql_h = yes; then
33810 if test "x$found_sql_h" = "x1" ; then
33811 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
33812 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
33813 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
33814 echo $ECHO_N "(cached) $ECHO_C" >&6
33816 ac_check_lib_save_LIBS=$LIBS
33817 LIBS="-liodbc $LIBS"
33818 cat >conftest.$ac_ext <<_ACEOF
33821 cat confdefs.h >>conftest.$ac_ext
33822 cat >>conftest.$ac_ext <<_ACEOF
33823 /* end confdefs.h. */
33825 /* Override any gcc2 internal prototype to avoid an error. */
33829 /* We use char because int might match the return type of a gcc2
33830 builtin and then its argument prototype would still apply. */
33831 char SQLAllocEnv ();
33840 rm -f conftest.$ac_objext conftest$ac_exeext
33841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33842 (eval $ac_link) 2>conftest.er1
33844 grep -v '^ *+' conftest.er1 >conftest.err
33846 cat conftest.err >&5
33847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33848 (exit $ac_status); } &&
33849 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33851 (eval $ac_try) 2>&5
33853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33854 (exit $ac_status); }; } &&
33855 { ac_try='test -s conftest$ac_exeext'
33856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33857 (eval $ac_try) 2>&5
33859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33860 (exit $ac_status); }; }; then
33861 ac_cv_lib_iodbc_SQLAllocEnv=yes
33863 echo "$as_me: failed program was:" >&5
33864 sed 's/^/| /' conftest.$ac_ext >&5
33866 ac_cv_lib_iodbc_SQLAllocEnv=no
33868 rm -f conftest.err conftest.$ac_objext \
33869 conftest$ac_exeext conftest.$ac_ext
33870 LIBS=$ac_check_lib_save_LIBS
33872 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
33873 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
33874 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
33875 ODBC_LINK=" -liodbc"
33878 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
33879 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
33880 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
33881 echo $ECHO_N "(cached) $ECHO_C" >&6
33883 ac_check_lib_save_LIBS=$LIBS
33884 LIBS="-lunixodbc $LIBS"
33885 cat >conftest.$ac_ext <<_ACEOF
33888 cat confdefs.h >>conftest.$ac_ext
33889 cat >>conftest.$ac_ext <<_ACEOF
33890 /* end confdefs.h. */
33892 /* Override any gcc2 internal prototype to avoid an error. */
33896 /* We use char because int might match the return type of a gcc2
33897 builtin and then its argument prototype would still apply. */
33898 char SQLAllocEnv ();
33907 rm -f conftest.$ac_objext conftest$ac_exeext
33908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33909 (eval $ac_link) 2>conftest.er1
33911 grep -v '^ *+' conftest.er1 >conftest.err
33913 cat conftest.err >&5
33914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33915 (exit $ac_status); } &&
33916 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33918 (eval $ac_try) 2>&5
33920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33921 (exit $ac_status); }; } &&
33922 { ac_try='test -s conftest$ac_exeext'
33923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33924 (eval $ac_try) 2>&5
33926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33927 (exit $ac_status); }; }; then
33928 ac_cv_lib_unixodbc_SQLAllocEnv=yes
33930 echo "$as_me: failed program was:" >&5
33931 sed 's/^/| /' conftest.$ac_ext >&5
33933 ac_cv_lib_unixodbc_SQLAllocEnv=no
33935 rm -f conftest.err conftest.$ac_objext \
33936 conftest$ac_exeext conftest.$ac_ext
33937 LIBS=$ac_check_lib_save_LIBS
33939 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
33940 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
33941 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
33942 ODBC_LINK=" -lunixodbc"
33945 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
33946 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
33947 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
33948 echo $ECHO_N "(cached) $ECHO_C" >&6
33950 ac_check_lib_save_LIBS=$LIBS
33951 LIBS="-lodbc $LIBS"
33952 cat >conftest.$ac_ext <<_ACEOF
33955 cat confdefs.h >>conftest.$ac_ext
33956 cat >>conftest.$ac_ext <<_ACEOF
33957 /* end confdefs.h. */
33959 /* Override any gcc2 internal prototype to avoid an error. */
33963 /* We use char because int might match the return type of a gcc2
33964 builtin and then its argument prototype would still apply. */
33965 char SQLAllocEnv ();
33974 rm -f conftest.$ac_objext conftest$ac_exeext
33975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33976 (eval $ac_link) 2>conftest.er1
33978 grep -v '^ *+' conftest.er1 >conftest.err
33980 cat conftest.err >&5
33981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33982 (exit $ac_status); } &&
33983 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33985 (eval $ac_try) 2>&5
33987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33988 (exit $ac_status); }; } &&
33989 { ac_try='test -s conftest$ac_exeext'
33990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33991 (eval $ac_try) 2>&5
33993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33994 (exit $ac_status); }; }; then
33995 ac_cv_lib_odbc_SQLAllocEnv=yes
33997 echo "$as_me: failed program was:" >&5
33998 sed 's/^/| /' conftest.$ac_ext >&5
34000 ac_cv_lib_odbc_SQLAllocEnv=no
34002 rm -f conftest.err conftest.$ac_objext \
34003 conftest$ac_exeext conftest.$ac_ext
34004 LIBS=$ac_check_lib_save_LIBS
34006 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
34007 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
34008 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
34009 ODBC_LINK=" -lodbc"
34019 if test "x$ODBC_LINK" = "x" ; then
34020 if test "$wxUSE_ODBC" = "sys" ; then
34021 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
34022 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
34023 { (exit 1); exit 1; }; }
34025 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
34026 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
34034 if test "$wxUSE_ODBC" = "builtin" ; then
34035 cat >>confdefs.h <<\_ACEOF
34036 #define wxUSE_BUILTIN_IODBC 1
34042 if test "$wxUSE_ODBC" != "no" ; then
34043 cat >>confdefs.h <<\_ACEOF
34044 #define wxUSE_ODBC 1
34047 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
34049 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
34053 if test "$wxUSE_DISPLAY" = "yes"; then
34054 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
34055 echo "$as_me:$LINENO: checking for Xinerama" >&5
34056 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
34059 for ac_dir in $SEARCH_LIB;
34061 for ac_extension in a so sl dylib dll.a; do
34062 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34063 ac_find_libraries=$ac_dir
34069 if test "$ac_find_libraries" != "" ; then
34071 if test "$ac_find_libraries" = "default location"; then
34074 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34076 if test $result = 0; then
34079 ac_path_to_link=" -L$ac_find_libraries"
34083 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34084 LDFLAGS="$LDFLAGS $ac_path_to_link"
34086 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34087 echo "$as_me:$LINENO: result: yes" >&5
34088 echo "${ECHO_T}yes" >&6
34090 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34091 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
34094 for ac_dir in $SEARCH_LIB;
34096 for ac_extension in a so sl dylib dll.a; do
34097 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34098 ac_find_libraries=$ac_dir
34104 if test "$ac_find_libraries" != "" ; then
34105 echo "$as_me:$LINENO: result: yes" >&5
34106 echo "${ECHO_T}yes" >&6
34107 echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
34108 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6
34109 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
34110 echo $ECHO_N "(cached) $ECHO_C" >&6
34112 cat >conftest.$ac_ext <<_ACEOF
34115 cat confdefs.h >>conftest.$ac_ext
34116 cat >>conftest.$ac_ext <<_ACEOF
34117 /* end confdefs.h. */
34119 #if HAVE_X11_XLIB_H
34120 #include <X11/Xlib.h>
34124 #include <X11/extensions/xf86vmode.h>
34126 rm -f conftest.$ac_objext
34127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34128 (eval $ac_compile) 2>conftest.er1
34130 grep -v '^ *+' conftest.er1 >conftest.err
34132 cat conftest.err >&5
34133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34134 (exit $ac_status); } &&
34135 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34137 (eval $ac_try) 2>&5
34139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34140 (exit $ac_status); }; } &&
34141 { ac_try='test -s conftest.$ac_objext'
34142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34143 (eval $ac_try) 2>&5
34145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34146 (exit $ac_status); }; }; then
34147 ac_cv_header_X11_extensions_xf86vmode_h=yes
34149 echo "$as_me: failed program was:" >&5
34150 sed 's/^/| /' conftest.$ac_ext >&5
34152 ac_cv_header_X11_extensions_xf86vmode_h=no
34154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34156 echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
34157 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6
34158 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
34160 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34166 echo "$as_me:$LINENO: result: no" >&5
34167 echo "${ECHO_T}no" >&6
34171 echo "$as_me:$LINENO: result: no" >&5
34172 echo "${ECHO_T}no" >&6
34173 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34174 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34177 elif test "$wxUSE_MSW" = 1; then
34178 echo "$as_me:$LINENO: checking for ddraw.h" >&5
34179 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6
34180 if test "${ac_cv_header_ddraw_h+set}" = set; then
34181 echo $ECHO_N "(cached) $ECHO_C" >&6
34183 cat >conftest.$ac_ext <<_ACEOF
34186 cat confdefs.h >>conftest.$ac_ext
34187 cat >>conftest.$ac_ext <<_ACEOF
34188 /* end confdefs.h. */
34189 #include <windows.h>
34193 rm -f conftest.$ac_objext
34194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34195 (eval $ac_compile) 2>conftest.er1
34197 grep -v '^ *+' conftest.er1 >conftest.err
34199 cat conftest.err >&5
34200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34201 (exit $ac_status); } &&
34202 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34204 (eval $ac_try) 2>&5
34206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34207 (exit $ac_status); }; } &&
34208 { ac_try='test -s conftest.$ac_objext'
34209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34210 (eval $ac_try) 2>&5
34212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34213 (exit $ac_status); }; }; then
34214 ac_cv_header_ddraw_h=yes
34216 echo "$as_me: failed program was:" >&5
34217 sed 's/^/| /' conftest.$ac_ext >&5
34219 ac_cv_header_ddraw_h=no
34221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34223 echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34224 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6
34230 if test "$wxUSE_DETECT_SM" = "yes"; then
34231 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
34232 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34233 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
34236 for ac_dir in $SEARCH_LIB;
34238 for ac_extension in a so sl dylib dll.a; do
34239 if test -f "$ac_dir/libSM.$ac_extension"; then
34240 ac_find_libraries=$ac_dir
34246 if test "$ac_find_libraries" != "" ; then
34248 if test "$ac_find_libraries" = "default location"; then
34251 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34253 if test $result = 0; then
34256 ac_path_to_link=" -L$ac_find_libraries"
34260 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34261 LDFLAGS="$LDFLAGS $ac_path_to_link"
34263 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34264 echo "$as_me:$LINENO: result: yes" >&5
34265 echo "${ECHO_T}yes" >&6
34267 echo "$as_me:$LINENO: result: no" >&5
34268 echo "${ECHO_T}no" >&6
34269 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34270 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34271 wxUSE_DETECT_SM="no"
34274 wxUSE_DETECT_SM="no"
34281 if test "$wxUSE_OPENGL" = "yes"; then
34282 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
34283 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34284 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34286 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
34287 OPENGL_LIBS="-framework OpenGL -framework AGL"
34288 elif test "$wxUSE_MSW" = 1; then
34289 OPENGL_LIBS="-lopengl32 -lglu32"
34291 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34292 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
34295 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
34297 if test -f "$ac_dir/GL/gl.h"; then
34298 ac_find_includes=$ac_dir
34303 if test "$ac_find_includes" != "" ; then
34304 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34305 echo "${ECHO_T}found in $ac_find_includes" >&6
34307 if test "x$ac_find_includes" = "x/usr/include"; then
34308 ac_path_to_include=""
34310 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34312 if test $result = 0; then
34313 ac_path_to_include=""
34315 ac_path_to_include=" -I$ac_find_includes"
34319 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34321 echo "$as_me:$LINENO: result: not found" >&5
34322 echo "${ECHO_T}not found" >&6
34325 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34326 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
34327 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34328 echo $ECHO_N "(cached) $ECHO_C" >&6
34330 cat >conftest.$ac_ext <<_ACEOF
34333 cat confdefs.h >>conftest.$ac_ext
34334 cat >>conftest.$ac_ext <<_ACEOF
34335 /* end confdefs.h. */
34340 rm -f conftest.$ac_objext
34341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34342 (eval $ac_compile) 2>conftest.er1
34344 grep -v '^ *+' conftest.er1 >conftest.err
34346 cat conftest.err >&5
34347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34348 (exit $ac_status); } &&
34349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34351 (eval $ac_try) 2>&5
34353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34354 (exit $ac_status); }; } &&
34355 { ac_try='test -s conftest.$ac_objext'
34356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34357 (eval $ac_try) 2>&5
34359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34360 (exit $ac_status); }; }; then
34361 ac_cv_header_GL_gl_h=yes
34363 echo "$as_me: failed program was:" >&5
34364 sed 's/^/| /' conftest.$ac_ext >&5
34366 ac_cv_header_GL_gl_h=no
34368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34370 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34371 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
34372 if test $ac_cv_header_GL_gl_h = yes; then
34374 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34375 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34376 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
34377 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34378 echo $ECHO_N "(cached) $ECHO_C" >&6
34380 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34381 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
34383 # Is the header compilable?
34384 echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
34385 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
34386 cat >conftest.$ac_ext <<_ACEOF
34389 cat confdefs.h >>conftest.$ac_ext
34390 cat >>conftest.$ac_ext <<_ACEOF
34391 /* end confdefs.h. */
34392 $ac_includes_default
34393 #include <GL/glu.h>
34395 rm -f conftest.$ac_objext
34396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34397 (eval $ac_compile) 2>conftest.er1
34399 grep -v '^ *+' conftest.er1 >conftest.err
34401 cat conftest.err >&5
34402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34403 (exit $ac_status); } &&
34404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34406 (eval $ac_try) 2>&5
34408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34409 (exit $ac_status); }; } &&
34410 { ac_try='test -s conftest.$ac_objext'
34411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34412 (eval $ac_try) 2>&5
34414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34415 (exit $ac_status); }; }; then
34416 ac_header_compiler=yes
34418 echo "$as_me: failed program was:" >&5
34419 sed 's/^/| /' conftest.$ac_ext >&5
34421 ac_header_compiler=no
34423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34424 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34425 echo "${ECHO_T}$ac_header_compiler" >&6
34427 # Is the header present?
34428 echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
34429 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
34430 cat >conftest.$ac_ext <<_ACEOF
34433 cat confdefs.h >>conftest.$ac_ext
34434 cat >>conftest.$ac_ext <<_ACEOF
34435 /* end confdefs.h. */
34436 #include <GL/glu.h>
34438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34439 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34441 grep -v '^ *+' conftest.er1 >conftest.err
34443 cat conftest.err >&5
34444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34445 (exit $ac_status); } >/dev/null; then
34446 if test -s conftest.err; then
34447 ac_cpp_err=$ac_c_preproc_warn_flag
34448 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34455 if test -z "$ac_cpp_err"; then
34456 ac_header_preproc=yes
34458 echo "$as_me: failed program was:" >&5
34459 sed 's/^/| /' conftest.$ac_ext >&5
34461 ac_header_preproc=no
34463 rm -f conftest.err conftest.$ac_ext
34464 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34465 echo "${ECHO_T}$ac_header_preproc" >&6
34467 # So? What about this header?
34468 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34470 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
34471 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
34472 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
34473 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
34474 ac_header_preproc=yes
34477 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
34478 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
34479 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
34480 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
34481 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
34482 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
34483 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
34484 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
34485 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
34486 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
34487 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
34488 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
34491 ## ----------------------------------------- ##
34492 ## Report this to wx-dev@lists.wxwidgets.org ##
34493 ## ----------------------------------------- ##
34496 sed "s/^/$as_me: WARNING: /" >&2
34499 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34500 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
34501 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34502 echo $ECHO_N "(cached) $ECHO_C" >&6
34504 ac_cv_header_GL_glu_h=$ac_header_preproc
34506 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34507 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
34510 if test $ac_cv_header_GL_glu_h = yes; then
34514 echo "$as_me:$LINENO: checking for -lGL" >&5
34515 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
34518 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
34520 for ac_extension in a so sl dylib dll.a; do
34521 if test -f "$ac_dir/libGL.$ac_extension"; then
34522 ac_find_libraries=$ac_dir
34528 if test "$ac_find_libraries" != "" ; then
34529 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34530 echo "${ECHO_T}found in $ac_find_libraries" >&6
34533 if test "$ac_find_libraries" = "default location"; then
34536 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34538 if test $result = 0; then
34541 ac_path_to_link=" -L$ac_find_libraries"
34545 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34546 LDFLAGS_GL="$ac_path_to_link"
34549 echo "$as_me:$LINENO: checking for -lGLU" >&5
34550 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
34553 for ac_dir in $SEARCH_LIB;
34555 for ac_extension in a so sl dylib dll.a; do
34556 if test -f "$ac_dir/libGLU.$ac_extension"; then
34557 ac_find_libraries=$ac_dir
34563 if test "$ac_find_libraries" != "" ; then
34565 if test "$ac_find_libraries" = "default location"; then
34568 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34570 if test $result = 0; then
34573 ac_path_to_link=" -L$ac_find_libraries"
34577 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34578 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34579 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34583 OPENGL_LIBS="-lGL -lGLU"
34584 echo "$as_me:$LINENO: result: yes" >&5
34585 echo "${ECHO_T}yes" >&6
34587 echo "$as_me:$LINENO: result: no" >&5
34588 echo "${ECHO_T}no" >&6
34591 echo "$as_me:$LINENO: result: no" >&5
34592 echo "${ECHO_T}no" >&6
34595 if test "$found_gl" != 1; then
34596 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34597 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
34600 for ac_dir in $SEARCH_LIB;
34602 for ac_extension in a so sl dylib dll.a; do
34603 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34604 ac_find_libraries=$ac_dir
34610 if test "$ac_find_libraries" != "" ; then
34612 if test "$ac_find_libraries" = "default location"; then
34615 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34617 if test $result = 0; then
34620 ac_path_to_link=" -L$ac_find_libraries"
34624 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34625 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34626 echo "$as_me:$LINENO: result: yes" >&5
34627 echo "${ECHO_T}yes" >&6
34629 echo "$as_me:$LINENO: result: no" >&5
34630 echo "${ECHO_T}no" >&6
34642 if test "x$OPENGL_LIBS" = "x"; then
34643 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34644 echo "$as_me: error: OpenGL libraries not available" >&2;}
34645 { (exit 1); exit 1; }; }
34649 if test "$wxUSE_OPENGL" = "yes"; then
34651 cat >>confdefs.h <<\_ACEOF
34652 #define wxUSE_OPENGL 1
34655 cat >>confdefs.h <<\_ACEOF
34656 #define wxUSE_GLCANVAS 1
34659 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34664 if test -n "$TOOLKIT" ; then
34665 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34670 if test "$wxUSE_SHARED" = "yes"; then
34674 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34675 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34680 if test "$wxUSE_SHARED" = "yes"; then
34684 *-*-cygwin* | *-*-mingw* )
34685 wx_cv_version_script=no
34689 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34690 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
34691 if test "${wx_cv_version_script+set}" = set; then
34692 echo $ECHO_N "(cached) $ECHO_C" >&6
34695 echo "VER_1 { *; };" >conftest.sym
34696 echo "int main() { return 0; }" >conftest.cpp
34699 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34700 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34702 (eval $ac_try) 2>&5
34704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34705 (exit $ac_status); }; } ; then
34706 if test -s conftest.stderr ; then
34707 wx_cv_version_script=no
34709 wx_cv_version_script=yes
34712 wx_cv_version_script=no
34715 if test $wx_cv_version_script = yes
34717 echo "struct B { virtual ~B() { } }; \
34718 struct D : public B { }; \
34719 void F() { D d; }" > conftest.cpp
34722 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34723 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34725 (eval $ac_try) 2>&5
34727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34728 (exit $ac_status); }; } &&
34730 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34731 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34733 (eval $ac_try) 2>&5
34735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34736 (exit $ac_status); }; }
34739 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34740 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34742 (eval $ac_try) 2>&5
34744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34745 (exit $ac_status); }; }
34747 wx_cv_version_script=yes
34749 wx_cv_version_script=no
34754 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34755 rm -f conftest1.output conftest2.output conftest3.output
34758 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34759 echo "${ECHO_T}$wx_cv_version_script" >&6
34761 if test $wx_cv_version_script = yes ; then
34762 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34770 if test -n "$GCC"; then
34771 CFLAGS_VISIBILITY="-fvisibility=hidden"
34772 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34773 echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34774 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6
34775 if test "${wx_cv_cc_visibility+set}" = set; then
34776 echo $ECHO_N "(cached) $ECHO_C" >&6
34779 wx_save_CXXFLAGS="$CXXFLAGS"
34780 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34782 ac_cpp='$CXXCPP $CPPFLAGS'
34783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34787 cat >conftest.$ac_ext <<_ACEOF
34790 cat confdefs.h >>conftest.$ac_ext
34791 cat >>conftest.$ac_ext <<_ACEOF
34792 /* end confdefs.h. */
34794 /* we need gcc >= 4.0, older versions with visibility support
34795 didn't have class visibility: */
34796 #if defined(__GNUC__) && __GNUC__ < 4
34797 error this gcc is too old;
34800 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34801 extern __attribute__((__visibility__("default"))) int exportedvar;
34802 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34803 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34804 class __attribute__((__visibility__("default"))) Foo {
34816 rm -f conftest.$ac_objext
34817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34818 (eval $ac_compile) 2>conftest.er1
34820 grep -v '^ *+' conftest.er1 >conftest.err
34822 cat conftest.err >&5
34823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34824 (exit $ac_status); } &&
34825 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34827 (eval $ac_try) 2>&5
34829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34830 (exit $ac_status); }; } &&
34831 { ac_try='test -s conftest.$ac_objext'
34832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34833 (eval $ac_try) 2>&5
34835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34836 (exit $ac_status); }; }; then
34837 wx_cv_cc_visibility=yes
34839 echo "$as_me: failed program was:" >&5
34840 sed 's/^/| /' conftest.$ac_ext >&5
34842 wx_cv_cc_visibility=no
34844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34846 ac_cpp='$CPP $CPPFLAGS'
34847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34851 CXXFLAGS="$wx_save_CXXFLAGS"
34854 echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34855 echo "${ECHO_T}$wx_cv_cc_visibility" >&6
34856 if test $wx_cv_cc_visibility = yes; then
34857 cat >>confdefs.h <<\_ACEOF
34858 #define HAVE_VISIBILITY 1
34862 CFLAGS_VISIBILITY=""
34863 CXXFLAGS_VISIBILITY=""
34870 if test "x$SUNCXX" = xyes; then
34871 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34872 WXCONFIG_RPATH="-R\$libdir"
34875 *-*-linux* | *-*-gnu* )
34876 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34877 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34882 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34884 saveLdflags="$LDFLAGS"
34885 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34886 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34887 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
34888 cat >conftest.$ac_ext <<_ACEOF
34891 cat confdefs.h >>conftest.$ac_ext
34892 cat >>conftest.$ac_ext <<_ACEOF
34893 /* end confdefs.h. */
34903 rm -f conftest.$ac_objext conftest$ac_exeext
34904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34905 (eval $ac_link) 2>conftest.er1
34907 grep -v '^ *+' conftest.er1 >conftest.err
34909 cat conftest.err >&5
34910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34911 (exit $ac_status); } &&
34912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34914 (eval $ac_try) 2>&5
34916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34917 (exit $ac_status); }; } &&
34918 { ac_try='test -s conftest$ac_exeext'
34919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34920 (eval $ac_try) 2>&5
34922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34923 (exit $ac_status); }; }; then
34925 echo "$as_me:$LINENO: result: yes" >&5
34926 echo "${ECHO_T}yes" >&6
34927 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34928 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34931 echo "$as_me: failed program was:" >&5
34932 sed 's/^/| /' conftest.$ac_ext >&5
34935 echo "$as_me:$LINENO: result: no" >&5
34936 echo "${ECHO_T}no" >&6
34937 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34938 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
34939 LDFLAGS="$saveLdflags -Wl,-R,/"
34940 cat >conftest.$ac_ext <<_ACEOF
34943 cat confdefs.h >>conftest.$ac_ext
34944 cat >>conftest.$ac_ext <<_ACEOF
34945 /* end confdefs.h. */
34955 rm -f conftest.$ac_objext conftest$ac_exeext
34956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34957 (eval $ac_link) 2>conftest.er1
34959 grep -v '^ *+' conftest.er1 >conftest.err
34961 cat conftest.err >&5
34962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34963 (exit $ac_status); } &&
34964 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34966 (eval $ac_try) 2>&5
34968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34969 (exit $ac_status); }; } &&
34970 { ac_try='test -s conftest$ac_exeext'
34971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34972 (eval $ac_try) 2>&5
34974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34975 (exit $ac_status); }; }; then
34977 echo "$as_me:$LINENO: result: yes" >&5
34978 echo "${ECHO_T}yes" >&6
34979 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34980 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34983 echo "$as_me: failed program was:" >&5
34984 sed 's/^/| /' conftest.$ac_ext >&5
34987 echo "$as_me:$LINENO: result: no" >&5
34988 echo "${ECHO_T}no" >&6
34991 rm -f conftest.err conftest.$ac_objext \
34992 conftest$ac_exeext conftest.$ac_ext
34995 rm -f conftest.err conftest.$ac_objext \
34996 conftest$ac_exeext conftest.$ac_ext
34997 LDFLAGS="$saveLdflags"
35001 install_name_tool=`which install_name_tool`
35002 if test "$install_name_tool" -a -x "$install_name_tool"; then
35003 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
35004 cat <<EOF >change-install-names
35006 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35007 inst_cmd="install_name_tool "
35008 for i in \${libnames} ; do
35009 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
35013 chmod +x change-install-names
35017 *-*-cygwin* | *-*-mingw32* )
35018 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35022 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35023 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35029 if test $wxUSE_RPATH = "no"; then
35030 SAMPLES_RPATH_FLAG=''
35031 SAMPLES_RPATH_POSTLINK=''
35039 config_linkage_component="-static"
35046 lib_unicode_suffix=
35048 if test "$wxUSE_UNICODE" = "yes"; then
35049 lib_unicode_suffix=u
35050 WX_CHARTYPE="unicode"
35055 WX_DEBUGTYPE="release"
35057 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
35059 WX_DEBUGTYPE="debug"
35063 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35064 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35067 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35071 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
35073 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
35075 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35077 if test "$cross_compiling" = "yes"; then
35078 HOST_SUFFIX="-$host_alias"
35079 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
35080 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
35083 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35084 if test "${TOOLKIT_DIR}" = "os2"; then
35085 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35087 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35092 if test "$wxUSE_COCOA" = 1; then
35096 ac_cpp='$CPP $CPPFLAGS'
35097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35103 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35104 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
35105 cat >conftest.$ac_ext <<_ACEOF
35108 cat confdefs.h >>conftest.$ac_ext
35109 cat >>conftest.$ac_ext <<_ACEOF
35110 /* end confdefs.h. */
35111 #include <AppKit/NSEvent.h>
35112 #include <CoreFoundation/CoreFoundation.h>
35122 rm -f conftest.$ac_objext
35123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35124 (eval $ac_compile) 2>conftest.er1
35126 grep -v '^ *+' conftest.er1 >conftest.err
35128 cat conftest.err >&5
35129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35130 (exit $ac_status); } &&
35131 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35133 (eval $ac_try) 2>&5
35135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35136 (exit $ac_status); }; } &&
35137 { ac_try='test -s conftest.$ac_objext'
35138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35139 (eval $ac_try) 2>&5
35141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35142 (exit $ac_status); }; }; then
35143 echo "$as_me:$LINENO: result: no" >&5
35144 echo "${ECHO_T}no" >&6
35146 echo "$as_me: failed program was:" >&5
35147 sed 's/^/| /' conftest.$ac_ext >&5
35149 echo "$as_me:$LINENO: result: yes" >&5
35150 echo "${ECHO_T}yes" >&6
35151 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35152 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
35153 cat >conftest.$ac_ext <<_ACEOF
35156 cat confdefs.h >>conftest.$ac_ext
35157 cat >>conftest.$ac_ext <<_ACEOF
35158 /* end confdefs.h. */
35159 #define __Point__ 1
35160 #include <AppKit/NSEvent.h>
35161 #include <CoreFoundation/CoreFoundation.h>
35171 rm -f conftest.$ac_objext
35172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35173 (eval $ac_compile) 2>conftest.er1
35175 grep -v '^ *+' conftest.er1 >conftest.err
35177 cat conftest.err >&5
35178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35179 (exit $ac_status); } &&
35180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35182 (eval $ac_try) 2>&5
35184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35185 (exit $ac_status); }; } &&
35186 { ac_try='test -s conftest.$ac_objext'
35187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35188 (eval $ac_try) 2>&5
35190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35191 (exit $ac_status); }; }; then
35192 echo "$as_me:$LINENO: result: yes" >&5
35193 echo "${ECHO_T}yes" >&6
35194 cat >>confdefs.h <<\_ACEOF
35195 #define __Point__ 1
35200 echo "$as_me: failed program was:" >&5
35201 sed 's/^/| /' conftest.$ac_ext >&5
35203 { { echo "$as_me:$LINENO: error: no
35204 See \`config.log' for more details." >&5
35205 echo "$as_me: error: no
35206 See \`config.log' for more details." >&2;}
35207 { (exit 1); exit 1; }; }
35210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35215 ac_cpp='$CPP $CPPFLAGS'
35216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35222 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
35223 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
35224 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
35226 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
35228 # Extract the first word of "Rez", so it can be a program name with args.
35229 set dummy Rez; ac_word=$2
35230 echo "$as_me:$LINENO: checking for $ac_word" >&5
35231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35232 if test "${ac_cv_prog_REZ+set}" = set; then
35233 echo $ECHO_N "(cached) $ECHO_C" >&6
35235 if test -n "$REZ"; then
35236 ac_cv_prog_REZ="$REZ" # Let the user override the test.
35238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35239 for as_dir in $PATH
35242 test -z "$as_dir" && as_dir=.
35243 for ac_exec_ext in '' $ac_executable_extensions; do
35244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35245 ac_cv_prog_REZ="Rez"
35246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35252 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
35255 REZ=$ac_cv_prog_REZ
35256 if test -n "$REZ"; then
35257 echo "$as_me:$LINENO: result: $REZ" >&5
35258 echo "${ECHO_T}$REZ" >&6
35260 echo "$as_me:$LINENO: result: no" >&5
35261 echo "${ECHO_T}no" >&6
35264 # Extract the first word of "DeRez", so it can be a program name with args.
35265 set dummy DeRez; ac_word=$2
35266 echo "$as_me:$LINENO: checking for $ac_word" >&5
35267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35268 if test "${ac_cv_prog_DEREZ+set}" = set; then
35269 echo $ECHO_N "(cached) $ECHO_C" >&6
35271 if test -n "$DEREZ"; then
35272 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
35274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35275 for as_dir in $PATH
35278 test -z "$as_dir" && as_dir=.
35279 for ac_exec_ext in '' $ac_executable_extensions; do
35280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35281 ac_cv_prog_DEREZ="DeRez"
35282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35288 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
35291 DEREZ=$ac_cv_prog_DEREZ
35292 if test -n "$DEREZ"; then
35293 echo "$as_me:$LINENO: result: $DEREZ" >&5
35294 echo "${ECHO_T}$DEREZ" >&6
35296 echo "$as_me:$LINENO: result: no" >&5
35297 echo "${ECHO_T}no" >&6
35300 # Extract the first word of "SetFile", so it can be a program name with args.
35301 set dummy SetFile; ac_word=$2
35302 echo "$as_me:$LINENO: checking for $ac_word" >&5
35303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35304 if test "${ac_cv_prog_SETFILE+set}" = set; then
35305 echo $ECHO_N "(cached) $ECHO_C" >&6
35307 if test -n "$SETFILE"; then
35308 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
35310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35311 for as_dir in $PATH
35314 test -z "$as_dir" && as_dir=.
35315 for ac_exec_ext in '' $ac_executable_extensions; do
35316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35317 ac_cv_prog_SETFILE="SetFile"
35318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35324 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
35327 SETFILE=$ac_cv_prog_SETFILE
35328 if test -n "$SETFILE"; then
35329 echo "$as_me:$LINENO: result: $SETFILE" >&5
35330 echo "${ECHO_T}$SETFILE" >&6
35332 echo "$as_me:$LINENO: result: no" >&5
35333 echo "${ECHO_T}no" >&6
35337 MACSETFILE="\$(SETFILE)"
35339 if test "$wxUSE_MAC" = 1; then
35340 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
35342 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
35344 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
35345 RESCOMP="echo -n \| $REZ"
35346 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
35352 if test "$wxUSE_PM" = 1; then
35354 WXCONFIG_RESFLAGS="-ep"
35356 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
35358 POSTLINK_COMMAND="@true"
35365 echo "$as_me:$LINENO: checking for mode_t" >&5
35366 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
35367 if test "${ac_cv_type_mode_t+set}" = set; then
35368 echo $ECHO_N "(cached) $ECHO_C" >&6
35370 cat >conftest.$ac_ext <<_ACEOF
35373 cat confdefs.h >>conftest.$ac_ext
35374 cat >>conftest.$ac_ext <<_ACEOF
35375 /* end confdefs.h. */
35376 $ac_includes_default
35382 if (sizeof (mode_t))
35388 rm -f conftest.$ac_objext
35389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35390 (eval $ac_compile) 2>conftest.er1
35392 grep -v '^ *+' conftest.er1 >conftest.err
35394 cat conftest.err >&5
35395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35396 (exit $ac_status); } &&
35397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35399 (eval $ac_try) 2>&5
35401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35402 (exit $ac_status); }; } &&
35403 { ac_try='test -s conftest.$ac_objext'
35404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35405 (eval $ac_try) 2>&5
35407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35408 (exit $ac_status); }; }; then
35409 ac_cv_type_mode_t=yes
35411 echo "$as_me: failed program was:" >&5
35412 sed 's/^/| /' conftest.$ac_ext >&5
35414 ac_cv_type_mode_t=no
35416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35418 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35419 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
35420 if test $ac_cv_type_mode_t = yes; then
35424 cat >>confdefs.h <<_ACEOF
35430 echo "$as_me:$LINENO: checking for off_t" >&5
35431 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
35432 if test "${ac_cv_type_off_t+set}" = set; then
35433 echo $ECHO_N "(cached) $ECHO_C" >&6
35435 cat >conftest.$ac_ext <<_ACEOF
35438 cat confdefs.h >>conftest.$ac_ext
35439 cat >>conftest.$ac_ext <<_ACEOF
35440 /* end confdefs.h. */
35441 $ac_includes_default
35447 if (sizeof (off_t))
35453 rm -f conftest.$ac_objext
35454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35455 (eval $ac_compile) 2>conftest.er1
35457 grep -v '^ *+' conftest.er1 >conftest.err
35459 cat conftest.err >&5
35460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35461 (exit $ac_status); } &&
35462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35464 (eval $ac_try) 2>&5
35466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35467 (exit $ac_status); }; } &&
35468 { ac_try='test -s conftest.$ac_objext'
35469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35470 (eval $ac_try) 2>&5
35472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35473 (exit $ac_status); }; }; then
35474 ac_cv_type_off_t=yes
35476 echo "$as_me: failed program was:" >&5
35477 sed 's/^/| /' conftest.$ac_ext >&5
35479 ac_cv_type_off_t=no
35481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35483 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35484 echo "${ECHO_T}$ac_cv_type_off_t" >&6
35485 if test $ac_cv_type_off_t = yes; then
35489 cat >>confdefs.h <<_ACEOF
35495 echo "$as_me:$LINENO: checking for pid_t" >&5
35496 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
35497 if test "${ac_cv_type_pid_t+set}" = set; then
35498 echo $ECHO_N "(cached) $ECHO_C" >&6
35500 cat >conftest.$ac_ext <<_ACEOF
35503 cat confdefs.h >>conftest.$ac_ext
35504 cat >>conftest.$ac_ext <<_ACEOF
35505 /* end confdefs.h. */
35506 $ac_includes_default
35512 if (sizeof (pid_t))
35518 rm -f conftest.$ac_objext
35519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35520 (eval $ac_compile) 2>conftest.er1
35522 grep -v '^ *+' conftest.er1 >conftest.err
35524 cat conftest.err >&5
35525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35526 (exit $ac_status); } &&
35527 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35529 (eval $ac_try) 2>&5
35531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35532 (exit $ac_status); }; } &&
35533 { ac_try='test -s conftest.$ac_objext'
35534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35535 (eval $ac_try) 2>&5
35537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35538 (exit $ac_status); }; }; then
35539 ac_cv_type_pid_t=yes
35541 echo "$as_me: failed program was:" >&5
35542 sed 's/^/| /' conftest.$ac_ext >&5
35544 ac_cv_type_pid_t=no
35546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35548 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35549 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
35550 if test $ac_cv_type_pid_t = yes; then
35554 cat >>confdefs.h <<_ACEOF
35560 echo "$as_me:$LINENO: checking for size_t" >&5
35561 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
35562 if test "${ac_cv_type_size_t+set}" = set; then
35563 echo $ECHO_N "(cached) $ECHO_C" >&6
35565 cat >conftest.$ac_ext <<_ACEOF
35568 cat confdefs.h >>conftest.$ac_ext
35569 cat >>conftest.$ac_ext <<_ACEOF
35570 /* end confdefs.h. */
35571 $ac_includes_default
35577 if (sizeof (size_t))
35583 rm -f conftest.$ac_objext
35584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35585 (eval $ac_compile) 2>conftest.er1
35587 grep -v '^ *+' conftest.er1 >conftest.err
35589 cat conftest.err >&5
35590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35591 (exit $ac_status); } &&
35592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35594 (eval $ac_try) 2>&5
35596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35597 (exit $ac_status); }; } &&
35598 { ac_try='test -s conftest.$ac_objext'
35599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35600 (eval $ac_try) 2>&5
35602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35603 (exit $ac_status); }; }; then
35604 ac_cv_type_size_t=yes
35606 echo "$as_me: failed program was:" >&5
35607 sed 's/^/| /' conftest.$ac_ext >&5
35609 ac_cv_type_size_t=no
35611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35613 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35614 echo "${ECHO_T}$ac_cv_type_size_t" >&6
35615 if test $ac_cv_type_size_t = yes; then
35619 cat >>confdefs.h <<_ACEOF
35620 #define size_t unsigned
35625 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
35626 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
35627 if test "${ac_cv_type_uid_t+set}" = set; then
35628 echo $ECHO_N "(cached) $ECHO_C" >&6
35630 cat >conftest.$ac_ext <<_ACEOF
35633 cat confdefs.h >>conftest.$ac_ext
35634 cat >>conftest.$ac_ext <<_ACEOF
35635 /* end confdefs.h. */
35636 #include <sys/types.h>
35639 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35640 $EGREP "uid_t" >/dev/null 2>&1; then
35641 ac_cv_type_uid_t=yes
35643 ac_cv_type_uid_t=no
35648 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
35649 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
35650 if test $ac_cv_type_uid_t = no; then
35652 cat >>confdefs.h <<\_ACEOF
35657 cat >>confdefs.h <<\_ACEOF
35664 echo "$as_me:$LINENO: checking for ssize_t" >&5
35665 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
35666 if test "${ac_cv_type_ssize_t+set}" = set; then
35667 echo $ECHO_N "(cached) $ECHO_C" >&6
35669 cat >conftest.$ac_ext <<_ACEOF
35672 cat confdefs.h >>conftest.$ac_ext
35673 cat >>conftest.$ac_ext <<_ACEOF
35674 /* end confdefs.h. */
35675 $ac_includes_default
35681 if (sizeof (ssize_t))
35687 rm -f conftest.$ac_objext
35688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35689 (eval $ac_compile) 2>conftest.er1
35691 grep -v '^ *+' conftest.er1 >conftest.err
35693 cat conftest.err >&5
35694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35695 (exit $ac_status); } &&
35696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35698 (eval $ac_try) 2>&5
35700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35701 (exit $ac_status); }; } &&
35702 { ac_try='test -s conftest.$ac_objext'
35703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35704 (eval $ac_try) 2>&5
35706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35707 (exit $ac_status); }; }; then
35708 ac_cv_type_ssize_t=yes
35710 echo "$as_me: failed program was:" >&5
35711 sed 's/^/| /' conftest.$ac_ext >&5
35713 ac_cv_type_ssize_t=no
35715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35717 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35718 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
35719 if test $ac_cv_type_ssize_t = yes; then
35721 cat >>confdefs.h <<_ACEOF
35722 #define HAVE_SSIZE_T 1
35730 ac_cpp='$CXXCPP $CPPFLAGS'
35731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35734 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35735 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
35736 if test "${wx_cv_size_t_is_uint+set}" = set; then
35737 echo $ECHO_N "(cached) $ECHO_C" >&6
35740 cat >conftest.$ac_ext <<_ACEOF
35743 cat confdefs.h >>conftest.$ac_ext
35744 cat >>conftest.$ac_ext <<_ACEOF
35745 /* end confdefs.h. */
35746 #include <stddef.h>
35753 struct Foo { void foo(size_t); void foo(unsigned int); };
35761 rm -f conftest.$ac_objext
35762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35763 (eval $ac_compile) 2>conftest.er1
35765 grep -v '^ *+' conftest.er1 >conftest.err
35767 cat conftest.err >&5
35768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35769 (exit $ac_status); } &&
35770 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35772 (eval $ac_try) 2>&5
35774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35775 (exit $ac_status); }; } &&
35776 { ac_try='test -s conftest.$ac_objext'
35777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35778 (eval $ac_try) 2>&5
35780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35781 (exit $ac_status); }; }; then
35782 wx_cv_size_t_is_uint=no
35784 echo "$as_me: failed program was:" >&5
35785 sed 's/^/| /' conftest.$ac_ext >&5
35787 wx_cv_size_t_is_uint=yes
35790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35794 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35795 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
35797 if test "$wx_cv_size_t_is_uint" = "yes"; then
35798 cat >>confdefs.h <<\_ACEOF
35799 #define wxSIZE_T_IS_UINT 1
35803 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35804 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
35805 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35806 echo $ECHO_N "(cached) $ECHO_C" >&6
35808 cat >conftest.$ac_ext <<_ACEOF
35811 cat confdefs.h >>conftest.$ac_ext
35812 cat >>conftest.$ac_ext <<_ACEOF
35813 /* end confdefs.h. */
35814 #include <stddef.h>
35821 struct Foo { void foo(size_t); void foo(unsigned long); };
35829 rm -f conftest.$ac_objext
35830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35831 (eval $ac_compile) 2>conftest.er1
35833 grep -v '^ *+' conftest.er1 >conftest.err
35835 cat conftest.err >&5
35836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35837 (exit $ac_status); } &&
35838 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35840 (eval $ac_try) 2>&5
35842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35843 (exit $ac_status); }; } &&
35844 { ac_try='test -s conftest.$ac_objext'
35845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35846 (eval $ac_try) 2>&5
35848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35849 (exit $ac_status); }; }; then
35850 wx_cv_size_t_is_ulong=no
35852 echo "$as_me: failed program was:" >&5
35853 sed 's/^/| /' conftest.$ac_ext >&5
35855 wx_cv_size_t_is_ulong=yes
35858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35861 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35862 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
35864 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35865 cat >>confdefs.h <<\_ACEOF
35866 #define wxSIZE_T_IS_ULONG 1
35872 echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35873 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6
35874 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35875 echo $ECHO_N "(cached) $ECHO_C" >&6
35877 cat >conftest.$ac_ext <<_ACEOF
35880 cat confdefs.h >>conftest.$ac_ext
35881 cat >>conftest.$ac_ext <<_ACEOF
35882 /* end confdefs.h. */
35890 struct Foo { void foo(wchar_t);
35891 void foo(unsigned short);
35892 void foo(unsigned int);
35893 void foo(unsigned long); };
35901 rm -f conftest.$ac_objext
35902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35903 (eval $ac_compile) 2>conftest.er1
35905 grep -v '^ *+' conftest.er1 >conftest.err
35907 cat conftest.err >&5
35908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35909 (exit $ac_status); } &&
35910 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35912 (eval $ac_try) 2>&5
35914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35915 (exit $ac_status); }; } &&
35916 { ac_try='test -s conftest.$ac_objext'
35917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35918 (eval $ac_try) 2>&5
35920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35921 (exit $ac_status); }; }; then
35922 wx_cv_wchar_t_is_separate_type=yes
35924 echo "$as_me: failed program was:" >&5
35925 sed 's/^/| /' conftest.$ac_ext >&5
35927 wx_cv_wchar_t_is_separate_type=no
35930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35933 echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35934 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6
35936 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35937 cat >>confdefs.h <<\_ACEOF
35938 #define wxWCHAR_T_IS_REAL_TYPE 1
35942 cat >>confdefs.h <<\_ACEOF
35943 #define wxWCHAR_T_IS_REAL_TYPE 0
35949 ac_cpp='$CPP $CPPFLAGS'
35950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35955 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35956 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
35957 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35958 echo $ECHO_N "(cached) $ECHO_C" >&6
35961 cat >conftest.$ac_ext <<_ACEOF
35964 cat confdefs.h >>conftest.$ac_ext
35965 cat >>conftest.$ac_ext <<_ACEOF
35966 /* end confdefs.h. */
35980 rm -f conftest.$ac_objext
35981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35982 (eval $ac_compile) 2>conftest.er1
35984 grep -v '^ *+' conftest.er1 >conftest.err
35986 cat conftest.err >&5
35987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35988 (exit $ac_status); } &&
35989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35991 (eval $ac_try) 2>&5
35993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35994 (exit $ac_status); }; } &&
35995 { ac_try='test -s conftest.$ac_objext'
35996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35997 (eval $ac_try) 2>&5
35999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36000 (exit $ac_status); }; }; then
36002 wx_cv_struct_pw_gecos=yes
36005 echo "$as_me: failed program was:" >&5
36006 sed 's/^/| /' conftest.$ac_ext >&5
36009 wx_cv_struct_pw_gecos=no
36013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36017 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36018 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
36020 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36021 cat >>confdefs.h <<\_ACEOF
36022 #define HAVE_PW_GECOS 1
36028 if test "$wxUSE_WCHAR_T" = "yes"; then
36029 cat >>confdefs.h <<\_ACEOF
36030 #define wxUSE_WCHAR_T 1
36037 for ac_func in wcslen
36039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36040 echo "$as_me:$LINENO: checking for $ac_func" >&5
36041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36042 if eval "test \"\${$as_ac_var+set}\" = set"; then
36043 echo $ECHO_N "(cached) $ECHO_C" >&6
36045 cat >conftest.$ac_ext <<_ACEOF
36048 cat confdefs.h >>conftest.$ac_ext
36049 cat >>conftest.$ac_ext <<_ACEOF
36050 /* end confdefs.h. */
36051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36053 #define $ac_func innocuous_$ac_func
36055 /* System header to define __stub macros and hopefully few prototypes,
36056 which can conflict with char $ac_func (); below.
36057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36058 <limits.h> exists even on freestanding compilers. */
36061 # include <limits.h>
36063 # include <assert.h>
36068 /* Override any gcc2 internal prototype to avoid an error. */
36073 /* We use char because int might match the return type of a gcc2
36074 builtin and then its argument prototype would still apply. */
36076 /* The GNU C library defines this for functions which it implements
36077 to always fail with ENOSYS. Some functions are actually named
36078 something starting with __ and the normal name is an alias. */
36079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36082 char (*f) () = $ac_func;
36091 return f != $ac_func;
36096 rm -f conftest.$ac_objext conftest$ac_exeext
36097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36098 (eval $ac_link) 2>conftest.er1
36100 grep -v '^ *+' conftest.er1 >conftest.err
36102 cat conftest.err >&5
36103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36104 (exit $ac_status); } &&
36105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36107 (eval $ac_try) 2>&5
36109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36110 (exit $ac_status); }; } &&
36111 { ac_try='test -s conftest$ac_exeext'
36112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36113 (eval $ac_try) 2>&5
36115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36116 (exit $ac_status); }; }; then
36117 eval "$as_ac_var=yes"
36119 echo "$as_me: failed program was:" >&5
36120 sed 's/^/| /' conftest.$ac_ext >&5
36122 eval "$as_ac_var=no"
36124 rm -f conftest.err conftest.$ac_objext \
36125 conftest$ac_exeext conftest.$ac_ext
36127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36129 if test `eval echo '${'$as_ac_var'}'` = yes; then
36130 cat >>confdefs.h <<_ACEOF
36131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36138 if test "$WCSLEN_FOUND" = 0; then
36139 if test "$TOOLKIT" = "MSW"; then
36140 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36141 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
36142 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36143 echo $ECHO_N "(cached) $ECHO_C" >&6
36145 ac_check_lib_save_LIBS=$LIBS
36146 LIBS="-lmsvcrt $LIBS"
36147 cat >conftest.$ac_ext <<_ACEOF
36150 cat confdefs.h >>conftest.$ac_ext
36151 cat >>conftest.$ac_ext <<_ACEOF
36152 /* end confdefs.h. */
36154 /* Override any gcc2 internal prototype to avoid an error. */
36158 /* We use char because int might match the return type of a gcc2
36159 builtin and then its argument prototype would still apply. */
36169 rm -f conftest.$ac_objext conftest$ac_exeext
36170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36171 (eval $ac_link) 2>conftest.er1
36173 grep -v '^ *+' conftest.er1 >conftest.err
36175 cat conftest.err >&5
36176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36177 (exit $ac_status); } &&
36178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36180 (eval $ac_try) 2>&5
36182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36183 (exit $ac_status); }; } &&
36184 { ac_try='test -s conftest$ac_exeext'
36185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36186 (eval $ac_try) 2>&5
36188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36189 (exit $ac_status); }; }; then
36190 ac_cv_lib_msvcrt_wcslen=yes
36192 echo "$as_me: failed program was:" >&5
36193 sed 's/^/| /' conftest.$ac_ext >&5
36195 ac_cv_lib_msvcrt_wcslen=no
36197 rm -f conftest.err conftest.$ac_objext \
36198 conftest$ac_exeext conftest.$ac_ext
36199 LIBS=$ac_check_lib_save_LIBS
36201 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36202 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
36203 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36208 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36209 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
36210 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36211 echo $ECHO_N "(cached) $ECHO_C" >&6
36213 ac_check_lib_save_LIBS=$LIBS
36215 cat >conftest.$ac_ext <<_ACEOF
36218 cat confdefs.h >>conftest.$ac_ext
36219 cat >>conftest.$ac_ext <<_ACEOF
36220 /* end confdefs.h. */
36222 /* Override any gcc2 internal prototype to avoid an error. */
36226 /* We use char because int might match the return type of a gcc2
36227 builtin and then its argument prototype would still apply. */
36237 rm -f conftest.$ac_objext conftest$ac_exeext
36238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36239 (eval $ac_link) 2>conftest.er1
36241 grep -v '^ *+' conftest.er1 >conftest.err
36243 cat conftest.err >&5
36244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36245 (exit $ac_status); } &&
36246 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36248 (eval $ac_try) 2>&5
36250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36251 (exit $ac_status); }; } &&
36252 { ac_try='test -s conftest$ac_exeext'
36253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36254 (eval $ac_try) 2>&5
36256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36257 (exit $ac_status); }; }; then
36258 ac_cv_lib_w_wcslen=yes
36260 echo "$as_me: failed program was:" >&5
36261 sed 's/^/| /' conftest.$ac_ext >&5
36263 ac_cv_lib_w_wcslen=no
36265 rm -f conftest.err conftest.$ac_objext \
36266 conftest$ac_exeext conftest.$ac_ext
36267 LIBS=$ac_check_lib_save_LIBS
36269 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36270 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
36271 if test $ac_cv_lib_w_wcslen = yes; then
36281 if test "$WCSLEN_FOUND" = 1; then
36282 cat >>confdefs.h <<\_ACEOF
36283 #define HAVE_WCSLEN 1
36289 for ac_func in wcsdup
36291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36292 echo "$as_me:$LINENO: checking for $ac_func" >&5
36293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36294 if eval "test \"\${$as_ac_var+set}\" = set"; then
36295 echo $ECHO_N "(cached) $ECHO_C" >&6
36297 cat >conftest.$ac_ext <<_ACEOF
36300 cat confdefs.h >>conftest.$ac_ext
36301 cat >>conftest.$ac_ext <<_ACEOF
36302 /* end confdefs.h. */
36303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36305 #define $ac_func innocuous_$ac_func
36307 /* System header to define __stub macros and hopefully few prototypes,
36308 which can conflict with char $ac_func (); below.
36309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36310 <limits.h> exists even on freestanding compilers. */
36313 # include <limits.h>
36315 # include <assert.h>
36320 /* Override any gcc2 internal prototype to avoid an error. */
36325 /* We use char because int might match the return type of a gcc2
36326 builtin and then its argument prototype would still apply. */
36328 /* The GNU C library defines this for functions which it implements
36329 to always fail with ENOSYS. Some functions are actually named
36330 something starting with __ and the normal name is an alias. */
36331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36334 char (*f) () = $ac_func;
36343 return f != $ac_func;
36348 rm -f conftest.$ac_objext conftest$ac_exeext
36349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36350 (eval $ac_link) 2>conftest.er1
36352 grep -v '^ *+' conftest.er1 >conftest.err
36354 cat conftest.err >&5
36355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36356 (exit $ac_status); } &&
36357 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36359 (eval $ac_try) 2>&5
36361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36362 (exit $ac_status); }; } &&
36363 { ac_try='test -s conftest$ac_exeext'
36364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36365 (eval $ac_try) 2>&5
36367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36368 (exit $ac_status); }; }; then
36369 eval "$as_ac_var=yes"
36371 echo "$as_me: failed program was:" >&5
36372 sed 's/^/| /' conftest.$ac_ext >&5
36374 eval "$as_ac_var=no"
36376 rm -f conftest.err conftest.$ac_objext \
36377 conftest$ac_exeext conftest.$ac_ext
36379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36381 if test `eval echo '${'$as_ac_var'}'` = yes; then
36382 cat >>confdefs.h <<_ACEOF
36383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36390 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36391 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36394 echo "$as_me:$LINENO: checking for mbstate_t" >&5
36395 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
36396 if test "${ac_cv_type_mbstate_t+set}" = set; then
36397 echo $ECHO_N "(cached) $ECHO_C" >&6
36399 cat >conftest.$ac_ext <<_ACEOF
36402 cat confdefs.h >>conftest.$ac_ext
36403 cat >>conftest.$ac_ext <<_ACEOF
36404 /* end confdefs.h. */
36410 if ((mbstate_t *) 0)
36412 if (sizeof (mbstate_t))
36418 rm -f conftest.$ac_objext
36419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36420 (eval $ac_compile) 2>conftest.er1
36422 grep -v '^ *+' conftest.er1 >conftest.err
36424 cat conftest.err >&5
36425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36426 (exit $ac_status); } &&
36427 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36429 (eval $ac_try) 2>&5
36431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36432 (exit $ac_status); }; } &&
36433 { ac_try='test -s conftest.$ac_objext'
36434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36435 (eval $ac_try) 2>&5
36437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36438 (exit $ac_status); }; }; then
36439 ac_cv_type_mbstate_t=yes
36441 echo "$as_me: failed program was:" >&5
36442 sed 's/^/| /' conftest.$ac_ext >&5
36444 ac_cv_type_mbstate_t=no
36446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36448 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36449 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
36450 if test $ac_cv_type_mbstate_t = yes; then
36452 cat >>confdefs.h <<_ACEOF
36453 #define HAVE_MBSTATE_T 1
36457 for ac_func in wcsrtombs
36459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36460 echo "$as_me:$LINENO: checking for $ac_func" >&5
36461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36462 if eval "test \"\${$as_ac_var+set}\" = set"; then
36463 echo $ECHO_N "(cached) $ECHO_C" >&6
36465 cat >conftest.$ac_ext <<_ACEOF
36468 cat confdefs.h >>conftest.$ac_ext
36469 cat >>conftest.$ac_ext <<_ACEOF
36470 /* end confdefs.h. */
36471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36473 #define $ac_func innocuous_$ac_func
36475 /* System header to define __stub macros and hopefully few prototypes,
36476 which can conflict with char $ac_func (); below.
36477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36478 <limits.h> exists even on freestanding compilers. */
36481 # include <limits.h>
36483 # include <assert.h>
36488 /* Override any gcc2 internal prototype to avoid an error. */
36493 /* We use char because int might match the return type of a gcc2
36494 builtin and then its argument prototype would still apply. */
36496 /* The GNU C library defines this for functions which it implements
36497 to always fail with ENOSYS. Some functions are actually named
36498 something starting with __ and the normal name is an alias. */
36499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36502 char (*f) () = $ac_func;
36511 return f != $ac_func;
36516 rm -f conftest.$ac_objext conftest$ac_exeext
36517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36518 (eval $ac_link) 2>conftest.er1
36520 grep -v '^ *+' conftest.er1 >conftest.err
36522 cat conftest.err >&5
36523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36524 (exit $ac_status); } &&
36525 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36527 (eval $ac_try) 2>&5
36529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36530 (exit $ac_status); }; } &&
36531 { ac_try='test -s conftest$ac_exeext'
36532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36533 (eval $ac_try) 2>&5
36535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36536 (exit $ac_status); }; }; then
36537 eval "$as_ac_var=yes"
36539 echo "$as_me: failed program was:" >&5
36540 sed 's/^/| /' conftest.$ac_ext >&5
36542 eval "$as_ac_var=no"
36544 rm -f conftest.err conftest.$ac_objext \
36545 conftest$ac_exeext conftest.$ac_ext
36547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36549 if test `eval echo '${'$as_ac_var'}'` = yes; then
36550 cat >>confdefs.h <<_ACEOF
36551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36560 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
36561 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
36566 for ac_func in snprintf vsnprintf
36568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36569 echo "$as_me:$LINENO: checking for $ac_func" >&5
36570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36571 if eval "test \"\${$as_ac_var+set}\" = set"; then
36572 echo $ECHO_N "(cached) $ECHO_C" >&6
36574 cat >conftest.$ac_ext <<_ACEOF
36577 cat confdefs.h >>conftest.$ac_ext
36578 cat >>conftest.$ac_ext <<_ACEOF
36579 /* end confdefs.h. */
36580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36582 #define $ac_func innocuous_$ac_func
36584 /* System header to define __stub macros and hopefully few prototypes,
36585 which can conflict with char $ac_func (); below.
36586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36587 <limits.h> exists even on freestanding compilers. */
36590 # include <limits.h>
36592 # include <assert.h>
36597 /* Override any gcc2 internal prototype to avoid an error. */
36602 /* We use char because int might match the return type of a gcc2
36603 builtin and then its argument prototype would still apply. */
36605 /* The GNU C library defines this for functions which it implements
36606 to always fail with ENOSYS. Some functions are actually named
36607 something starting with __ and the normal name is an alias. */
36608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36611 char (*f) () = $ac_func;
36620 return f != $ac_func;
36625 rm -f conftest.$ac_objext conftest$ac_exeext
36626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36627 (eval $ac_link) 2>conftest.er1
36629 grep -v '^ *+' conftest.er1 >conftest.err
36631 cat conftest.err >&5
36632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36633 (exit $ac_status); } &&
36634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36636 (eval $ac_try) 2>&5
36638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36639 (exit $ac_status); }; } &&
36640 { ac_try='test -s conftest$ac_exeext'
36641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36642 (eval $ac_try) 2>&5
36644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36645 (exit $ac_status); }; }; then
36646 eval "$as_ac_var=yes"
36648 echo "$as_me: failed program was:" >&5
36649 sed 's/^/| /' conftest.$ac_ext >&5
36651 eval "$as_ac_var=no"
36653 rm -f conftest.err conftest.$ac_objext \
36654 conftest$ac_exeext conftest.$ac_ext
36656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36658 if test `eval echo '${'$as_ac_var'}'` = yes; then
36659 cat >>confdefs.h <<_ACEOF
36660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36667 if test "$ac_cv_func_vsnprintf" = "yes"; then
36668 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36669 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
36670 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36671 echo $ECHO_N "(cached) $ECHO_C" >&6
36674 cat >conftest.$ac_ext <<_ACEOF
36677 cat confdefs.h >>conftest.$ac_ext
36678 cat >>conftest.$ac_ext <<_ACEOF
36679 /* end confdefs.h. */
36682 #include <stdarg.h>
36684 #if __MSL__ >= 0x6000
36686 using namespace std;
36696 vsnprintf(buf, 10u, "%s", ap);
36702 rm -f conftest.$ac_objext
36703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36704 (eval $ac_compile) 2>conftest.er1
36706 grep -v '^ *+' conftest.er1 >conftest.err
36708 cat conftest.err >&5
36709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36710 (exit $ac_status); } &&
36711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36713 (eval $ac_try) 2>&5
36715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36716 (exit $ac_status); }; } &&
36717 { ac_try='test -s conftest.$ac_objext'
36718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36719 (eval $ac_try) 2>&5
36721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36722 (exit $ac_status); }; }; then
36723 wx_cv_func_vsnprintf_decl=yes
36725 echo "$as_me: failed program was:" >&5
36726 sed 's/^/| /' conftest.$ac_ext >&5
36728 wx_cv_func_vsnprintf_decl=no
36731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36735 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36736 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
36738 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36739 cat >>confdefs.h <<\_ACEOF
36740 #define HAVE_VSNPRINTF_DECL 1
36744 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36745 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
36746 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36747 echo $ECHO_N "(cached) $ECHO_C" >&6
36750 cat >conftest.$ac_ext <<_ACEOF
36753 cat confdefs.h >>conftest.$ac_ext
36754 cat >>conftest.$ac_ext <<_ACEOF
36755 /* end confdefs.h. */
36758 #include <stdarg.h>
36760 #if __MSL__ >= 0x6000
36762 using namespace std;
36772 const char *fmt = "%s";
36773 vsnprintf(buf, 10u, fmt, ap);
36779 rm -f conftest.$ac_objext
36780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36781 (eval $ac_compile) 2>conftest.er1
36783 grep -v '^ *+' conftest.er1 >conftest.err
36785 cat conftest.err >&5
36786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36787 (exit $ac_status); } &&
36788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36790 (eval $ac_try) 2>&5
36792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36793 (exit $ac_status); }; } &&
36794 { ac_try='test -s conftest.$ac_objext'
36795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36796 (eval $ac_try) 2>&5
36798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36799 (exit $ac_status); }; }; then
36800 wx_cv_func_broken_vsnprintf_decl=no
36802 echo "$as_me: failed program was:" >&5
36803 sed 's/^/| /' conftest.$ac_ext >&5
36805 wx_cv_func_broken_vsnprintf_decl=yes
36808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36812 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36813 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
36815 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36816 cat >>confdefs.h <<\_ACEOF
36817 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36824 if test "$ac_cv_func_snprintf" = "yes"; then
36825 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36826 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
36827 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36828 echo $ECHO_N "(cached) $ECHO_C" >&6
36831 cat >conftest.$ac_ext <<_ACEOF
36834 cat confdefs.h >>conftest.$ac_ext
36835 cat >>conftest.$ac_ext <<_ACEOF
36836 /* end confdefs.h. */
36839 #include <stdarg.h>
36841 #if __MSL__ >= 0x6000
36843 using namespace std;
36852 snprintf(buf, 10u, "%s", "wx");
36858 rm -f conftest.$ac_objext
36859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36860 (eval $ac_compile) 2>conftest.er1
36862 grep -v '^ *+' conftest.er1 >conftest.err
36864 cat conftest.err >&5
36865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36866 (exit $ac_status); } &&
36867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36869 (eval $ac_try) 2>&5
36871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36872 (exit $ac_status); }; } &&
36873 { ac_try='test -s conftest.$ac_objext'
36874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36875 (eval $ac_try) 2>&5
36877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36878 (exit $ac_status); }; }; then
36879 wx_cv_func_snprintf_decl=yes
36881 echo "$as_me: failed program was:" >&5
36882 sed 's/^/| /' conftest.$ac_ext >&5
36884 wx_cv_func_snprintf_decl=no
36887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36891 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36892 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
36894 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36895 cat >>confdefs.h <<\_ACEOF
36896 #define HAVE_SNPRINTF_DECL 1
36900 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
36901 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
36902 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
36903 echo $ECHO_N "(cached) $ECHO_C" >&6
36906 cat >conftest.$ac_ext <<_ACEOF
36909 cat confdefs.h >>conftest.$ac_ext
36910 cat >>conftest.$ac_ext <<_ACEOF
36911 /* end confdefs.h. */
36914 #include <stdarg.h>
36916 #if __MSL__ >= 0x6000
36918 using namespace std;
36927 const char *fmt = "%s";
36928 snprintf(buf, 10u, fmt, "wx");
36934 rm -f conftest.$ac_objext
36935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36936 (eval $ac_compile) 2>conftest.er1
36938 grep -v '^ *+' conftest.er1 >conftest.err
36940 cat conftest.err >&5
36941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36942 (exit $ac_status); } &&
36943 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36945 (eval $ac_try) 2>&5
36947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36948 (exit $ac_status); }; } &&
36949 { ac_try='test -s conftest.$ac_objext'
36950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36951 (eval $ac_try) 2>&5
36953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36954 (exit $ac_status); }; }; then
36955 wx_cv_func_broken_snprintf_decl=no
36957 echo "$as_me: failed program was:" >&5
36958 sed 's/^/| /' conftest.$ac_ext >&5
36960 wx_cv_func_broken_snprintf_decl=yes
36963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36967 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
36968 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
36970 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
36971 cat >>confdefs.h <<\_ACEOF
36972 #define HAVE_BROKEN_SNPRINTF_DECL 1
36978 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36980 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36981 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
36982 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36983 echo $ECHO_N "(cached) $ECHO_C" >&6
36986 if test "$cross_compiling" = yes; then
36988 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36989 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36990 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36991 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36992 wx_cv_func_snprintf_pos_params=no
36996 cat >conftest.$ac_ext <<_ACEOF
36999 cat confdefs.h >>conftest.$ac_ext
37000 cat >>conftest.$ac_ext <<_ACEOF
37001 /* end confdefs.h. */
37008 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37009 if (strcmp ("2 3 1", buffer) == 0)
37015 rm -f conftest$ac_exeext
37016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37017 (eval $ac_link) 2>&5
37019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37020 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37022 (eval $ac_try) 2>&5
37024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37025 (exit $ac_status); }; }; then
37026 wx_cv_func_snprintf_pos_params=no
37028 echo "$as_me: program exited with status $ac_status" >&5
37029 echo "$as_me: failed program was:" >&5
37030 sed 's/^/| /' conftest.$ac_ext >&5
37032 ( exit $ac_status )
37033 wx_cv_func_snprintf_pos_params=yes
37035 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37040 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37041 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
37043 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37044 cat >>confdefs.h <<\_ACEOF
37045 #define HAVE_UNIX98_PRINTF 1
37052 if test "$wxUSE_UNICODE" = yes; then
37055 for ac_func in swprintf
37057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37058 echo "$as_me:$LINENO: checking for $ac_func" >&5
37059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37060 if eval "test \"\${$as_ac_var+set}\" = set"; then
37061 echo $ECHO_N "(cached) $ECHO_C" >&6
37063 cat >conftest.$ac_ext <<_ACEOF
37066 cat confdefs.h >>conftest.$ac_ext
37067 cat >>conftest.$ac_ext <<_ACEOF
37068 /* end confdefs.h. */
37069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37071 #define $ac_func innocuous_$ac_func
37073 /* System header to define __stub macros and hopefully few prototypes,
37074 which can conflict with char $ac_func (); below.
37075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37076 <limits.h> exists even on freestanding compilers. */
37079 # include <limits.h>
37081 # include <assert.h>
37086 /* Override any gcc2 internal prototype to avoid an error. */
37091 /* We use char because int might match the return type of a gcc2
37092 builtin and then its argument prototype would still apply. */
37094 /* The GNU C library defines this for functions which it implements
37095 to always fail with ENOSYS. Some functions are actually named
37096 something starting with __ and the normal name is an alias. */
37097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37100 char (*f) () = $ac_func;
37109 return f != $ac_func;
37114 rm -f conftest.$ac_objext conftest$ac_exeext
37115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37116 (eval $ac_link) 2>conftest.er1
37118 grep -v '^ *+' conftest.er1 >conftest.err
37120 cat conftest.err >&5
37121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37122 (exit $ac_status); } &&
37123 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37125 (eval $ac_try) 2>&5
37127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37128 (exit $ac_status); }; } &&
37129 { ac_try='test -s conftest$ac_exeext'
37130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37131 (eval $ac_try) 2>&5
37133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37134 (exit $ac_status); }; }; then
37135 eval "$as_ac_var=yes"
37137 echo "$as_me: failed program was:" >&5
37138 sed 's/^/| /' conftest.$ac_ext >&5
37140 eval "$as_ac_var=no"
37142 rm -f conftest.err conftest.$ac_objext \
37143 conftest$ac_exeext conftest.$ac_ext
37145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37147 if test `eval echo '${'$as_ac_var'}'` = yes; then
37148 cat >>confdefs.h <<_ACEOF
37149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37156 if test "$ac_cv_func_swprintf" = "yes"; then
37157 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
37158 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
37159 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
37160 echo $ECHO_N "(cached) $ECHO_C" >&6
37163 cat >conftest.$ac_ext <<_ACEOF
37166 cat confdefs.h >>conftest.$ac_ext
37167 cat >>conftest.$ac_ext <<_ACEOF
37168 /* end confdefs.h. */
37171 #include <stdarg.h>
37179 const wchar_t *fmt = L"test";
37180 swprintf(buf, 10u, fmt);
37186 rm -f conftest.$ac_objext
37187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37188 (eval $ac_compile) 2>conftest.er1
37190 grep -v '^ *+' conftest.er1 >conftest.err
37192 cat conftest.err >&5
37193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37194 (exit $ac_status); } &&
37195 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37197 (eval $ac_try) 2>&5
37199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37200 (exit $ac_status); }; } &&
37201 { ac_try='test -s conftest.$ac_objext'
37202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37203 (eval $ac_try) 2>&5
37205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37206 (exit $ac_status); }; }; then
37207 wx_cv_func_broken_swprintf_decl=no
37209 echo "$as_me: failed program was:" >&5
37210 sed 's/^/| /' conftest.$ac_ext >&5
37212 wx_cv_func_broken_swprintf_decl=yes
37215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37219 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
37220 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
37222 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
37223 cat >>confdefs.h <<\_ACEOF
37224 #define HAVE_BROKEN_SWPRINTF_DECL 1
37230 wchar_headers="#include <stdio.h>
37231 #include <wchar.h>"
37234 echo "$as_me:$LINENO: checking for widec.h" >&5
37235 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6
37236 if test "${ac_cv_header_widec_h+set}" = set; then
37237 echo $ECHO_N "(cached) $ECHO_C" >&6
37239 cat >conftest.$ac_ext <<_ACEOF
37242 cat confdefs.h >>conftest.$ac_ext
37243 cat >>conftest.$ac_ext <<_ACEOF
37244 /* end confdefs.h. */
37245 $ac_includes_default
37249 rm -f conftest.$ac_objext
37250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37251 (eval $ac_compile) 2>conftest.er1
37253 grep -v '^ *+' conftest.er1 >conftest.err
37255 cat conftest.err >&5
37256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37257 (exit $ac_status); } &&
37258 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37260 (eval $ac_try) 2>&5
37262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37263 (exit $ac_status); }; } &&
37264 { ac_try='test -s conftest.$ac_objext'
37265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37266 (eval $ac_try) 2>&5
37268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37269 (exit $ac_status); }; }; then
37270 ac_cv_header_widec_h=yes
37272 echo "$as_me: failed program was:" >&5
37273 sed 's/^/| /' conftest.$ac_ext >&5
37275 ac_cv_header_widec_h=no
37277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37279 echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
37280 echo "${ECHO_T}$ac_cv_header_widec_h" >&6
37283 if test "$ac_cv_header_widec_h" = "yes"; then
37284 wchar_headers="$wchar_headers
37285 #include <widec.h>"
37290 for wx_func in wputc wputchar putws fputws wprintf vswprintf
37292 echo "$as_me:$LINENO: checking for $wx_func" >&5
37293 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37294 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37295 echo $ECHO_N "(cached) $ECHO_C" >&6
37298 cat >conftest.$ac_ext <<_ACEOF
37302 cat confdefs.h >>conftest.$ac_ext
37303 cat >>conftest.$ac_ext <<_ACEOF
37304 /* end confdefs.h. */
37307 $ac_includes_default
37323 rm -f conftest.$ac_objext conftest$ac_exeext
37324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37325 (eval $ac_link) 2>conftest.er1
37327 grep -v '^ *+' conftest.er1 >conftest.err
37329 cat conftest.err >&5
37330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37331 (exit $ac_status); } &&
37332 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37334 (eval $ac_try) 2>&5
37336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37337 (exit $ac_status); }; } &&
37338 { ac_try='test -s conftest$ac_exeext'
37339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37340 (eval $ac_try) 2>&5
37342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37343 (exit $ac_status); }; }; then
37344 eval wx_cv_func_$wx_func=yes
37346 echo "$as_me: failed program was:" >&5
37347 sed 's/^/| /' conftest.$ac_ext >&5
37349 eval wx_cv_func_$wx_func=no
37351 rm -f conftest.err conftest.$ac_objext \
37352 conftest$ac_exeext conftest.$ac_ext
37355 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37356 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37358 if eval test \$wx_cv_func_$wx_func = yes
37360 cat >>confdefs.h <<_ACEOF
37361 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37372 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37373 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
37374 cat >conftest.$ac_ext <<_ACEOF
37377 cat confdefs.h >>conftest.$ac_ext
37378 cat >>conftest.$ac_ext <<_ACEOF
37379 /* end confdefs.h. */
37389 rm -f conftest.$ac_objext
37390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37391 (eval $ac_compile) 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_c_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_objext'
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 echo "$as_me:$LINENO: result: yes" >&5
37411 echo "${ECHO_T}yes" >&6
37412 cat >>confdefs.h <<\_ACEOF
37413 #define HAVE__VSNWPRINTF 1
37417 echo "$as_me: failed program was:" >&5
37418 sed 's/^/| /' conftest.$ac_ext >&5
37420 echo "$as_me:$LINENO: result: no" >&5
37421 echo "${ECHO_T}no" >&6
37423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
37426 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
37428 for wx_func in fnmatch
37430 echo "$as_me:$LINENO: checking for $wx_func" >&5
37431 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37432 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37433 echo $ECHO_N "(cached) $ECHO_C" >&6
37436 cat >conftest.$ac_ext <<_ACEOF
37440 cat confdefs.h >>conftest.$ac_ext
37441 cat >>conftest.$ac_ext <<_ACEOF
37442 /* end confdefs.h. */
37444 #include <fnmatch.h>
37445 $ac_includes_default
37461 rm -f conftest.$ac_objext conftest$ac_exeext
37462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37463 (eval $ac_link) 2>conftest.er1
37465 grep -v '^ *+' conftest.er1 >conftest.err
37467 cat conftest.err >&5
37468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37469 (exit $ac_status); } &&
37470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37472 (eval $ac_try) 2>&5
37474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37475 (exit $ac_status); }; } &&
37476 { ac_try='test -s conftest$ac_exeext'
37477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37478 (eval $ac_try) 2>&5
37480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37481 (exit $ac_status); }; }; then
37482 eval wx_cv_func_$wx_func=yes
37484 echo "$as_me: failed program was:" >&5
37485 sed 's/^/| /' conftest.$ac_ext >&5
37487 eval wx_cv_func_$wx_func=no
37489 rm -f conftest.err conftest.$ac_objext \
37490 conftest$ac_exeext conftest.$ac_ext
37493 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37494 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37496 if eval test \$wx_cv_func_$wx_func = yes
37498 cat >>confdefs.h <<_ACEOF
37499 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37511 if test "$wxUSE_FILE" = "yes"; then
37513 for wx_func in fsync
37515 echo "$as_me:$LINENO: checking for $wx_func" >&5
37516 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37517 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37518 echo $ECHO_N "(cached) $ECHO_C" >&6
37521 cat >conftest.$ac_ext <<_ACEOF
37525 cat confdefs.h >>conftest.$ac_ext
37526 cat >>conftest.$ac_ext <<_ACEOF
37527 /* end confdefs.h. */
37530 $ac_includes_default
37546 rm -f conftest.$ac_objext conftest$ac_exeext
37547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37548 (eval $ac_link) 2>conftest.er1
37550 grep -v '^ *+' conftest.er1 >conftest.err
37552 cat conftest.err >&5
37553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37554 (exit $ac_status); } &&
37555 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37557 (eval $ac_try) 2>&5
37559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37560 (exit $ac_status); }; } &&
37561 { ac_try='test -s conftest$ac_exeext'
37562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37563 (eval $ac_try) 2>&5
37565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37566 (exit $ac_status); }; }; then
37567 eval wx_cv_func_$wx_func=yes
37569 echo "$as_me: failed program was:" >&5
37570 sed 's/^/| /' conftest.$ac_ext >&5
37572 eval wx_cv_func_$wx_func=no
37574 rm -f conftest.err conftest.$ac_objext \
37575 conftest$ac_exeext conftest.$ac_ext
37578 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37579 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37581 if eval test \$wx_cv_func_$wx_func = yes
37583 cat >>confdefs.h <<_ACEOF
37584 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37597 ac_cpp='$CXXCPP $CPPFLAGS'
37598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37603 for wx_func in round
37605 echo "$as_me:$LINENO: checking for $wx_func" >&5
37606 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37607 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37608 echo $ECHO_N "(cached) $ECHO_C" >&6
37611 cat >conftest.$ac_ext <<_ACEOF
37615 cat confdefs.h >>conftest.$ac_ext
37616 cat >>conftest.$ac_ext <<_ACEOF
37617 /* end confdefs.h. */
37620 $ac_includes_default
37636 rm -f conftest.$ac_objext conftest$ac_exeext
37637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37638 (eval $ac_link) 2>conftest.er1
37640 grep -v '^ *+' conftest.er1 >conftest.err
37642 cat conftest.err >&5
37643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37644 (exit $ac_status); } &&
37645 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37647 (eval $ac_try) 2>&5
37649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37650 (exit $ac_status); }; } &&
37651 { ac_try='test -s conftest$ac_exeext'
37652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37653 (eval $ac_try) 2>&5
37655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37656 (exit $ac_status); }; }; then
37657 eval wx_cv_func_$wx_func=yes
37659 echo "$as_me: failed program was:" >&5
37660 sed 's/^/| /' conftest.$ac_ext >&5
37662 eval wx_cv_func_$wx_func=no
37664 rm -f conftest.err conftest.$ac_objext \
37665 conftest$ac_exeext conftest.$ac_ext
37668 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37669 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37671 if eval test \$wx_cv_func_$wx_func = yes
37673 cat >>confdefs.h <<_ACEOF
37674 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37685 ac_cpp='$CPP $CPPFLAGS'
37686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37691 if test "$TOOLKIT" != "MSW"; then
37697 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
37698 if test "${with_libiconv_prefix+set}" = set; then
37699 withval="$with_libiconv_prefix"
37701 for dir in `echo "$withval" | tr : ' '`; do
37702 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37703 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37708 echo "$as_me:$LINENO: checking for iconv" >&5
37709 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
37710 if test "${am_cv_func_iconv+set}" = set; then
37711 echo $ECHO_N "(cached) $ECHO_C" >&6
37714 am_cv_func_iconv="no, consider installing GNU libiconv"
37716 cat >conftest.$ac_ext <<_ACEOF
37719 cat confdefs.h >>conftest.$ac_ext
37720 cat >>conftest.$ac_ext <<_ACEOF
37721 /* end confdefs.h. */
37722 #include <stdlib.h>
37727 iconv_t cd = iconv_open("","");
37728 iconv(cd,NULL,NULL,NULL,NULL);
37734 rm -f conftest.$ac_objext conftest$ac_exeext
37735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37736 (eval $ac_link) 2>conftest.er1
37738 grep -v '^ *+' conftest.er1 >conftest.err
37740 cat conftest.err >&5
37741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37742 (exit $ac_status); } &&
37743 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37745 (eval $ac_try) 2>&5
37747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37748 (exit $ac_status); }; } &&
37749 { ac_try='test -s conftest$ac_exeext'
37750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37751 (eval $ac_try) 2>&5
37753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37754 (exit $ac_status); }; }; then
37755 am_cv_func_iconv=yes
37757 echo "$as_me: failed program was:" >&5
37758 sed 's/^/| /' conftest.$ac_ext >&5
37761 rm -f conftest.err conftest.$ac_objext \
37762 conftest$ac_exeext conftest.$ac_ext
37763 if test "$am_cv_func_iconv" != yes; then
37764 am_save_LIBS="$LIBS"
37765 LIBS="$LIBS -liconv"
37766 cat >conftest.$ac_ext <<_ACEOF
37769 cat confdefs.h >>conftest.$ac_ext
37770 cat >>conftest.$ac_ext <<_ACEOF
37771 /* end confdefs.h. */
37772 #include <stdlib.h>
37777 iconv_t cd = iconv_open("","");
37778 iconv(cd,NULL,NULL,NULL,NULL);
37784 rm -f conftest.$ac_objext conftest$ac_exeext
37785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37786 (eval $ac_link) 2>conftest.er1
37788 grep -v '^ *+' conftest.er1 >conftest.err
37790 cat conftest.err >&5
37791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37792 (exit $ac_status); } &&
37793 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37795 (eval $ac_try) 2>&5
37797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37798 (exit $ac_status); }; } &&
37799 { ac_try='test -s conftest$ac_exeext'
37800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37801 (eval $ac_try) 2>&5
37803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37804 (exit $ac_status); }; }; then
37805 am_cv_lib_iconv=yes
37806 am_cv_func_iconv=yes
37808 echo "$as_me: failed program was:" >&5
37809 sed 's/^/| /' conftest.$ac_ext >&5
37812 rm -f conftest.err conftest.$ac_objext \
37813 conftest$ac_exeext conftest.$ac_ext
37814 LIBS="$am_save_LIBS"
37818 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37819 echo "${ECHO_T}$am_cv_func_iconv" >&6
37820 if test "$am_cv_func_iconv" = yes; then
37822 cat >>confdefs.h <<\_ACEOF
37823 #define HAVE_ICONV 1
37826 echo "$as_me:$LINENO: checking if iconv needs const" >&5
37827 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
37828 if test "${wx_cv_func_iconv_const+set}" = set; then
37829 echo $ECHO_N "(cached) $ECHO_C" >&6
37831 cat >conftest.$ac_ext <<_ACEOF
37834 cat confdefs.h >>conftest.$ac_ext
37835 cat >>conftest.$ac_ext <<_ACEOF
37836 /* end confdefs.h. */
37838 #include <stdlib.h>
37844 #if defined(__STDC__) || defined(__cplusplus)
37845 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37858 rm -f conftest.$ac_objext
37859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37860 (eval $ac_compile) 2>conftest.er1
37862 grep -v '^ *+' conftest.er1 >conftest.err
37864 cat conftest.err >&5
37865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37866 (exit $ac_status); } &&
37867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37869 (eval $ac_try) 2>&5
37871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37872 (exit $ac_status); }; } &&
37873 { ac_try='test -s conftest.$ac_objext'
37874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37875 (eval $ac_try) 2>&5
37877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37878 (exit $ac_status); }; }; then
37879 wx_cv_func_iconv_const="no"
37881 echo "$as_me: failed program was:" >&5
37882 sed 's/^/| /' conftest.$ac_ext >&5
37884 wx_cv_func_iconv_const="yes"
37887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37890 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37891 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
37894 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37895 iconv_const="const"
37899 cat >>confdefs.h <<_ACEOF
37900 #define ICONV_CONST $iconv_const
37905 if test "$am_cv_lib_iconv" = yes; then
37910 LIBS="$LIBICONV $LIBS"
37912 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37914 for ac_func in sigaction
37916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37917 echo "$as_me:$LINENO: checking for $ac_func" >&5
37918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37919 if eval "test \"\${$as_ac_var+set}\" = set"; then
37920 echo $ECHO_N "(cached) $ECHO_C" >&6
37922 cat >conftest.$ac_ext <<_ACEOF
37925 cat confdefs.h >>conftest.$ac_ext
37926 cat >>conftest.$ac_ext <<_ACEOF
37927 /* end confdefs.h. */
37928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37930 #define $ac_func innocuous_$ac_func
37932 /* System header to define __stub macros and hopefully few prototypes,
37933 which can conflict with char $ac_func (); below.
37934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37935 <limits.h> exists even on freestanding compilers. */
37938 # include <limits.h>
37940 # include <assert.h>
37945 /* Override any gcc2 internal prototype to avoid an error. */
37950 /* We use char because int might match the return type of a gcc2
37951 builtin and then its argument prototype would still apply. */
37953 /* The GNU C library defines this for functions which it implements
37954 to always fail with ENOSYS. Some functions are actually named
37955 something starting with __ and the normal name is an alias. */
37956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37959 char (*f) () = $ac_func;
37968 return f != $ac_func;
37973 rm -f conftest.$ac_objext conftest$ac_exeext
37974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37975 (eval $ac_link) 2>conftest.er1
37977 grep -v '^ *+' conftest.er1 >conftest.err
37979 cat conftest.err >&5
37980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37981 (exit $ac_status); } &&
37982 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37984 (eval $ac_try) 2>&5
37986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37987 (exit $ac_status); }; } &&
37988 { ac_try='test -s conftest$ac_exeext'
37989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37990 (eval $ac_try) 2>&5
37992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37993 (exit $ac_status); }; }; then
37994 eval "$as_ac_var=yes"
37996 echo "$as_me: failed program was:" >&5
37997 sed 's/^/| /' conftest.$ac_ext >&5
37999 eval "$as_ac_var=no"
38001 rm -f conftest.err conftest.$ac_objext \
38002 conftest$ac_exeext conftest.$ac_ext
38004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38006 if test `eval echo '${'$as_ac_var'}'` = yes; then
38007 cat >>confdefs.h <<_ACEOF
38008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38015 if test "$ac_cv_func_sigaction" = "no"; then
38016 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38017 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38018 wxUSE_ON_FATAL_EXCEPTION=no
38021 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38022 echo "$as_me:$LINENO: checking for sa_handler type" >&5
38023 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
38024 if test "${wx_cv_type_sa_handler+set}" = set; then
38025 echo $ECHO_N "(cached) $ECHO_C" >&6
38029 ac_cpp='$CXXCPP $CPPFLAGS'
38030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38034 cat >conftest.$ac_ext <<_ACEOF
38037 cat confdefs.h >>conftest.$ac_ext
38038 cat >>conftest.$ac_ext <<_ACEOF
38039 /* end confdefs.h. */
38040 #include <signal.h>
38045 extern void testSigHandler(int);
38047 struct sigaction sa;
38048 sa.sa_handler = testSigHandler;
38054 rm -f conftest.$ac_objext
38055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38056 (eval $ac_compile) 2>conftest.er1
38058 grep -v '^ *+' conftest.er1 >conftest.err
38060 cat conftest.err >&5
38061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38062 (exit $ac_status); } &&
38063 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38065 (eval $ac_try) 2>&5
38067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38068 (exit $ac_status); }; } &&
38069 { ac_try='test -s conftest.$ac_objext'
38070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38071 (eval $ac_try) 2>&5
38073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38074 (exit $ac_status); }; }; then
38076 wx_cv_type_sa_handler=int
38079 echo "$as_me: failed program was:" >&5
38080 sed 's/^/| /' conftest.$ac_ext >&5
38083 wx_cv_type_sa_handler=void
38086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38088 ac_cpp='$CPP $CPPFLAGS'
38089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38095 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38096 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
38098 cat >>confdefs.h <<_ACEOF
38099 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38105 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38106 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38107 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
38108 if test "${wx_cv_func_backtrace+set}" = set; then
38109 echo $ECHO_N "(cached) $ECHO_C" >&6
38113 ac_cpp='$CXXCPP $CPPFLAGS'
38114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38118 cat >conftest.$ac_ext <<_ACEOF
38121 cat confdefs.h >>conftest.$ac_ext
38122 cat >>conftest.$ac_ext <<_ACEOF
38123 /* end confdefs.h. */
38124 #include <execinfo.h>
38132 backtrace(trace, 1);
38133 messages = backtrace_symbols(trace, 1);
38139 rm -f conftest.$ac_objext
38140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38141 (eval $ac_compile) 2>conftest.er1
38143 grep -v '^ *+' conftest.er1 >conftest.err
38145 cat conftest.err >&5
38146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38147 (exit $ac_status); } &&
38148 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38150 (eval $ac_try) 2>&5
38152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38153 (exit $ac_status); }; } &&
38154 { ac_try='test -s conftest.$ac_objext'
38155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38156 (eval $ac_try) 2>&5
38158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38159 (exit $ac_status); }; }; then
38160 wx_cv_func_backtrace=yes
38162 echo "$as_me: failed program was:" >&5
38163 sed 's/^/| /' conftest.$ac_ext >&5
38165 wx_cv_func_backtrace=no
38168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38170 ac_cpp='$CPP $CPPFLAGS'
38171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38178 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38179 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
38182 if test "$wx_cv_func_backtrace" = "no"; then
38183 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38184 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38185 wxUSE_STACKWALKER=no
38187 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38188 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
38189 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38190 echo $ECHO_N "(cached) $ECHO_C" >&6
38194 ac_cpp='$CXXCPP $CPPFLAGS'
38195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38199 cat >conftest.$ac_ext <<_ACEOF
38202 cat confdefs.h >>conftest.$ac_ext
38203 cat >>conftest.$ac_ext <<_ACEOF
38204 /* end confdefs.h. */
38205 #include <cxxabi.h>
38211 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38217 rm -f conftest.$ac_objext conftest$ac_exeext
38218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38219 (eval $ac_link) 2>conftest.er1
38221 grep -v '^ *+' conftest.er1 >conftest.err
38223 cat conftest.err >&5
38224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38225 (exit $ac_status); } &&
38226 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38228 (eval $ac_try) 2>&5
38230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38231 (exit $ac_status); }; } &&
38232 { ac_try='test -s conftest$ac_exeext'
38233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38234 (eval $ac_try) 2>&5
38236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38237 (exit $ac_status); }; }; then
38238 wx_cv_func_cxa_demangle=yes
38240 echo "$as_me: failed program was:" >&5
38241 sed 's/^/| /' conftest.$ac_ext >&5
38243 wx_cv_func_cxa_demangle=no
38246 rm -f conftest.err conftest.$ac_objext \
38247 conftest$ac_exeext conftest.$ac_ext
38249 ac_cpp='$CPP $CPPFLAGS'
38250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38257 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38258 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
38260 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38261 cat >>confdefs.h <<\_ACEOF
38262 #define HAVE_CXA_DEMANGLE 1
38269 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
38270 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38271 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38272 wxUSE_STACKWALKER=no
38278 for ac_func in mkstemp mktemp
38280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38281 echo "$as_me:$LINENO: checking for $ac_func" >&5
38282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38283 if eval "test \"\${$as_ac_var+set}\" = set"; then
38284 echo $ECHO_N "(cached) $ECHO_C" >&6
38286 cat >conftest.$ac_ext <<_ACEOF
38289 cat confdefs.h >>conftest.$ac_ext
38290 cat >>conftest.$ac_ext <<_ACEOF
38291 /* end confdefs.h. */
38292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38294 #define $ac_func innocuous_$ac_func
38296 /* System header to define __stub macros and hopefully few prototypes,
38297 which can conflict with char $ac_func (); below.
38298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38299 <limits.h> exists even on freestanding compilers. */
38302 # include <limits.h>
38304 # include <assert.h>
38309 /* Override any gcc2 internal prototype to avoid an error. */
38314 /* We use char because int might match the return type of a gcc2
38315 builtin and then its argument prototype would still apply. */
38317 /* The GNU C library defines this for functions which it implements
38318 to always fail with ENOSYS. Some functions are actually named
38319 something starting with __ and the normal name is an alias. */
38320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38323 char (*f) () = $ac_func;
38332 return f != $ac_func;
38337 rm -f conftest.$ac_objext conftest$ac_exeext
38338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38339 (eval $ac_link) 2>conftest.er1
38341 grep -v '^ *+' conftest.er1 >conftest.err
38343 cat conftest.err >&5
38344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38345 (exit $ac_status); } &&
38346 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38348 (eval $ac_try) 2>&5
38350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38351 (exit $ac_status); }; } &&
38352 { ac_try='test -s conftest$ac_exeext'
38353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38354 (eval $ac_try) 2>&5
38356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38357 (exit $ac_status); }; }; then
38358 eval "$as_ac_var=yes"
38360 echo "$as_me: failed program was:" >&5
38361 sed 's/^/| /' conftest.$ac_ext >&5
38363 eval "$as_ac_var=no"
38365 rm -f conftest.err conftest.$ac_objext \
38366 conftest$ac_exeext conftest.$ac_ext
38368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38370 if test `eval echo '${'$as_ac_var'}'` = yes; then
38371 cat >>confdefs.h <<_ACEOF
38372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38379 echo "$as_me:$LINENO: checking for statfs" >&5
38380 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
38381 if test "${wx_cv_func_statfs+set}" = set; then
38382 echo $ECHO_N "(cached) $ECHO_C" >&6
38384 cat >conftest.$ac_ext <<_ACEOF
38387 cat confdefs.h >>conftest.$ac_ext
38388 cat >>conftest.$ac_ext <<_ACEOF
38389 /* end confdefs.h. */
38391 #if defined(__BSD__)
38392 #include <sys/param.h>
38393 #include <sys/mount.h>
38395 #include <sys/vfs.h>
38413 rm -f conftest.$ac_objext
38414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38415 (eval $ac_compile) 2>conftest.er1
38417 grep -v '^ *+' conftest.er1 >conftest.err
38419 cat conftest.err >&5
38420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38421 (exit $ac_status); } &&
38422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38424 (eval $ac_try) 2>&5
38426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38427 (exit $ac_status); }; } &&
38428 { ac_try='test -s conftest.$ac_objext'
38429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38430 (eval $ac_try) 2>&5
38432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38433 (exit $ac_status); }; }; then
38434 wx_cv_func_statfs=yes
38436 echo "$as_me: failed program was:" >&5
38437 sed 's/^/| /' conftest.$ac_ext >&5
38439 wx_cv_func_statfs=no
38442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38445 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38446 echo "${ECHO_T}$wx_cv_func_statfs" >&6
38448 if test "$wx_cv_func_statfs" = "yes"; then
38449 echo "$as_me:$LINENO: checking for statfs declaration" >&5
38450 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
38451 if test "${wx_cv_func_statfs_decl+set}" = set; then
38452 echo $ECHO_N "(cached) $ECHO_C" >&6
38455 ac_cpp='$CXXCPP $CPPFLAGS'
38456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38460 cat >conftest.$ac_ext <<_ACEOF
38463 cat confdefs.h >>conftest.$ac_ext
38464 cat >>conftest.$ac_ext <<_ACEOF
38465 /* end confdefs.h. */
38467 #if defined(__BSD__)
38468 #include <sys/param.h>
38469 #include <sys/mount.h>
38471 #include <sys/vfs.h>
38485 rm -f conftest.$ac_objext
38486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38487 (eval $ac_compile) 2>conftest.er1
38489 grep -v '^ *+' conftest.er1 >conftest.err
38491 cat conftest.err >&5
38492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38493 (exit $ac_status); } &&
38494 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38496 (eval $ac_try) 2>&5
38498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38499 (exit $ac_status); }; } &&
38500 { ac_try='test -s conftest.$ac_objext'
38501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38502 (eval $ac_try) 2>&5
38504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38505 (exit $ac_status); }; }; then
38506 wx_cv_func_statfs_decl=yes
38508 echo "$as_me: failed program was:" >&5
38509 sed 's/^/| /' conftest.$ac_ext >&5
38511 wx_cv_func_statfs_decl=no
38514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38516 ac_cpp='$CPP $CPPFLAGS'
38517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38523 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38524 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
38526 if test "$wx_cv_func_statfs_decl" = "yes"; then
38527 cat >>confdefs.h <<\_ACEOF
38528 #define HAVE_STATFS_DECL 1
38533 wx_cv_type_statvfs_t="struct statfs"
38534 cat >>confdefs.h <<\_ACEOF
38535 #define HAVE_STATFS 1
38539 echo "$as_me:$LINENO: checking for statvfs" >&5
38540 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
38541 if test "${wx_cv_func_statvfs+set}" = set; then
38542 echo $ECHO_N "(cached) $ECHO_C" >&6
38544 cat >conftest.$ac_ext <<_ACEOF
38547 cat confdefs.h >>conftest.$ac_ext
38548 cat >>conftest.$ac_ext <<_ACEOF
38549 /* end confdefs.h. */
38551 #include <stddef.h>
38552 #include <sys/statvfs.h>
38558 statvfs("/", NULL);
38564 rm -f conftest.$ac_objext
38565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38566 (eval $ac_compile) 2>conftest.er1
38568 grep -v '^ *+' conftest.er1 >conftest.err
38570 cat conftest.err >&5
38571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38572 (exit $ac_status); } &&
38573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38575 (eval $ac_try) 2>&5
38577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38578 (exit $ac_status); }; } &&
38579 { ac_try='test -s conftest.$ac_objext'
38580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38581 (eval $ac_try) 2>&5
38583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38584 (exit $ac_status); }; }; then
38585 wx_cv_func_statvfs=yes
38587 echo "$as_me: failed program was:" >&5
38588 sed 's/^/| /' conftest.$ac_ext >&5
38590 wx_cv_func_statvfs=no
38593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38596 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38597 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
38599 if test "$wx_cv_func_statvfs" = "yes"; then
38600 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38601 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
38602 if test "${wx_cv_type_statvfs_t+set}" = set; then
38603 echo $ECHO_N "(cached) $ECHO_C" >&6
38606 ac_cpp='$CXXCPP $CPPFLAGS'
38607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38611 cat >conftest.$ac_ext <<_ACEOF
38614 cat confdefs.h >>conftest.$ac_ext
38615 cat >>conftest.$ac_ext <<_ACEOF
38616 /* end confdefs.h. */
38618 #include <sys/statvfs.h>
38635 rm -f conftest.$ac_objext
38636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38637 (eval $ac_compile) 2>conftest.er1
38639 grep -v '^ *+' conftest.er1 >conftest.err
38641 cat conftest.err >&5
38642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38643 (exit $ac_status); } &&
38644 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38646 (eval $ac_try) 2>&5
38648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38649 (exit $ac_status); }; } &&
38650 { ac_try='test -s conftest.$ac_objext'
38651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38652 (eval $ac_try) 2>&5
38654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38655 (exit $ac_status); }; }; then
38656 wx_cv_type_statvfs_t=statvfs_t
38658 echo "$as_me: failed program was:" >&5
38659 sed 's/^/| /' conftest.$ac_ext >&5
38662 cat >conftest.$ac_ext <<_ACEOF
38665 cat confdefs.h >>conftest.$ac_ext
38666 cat >>conftest.$ac_ext <<_ACEOF
38667 /* end confdefs.h. */
38669 #include <sys/statvfs.h>
38686 rm -f conftest.$ac_objext
38687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38688 (eval $ac_compile) 2>conftest.er1
38690 grep -v '^ *+' conftest.er1 >conftest.err
38692 cat conftest.err >&5
38693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38694 (exit $ac_status); } &&
38695 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38697 (eval $ac_try) 2>&5
38699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38700 (exit $ac_status); }; } &&
38701 { ac_try='test -s conftest.$ac_objext'
38702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38703 (eval $ac_try) 2>&5
38705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38706 (exit $ac_status); }; }; then
38707 wx_cv_type_statvfs_t="struct statvfs"
38709 echo "$as_me: failed program was:" >&5
38710 sed 's/^/| /' conftest.$ac_ext >&5
38712 wx_cv_type_statvfs_t="unknown"
38715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38721 ac_cpp='$CPP $CPPFLAGS'
38722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38728 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38729 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
38731 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38732 cat >>confdefs.h <<\_ACEOF
38733 #define HAVE_STATVFS 1
38738 wx_cv_type_statvfs_t="unknown"
38742 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38743 cat >>confdefs.h <<_ACEOF
38744 #define WX_STATFS_T $wx_cv_type_statvfs_t
38748 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38749 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38752 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38755 for ac_func in fcntl flock
38757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38758 echo "$as_me:$LINENO: checking for $ac_func" >&5
38759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38760 if eval "test \"\${$as_ac_var+set}\" = set"; then
38761 echo $ECHO_N "(cached) $ECHO_C" >&6
38763 cat >conftest.$ac_ext <<_ACEOF
38766 cat confdefs.h >>conftest.$ac_ext
38767 cat >>conftest.$ac_ext <<_ACEOF
38768 /* end confdefs.h. */
38769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38771 #define $ac_func innocuous_$ac_func
38773 /* System header to define __stub macros and hopefully few prototypes,
38774 which can conflict with char $ac_func (); below.
38775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38776 <limits.h> exists even on freestanding compilers. */
38779 # include <limits.h>
38781 # include <assert.h>
38786 /* Override any gcc2 internal prototype to avoid an error. */
38791 /* We use char because int might match the return type of a gcc2
38792 builtin and then its argument prototype would still apply. */
38794 /* The GNU C library defines this for functions which it implements
38795 to always fail with ENOSYS. Some functions are actually named
38796 something starting with __ and the normal name is an alias. */
38797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38800 char (*f) () = $ac_func;
38809 return f != $ac_func;
38814 rm -f conftest.$ac_objext conftest$ac_exeext
38815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38816 (eval $ac_link) 2>conftest.er1
38818 grep -v '^ *+' conftest.er1 >conftest.err
38820 cat conftest.err >&5
38821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38822 (exit $ac_status); } &&
38823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38825 (eval $ac_try) 2>&5
38827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38828 (exit $ac_status); }; } &&
38829 { ac_try='test -s conftest$ac_exeext'
38830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38831 (eval $ac_try) 2>&5
38833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38834 (exit $ac_status); }; }; then
38835 eval "$as_ac_var=yes"
38837 echo "$as_me: failed program was:" >&5
38838 sed 's/^/| /' conftest.$ac_ext >&5
38840 eval "$as_ac_var=no"
38842 rm -f conftest.err conftest.$ac_objext \
38843 conftest$ac_exeext conftest.$ac_ext
38845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38846 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38847 if test `eval echo '${'$as_ac_var'}'` = yes; then
38848 cat >>confdefs.h <<_ACEOF
38849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38856 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38857 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38858 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38859 wxUSE_SNGLINST_CHECKER=no
38864 for ac_func in timegm
38866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38867 echo "$as_me:$LINENO: checking for $ac_func" >&5
38868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38869 if eval "test \"\${$as_ac_var+set}\" = set"; then
38870 echo $ECHO_N "(cached) $ECHO_C" >&6
38872 cat >conftest.$ac_ext <<_ACEOF
38875 cat confdefs.h >>conftest.$ac_ext
38876 cat >>conftest.$ac_ext <<_ACEOF
38877 /* end confdefs.h. */
38878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38880 #define $ac_func innocuous_$ac_func
38882 /* System header to define __stub macros and hopefully few prototypes,
38883 which can conflict with char $ac_func (); below.
38884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38885 <limits.h> exists even on freestanding compilers. */
38888 # include <limits.h>
38890 # include <assert.h>
38895 /* Override any gcc2 internal prototype to avoid an error. */
38900 /* We use char because int might match the return type of a gcc2
38901 builtin and then its argument prototype would still apply. */
38903 /* The GNU C library defines this for functions which it implements
38904 to always fail with ENOSYS. Some functions are actually named
38905 something starting with __ and the normal name is an alias. */
38906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38909 char (*f) () = $ac_func;
38918 return f != $ac_func;
38923 rm -f conftest.$ac_objext conftest$ac_exeext
38924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38925 (eval $ac_link) 2>conftest.er1
38927 grep -v '^ *+' conftest.er1 >conftest.err
38929 cat conftest.err >&5
38930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38931 (exit $ac_status); } &&
38932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38934 (eval $ac_try) 2>&5
38936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38937 (exit $ac_status); }; } &&
38938 { ac_try='test -s conftest$ac_exeext'
38939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38940 (eval $ac_try) 2>&5
38942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38943 (exit $ac_status); }; }; then
38944 eval "$as_ac_var=yes"
38946 echo "$as_me: failed program was:" >&5
38947 sed 's/^/| /' conftest.$ac_ext >&5
38949 eval "$as_ac_var=no"
38951 rm -f conftest.err conftest.$ac_objext \
38952 conftest$ac_exeext conftest.$ac_ext
38954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38956 if test `eval echo '${'$as_ac_var'}'` = yes; then
38957 cat >>confdefs.h <<_ACEOF
38958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38967 for ac_func in putenv setenv
38969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38970 echo "$as_me:$LINENO: checking for $ac_func" >&5
38971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38972 if eval "test \"\${$as_ac_var+set}\" = set"; then
38973 echo $ECHO_N "(cached) $ECHO_C" >&6
38975 cat >conftest.$ac_ext <<_ACEOF
38978 cat confdefs.h >>conftest.$ac_ext
38979 cat >>conftest.$ac_ext <<_ACEOF
38980 /* end confdefs.h. */
38981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38983 #define $ac_func innocuous_$ac_func
38985 /* System header to define __stub macros and hopefully few prototypes,
38986 which can conflict with char $ac_func (); below.
38987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38988 <limits.h> exists even on freestanding compilers. */
38991 # include <limits.h>
38993 # include <assert.h>
38998 /* Override any gcc2 internal prototype to avoid an error. */
39003 /* We use char because int might match the return type of a gcc2
39004 builtin and then its argument prototype would still apply. */
39006 /* The GNU C library defines this for functions which it implements
39007 to always fail with ENOSYS. Some functions are actually named
39008 something starting with __ and the normal name is an alias. */
39009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39012 char (*f) () = $ac_func;
39021 return f != $ac_func;
39026 rm -f conftest.$ac_objext conftest$ac_exeext
39027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39028 (eval $ac_link) 2>conftest.er1
39030 grep -v '^ *+' conftest.er1 >conftest.err
39032 cat conftest.err >&5
39033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39034 (exit $ac_status); } &&
39035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39037 (eval $ac_try) 2>&5
39039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39040 (exit $ac_status); }; } &&
39041 { ac_try='test -s conftest$ac_exeext'
39042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39043 (eval $ac_try) 2>&5
39045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39046 (exit $ac_status); }; }; then
39047 eval "$as_ac_var=yes"
39049 echo "$as_me: failed program was:" >&5
39050 sed 's/^/| /' conftest.$ac_ext >&5
39052 eval "$as_ac_var=no"
39054 rm -f conftest.err conftest.$ac_objext \
39055 conftest$ac_exeext conftest.$ac_ext
39057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39059 if test `eval echo '${'$as_ac_var'}'` = yes; then
39060 cat >>confdefs.h <<_ACEOF
39061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39068 HAVE_SOME_SLEEP_FUNC=0
39069 if test "$USE_BEOS" = 1; then
39070 cat >>confdefs.h <<\_ACEOF
39071 #define HAVE_SLEEP 1
39074 HAVE_SOME_SLEEP_FUNC=1
39077 if test "$USE_DARWIN" = 1; then
39078 cat >>confdefs.h <<\_ACEOF
39079 #define HAVE_USLEEP 1
39082 HAVE_SOME_SLEEP_FUNC=1
39085 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39088 for ac_func in nanosleep
39090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39091 echo "$as_me:$LINENO: checking for $ac_func" >&5
39092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39093 if eval "test \"\${$as_ac_var+set}\" = set"; then
39094 echo $ECHO_N "(cached) $ECHO_C" >&6
39096 cat >conftest.$ac_ext <<_ACEOF
39099 cat confdefs.h >>conftest.$ac_ext
39100 cat >>conftest.$ac_ext <<_ACEOF
39101 /* end confdefs.h. */
39102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39104 #define $ac_func innocuous_$ac_func
39106 /* System header to define __stub macros and hopefully few prototypes,
39107 which can conflict with char $ac_func (); below.
39108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39109 <limits.h> exists even on freestanding compilers. */
39112 # include <limits.h>
39114 # include <assert.h>
39119 /* Override any gcc2 internal prototype to avoid an error. */
39124 /* We use char because int might match the return type of a gcc2
39125 builtin and then its argument prototype would still apply. */
39127 /* The GNU C library defines this for functions which it implements
39128 to always fail with ENOSYS. Some functions are actually named
39129 something starting with __ and the normal name is an alias. */
39130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39133 char (*f) () = $ac_func;
39142 return f != $ac_func;
39147 rm -f conftest.$ac_objext conftest$ac_exeext
39148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39149 (eval $ac_link) 2>conftest.er1
39151 grep -v '^ *+' conftest.er1 >conftest.err
39153 cat conftest.err >&5
39154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39155 (exit $ac_status); } &&
39156 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39158 (eval $ac_try) 2>&5
39160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39161 (exit $ac_status); }; } &&
39162 { ac_try='test -s conftest$ac_exeext'
39163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39164 (eval $ac_try) 2>&5
39166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39167 (exit $ac_status); }; }; then
39168 eval "$as_ac_var=yes"
39170 echo "$as_me: failed program was:" >&5
39171 sed 's/^/| /' conftest.$ac_ext >&5
39173 eval "$as_ac_var=no"
39175 rm -f conftest.err conftest.$ac_objext \
39176 conftest$ac_exeext conftest.$ac_ext
39178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39180 if test `eval echo '${'$as_ac_var'}'` = yes; then
39181 cat >>confdefs.h <<_ACEOF
39182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39184 cat >>confdefs.h <<\_ACEOF
39185 #define HAVE_NANOSLEEP 1
39190 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39191 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
39192 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39193 echo $ECHO_N "(cached) $ECHO_C" >&6
39195 ac_check_lib_save_LIBS=$LIBS
39196 LIBS="-lposix4 $LIBS"
39197 cat >conftest.$ac_ext <<_ACEOF
39200 cat confdefs.h >>conftest.$ac_ext
39201 cat >>conftest.$ac_ext <<_ACEOF
39202 /* end confdefs.h. */
39204 /* Override any gcc2 internal prototype to avoid an error. */
39208 /* We use char because int might match the return type of a gcc2
39209 builtin and then its argument prototype would still apply. */
39219 rm -f conftest.$ac_objext conftest$ac_exeext
39220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39221 (eval $ac_link) 2>conftest.er1
39223 grep -v '^ *+' conftest.er1 >conftest.err
39225 cat conftest.err >&5
39226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39227 (exit $ac_status); } &&
39228 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39230 (eval $ac_try) 2>&5
39232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39233 (exit $ac_status); }; } &&
39234 { ac_try='test -s conftest$ac_exeext'
39235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39236 (eval $ac_try) 2>&5
39238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39239 (exit $ac_status); }; }; then
39240 ac_cv_lib_posix4_nanosleep=yes
39242 echo "$as_me: failed program was:" >&5
39243 sed 's/^/| /' conftest.$ac_ext >&5
39245 ac_cv_lib_posix4_nanosleep=no
39247 rm -f conftest.err conftest.$ac_objext \
39248 conftest$ac_exeext conftest.$ac_ext
39249 LIBS=$ac_check_lib_save_LIBS
39251 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39252 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
39253 if test $ac_cv_lib_posix4_nanosleep = yes; then
39255 cat >>confdefs.h <<\_ACEOF
39256 #define HAVE_NANOSLEEP 1
39259 POSIX4_LINK=" -lposix4"
39264 for wx_func in usleep
39266 echo "$as_me:$LINENO: checking for $wx_func" >&5
39267 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39268 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39269 echo $ECHO_N "(cached) $ECHO_C" >&6
39272 cat >conftest.$ac_ext <<_ACEOF
39276 cat confdefs.h >>conftest.$ac_ext
39277 cat >>conftest.$ac_ext <<_ACEOF
39278 /* end confdefs.h. */
39281 $ac_includes_default
39297 rm -f conftest.$ac_objext conftest$ac_exeext
39298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39299 (eval $ac_link) 2>conftest.er1
39301 grep -v '^ *+' conftest.er1 >conftest.err
39303 cat conftest.err >&5
39304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39305 (exit $ac_status); } &&
39306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39308 (eval $ac_try) 2>&5
39310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39311 (exit $ac_status); }; } &&
39312 { ac_try='test -s conftest$ac_exeext'
39313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39314 (eval $ac_try) 2>&5
39316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39317 (exit $ac_status); }; }; then
39318 eval wx_cv_func_$wx_func=yes
39320 echo "$as_me: failed program was:" >&5
39321 sed 's/^/| /' conftest.$ac_ext >&5
39323 eval wx_cv_func_$wx_func=no
39325 rm -f conftest.err conftest.$ac_objext \
39326 conftest$ac_exeext conftest.$ac_ext
39329 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39330 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39332 if eval test \$wx_cv_func_$wx_func = yes
39334 cat >>confdefs.h <<_ACEOF
39335 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39341 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39342 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39359 for wx_func in uname
39361 echo "$as_me:$LINENO: checking for $wx_func" >&5
39362 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39363 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39364 echo $ECHO_N "(cached) $ECHO_C" >&6
39367 cat >conftest.$ac_ext <<_ACEOF
39371 cat confdefs.h >>conftest.$ac_ext
39372 cat >>conftest.$ac_ext <<_ACEOF
39373 /* end confdefs.h. */
39375 #include <sys/utsname.h>
39376 $ac_includes_default
39392 rm -f conftest.$ac_objext conftest$ac_exeext
39393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39394 (eval $ac_link) 2>conftest.er1
39396 grep -v '^ *+' conftest.er1 >conftest.err
39398 cat conftest.err >&5
39399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39400 (exit $ac_status); } &&
39401 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39403 (eval $ac_try) 2>&5
39405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39406 (exit $ac_status); }; } &&
39407 { ac_try='test -s conftest$ac_exeext'
39408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39409 (eval $ac_try) 2>&5
39411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39412 (exit $ac_status); }; }; then
39413 eval wx_cv_func_$wx_func=yes
39415 echo "$as_me: failed program was:" >&5
39416 sed 's/^/| /' conftest.$ac_ext >&5
39418 eval wx_cv_func_$wx_func=no
39420 rm -f conftest.err conftest.$ac_objext \
39421 conftest$ac_exeext conftest.$ac_ext
39424 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39425 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39427 if eval test \$wx_cv_func_$wx_func = yes
39429 cat >>confdefs.h <<_ACEOF
39430 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39440 if test "$wx_cv_func_uname" != yes; then
39442 for wx_func in gethostname
39444 echo "$as_me:$LINENO: checking for $wx_func" >&5
39445 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39446 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39447 echo $ECHO_N "(cached) $ECHO_C" >&6
39450 cat >conftest.$ac_ext <<_ACEOF
39454 cat confdefs.h >>conftest.$ac_ext
39455 cat >>conftest.$ac_ext <<_ACEOF
39456 /* end confdefs.h. */
39459 $ac_includes_default
39475 rm -f conftest.$ac_objext conftest$ac_exeext
39476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39477 (eval $ac_link) 2>conftest.er1
39479 grep -v '^ *+' conftest.er1 >conftest.err
39481 cat conftest.err >&5
39482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39483 (exit $ac_status); } &&
39484 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39486 (eval $ac_try) 2>&5
39488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39489 (exit $ac_status); }; } &&
39490 { ac_try='test -s conftest$ac_exeext'
39491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39492 (eval $ac_try) 2>&5
39494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39495 (exit $ac_status); }; }; then
39496 eval wx_cv_func_$wx_func=yes
39498 echo "$as_me: failed program was:" >&5
39499 sed 's/^/| /' conftest.$ac_ext >&5
39501 eval wx_cv_func_$wx_func=no
39503 rm -f conftest.err conftest.$ac_objext \
39504 conftest$ac_exeext conftest.$ac_ext
39507 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39508 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39510 if eval test \$wx_cv_func_$wx_func = yes
39512 cat >>confdefs.h <<_ACEOF
39513 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39526 for wx_func in strtok_r
39528 echo "$as_me:$LINENO: checking for $wx_func" >&5
39529 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39530 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39531 echo $ECHO_N "(cached) $ECHO_C" >&6
39534 cat >conftest.$ac_ext <<_ACEOF
39538 cat confdefs.h >>conftest.$ac_ext
39539 cat >>conftest.$ac_ext <<_ACEOF
39540 /* end confdefs.h. */
39543 $ac_includes_default
39559 rm -f conftest.$ac_objext conftest$ac_exeext
39560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39561 (eval $ac_link) 2>conftest.er1
39563 grep -v '^ *+' conftest.er1 >conftest.err
39565 cat conftest.err >&5
39566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39567 (exit $ac_status); } &&
39568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39570 (eval $ac_try) 2>&5
39572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39573 (exit $ac_status); }; } &&
39574 { ac_try='test -s conftest$ac_exeext'
39575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39576 (eval $ac_try) 2>&5
39578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39579 (exit $ac_status); }; }; then
39580 eval wx_cv_func_$wx_func=yes
39582 echo "$as_me: failed program was:" >&5
39583 sed 's/^/| /' conftest.$ac_ext >&5
39585 eval wx_cv_func_$wx_func=no
39587 rm -f conftest.err conftest.$ac_objext \
39588 conftest$ac_exeext conftest.$ac_ext
39591 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39592 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39594 if eval test \$wx_cv_func_$wx_func = yes
39596 cat >>confdefs.h <<_ACEOF
39597 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39610 for ac_func in inet_addr
39612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39613 echo "$as_me:$LINENO: checking for $ac_func" >&5
39614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39615 if eval "test \"\${$as_ac_var+set}\" = set"; then
39616 echo $ECHO_N "(cached) $ECHO_C" >&6
39618 cat >conftest.$ac_ext <<_ACEOF
39621 cat confdefs.h >>conftest.$ac_ext
39622 cat >>conftest.$ac_ext <<_ACEOF
39623 /* end confdefs.h. */
39624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39626 #define $ac_func innocuous_$ac_func
39628 /* System header to define __stub macros and hopefully few prototypes,
39629 which can conflict with char $ac_func (); below.
39630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39631 <limits.h> exists even on freestanding compilers. */
39634 # include <limits.h>
39636 # include <assert.h>
39641 /* Override any gcc2 internal prototype to avoid an error. */
39646 /* We use char because int might match the return type of a gcc2
39647 builtin and then its argument prototype would still apply. */
39649 /* The GNU C library defines this for functions which it implements
39650 to always fail with ENOSYS. Some functions are actually named
39651 something starting with __ and the normal name is an alias. */
39652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39655 char (*f) () = $ac_func;
39664 return f != $ac_func;
39669 rm -f conftest.$ac_objext conftest$ac_exeext
39670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39671 (eval $ac_link) 2>conftest.er1
39673 grep -v '^ *+' conftest.er1 >conftest.err
39675 cat conftest.err >&5
39676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39677 (exit $ac_status); } &&
39678 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39680 (eval $ac_try) 2>&5
39682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39683 (exit $ac_status); }; } &&
39684 { ac_try='test -s conftest$ac_exeext'
39685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39686 (eval $ac_try) 2>&5
39688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39689 (exit $ac_status); }; }; then
39690 eval "$as_ac_var=yes"
39692 echo "$as_me: failed program was:" >&5
39693 sed 's/^/| /' conftest.$ac_ext >&5
39695 eval "$as_ac_var=no"
39697 rm -f conftest.err conftest.$ac_objext \
39698 conftest$ac_exeext conftest.$ac_ext
39700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39702 if test `eval echo '${'$as_ac_var'}'` = yes; then
39703 cat >>confdefs.h <<_ACEOF
39704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39706 cat >>confdefs.h <<\_ACEOF
39707 #define HAVE_INET_ADDR 1
39712 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39713 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
39714 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39715 echo $ECHO_N "(cached) $ECHO_C" >&6
39717 ac_check_lib_save_LIBS=$LIBS
39719 cat >conftest.$ac_ext <<_ACEOF
39722 cat confdefs.h >>conftest.$ac_ext
39723 cat >>conftest.$ac_ext <<_ACEOF
39724 /* end confdefs.h. */
39726 /* Override any gcc2 internal prototype to avoid an error. */
39730 /* We use char because int might match the return type of a gcc2
39731 builtin and then its argument prototype would still apply. */
39741 rm -f conftest.$ac_objext conftest$ac_exeext
39742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39743 (eval $ac_link) 2>conftest.er1
39745 grep -v '^ *+' conftest.er1 >conftest.err
39747 cat conftest.err >&5
39748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39749 (exit $ac_status); } &&
39750 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39752 (eval $ac_try) 2>&5
39754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39755 (exit $ac_status); }; } &&
39756 { ac_try='test -s conftest$ac_exeext'
39757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39758 (eval $ac_try) 2>&5
39760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39761 (exit $ac_status); }; }; then
39762 ac_cv_lib_nsl_inet_addr=yes
39764 echo "$as_me: failed program was:" >&5
39765 sed 's/^/| /' conftest.$ac_ext >&5
39767 ac_cv_lib_nsl_inet_addr=no
39769 rm -f conftest.err conftest.$ac_objext \
39770 conftest$ac_exeext conftest.$ac_ext
39771 LIBS=$ac_check_lib_save_LIBS
39773 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39774 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
39775 if test $ac_cv_lib_nsl_inet_addr = yes; then
39779 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39780 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
39781 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39782 echo $ECHO_N "(cached) $ECHO_C" >&6
39784 ac_check_lib_save_LIBS=$LIBS
39785 LIBS="-lresolv $LIBS"
39786 cat >conftest.$ac_ext <<_ACEOF
39789 cat confdefs.h >>conftest.$ac_ext
39790 cat >>conftest.$ac_ext <<_ACEOF
39791 /* end confdefs.h. */
39793 /* Override any gcc2 internal prototype to avoid an error. */
39797 /* We use char because int might match the return type of a gcc2
39798 builtin and then its argument prototype would still apply. */
39808 rm -f conftest.$ac_objext conftest$ac_exeext
39809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39810 (eval $ac_link) 2>conftest.er1
39812 grep -v '^ *+' conftest.er1 >conftest.err
39814 cat conftest.err >&5
39815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39816 (exit $ac_status); } &&
39817 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39819 (eval $ac_try) 2>&5
39821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39822 (exit $ac_status); }; } &&
39823 { ac_try='test -s conftest$ac_exeext'
39824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39825 (eval $ac_try) 2>&5
39827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39828 (exit $ac_status); }; }; then
39829 ac_cv_lib_resolv_inet_addr=yes
39831 echo "$as_me: failed program was:" >&5
39832 sed 's/^/| /' conftest.$ac_ext >&5
39834 ac_cv_lib_resolv_inet_addr=no
39836 rm -f conftest.err conftest.$ac_objext \
39837 conftest$ac_exeext conftest.$ac_ext
39838 LIBS=$ac_check_lib_save_LIBS
39840 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39841 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
39842 if test $ac_cv_lib_resolv_inet_addr = yes; then
39846 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39847 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
39848 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39849 echo $ECHO_N "(cached) $ECHO_C" >&6
39851 ac_check_lib_save_LIBS=$LIBS
39852 LIBS="-lsocket $LIBS"
39853 cat >conftest.$ac_ext <<_ACEOF
39856 cat confdefs.h >>conftest.$ac_ext
39857 cat >>conftest.$ac_ext <<_ACEOF
39858 /* end confdefs.h. */
39860 /* Override any gcc2 internal prototype to avoid an error. */
39864 /* We use char because int might match the return type of a gcc2
39865 builtin and then its argument prototype would still apply. */
39875 rm -f conftest.$ac_objext conftest$ac_exeext
39876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39877 (eval $ac_link) 2>conftest.er1
39879 grep -v '^ *+' conftest.er1 >conftest.err
39881 cat conftest.err >&5
39882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39883 (exit $ac_status); } &&
39884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39886 (eval $ac_try) 2>&5
39888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39889 (exit $ac_status); }; } &&
39890 { ac_try='test -s conftest$ac_exeext'
39891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39892 (eval $ac_try) 2>&5
39894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39895 (exit $ac_status); }; }; then
39896 ac_cv_lib_socket_inet_addr=yes
39898 echo "$as_me: failed program was:" >&5
39899 sed 's/^/| /' conftest.$ac_ext >&5
39901 ac_cv_lib_socket_inet_addr=no
39903 rm -f conftest.err conftest.$ac_objext \
39904 conftest$ac_exeext conftest.$ac_ext
39905 LIBS=$ac_check_lib_save_LIBS
39907 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39908 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
39909 if test $ac_cv_lib_socket_inet_addr = yes; then
39929 for ac_func in inet_aton
39931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39932 echo "$as_me:$LINENO: checking for $ac_func" >&5
39933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39934 if eval "test \"\${$as_ac_var+set}\" = set"; then
39935 echo $ECHO_N "(cached) $ECHO_C" >&6
39937 cat >conftest.$ac_ext <<_ACEOF
39940 cat confdefs.h >>conftest.$ac_ext
39941 cat >>conftest.$ac_ext <<_ACEOF
39942 /* end confdefs.h. */
39943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39945 #define $ac_func innocuous_$ac_func
39947 /* System header to define __stub macros and hopefully few prototypes,
39948 which can conflict with char $ac_func (); below.
39949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39950 <limits.h> exists even on freestanding compilers. */
39953 # include <limits.h>
39955 # include <assert.h>
39960 /* Override any gcc2 internal prototype to avoid an error. */
39965 /* We use char because int might match the return type of a gcc2
39966 builtin and then its argument prototype would still apply. */
39968 /* The GNU C library defines this for functions which it implements
39969 to always fail with ENOSYS. Some functions are actually named
39970 something starting with __ and the normal name is an alias. */
39971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39974 char (*f) () = $ac_func;
39983 return f != $ac_func;
39988 rm -f conftest.$ac_objext conftest$ac_exeext
39989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39990 (eval $ac_link) 2>conftest.er1
39992 grep -v '^ *+' conftest.er1 >conftest.err
39994 cat conftest.err >&5
39995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39996 (exit $ac_status); } &&
39997 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39999 (eval $ac_try) 2>&5
40001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40002 (exit $ac_status); }; } &&
40003 { ac_try='test -s conftest$ac_exeext'
40004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40005 (eval $ac_try) 2>&5
40007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40008 (exit $ac_status); }; }; then
40009 eval "$as_ac_var=yes"
40011 echo "$as_me: failed program was:" >&5
40012 sed 's/^/| /' conftest.$ac_ext >&5
40014 eval "$as_ac_var=no"
40016 rm -f conftest.err conftest.$ac_objext \
40017 conftest$ac_exeext conftest.$ac_ext
40019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40021 if test `eval echo '${'$as_ac_var'}'` = yes; then
40022 cat >>confdefs.h <<_ACEOF
40023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40025 cat >>confdefs.h <<\_ACEOF
40026 #define HAVE_INET_ATON 1
40031 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40032 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40033 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
40034 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
40035 echo $ECHO_N "(cached) $ECHO_C" >&6
40037 ac_check_lib_save_LIBS=$LIBS
40038 LIBS="-l$INET_LINK $LIBS"
40039 cat >conftest.$ac_ext <<_ACEOF
40042 cat confdefs.h >>conftest.$ac_ext
40043 cat >>conftest.$ac_ext <<_ACEOF
40044 /* end confdefs.h. */
40046 /* Override any gcc2 internal prototype to avoid an error. */
40050 /* We use char because int might match the return type of a gcc2
40051 builtin and then its argument prototype would still apply. */
40061 rm -f conftest.$ac_objext conftest$ac_exeext
40062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40063 (eval $ac_link) 2>conftest.er1
40065 grep -v '^ *+' conftest.er1 >conftest.err
40067 cat conftest.err >&5
40068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40069 (exit $ac_status); } &&
40070 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40072 (eval $ac_try) 2>&5
40074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40075 (exit $ac_status); }; } &&
40076 { ac_try='test -s conftest$ac_exeext'
40077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40078 (eval $ac_try) 2>&5
40080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40081 (exit $ac_status); }; }; then
40082 eval "$as_ac_Lib=yes"
40084 echo "$as_me: failed program was:" >&5
40085 sed 's/^/| /' conftest.$ac_ext >&5
40087 eval "$as_ac_Lib=no"
40089 rm -f conftest.err conftest.$ac_objext \
40090 conftest$ac_exeext conftest.$ac_ext
40091 LIBS=$ac_check_lib_save_LIBS
40093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
40094 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
40095 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40096 cat >>confdefs.h <<\_ACEOF
40097 #define HAVE_INET_ATON 1
40107 if test "x$INET_LINK" != "x"; then
40108 cat >>confdefs.h <<\_ACEOF
40109 #define HAVE_INET_ADDR 1
40112 INET_LINK=" -l$INET_LINK"
40116 for wx_func in fdopen
40118 echo "$as_me:$LINENO: checking for $wx_func" >&5
40119 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
40120 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
40121 echo $ECHO_N "(cached) $ECHO_C" >&6
40124 cat >conftest.$ac_ext <<_ACEOF
40128 cat confdefs.h >>conftest.$ac_ext
40129 cat >>conftest.$ac_ext <<_ACEOF
40130 /* end confdefs.h. */
40133 $ac_includes_default
40149 rm -f conftest.$ac_objext conftest$ac_exeext
40150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40151 (eval $ac_link) 2>conftest.er1
40153 grep -v '^ *+' conftest.er1 >conftest.err
40155 cat conftest.err >&5
40156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40157 (exit $ac_status); } &&
40158 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40160 (eval $ac_try) 2>&5
40162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40163 (exit $ac_status); }; } &&
40164 { ac_try='test -s conftest$ac_exeext'
40165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40166 (eval $ac_try) 2>&5
40168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40169 (exit $ac_status); }; }; then
40170 eval wx_cv_func_$wx_func=yes
40172 echo "$as_me: failed program was:" >&5
40173 sed 's/^/| /' conftest.$ac_ext >&5
40175 eval wx_cv_func_$wx_func=no
40177 rm -f conftest.err conftest.$ac_objext \
40178 conftest$ac_exeext conftest.$ac_ext
40181 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
40182 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
40184 if eval test \$wx_cv_func_$wx_func = yes
40186 cat >>confdefs.h <<_ACEOF
40187 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40202 cat >confcache <<\_ACEOF
40203 # This file is a shell script that caches the results of configure
40204 # tests run on this system so they can be shared between configure
40205 # scripts and configure runs, see configure's option --config-cache.
40206 # It is not useful on other systems. If it contains results you don't
40207 # want to keep, you may remove or edit it.
40209 # config.status only pays attention to the cache file if you give it
40210 # the --recheck option to rerun configure.
40212 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40213 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40214 # following values.
40218 # The following way of writing the cache mishandles newlines in values,
40219 # but we know of no workaround that is simple, portable, and efficient.
40220 # So, don't put newlines in cache variables' values.
40221 # Ultrix sh set writes to stderr and can't be redirected directly,
40222 # and sets the high bit in the cache file unless we assign to the vars.
40225 case `(ac_space=' '; set | grep ac_space) 2>&1` in
40227 # `set' does not quote correctly, so add quotes (double-quote
40228 # substitution turns \\\\ into \\, and sed turns \\ into \).
40231 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40234 # `set' quotes correctly as required by POSIX, so do not add quotes.
40236 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
40243 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40245 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40247 if diff $cache_file confcache >/dev/null 2>&1; then :; else
40248 if test -w $cache_file; then
40249 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
40250 cat confcache >$cache_file
40252 echo "not updating unwritable cache $cache_file"
40258 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40264 if test "$wxUSE_THREADS" = "yes" ; then
40265 if test "$USE_BEOS" = 1; then
40266 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40267 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40272 if test "$wxUSE_THREADS" = "yes" ; then
40275 THREAD_OPTS="-pthread"
40276 if test "x$SUNCXX" = xyes; then
40277 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40281 *-*-solaris2* | *-*-sunos4* )
40282 if test "x$GCC" = "xyes"; then
40283 THREAD_OPTS="-pthreads $THREAD_OPTS"
40287 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40289 *-*-darwin* | *-*-cygwin* )
40293 THREAD_OPTS="pthreads"
40296 if test "x$GCC" = "xyes"; then
40297 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40305 if test "x$GCC" = "xyes"; then
40311 if test "x$GCC" != "xyes"; then
40312 THREAD_OPTS="-Ethread"
40317 THREAD_OPTS="$THREAD_OPTS pthread none"
40320 for flag in $THREAD_OPTS; do
40323 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40324 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
40328 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40329 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
40330 THREADS_CFLAGS="$flag"
40334 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40335 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
40336 THREADS_LINK="-l$flag"
40341 save_CFLAGS="$CFLAGS"
40342 LIBS="$THREADS_LINK $LIBS"
40343 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40345 cat >conftest.$ac_ext <<_ACEOF
40348 cat confdefs.h >>conftest.$ac_ext
40349 cat >>conftest.$ac_ext <<_ACEOF
40350 /* end confdefs.h. */
40351 #include <pthread.h>
40355 pthread_create(0,0,0,0);
40360 rm -f conftest.$ac_objext conftest$ac_exeext
40361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40362 (eval $ac_link) 2>conftest.er1
40364 grep -v '^ *+' conftest.er1 >conftest.err
40366 cat conftest.err >&5
40367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40368 (exit $ac_status); } &&
40369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40371 (eval $ac_try) 2>&5
40373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40374 (exit $ac_status); }; } &&
40375 { ac_try='test -s conftest$ac_exeext'
40376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40377 (eval $ac_try) 2>&5
40379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40380 (exit $ac_status); }; }; then
40383 echo "$as_me: failed program was:" >&5
40384 sed 's/^/| /' conftest.$ac_ext >&5
40387 rm -f conftest.err conftest.$ac_objext \
40388 conftest$ac_exeext conftest.$ac_ext
40391 CFLAGS="$save_CFLAGS"
40393 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40394 echo "${ECHO_T}$THREADS_OK" >&6
40395 if test "x$THREADS_OK" = "xyes"; then
40403 if test "x$THREADS_OK" != "xyes"; then
40405 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40406 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40408 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40409 LIBS="$THREADS_LINK $LIBS"
40411 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40412 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
40416 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40417 flag="-D_THREAD_SAFE"
40420 flag="-D_THREAD_SAFE"
40423 flag="-D_REENTRANT"
40424 if test "x$GCC" != "xyes"; then
40425 flag="$flag -D_RWSTD_MULTI_THREAD"
40428 *solaris* | alpha*-osf*)
40429 flag="-D_REENTRANT"
40432 echo "$as_me:$LINENO: result: ${flag}" >&5
40433 echo "${ECHO_T}${flag}" >&6
40434 if test "x$flag" != xno; then
40435 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40438 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40442 if test "$wxUSE_THREADS" = "yes" ; then
40444 for ac_func in thr_setconcurrency
40446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40447 echo "$as_me:$LINENO: checking for $ac_func" >&5
40448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40449 if eval "test \"\${$as_ac_var+set}\" = set"; then
40450 echo $ECHO_N "(cached) $ECHO_C" >&6
40452 cat >conftest.$ac_ext <<_ACEOF
40455 cat confdefs.h >>conftest.$ac_ext
40456 cat >>conftest.$ac_ext <<_ACEOF
40457 /* end confdefs.h. */
40458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40460 #define $ac_func innocuous_$ac_func
40462 /* System header to define __stub macros and hopefully few prototypes,
40463 which can conflict with char $ac_func (); below.
40464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40465 <limits.h> exists even on freestanding compilers. */
40468 # include <limits.h>
40470 # include <assert.h>
40475 /* Override any gcc2 internal prototype to avoid an error. */
40480 /* We use char because int might match the return type of a gcc2
40481 builtin and then its argument prototype would still apply. */
40483 /* The GNU C library defines this for functions which it implements
40484 to always fail with ENOSYS. Some functions are actually named
40485 something starting with __ and the normal name is an alias. */
40486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40489 char (*f) () = $ac_func;
40498 return f != $ac_func;
40503 rm -f conftest.$ac_objext conftest$ac_exeext
40504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40505 (eval $ac_link) 2>conftest.er1
40507 grep -v '^ *+' conftest.er1 >conftest.err
40509 cat conftest.err >&5
40510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40511 (exit $ac_status); } &&
40512 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40514 (eval $ac_try) 2>&5
40516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40517 (exit $ac_status); }; } &&
40518 { ac_try='test -s conftest$ac_exeext'
40519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40520 (eval $ac_try) 2>&5
40522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40523 (exit $ac_status); }; }; then
40524 eval "$as_ac_var=yes"
40526 echo "$as_me: failed program was:" >&5
40527 sed 's/^/| /' conftest.$ac_ext >&5
40529 eval "$as_ac_var=no"
40531 rm -f conftest.err conftest.$ac_objext \
40532 conftest$ac_exeext conftest.$ac_ext
40534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40536 if test `eval echo '${'$as_ac_var'}'` = yes; then
40537 cat >>confdefs.h <<_ACEOF
40538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40545 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40546 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
40547 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40548 echo $ECHO_N "(cached) $ECHO_C" >&6
40552 ac_cpp='$CXXCPP $CPPFLAGS'
40553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40557 cat >conftest.$ac_ext <<_ACEOF
40560 cat confdefs.h >>conftest.$ac_ext
40561 cat >>conftest.$ac_ext <<_ACEOF
40562 /* end confdefs.h. */
40563 #include <pthread.h>
40564 void ThreadCleanupFunc(void *p);
40571 pthread_cleanup_push(ThreadCleanupFunc, p);
40572 pthread_cleanup_pop(0);
40578 rm -f conftest.$ac_objext
40579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40580 (eval $ac_compile) 2>conftest.er1
40582 grep -v '^ *+' conftest.er1 >conftest.err
40584 cat conftest.err >&5
40585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40586 (exit $ac_status); } &&
40587 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40589 (eval $ac_try) 2>&5
40591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40592 (exit $ac_status); }; } &&
40593 { ac_try='test -s conftest.$ac_objext'
40594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40595 (eval $ac_try) 2>&5
40597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40598 (exit $ac_status); }; }; then
40600 wx_cv_func_pthread_cleanup=yes
40603 echo "$as_me: failed program was:" >&5
40604 sed 's/^/| /' conftest.$ac_ext >&5
40607 wx_cv_func_pthread_cleanup=no
40611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40613 ac_cpp='$CPP $CPPFLAGS'
40614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40620 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40621 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
40622 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40623 cat >>confdefs.h <<\_ACEOF
40624 #define wxHAVE_PTHREAD_CLEANUP 1
40629 echo "$as_me:$LINENO: checking for sched.h" >&5
40630 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6
40631 if test "${ac_cv_header_sched_h+set}" = set; then
40632 echo $ECHO_N "(cached) $ECHO_C" >&6
40634 cat >conftest.$ac_ext <<_ACEOF
40637 cat confdefs.h >>conftest.$ac_ext
40638 cat >>conftest.$ac_ext <<_ACEOF
40639 /* end confdefs.h. */
40640 $ac_includes_default
40644 rm -f conftest.$ac_objext
40645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40646 (eval $ac_compile) 2>conftest.er1
40648 grep -v '^ *+' conftest.er1 >conftest.err
40650 cat conftest.err >&5
40651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40652 (exit $ac_status); } &&
40653 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40655 (eval $ac_try) 2>&5
40657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40658 (exit $ac_status); }; } &&
40659 { ac_try='test -s conftest.$ac_objext'
40660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40661 (eval $ac_try) 2>&5
40663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40664 (exit $ac_status); }; }; then
40665 ac_cv_header_sched_h=yes
40667 echo "$as_me: failed program was:" >&5
40668 sed 's/^/| /' conftest.$ac_ext >&5
40670 ac_cv_header_sched_h=no
40672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40674 echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
40675 echo "${ECHO_T}$ac_cv_header_sched_h" >&6
40678 if test "$ac_cv_header_sched_h" = "yes"; then
40679 echo "$as_me:$LINENO: checking for sched_yield" >&5
40680 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
40681 if test "${ac_cv_func_sched_yield+set}" = set; then
40682 echo $ECHO_N "(cached) $ECHO_C" >&6
40684 cat >conftest.$ac_ext <<_ACEOF
40687 cat confdefs.h >>conftest.$ac_ext
40688 cat >>conftest.$ac_ext <<_ACEOF
40689 /* end confdefs.h. */
40690 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40692 #define sched_yield innocuous_sched_yield
40694 /* System header to define __stub macros and hopefully few prototypes,
40695 which can conflict with char sched_yield (); below.
40696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40697 <limits.h> exists even on freestanding compilers. */
40700 # include <limits.h>
40702 # include <assert.h>
40707 /* Override any gcc2 internal prototype to avoid an error. */
40712 /* We use char because int might match the return type of a gcc2
40713 builtin and then its argument prototype would still apply. */
40714 char sched_yield ();
40715 /* The GNU C library defines this for functions which it implements
40716 to always fail with ENOSYS. Some functions are actually named
40717 something starting with __ and the normal name is an alias. */
40718 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
40721 char (*f) () = sched_yield;
40730 return f != sched_yield;
40735 rm -f conftest.$ac_objext conftest$ac_exeext
40736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40737 (eval $ac_link) 2>conftest.er1
40739 grep -v '^ *+' conftest.er1 >conftest.err
40741 cat conftest.err >&5
40742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40743 (exit $ac_status); } &&
40744 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40746 (eval $ac_try) 2>&5
40748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40749 (exit $ac_status); }; } &&
40750 { ac_try='test -s conftest$ac_exeext'
40751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40752 (eval $ac_try) 2>&5
40754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40755 (exit $ac_status); }; }; then
40756 ac_cv_func_sched_yield=yes
40758 echo "$as_me: failed program was:" >&5
40759 sed 's/^/| /' conftest.$ac_ext >&5
40761 ac_cv_func_sched_yield=no
40763 rm -f conftest.err conftest.$ac_objext \
40764 conftest$ac_exeext conftest.$ac_ext
40766 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40767 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
40768 if test $ac_cv_func_sched_yield = yes; then
40769 cat >>confdefs.h <<\_ACEOF
40770 #define HAVE_SCHED_YIELD 1
40775 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40776 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
40777 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40778 echo $ECHO_N "(cached) $ECHO_C" >&6
40780 ac_check_lib_save_LIBS=$LIBS
40781 LIBS="-lposix4 $LIBS"
40782 cat >conftest.$ac_ext <<_ACEOF
40785 cat confdefs.h >>conftest.$ac_ext
40786 cat >>conftest.$ac_ext <<_ACEOF
40787 /* end confdefs.h. */
40789 /* Override any gcc2 internal prototype to avoid an error. */
40793 /* We use char because int might match the return type of a gcc2
40794 builtin and then its argument prototype would still apply. */
40795 char sched_yield ();
40804 rm -f conftest.$ac_objext conftest$ac_exeext
40805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40806 (eval $ac_link) 2>conftest.er1
40808 grep -v '^ *+' conftest.er1 >conftest.err
40810 cat conftest.err >&5
40811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40812 (exit $ac_status); } &&
40813 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40815 (eval $ac_try) 2>&5
40817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40818 (exit $ac_status); }; } &&
40819 { ac_try='test -s conftest$ac_exeext'
40820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40821 (eval $ac_try) 2>&5
40823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40824 (exit $ac_status); }; }; then
40825 ac_cv_lib_posix4_sched_yield=yes
40827 echo "$as_me: failed program was:" >&5
40828 sed 's/^/| /' conftest.$ac_ext >&5
40830 ac_cv_lib_posix4_sched_yield=no
40832 rm -f conftest.err conftest.$ac_objext \
40833 conftest$ac_exeext conftest.$ac_ext
40834 LIBS=$ac_check_lib_save_LIBS
40836 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40837 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
40838 if test $ac_cv_lib_posix4_sched_yield = yes; then
40839 cat >>confdefs.h <<\_ACEOF
40840 #define HAVE_SCHED_YIELD 1
40842 POSIX4_LINK=" -lposix4"
40844 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40845 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40856 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40857 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
40858 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40859 echo $ECHO_N "(cached) $ECHO_C" >&6
40861 cat >conftest.$ac_ext <<_ACEOF
40864 cat confdefs.h >>conftest.$ac_ext
40865 cat >>conftest.$ac_ext <<_ACEOF
40866 /* end confdefs.h. */
40867 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40869 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40871 /* System header to define __stub macros and hopefully few prototypes,
40872 which can conflict with char pthread_attr_getschedpolicy (); below.
40873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40874 <limits.h> exists even on freestanding compilers. */
40877 # include <limits.h>
40879 # include <assert.h>
40882 #undef pthread_attr_getschedpolicy
40884 /* Override any gcc2 internal prototype to avoid an error. */
40889 /* We use char because int might match the return type of a gcc2
40890 builtin and then its argument prototype would still apply. */
40891 char pthread_attr_getschedpolicy ();
40892 /* The GNU C library defines this for functions which it implements
40893 to always fail with ENOSYS. Some functions are actually named
40894 something starting with __ and the normal name is an alias. */
40895 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
40898 char (*f) () = pthread_attr_getschedpolicy;
40907 return f != pthread_attr_getschedpolicy;
40912 rm -f conftest.$ac_objext conftest$ac_exeext
40913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40914 (eval $ac_link) 2>conftest.er1
40916 grep -v '^ *+' conftest.er1 >conftest.err
40918 cat conftest.err >&5
40919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40920 (exit $ac_status); } &&
40921 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40923 (eval $ac_try) 2>&5
40925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40926 (exit $ac_status); }; } &&
40927 { ac_try='test -s conftest$ac_exeext'
40928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40929 (eval $ac_try) 2>&5
40931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40932 (exit $ac_status); }; }; then
40933 ac_cv_func_pthread_attr_getschedpolicy=yes
40935 echo "$as_me: failed program was:" >&5
40936 sed 's/^/| /' conftest.$ac_ext >&5
40938 ac_cv_func_pthread_attr_getschedpolicy=no
40940 rm -f conftest.err conftest.$ac_objext \
40941 conftest$ac_exeext conftest.$ac_ext
40943 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40944 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
40945 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40946 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40947 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
40948 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40949 echo $ECHO_N "(cached) $ECHO_C" >&6
40951 cat >conftest.$ac_ext <<_ACEOF
40954 cat confdefs.h >>conftest.$ac_ext
40955 cat >>conftest.$ac_ext <<_ACEOF
40956 /* end confdefs.h. */
40957 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40959 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40961 /* System header to define __stub macros and hopefully few prototypes,
40962 which can conflict with char pthread_attr_setschedparam (); below.
40963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40964 <limits.h> exists even on freestanding compilers. */
40967 # include <limits.h>
40969 # include <assert.h>
40972 #undef pthread_attr_setschedparam
40974 /* Override any gcc2 internal prototype to avoid an error. */
40979 /* We use char because int might match the return type of a gcc2
40980 builtin and then its argument prototype would still apply. */
40981 char pthread_attr_setschedparam ();
40982 /* The GNU C library defines this for functions which it implements
40983 to always fail with ENOSYS. Some functions are actually named
40984 something starting with __ and the normal name is an alias. */
40985 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
40988 char (*f) () = pthread_attr_setschedparam;
40997 return f != pthread_attr_setschedparam;
41002 rm -f conftest.$ac_objext conftest$ac_exeext
41003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41004 (eval $ac_link) 2>conftest.er1
41006 grep -v '^ *+' conftest.er1 >conftest.err
41008 cat conftest.err >&5
41009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41010 (exit $ac_status); } &&
41011 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41013 (eval $ac_try) 2>&5
41015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41016 (exit $ac_status); }; } &&
41017 { ac_try='test -s conftest$ac_exeext'
41018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41019 (eval $ac_try) 2>&5
41021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41022 (exit $ac_status); }; }; then
41023 ac_cv_func_pthread_attr_setschedparam=yes
41025 echo "$as_me: failed program was:" >&5
41026 sed 's/^/| /' conftest.$ac_ext >&5
41028 ac_cv_func_pthread_attr_setschedparam=no
41030 rm -f conftest.err conftest.$ac_objext \
41031 conftest$ac_exeext conftest.$ac_ext
41033 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41034 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
41035 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41036 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41037 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
41038 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41039 echo $ECHO_N "(cached) $ECHO_C" >&6
41041 cat >conftest.$ac_ext <<_ACEOF
41044 cat confdefs.h >>conftest.$ac_ext
41045 cat >>conftest.$ac_ext <<_ACEOF
41046 /* end confdefs.h. */
41047 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41049 #define sched_get_priority_max innocuous_sched_get_priority_max
41051 /* System header to define __stub macros and hopefully few prototypes,
41052 which can conflict with char sched_get_priority_max (); below.
41053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41054 <limits.h> exists even on freestanding compilers. */
41057 # include <limits.h>
41059 # include <assert.h>
41062 #undef sched_get_priority_max
41064 /* Override any gcc2 internal prototype to avoid an error. */
41069 /* We use char because int might match the return type of a gcc2
41070 builtin and then its argument prototype would still apply. */
41071 char sched_get_priority_max ();
41072 /* The GNU C library defines this for functions which it implements
41073 to always fail with ENOSYS. Some functions are actually named
41074 something starting with __ and the normal name is an alias. */
41075 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
41078 char (*f) () = sched_get_priority_max;
41087 return f != sched_get_priority_max;
41092 rm -f conftest.$ac_objext conftest$ac_exeext
41093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41094 (eval $ac_link) 2>conftest.er1
41096 grep -v '^ *+' conftest.er1 >conftest.err
41098 cat conftest.err >&5
41099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41100 (exit $ac_status); } &&
41101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41103 (eval $ac_try) 2>&5
41105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41106 (exit $ac_status); }; } &&
41107 { ac_try='test -s conftest$ac_exeext'
41108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41109 (eval $ac_try) 2>&5
41111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41112 (exit $ac_status); }; }; then
41113 ac_cv_func_sched_get_priority_max=yes
41115 echo "$as_me: failed program was:" >&5
41116 sed 's/^/| /' conftest.$ac_ext >&5
41118 ac_cv_func_sched_get_priority_max=no
41120 rm -f conftest.err conftest.$ac_objext \
41121 conftest$ac_exeext conftest.$ac_ext
41123 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41124 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
41125 if test $ac_cv_func_sched_get_priority_max = yes; then
41128 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41129 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
41130 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41131 echo $ECHO_N "(cached) $ECHO_C" >&6
41133 ac_check_lib_save_LIBS=$LIBS
41134 LIBS="-lposix4 $LIBS"
41135 cat >conftest.$ac_ext <<_ACEOF
41138 cat confdefs.h >>conftest.$ac_ext
41139 cat >>conftest.$ac_ext <<_ACEOF
41140 /* end confdefs.h. */
41142 /* Override any gcc2 internal prototype to avoid an error. */
41146 /* We use char because int might match the return type of a gcc2
41147 builtin and then its argument prototype would still apply. */
41148 char sched_get_priority_max ();
41152 sched_get_priority_max ();
41157 rm -f conftest.$ac_objext conftest$ac_exeext
41158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41159 (eval $ac_link) 2>conftest.er1
41161 grep -v '^ *+' conftest.er1 >conftest.err
41163 cat conftest.err >&5
41164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41165 (exit $ac_status); } &&
41166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41168 (eval $ac_try) 2>&5
41170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41171 (exit $ac_status); }; } &&
41172 { ac_try='test -s conftest$ac_exeext'
41173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41174 (eval $ac_try) 2>&5
41176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41177 (exit $ac_status); }; }; then
41178 ac_cv_lib_posix4_sched_get_priority_max=yes
41180 echo "$as_me: failed program was:" >&5
41181 sed 's/^/| /' conftest.$ac_ext >&5
41183 ac_cv_lib_posix4_sched_get_priority_max=no
41185 rm -f conftest.err conftest.$ac_objext \
41186 conftest$ac_exeext conftest.$ac_ext
41187 LIBS=$ac_check_lib_save_LIBS
41189 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41190 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
41191 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41194 POSIX4_LINK=" -lposix4"
41208 if test "$HAVE_PRIOR_FUNCS" = 1; then
41209 cat >>confdefs.h <<\_ACEOF
41210 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41214 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41215 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41218 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41219 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
41220 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41221 echo $ECHO_N "(cached) $ECHO_C" >&6
41223 cat >conftest.$ac_ext <<_ACEOF
41226 cat confdefs.h >>conftest.$ac_ext
41227 cat >>conftest.$ac_ext <<_ACEOF
41228 /* end confdefs.h. */
41229 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41231 #define pthread_cancel innocuous_pthread_cancel
41233 /* System header to define __stub macros and hopefully few prototypes,
41234 which can conflict with char pthread_cancel (); below.
41235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41236 <limits.h> exists even on freestanding compilers. */
41239 # include <limits.h>
41241 # include <assert.h>
41244 #undef pthread_cancel
41246 /* Override any gcc2 internal prototype to avoid an error. */
41251 /* We use char because int might match the return type of a gcc2
41252 builtin and then its argument prototype would still apply. */
41253 char pthread_cancel ();
41254 /* The GNU C library defines this for functions which it implements
41255 to always fail with ENOSYS. Some functions are actually named
41256 something starting with __ and the normal name is an alias. */
41257 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
41260 char (*f) () = pthread_cancel;
41269 return f != pthread_cancel;
41274 rm -f conftest.$ac_objext conftest$ac_exeext
41275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41276 (eval $ac_link) 2>conftest.er1
41278 grep -v '^ *+' conftest.er1 >conftest.err
41280 cat conftest.err >&5
41281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41282 (exit $ac_status); } &&
41283 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41285 (eval $ac_try) 2>&5
41287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41288 (exit $ac_status); }; } &&
41289 { ac_try='test -s conftest$ac_exeext'
41290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41291 (eval $ac_try) 2>&5
41293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41294 (exit $ac_status); }; }; then
41295 ac_cv_func_pthread_cancel=yes
41297 echo "$as_me: failed program was:" >&5
41298 sed 's/^/| /' conftest.$ac_ext >&5
41300 ac_cv_func_pthread_cancel=no
41302 rm -f conftest.err conftest.$ac_objext \
41303 conftest$ac_exeext conftest.$ac_ext
41305 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41306 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
41307 if test $ac_cv_func_pthread_cancel = yes; then
41308 cat >>confdefs.h <<\_ACEOF
41309 #define HAVE_PTHREAD_CANCEL 1
41313 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41314 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41318 echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41319 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6
41320 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41321 echo $ECHO_N "(cached) $ECHO_C" >&6
41323 cat >conftest.$ac_ext <<_ACEOF
41326 cat confdefs.h >>conftest.$ac_ext
41327 cat >>conftest.$ac_ext <<_ACEOF
41328 /* end confdefs.h. */
41329 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41331 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41333 /* System header to define __stub macros and hopefully few prototypes,
41334 which can conflict with char pthread_mutex_timedlock (); below.
41335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41336 <limits.h> exists even on freestanding compilers. */
41339 # include <limits.h>
41341 # include <assert.h>
41344 #undef pthread_mutex_timedlock
41346 /* Override any gcc2 internal prototype to avoid an error. */
41351 /* We use char because int might match the return type of a gcc2
41352 builtin and then its argument prototype would still apply. */
41353 char pthread_mutex_timedlock ();
41354 /* The GNU C library defines this for functions which it implements
41355 to always fail with ENOSYS. Some functions are actually named
41356 something starting with __ and the normal name is an alias. */
41357 #if defined (__stub_pthread_mutex_timedlock) || defined (__stub___pthread_mutex_timedlock)
41360 char (*f) () = pthread_mutex_timedlock;
41369 return f != pthread_mutex_timedlock;
41374 rm -f conftest.$ac_objext conftest$ac_exeext
41375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41376 (eval $ac_link) 2>conftest.er1
41378 grep -v '^ *+' conftest.er1 >conftest.err
41380 cat conftest.err >&5
41381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41382 (exit $ac_status); } &&
41383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41385 (eval $ac_try) 2>&5
41387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41388 (exit $ac_status); }; } &&
41389 { ac_try='test -s conftest$ac_exeext'
41390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41391 (eval $ac_try) 2>&5
41393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41394 (exit $ac_status); }; }; then
41395 ac_cv_func_pthread_mutex_timedlock=yes
41397 echo "$as_me: failed program was:" >&5
41398 sed 's/^/| /' conftest.$ac_ext >&5
41400 ac_cv_func_pthread_mutex_timedlock=no
41402 rm -f conftest.err conftest.$ac_objext \
41403 conftest$ac_exeext conftest.$ac_ext
41405 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41406 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6
41407 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41408 cat >>confdefs.h <<\_ACEOF
41409 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41413 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41414 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41418 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41419 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
41420 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41421 echo $ECHO_N "(cached) $ECHO_C" >&6
41423 cat >conftest.$ac_ext <<_ACEOF
41426 cat confdefs.h >>conftest.$ac_ext
41427 cat >>conftest.$ac_ext <<_ACEOF
41428 /* end confdefs.h. */
41429 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41431 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41433 /* System header to define __stub macros and hopefully few prototypes,
41434 which can conflict with char pthread_attr_setstacksize (); below.
41435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41436 <limits.h> exists even on freestanding compilers. */
41439 # include <limits.h>
41441 # include <assert.h>
41444 #undef pthread_attr_setstacksize
41446 /* Override any gcc2 internal prototype to avoid an error. */
41451 /* We use char because int might match the return type of a gcc2
41452 builtin and then its argument prototype would still apply. */
41453 char pthread_attr_setstacksize ();
41454 /* The GNU C library defines this for functions which it implements
41455 to always fail with ENOSYS. Some functions are actually named
41456 something starting with __ and the normal name is an alias. */
41457 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
41460 char (*f) () = pthread_attr_setstacksize;
41469 return f != pthread_attr_setstacksize;
41474 rm -f conftest.$ac_objext conftest$ac_exeext
41475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41476 (eval $ac_link) 2>conftest.er1
41478 grep -v '^ *+' conftest.er1 >conftest.err
41480 cat conftest.err >&5
41481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41482 (exit $ac_status); } &&
41483 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41485 (eval $ac_try) 2>&5
41487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41488 (exit $ac_status); }; } &&
41489 { ac_try='test -s conftest$ac_exeext'
41490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41491 (eval $ac_try) 2>&5
41493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41494 (exit $ac_status); }; }; then
41495 ac_cv_func_pthread_attr_setstacksize=yes
41497 echo "$as_me: failed program was:" >&5
41498 sed 's/^/| /' conftest.$ac_ext >&5
41500 ac_cv_func_pthread_attr_setstacksize=no
41502 rm -f conftest.err conftest.$ac_objext \
41503 conftest$ac_exeext conftest.$ac_ext
41505 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41506 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
41507 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41508 cat >>confdefs.h <<\_ACEOF
41509 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41516 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41517 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
41518 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41519 echo $ECHO_N "(cached) $ECHO_C" >&6
41522 cat >conftest.$ac_ext <<_ACEOF
41525 cat confdefs.h >>conftest.$ac_ext
41526 cat >>conftest.$ac_ext <<_ACEOF
41527 /* end confdefs.h. */
41528 #include <pthread.h>
41533 pthread_mutexattr_t attr;
41534 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41540 rm -f conftest.$ac_objext
41541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41542 (eval $ac_compile) 2>conftest.er1
41544 grep -v '^ *+' conftest.er1 >conftest.err
41546 cat conftest.err >&5
41547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41548 (exit $ac_status); } &&
41549 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41551 (eval $ac_try) 2>&5
41553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41554 (exit $ac_status); }; } &&
41555 { ac_try='test -s conftest.$ac_objext'
41556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41557 (eval $ac_try) 2>&5
41559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41560 (exit $ac_status); }; }; then
41561 wx_cv_type_pthread_mutexattr_t=yes
41563 echo "$as_me: failed program was:" >&5
41564 sed 's/^/| /' conftest.$ac_ext >&5
41566 wx_cv_type_pthread_mutexattr_t=no
41569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41572 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41573 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
41575 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41576 cat >>confdefs.h <<\_ACEOF
41577 #define HAVE_PTHREAD_MUTEXATTR_T 1
41581 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41582 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
41583 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41584 echo $ECHO_N "(cached) $ECHO_C" >&6
41587 cat >conftest.$ac_ext <<_ACEOF
41590 cat confdefs.h >>conftest.$ac_ext
41591 cat >>conftest.$ac_ext <<_ACEOF
41592 /* end confdefs.h. */
41593 #include <pthread.h>
41598 pthread_mutexattr_t attr;
41599 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41605 rm -f conftest.$ac_objext
41606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41607 (eval $ac_compile) 2>conftest.er1
41609 grep -v '^ *+' conftest.er1 >conftest.err
41611 cat conftest.err >&5
41612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41613 (exit $ac_status); } &&
41614 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41616 (eval $ac_try) 2>&5
41618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41619 (exit $ac_status); }; } &&
41620 { ac_try='test -s conftest.$ac_objext'
41621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41622 (eval $ac_try) 2>&5
41624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41625 (exit $ac_status); }; }; then
41626 wx_cv_func_pthread_mutexattr_settype_decl=yes
41628 echo "$as_me: failed program was:" >&5
41629 sed 's/^/| /' conftest.$ac_ext >&5
41631 wx_cv_func_pthread_mutexattr_settype_decl=no
41634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41637 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41638 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
41639 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41640 cat >>confdefs.h <<\_ACEOF
41641 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41646 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41647 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
41648 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41649 echo $ECHO_N "(cached) $ECHO_C" >&6
41652 cat >conftest.$ac_ext <<_ACEOF
41655 cat confdefs.h >>conftest.$ac_ext
41656 cat >>conftest.$ac_ext <<_ACEOF
41657 /* end confdefs.h. */
41658 #include <pthread.h>
41663 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41669 rm -f conftest.$ac_objext
41670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41671 (eval $ac_compile) 2>conftest.er1
41673 grep -v '^ *+' conftest.er1 >conftest.err
41675 cat conftest.err >&5
41676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41677 (exit $ac_status); } &&
41678 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41680 (eval $ac_try) 2>&5
41682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41683 (exit $ac_status); }; } &&
41684 { ac_try='test -s conftest.$ac_objext'
41685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41686 (eval $ac_try) 2>&5
41688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41689 (exit $ac_status); }; }; then
41691 wx_cv_type_pthread_rec_mutex_init=yes
41694 echo "$as_me: failed program was:" >&5
41695 sed 's/^/| /' conftest.$ac_ext >&5
41698 wx_cv_type_pthread_rec_mutex_init=no
41702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41705 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41706 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
41707 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41708 cat >>confdefs.h <<\_ACEOF
41709 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41713 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41714 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41720 if test "$wxUSE_THREADS" = "yes" ; then
41723 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41724 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
41725 if test "${wx_cv_cflags_mthread+set}" = set; then
41726 echo $ECHO_N "(cached) $ECHO_C" >&6
41729 CFLAGS_OLD="$CFLAGS"
41730 CFLAGS="-mthreads $CFLAGS"
41731 cat >conftest.$ac_ext <<_ACEOF
41734 cat confdefs.h >>conftest.$ac_ext
41735 cat >>conftest.$ac_ext <<_ACEOF
41736 /* end confdefs.h. */
41746 rm -f conftest.$ac_objext
41747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41748 (eval $ac_compile) 2>conftest.er1
41750 grep -v '^ *+' conftest.er1 >conftest.err
41752 cat conftest.err >&5
41753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41754 (exit $ac_status); } &&
41755 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41757 (eval $ac_try) 2>&5
41759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41760 (exit $ac_status); }; } &&
41761 { ac_try='test -s conftest.$ac_objext'
41762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41763 (eval $ac_try) 2>&5
41765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41766 (exit $ac_status); }; }; then
41767 wx_cv_cflags_mthread=yes
41769 echo "$as_me: failed program was:" >&5
41770 sed 's/^/| /' conftest.$ac_ext >&5
41772 wx_cv_cflags_mthread=no
41775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41779 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41780 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
41782 if test "$wx_cv_cflags_mthread" = "yes"; then
41783 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41784 LDFLAGS="$LDFLAGS -mthreads"
41786 CFLAGS="$CFLAGS_OLD"
41790 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41791 LDFLAGS="$LDFLAGS -Zmt"
41797 echo "$as_me:$LINENO: checking for localtime_r" >&5
41798 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
41799 if test "${ac_cv_func_localtime_r+set}" = set; then
41800 echo $ECHO_N "(cached) $ECHO_C" >&6
41802 cat >conftest.$ac_ext <<_ACEOF
41805 cat confdefs.h >>conftest.$ac_ext
41806 cat >>conftest.$ac_ext <<_ACEOF
41807 /* end confdefs.h. */
41808 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41810 #define localtime_r innocuous_localtime_r
41812 /* System header to define __stub macros and hopefully few prototypes,
41813 which can conflict with char localtime_r (); below.
41814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41815 <limits.h> exists even on freestanding compilers. */
41818 # include <limits.h>
41820 # include <assert.h>
41825 /* Override any gcc2 internal prototype to avoid an error. */
41830 /* We use char because int might match the return type of a gcc2
41831 builtin and then its argument prototype would still apply. */
41832 char localtime_r ();
41833 /* The GNU C library defines this for functions which it implements
41834 to always fail with ENOSYS. Some functions are actually named
41835 something starting with __ and the normal name is an alias. */
41836 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
41839 char (*f) () = localtime_r;
41848 return f != localtime_r;
41853 rm -f conftest.$ac_objext conftest$ac_exeext
41854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41855 (eval $ac_link) 2>conftest.er1
41857 grep -v '^ *+' conftest.er1 >conftest.err
41859 cat conftest.err >&5
41860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41861 (exit $ac_status); } &&
41862 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41864 (eval $ac_try) 2>&5
41866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41867 (exit $ac_status); }; } &&
41868 { ac_try='test -s conftest$ac_exeext'
41869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41870 (eval $ac_try) 2>&5
41872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41873 (exit $ac_status); }; }; then
41874 ac_cv_func_localtime_r=yes
41876 echo "$as_me: failed program was:" >&5
41877 sed 's/^/| /' conftest.$ac_ext >&5
41879 ac_cv_func_localtime_r=no
41881 rm -f conftest.err conftest.$ac_objext \
41882 conftest$ac_exeext conftest.$ac_ext
41884 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41885 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
41886 if test $ac_cv_func_localtime_r = yes; then
41887 cat >>confdefs.h <<\_ACEOF
41888 #define HAVE_LOCALTIME_R 1
41893 echo "$as_me:$LINENO: checking for gmtime_r" >&5
41894 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
41895 if test "${ac_cv_func_gmtime_r+set}" = set; then
41896 echo $ECHO_N "(cached) $ECHO_C" >&6
41898 cat >conftest.$ac_ext <<_ACEOF
41901 cat confdefs.h >>conftest.$ac_ext
41902 cat >>conftest.$ac_ext <<_ACEOF
41903 /* end confdefs.h. */
41904 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41906 #define gmtime_r innocuous_gmtime_r
41908 /* System header to define __stub macros and hopefully few prototypes,
41909 which can conflict with char gmtime_r (); below.
41910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41911 <limits.h> exists even on freestanding compilers. */
41914 # include <limits.h>
41916 # include <assert.h>
41921 /* Override any gcc2 internal prototype to avoid an error. */
41926 /* We use char because int might match the return type of a gcc2
41927 builtin and then its argument prototype would still apply. */
41929 /* The GNU C library defines this for functions which it implements
41930 to always fail with ENOSYS. Some functions are actually named
41931 something starting with __ and the normal name is an alias. */
41932 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
41935 char (*f) () = gmtime_r;
41944 return f != gmtime_r;
41949 rm -f conftest.$ac_objext conftest$ac_exeext
41950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41951 (eval $ac_link) 2>conftest.er1
41953 grep -v '^ *+' conftest.er1 >conftest.err
41955 cat conftest.err >&5
41956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41957 (exit $ac_status); } &&
41958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41960 (eval $ac_try) 2>&5
41962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41963 (exit $ac_status); }; } &&
41964 { ac_try='test -s conftest$ac_exeext'
41965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41966 (eval $ac_try) 2>&5
41968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41969 (exit $ac_status); }; }; then
41970 ac_cv_func_gmtime_r=yes
41972 echo "$as_me: failed program was:" >&5
41973 sed 's/^/| /' conftest.$ac_ext >&5
41975 ac_cv_func_gmtime_r=no
41977 rm -f conftest.err conftest.$ac_objext \
41978 conftest$ac_exeext conftest.$ac_ext
41980 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41981 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
41982 if test $ac_cv_func_gmtime_r = yes; then
41983 cat >>confdefs.h <<\_ACEOF
41984 #define HAVE_GMTIME_R 1
41989 echo "$as_me:$LINENO: checking for readdir_r" >&5
41990 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
41991 if test "${ac_cv_func_readdir_r+set}" = set; then
41992 echo $ECHO_N "(cached) $ECHO_C" >&6
41994 cat >conftest.$ac_ext <<_ACEOF
41997 cat confdefs.h >>conftest.$ac_ext
41998 cat >>conftest.$ac_ext <<_ACEOF
41999 /* end confdefs.h. */
42000 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
42001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42002 #define readdir_r innocuous_readdir_r
42004 /* System header to define __stub macros and hopefully few prototypes,
42005 which can conflict with char readdir_r (); below.
42006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42007 <limits.h> exists even on freestanding compilers. */
42010 # include <limits.h>
42012 # include <assert.h>
42017 /* Override any gcc2 internal prototype to avoid an error. */
42022 /* We use char because int might match the return type of a gcc2
42023 builtin and then its argument prototype would still apply. */
42025 /* The GNU C library defines this for functions which it implements
42026 to always fail with ENOSYS. Some functions are actually named
42027 something starting with __ and the normal name is an alias. */
42028 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
42031 char (*f) () = readdir_r;
42040 return f != readdir_r;
42045 rm -f conftest.$ac_objext conftest$ac_exeext
42046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42047 (eval $ac_link) 2>conftest.er1
42049 grep -v '^ *+' conftest.er1 >conftest.err
42051 cat conftest.err >&5
42052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42053 (exit $ac_status); } &&
42054 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42056 (eval $ac_try) 2>&5
42058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42059 (exit $ac_status); }; } &&
42060 { ac_try='test -s conftest$ac_exeext'
42061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42062 (eval $ac_try) 2>&5
42064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42065 (exit $ac_status); }; }; then
42066 ac_cv_func_readdir_r=yes
42068 echo "$as_me: failed program was:" >&5
42069 sed 's/^/| /' conftest.$ac_ext >&5
42071 ac_cv_func_readdir_r=no
42073 rm -f conftest.err conftest.$ac_objext \
42074 conftest$ac_exeext conftest.$ac_ext
42076 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
42077 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
42078 if test $ac_cv_func_readdir_r = yes; then
42079 cat >>confdefs.h <<\_ACEOF
42080 #define HAVE_READDIR_R 1
42089 ac_cpp='$CPP $CPPFLAGS'
42090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42094 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42095 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
42097 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42098 echo $ECHO_N "(cached) $ECHO_C" >&6
42102 ################################################################
42104 ac_cv_func_which_gethostbyname_r=unknown
42107 # ONE ARGUMENT (sanity check)
42110 # This should fail, as there is no variant of gethostbyname_r() that takes
42111 # a single argument. If it actually compiles, then we can assume that
42112 # netdb.h is not declaring the function, and the compiler is thereby
42113 # assuming an implicit prototype. In which case, we're out of luck.
42115 cat >conftest.$ac_ext <<_ACEOF
42118 cat confdefs.h >>conftest.$ac_ext
42119 cat >>conftest.$ac_ext <<_ACEOF
42120 /* end confdefs.h. */
42126 char *name = "www.gnu.org";
42127 (void)gethostbyname_r(name) /* ; */
42133 rm -f conftest.$ac_objext
42134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42135 (eval $ac_compile) 2>conftest.er1
42137 grep -v '^ *+' conftest.er1 >conftest.err
42139 cat conftest.err >&5
42140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42141 (exit $ac_status); } &&
42142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42144 (eval $ac_try) 2>&5
42146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42147 (exit $ac_status); }; } &&
42148 { ac_try='test -s conftest.$ac_objext'
42149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42150 (eval $ac_try) 2>&5
42152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42153 (exit $ac_status); }; }; then
42154 ac_cv_func_which_gethostbyname_r=no
42156 echo "$as_me: failed program was:" >&5
42157 sed 's/^/| /' conftest.$ac_ext >&5
42160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42167 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42169 cat >conftest.$ac_ext <<_ACEOF
42172 cat confdefs.h >>conftest.$ac_ext
42173 cat >>conftest.$ac_ext <<_ACEOF
42174 /* end confdefs.h. */
42180 char *name = "www.gnu.org";
42181 struct hostent ret, *retp;
42185 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42191 rm -f conftest.$ac_objext
42192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42193 (eval $ac_compile) 2>conftest.er1
42195 grep -v '^ *+' conftest.er1 >conftest.err
42197 cat conftest.err >&5
42198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42199 (exit $ac_status); } &&
42200 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42202 (eval $ac_try) 2>&5
42204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42205 (exit $ac_status); }; } &&
42206 { ac_try='test -s conftest.$ac_objext'
42207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42208 (eval $ac_try) 2>&5
42210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42211 (exit $ac_status); }; }; then
42212 ac_cv_func_which_gethostbyname_r=six
42214 echo "$as_me: failed program was:" >&5
42215 sed 's/^/| /' conftest.$ac_ext >&5
42218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42227 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42229 cat >conftest.$ac_ext <<_ACEOF
42232 cat confdefs.h >>conftest.$ac_ext
42233 cat >>conftest.$ac_ext <<_ACEOF
42234 /* end confdefs.h. */
42240 char *name = "www.gnu.org";
42241 struct hostent ret;
42245 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42251 rm -f conftest.$ac_objext
42252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42253 (eval $ac_compile) 2>conftest.er1
42255 grep -v '^ *+' conftest.er1 >conftest.err
42257 cat conftest.err >&5
42258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42259 (exit $ac_status); } &&
42260 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42262 (eval $ac_try) 2>&5
42264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42265 (exit $ac_status); }; } &&
42266 { ac_try='test -s conftest.$ac_objext'
42267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42268 (eval $ac_try) 2>&5
42270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42271 (exit $ac_status); }; }; then
42272 ac_cv_func_which_gethostbyname_r=five
42274 echo "$as_me: failed program was:" >&5
42275 sed 's/^/| /' conftest.$ac_ext >&5
42278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42284 # (e.g. AIX, HP-UX, Tru64)
42287 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42289 cat >conftest.$ac_ext <<_ACEOF
42292 cat confdefs.h >>conftest.$ac_ext
42293 cat >>conftest.$ac_ext <<_ACEOF
42294 /* end confdefs.h. */
42300 char *name = "www.gnu.org";
42301 struct hostent ret;
42302 struct hostent_data data;
42303 (void)gethostbyname_r(name, &ret, &data) /* ; */
42309 rm -f conftest.$ac_objext
42310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42311 (eval $ac_compile) 2>conftest.er1
42313 grep -v '^ *+' conftest.er1 >conftest.err
42315 cat conftest.err >&5
42316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42317 (exit $ac_status); } &&
42318 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42320 (eval $ac_try) 2>&5
42322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42323 (exit $ac_status); }; } &&
42324 { ac_try='test -s conftest.$ac_objext'
42325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42326 (eval $ac_try) 2>&5
42328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42329 (exit $ac_status); }; }; then
42330 ac_cv_func_which_gethostbyname_r=three
42332 echo "$as_me: failed program was:" >&5
42333 sed 's/^/| /' conftest.$ac_ext >&5
42336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42340 ################################################################
42345 case "$ac_cv_func_which_gethostbyname_r" in
42347 echo "$as_me:$LINENO: result: three" >&5
42348 echo "${ECHO_T}three" >&6
42349 cat >>confdefs.h <<\_ACEOF
42350 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42356 echo "$as_me:$LINENO: result: five" >&5
42357 echo "${ECHO_T}five" >&6
42358 cat >>confdefs.h <<\_ACEOF
42359 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42365 echo "$as_me:$LINENO: result: six" >&5
42366 echo "${ECHO_T}six" >&6
42367 cat >>confdefs.h <<\_ACEOF
42368 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42374 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42375 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
42379 echo "$as_me:$LINENO: result: can't tell" >&5
42380 echo "${ECHO_T}can't tell" >&6
42384 { { echo "$as_me:$LINENO: error: internal error" >&5
42385 echo "$as_me: error: internal error" >&2;}
42386 { (exit 1); exit 1; }; }
42391 ac_cpp='$CPP $CPPFLAGS'
42392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42398 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42399 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42400 echo "$as_me:$LINENO: checking for gethostbyname" >&5
42401 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
42402 if test "${ac_cv_func_gethostbyname+set}" = set; then
42403 echo $ECHO_N "(cached) $ECHO_C" >&6
42405 cat >conftest.$ac_ext <<_ACEOF
42408 cat confdefs.h >>conftest.$ac_ext
42409 cat >>conftest.$ac_ext <<_ACEOF
42410 /* end confdefs.h. */
42411 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42413 #define gethostbyname innocuous_gethostbyname
42415 /* System header to define __stub macros and hopefully few prototypes,
42416 which can conflict with char gethostbyname (); below.
42417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42418 <limits.h> exists even on freestanding compilers. */
42421 # include <limits.h>
42423 # include <assert.h>
42426 #undef gethostbyname
42428 /* Override any gcc2 internal prototype to avoid an error. */
42433 /* We use char because int might match the return type of a gcc2
42434 builtin and then its argument prototype would still apply. */
42435 char gethostbyname ();
42436 /* The GNU C library defines this for functions which it implements
42437 to always fail with ENOSYS. Some functions are actually named
42438 something starting with __ and the normal name is an alias. */
42439 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
42442 char (*f) () = gethostbyname;
42451 return f != gethostbyname;
42456 rm -f conftest.$ac_objext conftest$ac_exeext
42457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42458 (eval $ac_link) 2>conftest.er1
42460 grep -v '^ *+' conftest.er1 >conftest.err
42462 cat conftest.err >&5
42463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42464 (exit $ac_status); } &&
42465 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42467 (eval $ac_try) 2>&5
42469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42470 (exit $ac_status); }; } &&
42471 { ac_try='test -s conftest$ac_exeext'
42472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42473 (eval $ac_try) 2>&5
42475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42476 (exit $ac_status); }; }; then
42477 ac_cv_func_gethostbyname=yes
42479 echo "$as_me: failed program was:" >&5
42480 sed 's/^/| /' conftest.$ac_ext >&5
42482 ac_cv_func_gethostbyname=no
42484 rm -f conftest.err conftest.$ac_objext \
42485 conftest$ac_exeext conftest.$ac_ext
42487 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42488 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
42489 if test $ac_cv_func_gethostbyname = yes; then
42490 cat >>confdefs.h <<\_ACEOF
42491 #define HAVE_GETHOSTBYNAME 1
42498 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42499 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
42500 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42501 echo $ECHO_N "(cached) $ECHO_C" >&6
42505 ac_cpp='$CXXCPP $CPPFLAGS'
42506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42511 cat >conftest.$ac_ext <<_ACEOF
42514 cat confdefs.h >>conftest.$ac_ext
42515 cat >>conftest.$ac_ext <<_ACEOF
42516 /* end confdefs.h. */
42524 struct servent *se, *res;
42527 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42533 rm -f conftest.$ac_objext
42534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42535 (eval $ac_compile) 2>conftest.er1
42537 grep -v '^ *+' conftest.er1 >conftest.err
42539 cat conftest.err >&5
42540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42541 (exit $ac_status); } &&
42542 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42544 (eval $ac_try) 2>&5
42546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42547 (exit $ac_status); }; } &&
42548 { ac_try='test -s conftest.$ac_objext'
42549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42550 (eval $ac_try) 2>&5
42552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42553 (exit $ac_status); }; }; then
42554 ac_cv_func_which_getservbyname_r=six
42556 echo "$as_me: failed program was:" >&5
42557 sed 's/^/| /' conftest.$ac_ext >&5
42560 cat >conftest.$ac_ext <<_ACEOF
42563 cat confdefs.h >>conftest.$ac_ext
42564 cat >>conftest.$ac_ext <<_ACEOF
42565 /* end confdefs.h. */
42573 struct servent *se;
42576 (void) getservbyname_r(name, proto, se, buffer, buflen)
42582 rm -f conftest.$ac_objext
42583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42584 (eval $ac_compile) 2>conftest.er1
42586 grep -v '^ *+' conftest.er1 >conftest.err
42588 cat conftest.err >&5
42589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42590 (exit $ac_status); } &&
42591 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42593 (eval $ac_try) 2>&5
42595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42596 (exit $ac_status); }; } &&
42597 { ac_try='test -s conftest.$ac_objext'
42598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42599 (eval $ac_try) 2>&5
42601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42602 (exit $ac_status); }; }; then
42603 ac_cv_func_which_getservbyname_r=five
42605 echo "$as_me: failed program was:" >&5
42606 sed 's/^/| /' conftest.$ac_ext >&5
42609 cat >conftest.$ac_ext <<_ACEOF
42612 cat confdefs.h >>conftest.$ac_ext
42613 cat >>conftest.$ac_ext <<_ACEOF
42614 /* end confdefs.h. */
42622 struct servent *se;
42623 struct servent_data data;
42624 (void) getservbyname_r(name, proto, se, &data);
42630 rm -f conftest.$ac_objext
42631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42632 (eval $ac_compile) 2>conftest.er1
42634 grep -v '^ *+' conftest.er1 >conftest.err
42636 cat conftest.err >&5
42637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42638 (exit $ac_status); } &&
42639 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42641 (eval $ac_try) 2>&5
42643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42644 (exit $ac_status); }; } &&
42645 { ac_try='test -s conftest.$ac_objext'
42646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42647 (eval $ac_try) 2>&5
42649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42650 (exit $ac_status); }; }; then
42651 ac_cv_func_which_getservbyname_r=four
42653 echo "$as_me: failed program was:" >&5
42654 sed 's/^/| /' conftest.$ac_ext >&5
42656 ac_cv_func_which_getservbyname_r=no
42659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42669 ac_cpp='$CPP $CPPFLAGS'
42670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42677 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42678 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
42680 if test $ac_cv_func_which_getservbyname_r = six; then
42681 cat >>confdefs.h <<\_ACEOF
42682 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42685 elif test $ac_cv_func_which_getservbyname_r = five; then
42686 cat >>confdefs.h <<\_ACEOF
42687 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42690 elif test $ac_cv_func_which_getservbyname_r = four; then
42691 cat >>confdefs.h <<\_ACEOF
42692 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42698 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42699 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42701 for ac_func in getservbyname
42703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42704 echo "$as_me:$LINENO: checking for $ac_func" >&5
42705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42706 if eval "test \"\${$as_ac_var+set}\" = set"; then
42707 echo $ECHO_N "(cached) $ECHO_C" >&6
42709 cat >conftest.$ac_ext <<_ACEOF
42712 cat confdefs.h >>conftest.$ac_ext
42713 cat >>conftest.$ac_ext <<_ACEOF
42714 /* end confdefs.h. */
42715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42717 #define $ac_func innocuous_$ac_func
42719 /* System header to define __stub macros and hopefully few prototypes,
42720 which can conflict with char $ac_func (); below.
42721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42722 <limits.h> exists even on freestanding compilers. */
42725 # include <limits.h>
42727 # include <assert.h>
42732 /* Override any gcc2 internal prototype to avoid an error. */
42737 /* We use char because int might match the return type of a gcc2
42738 builtin and then its argument prototype would still apply. */
42740 /* The GNU C library defines this for functions which it implements
42741 to always fail with ENOSYS. Some functions are actually named
42742 something starting with __ and the normal name is an alias. */
42743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42746 char (*f) () = $ac_func;
42755 return f != $ac_func;
42760 rm -f conftest.$ac_objext conftest$ac_exeext
42761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42762 (eval $ac_link) 2>conftest.er1
42764 grep -v '^ *+' conftest.er1 >conftest.err
42766 cat conftest.err >&5
42767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42768 (exit $ac_status); } &&
42769 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42771 (eval $ac_try) 2>&5
42773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42774 (exit $ac_status); }; } &&
42775 { ac_try='test -s conftest$ac_exeext'
42776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42777 (eval $ac_try) 2>&5
42779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42780 (exit $ac_status); }; }; then
42781 eval "$as_ac_var=yes"
42783 echo "$as_me: failed program was:" >&5
42784 sed 's/^/| /' conftest.$ac_ext >&5
42786 eval "$as_ac_var=no"
42788 rm -f conftest.err conftest.$ac_objext \
42789 conftest$ac_exeext conftest.$ac_ext
42791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42793 if test `eval echo '${'$as_ac_var'}'` = yes; then
42794 cat >>confdefs.h <<_ACEOF
42795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42797 cat >>confdefs.h <<\_ACEOF
42798 #define HAVE_GETSERVBYNAME 1
42806 if test "$wxUSE_THREADS" = "yes"; then
42807 cat >>confdefs.h <<\_ACEOF
42808 #define wxUSE_THREADS 1
42812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42814 if test "$wx_cv_func_strtok_r" = "yes"; then
42815 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42816 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
42817 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42818 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42819 echo "$as_me:$LINENO: result: yes" >&5
42820 echo "${ECHO_T}yes" >&6
42822 echo "$as_me:$LINENO: result: no" >&5
42823 echo "${ECHO_T}no" >&6
42828 if test "$WXGTK20" = 1 ; then
42829 cat >>confdefs.h <<_ACEOF
42830 #define __WXGTK20__ $WXGTK20
42836 if test "$WXGTK12" = 1 ; then
42837 cat >>confdefs.h <<_ACEOF
42838 #define __WXGTK12__ $WXGTK12
42843 if test "$WXGTK127" = 1 ; then
42844 cat >>confdefs.h <<_ACEOF
42845 #define __WXGTK127__ $WXGTK127
42850 if test "$WXGPE" = 1 ; then
42851 cat >>confdefs.h <<_ACEOF
42852 #define __WXGPE__ $WXGPE
42858 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
42863 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42864 wxUSE_DEBUG_INFO=yes
42865 if test "$GCC" = yes; then
42866 DEBUG_CFLAGS="-ggdb"
42870 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
42871 cat >>confdefs.h <<\_ACEOF
42875 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
42877 if test "$wxUSE_GTK" = 1 ; then
42878 if test "x$wxGTK_VERSION" = "x1" ; then
42879 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42884 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42885 cat >>confdefs.h <<\_ACEOF
42886 #define wxUSE_MEMORY_TRACING 1
42889 cat >>confdefs.h <<\_ACEOF
42890 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42893 cat >>confdefs.h <<\_ACEOF
42894 #define wxUSE_DEBUG_NEW_ALWAYS 1
42897 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42900 if test "$wxUSE_DMALLOC" = "yes" ; then
42901 DMALLOC_LIBS="-ldmallocthcxx"
42905 if test "$wxUSE_PROFILE" = "yes" ; then
42906 PROFILE_FLAGS=" -pg"
42909 if test "$GCC" = "yes" ; then
42910 if test "$wxUSE_NO_RTTI" = "yes" ; then
42911 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
42913 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42914 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42916 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42917 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42922 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42925 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42931 if test "$wxUSE_OPTIMISE" = "no" ; then
42932 if test "$GCC" = yes ; then
42933 OPTIMISE_CFLAGS="-O0"
42936 if test "$GCC" = yes ; then
42938 *-pc-os2_emx | *-pc-os2-emx )
42939 OPTIMISE_CFLAGS="-O2"
42942 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42946 OPTIMISE_CFLAGS="-O"
42951 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42952 cat >>confdefs.h <<\_ACEOF
42953 #define WXWIN_COMPATIBILITY_2_6 1
42957 WXWIN_COMPATIBILITY_2_8="yes"
42960 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42961 cat >>confdefs.h <<\_ACEOF
42962 #define WXWIN_COMPATIBILITY_2_8 1
42968 if test "$wxUSE_GUI" = "yes"; then
42969 cat >>confdefs.h <<\_ACEOF
42970 #define wxUSE_GUI 1
42977 if test "$wxUSE_UNIX" = "yes"; then
42978 cat >>confdefs.h <<\_ACEOF
42979 #define wxUSE_UNIX 1
42985 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42989 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42990 if test "$USE_DARWIN" = 1; then
42992 elif test "$USE_DOS" = 1; then
42996 for ac_func in dlopen
42998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42999 echo "$as_me:$LINENO: checking for $ac_func" >&5
43000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43001 if eval "test \"\${$as_ac_var+set}\" = set"; then
43002 echo $ECHO_N "(cached) $ECHO_C" >&6
43004 cat >conftest.$ac_ext <<_ACEOF
43007 cat confdefs.h >>conftest.$ac_ext
43008 cat >>conftest.$ac_ext <<_ACEOF
43009 /* end confdefs.h. */
43010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43012 #define $ac_func innocuous_$ac_func
43014 /* System header to define __stub macros and hopefully few prototypes,
43015 which can conflict with char $ac_func (); below.
43016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43017 <limits.h> exists even on freestanding compilers. */
43020 # include <limits.h>
43022 # include <assert.h>
43027 /* Override any gcc2 internal prototype to avoid an error. */
43032 /* We use char because int might match the return type of a gcc2
43033 builtin and then its argument prototype would still apply. */
43035 /* The GNU C library defines this for functions which it implements
43036 to always fail with ENOSYS. Some functions are actually named
43037 something starting with __ and the normal name is an alias. */
43038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43041 char (*f) () = $ac_func;
43050 return f != $ac_func;
43055 rm -f conftest.$ac_objext conftest$ac_exeext
43056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43057 (eval $ac_link) 2>conftest.er1
43059 grep -v '^ *+' conftest.er1 >conftest.err
43061 cat conftest.err >&5
43062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43063 (exit $ac_status); } &&
43064 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43066 (eval $ac_try) 2>&5
43068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43069 (exit $ac_status); }; } &&
43070 { ac_try='test -s conftest$ac_exeext'
43071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43072 (eval $ac_try) 2>&5
43074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43075 (exit $ac_status); }; }; then
43076 eval "$as_ac_var=yes"
43078 echo "$as_me: failed program was:" >&5
43079 sed 's/^/| /' conftest.$ac_ext >&5
43081 eval "$as_ac_var=no"
43083 rm -f conftest.err conftest.$ac_objext \
43084 conftest$ac_exeext conftest.$ac_ext
43086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43088 if test `eval echo '${'$as_ac_var'}'` = yes; then
43089 cat >>confdefs.h <<_ACEOF
43090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43093 cat >>confdefs.h <<\_ACEOF
43094 #define HAVE_DLOPEN 1
43101 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43102 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
43103 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43104 echo $ECHO_N "(cached) $ECHO_C" >&6
43106 ac_check_lib_save_LIBS=$LIBS
43108 cat >conftest.$ac_ext <<_ACEOF
43111 cat confdefs.h >>conftest.$ac_ext
43112 cat >>conftest.$ac_ext <<_ACEOF
43113 /* end confdefs.h. */
43115 /* Override any gcc2 internal prototype to avoid an error. */
43119 /* We use char because int might match the return type of a gcc2
43120 builtin and then its argument prototype would still apply. */
43130 rm -f conftest.$ac_objext conftest$ac_exeext
43131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43132 (eval $ac_link) 2>conftest.er1
43134 grep -v '^ *+' conftest.er1 >conftest.err
43136 cat conftest.err >&5
43137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43138 (exit $ac_status); } &&
43139 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43141 (eval $ac_try) 2>&5
43143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43144 (exit $ac_status); }; } &&
43145 { ac_try='test -s conftest$ac_exeext'
43146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43147 (eval $ac_try) 2>&5
43149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43150 (exit $ac_status); }; }; then
43151 ac_cv_lib_dl_dlopen=yes
43153 echo "$as_me: failed program was:" >&5
43154 sed 's/^/| /' conftest.$ac_ext >&5
43156 ac_cv_lib_dl_dlopen=no
43158 rm -f conftest.err conftest.$ac_objext \
43159 conftest$ac_exeext conftest.$ac_ext
43160 LIBS=$ac_check_lib_save_LIBS
43162 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43163 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
43164 if test $ac_cv_lib_dl_dlopen = yes; then
43166 cat >>confdefs.h <<\_ACEOF
43167 #define HAVE_DLOPEN 1
43171 DL_LINK=" -ldl$DL_LINK"
43176 for ac_func in shl_load
43178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43179 echo "$as_me:$LINENO: checking for $ac_func" >&5
43180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43181 if eval "test \"\${$as_ac_var+set}\" = set"; then
43182 echo $ECHO_N "(cached) $ECHO_C" >&6
43184 cat >conftest.$ac_ext <<_ACEOF
43187 cat confdefs.h >>conftest.$ac_ext
43188 cat >>conftest.$ac_ext <<_ACEOF
43189 /* end confdefs.h. */
43190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43192 #define $ac_func innocuous_$ac_func
43194 /* System header to define __stub macros and hopefully few prototypes,
43195 which can conflict with char $ac_func (); below.
43196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43197 <limits.h> exists even on freestanding compilers. */
43200 # include <limits.h>
43202 # include <assert.h>
43207 /* Override any gcc2 internal prototype to avoid an error. */
43212 /* We use char because int might match the return type of a gcc2
43213 builtin and then its argument prototype would still apply. */
43215 /* The GNU C library defines this for functions which it implements
43216 to always fail with ENOSYS. Some functions are actually named
43217 something starting with __ and the normal name is an alias. */
43218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43221 char (*f) () = $ac_func;
43230 return f != $ac_func;
43235 rm -f conftest.$ac_objext conftest$ac_exeext
43236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43237 (eval $ac_link) 2>conftest.er1
43239 grep -v '^ *+' conftest.er1 >conftest.err
43241 cat conftest.err >&5
43242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43243 (exit $ac_status); } &&
43244 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43246 (eval $ac_try) 2>&5
43248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43249 (exit $ac_status); }; } &&
43250 { ac_try='test -s conftest$ac_exeext'
43251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43252 (eval $ac_try) 2>&5
43254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43255 (exit $ac_status); }; }; then
43256 eval "$as_ac_var=yes"
43258 echo "$as_me: failed program was:" >&5
43259 sed 's/^/| /' conftest.$ac_ext >&5
43261 eval "$as_ac_var=no"
43263 rm -f conftest.err conftest.$ac_objext \
43264 conftest$ac_exeext conftest.$ac_ext
43266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43268 if test `eval echo '${'$as_ac_var'}'` = yes; then
43269 cat >>confdefs.h <<_ACEOF
43270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43273 cat >>confdefs.h <<\_ACEOF
43274 #define HAVE_SHL_LOAD 1
43281 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43282 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
43283 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43284 echo $ECHO_N "(cached) $ECHO_C" >&6
43286 ac_check_lib_save_LIBS=$LIBS
43287 LIBS="-lshl_load $LIBS"
43288 cat >conftest.$ac_ext <<_ACEOF
43291 cat confdefs.h >>conftest.$ac_ext
43292 cat >>conftest.$ac_ext <<_ACEOF
43293 /* end confdefs.h. */
43295 /* Override any gcc2 internal prototype to avoid an error. */
43299 /* We use char because int might match the return type of a gcc2
43300 builtin and then its argument prototype would still apply. */
43310 rm -f conftest.$ac_objext conftest$ac_exeext
43311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43312 (eval $ac_link) 2>conftest.er1
43314 grep -v '^ *+' conftest.er1 >conftest.err
43316 cat conftest.err >&5
43317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43318 (exit $ac_status); } &&
43319 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43321 (eval $ac_try) 2>&5
43323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43324 (exit $ac_status); }; } &&
43325 { ac_try='test -s conftest$ac_exeext'
43326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43327 (eval $ac_try) 2>&5
43329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43330 (exit $ac_status); }; }; then
43331 ac_cv_lib_shl_load_dld=yes
43333 echo "$as_me: failed program was:" >&5
43334 sed 's/^/| /' conftest.$ac_ext >&5
43336 ac_cv_lib_shl_load_dld=no
43338 rm -f conftest.err conftest.$ac_objext \
43339 conftest$ac_exeext conftest.$ac_ext
43340 LIBS=$ac_check_lib_save_LIBS
43342 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43343 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
43344 if test $ac_cv_lib_shl_load_dld = yes; then
43347 DL_LINK=" -ldld$DL_LINK"
43363 if test "$HAVE_DL_FUNCS" = 1; then
43365 for ac_func in dlerror
43367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43368 echo "$as_me:$LINENO: checking for $ac_func" >&5
43369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43370 if eval "test \"\${$as_ac_var+set}\" = set"; then
43371 echo $ECHO_N "(cached) $ECHO_C" >&6
43373 cat >conftest.$ac_ext <<_ACEOF
43376 cat confdefs.h >>conftest.$ac_ext
43377 cat >>conftest.$ac_ext <<_ACEOF
43378 /* end confdefs.h. */
43379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43381 #define $ac_func innocuous_$ac_func
43383 /* System header to define __stub macros and hopefully few prototypes,
43384 which can conflict with char $ac_func (); below.
43385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43386 <limits.h> exists even on freestanding compilers. */
43389 # include <limits.h>
43391 # include <assert.h>
43396 /* Override any gcc2 internal prototype to avoid an error. */
43401 /* We use char because int might match the return type of a gcc2
43402 builtin and then its argument prototype would still apply. */
43404 /* The GNU C library defines this for functions which it implements
43405 to always fail with ENOSYS. Some functions are actually named
43406 something starting with __ and the normal name is an alias. */
43407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43410 char (*f) () = $ac_func;
43419 return f != $ac_func;
43424 rm -f conftest.$ac_objext conftest$ac_exeext
43425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43426 (eval $ac_link) 2>conftest.er1
43428 grep -v '^ *+' conftest.er1 >conftest.err
43430 cat conftest.err >&5
43431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43432 (exit $ac_status); } &&
43433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43435 (eval $ac_try) 2>&5
43437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43438 (exit $ac_status); }; } &&
43439 { ac_try='test -s conftest$ac_exeext'
43440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43441 (eval $ac_try) 2>&5
43443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43444 (exit $ac_status); }; }; then
43445 eval "$as_ac_var=yes"
43447 echo "$as_me: failed program was:" >&5
43448 sed 's/^/| /' conftest.$ac_ext >&5
43450 eval "$as_ac_var=no"
43452 rm -f conftest.err conftest.$ac_objext \
43453 conftest$ac_exeext conftest.$ac_ext
43455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43457 if test `eval echo '${'$as_ac_var'}'` = yes; then
43458 cat >>confdefs.h <<_ACEOF
43459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43461 cat >>confdefs.h <<\_ACEOF
43462 #define HAVE_DLERROR 1
43467 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43468 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
43469 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43470 echo $ECHO_N "(cached) $ECHO_C" >&6
43472 ac_check_lib_save_LIBS=$LIBS
43474 cat >conftest.$ac_ext <<_ACEOF
43477 cat confdefs.h >>conftest.$ac_ext
43478 cat >>conftest.$ac_ext <<_ACEOF
43479 /* end confdefs.h. */
43481 /* Override any gcc2 internal prototype to avoid an error. */
43485 /* We use char because int might match the return type of a gcc2
43486 builtin and then its argument prototype would still apply. */
43496 rm -f conftest.$ac_objext conftest$ac_exeext
43497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43498 (eval $ac_link) 2>conftest.er1
43500 grep -v '^ *+' conftest.er1 >conftest.err
43502 cat conftest.err >&5
43503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43504 (exit $ac_status); } &&
43505 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43507 (eval $ac_try) 2>&5
43509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43510 (exit $ac_status); }; } &&
43511 { ac_try='test -s conftest$ac_exeext'
43512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43513 (eval $ac_try) 2>&5
43515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43516 (exit $ac_status); }; }; then
43517 ac_cv_lib_dl_dlerror=yes
43519 echo "$as_me: failed program was:" >&5
43520 sed 's/^/| /' conftest.$ac_ext >&5
43522 ac_cv_lib_dl_dlerror=no
43524 rm -f conftest.err conftest.$ac_objext \
43525 conftest$ac_exeext conftest.$ac_ext
43526 LIBS=$ac_check_lib_save_LIBS
43528 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43529 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
43530 if test $ac_cv_lib_dl_dlerror = yes; then
43531 cat >>confdefs.h <<\_ACEOF
43532 #define HAVE_DLERROR 1
43545 if test "$HAVE_DL_FUNCS" = 0; then
43546 if test "$HAVE_SHL_FUNCS" = 0; then
43547 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43548 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43549 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43550 wxUSE_DYNAMIC_LOADER=no
43551 wxUSE_DYNLIB_CLASS=no
43553 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43554 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43561 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43562 cat >>confdefs.h <<\_ACEOF
43563 #define wxUSE_DYNAMIC_LOADER 1
43567 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43568 cat >>confdefs.h <<\_ACEOF
43569 #define wxUSE_DYNLIB_CLASS 1
43576 if test "$wxUSE_PLUGINS" = "yes" ; then
43577 if test "$wxUSE_SHARED" = "no" ; then
43578 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43579 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43582 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43583 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43584 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43587 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43588 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43589 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43592 if test "$wxUSE_PLUGINS" = "yes" ; then
43593 cat >>confdefs.h <<\_ACEOF
43594 #define wxUSE_PLUGINS 1
43601 if test "$wxUSE_STL" = "yes"; then
43602 cat >>confdefs.h <<\_ACEOF
43603 #define wxUSE_STL 1
43608 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43609 cat >>confdefs.h <<\_ACEOF
43610 #define wxUSE_EXTENDED_RTTI 1
43615 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43616 cat >>confdefs.h <<\_ACEOF
43617 #define wxUSE_APPLE_IEEE 1
43622 if test "$wxUSE_TIMER" = "yes"; then
43623 cat >>confdefs.h <<\_ACEOF
43624 #define wxUSE_TIMER 1
43629 if test "$USE_UNIX" = "1" ; then
43630 if test "$wxUSE_MGL" != 1; then
43631 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43632 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
43633 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43634 echo $ECHO_N "(cached) $ECHO_C" >&6
43637 cat >conftest.$ac_ext <<_ACEOF
43640 cat confdefs.h >>conftest.$ac_ext
43641 cat >>conftest.$ac_ext <<_ACEOF
43642 /* end confdefs.h. */
43644 #include <sys/ioctl.h>
43645 #include <sys/soundcard.h>
43651 ioctl(0, SNDCTL_DSP_SPEED, 0);
43657 rm -f conftest.$ac_objext conftest$ac_exeext
43658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43659 (eval $ac_link) 2>conftest.er1
43661 grep -v '^ *+' conftest.er1 >conftest.err
43663 cat conftest.err >&5
43664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43665 (exit $ac_status); } &&
43666 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43668 (eval $ac_try) 2>&5
43670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43671 (exit $ac_status); }; } &&
43672 { ac_try='test -s conftest$ac_exeext'
43673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43674 (eval $ac_try) 2>&5
43676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43677 (exit $ac_status); }; }; then
43678 ac_cv_header_sys_soundcard=yes
43680 echo "$as_me: failed program was:" >&5
43681 sed 's/^/| /' conftest.$ac_ext >&5
43685 LIBS="$saveLibs -lossaudio"
43686 cat >conftest.$ac_ext <<_ACEOF
43689 cat confdefs.h >>conftest.$ac_ext
43690 cat >>conftest.$ac_ext <<_ACEOF
43691 /* end confdefs.h. */
43693 #include <sys/ioctl.h>
43694 #include <sys/soundcard.h>
43700 ioctl(0, SNDCTL_DSP_SPEED, 0);
43706 rm -f conftest.$ac_objext conftest$ac_exeext
43707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43708 (eval $ac_link) 2>conftest.er1
43710 grep -v '^ *+' conftest.er1 >conftest.err
43712 cat conftest.err >&5
43713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43714 (exit $ac_status); } &&
43715 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43717 (eval $ac_try) 2>&5
43719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43720 (exit $ac_status); }; } &&
43721 { ac_try='test -s conftest$ac_exeext'
43722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43723 (eval $ac_try) 2>&5
43725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43726 (exit $ac_status); }; }; then
43727 ac_cv_header_sys_soundcard=yes
43729 echo "$as_me: failed program was:" >&5
43730 sed 's/^/| /' conftest.$ac_ext >&5
43734 ac_cv_header_sys_soundcard=no
43738 rm -f conftest.err conftest.$ac_objext \
43739 conftest$ac_exeext conftest.$ac_ext
43743 rm -f conftest.err conftest.$ac_objext \
43744 conftest$ac_exeext conftest.$ac_ext
43747 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43748 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
43751 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43752 cat >>confdefs.h <<\_ACEOF
43753 #define HAVE_SYS_SOUNDCARD_H 1
43760 if test "$wxUSE_SOUND" = "yes"; then
43761 if test "$USE_UNIX" = "1" ; then
43762 if test "$wxUSE_LIBSDL" != "no"; then
43764 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
43765 if test "${with_sdl_prefix+set}" = set; then
43766 withval="$with_sdl_prefix"
43767 sdl_prefix="$withval"
43772 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
43773 if test "${with_sdl_exec_prefix+set}" = set; then
43774 withval="$with_sdl_exec_prefix"
43775 sdl_exec_prefix="$withval"
43779 # Check whether --enable-sdltest or --disable-sdltest was given.
43780 if test "${enable_sdltest+set}" = set; then
43781 enableval="$enable_sdltest"
43787 if test x$sdl_exec_prefix != x ; then
43788 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43789 if test x${SDL_CONFIG+set} != xset ; then
43790 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43793 if test x$sdl_prefix != x ; then
43794 sdl_args="$sdl_args --prefix=$sdl_prefix"
43795 if test x${SDL_CONFIG+set} != xset ; then
43796 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43800 if test "x$prefix" != xNONE; then
43801 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43803 # Extract the first word of "sdl-config", so it can be a program name with args.
43804 set dummy sdl-config; ac_word=$2
43805 echo "$as_me:$LINENO: checking for $ac_word" >&5
43806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43807 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43808 echo $ECHO_N "(cached) $ECHO_C" >&6
43810 case $SDL_CONFIG in
43812 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43816 for as_dir in $PATH
43819 test -z "$as_dir" && as_dir=.
43820 for ac_exec_ext in '' $ac_executable_extensions; do
43821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43822 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43829 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43833 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43835 if test -n "$SDL_CONFIG"; then
43836 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43837 echo "${ECHO_T}$SDL_CONFIG" >&6
43839 echo "$as_me:$LINENO: result: no" >&5
43840 echo "${ECHO_T}no" >&6
43843 min_sdl_version=1.2.0
43844 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43845 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
43847 if test "$SDL_CONFIG" = "no" ; then
43850 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43851 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43853 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43854 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43855 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43856 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43857 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43858 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43859 if test "x$enable_sdltest" = "xyes" ; then
43860 ac_save_CFLAGS="$CFLAGS"
43861 ac_save_CXXFLAGS="$CXXFLAGS"
43862 ac_save_LIBS="$LIBS"
43863 CFLAGS="$CFLAGS $SDL_CFLAGS"
43864 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43865 LIBS="$LIBS $SDL_LIBS"
43867 if test "$cross_compiling" = yes; then
43868 echo $ac_n "cross compiling; assumed OK... $ac_c"
43870 cat >conftest.$ac_ext <<_ACEOF
43873 cat confdefs.h >>conftest.$ac_ext
43874 cat >>conftest.$ac_ext <<_ACEOF
43875 /* end confdefs.h. */
43878 #include <stdlib.h>
43879 #include <string.h>
43883 my_strdup (char *str)
43889 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43890 strcpy (new_str, str);
43898 int main (int argc, char *argv[])
43900 int major, minor, micro;
43903 /* This hangs on some systems (?)
43904 system ("touch conf.sdltest");
43906 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43908 /* HP/UX 9 (%@#!) writes to sscanf strings */
43909 tmp_version = my_strdup("$min_sdl_version");
43910 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
43911 printf("%s, bad version string\n", "$min_sdl_version");
43915 if (($sdl_major_version > major) ||
43916 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43917 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43923 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43924 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43925 printf("*** best to upgrade to the required version.\n");
43926 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43927 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43928 printf("*** config.cache before re-running configure\n");
43935 rm -f conftest$ac_exeext
43936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43937 (eval $ac_link) 2>&5
43939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43940 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43942 (eval $ac_try) 2>&5
43944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43945 (exit $ac_status); }; }; then
43948 echo "$as_me: program exited with status $ac_status" >&5
43949 echo "$as_me: failed program was:" >&5
43950 sed 's/^/| /' conftest.$ac_ext >&5
43952 ( exit $ac_status )
43955 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43957 CFLAGS="$ac_save_CFLAGS"
43958 CXXFLAGS="$ac_save_CXXFLAGS"
43959 LIBS="$ac_save_LIBS"
43962 if test "x$no_sdl" = x ; then
43963 echo "$as_me:$LINENO: result: yes" >&5
43964 echo "${ECHO_T}yes" >&6
43966 EXTRALIBS_SDL="$SDL_LIBS"
43967 CFLAGS="$SDL_CFLAGS $CFLAGS"
43968 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43969 cat >>confdefs.h <<\_ACEOF
43970 #define wxUSE_LIBSDL 1
43975 echo "$as_me:$LINENO: result: no" >&5
43976 echo "${ECHO_T}no" >&6
43977 if test "$SDL_CONFIG" = "no" ; then
43978 echo "*** The sdl-config script installed by SDL could not be found"
43979 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43980 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43981 echo "*** full path to sdl-config."
43983 if test -f conf.sdltest ; then
43986 echo "*** Could not run SDL test program, checking why..."
43987 CFLAGS="$CFLAGS $SDL_CFLAGS"
43988 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43989 LIBS="$LIBS $SDL_LIBS"
43990 cat >conftest.$ac_ext <<_ACEOF
43993 cat confdefs.h >>conftest.$ac_ext
43994 cat >>conftest.$ac_ext <<_ACEOF
43995 /* end confdefs.h. */
44000 int main(int argc, char *argv[])
44003 #define main K_and_R_C_main
44013 rm -f conftest.$ac_objext conftest$ac_exeext
44014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44015 (eval $ac_link) 2>conftest.er1
44017 grep -v '^ *+' conftest.er1 >conftest.err
44019 cat conftest.err >&5
44020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44021 (exit $ac_status); } &&
44022 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44024 (eval $ac_try) 2>&5
44026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44027 (exit $ac_status); }; } &&
44028 { ac_try='test -s conftest$ac_exeext'
44029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44030 (eval $ac_try) 2>&5
44032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44033 (exit $ac_status); }; }; then
44034 echo "*** The test program compiled, but did not run. This usually means"
44035 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44036 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44037 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44038 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44039 echo "*** is required on your system"
44041 echo "*** If you have an old version installed, it is best to remove it, although"
44042 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44044 echo "$as_me: failed program was:" >&5
44045 sed 's/^/| /' conftest.$ac_ext >&5
44047 echo "*** The test program failed to compile or link. See the file config.log for the"
44048 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44049 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44050 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44052 rm -f conftest.err conftest.$ac_objext \
44053 conftest$ac_exeext conftest.$ac_ext
44054 CFLAGS="$ac_save_CFLAGS"
44055 CXXFLAGS="$ac_save_CXXFLAGS"
44056 LIBS="$ac_save_LIBS"
44067 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44072 if test "$wxUSE_MGL" = 1; then
44073 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44074 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44080 if test "$wxUSE_SOUND" = "yes"; then
44081 cat >>confdefs.h <<\_ACEOF
44082 #define wxUSE_SOUND 1
44085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44088 if test "$WXGTK20" = 1; then
44091 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44092 if test -n "$ac_tool_prefix"; then
44093 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44094 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44095 echo "$as_me:$LINENO: checking for $ac_word" >&5
44096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44097 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44098 echo $ECHO_N "(cached) $ECHO_C" >&6
44100 case $PKG_CONFIG in
44102 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44106 for as_dir in $PATH
44109 test -z "$as_dir" && as_dir=.
44110 for ac_exec_ext in '' $ac_executable_extensions; do
44111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44112 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44122 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44124 if test -n "$PKG_CONFIG"; then
44125 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44126 echo "${ECHO_T}$PKG_CONFIG" >&6
44128 echo "$as_me:$LINENO: result: no" >&5
44129 echo "${ECHO_T}no" >&6
44133 if test -z "$ac_cv_path_PKG_CONFIG"; then
44134 ac_pt_PKG_CONFIG=$PKG_CONFIG
44135 # Extract the first word of "pkg-config", so it can be a program name with args.
44136 set dummy pkg-config; ac_word=$2
44137 echo "$as_me:$LINENO: checking for $ac_word" >&5
44138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44139 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44140 echo $ECHO_N "(cached) $ECHO_C" >&6
44142 case $ac_pt_PKG_CONFIG in
44144 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44148 for as_dir in $PATH
44151 test -z "$as_dir" && as_dir=.
44152 for ac_exec_ext in '' $ac_executable_extensions; do
44153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44154 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44164 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44166 if test -n "$ac_pt_PKG_CONFIG"; then
44167 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44168 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
44170 echo "$as_me:$LINENO: result: no" >&5
44171 echo "${ECHO_T}no" >&6
44174 PKG_CONFIG=$ac_pt_PKG_CONFIG
44176 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44180 if test -n "$PKG_CONFIG"; then
44181 _pkg_min_version=0.9.0
44182 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44183 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
44184 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44185 echo "$as_me:$LINENO: result: yes" >&5
44186 echo "${ECHO_T}yes" >&6
44188 echo "$as_me:$LINENO: result: no" >&5
44189 echo "${ECHO_T}no" >&6
44195 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44196 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44200 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44201 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
44203 if test -n "$PKG_CONFIG"; then
44204 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44205 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44207 if test -n "$PKG_CONFIG" && \
44208 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44209 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44212 (exit $ac_status); }; then
44213 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44221 if test -n "$PKG_CONFIG"; then
44222 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44223 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44225 if test -n "$PKG_CONFIG" && \
44226 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44227 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44230 (exit $ac_status); }; then
44231 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44242 if test $pkg_failed = yes; then
44244 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44245 _pkg_short_errors_supported=yes
44247 _pkg_short_errors_supported=no
44249 if test $_pkg_short_errors_supported = yes; then
44250 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44252 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44254 # Put the nasty error message in config.log where it belongs
44255 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44258 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44259 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44260 wxUSE_LIBGNOMEPRINT="no"
44263 elif test $pkg_failed = untried; then
44265 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44266 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44267 wxUSE_LIBGNOMEPRINT="no"
44271 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44272 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44273 echo "$as_me:$LINENO: result: yes" >&5
44274 echo "${ECHO_T}yes" >&6
44276 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44277 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44278 cat >>confdefs.h <<\_ACEOF
44279 #define wxUSE_LIBGNOMEPRINT 1
44287 if test "$wxUSE_MIMETYPE" = "yes" ; then
44288 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44292 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44293 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
44295 if test -n "$PKG_CONFIG"; then
44296 if test -n "$GNOMEVFS_CFLAGS"; then
44297 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44299 if test -n "$PKG_CONFIG" && \
44300 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44301 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44304 (exit $ac_status); }; then
44305 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44313 if test -n "$PKG_CONFIG"; then
44314 if test -n "$GNOMEVFS_LIBS"; then
44315 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44317 if test -n "$PKG_CONFIG" && \
44318 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44319 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44322 (exit $ac_status); }; then
44323 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44334 if test $pkg_failed = yes; then
44336 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44337 _pkg_short_errors_supported=yes
44339 _pkg_short_errors_supported=no
44341 if test $_pkg_short_errors_supported = yes; then
44342 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44344 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44346 # Put the nasty error message in config.log where it belongs
44347 echo "$GNOMEVFS_PKG_ERRORS" >&5
44350 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44351 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44352 wxUSE_LIBGNOMEVFS="no"
44355 elif test $pkg_failed = untried; then
44357 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44358 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44359 wxUSE_LIBGNOMEVFS="no"
44363 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44364 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44365 echo "$as_me:$LINENO: result: yes" >&5
44366 echo "${ECHO_T}yes" >&6
44368 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44369 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44370 cat >>confdefs.h <<\_ACEOF
44371 #define wxUSE_LIBGNOMEVFS 1
44379 if test "$wxUSE_LIBHILDON" = "yes" ; then
44382 echo "$as_me:$LINENO: checking for HILDON" >&5
44383 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
44385 if test -n "$PKG_CONFIG"; then
44386 if test -n "$HILDON_CFLAGS"; then
44387 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44389 if test -n "$PKG_CONFIG" && \
44390 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44391 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44394 (exit $ac_status); }; then
44395 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44403 if test -n "$PKG_CONFIG"; then
44404 if test -n "$HILDON_LIBS"; then
44405 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44407 if test -n "$PKG_CONFIG" && \
44408 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44409 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44412 (exit $ac_status); }; then
44413 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44424 if test $pkg_failed = yes; then
44426 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44427 _pkg_short_errors_supported=yes
44429 _pkg_short_errors_supported=no
44431 if test $_pkg_short_errors_supported = yes; then
44432 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44434 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44436 # Put the nasty error message in config.log where it belongs
44437 echo "$HILDON_PKG_ERRORS" >&5
44440 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44441 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44442 wxUSE_LIBHILDON="no"
44445 elif test $pkg_failed = untried; then
44447 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44448 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44449 wxUSE_LIBHILDON="no"
44453 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44454 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44455 echo "$as_me:$LINENO: result: yes" >&5
44456 echo "${ECHO_T}yes" >&6
44458 EXTRALIBS_HILDON="$HILDON_LIBS"
44459 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44460 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44461 cat >>confdefs.h <<\_ACEOF
44462 #define wxUSE_LIBHILDON 1
44470 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44471 cat >>confdefs.h <<\_ACEOF
44472 #define wxUSE_CMDLINE_PARSER 1
44477 if test "$wxUSE_STOPWATCH" = "yes"; then
44478 cat >>confdefs.h <<\_ACEOF
44479 #define wxUSE_STOPWATCH 1
44484 if test "$wxUSE_DATETIME" = "yes"; then
44485 cat >>confdefs.h <<\_ACEOF
44486 #define wxUSE_DATETIME 1
44491 if test "$wxUSE_FILE" = "yes"; then
44492 cat >>confdefs.h <<\_ACEOF
44493 #define wxUSE_FILE 1
44498 if test "$wxUSE_FFILE" = "yes"; then
44499 cat >>confdefs.h <<\_ACEOF
44500 #define wxUSE_FFILE 1
44505 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44506 if test "$wxUSE_STREAMS" != yes; then
44507 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44508 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44509 wxUSE_ARCHIVE_STREAMS=no
44511 cat >>confdefs.h <<\_ACEOF
44512 #define wxUSE_ARCHIVE_STREAMS 1
44518 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44519 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44520 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44521 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44522 elif test "$wxUSE_ZLIB" = "no"; then
44523 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44524 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44526 cat >>confdefs.h <<\_ACEOF
44527 #define wxUSE_ZIPSTREAM 1
44533 if test "$wxUSE_TARSTREAM" = "yes"; then
44534 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44535 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44536 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44538 cat >>confdefs.h <<\_ACEOF
44539 #define wxUSE_TARSTREAM 1
44545 if test "$wxUSE_FILESYSTEM" = "yes"; then
44546 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44547 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44548 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44549 wxUSE_FILESYSTEM=no
44551 cat >>confdefs.h <<\_ACEOF
44552 #define wxUSE_FILESYSTEM 1
44558 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44559 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44560 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44561 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44563 cat >>confdefs.h <<\_ACEOF
44564 #define wxUSE_FS_ARCHIVE 1
44570 if test "$wxUSE_FS_ZIP" = "yes"; then
44571 if test "$wxUSE_FS_ARCHIVE" != yes; then
44572 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44573 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44575 cat >>confdefs.h <<\_ACEOF
44576 #define wxUSE_FS_ZIP 1
44582 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44583 if test "$USE_UNIX" != 1; then
44584 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44585 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44586 wxUSE_ON_FATAL_EXCEPTION=no
44588 cat >>confdefs.h <<\_ACEOF
44589 #define wxUSE_ON_FATAL_EXCEPTION 1
44595 if test "$wxUSE_STACKWALKER" = "yes"; then
44596 cat >>confdefs.h <<\_ACEOF
44597 #define wxUSE_STACKWALKER 1
44602 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44603 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
44604 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44605 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44606 wxUSE_DEBUGREPORT=no
44608 cat >>confdefs.h <<\_ACEOF
44609 #define wxUSE_DEBUGREPORT 1
44612 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44613 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44618 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44619 cat >>confdefs.h <<\_ACEOF
44620 #define wxUSE_SNGLINST_CHECKER 1
44625 if test "$wxUSE_BUSYINFO" = "yes"; then
44626 cat >>confdefs.h <<\_ACEOF
44627 #define wxUSE_BUSYINFO 1
44632 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44633 cat >>confdefs.h <<\_ACEOF
44634 #define wxUSE_STD_IOSTREAM 1
44639 if test "$wxUSE_STD_STRING" = "yes"; then
44640 cat >>confdefs.h <<\_ACEOF
44641 #define wxUSE_STD_STRING 1
44646 if test "$wxUSE_STDPATHS" = "yes"; then
44647 cat >>confdefs.h <<\_ACEOF
44648 #define wxUSE_STDPATHS 1
44653 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44654 cat >>confdefs.h <<\_ACEOF
44655 #define wxUSE_TEXTBUFFER 1
44660 if test "$wxUSE_TEXTFILE" = "yes"; then
44661 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44662 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44663 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44665 cat >>confdefs.h <<\_ACEOF
44666 #define wxUSE_TEXTFILE 1
44672 if test "$wxUSE_CONFIG" = "yes" ; then
44673 if test "$wxUSE_TEXTFILE" != "yes"; then
44674 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44675 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44677 cat >>confdefs.h <<\_ACEOF
44678 #define wxUSE_CONFIG 1
44681 cat >>confdefs.h <<\_ACEOF
44682 #define wxUSE_CONFIG_NATIVE 1
44685 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
44689 if test "$wxUSE_INTL" = "yes" ; then
44690 if test "$wxUSE_FILE" != "yes"; then
44691 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44692 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44694 cat >>confdefs.h <<\_ACEOF
44695 #define wxUSE_INTL 1
44698 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
44699 GUIDIST="$GUIDIST INTL_DIST"
44703 if test "$wxUSE_LOG" = "yes"; then
44704 cat >>confdefs.h <<\_ACEOF
44705 #define wxUSE_LOG 1
44709 if test "$wxUSE_LOGGUI" = "yes"; then
44710 cat >>confdefs.h <<\_ACEOF
44711 #define wxUSE_LOGGUI 1
44716 if test "$wxUSE_LOGWINDOW" = "yes"; then
44717 cat >>confdefs.h <<\_ACEOF
44718 #define wxUSE_LOGWINDOW 1
44723 if test "$wxUSE_LOGDIALOG" = "yes"; then
44724 cat >>confdefs.h <<\_ACEOF
44725 #define wxUSE_LOG_DIALOG 1
44730 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44733 if test "$wxUSE_LONGLONG" = "yes"; then
44734 cat >>confdefs.h <<\_ACEOF
44735 #define wxUSE_LONGLONG 1
44740 if test "$wxUSE_GEOMETRY" = "yes"; then
44741 cat >>confdefs.h <<\_ACEOF
44742 #define wxUSE_GEOMETRY 1
44747 if test "$wxUSE_BASE64" = "yes"; then
44748 cat >>confdefs.h <<\_ACEOF
44749 #define wxUSE_BASE64 1
44754 if test "$wxUSE_STREAMS" = "yes" ; then
44755 cat >>confdefs.h <<\_ACEOF
44756 #define wxUSE_STREAMS 1
44761 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44762 cat >>confdefs.h <<\_ACEOF
44763 #define wxUSE_PRINTF_POS_PARAMS 1
44768 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44769 cat >>confdefs.h <<\_ACEOF
44770 #define wxUSE_OBJC_UNIQUIFYING 1
44776 if test "$wxUSE_DATETIME" = "yes"; then
44777 echo "$as_me:$LINENO: checking for strptime" >&5
44778 echo $ECHO_N "checking for strptime... $ECHO_C" >&6
44779 if test "${ac_cv_func_strptime+set}" = set; then
44780 echo $ECHO_N "(cached) $ECHO_C" >&6
44782 cat >conftest.$ac_ext <<_ACEOF
44785 cat confdefs.h >>conftest.$ac_ext
44786 cat >>conftest.$ac_ext <<_ACEOF
44787 /* end confdefs.h. */
44788 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
44789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44790 #define strptime innocuous_strptime
44792 /* System header to define __stub macros and hopefully few prototypes,
44793 which can conflict with char strptime (); below.
44794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44795 <limits.h> exists even on freestanding compilers. */
44798 # include <limits.h>
44800 # include <assert.h>
44805 /* Override any gcc2 internal prototype to avoid an error. */
44810 /* We use char because int might match the return type of a gcc2
44811 builtin and then its argument prototype would still apply. */
44813 /* The GNU C library defines this for functions which it implements
44814 to always fail with ENOSYS. Some functions are actually named
44815 something starting with __ and the normal name is an alias. */
44816 #if defined (__stub_strptime) || defined (__stub___strptime)
44819 char (*f) () = strptime;
44828 return f != strptime;
44833 rm -f conftest.$ac_objext conftest$ac_exeext
44834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44835 (eval $ac_link) 2>conftest.er1
44837 grep -v '^ *+' conftest.er1 >conftest.err
44839 cat conftest.err >&5
44840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44841 (exit $ac_status); } &&
44842 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44844 (eval $ac_try) 2>&5
44846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44847 (exit $ac_status); }; } &&
44848 { ac_try='test -s conftest$ac_exeext'
44849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44850 (eval $ac_try) 2>&5
44852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44853 (exit $ac_status); }; }; then
44854 ac_cv_func_strptime=yes
44856 echo "$as_me: failed program was:" >&5
44857 sed 's/^/| /' conftest.$ac_ext >&5
44859 ac_cv_func_strptime=no
44861 rm -f conftest.err conftest.$ac_objext \
44862 conftest$ac_exeext conftest.$ac_ext
44864 echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
44865 echo "${ECHO_T}$ac_cv_func_strptime" >&6
44867 if test "$ac_cv_func_strptime" = "yes"; then
44868 echo "$as_me:$LINENO: checking for strptime declaration" >&5
44869 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
44870 if test "${wx_cv_func_strptime_decl+set}" = set; then
44871 echo $ECHO_N "(cached) $ECHO_C" >&6
44875 ac_cpp='$CXXCPP $CPPFLAGS'
44876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44880 cat >conftest.$ac_ext <<_ACEOF
44883 cat confdefs.h >>conftest.$ac_ext
44884 cat >>conftest.$ac_ext <<_ACEOF
44885 /* end confdefs.h. */
44894 strptime("foo", "bar", &t);
44900 rm -f conftest.$ac_objext
44901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44902 (eval $ac_compile) 2>conftest.er1
44904 grep -v '^ *+' conftest.er1 >conftest.err
44906 cat conftest.err >&5
44907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44908 (exit $ac_status); } &&
44909 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44911 (eval $ac_try) 2>&5
44913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44914 (exit $ac_status); }; } &&
44915 { ac_try='test -s conftest.$ac_objext'
44916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44917 (eval $ac_try) 2>&5
44919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44920 (exit $ac_status); }; }; then
44921 wx_cv_func_strptime_decl=yes
44923 echo "$as_me: failed program was:" >&5
44924 sed 's/^/| /' conftest.$ac_ext >&5
44926 wx_cv_func_strptime_decl=no
44929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44931 ac_cpp='$CPP $CPPFLAGS'
44932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44939 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
44940 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
44942 if test "$wx_cv_func_strptime_decl" = "yes"; then
44943 cat >>confdefs.h <<\_ACEOF
44944 #define HAVE_STRPTIME_DECL 1
44948 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
44950 if test "$ac_cv_func_strptime" = "yes"; then
44951 echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
44952 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6
44953 if test "${wx_cv_func_strptime_ok+set}" = set; then
44954 echo $ECHO_N "(cached) $ECHO_C" >&6
44956 if test "$cross_compiling" = yes; then
44957 wx_cv_func_strptime_ok=no
44960 cat >conftest.$ac_ext <<_ACEOF
44962 #include <stdlib.h>
44964 #include "confdefs.h"
44971 return !!strptime("", "%x", &t);
44975 rm -f conftest$ac_exeext
44976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44977 (eval $ac_link) 2>&5
44979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44980 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44982 (eval $ac_try) 2>&5
44984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44985 (exit $ac_status); }; }; then
44986 wx_cv_func_strptime_ok=yes
44988 echo "$as_me: program exited with status $ac_status" >&5
44989 echo "$as_me: failed program was:" >&5
44990 sed 's/^/| /' conftest.$ac_ext >&5
44992 ( exit $ac_status )
44993 wx_cv_func_strptime_ok=no
44995 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44999 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
45000 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6
45002 if test "$wx_cv_func_strptime_ok" = "yes"; then
45003 cat >>confdefs.h <<\_ACEOF
45004 #define HAVE_STRPTIME 1
45010 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45011 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
45012 if test "${wx_cv_var_timezone+set}" = set; then
45013 echo $ECHO_N "(cached) $ECHO_C" >&6
45017 ac_cpp='$CXXCPP $CPPFLAGS'
45018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45022 cat >conftest.$ac_ext <<_ACEOF
45025 cat confdefs.h >>conftest.$ac_ext
45026 cat >>conftest.$ac_ext <<_ACEOF
45027 /* end confdefs.h. */
45042 rm -f conftest.$ac_objext
45043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45044 (eval $ac_compile) 2>conftest.er1
45046 grep -v '^ *+' conftest.er1 >conftest.err
45048 cat conftest.err >&5
45049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45050 (exit $ac_status); } &&
45051 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45053 (eval $ac_try) 2>&5
45055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45056 (exit $ac_status); }; } &&
45057 { ac_try='test -s conftest.$ac_objext'
45058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45059 (eval $ac_try) 2>&5
45061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45062 (exit $ac_status); }; }; then
45064 wx_cv_var_timezone=timezone
45067 echo "$as_me: failed program was:" >&5
45068 sed 's/^/| /' conftest.$ac_ext >&5
45071 cat >conftest.$ac_ext <<_ACEOF
45074 cat confdefs.h >>conftest.$ac_ext
45075 cat >>conftest.$ac_ext <<_ACEOF
45076 /* end confdefs.h. */
45091 rm -f conftest.$ac_objext
45092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45093 (eval $ac_compile) 2>conftest.er1
45095 grep -v '^ *+' conftest.er1 >conftest.err
45097 cat conftest.err >&5
45098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45099 (exit $ac_status); } &&
45100 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45102 (eval $ac_try) 2>&5
45104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45105 (exit $ac_status); }; } &&
45106 { ac_try='test -s conftest.$ac_objext'
45107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45108 (eval $ac_try) 2>&5
45110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45111 (exit $ac_status); }; }; then
45113 wx_cv_var_timezone=_timezone
45116 echo "$as_me: failed program was:" >&5
45117 sed 's/^/| /' conftest.$ac_ext >&5
45120 cat >conftest.$ac_ext <<_ACEOF
45123 cat confdefs.h >>conftest.$ac_ext
45124 cat >>conftest.$ac_ext <<_ACEOF
45125 /* end confdefs.h. */
45140 rm -f conftest.$ac_objext
45141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45142 (eval $ac_compile) 2>conftest.er1
45144 grep -v '^ *+' conftest.er1 >conftest.err
45146 cat conftest.err >&5
45147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45148 (exit $ac_status); } &&
45149 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45151 (eval $ac_try) 2>&5
45153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45154 (exit $ac_status); }; } &&
45155 { ac_try='test -s conftest.$ac_objext'
45156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45157 (eval $ac_try) 2>&5
45159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45160 (exit $ac_status); }; }; then
45162 wx_cv_var_timezone=__timezone
45165 echo "$as_me: failed program was:" >&5
45166 sed 's/^/| /' conftest.$ac_ext >&5
45169 if test "$USE_DOS" = 0 ; then
45170 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45171 echo "$as_me: WARNING: no timezone variable" >&2;}
45176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45186 ac_cpp='$CPP $CPPFLAGS'
45187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45194 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45195 echo "${ECHO_T}$wx_cv_var_timezone" >&6
45197 if test "x$wx_cv_var_timezone" != x ; then
45198 cat >>confdefs.h <<_ACEOF
45199 #define WX_TIMEZONE $wx_cv_var_timezone
45205 for ac_func in localtime
45207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45208 echo "$as_me:$LINENO: checking for $ac_func" >&5
45209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45210 if eval "test \"\${$as_ac_var+set}\" = set"; then
45211 echo $ECHO_N "(cached) $ECHO_C" >&6
45213 cat >conftest.$ac_ext <<_ACEOF
45216 cat confdefs.h >>conftest.$ac_ext
45217 cat >>conftest.$ac_ext <<_ACEOF
45218 /* end confdefs.h. */
45219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45221 #define $ac_func innocuous_$ac_func
45223 /* System header to define __stub macros and hopefully few prototypes,
45224 which can conflict with char $ac_func (); below.
45225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45226 <limits.h> exists even on freestanding compilers. */
45229 # include <limits.h>
45231 # include <assert.h>
45236 /* Override any gcc2 internal prototype to avoid an error. */
45241 /* We use char because int might match the return type of a gcc2
45242 builtin and then its argument prototype would still apply. */
45244 /* The GNU C library defines this for functions which it implements
45245 to always fail with ENOSYS. Some functions are actually named
45246 something starting with __ and the normal name is an alias. */
45247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45250 char (*f) () = $ac_func;
45259 return f != $ac_func;
45264 rm -f conftest.$ac_objext conftest$ac_exeext
45265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45266 (eval $ac_link) 2>conftest.er1
45268 grep -v '^ *+' conftest.er1 >conftest.err
45270 cat conftest.err >&5
45271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45272 (exit $ac_status); } &&
45273 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45275 (eval $ac_try) 2>&5
45277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45278 (exit $ac_status); }; } &&
45279 { ac_try='test -s conftest$ac_exeext'
45280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45281 (eval $ac_try) 2>&5
45283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45284 (exit $ac_status); }; }; then
45285 eval "$as_ac_var=yes"
45287 echo "$as_me: failed program was:" >&5
45288 sed 's/^/| /' conftest.$ac_ext >&5
45290 eval "$as_ac_var=no"
45292 rm -f conftest.err conftest.$ac_objext \
45293 conftest$ac_exeext conftest.$ac_ext
45295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45297 if test `eval echo '${'$as_ac_var'}'` = yes; then
45298 cat >>confdefs.h <<_ACEOF
45299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45306 if test "$ac_cv_func_localtime" = "yes"; then
45307 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45308 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
45309 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45310 echo $ECHO_N "(cached) $ECHO_C" >&6
45313 cat >conftest.$ac_ext <<_ACEOF
45316 cat confdefs.h >>conftest.$ac_ext
45317 cat >>conftest.$ac_ext <<_ACEOF
45318 /* end confdefs.h. */
45333 rm -f conftest.$ac_objext
45334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45335 (eval $ac_compile) 2>conftest.er1
45337 grep -v '^ *+' conftest.er1 >conftest.err
45339 cat conftest.err >&5
45340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45341 (exit $ac_status); } &&
45342 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45344 (eval $ac_try) 2>&5
45346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45347 (exit $ac_status); }; } &&
45348 { ac_try='test -s conftest.$ac_objext'
45349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45350 (eval $ac_try) 2>&5
45352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45353 (exit $ac_status); }; }; then
45355 wx_cv_struct_tm_has_gmtoff=yes
45358 echo "$as_me: failed program was:" >&5
45359 sed 's/^/| /' conftest.$ac_ext >&5
45361 wx_cv_struct_tm_has_gmtoff=no
45364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45367 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45368 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
45371 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45372 cat >>confdefs.h <<\_ACEOF
45373 #define WX_GMTOFF_IN_TM 1
45380 for ac_func in gettimeofday ftime
45382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45383 echo "$as_me:$LINENO: checking for $ac_func" >&5
45384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45385 if eval "test \"\${$as_ac_var+set}\" = set"; then
45386 echo $ECHO_N "(cached) $ECHO_C" >&6
45388 cat >conftest.$ac_ext <<_ACEOF
45391 cat confdefs.h >>conftest.$ac_ext
45392 cat >>conftest.$ac_ext <<_ACEOF
45393 /* end confdefs.h. */
45394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45396 #define $ac_func innocuous_$ac_func
45398 /* System header to define __stub macros and hopefully few prototypes,
45399 which can conflict with char $ac_func (); below.
45400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45401 <limits.h> exists even on freestanding compilers. */
45404 # include <limits.h>
45406 # include <assert.h>
45411 /* Override any gcc2 internal prototype to avoid an error. */
45416 /* We use char because int might match the return type of a gcc2
45417 builtin and then its argument prototype would still apply. */
45419 /* The GNU C library defines this for functions which it implements
45420 to always fail with ENOSYS. Some functions are actually named
45421 something starting with __ and the normal name is an alias. */
45422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45425 char (*f) () = $ac_func;
45434 return f != $ac_func;
45439 rm -f conftest.$ac_objext conftest$ac_exeext
45440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45441 (eval $ac_link) 2>conftest.er1
45443 grep -v '^ *+' conftest.er1 >conftest.err
45445 cat conftest.err >&5
45446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45447 (exit $ac_status); } &&
45448 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45450 (eval $ac_try) 2>&5
45452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45453 (exit $ac_status); }; } &&
45454 { ac_try='test -s conftest$ac_exeext'
45455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45456 (eval $ac_try) 2>&5
45458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45459 (exit $ac_status); }; }; then
45460 eval "$as_ac_var=yes"
45462 echo "$as_me: failed program was:" >&5
45463 sed 's/^/| /' conftest.$ac_ext >&5
45465 eval "$as_ac_var=no"
45467 rm -f conftest.err conftest.$ac_objext \
45468 conftest$ac_exeext conftest.$ac_ext
45470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45472 if test `eval echo '${'$as_ac_var'}'` = yes; then
45473 cat >>confdefs.h <<_ACEOF
45474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45481 if test "$ac_cv_func_gettimeofday" = "yes"; then
45482 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45483 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
45484 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45485 echo $ECHO_N "(cached) $ECHO_C" >&6
45488 cat >conftest.$ac_ext <<_ACEOF
45491 cat confdefs.h >>conftest.$ac_ext
45492 cat >>conftest.$ac_ext <<_ACEOF
45493 /* end confdefs.h. */
45495 #include <sys/time.h>
45496 #include <unistd.h>
45503 gettimeofday(&tv, NULL);
45509 rm -f conftest.$ac_objext
45510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45511 (eval $ac_compile) 2>conftest.er1
45513 grep -v '^ *+' conftest.er1 >conftest.err
45515 cat conftest.err >&5
45516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45517 (exit $ac_status); } &&
45518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45520 (eval $ac_try) 2>&5
45522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45523 (exit $ac_status); }; } &&
45524 { ac_try='test -s conftest.$ac_objext'
45525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45526 (eval $ac_try) 2>&5
45528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45529 (exit $ac_status); }; }; then
45530 wx_cv_func_gettimeofday_has_2_args=yes
45532 echo "$as_me: failed program was:" >&5
45533 sed 's/^/| /' conftest.$ac_ext >&5
45535 cat >conftest.$ac_ext <<_ACEOF
45538 cat confdefs.h >>conftest.$ac_ext
45539 cat >>conftest.$ac_ext <<_ACEOF
45540 /* end confdefs.h. */
45542 #include <sys/time.h>
45543 #include <unistd.h>
45556 rm -f conftest.$ac_objext
45557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45558 (eval $ac_compile) 2>conftest.er1
45560 grep -v '^ *+' conftest.er1 >conftest.err
45562 cat conftest.err >&5
45563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45564 (exit $ac_status); } &&
45565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45567 (eval $ac_try) 2>&5
45569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45570 (exit $ac_status); }; } &&
45571 { ac_try='test -s conftest.$ac_objext'
45572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45573 (eval $ac_try) 2>&5
45575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45576 (exit $ac_status); }; }; then
45577 wx_cv_func_gettimeofday_has_2_args=no
45579 echo "$as_me: failed program was:" >&5
45580 sed 's/^/| /' conftest.$ac_ext >&5
45583 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45584 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45585 wx_cv_func_gettimeofday_has_2_args=unknown
45589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45595 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45596 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
45598 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45599 cat >>confdefs.h <<\_ACEOF
45600 #define WX_GETTIMEOFDAY_NO_TZ 1
45606 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45610 if test "$wxUSE_SOCKETS" = "yes"; then
45611 if test "$wxUSE_MGL" = "1"; then
45612 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45613 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45618 if test "$wxUSE_SOCKETS" = "yes"; then
45619 if test "$TOOLKIT" != "MSW"; then
45620 echo "$as_me:$LINENO: checking for socket" >&5
45621 echo $ECHO_N "checking for socket... $ECHO_C" >&6
45622 if test "${ac_cv_func_socket+set}" = set; then
45623 echo $ECHO_N "(cached) $ECHO_C" >&6
45625 cat >conftest.$ac_ext <<_ACEOF
45628 cat confdefs.h >>conftest.$ac_ext
45629 cat >>conftest.$ac_ext <<_ACEOF
45630 /* end confdefs.h. */
45631 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45633 #define socket innocuous_socket
45635 /* System header to define __stub macros and hopefully few prototypes,
45636 which can conflict with char socket (); below.
45637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45638 <limits.h> exists even on freestanding compilers. */
45641 # include <limits.h>
45643 # include <assert.h>
45648 /* Override any gcc2 internal prototype to avoid an error. */
45653 /* We use char because int might match the return type of a gcc2
45654 builtin and then its argument prototype would still apply. */
45656 /* The GNU C library defines this for functions which it implements
45657 to always fail with ENOSYS. Some functions are actually named
45658 something starting with __ and the normal name is an alias. */
45659 #if defined (__stub_socket) || defined (__stub___socket)
45662 char (*f) () = socket;
45671 return f != socket;
45676 rm -f conftest.$ac_objext conftest$ac_exeext
45677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45678 (eval $ac_link) 2>conftest.er1
45680 grep -v '^ *+' conftest.er1 >conftest.err
45682 cat conftest.err >&5
45683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45684 (exit $ac_status); } &&
45685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45687 (eval $ac_try) 2>&5
45689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45690 (exit $ac_status); }; } &&
45691 { ac_try='test -s conftest$ac_exeext'
45692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45693 (eval $ac_try) 2>&5
45695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45696 (exit $ac_status); }; }; then
45697 ac_cv_func_socket=yes
45699 echo "$as_me: failed program was:" >&5
45700 sed 's/^/| /' conftest.$ac_ext >&5
45702 ac_cv_func_socket=no
45704 rm -f conftest.err conftest.$ac_objext \
45705 conftest$ac_exeext conftest.$ac_ext
45707 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45708 echo "${ECHO_T}$ac_cv_func_socket" >&6
45709 if test $ac_cv_func_socket = yes; then
45713 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45714 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
45715 if test "${ac_cv_lib_socket_socket+set}" = set; then
45716 echo $ECHO_N "(cached) $ECHO_C" >&6
45718 ac_check_lib_save_LIBS=$LIBS
45719 LIBS="-lsocket $LIBS"
45720 cat >conftest.$ac_ext <<_ACEOF
45723 cat confdefs.h >>conftest.$ac_ext
45724 cat >>conftest.$ac_ext <<_ACEOF
45725 /* end confdefs.h. */
45727 /* Override any gcc2 internal prototype to avoid an error. */
45731 /* We use char because int might match the return type of a gcc2
45732 builtin and then its argument prototype would still apply. */
45742 rm -f conftest.$ac_objext conftest$ac_exeext
45743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45744 (eval $ac_link) 2>conftest.er1
45746 grep -v '^ *+' conftest.er1 >conftest.err
45748 cat conftest.err >&5
45749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45750 (exit $ac_status); } &&
45751 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45753 (eval $ac_try) 2>&5
45755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45756 (exit $ac_status); }; } &&
45757 { ac_try='test -s conftest$ac_exeext'
45758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45759 (eval $ac_try) 2>&5
45761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45762 (exit $ac_status); }; }; then
45763 ac_cv_lib_socket_socket=yes
45765 echo "$as_me: failed program was:" >&5
45766 sed 's/^/| /' conftest.$ac_ext >&5
45768 ac_cv_lib_socket_socket=no
45770 rm -f conftest.err conftest.$ac_objext \
45771 conftest$ac_exeext conftest.$ac_ext
45772 LIBS=$ac_check_lib_save_LIBS
45774 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45775 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
45776 if test $ac_cv_lib_socket_socket = yes; then
45777 if test "$INET_LINK" != " -lsocket"; then
45778 INET_LINK="$INET_LINK -lsocket"
45782 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45783 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45796 if test "$wxUSE_SOCKETS" = "yes" ; then
45797 if test "$TOOLKIT" != "MSW"; then
45798 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45799 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
45800 if test "${wx_cv_type_getsockname3+set}" = set; then
45801 echo $ECHO_N "(cached) $ECHO_C" >&6
45805 ac_cpp='$CXXCPP $CPPFLAGS'
45806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45810 cat >conftest.$ac_ext <<_ACEOF
45813 cat confdefs.h >>conftest.$ac_ext
45814 cat >>conftest.$ac_ext <<_ACEOF
45815 /* end confdefs.h. */
45817 #include <sys/types.h>
45818 #include <sys/socket.h>
45825 getsockname(0, 0, &len);
45831 rm -f conftest.$ac_objext
45832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45833 (eval $ac_compile) 2>conftest.er1
45835 grep -v '^ *+' conftest.er1 >conftest.err
45837 cat conftest.err >&5
45838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45839 (exit $ac_status); } &&
45840 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45842 (eval $ac_try) 2>&5
45844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45845 (exit $ac_status); }; } &&
45846 { ac_try='test -s conftest.$ac_objext'
45847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45848 (eval $ac_try) 2>&5
45850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45851 (exit $ac_status); }; }; then
45852 wx_cv_type_getsockname3=socklen_t
45854 echo "$as_me: failed program was:" >&5
45855 sed 's/^/| /' conftest.$ac_ext >&5
45858 CFLAGS_OLD="$CFLAGS"
45859 if test "$GCC" = yes ; then
45860 CFLAGS="-Werror $CFLAGS"
45863 cat >conftest.$ac_ext <<_ACEOF
45866 cat confdefs.h >>conftest.$ac_ext
45867 cat >>conftest.$ac_ext <<_ACEOF
45868 /* end confdefs.h. */
45870 #include <sys/types.h>
45871 #include <sys/socket.h>
45878 getsockname(0, 0, &len);
45884 rm -f conftest.$ac_objext
45885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45886 (eval $ac_compile) 2>conftest.er1
45888 grep -v '^ *+' conftest.er1 >conftest.err
45890 cat conftest.err >&5
45891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45892 (exit $ac_status); } &&
45893 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45895 (eval $ac_try) 2>&5
45897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45898 (exit $ac_status); }; } &&
45899 { ac_try='test -s conftest.$ac_objext'
45900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45901 (eval $ac_try) 2>&5
45903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45904 (exit $ac_status); }; }; then
45905 wx_cv_type_getsockname3=size_t
45907 echo "$as_me: failed program was:" >&5
45908 sed 's/^/| /' conftest.$ac_ext >&5
45910 cat >conftest.$ac_ext <<_ACEOF
45913 cat confdefs.h >>conftest.$ac_ext
45914 cat >>conftest.$ac_ext <<_ACEOF
45915 /* end confdefs.h. */
45917 #include <sys/types.h>
45918 #include <sys/socket.h>
45925 getsockname(0, 0, &len);
45931 rm -f conftest.$ac_objext
45932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45933 (eval $ac_compile) 2>conftest.er1
45935 grep -v '^ *+' conftest.er1 >conftest.err
45937 cat conftest.err >&5
45938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45939 (exit $ac_status); } &&
45940 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45942 (eval $ac_try) 2>&5
45944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45945 (exit $ac_status); }; } &&
45946 { ac_try='test -s conftest.$ac_objext'
45947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45948 (eval $ac_try) 2>&5
45950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45951 (exit $ac_status); }; }; then
45952 wx_cv_type_getsockname3=int
45954 echo "$as_me: failed program was:" >&5
45955 sed 's/^/| /' conftest.$ac_ext >&5
45957 wx_cv_type_getsockname3=unknown
45960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45965 CFLAGS="$CFLAGS_OLD"
45969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45971 ac_cpp='$CPP $CPPFLAGS'
45972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45978 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45979 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
45981 if test "$wx_cv_type_getsockname3" = "unknown"; then
45983 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45984 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45986 cat >>confdefs.h <<_ACEOF
45987 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45991 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45992 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
45993 if test "${wx_cv_type_getsockopt5+set}" = set; then
45994 echo $ECHO_N "(cached) $ECHO_C" >&6
45998 ac_cpp='$CXXCPP $CPPFLAGS'
45999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46003 cat >conftest.$ac_ext <<_ACEOF
46006 cat confdefs.h >>conftest.$ac_ext
46007 cat >>conftest.$ac_ext <<_ACEOF
46008 /* end confdefs.h. */
46010 #include <sys/types.h>
46011 #include <sys/socket.h>
46018 getsockopt(0, 0, 0, 0, &len);
46024 rm -f conftest.$ac_objext
46025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46026 (eval $ac_compile) 2>conftest.er1
46028 grep -v '^ *+' conftest.er1 >conftest.err
46030 cat conftest.err >&5
46031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46032 (exit $ac_status); } &&
46033 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46035 (eval $ac_try) 2>&5
46037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46038 (exit $ac_status); }; } &&
46039 { ac_try='test -s conftest.$ac_objext'
46040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46041 (eval $ac_try) 2>&5
46043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46044 (exit $ac_status); }; }; then
46045 wx_cv_type_getsockopt5=socklen_t
46047 echo "$as_me: failed program was:" >&5
46048 sed 's/^/| /' conftest.$ac_ext >&5
46051 cat >conftest.$ac_ext <<_ACEOF
46054 cat confdefs.h >>conftest.$ac_ext
46055 cat >>conftest.$ac_ext <<_ACEOF
46056 /* end confdefs.h. */
46058 #include <sys/types.h>
46059 #include <sys/socket.h>
46066 getsockopt(0, 0, 0, 0, &len);
46072 rm -f conftest.$ac_objext
46073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46074 (eval $ac_compile) 2>conftest.er1
46076 grep -v '^ *+' conftest.er1 >conftest.err
46078 cat conftest.err >&5
46079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46080 (exit $ac_status); } &&
46081 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46083 (eval $ac_try) 2>&5
46085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46086 (exit $ac_status); }; } &&
46087 { ac_try='test -s conftest.$ac_objext'
46088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46089 (eval $ac_try) 2>&5
46091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46092 (exit $ac_status); }; }; then
46093 wx_cv_type_getsockopt5=size_t
46095 echo "$as_me: failed program was:" >&5
46096 sed 's/^/| /' conftest.$ac_ext >&5
46098 cat >conftest.$ac_ext <<_ACEOF
46101 cat confdefs.h >>conftest.$ac_ext
46102 cat >>conftest.$ac_ext <<_ACEOF
46103 /* end confdefs.h. */
46105 #include <sys/types.h>
46106 #include <sys/socket.h>
46113 getsockopt(0, 0, 0, 0, &len);
46119 rm -f conftest.$ac_objext
46120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46121 (eval $ac_compile) 2>conftest.er1
46123 grep -v '^ *+' conftest.er1 >conftest.err
46125 cat conftest.err >&5
46126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46127 (exit $ac_status); } &&
46128 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46130 (eval $ac_try) 2>&5
46132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46133 (exit $ac_status); }; } &&
46134 { ac_try='test -s conftest.$ac_objext'
46135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46136 (eval $ac_try) 2>&5
46138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46139 (exit $ac_status); }; }; then
46140 wx_cv_type_getsockopt5=int
46142 echo "$as_me: failed program was:" >&5
46143 sed 's/^/| /' conftest.$ac_ext >&5
46145 wx_cv_type_getsockopt5=unknown
46148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46157 ac_cpp='$CPP $CPPFLAGS'
46158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46164 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46165 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
46167 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46169 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46170 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46172 cat >>confdefs.h <<_ACEOF
46173 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46180 if test "$wxUSE_SOCKETS" = "yes" ; then
46181 cat >>confdefs.h <<\_ACEOF
46182 #define wxUSE_SOCKETS 1
46185 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46188 if test "$wxUSE_PROTOCOL" = "yes"; then
46189 if test "$wxUSE_SOCKETS" != "yes"; then
46190 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46191 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46196 if test "$wxUSE_PROTOCOL" = "yes"; then
46197 cat >>confdefs.h <<\_ACEOF
46198 #define wxUSE_PROTOCOL 1
46202 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46203 cat >>confdefs.h <<\_ACEOF
46204 #define wxUSE_PROTOCOL_HTTP 1
46208 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46209 cat >>confdefs.h <<\_ACEOF
46210 #define wxUSE_PROTOCOL_FTP 1
46214 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46215 cat >>confdefs.h <<\_ACEOF
46216 #define wxUSE_PROTOCOL_FILE 1
46221 if test "$wxUSE_FS_INET" = "yes"; then
46222 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46223 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46228 if test "$wxUSE_URL" = "yes"; then
46229 if test "$wxUSE_PROTOCOL" != "yes"; then
46230 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46231 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46234 if test "$wxUSE_URL" = "yes"; then
46235 cat >>confdefs.h <<\_ACEOF
46236 #define wxUSE_URL 1
46242 if test "$wxUSE_VARIANT" = "yes"; then
46243 cat >>confdefs.h <<\_ACEOF
46244 #define wxUSE_VARIANT 1
46249 if test "$wxUSE_FS_INET" = "yes"; then
46250 cat >>confdefs.h <<\_ACEOF
46251 #define wxUSE_FS_INET 1
46257 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46260 if test "$TOOLKIT" = "MSW"; then
46263 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
46264 if test "$USE_DARWIN" = 1; then
46265 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46266 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
46268 ac_cpp='$CXXCPP $CPPFLAGS'
46269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46273 cat >conftest.$ac_ext <<_ACEOF
46276 cat confdefs.h >>conftest.$ac_ext
46277 cat >>conftest.$ac_ext <<_ACEOF
46278 /* end confdefs.h. */
46279 #include <IOKit/hid/IOHIDLib.h>
46283 IOHIDQueueInterface *qi = NULL;
46284 IOHIDCallbackFunction cb = NULL;
46285 qi->setEventCallout(NULL, cb, NULL, NULL);
46290 rm -f conftest.$ac_objext
46291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46292 (eval $ac_compile) 2>conftest.er1
46294 grep -v '^ *+' conftest.er1 >conftest.err
46296 cat conftest.err >&5
46297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46298 (exit $ac_status); } &&
46299 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46301 (eval $ac_try) 2>&5
46303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46304 (exit $ac_status); }; } &&
46305 { ac_try='test -s conftest.$ac_objext'
46306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46307 (eval $ac_try) 2>&5
46309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46310 (exit $ac_status); }; }; then
46314 echo "$as_me: failed program was:" >&5
46315 sed 's/^/| /' conftest.$ac_ext >&5
46318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46320 ac_cpp='$CPP $CPPFLAGS'
46321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46325 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46326 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
46330 if test "$wxUSE_MGL" != "1"; then
46331 echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
46332 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6
46333 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
46334 echo $ECHO_N "(cached) $ECHO_C" >&6
46336 cat >conftest.$ac_ext <<_ACEOF
46339 cat confdefs.h >>conftest.$ac_ext
46340 cat >>conftest.$ac_ext <<_ACEOF
46341 /* end confdefs.h. */
46342 $ac_includes_default
46344 #include <linux/joystick.h>
46346 rm -f conftest.$ac_objext
46347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46348 (eval $ac_compile) 2>conftest.er1
46350 grep -v '^ *+' conftest.er1 >conftest.err
46352 cat conftest.err >&5
46353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46354 (exit $ac_status); } &&
46355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46357 (eval $ac_try) 2>&5
46359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46360 (exit $ac_status); }; } &&
46361 { ac_try='test -s conftest.$ac_objext'
46362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46363 (eval $ac_try) 2>&5
46365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46366 (exit $ac_status); }; }; then
46367 ac_cv_header_linux_joystick_h=yes
46369 echo "$as_me: failed program was:" >&5
46370 sed 's/^/| /' conftest.$ac_ext >&5
46372 ac_cv_header_linux_joystick_h=no
46374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46376 echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
46377 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6
46378 if test $ac_cv_header_linux_joystick_h = yes; then
46386 if test "$wxUSE_JOYSTICK" = "yes"; then
46387 cat >>confdefs.h <<\_ACEOF
46388 #define wxUSE_JOYSTICK 1
46391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46393 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46394 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46400 if test "$wxUSE_FONTMAP" = "yes" ; then
46401 cat >>confdefs.h <<\_ACEOF
46402 #define wxUSE_FONTMAP 1
46407 if test "$wxUSE_UNICODE" = "yes" ; then
46408 cat >>confdefs.h <<\_ACEOF
46409 #define wxUSE_UNICODE 1
46413 if test "$USE_WIN32" != 1; then
46414 wxUSE_UNICODE_MSLU=no
46417 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46418 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46419 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
46420 if test "${ac_cv_lib_unicows_main+set}" = set; then
46421 echo $ECHO_N "(cached) $ECHO_C" >&6
46423 ac_check_lib_save_LIBS=$LIBS
46424 LIBS="-lunicows $LIBS"
46425 cat >conftest.$ac_ext <<_ACEOF
46428 cat confdefs.h >>conftest.$ac_ext
46429 cat >>conftest.$ac_ext <<_ACEOF
46430 /* end confdefs.h. */
46441 rm -f conftest.$ac_objext conftest$ac_exeext
46442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46443 (eval $ac_link) 2>conftest.er1
46445 grep -v '^ *+' conftest.er1 >conftest.err
46447 cat conftest.err >&5
46448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46449 (exit $ac_status); } &&
46450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46452 (eval $ac_try) 2>&5
46454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46455 (exit $ac_status); }; } &&
46456 { ac_try='test -s conftest$ac_exeext'
46457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46458 (eval $ac_try) 2>&5
46460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46461 (exit $ac_status); }; }; then
46462 ac_cv_lib_unicows_main=yes
46464 echo "$as_me: failed program was:" >&5
46465 sed 's/^/| /' conftest.$ac_ext >&5
46467 ac_cv_lib_unicows_main=no
46469 rm -f conftest.err conftest.$ac_objext \
46470 conftest$ac_exeext conftest.$ac_ext
46471 LIBS=$ac_check_lib_save_LIBS
46473 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46474 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
46475 if test $ac_cv_lib_unicows_main = yes; then
46477 cat >>confdefs.h <<\_ACEOF
46478 #define wxUSE_UNICODE_MSLU 1
46484 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46485 Applications will only run on Windows NT/2000/XP!" >&5
46486 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46487 Applications will only run on Windows NT/2000/XP!" >&2;}
46488 wxUSE_UNICODE_MSLU=no
46495 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46496 cat >>confdefs.h <<\_ACEOF
46497 #define wxUSE_UNICODE_UTF8 1
46501 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46502 cat >>confdefs.h <<\_ACEOF
46503 #define wxUSE_UTF8_LOCALE_ONLY 1
46509 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
46510 cat >>confdefs.h <<\_ACEOF
46511 #define wxUSE_EXPERIMENTAL_PRINTF 1
46517 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46518 cat >>confdefs.h <<\_ACEOF
46519 #define wxUSE_POSTSCRIPT 1
46524 cat >>confdefs.h <<\_ACEOF
46525 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46529 cat >>confdefs.h <<\_ACEOF
46530 #define wxUSE_NORMALIZED_PS_FONTS 1
46535 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46536 cat >>confdefs.h <<\_ACEOF
46537 #define wxUSE_CONSTRAINTS 1
46540 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46543 if test "$wxUSE_MDI" = "yes"; then
46544 cat >>confdefs.h <<\_ACEOF
46545 #define wxUSE_MDI 1
46549 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46550 cat >>confdefs.h <<\_ACEOF
46551 #define wxUSE_MDI_ARCHITECTURE 1
46554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46558 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46559 cat >>confdefs.h <<\_ACEOF
46560 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46563 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46564 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
46569 if test "$wxUSE_HELP" = "yes"; then
46570 cat >>confdefs.h <<\_ACEOF
46571 #define wxUSE_HELP 1
46574 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46576 if test "$wxUSE_MSW" = 1; then
46577 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46578 cat >>confdefs.h <<\_ACEOF
46579 #define wxUSE_MS_HTML_HELP 1
46585 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46586 if test "$wxUSE_HTML" = "yes"; then
46587 cat >>confdefs.h <<\_ACEOF
46588 #define wxUSE_WXHTML_HELP 1
46592 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46593 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46594 wxUSE_WXHTML_HELP=no
46599 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46600 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46601 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
46602 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
46604 cat >>confdefs.h <<\_ACEOF
46605 #define wxUSE_PRINTING_ARCHITECTURE 1
46609 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46614 if test "$wxUSE_METAFILE" = "yes"; then
46615 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46616 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46617 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46623 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46624 -o "$wxUSE_CLIPBOARD" = "yes" \
46625 -o "$wxUSE_OLE" = "yes" \
46626 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46627 echo "$as_me:$LINENO: checking for ole2.h" >&5
46628 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6
46629 if test "${ac_cv_header_ole2_h+set}" = set; then
46630 echo $ECHO_N "(cached) $ECHO_C" >&6
46632 cat >conftest.$ac_ext <<_ACEOF
46635 cat confdefs.h >>conftest.$ac_ext
46636 cat >>conftest.$ac_ext <<_ACEOF
46637 /* end confdefs.h. */
46642 rm -f conftest.$ac_objext
46643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46644 (eval $ac_compile) 2>conftest.er1
46646 grep -v '^ *+' conftest.er1 >conftest.err
46648 cat conftest.err >&5
46649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46650 (exit $ac_status); } &&
46651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46653 (eval $ac_try) 2>&5
46655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46656 (exit $ac_status); }; } &&
46657 { ac_try='test -s conftest.$ac_objext'
46658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46659 (eval $ac_try) 2>&5
46661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46662 (exit $ac_status); }; }; then
46663 ac_cv_header_ole2_h=yes
46665 echo "$as_me: failed program was:" >&5
46666 sed 's/^/| /' conftest.$ac_ext >&5
46668 ac_cv_header_ole2_h=no
46670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46672 echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46673 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6
46677 if test "$ac_cv_header_ole2_h" = "yes" ; then
46678 if test "$GCC" = yes ; then
46679 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46680 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
46681 cat >conftest.$ac_ext <<_ACEOF
46684 cat confdefs.h >>conftest.$ac_ext
46685 cat >>conftest.$ac_ext <<_ACEOF
46686 /* end confdefs.h. */
46687 #include <windows.h>
46697 rm -f conftest.$ac_objext
46698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46699 (eval $ac_compile) 2>conftest.er1
46701 grep -v '^ *+' conftest.er1 >conftest.err
46703 cat conftest.err >&5
46704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46705 (exit $ac_status); } &&
46706 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46708 (eval $ac_try) 2>&5
46710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46711 (exit $ac_status); }; } &&
46712 { ac_try='test -s conftest.$ac_objext'
46713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46714 (eval $ac_try) 2>&5
46716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46717 (exit $ac_status); }; }; then
46718 echo "$as_me:$LINENO: result: no" >&5
46719 echo "${ECHO_T}no" >&6
46721 echo "$as_me: failed program was:" >&5
46722 sed 's/^/| /' conftest.$ac_ext >&5
46724 echo "$as_me:$LINENO: result: yes" >&5
46725 echo "${ECHO_T}yes" >&6
46726 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46729 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46730 if test "$wxUSE_OLE" = "yes" ; then
46731 cat >>confdefs.h <<\_ACEOF
46732 #define wxUSE_OLE 1
46735 cat >>confdefs.h <<\_ACEOF
46736 #define wxUSE_OLE_AUTOMATION 1
46739 cat >>confdefs.h <<\_ACEOF
46740 #define wxUSE_ACTIVEX 1
46743 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46747 if test "$wxUSE_DATAOBJ" = "yes" ; then
46748 cat >>confdefs.h <<\_ACEOF
46749 #define wxUSE_DATAOBJ 1
46754 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46755 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46758 wxUSE_DRAG_AND_DROP=no
46763 if test "$wxUSE_METAFILE" = "yes"; then
46764 cat >>confdefs.h <<\_ACEOF
46765 #define wxUSE_METAFILE 1
46769 cat >>confdefs.h <<\_ACEOF
46770 #define wxUSE_ENH_METAFILE 1
46776 if test "$wxUSE_IPC" = "yes"; then
46777 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46778 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46779 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46783 if test "$wxUSE_IPC" = "yes"; then
46784 cat >>confdefs.h <<\_ACEOF
46785 #define wxUSE_IPC 1
46788 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46792 if test "$wxUSE_DATAOBJ" = "yes"; then
46793 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46794 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46795 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46798 cat >>confdefs.h <<\_ACEOF
46799 #define wxUSE_DATAOBJ 1
46804 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46805 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46807 wxUSE_DRAG_AND_DROP=no
46810 if test "$wxUSE_CLIPBOARD" = "yes"; then
46811 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46812 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46813 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46817 if test "$wxUSE_CLIPBOARD" = "yes"; then
46818 cat >>confdefs.h <<\_ACEOF
46819 #define wxUSE_CLIPBOARD 1
46825 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46826 if test "$wxUSE_GTK" = 1; then
46827 if test "$WXGTK12" != 1; then
46828 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46829 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46830 wxUSE_DRAG_AND_DROP=no
46834 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46835 "$wxUSE_DFB" = 1; then
46836 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46837 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46838 wxUSE_DRAG_AND_DROP=no
46841 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46842 cat >>confdefs.h <<\_ACEOF
46843 #define wxUSE_DRAG_AND_DROP 1
46850 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46851 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46854 if test "$wxUSE_SPLINES" = "yes" ; then
46855 cat >>confdefs.h <<\_ACEOF
46856 #define wxUSE_SPLINES 1
46861 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46862 cat >>confdefs.h <<\_ACEOF
46863 #define wxUSE_MOUSEWHEEL 1
46870 if test "$wxUSE_CONTROLS" = "yes"; then
46874 if test "$wxUSE_ACCEL" = "yes"; then
46875 cat >>confdefs.h <<\_ACEOF
46876 #define wxUSE_ACCEL 1
46882 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46883 cat >>confdefs.h <<\_ACEOF
46884 #define wxUSE_ANIMATIONCTRL 1
46888 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46891 if test "$wxUSE_BUTTON" = "yes"; then
46892 cat >>confdefs.h <<\_ACEOF
46893 #define wxUSE_BUTTON 1
46899 if test "$wxUSE_BMPBUTTON" = "yes"; then
46900 cat >>confdefs.h <<\_ACEOF
46901 #define wxUSE_BMPBUTTON 1
46907 if test "$wxUSE_CALCTRL" = "yes"; then
46908 cat >>confdefs.h <<\_ACEOF
46909 #define wxUSE_CALENDARCTRL 1
46913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46916 if test "$wxUSE_CARET" = "yes"; then
46917 cat >>confdefs.h <<\_ACEOF
46918 #define wxUSE_CARET 1
46922 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46925 if test "$wxUSE_COLLPANE" = "yes"; then
46926 cat >>confdefs.h <<\_ACEOF
46927 #define wxUSE_COLLPANE 1
46931 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46934 if test "$wxUSE_COMBOBOX" = "yes"; then
46935 cat >>confdefs.h <<\_ACEOF
46936 #define wxUSE_COMBOBOX 1
46942 if test "$wxUSE_COMBOCTRL" = "yes"; then
46943 cat >>confdefs.h <<\_ACEOF
46944 #define wxUSE_COMBOCTRL 1
46950 if test "$wxUSE_CHOICE" = "yes"; then
46951 cat >>confdefs.h <<\_ACEOF
46952 #define wxUSE_CHOICE 1
46958 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46959 cat >>confdefs.h <<\_ACEOF
46960 #define wxUSE_CHOICEBOOK 1
46966 if test "$wxUSE_CHECKBOX" = "yes"; then
46967 cat >>confdefs.h <<\_ACEOF
46968 #define wxUSE_CHECKBOX 1
46974 if test "$wxUSE_CHECKLST" = "yes"; then
46975 cat >>confdefs.h <<\_ACEOF
46976 #define wxUSE_CHECKLISTBOX 1
46980 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
46983 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46984 cat >>confdefs.h <<\_ACEOF
46985 #define wxUSE_COLOURPICKERCTRL 1
46991 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46992 cat >>confdefs.h <<\_ACEOF
46993 #define wxUSE_DATEPICKCTRL 1
46999 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47000 cat >>confdefs.h <<\_ACEOF
47001 #define wxUSE_DIRPICKERCTRL 1
47007 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47008 cat >>confdefs.h <<\_ACEOF
47009 #define wxUSE_FILEPICKERCTRL 1
47015 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47016 cat >>confdefs.h <<\_ACEOF
47017 #define wxUSE_FONTPICKERCTRL 1
47023 if test "$wxUSE_DISPLAY" = "yes"; then
47024 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47025 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47026 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47029 cat >>confdefs.h <<\_ACEOF
47030 #define wxUSE_DISPLAY 1
47033 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
47037 if test "$wxUSE_DETECT_SM" = "yes"; then
47038 cat >>confdefs.h <<\_ACEOF
47039 #define wxUSE_DETECT_SM 1
47044 if test "$wxUSE_GAUGE" = "yes"; then
47045 cat >>confdefs.h <<\_ACEOF
47046 #define wxUSE_GAUGE 1
47052 if test "$wxUSE_GRID" = "yes"; then
47053 cat >>confdefs.h <<\_ACEOF
47054 #define wxUSE_GRID 1
47058 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47061 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47062 cat >>confdefs.h <<\_ACEOF
47063 #define wxUSE_HYPERLINKCTRL 1
47069 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47070 cat >>confdefs.h <<\_ACEOF
47071 #define wxUSE_BITMAPCOMBOBOX 1
47077 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47078 cat >>confdefs.h <<\_ACEOF
47079 #define wxUSE_DATAVIEWCTRL 1
47083 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47086 if test "$wxUSE_IMAGLIST" = "yes"; then
47087 cat >>confdefs.h <<\_ACEOF
47088 #define wxUSE_IMAGLIST 1
47093 if test "$wxUSE_LISTBOOK" = "yes"; then
47094 cat >>confdefs.h <<\_ACEOF
47095 #define wxUSE_LISTBOOK 1
47101 if test "$wxUSE_LISTBOX" = "yes"; then
47102 cat >>confdefs.h <<\_ACEOF
47103 #define wxUSE_LISTBOX 1
47107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
47110 if test "$wxUSE_LISTCTRL" = "yes"; then
47111 if test "$wxUSE_IMAGLIST" = "yes"; then
47112 cat >>confdefs.h <<\_ACEOF
47113 #define wxUSE_LISTCTRL 1
47117 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47119 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47120 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47124 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47125 cat >>confdefs.h <<\_ACEOF
47126 #define wxUSE_EDITABLELISTBOX 1
47130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
47133 if test "$wxUSE_NOTEBOOK" = "yes"; then
47134 cat >>confdefs.h <<\_ACEOF
47135 #define wxUSE_NOTEBOOK 1
47139 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47142 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47143 cat >>confdefs.h <<\_ACEOF
47144 #define wxUSE_ODCOMBOBOX 1
47148 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47152 if test "$wxUSE_RADIOBOX" = "yes"; then
47153 cat >>confdefs.h <<\_ACEOF
47154 #define wxUSE_RADIOBOX 1
47160 if test "$wxUSE_RADIOBTN" = "yes"; then
47161 cat >>confdefs.h <<\_ACEOF
47162 #define wxUSE_RADIOBTN 1
47168 if test "$wxUSE_SASH" = "yes"; then
47169 cat >>confdefs.h <<\_ACEOF
47170 #define wxUSE_SASH 1
47173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47176 if test "$wxUSE_SCROLLBAR" = "yes"; then
47177 cat >>confdefs.h <<\_ACEOF
47178 #define wxUSE_SCROLLBAR 1
47182 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
47185 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47186 cat >>confdefs.h <<\_ACEOF
47187 #define wxUSE_SEARCHCTRL 1
47193 if test "$wxUSE_SLIDER" = "yes"; then
47194 cat >>confdefs.h <<\_ACEOF
47195 #define wxUSE_SLIDER 1
47201 if test "$wxUSE_SPINBTN" = "yes"; then
47202 cat >>confdefs.h <<\_ACEOF
47203 #define wxUSE_SPINBTN 1
47209 if test "$wxUSE_SPINCTRL" = "yes"; then
47210 cat >>confdefs.h <<\_ACEOF
47211 #define wxUSE_SPINCTRL 1
47217 if test "$wxUSE_SPLITTER" = "yes"; then
47218 cat >>confdefs.h <<\_ACEOF
47219 #define wxUSE_SPLITTER 1
47222 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47225 if test "$wxUSE_STATBMP" = "yes"; then
47226 cat >>confdefs.h <<\_ACEOF
47227 #define wxUSE_STATBMP 1
47233 if test "$wxUSE_STATBOX" = "yes"; then
47234 cat >>confdefs.h <<\_ACEOF
47235 #define wxUSE_STATBOX 1
47241 if test "$wxUSE_STATTEXT" = "yes"; then
47242 cat >>confdefs.h <<\_ACEOF
47243 #define wxUSE_STATTEXT 1
47249 if test "$wxUSE_STATLINE" = "yes"; then
47250 cat >>confdefs.h <<\_ACEOF
47251 #define wxUSE_STATLINE 1
47257 if test "$wxUSE_STATUSBAR" = "yes"; then
47258 cat >>confdefs.h <<\_ACEOF
47259 #define wxUSE_NATIVE_STATUSBAR 1
47262 cat >>confdefs.h <<\_ACEOF
47263 #define wxUSE_STATUSBAR 1
47268 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47271 if test "$wxUSE_TAB_DIALOG" = "yes"; then
47272 cat >>confdefs.h <<\_ACEOF
47273 #define wxUSE_TAB_DIALOG 1
47278 if test "$wxUSE_TEXTCTRL" = "yes"; then
47279 cat >>confdefs.h <<\_ACEOF
47280 #define wxUSE_TEXTCTRL 1
47284 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47287 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47288 if test "$wxUSE_COCOA" = 1 ; then
47289 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47290 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47294 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47295 cat >>confdefs.h <<\_ACEOF
47296 #define wxUSE_TOGGLEBTN 1
47303 if test "$wxUSE_TOOLBAR" = "yes"; then
47304 cat >>confdefs.h <<\_ACEOF
47305 #define wxUSE_TOOLBAR 1
47310 if test "$wxUSE_UNIVERSAL" = "yes"; then
47311 wxUSE_TOOLBAR_NATIVE="no"
47313 wxUSE_TOOLBAR_NATIVE="yes"
47314 cat >>confdefs.h <<\_ACEOF
47315 #define wxUSE_TOOLBAR_NATIVE 1
47320 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47323 if test "$wxUSE_TOOLTIPS" = "yes"; then
47324 if test "$wxUSE_MOTIF" = 1; then
47325 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47326 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47328 if test "$wxUSE_UNIVERSAL" = "yes"; then
47329 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47330 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47332 cat >>confdefs.h <<\_ACEOF
47333 #define wxUSE_TOOLTIPS 1
47340 if test "$wxUSE_TREEBOOK" = "yes"; then
47341 cat >>confdefs.h <<\_ACEOF
47342 #define wxUSE_TREEBOOK 1
47348 if test "$wxUSE_TOOLBOOK" = "yes"; then
47349 cat >>confdefs.h <<\_ACEOF
47350 #define wxUSE_TOOLBOOK 1
47356 if test "$wxUSE_TREECTRL" = "yes"; then
47357 if test "$wxUSE_IMAGLIST" = "yes"; then
47358 cat >>confdefs.h <<\_ACEOF
47359 #define wxUSE_TREECTRL 1
47363 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47365 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47366 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47370 if test "$wxUSE_POPUPWIN" = "yes"; then
47371 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
47372 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47373 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47375 if test "$wxUSE_PM" = 1; then
47376 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47377 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47379 cat >>confdefs.h <<\_ACEOF
47380 #define wxUSE_POPUPWIN 1
47383 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47390 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47391 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47392 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47393 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47395 cat >>confdefs.h <<\_ACEOF
47396 #define wxUSE_DIALUP_MANAGER 1
47399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47403 if test "$wxUSE_TIPWINDOW" = "yes"; then
47404 if test "$wxUSE_PM" = 1; then
47405 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47406 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47408 cat >>confdefs.h <<\_ACEOF
47409 #define wxUSE_TIPWINDOW 1
47415 if test "$USES_CONTROLS" = 1; then
47416 cat >>confdefs.h <<\_ACEOF
47417 #define wxUSE_CONTROLS 1
47423 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47424 cat >>confdefs.h <<\_ACEOF
47425 #define wxUSE_ACCESSIBILITY 1
47428 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47431 if test "$wxUSE_DC_CACHEING" = "yes"; then
47432 cat >>confdefs.h <<\_ACEOF
47433 #define wxUSE_DC_CACHEING 1
47438 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47439 cat >>confdefs.h <<\_ACEOF
47440 #define wxUSE_DRAGIMAGE 1
47443 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47446 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47447 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47448 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47449 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47451 cat >>confdefs.h <<\_ACEOF
47452 #define wxUSE_EXCEPTIONS 1
47455 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47460 if test "$wxUSE_HTML" = "yes"; then
47461 cat >>confdefs.h <<\_ACEOF
47462 #define wxUSE_HTML 1
47466 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47467 if test "$wxUSE_MAC" = 1; then
47468 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47471 if test "$wxUSE_WEBKIT" = "yes"; then
47472 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47473 old_CPPFLAGS="$CPPFLAGS"
47474 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47475 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47476 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
47477 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47478 echo $ECHO_N "(cached) $ECHO_C" >&6
47480 cat >conftest.$ac_ext <<_ACEOF
47483 cat confdefs.h >>conftest.$ac_ext
47484 cat >>conftest.$ac_ext <<_ACEOF
47485 /* end confdefs.h. */
47487 #include <Carbon/Carbon.h>
47488 #include <WebKit/WebKit.h>
47491 #include <WebKit/HIWebView.h>
47493 rm -f conftest.$ac_objext
47494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47495 (eval $ac_compile) 2>conftest.er1
47497 grep -v '^ *+' conftest.er1 >conftest.err
47499 cat conftest.err >&5
47500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47501 (exit $ac_status); } &&
47502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47504 (eval $ac_try) 2>&5
47506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47507 (exit $ac_status); }; } &&
47508 { ac_try='test -s conftest.$ac_objext'
47509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47510 (eval $ac_try) 2>&5
47512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47513 (exit $ac_status); }; }; then
47514 ac_cv_header_WebKit_HIWebView_h=yes
47516 echo "$as_me: failed program was:" >&5
47517 sed 's/^/| /' conftest.$ac_ext >&5
47519 ac_cv_header_WebKit_HIWebView_h=no
47521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47523 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47524 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
47525 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47527 cat >>confdefs.h <<\_ACEOF
47528 #define wxUSE_WEBKIT 1
47531 WEBKIT_LINK="-framework WebKit"
47535 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47536 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47542 CPPFLAGS="$old_CPPFLAGS"
47543 elif test "$wxUSE_COCOA" = 1; then
47544 cat >>confdefs.h <<\_ACEOF
47545 #define wxUSE_WEBKIT 1
47554 if test "$wxUSE_XRC" = "yes"; then
47555 if test "$wxUSE_XML" != "yes"; then
47556 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47557 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47560 cat >>confdefs.h <<\_ACEOF
47561 #define wxUSE_XRC 1
47565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47570 if test "$wxUSE_AUI" = "yes"; then
47571 cat >>confdefs.h <<\_ACEOF
47572 #define wxUSE_AUI 1
47576 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47580 if test "$wxUSE_STC" = "yes"; then
47581 cat >>confdefs.h <<\_ACEOF
47582 #define wxUSE_STC 1
47586 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47589 if test "$wxUSE_MENUS" = "yes"; then
47590 cat >>confdefs.h <<\_ACEOF
47591 #define wxUSE_MENUS 1
47594 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47597 if test "$wxUSE_METAFILE" = "yes"; then
47598 cat >>confdefs.h <<\_ACEOF
47599 #define wxUSE_METAFILE 1
47604 if test "$wxUSE_MIMETYPE" = "yes"; then
47605 cat >>confdefs.h <<\_ACEOF
47606 #define wxUSE_MIMETYPE 1
47611 if test "$wxUSE_MINIFRAME" = "yes"; then
47612 cat >>confdefs.h <<\_ACEOF
47613 #define wxUSE_MINIFRAME 1
47616 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
47619 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47620 cat >>confdefs.h <<\_ACEOF
47621 #define wxUSE_SYSTEM_OPTIONS 1
47624 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
47625 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
47626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47631 if test "$wxUSE_VALIDATORS" = "yes"; then
47632 cat >>confdefs.h <<\_ACEOF
47633 #define wxUSE_VALIDATORS 1
47636 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47639 if test "$wxUSE_PALETTE" = "yes" ; then
47640 if test "$wxUSE_DFB" = 1; then
47641 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47642 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47645 cat >>confdefs.h <<\_ACEOF
47646 #define wxUSE_PALETTE 1
47652 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47653 LIBS=" -lunicows $LIBS"
47657 if test "$wxUSE_RICHTEXT" = "yes"; then
47658 cat >>confdefs.h <<\_ACEOF
47659 #define wxUSE_RICHTEXT 1
47663 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47667 if test "$wxUSE_IMAGE" = "yes" ; then
47668 cat >>confdefs.h <<\_ACEOF
47669 #define wxUSE_IMAGE 1
47673 if test "$wxUSE_GIF" = "yes" ; then
47674 cat >>confdefs.h <<\_ACEOF
47675 #define wxUSE_GIF 1
47680 if test "$wxUSE_PCX" = "yes" ; then
47681 cat >>confdefs.h <<\_ACEOF
47682 #define wxUSE_PCX 1
47687 if test "$wxUSE_TGA" = "yes" ; then
47688 cat >>confdefs.h <<\_ACEOF
47689 #define wxUSE_TGA 1
47694 if test "$wxUSE_IFF" = "yes" ; then
47695 cat >>confdefs.h <<\_ACEOF
47696 #define wxUSE_IFF 1
47701 if test "$wxUSE_PNM" = "yes" ; then
47702 cat >>confdefs.h <<\_ACEOF
47703 #define wxUSE_PNM 1
47708 if test "$wxUSE_XPM" = "yes" ; then
47709 cat >>confdefs.h <<\_ACEOF
47710 #define wxUSE_XPM 1
47715 if test "$wxUSE_ICO_CUR" = "yes" ; then
47716 cat >>confdefs.h <<\_ACEOF
47717 #define wxUSE_ICO_CUR 1
47724 if test "$wxUSE_ABOUTDLG" = "yes"; then
47725 cat >>confdefs.h <<\_ACEOF
47726 #define wxUSE_ABOUTDLG 1
47731 if test "$wxUSE_CHOICEDLG" = "yes"; then
47732 cat >>confdefs.h <<\_ACEOF
47733 #define wxUSE_CHOICEDLG 1
47738 if test "$wxUSE_COLOURDLG" = "yes"; then
47739 cat >>confdefs.h <<\_ACEOF
47740 #define wxUSE_COLOURDLG 1
47745 if test "$wxUSE_FILEDLG" = "yes"; then
47746 cat >>confdefs.h <<\_ACEOF
47747 #define wxUSE_FILEDLG 1
47752 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47753 cat >>confdefs.h <<\_ACEOF
47754 #define wxUSE_FINDREPLDLG 1
47759 if test "$wxUSE_FONTDLG" = "yes"; then
47760 cat >>confdefs.h <<\_ACEOF
47761 #define wxUSE_FONTDLG 1
47766 if test "$wxUSE_DIRDLG" = "yes"; then
47767 if test "$wxUSE_TREECTRL" != "yes"; then
47768 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47769 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47771 cat >>confdefs.h <<\_ACEOF
47772 #define wxUSE_DIRDLG 1
47778 if test "$wxUSE_MSGDLG" = "yes"; then
47779 cat >>confdefs.h <<\_ACEOF
47780 #define wxUSE_MSGDLG 1
47785 if test "$wxUSE_NUMBERDLG" = "yes"; then
47786 cat >>confdefs.h <<\_ACEOF
47787 #define wxUSE_NUMBERDLG 1
47792 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47793 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47794 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
47795 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
47797 cat >>confdefs.h <<\_ACEOF
47798 #define wxUSE_PROGRESSDLG 1
47804 if test "$wxUSE_SPLASH" = "yes"; then
47805 cat >>confdefs.h <<\_ACEOF
47806 #define wxUSE_SPLASH 1
47809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47812 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47813 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47814 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
47815 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
47817 cat >>confdefs.h <<\_ACEOF
47818 #define wxUSE_STARTUP_TIPS 1
47824 if test "$wxUSE_TEXTDLG" = "yes"; then
47825 cat >>confdefs.h <<\_ACEOF
47826 #define wxUSE_TEXTDLG 1
47831 if test "$wxUSE_WIZARDDLG" = "yes"; then
47832 cat >>confdefs.h <<\_ACEOF
47833 #define wxUSE_WIZARDDLG 1
47836 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47840 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47841 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
47842 cat >>confdefs.h <<\_ACEOF
47843 #define wxUSE_GRAPHICS_CONTEXT 1
47846 elif test "$wxUSE_GTK" != 1; then
47847 cat >>confdefs.h <<\_ACEOF
47848 #define wxUSE_GRAPHICS_CONTEXT 1
47854 echo "$as_me:$LINENO: checking for CAIRO" >&5
47855 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
47857 if test -n "$PKG_CONFIG"; then
47858 if test -n "$CAIRO_CFLAGS"; then
47859 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
47861 if test -n "$PKG_CONFIG" && \
47862 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47863 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47866 (exit $ac_status); }; then
47867 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47875 if test -n "$PKG_CONFIG"; then
47876 if test -n "$CAIRO_LIBS"; then
47877 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
47879 if test -n "$PKG_CONFIG" && \
47880 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47881 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47884 (exit $ac_status); }; then
47885 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47896 if test $pkg_failed = yes; then
47898 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47899 _pkg_short_errors_supported=yes
47901 _pkg_short_errors_supported=no
47903 if test $_pkg_short_errors_supported = yes; then
47904 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47906 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47908 # Put the nasty error message in config.log where it belongs
47909 echo "$CAIRO_PKG_ERRORS" >&5
47911 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47912 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47914 elif test $pkg_failed = untried; then
47915 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47916 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47919 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47920 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47921 echo "$as_me:$LINENO: result: yes" >&5
47922 echo "${ECHO_T}yes" >&6
47923 cat >>confdefs.h <<\_ACEOF
47924 #define wxUSE_GRAPHICS_CONTEXT 1
47934 if test "$wxUSE_MEDIACTRL" = "yes"; then
47937 if test "$wxUSE_GTK" = 1; then
47938 wxUSE_GSTREAMER="no"
47940 GST_VERSION_MAJOR=0
47941 GST_VERSION_MINOR=10
47942 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47944 if test "$wxUSE_GSTREAMER8" = "no"; then
47947 echo "$as_me:$LINENO: checking for GST" >&5
47948 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47950 if test -n "$PKG_CONFIG"; then
47951 if test -n "$GST_CFLAGS"; then
47952 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47954 if test -n "$PKG_CONFIG" && \
47955 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47956 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47959 (exit $ac_status); }; then
47960 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47968 if test -n "$PKG_CONFIG"; then
47969 if test -n "$GST_LIBS"; then
47970 pkg_cv_GST_LIBS="$GST_LIBS"
47972 if test -n "$PKG_CONFIG" && \
47973 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47974 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47977 (exit $ac_status); }; then
47978 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47989 if test $pkg_failed = yes; then
47991 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47992 _pkg_short_errors_supported=yes
47994 _pkg_short_errors_supported=no
47996 if test $_pkg_short_errors_supported = yes; then
47997 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47999 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48001 # Put the nasty error message in config.log where it belongs
48002 echo "$GST_PKG_ERRORS" >&5
48005 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48006 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48007 GST_VERSION_MINOR=8
48010 elif test $pkg_failed = untried; then
48012 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48013 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48014 GST_VERSION_MINOR=8
48018 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48019 GST_LIBS=$pkg_cv_GST_LIBS
48020 echo "$as_me:$LINENO: result: yes" >&5
48021 echo "${ECHO_T}yes" >&6
48023 wxUSE_GSTREAMER="yes"
48024 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48028 GST_VERSION_MINOR=8
48031 if test $GST_VERSION_MINOR = "8"; then
48032 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48035 echo "$as_me:$LINENO: checking for GST" >&5
48036 echo $ECHO_N "checking for GST... $ECHO_C" >&6
48038 if test -n "$PKG_CONFIG"; then
48039 if test -n "$GST_CFLAGS"; then
48040 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48042 if test -n "$PKG_CONFIG" && \
48043 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48044 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48047 (exit $ac_status); }; then
48048 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48056 if test -n "$PKG_CONFIG"; then
48057 if test -n "$GST_LIBS"; then
48058 pkg_cv_GST_LIBS="$GST_LIBS"
48060 if test -n "$PKG_CONFIG" && \
48061 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48062 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48065 (exit $ac_status); }; then
48066 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48077 if test $pkg_failed = yes; then
48079 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48080 _pkg_short_errors_supported=yes
48082 _pkg_short_errors_supported=no
48084 if test $_pkg_short_errors_supported = yes; then
48085 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48087 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48089 # Put the nasty error message in config.log where it belongs
48090 echo "$GST_PKG_ERRORS" >&5
48093 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48094 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48096 elif test $pkg_failed = untried; then
48098 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48099 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48102 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48103 GST_LIBS=$pkg_cv_GST_LIBS
48104 echo "$as_me:$LINENO: result: yes" >&5
48105 echo "${ECHO_T}yes" >&6
48106 wxUSE_GSTREAMER="yes"
48111 if test "$wxUSE_GSTREAMER" = "yes"; then
48112 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48113 LIBS="$GST_LIBS $LIBS"
48115 cat >>confdefs.h <<\_ACEOF
48116 #define wxUSE_GSTREAMER 1
48124 if test $USE_MEDIA = 1; then
48125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48126 cat >>confdefs.h <<\_ACEOF
48127 #define wxUSE_MEDIACTRL 1
48134 if test "$cross_compiling" = "yes"; then
48137 OSINFO=`uname -s -r -m`
48138 OSINFO="\"$OSINFO\""
48141 cat >>confdefs.h <<_ACEOF
48142 #define WXWIN_OS_DESCRIPTION $OSINFO
48147 if test "x$prefix" != "xNONE"; then
48150 wxPREFIX=$ac_default_prefix
48153 cat >>confdefs.h <<_ACEOF
48154 #define wxINSTALL_PREFIX "$wxPREFIX"
48160 STD_BASE_LIBS="base"
48162 BUILT_WX_LIBS="base"
48163 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
48165 if test "$wxUSE_SOCKETS" = "yes" ; then
48166 STD_BASE_LIBS="net $STD_BASE_LIBS"
48167 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48169 if test "$wxUSE_ODBC" != "no" ; then
48170 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
48172 if test "$wxUSE_XML" = "yes" ; then
48173 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48174 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48177 if test "$wxUSE_GUI" = "yes"; then
48178 STD_GUI_LIBS="adv core"
48180 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48181 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48182 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48184 if test "$wxUSE_ODBC" != "no" ; then
48185 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
48187 if test "$wxUSE_HTML" = "yes" ; then
48188 STD_GUI_LIBS="html $STD_GUI_LIBS"
48189 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48191 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48192 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48194 if test "$wxUSE_OPENGL" = "yes" ; then
48195 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48197 if test "$wxUSE_AUI" = "yes" ; then
48198 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48200 if test "$wxUSE_STC" = "yes" ; then
48201 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48203 if test "$wxUSE_XRC" = "yes" ; then
48204 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48205 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48216 if test "$wxUSE_MAC" = 1 ; then
48217 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
48218 if test "$USE_DARWIN" = 1; then
48219 LDFLAGS="$LDFLAGS -framework QuickTime"
48221 LDFLAGS="$LDFLAGS -lQuickTimeLib"
48224 if test "$USE_DARWIN" = 1; then
48225 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
48227 LDFLAGS="$LDFLAGS -lCarbonLib"
48230 if test "$wxUSE_COCOA" = 1 ; then
48231 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
48232 if test "$wxUSE_MEDIACTRL" = "yes"; then
48233 LDFLAGS="$LDFLAGS -framework QuickTime"
48236 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
48237 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48240 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48242 if test "$wxUSE_GUI" = "yes"; then
48245 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48246 dynamic erase event exec font image minimal mobile \
48247 mobile/wxedit mobile/styles propsize render \
48248 rotate shaped svg taborder vscroll widgets"
48250 if test "$wxUSE_MONOLITHIC" != "yes"; then
48251 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48253 if test "$TOOLKIT" = "MSW"; then
48254 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48255 if test "$wxUSE_UNIVERSAL" != "yes"; then
48256 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
48259 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48260 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48263 SAMPLES_SUBDIRS="console"
48267 if test "x$INTELCC" = "xyes" ; then
48268 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
48269 elif test "$GCC" = yes ; then
48270 CWARNINGS="-Wall -Wundef"
48273 if test "x$INTELCXX" = "xyes" ; then
48274 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
48275 elif test "$GXX" = yes ; then
48276 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
48280 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48281 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48284 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48285 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48286 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48289 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48290 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48291 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48293 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48296 if test "x$MWCC" = "xyes"; then
48298 CC="$CC -cwd source -I-"
48299 CXX="$CXX -cwd source -I-"
48304 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48305 EXTRALIBS_XML="$EXPAT_LINK"
48306 EXTRALIBS_HTML="$MSPACK_LINK"
48307 EXTRALIBS_ODBC="$ODBC_LINK"
48308 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48309 if test "$wxUSE_GUI" = "yes"; then
48310 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48312 if test "$wxUSE_OPENGL" = "yes"; then
48313 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48316 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48318 WXCONFIG_LIBS="$LIBS"
48320 if test "$wxUSE_REGEX" = "builtin" ; then
48321 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48323 if test "$wxUSE_EXPAT" = "builtin" ; then
48324 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48326 if test "$wxUSE_ODBC" = "builtin" ; then
48327 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
48329 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48330 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48332 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48333 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48335 if test "$wxUSE_LIBPNG" = "builtin" ; then
48336 wxconfig_3rdparty="png $wxconfig_3rdparty"
48338 if test "$wxUSE_ZLIB" = "builtin" ; then
48339 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48342 for i in $wxconfig_3rdparty ; do
48343 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48347 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48350 case "$wxUNIV_THEMES" in
48352 cat >>confdefs.h <<\_ACEOF
48353 #define wxUSE_ALL_THEMES 1
48359 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
48360 cat >>confdefs.h <<_ACEOF
48361 #define wxUSE_THEME_$t 1
48378 if test $wxUSE_MONOLITHIC = "yes" ; then
48384 if test $wxUSE_PLUGINS = "yes" ; then
48390 if test $wxUSE_ODBC != "no" ; then
48396 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48402 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48433 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
48444 TOOLKIT_DESC="GTK+"
48445 if test "$WXGTK20" = 1; then
48446 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48447 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48448 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48450 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48451 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48453 if test "$wxUSE_LIBHILDON" = "yes"; then
48454 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48457 if test "$TOOLKIT_EXTRA" != ""; then
48458 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48464 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48468 TOOLKIT_DESC="base only"
48472 if test "$wxUSE_WINE" = "yes"; then
48473 BAKEFILE_FORCE_PLATFORM=win32
48476 if test "$wxUSE_MAC" = 1 ; then
48477 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
48478 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
48479 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
48481 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
48483 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
48484 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
48485 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
48486 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
48489 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
48490 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
48493 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48495 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48496 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
48497 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48498 echo $ECHO_N "(cached) $ECHO_C" >&6
48501 echo '#include <stdio.h>
48502 const wchar_t test_var[] = L"awidetest";' > conftest.h
48504 echo '#include "conftest.h"
48507 printf("%ls", test_var);
48511 wx_cv_gcc_pch_bug="pch not supported"
48513 if $CXX conftest.h >/dev/null 2>&1
48517 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48519 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48520 grep awidetest >/dev/null
48522 wx_cv_gcc_pch_bug=no
48524 wx_cv_gcc_pch_bug=yes
48529 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48532 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48533 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
48535 if test "$wx_cv_gcc_pch_bug" = yes; then
48543 if test "x$BAKEFILE_HOST" = "x"; then
48544 if test "x${host}" = "x" ; then
48545 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48546 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48547 { (exit 1); exit 1; }; }
48550 BAKEFILE_HOST="${host}"
48553 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48555 if test -n "$ac_tool_prefix"; then
48556 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48557 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48558 echo "$as_me:$LINENO: checking for $ac_word" >&5
48559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48560 if test "${ac_cv_prog_RANLIB+set}" = set; then
48561 echo $ECHO_N "(cached) $ECHO_C" >&6
48563 if test -n "$RANLIB"; then
48564 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48567 for as_dir in $PATH
48570 test -z "$as_dir" && as_dir=.
48571 for ac_exec_ext in '' $ac_executable_extensions; do
48572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48573 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48582 RANLIB=$ac_cv_prog_RANLIB
48583 if test -n "$RANLIB"; then
48584 echo "$as_me:$LINENO: result: $RANLIB" >&5
48585 echo "${ECHO_T}$RANLIB" >&6
48587 echo "$as_me:$LINENO: result: no" >&5
48588 echo "${ECHO_T}no" >&6
48592 if test -z "$ac_cv_prog_RANLIB"; then
48593 ac_ct_RANLIB=$RANLIB
48594 # Extract the first word of "ranlib", so it can be a program name with args.
48595 set dummy ranlib; ac_word=$2
48596 echo "$as_me:$LINENO: checking for $ac_word" >&5
48597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48598 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48599 echo $ECHO_N "(cached) $ECHO_C" >&6
48601 if test -n "$ac_ct_RANLIB"; then
48602 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48605 for as_dir in $PATH
48608 test -z "$as_dir" && as_dir=.
48609 for ac_exec_ext in '' $ac_executable_extensions; do
48610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48611 ac_cv_prog_ac_ct_RANLIB="ranlib"
48612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48618 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
48621 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48622 if test -n "$ac_ct_RANLIB"; then
48623 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48624 echo "${ECHO_T}$ac_ct_RANLIB" >&6
48626 echo "$as_me:$LINENO: result: no" >&5
48627 echo "${ECHO_T}no" >&6
48630 RANLIB=$ac_ct_RANLIB
48632 RANLIB="$ac_cv_prog_RANLIB"
48635 # Find a good install program. We prefer a C program (faster),
48636 # so one script is as good as another. But avoid the broken or
48637 # incompatible versions:
48638 # SysV /etc/install, /usr/sbin/install
48639 # SunOS /usr/etc/install
48640 # IRIX /sbin/install
48642 # AmigaOS /C/install, which installs bootblocks on floppy discs
48643 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48644 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48645 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48646 # OS/2's system install, which has a completely different semantic
48647 # ./install, which can be erroneously created by make from ./install.sh.
48648 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48649 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
48650 if test -z "$INSTALL"; then
48651 if test "${ac_cv_path_install+set}" = set; then
48652 echo $ECHO_N "(cached) $ECHO_C" >&6
48654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48655 for as_dir in $PATH
48658 test -z "$as_dir" && as_dir=.
48659 # Account for people who put trailing slashes in PATH elements.
48661 ./ | .// | /cC/* | \
48662 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48663 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48666 # OSF1 and SCO ODT 3.0 have their own names for install.
48667 # Don't use installbsd from OSF since it installs stuff as root
48669 for ac_prog in ginstall scoinst install; do
48670 for ac_exec_ext in '' $ac_executable_extensions; do
48671 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
48672 if test $ac_prog = install &&
48673 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48674 # AIX install. It has an incompatible calling convention.
48676 elif test $ac_prog = install &&
48677 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48678 # program-specific install script used by HP pwplus--don't use.
48681 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48693 if test "${ac_cv_path_install+set}" = set; then
48694 INSTALL=$ac_cv_path_install
48696 # As a last resort, use the slow shell script. We don't cache a
48697 # path for INSTALL within a source directory, because that will
48698 # break other packages using the cache if that directory is
48699 # removed, or if the path is relative.
48700 INSTALL=$ac_install_sh
48703 echo "$as_me:$LINENO: result: $INSTALL" >&5
48704 echo "${ECHO_T}$INSTALL" >&6
48706 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48707 # It thinks the first close brace ends the variable substitution.
48708 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48710 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48712 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48714 echo "$as_me:$LINENO: checking whether ln -s works" >&5
48715 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
48717 if test "$LN_S" = "ln -s"; then
48718 echo "$as_me:$LINENO: result: yes" >&5
48719 echo "${ECHO_T}yes" >&6
48721 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48722 echo "${ECHO_T}no, using $LN_S" >&6
48726 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48727 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48728 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
48729 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48730 echo $ECHO_N "(cached) $ECHO_C" >&6
48732 cat >conftest.make <<\_ACEOF
48734 @echo 'ac_maketemp="$(MAKE)"'
48736 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48737 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48738 if test -n "$ac_maketemp"; then
48739 eval ac_cv_prog_make_${ac_make}_set=yes
48741 eval ac_cv_prog_make_${ac_make}_set=no
48743 rm -f conftest.make
48745 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48746 echo "$as_me:$LINENO: result: yes" >&5
48747 echo "${ECHO_T}yes" >&6
48750 echo "$as_me:$LINENO: result: no" >&5
48751 echo "${ECHO_T}no" >&6
48752 SET_MAKE="MAKE=${MAKE-make}"
48757 if test "x$SUNCXX" = "xyes"; then
48759 AROPTIONS="-xar -o"
48761 elif test "x$SGICC" = "xyes"; then
48766 if test -n "$ac_tool_prefix"; then
48767 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48768 set dummy ${ac_tool_prefix}ar; ac_word=$2
48769 echo "$as_me:$LINENO: checking for $ac_word" >&5
48770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48771 if test "${ac_cv_prog_AR+set}" = set; then
48772 echo $ECHO_N "(cached) $ECHO_C" >&6
48774 if test -n "$AR"; then
48775 ac_cv_prog_AR="$AR" # Let the user override the test.
48777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48778 for as_dir in $PATH
48781 test -z "$as_dir" && as_dir=.
48782 for ac_exec_ext in '' $ac_executable_extensions; do
48783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48784 ac_cv_prog_AR="${ac_tool_prefix}ar"
48785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48794 if test -n "$AR"; then
48795 echo "$as_me:$LINENO: result: $AR" >&5
48796 echo "${ECHO_T}$AR" >&6
48798 echo "$as_me:$LINENO: result: no" >&5
48799 echo "${ECHO_T}no" >&6
48803 if test -z "$ac_cv_prog_AR"; then
48805 # Extract the first word of "ar", so it can be a program name with args.
48806 set dummy ar; ac_word=$2
48807 echo "$as_me:$LINENO: checking for $ac_word" >&5
48808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48809 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48810 echo $ECHO_N "(cached) $ECHO_C" >&6
48812 if test -n "$ac_ct_AR"; then
48813 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48816 for as_dir in $PATH
48819 test -z "$as_dir" && as_dir=.
48820 for ac_exec_ext in '' $ac_executable_extensions; do
48821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48822 ac_cv_prog_ac_ct_AR="ar"
48823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48829 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
48832 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48833 if test -n "$ac_ct_AR"; then
48834 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48835 echo "${ECHO_T}$ac_ct_AR" >&6
48837 echo "$as_me:$LINENO: result: no" >&5
48838 echo "${ECHO_T}no" >&6
48843 AR="$ac_cv_prog_AR"
48850 if test -n "$ac_tool_prefix"; then
48851 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48852 set dummy ${ac_tool_prefix}strip; ac_word=$2
48853 echo "$as_me:$LINENO: checking for $ac_word" >&5
48854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48855 if test "${ac_cv_prog_STRIP+set}" = set; then
48856 echo $ECHO_N "(cached) $ECHO_C" >&6
48858 if test -n "$STRIP"; then
48859 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48862 for as_dir in $PATH
48865 test -z "$as_dir" && as_dir=.
48866 for ac_exec_ext in '' $ac_executable_extensions; do
48867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48868 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48877 STRIP=$ac_cv_prog_STRIP
48878 if test -n "$STRIP"; then
48879 echo "$as_me:$LINENO: result: $STRIP" >&5
48880 echo "${ECHO_T}$STRIP" >&6
48882 echo "$as_me:$LINENO: result: no" >&5
48883 echo "${ECHO_T}no" >&6
48887 if test -z "$ac_cv_prog_STRIP"; then
48889 # Extract the first word of "strip", so it can be a program name with args.
48890 set dummy strip; ac_word=$2
48891 echo "$as_me:$LINENO: checking for $ac_word" >&5
48892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48893 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48894 echo $ECHO_N "(cached) $ECHO_C" >&6
48896 if test -n "$ac_ct_STRIP"; then
48897 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48900 for as_dir in $PATH
48903 test -z "$as_dir" && as_dir=.
48904 for ac_exec_ext in '' $ac_executable_extensions; do
48905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48906 ac_cv_prog_ac_ct_STRIP="strip"
48907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48913 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
48916 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48917 if test -n "$ac_ct_STRIP"; then
48918 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48919 echo "${ECHO_T}$ac_ct_STRIP" >&6
48921 echo "$as_me:$LINENO: result: no" >&5
48922 echo "${ECHO_T}no" >&6
48927 STRIP="$ac_cv_prog_STRIP"
48930 if test -n "$ac_tool_prefix"; then
48931 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48932 set dummy ${ac_tool_prefix}nm; ac_word=$2
48933 echo "$as_me:$LINENO: checking for $ac_word" >&5
48934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48935 if test "${ac_cv_prog_NM+set}" = set; then
48936 echo $ECHO_N "(cached) $ECHO_C" >&6
48938 if test -n "$NM"; then
48939 ac_cv_prog_NM="$NM" # Let the user override the test.
48941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48942 for as_dir in $PATH
48945 test -z "$as_dir" && as_dir=.
48946 for ac_exec_ext in '' $ac_executable_extensions; do
48947 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48948 ac_cv_prog_NM="${ac_tool_prefix}nm"
48949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48958 if test -n "$NM"; then
48959 echo "$as_me:$LINENO: result: $NM" >&5
48960 echo "${ECHO_T}$NM" >&6
48962 echo "$as_me:$LINENO: result: no" >&5
48963 echo "${ECHO_T}no" >&6
48967 if test -z "$ac_cv_prog_NM"; then
48969 # Extract the first word of "nm", so it can be a program name with args.
48970 set dummy nm; ac_word=$2
48971 echo "$as_me:$LINENO: checking for $ac_word" >&5
48972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48973 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48974 echo $ECHO_N "(cached) $ECHO_C" >&6
48976 if test -n "$ac_ct_NM"; then
48977 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48980 for as_dir in $PATH
48983 test -z "$as_dir" && as_dir=.
48984 for ac_exec_ext in '' $ac_executable_extensions; do
48985 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48986 ac_cv_prog_ac_ct_NM="nm"
48987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48993 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
48996 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48997 if test -n "$ac_ct_NM"; then
48998 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48999 echo "${ECHO_T}$ac_ct_NM" >&6
49001 echo "$as_me:$LINENO: result: no" >&5
49002 echo "${ECHO_T}no" >&6
49007 NM="$ac_cv_prog_NM"
49011 case ${BAKEFILE_HOST} in
49013 INSTALL_DIR="mkdir -p"
49016 INSTALL_DIR='$(INSTALL) -d'
49022 case ${BAKEFILE_HOST} in
49023 *-*-cygwin* | *-*-mingw32* )
49024 LDFLAGS_GUI="-mwindows"
49030 echo "$as_me:$LINENO: checking if make is GNU make" >&5
49031 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
49032 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49033 echo $ECHO_N "(cached) $ECHO_C" >&6
49036 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49037 egrep -s GNU > /dev/null); then
49038 bakefile_cv_prog_makeisgnu="yes"
49040 bakefile_cv_prog_makeisgnu="no"
49044 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49045 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
49047 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49064 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49065 case "${BAKEFILE_HOST}" in
49072 *-pc-os2_emx | *-pc-os2-emx )
49082 powerpc-apple-macos* )
49091 case "$BAKEFILE_FORCE_PLATFORM" in
49126 # Check whether --enable-omf or --disable-omf was given.
49127 if test "${enable_omf+set}" = set; then
49128 enableval="$enable_omf"
49129 bk_os2_use_omf="$enableval"
49132 case "${BAKEFILE_HOST}" in
49134 if test "x$GCC" = "xyes"; then
49135 CFLAGS="$CFLAGS -fno-common"
49136 CXXFLAGS="$CXXFLAGS -fno-common"
49138 if test "x$XLCC" = "xyes"; then
49139 CFLAGS="$CFLAGS -qnocommon"
49140 CXXFLAGS="$CXXFLAGS -qnocommon"
49144 *-pc-os2_emx | *-pc-os2-emx )
49145 if test "x$bk_os2_use_omf" = "xyes" ; then
49148 LDFLAGS="-Zomf $LDFLAGS"
49149 CFLAGS="-Zomf $CFLAGS"
49150 CXXFLAGS="-Zomf $CXXFLAGS"
49158 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49164 SO_SUFFIX_MODULE="so"
49169 DLLPREFIX_MODULE=""
49173 case "${BAKEFILE_HOST}" in
49176 SO_SUFFIX_MODULE="sl"
49180 SO_SUFFIX_MODULE="a"
49184 SO_SUFFIX_MODULE="dll"
49185 DLLIMP_SUFFIX="dll.a"
49192 SO_SUFFIX_MODULE="dll"
49193 DLLIMP_SUFFIX="dll.a"
49203 *-pc-os2_emx | *-pc-os2-emx )
49205 SO_SUFFIX_MODULE="dll"
49206 DLLIMP_SUFFIX=$OS2_LIBEXT
49210 LIBEXT=".$OS2_LIBEXT"
49215 SO_SUFFIX_MODULE="bundle"
49219 if test "x$DLLIMP_SUFFIX" = "x" ; then
49220 DLLIMP_SUFFIX="$SO_SUFFIX"
49235 if test "x$GCC" = "xyes"; then
49239 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49240 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49243 case "${BAKEFILE_HOST}" in
49245 if test "x$GCC" != "xyes"; then
49246 LDFLAGS="$LDFLAGS -L/usr/lib"
49248 SHARED_LD_CC="${CC} -b -o"
49249 SHARED_LD_CXX="${CXX} -b -o"
49255 if test "$INTELCC" = "yes"; then
49257 elif test "x$SUNCXX" = "xyes"; then
49258 SHARED_LD_CC="${CC} -G -o"
49259 SHARED_LD_CXX="${CXX} -G -o"
49265 if test "x$SUNCXX" = xyes ; then
49266 SHARED_LD_CC="${CC} -G -o"
49267 SHARED_LD_CXX="${CXX} -G -o"
49275 cat <<EOF >shared-ld-sh
49277 #-----------------------------------------------------------------------------
49278 #-- Name: distrib/mac/shared-ld-sh
49279 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49280 #-- Author: Gilles Depeyrot
49281 #-- Copyright: (c) 2002 Gilles Depeyrot
49282 #-- Licence: any use permitted
49283 #-----------------------------------------------------------------------------
49288 linking_flag="-dynamiclib"
49289 ldargs="-r -keep_private_externs -nostdlib"
49291 while test ${D}# -gt 0; do
49298 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49299 # collect these options and values
49300 args="${D}{args} ${D}1 ${D}2"
49305 # collect these load args
49306 ldargs="${D}{ldargs} ${D}1"
49309 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49310 # collect these options
49311 args="${D}{args} ${D}1"
49314 -dynamiclib|-bundle)
49315 linking_flag="${D}1"
49319 echo "shared-ld: unhandled option '${D}1'"
49323 *.o | *.a | *.dylib)
49324 # collect object files
49325 objects="${D}{objects} ${D}1"
49329 echo "shared-ld: unhandled argument '${D}1'"
49340 # Link one module containing all the others
49342 if test ${D}{verbose} = 1; then
49343 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49345 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49349 # Link the shared library from the single module created, but only if the
49350 # previous command didn't fail:
49352 if test ${D}{status} = 0; then
49353 if test ${D}{verbose} = 1; then
49354 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49356 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49361 # Remove intermediate module
49363 rm -f master.${D}${D}.o
49368 chmod +x shared-ld-sh
49370 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49371 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
49374 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49375 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
49376 if test "${bakefile_cv_gcc31+set}" = set; then
49377 echo $ECHO_N "(cached) $ECHO_C" >&6
49380 cat >conftest.$ac_ext <<_ACEOF
49383 cat confdefs.h >>conftest.$ac_ext
49384 cat >>conftest.$ac_ext <<_ACEOF
49385 /* end confdefs.h. */
49391 #if (__GNUC__ < 3) || \
49392 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49400 rm -f conftest.$ac_objext
49401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49402 (eval $ac_compile) 2>conftest.er1
49404 grep -v '^ *+' conftest.er1 >conftest.err
49406 cat conftest.err >&5
49407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49408 (exit $ac_status); } &&
49409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49411 (eval $ac_try) 2>&5
49413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49414 (exit $ac_status); }; } &&
49415 { ac_try='test -s conftest.$ac_objext'
49416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49417 (eval $ac_try) 2>&5
49419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49420 (exit $ac_status); }; }; then
49422 bakefile_cv_gcc31=yes
49425 echo "$as_me: failed program was:" >&5
49426 sed 's/^/| /' conftest.$ac_ext >&5
49429 bakefile_cv_gcc31=no
49433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49436 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49437 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
49438 if test "$bakefile_cv_gcc31" = "no"; then
49439 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49440 SHARED_LD_CXX="$SHARED_LD_CC"
49442 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49443 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49446 if test "x$GCC" == "xyes"; then
49447 PIC_FLAG="-dynamic -fPIC"
49449 if test "x$XLCC" = "xyes"; then
49450 PIC_FLAG="-dynamic -DPIC"
49455 if test "x$GCC" = "xyes"; then
49458 case "${BAKEFILE_HOST}" in
49460 LD_EXPFULL="-Wl,-bexpfull"
49464 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
49465 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
49467 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49468 set dummy makeC++SharedLib; ac_word=$2
49469 echo "$as_me:$LINENO: checking for $ac_word" >&5
49470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49471 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49472 echo $ECHO_N "(cached) $ECHO_C" >&6
49474 if test -n "$AIX_CXX_LD"; then
49475 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
49477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49478 for as_dir in $PATH
49481 test -z "$as_dir" && as_dir=.
49482 for ac_exec_ext in '' $ac_executable_extensions; do
49483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49484 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
49485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49491 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
49494 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
49495 if test -n "$AIX_CXX_LD"; then
49496 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49497 echo "${ECHO_T}$AIX_CXX_LD" >&6
49499 echo "$as_me:$LINENO: result: no" >&5
49500 echo "${ECHO_T}no" >&6
49503 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
49504 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
49509 SHARED_LD_CC="${LD} -nostart -o"
49510 SHARED_LD_CXX="${LD} -nostart -o"
49514 if test "x$GCC" != "xyes"; then
49519 *-*-cygwin* | *-*-mingw32* )
49521 SHARED_LD_CC="\$(CC) -shared -o"
49522 SHARED_LD_CXX="\$(CXX) -shared -o"
49526 *-pc-os2_emx | *-pc-os2-emx )
49527 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49528 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49532 cat <<EOF >dllar.sh
49535 # dllar - a tool to build both a .dll and an .a file
49536 # from a set of object (.o) files for EMX/OS2.
49538 # Written by Andrew Zabolotny, bit@freya.etu.ru
49539 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49541 # This script will accept a set of files on the command line.
49542 # All the public symbols from the .o files will be exported into
49543 # a .DEF file, then linker will be run (through gcc) against them to
49544 # build a shared library consisting of all given .o files. All libraries
49545 # (.a) will be first decompressed into component .o files then act as
49546 # described above. You can optionally give a description (-d "description")
49547 # which will be put into .DLL. To see the list of accepted options (as well
49548 # as command-line format) simply run this program without options. The .DLL
49549 # is built to be imported by name (there is no guarantee that new versions
49550 # of the library you build will have same ordinals for same symbols).
49552 # dllar is free software; you can redistribute it and/or modify
49553 # it under the terms of the GNU General Public License as published by
49554 # the Free Software Foundation; either version 2, or (at your option)
49555 # any later version.
49557 # dllar is distributed in the hope that it will be useful,
49558 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49559 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49560 # GNU General Public License for more details.
49562 # You should have received a copy of the GNU General Public License
49563 # along with dllar; see the file COPYING. If not, write to the Free
49564 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49567 # To successfuly run this program you will need:
49568 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49569 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49571 # (used to build the .dll)
49573 # (used to create .def file from .o files)
49575 # (used to create .a file from .def file)
49576 # - GNU text utilites (cat, sort, uniq)
49577 # used to process emxexp output
49578 # - GNU file utilities (mv, rm)
49580 # - lxlite (optional, see flag below)
49581 # (used for general .dll cleanup)
49588 # basnam, variant of basename, which does _not_ remove the path, _iff_
49589 # second argument (suffix to remove) is given
49593 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49596 echo ${D}1 | sed 's/'${D}2'${D}//'
49599 echo "error in basnam ${D}*"
49605 # Cleanup temporary files and output
49608 for i in ${D}inputFiles ; do
49611 rm -rf \`basnam ${D}i !\`
49618 # Kill result in case of failure as there is just to many stupid make/nmake
49619 # things out there which doesn't do this.
49620 if [ ${D}# -eq 0 ]; then
49621 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49625 # Print usage and exit script with rc=1.
49627 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49628 echo ' [-name-mangler-script script.sh]'
49629 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49630 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49631 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49632 echo ' [*.o] [*.a]'
49633 echo '*> "output_file" should have no extension.'
49634 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49635 echo ' The import library name is derived from this and is set to "name".a,'
49636 echo ' unless overridden by -import'
49637 echo '*> "importlib_name" should have no extension.'
49638 echo ' If it has the .o, or .a extension, it is automatically removed.'
49639 echo ' This name is used as the import library name and may be longer and'
49640 echo ' more descriptive than the DLL name which has to follow the old '
49641 echo ' 8.3 convention of FAT.'
49642 echo '*> "script.sh may be given to override the output_file name by a'
49643 echo ' different name. It is mainly useful if the regular make process'
49644 echo ' of some package does not take into account OS/2 restriction of'
49645 echo ' DLL name lengths. It takes the importlib name as input and is'
49646 echo ' supposed to procude a shorter name as output. The script should'
49647 echo ' expect to get importlib_name without extension and should produce'
49648 echo ' a (max.) 8 letter name without extension.'
49649 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49650 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49651 echo ' These flags will be put at the start of GCC command line.'
49652 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49653 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49654 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49655 echo ' If the last character of a symbol is "*", all symbols beginning'
49656 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49657 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49658 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49659 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49660 echo ' C runtime DLLs.'
49661 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49662 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49663 echo ' unchanged to GCC at the end of command line.'
49664 echo '*> If you create a DLL from a library and you do not specify -o,'
49665 echo ' the basename for DLL and import library will be set to library name,'
49666 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49667 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49668 echo ' library will be renamed into gcc_s.a.'
49671 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49672 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49677 # Execute a command.
49678 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49679 # @Uses Whatever CleanUp() uses.
49685 if [ ${D}rcCmd -ne 0 ]; then
49686 echo "command failed, exit code="${D}rcCmd
49701 CFLAGS="-s -Zcrtdll"
49703 EXPORT_BY_ORDINALS=0
49708 case ${D}curDirS in
49712 curDirS=${D}{curDirS}"/"
49715 # Parse commandline
49718 while [ ${D}1 ]; do
49721 EXPORT_BY_ORDINALS=1;
49731 -name-mangler-script)
49752 exclude_symbols=${D}{exclude_symbols}${D}1" "
49756 library_flags=${D}{library_flags}${D}1" "
49775 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49778 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49779 if [ ${D}omfLinking -eq 1 ]; then
49780 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49782 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49787 if [ ${D}libsToLink -ne 0 ]; then
49788 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49790 for file in ${D}1 ; do
49791 if [ -f ${D}file ]; then
49792 inputFiles="${D}{inputFiles} ${D}file"
49796 if [ ${D}found -eq 0 ]; then
49797 echo "ERROR: No file(s) found: "${D}1
49804 done # iterate cmdline words
49807 if [ -z "${D}inputFiles" ]; then
49808 echo "dllar: no input files"
49812 # Now extract all .o files from .a files
49814 for file in ${D}inputFiles ; do
49825 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49830 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49832 if [ ${D}? -ne 0 ]; then
49833 echo "Failed to create subdirectory ./${D}dirname"
49837 # Append '!' to indicate archive
49838 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49839 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49842 for subfile in ${D}dirname/*.o* ; do
49843 if [ -f ${D}subfile ]; then
49845 if [ -s ${D}subfile ]; then
49846 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49847 newInputFiles="${D}newInputFiles ${D}subfile"
49851 if [ ${D}found -eq 0 ]; then
49852 echo "WARNING: there are no files in archive \\'${D}file\\'"
49856 newInputFiles="${D}{newInputFiles} ${D}file"
49860 inputFiles="${D}newInputFiles"
49862 # Output filename(s).
49864 if [ -z ${D}outFile ]; then
49866 set outFile ${D}inputFiles; outFile=${D}2
49869 # If it is an archive, remove the '!' and the '_%' suffixes
49870 case ${D}outFile in
49872 outFile=\`basnam ${D}outFile _%!\`
49877 case ${D}outFile in
49879 outFile=\`basnam ${D}outFile .dll\`
49882 outFile=\`basnam ${D}outFile .DLL\`
49885 outFile=\`basnam ${D}outFile .o\`
49888 outFile=\`basnam ${D}outFile .obj\`
49891 outFile=\`basnam ${D}outFile .a\`
49894 outFile=\`basnam ${D}outFile .lib\`
49899 case ${D}outimpFile in
49901 outimpFile=\`basnam ${D}outimpFile .a\`
49904 outimpFile=\`basnam ${D}outimpFile .lib\`
49909 if [ -z ${D}outimpFile ]; then
49910 outimpFile=${D}outFile
49912 defFile="${D}{outFile}.def"
49913 arcFile="${D}{outimpFile}.a"
49914 arcFile2="${D}{outimpFile}.lib"
49916 #create ${D}dllFile as something matching 8.3 restrictions,
49917 if [ -z ${D}renameScript ] ; then
49918 dllFile="${D}outFile"
49920 dllFile=\`${D}renameScript ${D}outimpFile\`
49923 if [ ${D}do_backup -ne 0 ] ; then
49924 if [ -f ${D}arcFile ] ; then
49925 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49927 if [ -f ${D}arcFile2 ] ; then
49928 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49932 # Extract public symbols from all the object files.
49933 tmpdefFile=${D}{defFile}_%
49934 rm -f ${D}tmpdefFile
49935 for file in ${D}inputFiles ; do
49940 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49945 # Create the def file.
49947 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49948 dllFile="${D}{dllFile}.dll"
49949 if [ ! -z ${D}description ]; then
49950 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49952 echo "EXPORTS" >> ${D}defFile
49954 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49955 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49957 # Checks if the export is ok or not.
49958 for word in ${D}exclude_symbols; do
49959 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49960 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49964 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49965 sed "=" < ${D}tmpdefFile | \\
49969 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49971 ' > ${D}{tmpdefFile}%
49972 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49974 rm -f ${D}{tmpdefFile}%
49976 cat ${D}tmpdefFile >> ${D}defFile
49977 rm -f ${D}tmpdefFile
49979 # Do linking, create implib, and apply lxlite.
49981 for file in ${D}inputFiles ; do
49986 gccCmdl="${D}gccCmdl ${D}file"
49990 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49991 touch "${D}{outFile}.dll"
49993 doCommand "emximp -o ${D}arcFile ${D}defFile"
49994 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49996 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49999 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50001 doCommand "emxomf -s -l ${D}arcFile"
50011 powerpc-apple-macos* | \
50012 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50022 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50023 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50024 { (exit 1); exit 1; }; }
50027 if test "x$PIC_FLAG" != "x" ; then
50028 PIC_FLAG="$PIC_FLAG -DPIC"
50031 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50032 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50034 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50035 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50054 case "${BAKEFILE_HOST}" in
50055 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
50056 if test "x$SUNCXX" = "xyes"; then
50059 SONAME_FLAG="-Wl,-soname,"
50094 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
50095 if test "${enable_dependency_tracking+set}" = set; then
50096 enableval="$enable_dependency_tracking"
50097 bk_use_trackdeps="$enableval"
50100 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50101 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
50104 if test "x$bk_use_trackdeps" = "xno" ; then
50106 echo "$as_me:$LINENO: result: disabled" >&5
50107 echo "${ECHO_T}disabled" >&6
50111 if test "x$GCC" = "xyes"; then
50113 case "${BAKEFILE_HOST}" in
50115 DEPSFLAG="-no-cpp-precomp -MMD"
50121 echo "$as_me:$LINENO: result: gcc" >&5
50122 echo "${ECHO_T}gcc" >&6
50123 elif test "x$MWCC" = "xyes"; then
50126 echo "$as_me:$LINENO: result: mwcc" >&5
50127 echo "${ECHO_T}mwcc" >&6
50128 elif test "x$SUNCC" = "xyes"; then
50131 echo "$as_me:$LINENO: result: Sun cc" >&5
50132 echo "${ECHO_T}Sun cc" >&6
50133 elif test "x$SGICC" = "xyes"; then
50136 echo "$as_me:$LINENO: result: SGI cc" >&5
50137 echo "${ECHO_T}SGI cc" >&6
50138 elif test "x$HPCC" = "xyes"; then
50141 echo "$as_me:$LINENO: result: HP cc" >&5
50142 echo "${ECHO_T}HP cc" >&6
50143 elif test "x$COMPAQCC" = "xyes"; then
50146 echo "$as_me:$LINENO: result: Compaq cc" >&5
50147 echo "${ECHO_T}Compaq cc" >&6
50150 echo "$as_me:$LINENO: result: none" >&5
50151 echo "${ECHO_T}none" >&6
50154 if test $DEPS_TRACKING = 1 ; then
50160 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
50161 # script. It is used to track C/C++ files dependencies in portable way.
50163 # Permission is given to use this file in any way.
50165 DEPSMODE=${DEPSMODE}
50167 DEPSFLAG="${DEPSFLAG}"
50169 mkdir -p ${D}DEPSDIR
50171 if test ${D}DEPSMODE = gcc ; then
50172 ${D}* ${D}{DEPSFLAG}
50174 if test ${D}{status} != 0 ; then
50177 # move created file to the location we want it in:
50178 while test ${D}# -gt 0; do
50192 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50193 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50194 if test -f ${D}depfile ; then
50195 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50198 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50199 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
50200 if test ! -f ${D}depfile ; then
50201 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50202 depfile="${D}objfile.d"
50204 if test -f ${D}depfile ; then
50205 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50210 elif test ${D}DEPSMODE = mwcc ; then
50211 ${D}* || exit ${D}?
50212 # Run mwcc again with -MM and redirect into the dep file we want
50213 # NOTE: We can't use shift here because we need ${D}* to be valid
50215 for arg in ${D}* ; do
50216 if test "${D}prevarg" = "-o"; then
50229 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
50231 elif test ${D}DEPSMODE = unixcc; then
50232 ${D}* || exit ${D}?
50233 # Run compiler again with deps flag and redirect into the dep file.
50234 # It doesn't work if the '-o FILE' option is used, but without it the
50235 # dependency file will contain the wrong name for the object. So it is
50236 # removed from the command line, and the dep file is fixed with sed.
50238 while test ${D}# -gt 0; do
50245 eval arg${D}#=\\${D}1
50246 cmd="${D}cmd \\${D}arg${D}#"
50251 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
50260 BK_DEPS="`pwd`/bk-deps"
50268 case ${BAKEFILE_HOST} in
50269 *-*-cygwin* | *-*-mingw32* )
50270 if test -n "$ac_tool_prefix"; then
50271 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50272 set dummy ${ac_tool_prefix}windres; ac_word=$2
50273 echo "$as_me:$LINENO: checking for $ac_word" >&5
50274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50275 if test "${ac_cv_prog_WINDRES+set}" = set; then
50276 echo $ECHO_N "(cached) $ECHO_C" >&6
50278 if test -n "$WINDRES"; then
50279 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50282 for as_dir in $PATH
50285 test -z "$as_dir" && as_dir=.
50286 for ac_exec_ext in '' $ac_executable_extensions; do
50287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50288 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50297 WINDRES=$ac_cv_prog_WINDRES
50298 if test -n "$WINDRES"; then
50299 echo "$as_me:$LINENO: result: $WINDRES" >&5
50300 echo "${ECHO_T}$WINDRES" >&6
50302 echo "$as_me:$LINENO: result: no" >&5
50303 echo "${ECHO_T}no" >&6
50307 if test -z "$ac_cv_prog_WINDRES"; then
50308 ac_ct_WINDRES=$WINDRES
50309 # Extract the first word of "windres", so it can be a program name with args.
50310 set dummy windres; ac_word=$2
50311 echo "$as_me:$LINENO: checking for $ac_word" >&5
50312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50313 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50314 echo $ECHO_N "(cached) $ECHO_C" >&6
50316 if test -n "$ac_ct_WINDRES"; then
50317 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50320 for as_dir in $PATH
50323 test -z "$as_dir" && as_dir=.
50324 for ac_exec_ext in '' $ac_executable_extensions; do
50325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50326 ac_cv_prog_ac_ct_WINDRES="windres"
50327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50335 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
50336 if test -n "$ac_ct_WINDRES"; then
50337 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50338 echo "${ECHO_T}$ac_ct_WINDRES" >&6
50340 echo "$as_me:$LINENO: result: no" >&5
50341 echo "${ECHO_T}no" >&6
50344 WINDRES=$ac_ct_WINDRES
50346 WINDRES="$ac_cv_prog_WINDRES"
50351 *-*-darwin* | powerpc-apple-macos* )
50352 # Extract the first word of "Rez", so it can be a program name with args.
50353 set dummy Rez; ac_word=$2
50354 echo "$as_me:$LINENO: checking for $ac_word" >&5
50355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50356 if test "${ac_cv_prog_REZ+set}" = set; then
50357 echo $ECHO_N "(cached) $ECHO_C" >&6
50359 if test -n "$REZ"; then
50360 ac_cv_prog_REZ="$REZ" # Let the user override the test.
50362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50363 for as_dir in $PATH
50366 test -z "$as_dir" && as_dir=.
50367 for ac_exec_ext in '' $ac_executable_extensions; do
50368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50369 ac_cv_prog_REZ="Rez"
50370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50376 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
50379 REZ=$ac_cv_prog_REZ
50380 if test -n "$REZ"; then
50381 echo "$as_me:$LINENO: result: $REZ" >&5
50382 echo "${ECHO_T}$REZ" >&6
50384 echo "$as_me:$LINENO: result: no" >&5
50385 echo "${ECHO_T}no" >&6
50388 # Extract the first word of "SetFile", so it can be a program name with args.
50389 set dummy SetFile; ac_word=$2
50390 echo "$as_me:$LINENO: checking for $ac_word" >&5
50391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50392 if test "${ac_cv_prog_SETFILE+set}" = set; then
50393 echo $ECHO_N "(cached) $ECHO_C" >&6
50395 if test -n "$SETFILE"; then
50396 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
50398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50399 for as_dir in $PATH
50402 test -z "$as_dir" && as_dir=.
50403 for ac_exec_ext in '' $ac_executable_extensions; do
50404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50405 ac_cv_prog_SETFILE="SetFile"
50406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50412 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
50415 SETFILE=$ac_cv_prog_SETFILE
50416 if test -n "$SETFILE"; then
50417 echo "$as_me:$LINENO: result: $SETFILE" >&5
50418 echo "${ECHO_T}$SETFILE" >&6
50420 echo "$as_me:$LINENO: result: no" >&5
50421 echo "${ECHO_T}no" >&6
50432 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
50435 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
50439 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
50440 if test "${enable_precomp_headers+set}" = set; then
50441 enableval="$enable_precomp_headers"
50442 bk_use_pch="$enableval"
50450 case ${BAKEFILE_HOST} in
50456 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50457 if test "x$GCC" = "xyes"; then
50458 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50459 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
50460 cat >conftest.$ac_ext <<_ACEOF
50463 cat confdefs.h >>conftest.$ac_ext
50464 cat >>conftest.$ac_ext <<_ACEOF
50465 /* end confdefs.h. */
50471 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50472 There is no PCH support
50475 There is no PCH support
50477 #if (__GNUC__ == 3) && \
50478 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50479 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50480 ( defined(__INTEL_COMPILER) )
50481 There is no PCH support
50488 rm -f conftest.$ac_objext
50489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50490 (eval $ac_compile) 2>conftest.er1
50492 grep -v '^ *+' conftest.er1 >conftest.err
50494 cat conftest.err >&5
50495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50496 (exit $ac_status); } &&
50497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50499 (eval $ac_try) 2>&5
50501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50502 (exit $ac_status); }; } &&
50503 { ac_try='test -s conftest.$ac_objext'
50504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50505 (eval $ac_try) 2>&5
50507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50508 (exit $ac_status); }; }; then
50510 echo "$as_me:$LINENO: result: yes" >&5
50511 echo "${ECHO_T}yes" >&6
50515 echo "$as_me: failed program was:" >&5
50516 sed 's/^/| /' conftest.$ac_ext >&5
50519 cat >conftest.$ac_ext <<_ACEOF
50522 cat confdefs.h >>conftest.$ac_ext
50523 cat >>conftest.$ac_ext <<_ACEOF
50524 /* end confdefs.h. */
50530 #if !defined(__INTEL_COMPILER) || \
50531 (__INTEL_COMPILER < 800)
50532 There is no PCH support
50539 rm -f conftest.$ac_objext
50540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50541 (eval $ac_compile) 2>conftest.er1
50543 grep -v '^ *+' conftest.er1 >conftest.err
50545 cat conftest.err >&5
50546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50547 (exit $ac_status); } &&
50548 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50550 (eval $ac_try) 2>&5
50552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50553 (exit $ac_status); }; } &&
50554 { ac_try='test -s conftest.$ac_objext'
50555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50556 (eval $ac_try) 2>&5
50558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50559 (exit $ac_status); }; }; then
50561 echo "$as_me:$LINENO: result: yes" >&5
50562 echo "${ECHO_T}yes" >&6
50566 echo "$as_me: failed program was:" >&5
50567 sed 's/^/| /' conftest.$ac_ext >&5
50570 echo "$as_me:$LINENO: result: no" >&5
50571 echo "${ECHO_T}no" >&6
50574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50578 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50582 cat <<EOF >bk-make-pch
50585 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
50586 # script. It is used to generated precompiled headers.
50588 # Permission is given to use this file in any way.
50598 while test ${D}{#} -gt 0; do
50602 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
50603 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50604 headerfile="${D}{incdir}/${D}{header}"
50607 -use-pch|-use_pch )
50612 if test ${D}add_to_cmdline = 1 ; then
50613 compiler="${D}{compiler} ${D}{1}"
50618 if test "x${D}{headerfile}" = "x" ; then
50619 echo "error: can't find header ${D}{header} in include paths" >&2
50621 if test -f ${D}{outfile} ; then
50622 rm -f ${D}{outfile}
50624 mkdir -p \`dirname ${D}{outfile}\`
50626 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
50628 if test "x${GCC_PCH}" = "x1" ; then
50629 # can do this because gcc is >= 3.4:
50630 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50631 elif test "x${ICC_PCH}" = "x1" ; then
50632 filename=pch_gen-${D}${D}
50633 file=${D}{filename}.c
50634 dfile=${D}{filename}.d
50635 cat > ${D}file <<EOT
50636 #include "${D}header"
50638 # using -MF icc complains about differing command lines in creation/use
50639 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
50640 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50641 rm -f ${D}file ${D}dfile ${D}{filename}.o
50647 chmod +x bk-make-pch
50648 BK_MAKE_PCH="`pwd`/bk-make-pch"
50657 COND_BUILD_DEBUG="#"
50658 if test "x$BUILD" = "xdebug" ; then
50659 COND_BUILD_DEBUG=""
50662 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50663 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50664 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50667 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50668 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50669 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50672 COND_BUILD_DEBUG_UNICODE_0="#"
50673 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50674 COND_BUILD_DEBUG_UNICODE_0=""
50677 COND_BUILD_DEBUG_UNICODE_1="#"
50678 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50679 COND_BUILD_DEBUG_UNICODE_1=""
50682 COND_BUILD_RELEASE="#"
50683 if test "x$BUILD" = "xrelease" ; then
50684 COND_BUILD_RELEASE=""
50687 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50688 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50689 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50692 COND_BUILD_RELEASE_UNICODE_0="#"
50693 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50694 COND_BUILD_RELEASE_UNICODE_0=""
50697 COND_BUILD_RELEASE_UNICODE_1="#"
50698 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50699 COND_BUILD_RELEASE_UNICODE_1=""
50702 COND_DEBUG_FLAG_1="#"
50703 if test "x$DEBUG_FLAG" = "x1" ; then
50704 COND_DEBUG_FLAG_1=""
50707 COND_DEBUG_INFO_0="#"
50708 if test "x$DEBUG_INFO" = "x0" ; then
50709 COND_DEBUG_INFO_0=""
50712 COND_DEBUG_INFO_1="#"
50713 if test "x$DEBUG_INFO" = "x1" ; then
50714 COND_DEBUG_INFO_1=""
50717 COND_DEPS_TRACKING_0="#"
50718 if test "x$DEPS_TRACKING" = "x0" ; then
50719 COND_DEPS_TRACKING_0=""
50722 COND_DEPS_TRACKING_1="#"
50723 if test "x$DEPS_TRACKING" = "x1" ; then
50724 COND_DEPS_TRACKING_1=""
50728 if test "x$GCC_PCH" = "x1" ; then
50733 if test "x$ICC_PCH" = "x1" ; then
50737 COND_MONOLITHIC_0="#"
50738 if test "x$MONOLITHIC" = "x0" ; then
50739 COND_MONOLITHIC_0=""
50742 COND_MONOLITHIC_0_SHARED_0="#"
50743 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50744 COND_MONOLITHIC_0_SHARED_0=""
50747 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50748 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50749 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50752 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50753 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50754 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50757 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50758 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50759 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50762 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50763 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50764 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50767 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
50768 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50769 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
50772 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50773 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50774 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50777 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
50778 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
50779 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
50782 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50783 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50784 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50787 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
50788 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50789 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
50792 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50793 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50794 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50797 COND_MONOLITHIC_0_SHARED_1="#"
50798 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50799 COND_MONOLITHIC_0_SHARED_1=""
50802 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50803 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50804 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50807 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50808 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50809 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50812 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50813 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50814 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50817 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50818 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50819 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50822 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
50823 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50824 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
50827 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50828 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50829 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50832 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
50833 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
50834 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
50837 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50838 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50839 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50842 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
50843 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50844 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
50847 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50848 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50849 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50852 COND_MONOLITHIC_0_USE_AUI_1="#"
50853 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50854 COND_MONOLITHIC_0_USE_AUI_1=""
50857 COND_MONOLITHIC_0_USE_GUI_1="#"
50858 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50859 COND_MONOLITHIC_0_USE_GUI_1=""
50862 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50863 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50864 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50867 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
50868 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50869 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
50872 COND_MONOLITHIC_0_USE_HTML_1="#"
50873 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50874 COND_MONOLITHIC_0_USE_HTML_1=""
50877 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50878 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50879 COND_MONOLITHIC_0_USE_MEDIA_1=""
50882 COND_MONOLITHIC_0_USE_ODBC_1="#"
50883 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
50884 COND_MONOLITHIC_0_USE_ODBC_1=""
50887 COND_MONOLITHIC_0_USE_QA_1="#"
50888 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50889 COND_MONOLITHIC_0_USE_QA_1=""
50892 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50893 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50894 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50897 COND_MONOLITHIC_0_USE_STC_1="#"
50898 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50899 COND_MONOLITHIC_0_USE_STC_1=""
50902 COND_MONOLITHIC_0_USE_XRC_1="#"
50903 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50904 COND_MONOLITHIC_0_USE_XRC_1=""
50907 COND_MONOLITHIC_1="#"
50908 if test "x$MONOLITHIC" = "x1" ; then
50909 COND_MONOLITHIC_1=""
50912 COND_MONOLITHIC_1_SHARED_0="#"
50913 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50914 COND_MONOLITHIC_1_SHARED_0=""
50917 COND_MONOLITHIC_1_SHARED_1="#"
50918 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50919 COND_MONOLITHIC_1_SHARED_1=""
50922 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50923 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50924 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50927 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50928 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50929 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50932 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50933 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50934 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50937 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50938 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50939 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50942 COND_PLATFORM_MACOSX_1="#"
50943 if test "x$PLATFORM_MACOSX" = "x1" ; then
50944 COND_PLATFORM_MACOSX_1=""
50947 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
50948 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
50949 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
50952 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
50953 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
50954 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
50957 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
50958 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
50959 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
50962 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
50963 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
50964 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
50967 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
50968 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50969 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
50972 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
50973 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
50974 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
50977 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
50978 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
50979 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
50982 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50983 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50984 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50987 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50988 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50989 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50992 COND_PLATFORM_MACOS_1="#"
50993 if test "x$PLATFORM_MACOS" = "x1" ; then
50994 COND_PLATFORM_MACOS_1=""
50997 COND_PLATFORM_MAC_1="#"
50998 if test "x$PLATFORM_MAC" = "x1" ; then
50999 COND_PLATFORM_MAC_1=""
51002 COND_PLATFORM_MSDOS_0="#"
51003 if test "x$PLATFORM_MSDOS" = "x0" ; then
51004 COND_PLATFORM_MSDOS_0=""
51007 COND_PLATFORM_MSDOS_1="#"
51008 if test "x$PLATFORM_MSDOS" = "x1" ; then
51009 COND_PLATFORM_MSDOS_1=""
51012 COND_PLATFORM_OS2_1="#"
51013 if test "x$PLATFORM_OS2" = "x1" ; then
51014 COND_PLATFORM_OS2_1=""
51017 COND_PLATFORM_UNIX_0="#"
51018 if test "x$PLATFORM_UNIX" = "x0" ; then
51019 COND_PLATFORM_UNIX_0=""
51022 COND_PLATFORM_UNIX_1="#"
51023 if test "x$PLATFORM_UNIX" = "x1" ; then
51024 COND_PLATFORM_UNIX_1=""
51027 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51028 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51029 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51032 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51033 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51034 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51037 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51038 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51039 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51042 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51043 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51044 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51047 COND_PLATFORM_WIN32_0="#"
51048 if test "x$PLATFORM_WIN32" = "x0" ; then
51049 COND_PLATFORM_WIN32_0=""
51052 COND_PLATFORM_WIN32_1="#"
51053 if test "x$PLATFORM_WIN32" = "x1" ; then
51054 COND_PLATFORM_WIN32_1=""
51058 if test "x$SHARED" = "x0" ; then
51062 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51063 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51064 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51067 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51068 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51069 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51072 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51073 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51074 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51077 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51078 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51079 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51082 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51083 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51084 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51087 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51088 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51089 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51092 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51093 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51094 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51097 COND_SHARED_0_USE_STC_1="#"
51098 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51099 COND_SHARED_0_USE_STC_1=""
51102 COND_SHARED_0_USE_XRC_1="#"
51103 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51104 COND_SHARED_0_USE_XRC_1=""
51107 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
51108 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51109 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
51112 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
51113 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
51114 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
51117 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
51118 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51119 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
51122 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
51123 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51124 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
51128 if test "x$SHARED" = "x1" ; then
51132 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51133 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51134 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51137 COND_SHARED_1_USE_XRC_1="#"
51138 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51139 COND_SHARED_1_USE_XRC_1=""
51143 if test "x$TOOLKIT" = "x" ; then
51147 COND_TOOLKIT_COCOA="#"
51148 if test "x$TOOLKIT" = "xCOCOA" ; then
51149 COND_TOOLKIT_COCOA=""
51152 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51153 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51154 COND_TOOLKIT_COCOA_USE_GUI_1=""
51157 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51158 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51159 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51162 COND_TOOLKIT_DFB="#"
51163 if test "x$TOOLKIT" = "xDFB" ; then
51164 COND_TOOLKIT_DFB=""
51167 COND_TOOLKIT_DFB_USE_GUI_1="#"
51168 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51169 COND_TOOLKIT_DFB_USE_GUI_1=""
51172 COND_TOOLKIT_GTK="#"
51173 if test "x$TOOLKIT" = "xGTK" ; then
51174 COND_TOOLKIT_GTK=""
51177 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51178 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51179 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51182 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51183 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51184 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51187 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51188 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51189 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51192 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51193 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51194 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51197 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51198 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51199 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51202 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51203 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51204 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51207 COND_TOOLKIT_GTK_USE_GUI_1="#"
51208 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51209 COND_TOOLKIT_GTK_USE_GUI_1=""
51212 COND_TOOLKIT_MAC="#"
51213 if test "x$TOOLKIT" = "xMAC" ; then
51214 COND_TOOLKIT_MAC=""
51217 COND_TOOLKIT_MAC_USE_GUI_1="#"
51218 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51219 COND_TOOLKIT_MAC_USE_GUI_1=""
51222 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
51223 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51224 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
51227 COND_TOOLKIT_MGL="#"
51228 if test "x$TOOLKIT" = "xMGL" ; then
51229 COND_TOOLKIT_MGL=""
51232 COND_TOOLKIT_MGL_USE_GUI_1="#"
51233 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51234 COND_TOOLKIT_MGL_USE_GUI_1=""
51237 COND_TOOLKIT_MOTIF="#"
51238 if test "x$TOOLKIT" = "xMOTIF" ; then
51239 COND_TOOLKIT_MOTIF=""
51242 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51243 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51244 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51247 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51248 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51249 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51252 COND_TOOLKIT_MSW="#"
51253 if test "x$TOOLKIT" = "xMSW" ; then
51254 COND_TOOLKIT_MSW=""
51257 COND_TOOLKIT_MSW_USE_GUI_1="#"
51258 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51259 COND_TOOLKIT_MSW_USE_GUI_1=""
51262 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51263 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51264 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51267 COND_TOOLKIT_MSW_WXUNIV_0="#"
51268 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51269 COND_TOOLKIT_MSW_WXUNIV_0=""
51272 COND_TOOLKIT_PM="#"
51273 if test "x$TOOLKIT" = "xPM" ; then
51277 COND_TOOLKIT_PM_USE_GUI_1="#"
51278 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51279 COND_TOOLKIT_PM_USE_GUI_1=""
51282 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51283 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51284 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51287 COND_TOOLKIT_WINCE="#"
51288 if test "x$TOOLKIT" = "xWINCE" ; then
51289 COND_TOOLKIT_WINCE=""
51292 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51293 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51294 COND_TOOLKIT_WINCE_USE_GUI_1=""
51297 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51298 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51299 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51302 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51303 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51304 COND_TOOLKIT_WINCE_WXUNIV_0=""
51307 COND_TOOLKIT_X11="#"
51308 if test "x$TOOLKIT" = "xX11" ; then
51309 COND_TOOLKIT_X11=""
51312 COND_TOOLKIT_X11_USE_GUI_1="#"
51313 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51314 COND_TOOLKIT_X11_USE_GUI_1=""
51318 if test "x$UNICODE" = "x1" ; then
51322 COND_USE_EXCEPTIONS_0="#"
51323 if test "x$USE_EXCEPTIONS" = "x0" ; then
51324 COND_USE_EXCEPTIONS_0=""
51327 COND_USE_EXCEPTIONS_1="#"
51328 if test "x$USE_EXCEPTIONS" = "x1" ; then
51329 COND_USE_EXCEPTIONS_1=""
51333 if test "x$USE_GUI" = "x0" ; then
51338 if test "x$USE_GUI" = "x1" ; then
51342 COND_USE_GUI_1_USE_OPENGL_1="#"
51343 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51344 COND_USE_GUI_1_USE_OPENGL_1=""
51347 COND_USE_GUI_1_WXUNIV_0="#"
51348 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51349 COND_USE_GUI_1_WXUNIV_0=""
51352 COND_USE_GUI_1_WXUNIV_1="#"
51353 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51354 COND_USE_GUI_1_WXUNIV_1=""
51357 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51358 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51359 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51362 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51363 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51364 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51367 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51368 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51369 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51372 COND_USE_ODBC_1="#"
51373 if test "x$USE_ODBC" = "x1" ; then
51377 COND_USE_OPENGL_1="#"
51378 if test "x$USE_OPENGL" = "x1" ; then
51379 COND_USE_OPENGL_1=""
51383 if test "x$USE_PCH" = "x1" ; then
51387 COND_USE_PLUGINS_0="#"
51388 if test "x$USE_PLUGINS" = "x0" ; then
51389 COND_USE_PLUGINS_0=""
51392 COND_USE_RTTI_0="#"
51393 if test "x$USE_RTTI" = "x0" ; then
51397 COND_USE_RTTI_1="#"
51398 if test "x$USE_RTTI" = "x1" ; then
51402 COND_USE_SOSYMLINKS_1="#"
51403 if test "x$USE_SOSYMLINKS" = "x1" ; then
51404 COND_USE_SOSYMLINKS_1=""
51407 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51408 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51409 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51412 COND_USE_SOVERLINUX_1="#"
51413 if test "x$USE_SOVERLINUX" = "x1" ; then
51414 COND_USE_SOVERLINUX_1=""
51417 COND_USE_SOVERSION_0="#"
51418 if test "x$USE_SOVERSION" = "x0" ; then
51419 COND_USE_SOVERSION_0=""
51422 COND_USE_SOVERSOLARIS_1="#"
51423 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51424 COND_USE_SOVERSOLARIS_1=""
51428 if test "x$USE_STC" = "x1" ; then
51432 COND_USE_THREADS_0="#"
51433 if test "x$USE_THREADS" = "x0" ; then
51434 COND_USE_THREADS_0=""
51437 COND_USE_THREADS_1="#"
51438 if test "x$USE_THREADS" = "x1" ; then
51439 COND_USE_THREADS_1=""
51443 if test "x$USE_XRC" = "x1" ; then
51447 COND_WINDOWS_IMPLIB_1="#"
51448 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51449 COND_WINDOWS_IMPLIB_1=""
51452 COND_WITH_PLUGIN_SDL_1="#"
51453 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51454 COND_WITH_PLUGIN_SDL_1=""
51458 if test "x$WXUNIV" = "x0" ; then
51463 if test "x$WXUNIV" = "x1" ; then
51467 COND_WXUSE_EXPAT_BUILTIN="#"
51468 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51469 COND_WXUSE_EXPAT_BUILTIN=""
51472 COND_WXUSE_LIBJPEG_BUILTIN="#"
51473 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51474 COND_WXUSE_LIBJPEG_BUILTIN=""
51477 COND_WXUSE_LIBPNG_BUILTIN="#"
51478 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51479 COND_WXUSE_LIBPNG_BUILTIN=""
51482 COND_WXUSE_LIBTIFF_BUILTIN="#"
51483 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51484 COND_WXUSE_LIBTIFF_BUILTIN=""
51487 COND_WXUSE_ODBC_BUILTIN="#"
51488 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
51489 COND_WXUSE_ODBC_BUILTIN=""
51492 COND_WXUSE_REGEX_BUILTIN="#"
51493 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51494 COND_WXUSE_REGEX_BUILTIN=""
51497 COND_WXUSE_ZLIB_BUILTIN="#"
51498 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51499 COND_WXUSE_ZLIB_BUILTIN=""
51504 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51505 { { 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
51506 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;}
51507 { (exit 1); exit 1; }; }
51510 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51511 { { 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
51512 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;}
51513 { (exit 1); exit 1; }; }
51517 if test $GCC_PCH = 1
51519 if test "$wx_cv_gcc_pch_bug" = yes; then
51520 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51521 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51522 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51523 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51524 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51525 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51528 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
51532 if test "$wxUSE_MAC" = 1 ; then
51533 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51534 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51540 if test "$wxUSE_SHARED" = "yes"; then
51542 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
51543 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
51546 *-pc-os2_emx | *-pc-os2-emx )
51547 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51548 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51549 cp -p ${srcdir}/src/os2/dllnames.sh .
51550 cp -p ${srcdir}/src/os2/dllar.sh .
51555 EXE_LINKER="$CXX -o"
51558 if test "$wxUSE_OMF" = "yes"; then
51560 *-pc-os2_emx | *-pc-os2-emx )
51561 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51562 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51563 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51568 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51573 if "$GCC" = yes; then
51574 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
51575 LIBS=`echo $LIBS | sed 's/-mt//'`
51576 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
51581 if test "x$SUNCXX" = xyes; then
51582 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
51583 LIBS=`echo $LIBS | sed 's/-pthread//'`
51584 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
51589 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
51590 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
51592 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51654 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51655 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
51656 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
51657 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
51658 echo $ECHO_N "(cached) $ECHO_C" >&6
51660 cat >conftest.make <<\_ACEOF
51662 @echo 'ac_maketemp="$(MAKE)"'
51664 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51665 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
51666 if test -n "$ac_maketemp"; then
51667 eval ac_cv_prog_make_${ac_make}_set=yes
51669 eval ac_cv_prog_make_${ac_make}_set=no
51671 rm -f conftest.make
51673 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
51674 echo "$as_me:$LINENO: result: yes" >&5
51675 echo "${ECHO_T}yes" >&6
51678 echo "$as_me:$LINENO: result: no" >&5
51679 echo "${ECHO_T}no" >&6
51680 SET_MAKE="MAKE=${MAKE-make}"
51685 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51688 if test "$USE_WIN32" = 1; then
51689 ac_config_commands="$ac_config_commands
51695 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51698 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51701 if test "$wx_cv_version_script" = "yes"; then
51702 ac_config_files="$ac_config_files version-script"
51705 ac_config_files="$ac_config_files Makefile"
51708 ac_config_commands="$ac_config_commands wx-config"
51712 if test "$wxWITH_SUBDIRS" != "no"; then
51713 if test "$wxUSE_GUI" = "yes"; then
51714 SUBDIRS="samples demos utils"
51715 else SUBDIRS="samples utils"
51720 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
51721 if test "${with_cppunit_prefix+set}" = set; then
51722 withval="$with_cppunit_prefix"
51723 cppunit_config_prefix="$withval"
51725 cppunit_config_prefix=""
51728 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
51729 if test "${with_cppunit_exec_prefix+set}" = set; then
51730 withval="$with_cppunit_exec_prefix"
51731 cppunit_config_exec_prefix="$withval"
51733 cppunit_config_exec_prefix=""
51736 if test x$cppunit_config_exec_prefix != x ; then
51737 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51738 if test x${CPPUNIT_CONFIG+set} != xset ; then
51739 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51742 if test x$cppunit_config_prefix != x ; then
51743 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51744 if test x${CPPUNIT_CONFIG+set} != xset ; then
51745 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51749 # Extract the first word of "cppunit-config", so it can be a program name with args.
51750 set dummy cppunit-config; ac_word=$2
51751 echo "$as_me:$LINENO: checking for $ac_word" >&5
51752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
51753 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51754 echo $ECHO_N "(cached) $ECHO_C" >&6
51756 case $CPPUNIT_CONFIG in
51758 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51762 for as_dir in $PATH
51765 test -z "$as_dir" && as_dir=.
51766 for ac_exec_ext in '' $ac_executable_extensions; do
51767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
51768 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51775 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51779 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51781 if test -n "$CPPUNIT_CONFIG"; then
51782 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51783 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
51785 echo "$as_me:$LINENO: result: no" >&5
51786 echo "${ECHO_T}no" >&6
51789 cppunit_version_min=1.8.0
51791 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51792 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
51794 if test "$CPPUNIT_CONFIG" = "no" ; then
51795 echo "$as_me:$LINENO: result: no" >&5
51796 echo "${ECHO_T}no" >&6
51799 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51800 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51801 cppunit_version=`$CPPUNIT_CONFIG --version`
51803 cppunit_major_version=`echo $cppunit_version | \
51804 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51805 cppunit_minor_version=`echo $cppunit_version | \
51806 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51807 cppunit_micro_version=`echo $cppunit_version | \
51808 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51810 cppunit_major_min=`echo $cppunit_version_min | \
51811 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51812 cppunit_minor_min=`echo $cppunit_version_min | \
51813 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51814 cppunit_micro_min=`echo $cppunit_version_min | \
51815 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51817 cppunit_version_proper=`expr \
51818 $cppunit_major_version \> $cppunit_major_min \| \
51819 $cppunit_major_version \= $cppunit_major_min \& \
51820 $cppunit_minor_version \> $cppunit_minor_min \| \
51821 $cppunit_major_version \= $cppunit_major_min \& \
51822 $cppunit_minor_version \= $cppunit_minor_min \& \
51823 $cppunit_micro_version \>= $cppunit_micro_min `
51825 if test "$cppunit_version_proper" = "1" ; then
51826 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51827 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
51829 echo "$as_me:$LINENO: result: no" >&5
51830 echo "${ECHO_T}no" >&6
51835 if test "x$no_cppunit" = x ; then
51836 SUBDIRS="$SUBDIRS tests"
51847 for subdir in `echo $SUBDIRS`; do
51848 if test -d ${srcdir}/${subdir} ; then
51849 if test "$wxUSE_GUI" = "yes"; then
51850 if test ${subdir} = "samples"; then
51851 makefiles="samples/Makefile.in $makefiles"
51852 for sample in `echo $SAMPLES_SUBDIRS`; do
51853 if test -d $srcdir/samples/$sample; then
51854 makefiles="samples/$sample/Makefile.in $makefiles"
51858 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
51859 eval "disabled=\$$disabled_var"
51860 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51861 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51863 else if test ${subdir} = "samples"; then
51864 makefiles="samples/Makefile.in samples/console/Makefile.in"
51865 elif test ${subdir} = "utils"; then
51867 for util in HelpGen tex2rtf ; do
51868 if test -d $srcdir/utils/$util ; then
51869 makefiles="utils/$util/Makefile.in \
51870 utils/$util/src/Makefile.in \
51874 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51878 for mkin in $makefiles ; do
51879 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51880 ac_config_files="$ac_config_files $mk"
51886 cat >confcache <<\_ACEOF
51887 # This file is a shell script that caches the results of configure
51888 # tests run on this system so they can be shared between configure
51889 # scripts and configure runs, see configure's option --config-cache.
51890 # It is not useful on other systems. If it contains results you don't
51891 # want to keep, you may remove or edit it.
51893 # config.status only pays attention to the cache file if you give it
51894 # the --recheck option to rerun configure.
51896 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51897 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51898 # following values.
51902 # The following way of writing the cache mishandles newlines in values,
51903 # but we know of no workaround that is simple, portable, and efficient.
51904 # So, don't put newlines in cache variables' values.
51905 # Ultrix sh set writes to stderr and can't be redirected directly,
51906 # and sets the high bit in the cache file unless we assign to the vars.
51909 case `(ac_space=' '; set | grep ac_space) 2>&1` in
51911 # `set' does not quote correctly, so add quotes (double-quote
51912 # substitution turns \\\\ into \\, and sed turns \\ into \).
51915 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51918 # `set' quotes correctly as required by POSIX, so do not add quotes.
51920 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
51927 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51929 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51931 if diff $cache_file confcache >/dev/null 2>&1; then :; else
51932 if test -w $cache_file; then
51933 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
51934 cat confcache >$cache_file
51936 echo "not updating unwritable cache $cache_file"
51941 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51942 # Let make expand exec_prefix.
51943 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51945 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51946 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51947 # trailing colons and then remove the whole line if VPATH becomes empty
51948 # (actually we leave an empty line to preserve line numbers).
51949 if test "x$srcdir" = x.; then
51950 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51951 s/:*\$(srcdir):*/:/;
51952 s/:*\${srcdir}:*/:/;
51954 s/^\([^=]*=[ ]*\):*/\1/;
51960 DEFS=-DHAVE_CONFIG_H
51964 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51965 # 1. Remove the extension, and $U if already installed.
51966 ac_i=`echo "$ac_i" |
51967 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
51969 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
51970 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
51972 LIBOBJS=$ac_libobjs
51974 LTLIBOBJS=$ac_ltlibobjs
51978 : ${CONFIG_STATUS=./config.status}
51979 ac_clean_files_save=$ac_clean_files
51980 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51981 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51982 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51983 cat >$CONFIG_STATUS <<_ACEOF
51985 # Generated by $as_me.
51986 # Run this file to recreate the current configuration.
51987 # Compiler output produced by configure, useful for debugging
51988 # configure, is in config.log if it exists.
51991 ac_cs_recheck=false
51993 SHELL=\${CONFIG_SHELL-$SHELL}
51996 cat >>$CONFIG_STATUS <<\_ACEOF
51997 ## --------------------- ##
51998 ## M4sh Initialization. ##
51999 ## --------------------- ##
52001 # Be Bourne compatible
52002 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52005 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52006 # is contrary to our usage. Disable this feature.
52007 alias -g '${1+"$@"}'='"$@"'
52008 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
52011 DUALCASE=1; export DUALCASE # for MKS sh
52013 # Support unset when possible.
52014 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52021 # Work around bugs in pre-3.0 UWIN ksh.
52022 $as_unset ENV MAIL MAILPATH
52029 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52030 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52031 LC_TELEPHONE LC_TIME
52033 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52034 eval $as_var=C; export $as_var
52040 # Required to use basename.
52041 if expr a : '\(a\)' >/dev/null 2>&1; then
52047 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
52048 as_basename=basename
52054 # Name of the executable.
52055 as_me=`$as_basename "$0" ||
52056 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52057 X"$0" : 'X\(//\)$' \| \
52058 X"$0" : 'X\(/\)$' \| \
52059 . : '\(.\)' 2>/dev/null ||
52061 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
52062 /^X\/\(\/\/\)$/{ s//\1/; q; }
52063 /^X\/\(\/\).*/{ s//\1/; q; }
52067 # PATH needs CR, and LINENO needs CR and PATH.
52068 # Avoid depending upon Character Ranges.
52069 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52070 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52071 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52072 as_cr_digits='0123456789'
52073 as_cr_alnum=$as_cr_Letters$as_cr_digits
52075 # The user is always right.
52076 if test "${PATH_SEPARATOR+set}" != set; then
52077 echo "#! /bin/sh" >conf$$.sh
52078 echo "exit 0" >>conf$$.sh
52080 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52089 as_lineno_1=$LINENO
52090 as_lineno_2=$LINENO
52091 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
52092 test "x$as_lineno_1" != "x$as_lineno_2" &&
52093 test "x$as_lineno_3" = "x$as_lineno_2" || {
52094 # Find who we are. Look in the path if we contain no path at all
52097 *[\\/]* ) as_myself=$0 ;;
52098 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52099 for as_dir in $PATH
52102 test -z "$as_dir" && as_dir=.
52103 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
52108 # We did not find ourselves, most probably we were run as `sh COMMAND'
52109 # in which case we are not to be found in the path.
52110 if test "x$as_myself" = x; then
52113 if test ! -f "$as_myself"; then
52114 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
52115 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
52116 { (exit 1); exit 1; }; }
52118 case $CONFIG_SHELL in
52120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52121 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
52124 test -z "$as_dir" && as_dir=.
52125 for as_base in sh bash ksh sh5; do
52128 if ("$as_dir/$as_base" -c '
52129 as_lineno_1=$LINENO
52130 as_lineno_2=$LINENO
52131 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
52132 test "x$as_lineno_1" != "x$as_lineno_2" &&
52133 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
52134 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
52135 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
52136 CONFIG_SHELL=$as_dir/$as_base
52137 export CONFIG_SHELL
52138 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
52146 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52147 # uniformly replaced by the line number. The first 'sed' inserts a
52148 # line-number line before each line; the second 'sed' does the real
52149 # work. The second script uses 'N' to pair each line-number line
52150 # with the numbered line, and appends trailing '-' during
52151 # substitution so that $LINENO is not a special case at line end.
52152 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52153 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
52154 sed '=' <$as_myself |
52159 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
52162 s,^['$as_cr_digits']*\n,,
52163 ' >$as_me.lineno &&
52164 chmod +x $as_me.lineno ||
52165 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
52166 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
52167 { (exit 1); exit 1; }; }
52169 # Don't try to exec as it changes $[0], causing all sort of problems
52170 # (the dirname of $[0] is not the place where we might find the
52171 # original and so on. Autoconf is especially sensible to this).
52173 # Exit status is that of the last command.
52178 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
52179 *c*,-n*) ECHO_N= ECHO_C='
52181 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
52182 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
52185 if expr a : '\(a\)' >/dev/null 2>&1; then
52191 rm -f conf$$ conf$$.exe conf$$.file
52193 if ln -s conf$$.file conf$$ 2>/dev/null; then
52194 # We could just check for DJGPP; but this test a) works b) is more generic
52195 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
52196 if test -f conf$$.exe; then
52197 # Don't use ln at all; we don't have any links
52202 elif ln conf$$.file conf$$ 2>/dev/null; then
52207 rm -f conf$$ conf$$.exe conf$$.file
52209 if mkdir -p . 2>/dev/null; then
52212 test -d ./-p && rmdir ./-p
52216 as_executable_p="test -f"
52218 # Sed expression to map a string onto a valid CPP name.
52219 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52221 # Sed expression to map a string onto a valid variable name.
52222 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52226 # We need space, tab and new line, in precisely that order.
52236 # Open the log real soon, to keep \$[0] and so on meaningful, and to
52237 # report actual input values of CONFIG_FILES etc. instead of their
52238 # values after options handling. Logging --version etc. is OK.
52242 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52243 ## Running $as_me. ##
52248 This file was extended by wxWidgets $as_me 2.9.0, which was
52249 generated by GNU Autoconf 2.59. Invocation command line was
52251 CONFIG_FILES = $CONFIG_FILES
52252 CONFIG_HEADERS = $CONFIG_HEADERS
52253 CONFIG_LINKS = $CONFIG_LINKS
52254 CONFIG_COMMANDS = $CONFIG_COMMANDS
52258 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
52262 # Files that config.status was made for.
52263 if test -n "$ac_config_files"; then
52264 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
52267 if test -n "$ac_config_headers"; then
52268 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
52271 if test -n "$ac_config_links"; then
52272 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
52275 if test -n "$ac_config_commands"; then
52276 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
52279 cat >>$CONFIG_STATUS <<\_ACEOF
52282 \`$as_me' instantiates files from templates according to the
52283 current configuration.
52285 Usage: $0 [OPTIONS] [FILE]...
52287 -h, --help print this help, then exit
52288 -V, --version print version number, then exit
52289 -q, --quiet do not print progress messages
52290 -d, --debug don't remove temporary files
52291 --recheck update $as_me by reconfiguring in the same conditions
52292 --file=FILE[:TEMPLATE]
52293 instantiate the configuration file FILE
52294 --header=FILE[:TEMPLATE]
52295 instantiate the configuration header FILE
52297 Configuration files:
52300 Configuration headers:
52303 Configuration commands:
52306 Report bugs to <bug-autoconf@gnu.org>."
52309 cat >>$CONFIG_STATUS <<_ACEOF
52311 wxWidgets config.status 2.9.0
52312 configured by $0, generated by GNU Autoconf 2.59,
52313 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
52315 Copyright (C) 2003 Free Software Foundation, Inc.
52316 This config.status script is free software; the Free Software Foundation
52317 gives unlimited permission to copy, distribute and modify it."
52322 cat >>$CONFIG_STATUS <<\_ACEOF
52323 # If no file are specified by the user, then we need to provide default
52324 # value. By we need to know if files were specified by the user.
52330 ac_option=`expr "x$1" : 'x\([^=]*\)='`
52331 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
52339 *) # This is not an option, so the user has probably given explicit
52342 ac_need_defaults=false;;
52346 # Handling of the options.
52348 cat >>$CONFIG_STATUS <<\_ACEOF
52349 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52351 --version | --vers* | -V )
52352 echo "$ac_cs_version"; exit 0 ;;
52354 # Conflict between --help and --header
52355 { { echo "$as_me:$LINENO: error: ambiguous option: $1
52356 Try \`$0 --help' for more information." >&5
52357 echo "$as_me: error: ambiguous option: $1
52358 Try \`$0 --help' for more information." >&2;}
52359 { (exit 1); exit 1; }; };;
52360 --help | --hel | -h )
52361 echo "$ac_cs_usage"; exit 0 ;;
52362 --debug | --d* | -d )
52364 --file | --fil | --fi | --f )
52366 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
52367 ac_need_defaults=false;;
52368 --header | --heade | --head | --hea )
52370 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
52371 ac_need_defaults=false;;
52372 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52373 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52376 # This is an error.
52377 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
52378 Try \`$0 --help' for more information." >&5
52379 echo "$as_me: error: unrecognized option: $1
52380 Try \`$0 --help' for more information." >&2;}
52381 { (exit 1); exit 1; }; } ;;
52383 *) ac_config_targets="$ac_config_targets $1" ;;
52389 ac_configure_extra_args=
52391 if $ac_cs_silent; then
52393 ac_configure_extra_args="$ac_configure_extra_args --silent"
52397 cat >>$CONFIG_STATUS <<_ACEOF
52398 if \$ac_cs_recheck; then
52399 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52400 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52405 cat >>$CONFIG_STATUS <<_ACEOF
52407 # INIT-COMMANDS section.
52412 infile="$srcdir/include/wx/msw/genrcdefs.h"
52413 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52416 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52417 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52418 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52426 cat >>$CONFIG_STATUS <<\_ACEOF
52427 for ac_config_target in $ac_config_targets
52429 case "$ac_config_target" in
52430 # Handling of arguments.
52431 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52432 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52433 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
52434 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
52435 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
52436 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
52437 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
52438 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52439 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52440 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52441 { (exit 1); exit 1; }; };;
52445 # If the user did not use the arguments to specify the items to instantiate,
52446 # then the envvar interface is used. Set only those that are not.
52447 # We use the long form for the default assignment because of an extremely
52448 # bizarre bug on SunOS 4.1.3.
52449 if $ac_need_defaults; then
52450 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
52451 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
52452 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
52455 # Have a temporary directory for convenience. Make it in the build tree
52456 # simply because there is no reason to put it here, and in addition,
52457 # creating and moving files from /tmp can sometimes cause problems.
52458 # Create a temporary directory, and hook for its removal unless debugging.
52461 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
52462 trap '{ (exit 1); exit 1; }' 1 2 13 15
52465 # Create a (secure) tmp directory for tmp files.
52468 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
52469 test -n "$tmp" && test -d "$tmp"
52472 tmp=./confstat$$-$RANDOM
52473 (umask 077 && mkdir $tmp)
52476 echo "$me: cannot create a temporary directory in ." >&2
52477 { (exit 1); exit 1; }
52482 cat >>$CONFIG_STATUS <<_ACEOF
52485 # CONFIG_FILES section.
52488 # No need to generate the scripts if there are no CONFIG_FILES.
52489 # This happens for instance when ./config.status config.h
52490 if test -n "\$CONFIG_FILES"; then
52491 # Protect against being on the right side of a sed subst in config.status.
52492 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
52493 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
52494 s,@SHELL@,$SHELL,;t t
52495 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
52496 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
52497 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
52498 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
52499 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
52500 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
52501 s,@exec_prefix@,$exec_prefix,;t t
52502 s,@prefix@,$prefix,;t t
52503 s,@program_transform_name@,$program_transform_name,;t t
52504 s,@bindir@,$bindir,;t t
52505 s,@sbindir@,$sbindir,;t t
52506 s,@libexecdir@,$libexecdir,;t t
52507 s,@datadir@,$datadir,;t t
52508 s,@sysconfdir@,$sysconfdir,;t t
52509 s,@sharedstatedir@,$sharedstatedir,;t t
52510 s,@localstatedir@,$localstatedir,;t t
52511 s,@libdir@,$libdir,;t t
52512 s,@includedir@,$includedir,;t t
52513 s,@oldincludedir@,$oldincludedir,;t t
52514 s,@infodir@,$infodir,;t t
52515 s,@mandir@,$mandir,;t t
52516 s,@build_alias@,$build_alias,;t t
52517 s,@host_alias@,$host_alias,;t t
52518 s,@target_alias@,$target_alias,;t t
52519 s,@DEFS@,$DEFS,;t t
52520 s,@ECHO_C@,$ECHO_C,;t t
52521 s,@ECHO_N@,$ECHO_N,;t t
52522 s,@ECHO_T@,$ECHO_T,;t t
52523 s,@LIBS@,$LIBS,;t t
52524 s,@build@,$build,;t t
52525 s,@build_cpu@,$build_cpu,;t t
52526 s,@build_vendor@,$build_vendor,;t t
52527 s,@build_os@,$build_os,;t t
52528 s,@host@,$host,;t t
52529 s,@host_cpu@,$host_cpu,;t t
52530 s,@host_vendor@,$host_vendor,;t t
52531 s,@host_os@,$host_os,;t t
52532 s,@target@,$target,;t t
52533 s,@target_cpu@,$target_cpu,;t t
52534 s,@target_vendor@,$target_vendor,;t t
52535 s,@target_os@,$target_os,;t t
52536 s,@wx_top_builddir@,$wx_top_builddir,;t t
52538 s,@CFLAGS@,$CFLAGS,;t t
52539 s,@LDFLAGS@,$LDFLAGS,;t t
52540 s,@CPPFLAGS@,$CPPFLAGS,;t t
52541 s,@ac_ct_CC@,$ac_ct_CC,;t t
52542 s,@EXEEXT@,$EXEEXT,;t t
52543 s,@OBJEXT@,$OBJEXT,;t t
52545 s,@EGREP@,$EGREP,;t t
52547 s,@CXXFLAGS@,$CXXFLAGS,;t t
52548 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
52549 s,@RANLIB@,$RANLIB,;t t
52550 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
52552 s,@ac_ct_AR@,$ac_ct_AR,;t t
52553 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
52554 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
52555 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
52556 s,@STRIP@,$STRIP,;t t
52557 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
52558 s,@WINDRES@,$WINDRES,;t t
52559 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
52560 s,@DLLTOOL@,$DLLTOOL,;t t
52561 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
52562 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
52563 s,@LN_S@,$LN_S,;t t
52564 s,@subdirs@,$subdirs,;t t
52565 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
52566 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
52567 s,@GTK_LIBS@,$GTK_LIBS,;t t
52568 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
52569 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
52570 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
52571 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
52572 s,@X_CFLAGS@,$X_CFLAGS,;t t
52573 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
52574 s,@X_LIBS@,$X_LIBS,;t t
52575 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
52576 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
52577 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
52578 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
52579 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
52580 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
52581 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
52582 s,@CFLAGS_VISIBILITY@,$CFLAGS_VISIBILITY,;t t
52583 s,@CXXFLAGS_VISIBILITY@,$CXXFLAGS_VISIBILITY,;t t
52585 s,@DEREZ@,$DEREZ,;t t
52586 s,@SETFILE@,$SETFILE,;t t
52587 s,@LIBICONV@,$LIBICONV,;t t
52588 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
52589 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
52590 s,@SDL_LIBS@,$SDL_LIBS,;t t
52591 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
52592 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
52593 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
52594 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
52595 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
52596 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
52597 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
52598 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
52599 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
52600 s,@GST_LIBS@,$GST_LIBS,;t t
52601 s,@ALL_WX_LIBS@,$ALL_WX_LIBS,;t t
52602 s,@BUILT_WX_LIBS@,$BUILT_WX_LIBS,;t t
52603 s,@STD_BASE_LIBS@,$STD_BASE_LIBS,;t t
52604 s,@STD_GUI_LIBS@,$STD_GUI_LIBS,;t t
52605 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
52606 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
52607 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
52608 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
52609 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
52610 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
52611 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
52612 s,@VENDOR@,$VENDOR,;t t
52613 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
52614 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
52615 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
52616 s,@WXUNIV@,$WXUNIV,;t t
52617 s,@MONOLITHIC@,$MONOLITHIC,;t t
52618 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
52619 s,@CXXWARNINGS@,$CXXWARNINGS,;t t
52620 s,@EXTRALIBS@,$EXTRALIBS,;t t
52621 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
52622 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
52623 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
52624 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
52625 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
52626 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
52627 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
52628 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
52629 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
52630 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
52631 s,@UNICODE@,$UNICODE,;t t
52632 s,@BUILD@,$BUILD,;t t
52633 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
52634 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
52635 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
52636 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
52637 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
52638 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
52639 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
52640 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
52641 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
52642 s,@SET_MAKE@,$SET_MAKE,;t t
52643 s,@MAKE_SET@,$MAKE_SET,;t t
52644 s,@AROPTIONS@,$AROPTIONS,;t t
52646 s,@ac_ct_NM@,$ac_ct_NM,;t t
52647 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
52648 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
52649 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
52650 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
52651 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
52652 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
52653 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
52654 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
52655 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
52656 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
52657 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
52658 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
52659 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
52660 s,@LIBPREFIX@,$LIBPREFIX,;t t
52661 s,@LIBEXT@,$LIBEXT,;t t
52662 s,@DLLPREFIX@,$DLLPREFIX,;t t
52663 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
52664 s,@dlldir@,$dlldir,;t t
52665 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
52666 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
52667 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
52668 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
52669 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
52670 s,@PIC_FLAG@,$PIC_FLAG,;t t
52671 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
52672 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
52673 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
52674 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
52675 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
52676 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
52677 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
52678 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
52679 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
52680 s,@BK_DEPS@,$BK_DEPS,;t t
52681 s,@GCC_PCH@,$GCC_PCH,;t t
52682 s,@ICC_PCH@,$ICC_PCH,;t t
52683 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
52684 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
52685 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
52686 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
52687 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
52688 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
52689 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
52690 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
52691 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
52692 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
52693 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
52694 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
52695 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
52696 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
52697 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
52698 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
52699 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
52700 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
52701 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
52702 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
52703 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
52704 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
52705 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
52706 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
52707 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
52708 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
52709 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
52710 s,@COND_MONOLITHIC_0_SHARED_0_USE_STC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_STC_1,;t t
52711 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
52712 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
52713 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
52714 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
52715 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
52716 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
52717 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
52718 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
52719 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
52720 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
52721 s,@COND_MONOLITHIC_0_SHARED_1_USE_STC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_STC_1,;t t
52722 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
52723 s,@COND_MONOLITHIC_0_USE_AUI_1@,$COND_MONOLITHIC_0_USE_AUI_1,;t t
52724 s,@COND_MONOLITHIC_0_USE_GUI_1@,$COND_MONOLITHIC_0_USE_GUI_1,;t t
52725 s,@COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1,;t t
52726 s,@COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1,;t t
52727 s,@COND_MONOLITHIC_0_USE_HTML_1@,$COND_MONOLITHIC_0_USE_HTML_1,;t t
52728 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
52729 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
52730 s,@COND_MONOLITHIC_0_USE_QA_1@,$COND_MONOLITHIC_0_USE_QA_1,;t t
52731 s,@COND_MONOLITHIC_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_USE_RICHTEXT_1,;t t
52732 s,@COND_MONOLITHIC_0_USE_STC_1@,$COND_MONOLITHIC_0_USE_STC_1,;t t
52733 s,@COND_MONOLITHIC_0_USE_XRC_1@,$COND_MONOLITHIC_0_USE_XRC_1,;t t
52734 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
52735 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
52736 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
52737 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
52738 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
52739 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
52740 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
52741 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
52742 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
52743 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
52744 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
52745 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
52746 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
52747 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
52748 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
52749 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
52750 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
52751 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
52752 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
52753 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
52754 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
52755 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
52756 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
52757 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
52758 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL,;t t
52759 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1,;t t
52760 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
52761 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
52762 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
52763 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
52764 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
52765 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
52766 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
52767 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
52768 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
52769 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
52770 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
52771 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
52772 s,@COND_SHARED_0_USE_STC_1@,$COND_SHARED_0_USE_STC_1,;t t
52773 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
52774 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
52775 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
52776 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
52777 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
52778 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
52779 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
52780 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
52781 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
52782 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
52783 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
52784 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
52785 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
52786 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
52787 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
52788 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
52789 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
52790 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
52791 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
52792 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
52793 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
52794 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
52795 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
52796 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
52797 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
52798 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
52799 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
52800 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
52801 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
52802 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
52803 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
52804 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
52805 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
52806 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
52807 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
52808 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
52809 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
52810 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
52811 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
52812 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
52813 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
52814 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
52815 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
52816 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
52817 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
52818 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
52819 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
52820 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
52821 s,@COND_USE_GUI_1_USE_OPENGL_1@,$COND_USE_GUI_1_USE_OPENGL_1,;t t
52822 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
52823 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
52824 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
52825 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
52826 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
52827 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
52828 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
52829 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
52830 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
52831 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
52832 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
52833 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
52834 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
52835 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
52836 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
52837 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
52838 s,@COND_USE_STC_1@,$COND_USE_STC_1,;t t
52839 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
52840 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
52841 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
52842 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
52843 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
52844 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
52845 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
52846 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
52847 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
52848 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
52849 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
52850 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
52851 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
52852 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
52853 s,@SHARED@,$SHARED,;t t
52854 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
52855 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
52856 s,@USE_GUI@,$USE_GUI,;t t
52857 s,@AFMINSTALL@,$AFMINSTALL,;t t
52858 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
52859 s,@TOOLKIT@,$TOOLKIT,;t t
52860 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
52861 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
52862 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
52863 s,@cross_compiling@,$cross_compiling,;t t
52864 s,@WIDGET_SET@,$WIDGET_SET,;t t
52865 s,@WX_RELEASE@,$WX_RELEASE,;t t
52866 s,@WX_VERSION@,$WX_VERSION,;t t
52867 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
52868 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
52869 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
52870 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
52871 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
52872 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
52873 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
52874 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
52875 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
52876 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
52877 s,@EXE_LINKER@,$EXE_LINKER,;t t
52878 s,@GUIDIST@,$GUIDIST,;t t
52879 s,@DISTDIR@,$DISTDIR,;t t
52880 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
52881 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
52882 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
52883 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
52884 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
52885 s,@RESCOMP@,$RESCOMP,;t t
52886 s,@RESFLAGS@,$RESFLAGS,;t t
52887 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
52888 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
52889 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
52890 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
52891 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
52892 s,@MACSETFILE@,$MACSETFILE,;t t
52894 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
52895 s,@LIBOBJS@,$LIBOBJS,;t t
52896 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
52901 cat >>$CONFIG_STATUS <<\_ACEOF
52902 # Split the substitutions into bite-sized pieces for seds with
52903 # small command number limits, like on Digital OSF/1 and HP-UX.
52904 ac_max_sed_lines=48
52905 ac_sed_frag=1 # Number of current file.
52906 ac_beg=1 # First line for current file.
52907 ac_end=$ac_max_sed_lines # Line after last line for current file.
52910 while $ac_more_lines; do
52911 if test $ac_beg -gt 1; then
52912 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
52914 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
52916 if test ! -s $tmp/subs.frag; then
52917 ac_more_lines=false
52919 # The purpose of the label and of the branching condition is to
52920 # speed up the sed processing (if there are no `@' at all, there
52921 # is no need to browse any of the substitutions).
52922 # These are the two extra sed commands mentioned above.
52924 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
52925 if test -z "$ac_sed_cmds"; then
52926 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
52928 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
52930 ac_sed_frag=`expr $ac_sed_frag + 1`
52932 ac_end=`expr $ac_end + $ac_max_sed_lines`
52935 if test -z "$ac_sed_cmds"; then
52938 fi # test -n "$CONFIG_FILES"
52941 cat >>$CONFIG_STATUS <<\_ACEOF
52942 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
52943 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52945 - | *:- | *:-:* ) # input from stdin
52947 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52948 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52949 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52950 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52951 * ) ac_file_in=$ac_file.in ;;
52954 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
52955 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
52956 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52957 X"$ac_file" : 'X\(//\)[^/]' \| \
52958 X"$ac_file" : 'X\(//\)$' \| \
52959 X"$ac_file" : 'X\(/\)' \| \
52960 . : '\(.\)' 2>/dev/null ||
52962 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52963 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52964 /^X\(\/\/\)$/{ s//\1/; q; }
52965 /^X\(\/\).*/{ s//\1/; q; }
52967 { if $as_mkdir_p; then
52972 while test ! -d "$as_dir"; do
52973 as_dirs="$as_dir $as_dirs"
52974 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52975 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52976 X"$as_dir" : 'X\(//\)[^/]' \| \
52977 X"$as_dir" : 'X\(//\)$' \| \
52978 X"$as_dir" : 'X\(/\)' \| \
52979 . : '\(.\)' 2>/dev/null ||
52981 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52982 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52983 /^X\(\/\/\)$/{ s//\1/; q; }
52984 /^X\(\/\).*/{ s//\1/; q; }
52987 test ! -n "$as_dirs" || mkdir $as_dirs
52988 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52989 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52990 { (exit 1); exit 1; }; }; }
52994 if test "$ac_dir" != .; then
52995 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52996 # A "../" for each directory in $ac_dir_suffix.
52997 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52999 ac_dir_suffix= ac_top_builddir=
53003 .) # No --srcdir option. We are building in place.
53005 if test -z "$ac_top_builddir"; then
53008 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
53010 [\\/]* | ?:[\\/]* ) # Absolute path.
53011 ac_srcdir=$srcdir$ac_dir_suffix;
53012 ac_top_srcdir=$srcdir ;;
53013 *) # Relative path.
53014 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
53015 ac_top_srcdir=$ac_top_builddir$srcdir ;;
53018 # Do not use `cd foo && pwd` to compute absolute paths, because
53019 # the directories may not exist.
53021 .) ac_abs_builddir="$ac_dir";;
53024 .) ac_abs_builddir=`pwd`;;
53025 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
53026 *) ac_abs_builddir=`pwd`/"$ac_dir";;
53029 case $ac_abs_builddir in
53030 .) ac_abs_top_builddir=${ac_top_builddir}.;;
53032 case ${ac_top_builddir}. in
53033 .) ac_abs_top_builddir=$ac_abs_builddir;;
53034 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
53035 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
53038 case $ac_abs_builddir in
53039 .) ac_abs_srcdir=$ac_srcdir;;
53042 .) ac_abs_srcdir=$ac_abs_builddir;;
53043 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
53044 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
53047 case $ac_abs_builddir in
53048 .) ac_abs_top_srcdir=$ac_top_srcdir;;
53050 case $ac_top_srcdir in
53051 .) ac_abs_top_srcdir=$ac_abs_builddir;;
53052 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
53053 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
53059 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
53060 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
53063 # Let's still pretend it is `configure' which instantiates (i.e., don't
53064 # use $as_me), people would be surprised to read:
53065 # /* config.h. Generated by config.status. */
53066 if test x"$ac_file" = x-; then
53069 configure_input="$ac_file. "
53071 configure_input=$configure_input"Generated from `echo $ac_file_in |
53072 sed 's,.*/,,'` by configure."
53074 # First look for the input files in the build tree, otherwise in the
53076 ac_file_inputs=`IFS=:
53077 for f in $ac_file_in; do
53079 -) echo $tmp/stdin ;;
53081 # Absolute (can't be DOS-style, as IFS=:)
53082 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
53083 echo "$as_me: error: cannot find input file: $f" >&2;}
53084 { (exit 1); exit 1; }; }
53087 if test -f "$f"; then
53090 elif test -f "$srcdir/$f"; then
53095 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
53096 echo "$as_me: error: cannot find input file: $f" >&2;}
53097 { (exit 1); exit 1; }; }
53100 done` || { (exit 1); exit 1; }
53102 if test x"$ac_file" != x-; then
53103 { echo "$as_me:$LINENO: creating $ac_file" >&5
53104 echo "$as_me: creating $ac_file" >&6;}
53108 cat >>$CONFIG_STATUS <<_ACEOF
53112 cat >>$CONFIG_STATUS <<\_ACEOF
53114 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53115 s,@configure_input@,$configure_input,;t t
53116 s,@srcdir@,$ac_srcdir,;t t
53117 s,@abs_srcdir@,$ac_abs_srcdir,;t t
53118 s,@top_srcdir@,$ac_top_srcdir,;t t
53119 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
53120 s,@builddir@,$ac_builddir,;t t
53121 s,@abs_builddir@,$ac_abs_builddir,;t t
53122 s,@top_builddir@,$ac_top_builddir,;t t
53123 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
53124 s,@INSTALL@,$ac_INSTALL,;t t
53125 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
53127 if test x"$ac_file" != x-; then
53128 mv $tmp/out $ac_file
53134 # Run the commands associated with the file.
53136 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
53137 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
53141 cat >>$CONFIG_STATUS <<\_ACEOF
53144 # CONFIG_HEADER section.
53147 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
53148 # NAME is the cpp macro being defined and VALUE is the value it is being given.
53150 # ac_d sets the value in "#define NAME VALUE" lines.
53151 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
53152 ac_dB='[ ].*$,\1#\2'
53155 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
53156 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
53157 ac_uB='$,\1#\2define\3'
53161 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
53162 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
53164 - | *:- | *:-:* ) # input from stdin
53166 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
53167 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
53168 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
53169 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
53170 * ) ac_file_in=$ac_file.in ;;
53173 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
53174 echo "$as_me: creating $ac_file" >&6;}
53176 # First look for the input files in the build tree, otherwise in the
53178 ac_file_inputs=`IFS=:
53179 for f in $ac_file_in; do
53181 -) echo $tmp/stdin ;;
53183 # Absolute (can't be DOS-style, as IFS=:)
53184 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
53185 echo "$as_me: error: cannot find input file: $f" >&2;}
53186 { (exit 1); exit 1; }; }
53187 # Do quote $f, to prevent DOS paths from being IFS'd.
53190 if test -f "$f"; then
53193 elif test -f "$srcdir/$f"; then
53198 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
53199 echo "$as_me: error: cannot find input file: $f" >&2;}
53200 { (exit 1); exit 1; }; }
53203 done` || { (exit 1); exit 1; }
53204 # Remove the trailing spaces.
53205 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
53209 # Transform confdefs.h into two sed scripts, `conftest.defines' and
53210 # `conftest.undefs', that substitutes the proper values into
53211 # config.h.in to produce config.h. The first handles `#define'
53212 # templates, and the second `#undef' templates.
53213 # And first: Protect against being on the right side of a sed subst in
53214 # config.status. Protect against being in an unquoted here document
53215 # in config.status.
53216 rm -f conftest.defines conftest.undefs
53217 # Using a here document instead of a string reduces the quoting nightmare.
53218 # Putting comments in sed scripts is not portable.
53220 # `end' is used to avoid that the second main sed command (meant for
53221 # 0-ary CPP macros) applies to n-ary macro definitions.
53222 # See the Autoconf documentation for `clear'.
53223 cat >confdef2sed.sed <<\_ACEOF
53228 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
53230 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
53233 # If some macros were called several times there might be several times
53234 # the same #defines, which is useless. Nevertheless, we may not want to
53235 # sort them, since we want the *last* AC-DEFINE to be honored.
53236 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
53237 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
53238 rm -f confdef2sed.sed
53240 # This sed command replaces #undef with comments. This is necessary, for
53241 # example, in the case of _POSIX_SOURCE, which is predefined and required
53242 # on some systems where configure will not decide to define it.
53243 cat >>conftest.undefs <<\_ACEOF
53244 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
53247 # Break up conftest.defines because some shells have a limit on the size
53248 # of here documents, and old seds have small limits too (100 cmds).
53249 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
53250 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
53251 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
53252 echo ' :' >>$CONFIG_STATUS
53253 rm -f conftest.tail
53254 while grep . conftest.defines >/dev/null
53256 # Write a limited-size here document to $tmp/defines.sed.
53257 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
53258 # Speed up: don't consider the non `#define' lines.
53259 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
53260 # Work around the forget-to-reset-the-flag bug.
53261 echo 't clr' >>$CONFIG_STATUS
53262 echo ': clr' >>$CONFIG_STATUS
53263 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
53265 sed -f $tmp/defines.sed $tmp/in >$tmp/out
53267 mv $tmp/out $tmp/in
53269 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
53270 rm -f conftest.defines
53271 mv conftest.tail conftest.defines
53273 rm -f conftest.defines
53274 echo ' fi # grep' >>$CONFIG_STATUS
53275 echo >>$CONFIG_STATUS
53277 # Break up conftest.undefs because some shells have a limit on the size
53278 # of here documents, and old seds have small limits too (100 cmds).
53279 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
53280 rm -f conftest.tail
53281 while grep . conftest.undefs >/dev/null
53283 # Write a limited-size here document to $tmp/undefs.sed.
53284 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
53285 # Speed up: don't consider the non `#undef'
53286 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
53287 # Work around the forget-to-reset-the-flag bug.
53288 echo 't clr' >>$CONFIG_STATUS
53289 echo ': clr' >>$CONFIG_STATUS
53290 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
53292 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
53294 mv $tmp/out $tmp/in
53296 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
53297 rm -f conftest.undefs
53298 mv conftest.tail conftest.undefs
53300 rm -f conftest.undefs
53302 cat >>$CONFIG_STATUS <<\_ACEOF
53303 # Let's still pretend it is `configure' which instantiates (i.e., don't
53304 # use $as_me), people would be surprised to read:
53305 # /* config.h. Generated by config.status. */
53306 if test x"$ac_file" = x-; then
53307 echo "/* Generated by configure. */" >$tmp/config.h
53309 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
53311 cat $tmp/in >>$tmp/config.h
53313 if test x"$ac_file" != x-; then
53314 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
53315 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53316 echo "$as_me: $ac_file is unchanged" >&6;}
53318 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
53319 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53320 X"$ac_file" : 'X\(//\)[^/]' \| \
53321 X"$ac_file" : 'X\(//\)$' \| \
53322 X"$ac_file" : 'X\(/\)' \| \
53323 . : '\(.\)' 2>/dev/null ||
53325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53326 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53327 /^X\(\/\/\)$/{ s//\1/; q; }
53328 /^X\(\/\).*/{ s//\1/; q; }
53330 { if $as_mkdir_p; then
53335 while test ! -d "$as_dir"; do
53336 as_dirs="$as_dir $as_dirs"
53337 as_dir=`(dirname "$as_dir") 2>/dev/null ||
53338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53339 X"$as_dir" : 'X\(//\)[^/]' \| \
53340 X"$as_dir" : 'X\(//\)$' \| \
53341 X"$as_dir" : 'X\(/\)' \| \
53342 . : '\(.\)' 2>/dev/null ||
53344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53345 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53346 /^X\(\/\/\)$/{ s//\1/; q; }
53347 /^X\(\/\).*/{ s//\1/; q; }
53350 test ! -n "$as_dirs" || mkdir $as_dirs
53351 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
53352 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
53353 { (exit 1); exit 1; }; }; }
53356 mv $tmp/config.h $ac_file
53360 rm -f $tmp/config.h
53364 cat >>$CONFIG_STATUS <<\_ACEOF
53367 # CONFIG_COMMANDS section.
53369 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
53370 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
53371 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
53372 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
53373 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53374 X"$ac_dest" : 'X\(//\)[^/]' \| \
53375 X"$ac_dest" : 'X\(//\)$' \| \
53376 X"$ac_dest" : 'X\(/\)' \| \
53377 . : '\(.\)' 2>/dev/null ||
53379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53380 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53381 /^X\(\/\/\)$/{ s//\1/; q; }
53382 /^X\(\/\).*/{ s//\1/; q; }
53384 { if $as_mkdir_p; then
53389 while test ! -d "$as_dir"; do
53390 as_dirs="$as_dir $as_dirs"
53391 as_dir=`(dirname "$as_dir") 2>/dev/null ||
53392 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53393 X"$as_dir" : 'X\(//\)[^/]' \| \
53394 X"$as_dir" : 'X\(//\)$' \| \
53395 X"$as_dir" : 'X\(/\)' \| \
53396 . : '\(.\)' 2>/dev/null ||
53398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53399 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53400 /^X\(\/\/\)$/{ s//\1/; q; }
53401 /^X\(\/\).*/{ s//\1/; q; }
53404 test ! -n "$as_dirs" || mkdir $as_dirs
53405 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
53406 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
53407 { (exit 1); exit 1; }; }; }
53411 if test "$ac_dir" != .; then
53412 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53413 # A "../" for each directory in $ac_dir_suffix.
53414 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
53416 ac_dir_suffix= ac_top_builddir=
53420 .) # No --srcdir option. We are building in place.
53422 if test -z "$ac_top_builddir"; then
53425 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
53427 [\\/]* | ?:[\\/]* ) # Absolute path.
53428 ac_srcdir=$srcdir$ac_dir_suffix;
53429 ac_top_srcdir=$srcdir ;;
53430 *) # Relative path.
53431 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
53432 ac_top_srcdir=$ac_top_builddir$srcdir ;;
53435 # Do not use `cd foo && pwd` to compute absolute paths, because
53436 # the directories may not exist.
53438 .) ac_abs_builddir="$ac_dir";;
53441 .) ac_abs_builddir=`pwd`;;
53442 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
53443 *) ac_abs_builddir=`pwd`/"$ac_dir";;
53446 case $ac_abs_builddir in
53447 .) ac_abs_top_builddir=${ac_top_builddir}.;;
53449 case ${ac_top_builddir}. in
53450 .) ac_abs_top_builddir=$ac_abs_builddir;;
53451 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
53452 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
53455 case $ac_abs_builddir in
53456 .) ac_abs_srcdir=$ac_srcdir;;
53459 .) ac_abs_srcdir=$ac_abs_builddir;;
53460 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
53461 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
53464 case $ac_abs_builddir in
53465 .) ac_abs_top_srcdir=$ac_top_srcdir;;
53467 case $ac_top_srcdir in
53468 .) ac_abs_top_srcdir=$ac_abs_builddir;;
53469 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
53470 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
53475 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
53476 echo "$as_me: executing $ac_dest commands" >&6;}
53479 mkdir -p $outdir &&
53480 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53482 wx-config ) rm -f wx-config
53483 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
53489 cat >>$CONFIG_STATUS <<\_ACEOF
53491 { (exit 0); exit 0; }
53493 chmod +x $CONFIG_STATUS
53494 ac_clean_files=$ac_clean_files_save
53497 # configure is writing to config.log, and then calls config.status.
53498 # config.status does its own redirection, appending to config.log.
53499 # Unfortunately, on DOS this fails, as config.log is still kept open
53500 # by configure, so config.status won't be able to write to it; its
53501 # output is simply discarded. So we exec the FD to /dev/null,
53502 # effectively closing config.log, so it can be properly (re)opened and
53503 # appended to by config.status. When coming back to configure, we
53504 # need to make the FD available again.
53505 if test "$no_create" != yes; then
53507 ac_config_status_args=
53508 test "$silent" = yes &&
53509 ac_config_status_args="$ac_config_status_args --quiet"
53511 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
53513 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53514 # would make configure fail if this is the last instruction.
53515 $ac_cs_success || { (exit 1); exit 1; }
53519 # CONFIG_SUBDIRS section.
53521 if test "$no_recursion" != yes; then
53523 # Remove --cache-file and --srcdir arguments so they do not pile up.
53524 ac_sub_configure_args=
53526 for ac_arg in $ac_configure_args; do
53527 if test -n "$ac_prev"; then
53532 -cache-file | --cache-file | --cache-fil | --cache-fi \
53533 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53534 ac_prev=cache_file ;;
53535 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53536 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53539 --config-cache | -C)
53541 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53543 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53545 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53547 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53549 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
53553 # Always prepend --prefix to ensure using the same prefix
53554 # in subdir configurations.
53555 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
53558 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
53560 # Do not complain, so a configure script can configure whichever
53561 # parts of a large source tree are present.
53562 test -d $srcdir/$ac_dir || continue
53564 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
53565 echo "$as_me: configuring in $ac_dir" >&6;}
53566 { if $as_mkdir_p; then
53571 while test ! -d "$as_dir"; do
53572 as_dirs="$as_dir $as_dirs"
53573 as_dir=`(dirname "$as_dir") 2>/dev/null ||
53574 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53575 X"$as_dir" : 'X\(//\)[^/]' \| \
53576 X"$as_dir" : 'X\(//\)$' \| \
53577 X"$as_dir" : 'X\(/\)' \| \
53578 . : '\(.\)' 2>/dev/null ||
53580 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53581 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53582 /^X\(\/\/\)$/{ s//\1/; q; }
53583 /^X\(\/\).*/{ s//\1/; q; }
53586 test ! -n "$as_dirs" || mkdir $as_dirs
53587 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
53588 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
53589 { (exit 1); exit 1; }; }; }
53593 if test "$ac_dir" != .; then
53594 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53595 # A "../" for each directory in $ac_dir_suffix.
53596 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
53598 ac_dir_suffix= ac_top_builddir=
53602 .) # No --srcdir option. We are building in place.
53604 if test -z "$ac_top_builddir"; then
53607 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
53609 [\\/]* | ?:[\\/]* ) # Absolute path.
53610 ac_srcdir=$srcdir$ac_dir_suffix;
53611 ac_top_srcdir=$srcdir ;;
53612 *) # Relative path.
53613 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
53614 ac_top_srcdir=$ac_top_builddir$srcdir ;;
53617 # Do not use `cd foo && pwd` to compute absolute paths, because
53618 # the directories may not exist.
53620 .) ac_abs_builddir="$ac_dir";;
53623 .) ac_abs_builddir=`pwd`;;
53624 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
53625 *) ac_abs_builddir=`pwd`/"$ac_dir";;
53628 case $ac_abs_builddir in
53629 .) ac_abs_top_builddir=${ac_top_builddir}.;;
53631 case ${ac_top_builddir}. in
53632 .) ac_abs_top_builddir=$ac_abs_builddir;;
53633 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
53634 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
53637 case $ac_abs_builddir in
53638 .) ac_abs_srcdir=$ac_srcdir;;
53641 .) ac_abs_srcdir=$ac_abs_builddir;;
53642 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
53643 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
53646 case $ac_abs_builddir in
53647 .) ac_abs_top_srcdir=$ac_top_srcdir;;
53649 case $ac_top_srcdir in
53650 .) ac_abs_top_srcdir=$ac_abs_builddir;;
53651 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
53652 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
53659 # Check for guested configure; otherwise get Cygnus style configure.
53660 if test -f $ac_srcdir/configure.gnu; then
53661 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
53662 elif test -f $ac_srcdir/configure; then
53663 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
53664 elif test -f $ac_srcdir/configure.in; then
53665 ac_sub_configure=$ac_configure
53667 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53668 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53672 # The recursion is here.
53673 if test -n "$ac_sub_configure"; then
53674 # Make the cache file name correct relative to the subdirectory.
53675 case $cache_file in
53676 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
53677 *) # Relative path.
53678 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
53681 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53682 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53683 # The eval makes quoting arguments work.
53684 eval $ac_sub_configure $ac_sub_configure_args \
53685 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
53686 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53687 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53688 { (exit 1); exit 1; }; }
53697 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53699 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53700 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53702 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
53703 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53704 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
53705 if test "$wxUSE_UNICODE" = "yes"; then
53706 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53707 echo " (using UTF-8)"
53709 echo " (using wchar_t)"
53715 echo " What level of wxWidgets compatibility should be enabled?"
53716 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53717 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53719 echo " Which libraries should wxWidgets use?"
53720 echo " jpeg ${wxUSE_LIBJPEG-none}"
53721 echo " png ${wxUSE_LIBPNG-none}"
53722 echo " regex ${wxUSE_REGEX}"
53723 echo " tiff ${wxUSE_LIBTIFF-none}"
53724 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53725 echo " xpm ${wxUSE_LIBXPM-none}"
53727 echo " zlib ${wxUSE_ZLIB}"
53728 echo " odbc ${wxUSE_ODBC}"
53729 echo " expat ${wxUSE_EXPAT}"
53730 echo " libmspack ${wxUSE_LIBMSPACK}"
53731 echo " sdl ${wxUSE_LIBSDL}"