2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.8.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.8.0'
274 PACKAGE_STRING='wxWidgets 2.8.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 CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS CAIRO_CFLAGS CAIRO_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET 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_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_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_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_DFB COND_TOOLKIT_DFB_USE_GUI_1 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name=s,x,x,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
391 cache_file=config.cache ;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
665 eval ac_val=$`echo $ac_var`
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val=$`echo $ac_var`
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
706 test "$silent" = yes && exec 6>/dev/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
793 ac_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value=$HILDON_LIBS
849 ac_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
850 ac_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
851 ac_cv_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
852 ac_cv_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
853 ac_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
854 ac_env_CAIRO_LIBS_value=$CAIRO_LIBS
855 ac_cv_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
856 ac_cv_env_CAIRO_LIBS_value=$CAIRO_LIBS
857 ac_env_GST_CFLAGS_set=${GST_CFLAGS+set}
858 ac_env_GST_CFLAGS_value=$GST_CFLAGS
859 ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
860 ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
861 ac_env_GST_LIBS_set=${GST_LIBS+set}
862 ac_env_GST_LIBS_value=$GST_LIBS
863 ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
864 ac_cv_env_GST_LIBS_value=$GST_LIBS
867 # Report the --help message.
869 if test "$ac_init_help" = "long"; then
870 # Omit some internal or obsolete options to make the list less imposing.
871 # This message is too long to be a string in the A/UX 3.1 sh.
873 \`configure' configures wxWidgets 2.8.0 to adapt to many kinds of systems.
875 Usage: $0 [OPTION]... [VAR=VALUE]...
877 To assign environment variables (e.g., CC, CFLAGS...), specify them as
878 VAR=VALUE. See below for descriptions of some of the useful variables.
880 Defaults for the options are specified in brackets.
883 -h, --help display this help and exit
884 --help=short display options specific to this package
885 --help=recursive display the short help of all the included packages
886 -V, --version display version information and exit
887 -q, --quiet, --silent do not print \`checking...' messages
888 --cache-file=FILE cache test results in FILE [disabled]
889 -C, --config-cache alias for \`--cache-file=config.cache'
890 -n, --no-create do not create output files
891 --srcdir=DIR find the sources in DIR [configure dir or \`..']
896 Installation directories:
897 --prefix=PREFIX install architecture-independent files in PREFIX
899 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
902 By default, \`make install' will install all the files in
903 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
904 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
905 for instance \`--prefix=\$HOME'.
907 For better control, use the options below.
909 Fine tuning of the installation directories:
910 --bindir=DIR user executables [EPREFIX/bin]
911 --sbindir=DIR system admin executables [EPREFIX/sbin]
912 --libexecdir=DIR program executables [EPREFIX/libexec]
913 --datadir=DIR read-only architecture-independent data [PREFIX/share]
914 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
915 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
916 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
917 --libdir=DIR object code libraries [EPREFIX/lib]
918 --includedir=DIR C header files [PREFIX/include]
919 --oldincludedir=DIR C header files for non-gcc [/usr/include]
920 --infodir=DIR info documentation [PREFIX/info]
921 --mandir=DIR man documentation [PREFIX/man]
927 --x-includes=DIR X include files are in DIR
928 --x-libraries=DIR X library files are in DIR
931 --build=BUILD configure for building on BUILD [guessed]
932 --host=HOST cross-compile to build programs to run on HOST [BUILD]
933 --target=TARGET configure for building compilers for TARGET [HOST]
937 if test -n "$ac_init_help"; then
938 case $ac_init_help in
939 short | recursive ) echo "Configuration of wxWidgets 2.8.0:";;
944 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
945 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
946 --enable-gui use GUI classes
947 --enable-monolithic build wxWidgets as single library
948 --enable-plugins build parts of wxWidgets as loadable components
949 --enable-universal use wxWidgets GUI controls instead of native ones
950 --enable-nanox use NanoX
951 --disable-gtk2 use GTK+ 1.2 instead of 2.0
952 --enable-gpe use GNOME PDA Environment features if possible
953 --enable-shared create shared library code
954 --enable-optimise create optimised code
955 --enable-debug same as debug_flag and debug_info
956 --enable-stl use STL for containers
957 --enable-omf use OMF object format
958 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
959 --enable-debug_info create code with debugging information
960 --enable-debug_gdb create code with extra GDB debugging information
961 --enable-debug_cntxt use wxDebugContext
962 --enable-mem_tracing create code with memory tracing
963 --enable-profile create code with profiling information
964 --enable-no_rtti create code without RTTI information
965 --enable-no_exceptions create code without C++ exceptions handling
966 --enable-permissive compile code disregarding strict ANSI
967 --enable-no_deps create code without dependency information
968 --disable-vararg_macros don't use vararg macros, even if they are supported
969 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
970 --enable-compat24 enable wxWidgets 2.4 compatibility
971 --disable-compat26 disable wxWidgets 2.6 compatibility
972 --disable-rpath disable use of rpath for uninstalled builds
973 --enable-intl use internationalization system
974 --enable-config use wxConfig (and derived) classes
975 --enable-protocols use wxProtocol and derived classes
976 --enable-ftp use wxFTP (requires wxProtocol
977 --enable-http use wxHTTP (requires wxProtocol
978 --enable-fileproto use wxFileProto class (requires wxProtocol
979 --enable-sockets use socket/network classes
980 --enable-ole use OLE classes (Win32 only)
981 --enable-dataobj use data object classes
982 --enable-ipc use interprocess communication (wxSocket etc.)
983 --enable-apple_ieee use the Apple IEEE codec
984 --enable-arcstream use wxArchive streams
985 --enable-backtrace use wxStackWalker class for getting backtraces
986 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
987 --enable-cmdline use wxCmdLineParser class
988 --enable-datetime use wxDateTime class
989 --enable-debugreport use wxDebugReport class
990 --enable-dialupman use dialup network classes
991 --enable-dynlib use wxLibrary class for DLL loading
992 --enable-dynamicloader use (new) wxDynamicLibrary class
993 --enable-exceptions build exception-safe library
994 --enable-ffile use wxFFile class
995 --enable-file use wxFile class
996 --enable-filesystem use virtual file systems classes
997 --enable-fontmap use font encodings conversion classes
998 --enable-fs_archive use virtual archive filesystems
999 --enable-fs_inet use virtual HTTP/FTP filesystems
1000 --enable-fs_zip now replaced by fs_archive
1001 --enable-geometry use geometry class
1002 --enable-log use logging system
1003 --enable-longlong use wxLongLong class
1004 --enable-mimetype use wxMimeTypesManager
1005 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1006 --enable-snglinst use wxSingleInstanceChecker class
1007 --enable-std_iostreams use standard C++ stream classes
1008 --enable-std_string use standard C++ string classes
1009 --enable-stdpaths use wxStandardPaths class
1010 --enable-stopwatch use wxStopWatch class
1011 --enable-streams use wxStream etc classes
1012 --enable-sysoptions use wxSystemOptions
1013 --enable-tarstream use wxTar streams
1014 --enable-textbuf use wxTextBuffer class
1015 --enable-textfile use wxTextFile class
1016 --enable-timer use wxTimer class
1017 --enable-unicode compile wxString with Unicode support
1018 --enable-sound use wxSound class
1019 --enable-mediactrl use wxMediaCtrl class
1020 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1021 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1022 --enable-zipstream use wxZip streams
1023 --enable-url use wxURL class
1024 --enable-variant use wxVariant class
1025 --enable-protocol use wxProtocol class
1026 --enable-protocol-http HTTP support in wxProtocol
1027 --enable-protocol-ftp FTP support in wxProtocol
1028 --enable-protocol-file FILE support in wxProtocol
1029 --enable-threads use threads
1030 --enable-docview use document view architecture
1031 --enable-help use help subsystem
1032 --enable-mshtmlhelp use MS HTML Help (win32)
1033 --enable-html use wxHTML sub-library
1034 --enable-htmlhelp use wxHTML-based help
1035 --enable-xrc use XRC resources sub-library
1036 --enable-aui use AUI docking library
1037 --enable-constraints use layout-constraints system
1038 --enable-printarch use printing architecture
1039 --enable-mdi use multiple document interface architecture
1040 --enable-mdidoc use docview architecture with MDI
1041 --enable-loggui use standard GUI logger
1042 --enable-logwin use wxLogWindow
1043 --enable-logdialog use wxLogDialog
1044 --enable-webkit use wxWebKitCtrl (Mac)
1045 --enable-richtext use wxRichTextCtrl
1046 --enable-graphics_ctx use graphics context 2D drawing API
1047 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1048 --enable-prologio not available; see contrib
1049 --enable-resources not available; see contrib
1050 --enable-clipboard use wxClipboard class
1051 --enable-dnd use Drag'n'Drop classes
1052 --enable-metafile use win32 metafiles
1053 --enable-controls use all usual controls
1054 --enable-accel use accelerators
1055 --enable-animatectrl use wxAnimationCtrl class
1056 --enable-button use wxButton class
1057 --enable-bmpbutton use wxBitmapButton class
1058 --enable-bmpcombobox use wxBitmapComboBox class
1059 --enable-calendar use wxCalendarCtrl class
1060 --enable-caret use wxCaret class
1061 --enable-checkbox use wxCheckBox class
1062 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1063 --enable-choice use wxChoice class
1064 --enable-choicebook use wxChoicebook class
1065 --enable-collpane use wxCollapsiblePane class
1066 --enable-colourpicker use wxColourPickerCtrl class
1067 --enable-combobox use wxComboBox class
1068 --enable-comboctrl use wxComboCtrl class
1069 --enable-datepick use wxDatePickerCtrl class
1070 --enable-dirpicker use wxDirPickerCtrl class
1071 --enable-display use wxDisplay class
1072 --enable-detect_sm use code to detect X11 session manager
1073 --enable-filepicker use wxFilePickerCtrl class
1074 --enable-fontpicker use wxFontPickerCtrl class
1075 --enable-gauge use wxGauge class
1076 --enable-grid use wxGrid class
1077 --enable-dataviewctrl, use wxDataViewCtrl class
1078 --enable-hyperlink use wxHyperlinkCtrl class
1079 --enable-imaglist use wxImageList class
1080 --enable-listbook use wxListbook class
1081 --enable-listbox use wxListBox class
1082 --enable-listctrl use wxListCtrl class
1083 --enable-notebook use wxNotebook class
1084 --enable-odcombobox use wxOwnerDrawnComboBox class
1085 --enable-radiobox use wxRadioBox class
1086 --enable-radiobtn use wxRadioButton class
1087 --enable-sash use wxSashWindow class
1088 --enable-scrollbar use wxScrollBar class and scrollable windows
1089 --enable-slider use wxSlider class
1090 --enable-spinbtn use wxSpinButton class
1091 --enable-spinctrl use wxSpinCtrl class
1092 --enable-splitter use wxSplitterWindow class
1093 --enable-statbmp use wxStaticBitmap class
1094 --enable-statbox use wxStaticBox class
1095 --enable-statline use wxStaticLine class
1096 --enable-stattext use wxStaticText class
1097 --enable-statusbar use wxStatusBar class
1098 --enable-tabdialog use wxTabControl class
1099 --enable-textctrl use wxTextCtrl class
1100 --enable-togglebtn use wxToggleButton class
1101 --enable-toolbar use wxToolBar class
1102 --enable-tbarnative use native wxToolBar class
1103 --enable-treebook use wxTreebook class
1104 --enable-toolbook use wxToolbook class
1105 --enable-treectrl use wxTreeCtrl class
1106 --enable-tipwindow use wxTipWindow class
1107 --enable-popupwin use wxPopUpWindow class
1108 --enable-commondlg use all common dialogs
1109 --enable-aboutdlg use wxAboutBox
1110 --enable-choicedlg use wxChoiceDialog
1111 --enable-coldlg use wxColourDialog
1112 --enable-filedlg use wxFileDialog
1113 --enable-finddlg use wxFindReplaceDialog
1114 --enable-fontdlg use wxFontDialog
1115 --enable-dirdlg use wxDirDialog
1116 --enable-msgdlg use wxMessageDialog
1117 --enable-numberdlg use wxNumberEntryDialog
1118 --enable-splash use wxSplashScreen
1119 --enable-textdlg use wxTextDialog
1120 --enable-tipdlg use startup tips
1121 --enable-progressdlg use wxProgressDialog
1122 --enable-wizarddlg use wxWizard
1123 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1124 --enable-miniframe use wxMiniFrame class
1125 --enable-tooltips use wxToolTip class
1126 --enable-splines use spline drawing code
1127 --enable-mousewheel use mousewheel
1128 --enable-validators use wxValidator and derived classes
1129 --enable-busyinfo use wxBusyInfo
1130 --enable-joystick use wxJoystick
1131 --enable-metafiles use wxMetaFile (Win32 only)
1132 --enable-dragimage use wxDragImage
1133 --enable-accessibility enable accessibility support
1134 --enable-dccache cache temporary wxDC objects (Win32 only)
1135 --enable-palette use wxPalette class
1136 --enable-image use wxImage class
1137 --enable-gif use gif images (GIF file format)
1138 --enable-pcx use pcx images (PCX file format)
1139 --enable-tga use tga images (TGA file format)
1140 --enable-iff use iff images (IFF file format)
1141 --enable-pnm use pnm images (PNM file format)
1142 --enable-xpm use xpm images (XPM file format)
1143 --enable-icocur use Windows ICO and CUR formats
1144 --enable-official_build official build of wxWidgets (win32 DLL only)
1145 --enable-vendor=VENDOR vendor name (win32 DLL only)
1146 --disable-largefile omit support for large files
1147 --disable-gtktest do not try to compile and run a test GTK+ program
1148 --disable-gtktest Do not try to compile and run a test GTK program
1149 --disable-sdltest Do not try to compile and run a test SDL program
1150 --enable-omf use OMF object format (OS/2)
1151 --disable-dependency-tracking
1152 don't use dependency tracking even if the compiler
1154 --disable-precomp-headers
1155 don't use precompiled headers even if compiler can
1158 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1159 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1160 --without-subdirs don't generate makefiles for samples/demos/...
1161 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1162 --with-motif use Motif/Lesstif
1163 --with-mac use Mac OS X
1164 --with-cocoa use Cocoa
1165 --with-wine use Wine
1166 --with-msw use MS-Windows
1167 --with-pm use OS/2 Presentation Manager
1168 --with-mgl use SciTech MGL
1169 --with-directfb use DirectFB
1170 --with-microwin use MicroWindows
1172 --with-libpng use libpng (PNG image format)
1173 --with-libjpeg use libjpeg (JPEG file format)
1174 --with-libtiff use libtiff (TIFF file format)
1175 --with-libxpm use libxpm (XPM file format)
1176 --with-libmspack use libmspack (CHM help files loading)
1177 --with-sdl use SDL for audio on Unix
1178 --with-gnomeprint use GNOME print for printing under GNOME
1179 --with-gnomevfs use GNOME VFS for associating MIME types
1180 --with-hildon use Hildon framework for Nokia 770
1181 --with-opengl use OpenGL (or Mesa)
1182 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1183 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1184 --with-regex enable support for wxRegEx class
1185 --with-zlib use zlib for LZW compression
1186 --with-odbc use the IODBC and wxODBC classes
1187 --with-expat enable XML support using expat parser
1188 --with-flavour=NAME specify a name to identify this build
1189 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1190 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1191 --with-x use the X Window System
1192 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1193 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1194 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1195 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1196 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1198 Some influential environment variables:
1199 CC C compiler command
1200 CFLAGS C compiler flags
1201 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1202 nonstandard directory <lib dir>
1203 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1204 headers in a nonstandard directory <include dir>
1206 CXX C++ compiler command
1207 CXXFLAGS C++ compiler flags
1208 CXXCPP C++ preprocessor
1209 PKG_CONFIG path to pkg-config utility
1211 C compiler flags for DIRECTFB, overriding pkg-config
1213 linker flags for DIRECTFB, overriding pkg-config
1215 C compiler flags for PANGOX, overriding pkg-config
1216 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1218 C compiler flags for PANGOFT2, overriding pkg-config
1220 linker flags for PANGOFT2, overriding pkg-config
1222 C compiler flags for PANGOXFT, overriding pkg-config
1224 linker flags for PANGOXFT, overriding pkg-config
1225 LIBGNOMEPRINTUI_CFLAGS
1226 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1227 LIBGNOMEPRINTUI_LIBS
1228 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1230 C compiler flags for GNOMEVFS, overriding pkg-config
1232 linker flags for GNOMEVFS, overriding pkg-config
1234 C compiler flags for HILDON, overriding pkg-config
1235 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1237 C compiler flags for CAIRO, overriding pkg-config
1238 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1239 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1240 GST_LIBS linker flags for GST, overriding pkg-config
1242 Use these variables to override the choices made by `configure' or to help
1243 it to find libraries and programs with nonstandard names/locations.
1245 Report bugs to <wx-dev@lists.wxwidgets.org>.
1249 if test "$ac_init_help" = "recursive"; then
1250 # If there are subdirs, report their specific --help.
1252 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1253 test -d $ac_dir || continue
1256 if test "$ac_dir" != .; then
1257 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1258 # A "../" for each directory in $ac_dir_suffix.
1259 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1261 ac_dir_suffix= ac_top_builddir=
1265 .) # No --srcdir option. We are building in place.
1267 if test -z "$ac_top_builddir"; then
1270 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1272 [\\/]* | ?:[\\/]* ) # Absolute path.
1273 ac_srcdir=$srcdir$ac_dir_suffix;
1274 ac_top_srcdir=$srcdir ;;
1276 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1277 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1280 # Do not use `cd foo && pwd` to compute absolute paths, because
1281 # the directories may not exist.
1283 .) ac_abs_builddir="$ac_dir";;
1286 .) ac_abs_builddir=`pwd`;;
1287 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1288 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1291 case $ac_abs_builddir in
1292 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1294 case ${ac_top_builddir}. in
1295 .) ac_abs_top_builddir=$ac_abs_builddir;;
1296 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1297 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1300 case $ac_abs_builddir in
1301 .) ac_abs_srcdir=$ac_srcdir;;
1304 .) ac_abs_srcdir=$ac_abs_builddir;;
1305 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1306 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1309 case $ac_abs_builddir in
1310 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1312 case $ac_top_srcdir in
1313 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1314 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1315 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1320 # Check for guested configure; otherwise get Cygnus style configure.
1321 if test -f $ac_srcdir/configure.gnu; then
1323 $SHELL $ac_srcdir/configure.gnu --help=recursive
1324 elif test -f $ac_srcdir/configure; then
1326 $SHELL $ac_srcdir/configure --help=recursive
1327 elif test -f $ac_srcdir/configure.ac ||
1328 test -f $ac_srcdir/configure.in; then
1330 $ac_configure --help
1332 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1338 test -n "$ac_init_help" && exit 0
1339 if $ac_init_version; then
1341 wxWidgets configure 2.8.0
1342 generated by GNU Autoconf 2.59
1344 Copyright (C) 2003 Free Software Foundation, Inc.
1345 This configure script is free software; the Free Software Foundation
1346 gives unlimited permission to copy, distribute and modify it.
1352 This file contains any messages produced by compilers while
1353 running configure, to aid debugging if configure makes a mistake.
1355 It was created by wxWidgets $as_me 2.8.0, which was
1356 generated by GNU Autoconf 2.59. Invocation command line was
1367 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1368 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1369 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1370 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1371 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1373 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1374 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1376 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1377 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1378 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1379 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1380 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1381 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1382 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1390 test -z "$as_dir" && as_dir=.
1391 echo "PATH: $as_dir"
1406 # Keep a trace of the command line.
1407 # Strip out --no-create and --no-recursion so they do not pile up.
1408 # Strip out --silent because we don't want to record it for future runs.
1409 # Also quote any args containing shell meta-characters.
1410 # Make two passes to allow for proper duplicate-argument suppression.
1415 ac_must_keep_next=false
1421 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1422 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1423 | -silent | --silent | --silen | --sile | --sil)
1425 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1426 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1429 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1431 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1432 if test $ac_must_keep_next = true; then
1433 ac_must_keep_next=false # Got value, back to normal.
1436 *=* | --config-cache | -C | -disable-* | --disable-* \
1437 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1438 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1439 | -with-* | --with-* | -without-* | --without-* | --x)
1440 case "$ac_configure_args0 " in
1441 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1444 -* ) ac_must_keep_next=true ;;
1447 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1448 # Get rid of the leading space.
1454 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1455 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1457 # When interrupted or exit'd, cleanup temporary files, and complete
1458 # config.log. We remove comments because anyway the quotes in there
1459 # would cause problems or look ugly.
1460 # WARNING: Be sure not to use single quotes in there, as some shells,
1461 # such as our DU 5.0 friend, will then `close' the trap.
1462 trap 'exit_status=$?
1463 # Save into config.log some information that might help in debugging.
1468 ## ---------------- ##
1469 ## Cache variables. ##
1470 ## ---------------- ##
1473 # The following way of writing the cache mishandles newlines in values,
1476 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1479 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1480 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1484 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1491 ## ----------------- ##
1492 ## Output variables. ##
1493 ## ----------------- ##
1496 for ac_var in $ac_subst_vars
1498 eval ac_val=$`echo $ac_var`
1499 echo "$ac_var='"'"'$ac_val'"'"'"
1503 if test -n "$ac_subst_files"; then
1510 for ac_var in $ac_subst_files
1512 eval ac_val=$`echo $ac_var`
1513 echo "$ac_var='"'"'$ac_val'"'"'"
1518 if test -s confdefs.h; then
1525 sed "/^$/d" confdefs.h | sort
1528 test "$ac_signal" != 0 &&
1529 echo "$as_me: caught signal $ac_signal"
1530 echo "$as_me: exit $exit_status"
1532 rm -f core *.core &&
1533 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1536 for ac_signal in 1 2 13 15; do
1537 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1541 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1542 rm -rf conftest* confdefs.h
1543 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1546 # Predefined preprocessor variables.
1548 cat >>confdefs.h <<_ACEOF
1549 #define PACKAGE_NAME "$PACKAGE_NAME"
1553 cat >>confdefs.h <<_ACEOF
1554 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1558 cat >>confdefs.h <<_ACEOF
1559 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1563 cat >>confdefs.h <<_ACEOF
1564 #define PACKAGE_STRING "$PACKAGE_STRING"
1568 cat >>confdefs.h <<_ACEOF
1569 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1573 # Let the site file select an alternate cache file if it wants to.
1574 # Prefer explicitly selected file to automatically selected ones.
1575 if test -z "$CONFIG_SITE"; then
1576 if test "x$prefix" != xNONE; then
1577 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1579 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1582 for ac_site_file in $CONFIG_SITE; do
1583 if test -r "$ac_site_file"; then
1584 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1585 echo "$as_me: loading site script $ac_site_file" >&6;}
1586 sed 's/^/| /' "$ac_site_file" >&5
1591 if test -r "$cache_file"; then
1592 # Some versions of bash will fail to source /dev/null (special
1593 # files actually), so we avoid doing that.
1594 if test -f "$cache_file"; then
1595 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1596 echo "$as_me: loading cache $cache_file" >&6;}
1598 [\\/]* | ?:[\\/]* ) . $cache_file;;
1599 *) . ./$cache_file;;
1603 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1604 echo "$as_me: creating cache $cache_file" >&6;}
1608 # Check that the precious variables saved in the cache have kept the same
1610 ac_cache_corrupted=false
1611 for ac_var in `(set) 2>&1 |
1612 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1613 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1614 eval ac_new_set=\$ac_env_${ac_var}_set
1615 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1616 eval ac_new_val="\$ac_env_${ac_var}_value"
1617 case $ac_old_set,$ac_new_set in
1619 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1620 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1621 ac_cache_corrupted=: ;;
1623 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1624 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1625 ac_cache_corrupted=: ;;
1628 if test "x$ac_old_val" != "x$ac_new_val"; then
1629 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1630 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1631 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1632 echo "$as_me: former value: $ac_old_val" >&2;}
1633 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1634 echo "$as_me: current value: $ac_new_val" >&2;}
1635 ac_cache_corrupted=:
1638 # Pass precious variables to config.status.
1639 if test "$ac_new_set" = set; then
1641 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1642 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1643 *) ac_arg=$ac_var=$ac_new_val ;;
1645 case " $ac_configure_args " in
1646 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1647 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1651 if $ac_cache_corrupted; then
1652 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1653 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1654 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1655 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1656 { (exit 1); exit 1; }; }
1660 ac_cpp='$CPP $CPPFLAGS'
1661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1695 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1696 if test -f $ac_dir/install-sh; then
1698 ac_install_sh="$ac_aux_dir/install-sh -c"
1700 elif test -f $ac_dir/install.sh; then
1702 ac_install_sh="$ac_aux_dir/install.sh -c"
1704 elif test -f $ac_dir/shtool; then
1706 ac_install_sh="$ac_aux_dir/shtool install -c"
1710 if test -z "$ac_aux_dir"; then
1711 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1712 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1713 { (exit 1); exit 1; }; }
1715 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1716 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1717 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1719 # Make sure we can run config.sub.
1720 $ac_config_sub sun4 >/dev/null 2>&1 ||
1721 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1722 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1723 { (exit 1); exit 1; }; }
1725 echo "$as_me:$LINENO: checking build system type" >&5
1726 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1727 if test "${ac_cv_build+set}" = set; then
1728 echo $ECHO_N "(cached) $ECHO_C" >&6
1730 ac_cv_build_alias=$build_alias
1731 test -z "$ac_cv_build_alias" &&
1732 ac_cv_build_alias=`$ac_config_guess`
1733 test -z "$ac_cv_build_alias" &&
1734 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1735 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1736 { (exit 1); exit 1; }; }
1737 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1738 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1739 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1740 { (exit 1); exit 1; }; }
1743 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1744 echo "${ECHO_T}$ac_cv_build" >&6
1746 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1747 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1748 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1751 echo "$as_me:$LINENO: checking host system type" >&5
1752 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1753 if test "${ac_cv_host+set}" = set; then
1754 echo $ECHO_N "(cached) $ECHO_C" >&6
1756 ac_cv_host_alias=$host_alias
1757 test -z "$ac_cv_host_alias" &&
1758 ac_cv_host_alias=$ac_cv_build_alias
1759 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1760 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1761 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1762 { (exit 1); exit 1; }; }
1765 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1766 echo "${ECHO_T}$ac_cv_host" >&6
1768 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1769 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1770 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1773 echo "$as_me:$LINENO: checking target system type" >&5
1774 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1775 if test "${ac_cv_target+set}" = set; then
1776 echo $ECHO_N "(cached) $ECHO_C" >&6
1778 ac_cv_target_alias=$target_alias
1779 test "x$ac_cv_target_alias" = "x" &&
1780 ac_cv_target_alias=$ac_cv_host_alias
1781 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1782 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1783 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1784 { (exit 1); exit 1; }; }
1787 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1788 echo "${ECHO_T}$ac_cv_target" >&6
1789 target=$ac_cv_target
1790 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1791 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1792 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1795 # The aliases save the names the user supplied, while $host etc.
1796 # will get canonicalized.
1797 test -n "$target_alias" &&
1798 test "$program_prefix$program_suffix$program_transform_name" = \
1800 program_prefix=${target_alias}-
1804 wx_major_version_number=2
1805 wx_minor_version_number=8
1807 wx_subrelease_number=0
1809 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1810 WX_VERSION=$WX_RELEASE.$wx_release_number
1811 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1813 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1816 wx_top_builddir="`pwd`"
1829 USE_BSD= USE_DARWIN= USE_FREEBSD=
1835 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1841 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1843 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1845 DEFAULT_wxUSE_COCOA=0
1849 DEFAULT_wxUSE_MICROWIN=0
1850 DEFAULT_wxUSE_MOTIF=0
1856 DEFAULT_DEFAULT_wxUSE_COCOA=0
1857 DEFAULT_DEFAULT_wxUSE_GTK=0
1858 DEFAULT_DEFAULT_wxUSE_MAC=0
1859 DEFAULT_DEFAULT_wxUSE_MGL=0
1860 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1861 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1862 DEFAULT_DEFAULT_wxUSE_MSW=0
1863 DEFAULT_DEFAULT_wxUSE_PM=0
1864 DEFAULT_DEFAULT_wxUSE_X11=0
1865 DEFAULT_DEFAULT_wxUSE_DFB=0
1870 SAMPLES_RPATH_POSTLINK=
1872 DEFAULT_STD_FLAG=yes
1877 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1878 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1880 cat >>confdefs.h <<\_ACEOF
1885 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1889 cat >>confdefs.h <<\_ACEOF
1894 if test "x$TMP" = "xalpha"; then
1896 cat >>confdefs.h <<\_ACEOF
1901 DEFAULT_DEFAULT_wxUSE_GTK=1
1903 *-*-gnu* | *-*-k*bsd*-gnu )
1906 if test "x$TMP" = "xalpha"; then
1908 cat >>confdefs.h <<\_ACEOF
1913 DEFAULT_DEFAULT_wxUSE_GTK=1
1915 *-*-irix5* | *-*-irix6* )
1918 cat >>confdefs.h <<\_ACEOF
1922 cat >>confdefs.h <<\_ACEOF
1926 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1932 cat >>confdefs.h <<\_ACEOF
1936 cat >>confdefs.h <<\_ACEOF
1937 #define __SOLARIS__ 1
1940 cat >>confdefs.h <<\_ACEOF
1944 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1945 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1951 cat >>confdefs.h <<\_ACEOF
1955 cat >>confdefs.h <<\_ACEOF
1959 cat >>confdefs.h <<\_ACEOF
1963 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1968 cat >>confdefs.h <<\_ACEOF
1969 #define __FREEBSD__ 1
1972 cat >>confdefs.h <<\_ACEOF
1976 DEFAULT_DEFAULT_wxUSE_GTK=1
1978 *-*-openbsd*|*-*-mirbsd*)
1981 cat >>confdefs.h <<\_ACEOF
1982 #define __OPENBSD__ 1
1985 cat >>confdefs.h <<\_ACEOF
1989 DEFAULT_DEFAULT_wxUSE_GTK=1
1994 cat >>confdefs.h <<\_ACEOF
1995 #define __NETBSD__ 1
1998 cat >>confdefs.h <<\_ACEOF
2002 DEFAULT_DEFAULT_wxUSE_GTK=1
2003 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2005 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2010 cat >>confdefs.h <<\_ACEOF
2014 cat >>confdefs.h <<\_ACEOF
2018 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2019 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2024 cat >>confdefs.h <<\_ACEOF
2028 cat >>confdefs.h <<\_ACEOF
2032 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2037 cat >>confdefs.h <<\_ACEOF
2041 cat >>confdefs.h <<\_ACEOF
2045 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2052 cat >>confdefs.h <<\_ACEOF
2056 cat >>confdefs.h <<\_ACEOF
2060 cat >>confdefs.h <<\_ACEOF
2064 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2071 cat >>confdefs.h <<\_ACEOF
2072 #define __UNIXWARE__ 1
2077 *-*-cygwin* | *-*-mingw32* )
2080 DEFAULT_DEFAULT_wxUSE_MSW=1
2086 cat >>confdefs.h <<\_ACEOF
2091 DEFAULT_DEFAULT_wxUSE_MGL=1
2094 *-pc-os2_emx | *-pc-os2-emx )
2095 cat >>confdefs.h <<\_ACEOF
2100 cat >>confdefs.h <<\_ACEOF
2105 DEFAULT_DEFAULT_wxUSE_PM=1
2107 LDFLAGS="$LDFLAGS -Zcrtdll"
2108 ac_executable_extensions=".exe"
2109 export ac_executable_extensions
2113 for ac_dir in $PATH; do
2115 if test -z "$ac_TEMP_PATH"; then
2116 ac_TEMP_PATH="$ac_dir"
2118 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2121 export PATH="$ac_TEMP_PATH"
2130 cat >>confdefs.h <<\_ACEOF
2134 cat >>confdefs.h <<\_ACEOF
2135 #define __DARWIN__ 1
2138 cat >>confdefs.h <<\_ACEOF
2139 #define TARGET_CARBON 1
2142 DEFAULT_DEFAULT_wxUSE_MAC=1
2145 powerpc-apple-macos* )
2147 ac_cv_c_bigendian=yes
2149 DEFAULT_DEFAULT_wxUSE_MAC=1
2155 cat >>confdefs.h <<\_ACEOF
2162 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2163 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2164 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2165 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2167 DEFAULT_DEFAULT_wxUSE_X11=1
2168 DEFAULT_wxUSE_SHARED=no
2174 wx_arg_cache_file="configarg.cache"
2175 echo "loading argument cache $wx_arg_cache_file"
2176 rm -f ${wx_arg_cache_file}.tmp
2177 touch ${wx_arg_cache_file}.tmp
2178 touch ${wx_arg_cache_file}
2182 if test $DEBUG_CONFIGURE = 1; then
2183 DEFAULT_wxUSE_UNIVERSAL=no
2184 DEFAULT_wxUSE_STL=no
2186 DEFAULT_wxUSE_NANOX=no
2188 DEFAULT_wxUSE_THREADS=yes
2190 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2191 DEFAULT_wxUSE_OPTIMISE=no
2192 DEFAULT_wxUSE_PROFILE=no
2193 DEFAULT_wxUSE_NO_DEPS=no
2194 DEFAULT_wxUSE_VARARG_MACROS=no
2195 DEFAULT_wxUSE_NO_RTTI=no
2196 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2197 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2198 DEFAULT_wxUSE_RPATH=yes
2199 DEFAULT_wxUSE_PERMISSIVE=no
2200 DEFAULT_wxUSE_DEBUG_FLAG=yes
2201 DEFAULT_wxUSE_DEBUG_INFO=yes
2202 DEFAULT_wxUSE_DEBUG_GDB=yes
2203 DEFAULT_wxUSE_MEM_TRACING=no
2204 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2205 DEFAULT_wxUSE_DMALLOC=no
2206 DEFAULT_wxUSE_APPLE_IEEE=no
2208 DEFAULT_wxUSE_EXCEPTIONS=no
2209 DEFAULT_wxUSE_LOG=yes
2210 DEFAULT_wxUSE_LOGWINDOW=no
2211 DEFAULT_wxUSE_LOGGUI=no
2212 DEFAULT_wxUSE_LOGDIALOG=no
2214 DEFAULT_wxUSE_GUI=yes
2215 DEFAULT_wxUSE_CONTROLS=no
2217 DEFAULT_wxUSE_REGEX=no
2218 DEFAULT_wxUSE_XML=no
2219 DEFAULT_wxUSE_EXPAT=no
2220 DEFAULT_wxUSE_ZLIB=no
2221 DEFAULT_wxUSE_LIBPNG=no
2222 DEFAULT_wxUSE_LIBJPEG=no
2223 DEFAULT_wxUSE_LIBTIFF=no
2224 DEFAULT_wxUSE_LIBXPM=no
2225 DEFAULT_wxUSE_LIBMSPACK=no
2226 DEFAULT_wxUSE_LIBSDL=no
2227 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2228 DEFAULT_wxUSE_LIBGNOMEVFS=no
2229 DEFAULT_wxUSE_LIBHILDON=no
2230 DEFAULT_wxUSE_ODBC=no
2231 DEFAULT_wxUSE_OPENGL=no
2233 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2234 DEFAULT_wxUSE_STACKWALKER=no
2235 DEFAULT_wxUSE_DEBUGREPORT=no
2236 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2237 DEFAULT_wxUSE_STD_IOSTREAM=no
2238 DEFAULT_wxUSE_STD_STRING=no
2239 DEFAULT_wxUSE_CMDLINE_PARSER=no
2240 DEFAULT_wxUSE_DATETIME=no
2241 DEFAULT_wxUSE_TIMER=no
2242 DEFAULT_wxUSE_STOPWATCH=no
2243 DEFAULT_wxUSE_FILE=no
2244 DEFAULT_wxUSE_FFILE=no
2245 DEFAULT_wxUSE_STDPATHS=no
2246 DEFAULT_wxUSE_TEXTBUFFER=no
2247 DEFAULT_wxUSE_TEXTFILE=no
2248 DEFAULT_wxUSE_SOUND=no
2249 DEFAULT_wxUSE_MEDIACTRL=no
2250 DEFAULT_wxUSE_GSTREAMER8=no
2251 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2252 DEFAULT_wxUSE_INTL=no
2253 DEFAULT_wxUSE_CONFIG=no
2254 DEFAULT_wxUSE_FONTMAP=no
2255 DEFAULT_wxUSE_STREAMS=no
2256 DEFAULT_wxUSE_SOCKETS=no
2257 DEFAULT_wxUSE_OLE=no
2258 DEFAULT_wxUSE_DATAOBJ=no
2259 DEFAULT_wxUSE_DIALUP_MANAGER=no
2260 DEFAULT_wxUSE_JOYSTICK=no
2261 DEFAULT_wxUSE_DYNLIB_CLASS=no
2262 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2263 DEFAULT_wxUSE_LONGLONG=no
2264 DEFAULT_wxUSE_GEOMETRY=no
2266 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2267 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2268 DEFAULT_wxUSE_POSTSCRIPT=no
2270 DEFAULT_wxUSE_CLIPBOARD=no
2271 DEFAULT_wxUSE_TOOLTIPS=no
2272 DEFAULT_wxUSE_DRAG_AND_DROP=no
2273 DEFAULT_wxUSE_DRAGIMAGE=no
2274 DEFAULT_wxUSE_SPLINES=no
2275 DEFAULT_wxUSE_MOUSEWHEEL=no
2277 DEFAULT_wxUSE_MDI=no
2278 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2279 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2280 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2282 DEFAULT_wxUSE_RESOURCES=no
2283 DEFAULT_wxUSE_CONSTRAINTS=no
2284 DEFAULT_wxUSE_IPC=no
2285 DEFAULT_wxUSE_HELP=no
2286 DEFAULT_wxUSE_MS_HTML_HELP=no
2287 DEFAULT_wxUSE_WXHTML_HELP=no
2288 DEFAULT_wxUSE_TREELAYOUT=no
2289 DEFAULT_wxUSE_METAFILE=no
2290 DEFAULT_wxUSE_MIMETYPE=no
2291 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2292 DEFAULT_wxUSE_PROTOCOL=no
2293 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2294 DEFAULT_wxUSE_PROTOCOL_FTP=no
2295 DEFAULT_wxUSE_PROTOCOL_FILE=no
2296 DEFAULT_wxUSE_URL=no
2297 DEFAULT_wxUSE_VARIANT=no
2299 DEFAULT_wxUSE_ABOUTDLG=no
2300 DEFAULT_wxUSE_COMMONDLGS=no
2301 DEFAULT_wxUSE_CHOICEDLG=no
2302 DEFAULT_wxUSE_COLOURDLG=no
2303 DEFAULT_wxUSE_DIRDLG=no
2304 DEFAULT_wxUSE_FILEDLG=no
2305 DEFAULT_wxUSE_FINDREPLDLG=no
2306 DEFAULT_wxUSE_FONTDLG=no
2307 DEFAULT_wxUSE_MSGDLG=no
2308 DEFAULT_wxUSE_NUMBERDLG=no
2309 DEFAULT_wxUSE_TEXTDLG=no
2310 DEFAULT_wxUSE_SPLASH=no
2311 DEFAULT_wxUSE_STARTUP_TIPS=no
2312 DEFAULT_wxUSE_PROGRESSDLG=no
2313 DEFAULT_wxUSE_WIZARDDLG=no
2315 DEFAULT_wxUSE_MENUS=no
2316 DEFAULT_wxUSE_MINIFRAME=no
2317 DEFAULT_wxUSE_HTML=no
2318 DEFAULT_wxUSE_RICHTEXT=no
2319 DEFAULT_wxUSE_XRC=no
2320 DEFAULT_wxUSE_AUI=no
2321 DEFAULT_wxUSE_WEBKIT=no
2322 DEFAULT_wxUSE_FILESYSTEM=no
2323 DEFAULT_wxUSE_FS_INET=no
2324 DEFAULT_wxUSE_FS_ZIP=no
2325 DEFAULT_wxUSE_FS_ARCHIVE=no
2326 DEFAULT_wxUSE_BUSYINFO=no
2327 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2328 DEFAULT_wxUSE_ZIPSTREAM=no
2329 DEFAULT_wxUSE_TARSTREAM=no
2330 DEFAULT_wxUSE_VALIDATORS=no
2332 DEFAULT_wxUSE_ACCEL=no
2333 DEFAULT_wxUSE_ANIMATIONCTRL=no
2334 DEFAULT_wxUSE_BUTTON=no
2335 DEFAULT_wxUSE_BMPBUTTON=no
2336 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2337 DEFAULT_wxUSE_CALCTRL=no
2338 DEFAULT_wxUSE_CARET=no
2339 DEFAULT_wxUSE_CHECKBOX=no
2340 DEFAULT_wxUSE_CHECKLST=no
2341 DEFAULT_wxUSE_CHOICE=no
2342 DEFAULT_wxUSE_CHOICEBOOK=no
2343 DEFAULT_wxUSE_COLLPANE=no
2344 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2345 DEFAULT_wxUSE_COMBOBOX=no
2346 DEFAULT_wxUSE_COMBOCTRL=no
2347 DEFAULT_wxUSE_DATEPICKCTRL=no
2348 DEFAULT_wxUSE_DISPLAY=no
2349 DEFAULT_wxUSE_DETECT_SM=no
2350 DEFAULT_wxUSE_DIRPICKERCTRL=no
2351 DEFAULT_wxUSE_FILEPICKERCTRL=no
2352 DEFAULT_wxUSE_FONTPICKERCTRL=no
2353 DEFAULT_wxUSE_GAUGE=no
2354 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2355 DEFAULT_wxUSE_GRID=no
2356 DEFAULT_wxUSE_HYPERLINKCTRL=no
2357 DEFAULT_wxUSE_DATAVIEWCTRL=no
2358 DEFAULT_wxUSE_IMAGLIST=no
2359 DEFAULT_wxUSE_LISTBOOK=no
2360 DEFAULT_wxUSE_LISTBOX=no
2361 DEFAULT_wxUSE_LISTCTRL=no
2362 DEFAULT_wxUSE_NOTEBOOK=no
2363 DEFAULT_wxUSE_ODCOMBOBOX=no
2364 DEFAULT_wxUSE_RADIOBOX=no
2365 DEFAULT_wxUSE_RADIOBTN=no
2366 DEFAULT_wxUSE_SASH=no
2367 DEFAULT_wxUSE_SCROLLBAR=no
2368 DEFAULT_wxUSE_SLIDER=no
2369 DEFAULT_wxUSE_SPINBTN=no
2370 DEFAULT_wxUSE_SPINCTRL=no
2371 DEFAULT_wxUSE_SPLITTER=no
2372 DEFAULT_wxUSE_STATBMP=no
2373 DEFAULT_wxUSE_STATBOX=no
2374 DEFAULT_wxUSE_STATLINE=no
2375 DEFAULT_wxUSE_STATTEXT=no
2376 DEFAULT_wxUSE_STATUSBAR=yes
2377 DEFAULT_wxUSE_TAB_DIALOG=no
2378 DEFAULT_wxUSE_TEXTCTRL=no
2379 DEFAULT_wxUSE_TOGGLEBTN=no
2380 DEFAULT_wxUSE_TOOLBAR=no
2381 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2382 DEFAULT_wxUSE_TREEBOOK=no
2383 DEFAULT_wxUSE_TOOLBOOK=no
2384 DEFAULT_wxUSE_TREECTRL=no
2385 DEFAULT_wxUSE_POPUPWIN=no
2386 DEFAULT_wxUSE_TIPWINDOW=no
2388 DEFAULT_wxUSE_UNICODE=no
2389 DEFAULT_wxUSE_UNICODE_MSLU=no
2390 DEFAULT_wxUSE_WCSRTOMBS=no
2392 DEFAULT_wxUSE_PALETTE=no
2393 DEFAULT_wxUSE_IMAGE=no
2394 DEFAULT_wxUSE_GIF=no
2395 DEFAULT_wxUSE_PCX=no
2396 DEFAULT_wxUSE_TGA=no
2397 DEFAULT_wxUSE_PNM=no
2398 DEFAULT_wxUSE_IFF=no
2399 DEFAULT_wxUSE_XPM=no
2400 DEFAULT_wxUSE_ICO_CUR=no
2401 DEFAULT_wxUSE_ACCESSIBILITY=no
2403 DEFAULT_wxUSE_MONOLITHIC=no
2404 DEFAULT_wxUSE_PLUGINS=no
2405 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2407 DEFAULT_wxUSE_UNIVERSAL=no
2408 DEFAULT_wxUSE_STL=no
2410 DEFAULT_wxUSE_NANOX=no
2412 DEFAULT_wxUSE_THREADS=yes
2414 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2415 DEFAULT_wxUSE_OPTIMISE=yes
2416 DEFAULT_wxUSE_PROFILE=no
2417 DEFAULT_wxUSE_NO_DEPS=no
2418 DEFAULT_wxUSE_VARARG_MACROS=yes
2419 DEFAULT_wxUSE_NO_RTTI=no
2420 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2421 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2422 DEFAULT_wxUSE_RPATH=yes
2423 DEFAULT_wxUSE_PERMISSIVE=no
2424 DEFAULT_wxUSE_DEBUG_FLAG=no
2425 DEFAULT_wxUSE_DEBUG_INFO=no
2426 DEFAULT_wxUSE_DEBUG_GDB=no
2427 DEFAULT_wxUSE_MEM_TRACING=no
2428 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2429 DEFAULT_wxUSE_DMALLOC=no
2430 DEFAULT_wxUSE_APPLE_IEEE=yes
2432 DEFAULT_wxUSE_EXCEPTIONS=yes
2433 DEFAULT_wxUSE_LOG=yes
2434 DEFAULT_wxUSE_LOGWINDOW=yes
2435 DEFAULT_wxUSE_LOGGUI=yes
2436 DEFAULT_wxUSE_LOGDIALOG=yes
2438 DEFAULT_wxUSE_GUI=yes
2440 DEFAULT_wxUSE_REGEX=yes
2441 DEFAULT_wxUSE_XML=yes
2442 DEFAULT_wxUSE_EXPAT=yes
2443 DEFAULT_wxUSE_ZLIB=yes
2444 DEFAULT_wxUSE_LIBPNG=yes
2445 DEFAULT_wxUSE_LIBJPEG=yes
2446 DEFAULT_wxUSE_LIBTIFF=yes
2447 DEFAULT_wxUSE_LIBXPM=yes
2448 DEFAULT_wxUSE_LIBMSPACK=yes
2449 DEFAULT_wxUSE_LIBSDL=no
2450 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2451 DEFAULT_wxUSE_LIBGNOMEVFS=no
2452 DEFAULT_wxUSE_LIBHILDON=no
2453 DEFAULT_wxUSE_ODBC=no
2454 DEFAULT_wxUSE_OPENGL=no
2456 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2457 DEFAULT_wxUSE_STACKWALKER=yes
2458 DEFAULT_wxUSE_DEBUGREPORT=yes
2459 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2460 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2461 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2462 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2463 DEFAULT_wxUSE_DATETIME=yes
2464 DEFAULT_wxUSE_TIMER=yes
2465 DEFAULT_wxUSE_STOPWATCH=yes
2466 DEFAULT_wxUSE_FILE=yes
2467 DEFAULT_wxUSE_FFILE=yes
2468 DEFAULT_wxUSE_STDPATHS=yes
2469 DEFAULT_wxUSE_TEXTBUFFER=yes
2470 DEFAULT_wxUSE_TEXTFILE=yes
2471 DEFAULT_wxUSE_SOUND=yes
2472 DEFAULT_wxUSE_MEDIACTRL=no
2473 DEFAULT_wxUSE_GSTREAMER8=no
2474 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2475 DEFAULT_wxUSE_INTL=yes
2476 DEFAULT_wxUSE_CONFIG=yes
2477 DEFAULT_wxUSE_FONTMAP=yes
2478 DEFAULT_wxUSE_STREAMS=yes
2479 DEFAULT_wxUSE_SOCKETS=yes
2480 DEFAULT_wxUSE_OLE=yes
2481 DEFAULT_wxUSE_DATAOBJ=yes
2482 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2483 DEFAULT_wxUSE_JOYSTICK=yes
2484 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2485 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2486 DEFAULT_wxUSE_LONGLONG=yes
2487 DEFAULT_wxUSE_GEOMETRY=yes
2489 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2490 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2491 DEFAULT_wxUSE_POSTSCRIPT=yes
2493 DEFAULT_wxUSE_CLIPBOARD=yes
2494 DEFAULT_wxUSE_TOOLTIPS=yes
2495 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2496 DEFAULT_wxUSE_DRAGIMAGE=yes
2497 DEFAULT_wxUSE_SPLINES=yes
2498 DEFAULT_wxUSE_MOUSEWHEEL=yes
2500 DEFAULT_wxUSE_MDI=yes
2501 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2502 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2503 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2505 DEFAULT_wxUSE_RESOURCES=no
2506 DEFAULT_wxUSE_CONSTRAINTS=yes
2507 DEFAULT_wxUSE_IPC=yes
2508 DEFAULT_wxUSE_HELP=yes
2509 DEFAULT_wxUSE_MS_HTML_HELP=yes
2510 DEFAULT_wxUSE_WXHTML_HELP=yes
2511 DEFAULT_wxUSE_TREELAYOUT=yes
2512 DEFAULT_wxUSE_METAFILE=yes
2513 DEFAULT_wxUSE_MIMETYPE=yes
2514 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2515 DEFAULT_wxUSE_PROTOCOL=yes
2516 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2517 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2518 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2519 DEFAULT_wxUSE_URL=yes
2520 DEFAULT_wxUSE_VARIANT=yes
2522 DEFAULT_wxUSE_ABOUTDLG=yes
2523 DEFAULT_wxUSE_COMMONDLGS=yes
2524 DEFAULT_wxUSE_CHOICEDLG=yes
2525 DEFAULT_wxUSE_COLOURDLG=yes
2526 DEFAULT_wxUSE_DIRDLG=yes
2527 DEFAULT_wxUSE_FILEDLG=yes
2528 DEFAULT_wxUSE_FINDREPLDLG=yes
2529 DEFAULT_wxUSE_FONTDLG=yes
2530 DEFAULT_wxUSE_MSGDLG=yes
2531 DEFAULT_wxUSE_NUMBERDLG=yes
2532 DEFAULT_wxUSE_TEXTDLG=yes
2533 DEFAULT_wxUSE_SPLASH=yes
2534 DEFAULT_wxUSE_STARTUP_TIPS=yes
2535 DEFAULT_wxUSE_PROGRESSDLG=yes
2536 DEFAULT_wxUSE_WIZARDDLG=yes
2538 DEFAULT_wxUSE_MENUS=yes
2539 DEFAULT_wxUSE_MINIFRAME=yes
2540 DEFAULT_wxUSE_HTML=yes
2541 DEFAULT_wxUSE_RICHTEXT=yes
2542 DEFAULT_wxUSE_XRC=yes
2543 DEFAULT_wxUSE_AUI=yes
2544 DEFAULT_wxUSE_WEBKIT=yes
2545 DEFAULT_wxUSE_FILESYSTEM=yes
2546 DEFAULT_wxUSE_FS_INET=yes
2547 DEFAULT_wxUSE_FS_ZIP=yes
2548 DEFAULT_wxUSE_FS_ARCHIVE=yes
2549 DEFAULT_wxUSE_BUSYINFO=yes
2550 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2551 DEFAULT_wxUSE_ZIPSTREAM=yes
2552 DEFAULT_wxUSE_TARSTREAM=yes
2553 DEFAULT_wxUSE_VALIDATORS=yes
2555 DEFAULT_wxUSE_ACCEL=yes
2556 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2557 DEFAULT_wxUSE_BUTTON=yes
2558 DEFAULT_wxUSE_BMPBUTTON=yes
2559 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2560 DEFAULT_wxUSE_CALCTRL=yes
2561 DEFAULT_wxUSE_CARET=yes
2562 DEFAULT_wxUSE_CHECKBOX=yes
2563 DEFAULT_wxUSE_CHECKLST=yes
2564 DEFAULT_wxUSE_CHOICE=yes
2565 DEFAULT_wxUSE_CHOICEBOOK=yes
2566 DEFAULT_wxUSE_COLLPANE=yes
2567 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2568 DEFAULT_wxUSE_COMBOBOX=yes
2569 DEFAULT_wxUSE_COMBOCTRL=yes
2570 DEFAULT_wxUSE_DATEPICKCTRL=yes
2571 DEFAULT_wxUSE_DISPLAY=yes
2572 DEFAULT_wxUSE_DETECT_SM=yes
2573 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2574 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2575 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2576 DEFAULT_wxUSE_GAUGE=yes
2577 DEFAULT_wxUSE_GRID=yes
2578 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2579 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2580 DEFAULT_wxUSE_DATAVIEWCTRL=no
2581 DEFAULT_wxUSE_IMAGLIST=yes
2582 DEFAULT_wxUSE_LISTBOOK=yes
2583 DEFAULT_wxUSE_LISTBOX=yes
2584 DEFAULT_wxUSE_LISTCTRL=yes
2585 DEFAULT_wxUSE_NOTEBOOK=yes
2586 DEFAULT_wxUSE_ODCOMBOBOX=yes
2587 DEFAULT_wxUSE_RADIOBOX=yes
2588 DEFAULT_wxUSE_RADIOBTN=yes
2589 DEFAULT_wxUSE_SASH=yes
2590 DEFAULT_wxUSE_SCROLLBAR=yes
2591 DEFAULT_wxUSE_SLIDER=yes
2592 DEFAULT_wxUSE_SPINBTN=yes
2593 DEFAULT_wxUSE_SPINCTRL=yes
2594 DEFAULT_wxUSE_SPLITTER=yes
2595 DEFAULT_wxUSE_STATBMP=yes
2596 DEFAULT_wxUSE_STATBOX=yes
2597 DEFAULT_wxUSE_STATLINE=yes
2598 DEFAULT_wxUSE_STATTEXT=yes
2599 DEFAULT_wxUSE_STATUSBAR=yes
2600 DEFAULT_wxUSE_TAB_DIALOG=no
2601 DEFAULT_wxUSE_TEXTCTRL=yes
2602 DEFAULT_wxUSE_TOGGLEBTN=yes
2603 DEFAULT_wxUSE_TOOLBAR=yes
2604 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2605 DEFAULT_wxUSE_TREEBOOK=yes
2606 DEFAULT_wxUSE_TOOLBOOK=yes
2607 DEFAULT_wxUSE_TREECTRL=yes
2608 DEFAULT_wxUSE_POPUPWIN=yes
2609 DEFAULT_wxUSE_TIPWINDOW=yes
2611 DEFAULT_wxUSE_UNICODE=no
2612 DEFAULT_wxUSE_UNICODE_MSLU=yes
2613 DEFAULT_wxUSE_WCSRTOMBS=no
2615 DEFAULT_wxUSE_PALETTE=yes
2616 DEFAULT_wxUSE_IMAGE=yes
2617 DEFAULT_wxUSE_GIF=yes
2618 DEFAULT_wxUSE_PCX=yes
2619 DEFAULT_wxUSE_TGA=yes
2620 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
2621 DEFAULT_wxUSE_XPM=yes
2622 DEFAULT_wxUSE_ICO_CUR=yes
2623 DEFAULT_wxUSE_ACCESSIBILITY=no
2625 DEFAULT_wxUSE_MONOLITHIC=no
2626 DEFAULT_wxUSE_PLUGINS=no
2627 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2629 DEFAULT_wxUSE_GTK2=yes
2635 for toolkit in `echo $ALL_TOOLKITS`; do
2636 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2637 if test "x$LINE" != "x" ; then
2638 has_toolkit_in_cache=1
2639 eval "DEFAULT_$LINE"
2640 eval "CACHE_$toolkit=1"
2642 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2643 if test "x$LINE" != "x" ; then
2644 eval "DEFAULT_$LINE"
2652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2653 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2655 # Check whether --enable-gui or --disable-gui was given.
2656 if test "${enable_gui+set}" = set; then
2657 enableval="$enable_gui"
2659 if test "$enableval" = yes; then
2660 ac_cv_use_gui='wxUSE_GUI=yes'
2662 ac_cv_use_gui='wxUSE_GUI=no'
2667 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2668 if test "x$LINE" != x ; then
2669 eval "DEFAULT_$LINE"
2674 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2678 eval "$ac_cv_use_gui"
2679 if test "$no_cache" != 1; then
2680 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2683 if test "$wxUSE_GUI" = yes; then
2684 echo "$as_me:$LINENO: result: yes" >&5
2685 echo "${ECHO_T}yes" >&6
2687 echo "$as_me:$LINENO: result: no" >&5
2688 echo "${ECHO_T}no" >&6
2693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2694 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2696 # Check whether --enable-monolithic or --disable-monolithic was given.
2697 if test "${enable_monolithic+set}" = set; then
2698 enableval="$enable_monolithic"
2700 if test "$enableval" = yes; then
2701 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2703 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2708 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2709 if test "x$LINE" != x ; then
2710 eval "DEFAULT_$LINE"
2715 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2719 eval "$ac_cv_use_monolithic"
2720 if test "$no_cache" != 1; then
2721 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2724 if test "$wxUSE_MONOLITHIC" = yes; then
2725 echo "$as_me:$LINENO: result: yes" >&5
2726 echo "${ECHO_T}yes" >&6
2728 echo "$as_me:$LINENO: result: no" >&5
2729 echo "${ECHO_T}no" >&6
2734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2735 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2737 # Check whether --enable-plugins or --disable-plugins was given.
2738 if test "${enable_plugins+set}" = set; then
2739 enableval="$enable_plugins"
2741 if test "$enableval" = yes; then
2742 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2744 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2749 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2750 if test "x$LINE" != x ; then
2751 eval "DEFAULT_$LINE"
2756 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2760 eval "$ac_cv_use_plugins"
2761 if test "$no_cache" != 1; then
2762 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2765 if test "$wxUSE_PLUGINS" = yes; then
2766 echo "$as_me:$LINENO: result: yes" >&5
2767 echo "${ECHO_T}yes" >&6
2769 echo "$as_me:$LINENO: result: no" >&5
2770 echo "${ECHO_T}no" >&6
2775 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2776 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2779 # Check whether --with-subdirs or --without-subdirs was given.
2780 if test "${with_subdirs+set}" = set; then
2781 withval="$with_subdirs"
2783 if test "$withval" = yes; then
2784 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2786 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2791 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2792 if test "x$LINE" != x ; then
2793 eval "DEFAULT_$LINE"
2798 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2802 eval "$ac_cv_use_subdirs"
2803 if test "$no_cache" != 1; then
2804 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2807 if test "$wxWITH_SUBDIRS" = yes; then
2808 echo "$as_me:$LINENO: result: yes" >&5
2809 echo "${ECHO_T}yes" >&6
2811 echo "$as_me:$LINENO: result: no" >&5
2812 echo "${ECHO_T}no" >&6
2816 if test "$wxUSE_GUI" = "yes"; then
2820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2821 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2823 # Check whether --enable-universal or --disable-universal was given.
2824 if test "${enable_universal+set}" = set; then
2825 enableval="$enable_universal"
2827 if test "$enableval" = yes; then
2828 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2830 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2835 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2836 if test "x$LINE" != x ; then
2837 eval "DEFAULT_$LINE"
2842 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2846 eval "$ac_cv_use_universal"
2847 if test "$no_cache" != 1; then
2848 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2851 if test "$wxUSE_UNIVERSAL" = yes; then
2852 echo "$as_me:$LINENO: result: yes" >&5
2853 echo "${ECHO_T}yes" >&6
2855 echo "$as_me:$LINENO: result: no" >&5
2856 echo "${ECHO_T}no" >&6
2860 # Check whether --with-gtk or --without-gtk was given.
2861 if test "${with_gtk+set}" = set; then
2863 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2866 # Check whether --with-motif or --without-motif was given.
2867 if test "${with_motif+set}" = set; then
2868 withval="$with_motif"
2869 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2872 # Check whether --with-mac or --without-mac was given.
2873 if test "${with_mac+set}" = set; then
2875 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2878 # Check whether --with-cocoa or --without-cocoa was given.
2879 if test "${with_cocoa+set}" = set; then
2880 withval="$with_cocoa"
2881 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2884 # Check whether --with-wine or --without-wine was given.
2885 if test "${with_wine+set}" = set; then
2886 withval="$with_wine"
2887 wxUSE_WINE="$withval" CACHE_WINE=1
2890 # Check whether --with-msw or --without-msw was given.
2891 if test "${with_msw+set}" = set; then
2893 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2896 # Check whether --with-pm or --without-pm was given.
2897 if test "${with_pm+set}" = set; then
2899 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2902 # Check whether --with-mgl or --without-mgl was given.
2903 if test "${with_mgl+set}" = set; then
2905 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2908 # Check whether --with-directfb or --without-directfb was given.
2909 if test "${with_directfb+set}" = set; then
2910 withval="$with_directfb"
2911 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2914 # Check whether --with-microwin or --without-microwin was given.
2915 if test "${with_microwin+set}" = set; then
2916 withval="$with_microwin"
2917 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2920 # Check whether --with-x11 or --without-x11 was given.
2921 if test "${with_x11+set}" = set; then
2923 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2928 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2930 # Check whether --enable-nanox or --disable-nanox was given.
2931 if test "${enable_nanox+set}" = set; then
2932 enableval="$enable_nanox"
2934 if test "$enableval" = yes; then
2935 ac_cv_use_nanox='wxUSE_NANOX=yes'
2937 ac_cv_use_nanox='wxUSE_NANOX=no'
2942 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2943 if test "x$LINE" != x ; then
2944 eval "DEFAULT_$LINE"
2949 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2953 eval "$ac_cv_use_nanox"
2954 if test "$no_cache" != 1; then
2955 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2958 if test "$wxUSE_NANOX" = yes; then
2959 echo "$as_me:$LINENO: result: yes" >&5
2960 echo "${ECHO_T}yes" >&6
2962 echo "$as_me:$LINENO: result: no" >&5
2963 echo "${ECHO_T}no" >&6
2967 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2968 if test "${enable_gtk2+set}" = set; then
2969 enableval="$enable_gtk2"
2970 wxUSE_GTK2="$enableval"
2974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2975 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2977 # Check whether --enable-gpe or --disable-gpe was given.
2978 if test "${enable_gpe+set}" = set; then
2979 enableval="$enable_gpe"
2981 if test "$enableval" = yes; then
2982 ac_cv_use_gpe='wxUSE_GPE=yes'
2984 ac_cv_use_gpe='wxUSE_GPE=no'
2989 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2990 if test "x$LINE" != x ; then
2991 eval "DEFAULT_$LINE"
2996 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3000 eval "$ac_cv_use_gpe"
3001 if test "$no_cache" != 1; then
3002 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3005 if test "$wxUSE_GPE" = yes; then
3006 echo "$as_me:$LINENO: result: yes" >&5
3007 echo "${ECHO_T}yes" >&6
3009 echo "$as_me:$LINENO: result: no" >&5
3010 echo "${ECHO_T}no" >&6
3015 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3016 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3019 # Check whether --with-libpng or --without-libpng was given.
3020 if test "${with_libpng+set}" = set; then
3021 withval="$with_libpng"
3023 if test "$withval" = yes; then
3024 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3025 elif test "$withval" = no; then
3026 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3027 elif test "$withval" = sys; then
3028 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3029 elif test "$withval" = builtin; then
3030 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3032 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3033 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3034 { (exit 1); exit 1; }; }
3039 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3040 if test "x$LINE" != x ; then
3041 eval "DEFAULT_$LINE"
3046 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3050 eval "$ac_cv_use_libpng"
3051 if test "$no_cache" != 1; then
3052 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3055 if test "$wxUSE_LIBPNG" = yes; then
3056 echo "$as_me:$LINENO: result: yes" >&5
3057 echo "${ECHO_T}yes" >&6
3058 elif test "$wxUSE_LIBPNG" = no; then
3059 echo "$as_me:$LINENO: result: no" >&5
3060 echo "${ECHO_T}no" >&6
3061 elif test "$wxUSE_LIBPNG" = sys; then
3062 echo "$as_me:$LINENO: result: system version" >&5
3063 echo "${ECHO_T}system version" >&6
3064 elif test "$wxUSE_LIBPNG" = builtin; then
3065 echo "$as_me:$LINENO: result: builtin version" >&5
3066 echo "${ECHO_T}builtin version" >&6
3068 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3069 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3070 { (exit 1); exit 1; }; }
3074 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3075 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3078 # Check whether --with-libjpeg or --without-libjpeg was given.
3079 if test "${with_libjpeg+set}" = set; then
3080 withval="$with_libjpeg"
3082 if test "$withval" = yes; then
3083 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3084 elif test "$withval" = no; then
3085 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3086 elif test "$withval" = sys; then
3087 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3088 elif test "$withval" = builtin; then
3089 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3091 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3092 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3093 { (exit 1); exit 1; }; }
3098 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3099 if test "x$LINE" != x ; then
3100 eval "DEFAULT_$LINE"
3105 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3109 eval "$ac_cv_use_libjpeg"
3110 if test "$no_cache" != 1; then
3111 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3114 if test "$wxUSE_LIBJPEG" = yes; then
3115 echo "$as_me:$LINENO: result: yes" >&5
3116 echo "${ECHO_T}yes" >&6
3117 elif test "$wxUSE_LIBJPEG" = no; then
3118 echo "$as_me:$LINENO: result: no" >&5
3119 echo "${ECHO_T}no" >&6
3120 elif test "$wxUSE_LIBJPEG" = sys; then
3121 echo "$as_me:$LINENO: result: system version" >&5
3122 echo "${ECHO_T}system version" >&6
3123 elif test "$wxUSE_LIBJPEG" = builtin; then
3124 echo "$as_me:$LINENO: result: builtin version" >&5
3125 echo "${ECHO_T}builtin version" >&6
3127 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3128 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3129 { (exit 1); exit 1; }; }
3133 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3134 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3137 # Check whether --with-libtiff or --without-libtiff was given.
3138 if test "${with_libtiff+set}" = set; then
3139 withval="$with_libtiff"
3141 if test "$withval" = yes; then
3142 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3143 elif test "$withval" = no; then
3144 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3145 elif test "$withval" = sys; then
3146 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3147 elif test "$withval" = builtin; then
3148 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3150 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3151 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3152 { (exit 1); exit 1; }; }
3157 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3158 if test "x$LINE" != x ; then
3159 eval "DEFAULT_$LINE"
3164 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3168 eval "$ac_cv_use_libtiff"
3169 if test "$no_cache" != 1; then
3170 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3173 if test "$wxUSE_LIBTIFF" = yes; then
3174 echo "$as_me:$LINENO: result: yes" >&5
3175 echo "${ECHO_T}yes" >&6
3176 elif test "$wxUSE_LIBTIFF" = no; then
3177 echo "$as_me:$LINENO: result: no" >&5
3178 echo "${ECHO_T}no" >&6
3179 elif test "$wxUSE_LIBTIFF" = sys; then
3180 echo "$as_me:$LINENO: result: system version" >&5
3181 echo "${ECHO_T}system version" >&6
3182 elif test "$wxUSE_LIBTIFF" = builtin; then
3183 echo "$as_me:$LINENO: result: builtin version" >&5
3184 echo "${ECHO_T}builtin version" >&6
3186 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3187 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3188 { (exit 1); exit 1; }; }
3192 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3193 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3196 # Check whether --with-libxpm or --without-libxpm was given.
3197 if test "${with_libxpm+set}" = set; then
3198 withval="$with_libxpm"
3200 if test "$withval" = yes; then
3201 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3202 elif test "$withval" = no; then
3203 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3204 elif test "$withval" = sys; then
3205 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3206 elif test "$withval" = builtin; then
3207 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3209 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3210 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3211 { (exit 1); exit 1; }; }
3216 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3217 if test "x$LINE" != x ; then
3218 eval "DEFAULT_$LINE"
3223 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3227 eval "$ac_cv_use_libxpm"
3228 if test "$no_cache" != 1; then
3229 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3232 if test "$wxUSE_LIBXPM" = yes; then
3233 echo "$as_me:$LINENO: result: yes" >&5
3234 echo "${ECHO_T}yes" >&6
3235 elif test "$wxUSE_LIBXPM" = no; then
3236 echo "$as_me:$LINENO: result: no" >&5
3237 echo "${ECHO_T}no" >&6
3238 elif test "$wxUSE_LIBXPM" = sys; then
3239 echo "$as_me:$LINENO: result: system version" >&5
3240 echo "${ECHO_T}system version" >&6
3241 elif test "$wxUSE_LIBXPM" = builtin; then
3242 echo "$as_me:$LINENO: result: builtin version" >&5
3243 echo "${ECHO_T}builtin version" >&6
3245 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3246 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3247 { (exit 1); exit 1; }; }
3252 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3253 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3256 # Check whether --with-libmspack or --without-libmspack was given.
3257 if test "${with_libmspack+set}" = set; then
3258 withval="$with_libmspack"
3260 if test "$withval" = yes; then
3261 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3263 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3268 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3269 if test "x$LINE" != x ; then
3270 eval "DEFAULT_$LINE"
3275 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3279 eval "$ac_cv_use_libmspack"
3280 if test "$no_cache" != 1; then
3281 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3284 if test "$wxUSE_LIBMSPACK" = yes; then
3285 echo "$as_me:$LINENO: result: yes" >&5
3286 echo "${ECHO_T}yes" >&6
3288 echo "$as_me:$LINENO: result: no" >&5
3289 echo "${ECHO_T}no" >&6
3294 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3295 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3298 # Check whether --with-sdl or --without-sdl was given.
3299 if test "${with_sdl+set}" = set; then
3302 if test "$withval" = yes; then
3303 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3305 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3310 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3311 if test "x$LINE" != x ; then
3312 eval "DEFAULT_$LINE"
3317 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3321 eval "$ac_cv_use_sdl"
3322 if test "$no_cache" != 1; then
3323 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3326 if test "$wxUSE_LIBSDL" = yes; then
3327 echo "$as_me:$LINENO: result: yes" >&5
3328 echo "${ECHO_T}yes" >&6
3330 echo "$as_me:$LINENO: result: no" >&5
3331 echo "${ECHO_T}no" >&6
3336 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3337 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3340 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3341 if test "${with_gnomeprint+set}" = set; then
3342 withval="$with_gnomeprint"
3344 if test "$withval" = yes; then
3345 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3347 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3352 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3353 if test "x$LINE" != x ; then
3354 eval "DEFAULT_$LINE"
3359 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3363 eval "$ac_cv_use_gnomeprint"
3364 if test "$no_cache" != 1; then
3365 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3368 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3369 echo "$as_me:$LINENO: result: yes" >&5
3370 echo "${ECHO_T}yes" >&6
3372 echo "$as_me:$LINENO: result: no" >&5
3373 echo "${ECHO_T}no" >&6
3378 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3379 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3382 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3383 if test "${with_gnomevfs+set}" = set; then
3384 withval="$with_gnomevfs"
3386 if test "$withval" = yes; then
3387 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3389 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3394 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3395 if test "x$LINE" != x ; then
3396 eval "DEFAULT_$LINE"
3401 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3405 eval "$ac_cv_use_gnomevfs"
3406 if test "$no_cache" != 1; then
3407 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3410 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3411 echo "$as_me:$LINENO: result: yes" >&5
3412 echo "${ECHO_T}yes" >&6
3414 echo "$as_me:$LINENO: result: no" >&5
3415 echo "${ECHO_T}no" >&6
3420 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3421 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3424 # Check whether --with-hildon or --without-hildon was given.
3425 if test "${with_hildon+set}" = set; then
3426 withval="$with_hildon"
3428 if test "$withval" = yes; then
3429 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3431 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3436 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3437 if test "x$LINE" != x ; then
3438 eval "DEFAULT_$LINE"
3443 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3447 eval "$ac_cv_use_hildon"
3448 if test "$no_cache" != 1; then
3449 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3452 if test "$wxUSE_LIBHILDON" = yes; then
3453 echo "$as_me:$LINENO: result: yes" >&5
3454 echo "${ECHO_T}yes" >&6
3456 echo "$as_me:$LINENO: result: no" >&5
3457 echo "${ECHO_T}no" >&6
3462 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3463 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3466 # Check whether --with-opengl or --without-opengl was given.
3467 if test "${with_opengl+set}" = set; then
3468 withval="$with_opengl"
3470 if test "$withval" = yes; then
3471 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3473 ac_cv_use_opengl='wxUSE_OPENGL=no'
3478 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3479 if test "x$LINE" != x ; then
3480 eval "DEFAULT_$LINE"
3485 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3489 eval "$ac_cv_use_opengl"
3490 if test "$no_cache" != 1; then
3491 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3494 if test "$wxUSE_OPENGL" = yes; then
3495 echo "$as_me:$LINENO: result: yes" >&5
3496 echo "${ECHO_T}yes" >&6
3498 echo "$as_me:$LINENO: result: no" >&5
3499 echo "${ECHO_T}no" >&6
3503 if test "$wxUSE_UNIVERSAL" = "yes"; then
3505 # Check whether --with-themes or --without-themes was given.
3506 if test "${with_themes+set}" = set; then
3507 withval="$with_themes"
3508 wxUNIV_THEMES="$withval"
3516 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3517 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3520 # Check whether --with-dmalloc or --without-dmalloc was given.
3521 if test "${with_dmalloc+set}" = set; then
3522 withval="$with_dmalloc"
3524 if test "$withval" = yes; then
3525 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3527 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3532 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3533 if test "x$LINE" != x ; then
3534 eval "DEFAULT_$LINE"
3539 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3543 eval "$ac_cv_use_dmalloc"
3544 if test "$no_cache" != 1; then
3545 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3548 if test "$wxUSE_DMALLOC" = yes; then
3549 echo "$as_me:$LINENO: result: yes" >&5
3550 echo "${ECHO_T}yes" >&6
3552 echo "$as_me:$LINENO: result: no" >&5
3553 echo "${ECHO_T}no" >&6
3557 echo "$as_me:$LINENO: checking for --with-regex" >&5
3558 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3561 # Check whether --with-regex or --without-regex was given.
3562 if test "${with_regex+set}" = set; then
3563 withval="$with_regex"
3565 if test "$withval" = yes; then
3566 ac_cv_use_regex='wxUSE_REGEX=yes'
3567 elif test "$withval" = no; then
3568 ac_cv_use_regex='wxUSE_REGEX=no'
3569 elif test "$withval" = sys; then
3570 ac_cv_use_regex='wxUSE_REGEX=sys'
3571 elif test "$withval" = builtin; then
3572 ac_cv_use_regex='wxUSE_REGEX=builtin'
3574 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3575 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3576 { (exit 1); exit 1; }; }
3581 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3582 if test "x$LINE" != x ; then
3583 eval "DEFAULT_$LINE"
3588 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3592 eval "$ac_cv_use_regex"
3593 if test "$no_cache" != 1; then
3594 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3597 if test "$wxUSE_REGEX" = yes; then
3598 echo "$as_me:$LINENO: result: yes" >&5
3599 echo "${ECHO_T}yes" >&6
3600 elif test "$wxUSE_REGEX" = no; then
3601 echo "$as_me:$LINENO: result: no" >&5
3602 echo "${ECHO_T}no" >&6
3603 elif test "$wxUSE_REGEX" = sys; then
3604 echo "$as_me:$LINENO: result: system version" >&5
3605 echo "${ECHO_T}system version" >&6
3606 elif test "$wxUSE_REGEX" = builtin; then
3607 echo "$as_me:$LINENO: result: builtin version" >&5
3608 echo "${ECHO_T}builtin version" >&6
3610 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3611 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3612 { (exit 1); exit 1; }; }
3616 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3617 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3620 # Check whether --with-zlib or --without-zlib was given.
3621 if test "${with_zlib+set}" = set; then
3622 withval="$with_zlib"
3624 if test "$withval" = yes; then
3625 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3626 elif test "$withval" = no; then
3627 ac_cv_use_zlib='wxUSE_ZLIB=no'
3628 elif test "$withval" = sys; then
3629 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3630 elif test "$withval" = builtin; then
3631 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3633 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3634 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3635 { (exit 1); exit 1; }; }
3640 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3641 if test "x$LINE" != x ; then
3642 eval "DEFAULT_$LINE"
3647 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3651 eval "$ac_cv_use_zlib"
3652 if test "$no_cache" != 1; then
3653 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3656 if test "$wxUSE_ZLIB" = yes; then
3657 echo "$as_me:$LINENO: result: yes" >&5
3658 echo "${ECHO_T}yes" >&6
3659 elif test "$wxUSE_ZLIB" = no; then
3660 echo "$as_me:$LINENO: result: no" >&5
3661 echo "${ECHO_T}no" >&6
3662 elif test "$wxUSE_ZLIB" = sys; then
3663 echo "$as_me:$LINENO: result: system version" >&5
3664 echo "${ECHO_T}system version" >&6
3665 elif test "$wxUSE_ZLIB" = builtin; then
3666 echo "$as_me:$LINENO: result: builtin version" >&5
3667 echo "${ECHO_T}builtin version" >&6
3669 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3670 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3671 { (exit 1); exit 1; }; }
3675 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3676 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3679 # Check whether --with-odbc or --without-odbc was given.
3680 if test "${with_odbc+set}" = set; then
3681 withval="$with_odbc"
3683 if test "$withval" = yes; then
3684 ac_cv_use_odbc='wxUSE_ODBC=yes'
3685 elif test "$withval" = no; then
3686 ac_cv_use_odbc='wxUSE_ODBC=no'
3687 elif test "$withval" = sys; then
3688 ac_cv_use_odbc='wxUSE_ODBC=sys'
3689 elif test "$withval" = builtin; then
3690 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3692 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3693 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3694 { (exit 1); exit 1; }; }
3699 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3700 if test "x$LINE" != x ; then
3701 eval "DEFAULT_$LINE"
3706 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3710 eval "$ac_cv_use_odbc"
3711 if test "$no_cache" != 1; then
3712 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3715 if test "$wxUSE_ODBC" = yes; then
3716 echo "$as_me:$LINENO: result: yes" >&5
3717 echo "${ECHO_T}yes" >&6
3718 elif test "$wxUSE_ODBC" = no; then
3719 echo "$as_me:$LINENO: result: no" >&5
3720 echo "${ECHO_T}no" >&6
3721 elif test "$wxUSE_ODBC" = sys; then
3722 echo "$as_me:$LINENO: result: system version" >&5
3723 echo "${ECHO_T}system version" >&6
3724 elif test "$wxUSE_ODBC" = builtin; then
3725 echo "$as_me:$LINENO: result: builtin version" >&5
3726 echo "${ECHO_T}builtin version" >&6
3728 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3729 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3730 { (exit 1); exit 1; }; }
3734 echo "$as_me:$LINENO: checking for --with-expat" >&5
3735 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3738 # Check whether --with-expat or --without-expat was given.
3739 if test "${with_expat+set}" = set; then
3740 withval="$with_expat"
3742 if test "$withval" = yes; then
3743 ac_cv_use_expat='wxUSE_EXPAT=yes'
3744 elif test "$withval" = no; then
3745 ac_cv_use_expat='wxUSE_EXPAT=no'
3746 elif test "$withval" = sys; then
3747 ac_cv_use_expat='wxUSE_EXPAT=sys'
3748 elif test "$withval" = builtin; then
3749 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3751 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3752 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3753 { (exit 1); exit 1; }; }
3758 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3759 if test "x$LINE" != x ; then
3760 eval "DEFAULT_$LINE"
3765 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3769 eval "$ac_cv_use_expat"
3770 if test "$no_cache" != 1; then
3771 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3774 if test "$wxUSE_EXPAT" = yes; then
3775 echo "$as_me:$LINENO: result: yes" >&5
3776 echo "${ECHO_T}yes" >&6
3777 elif test "$wxUSE_EXPAT" = no; then
3778 echo "$as_me:$LINENO: result: no" >&5
3779 echo "${ECHO_T}no" >&6
3780 elif test "$wxUSE_EXPAT" = sys; then
3781 echo "$as_me:$LINENO: result: system version" >&5
3782 echo "${ECHO_T}system version" >&6
3783 elif test "$wxUSE_EXPAT" = builtin; then
3784 echo "$as_me:$LINENO: result: builtin version" >&5
3785 echo "${ECHO_T}builtin version" >&6
3787 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3788 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3789 { (exit 1); exit 1; }; }
3796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3797 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3799 # Check whether --enable-shared or --disable-shared was given.
3800 if test "${enable_shared+set}" = set; then
3801 enableval="$enable_shared"
3803 if test "$enableval" = yes; then
3804 ac_cv_use_shared='wxUSE_SHARED=yes'
3806 ac_cv_use_shared='wxUSE_SHARED=no'
3811 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3812 if test "x$LINE" != x ; then
3813 eval "DEFAULT_$LINE"
3818 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3822 eval "$ac_cv_use_shared"
3823 if test "$no_cache" != 1; then
3824 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3827 if test "$wxUSE_SHARED" = yes; then
3828 echo "$as_me:$LINENO: result: yes" >&5
3829 echo "${ECHO_T}yes" >&6
3831 echo "$as_me:$LINENO: result: no" >&5
3832 echo "${ECHO_T}no" >&6
3837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3838 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3840 # Check whether --enable-optimise or --disable-optimise was given.
3841 if test "${enable_optimise+set}" = set; then
3842 enableval="$enable_optimise"
3844 if test "$enableval" = yes; then
3845 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3847 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3852 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3853 if test "x$LINE" != x ; then
3854 eval "DEFAULT_$LINE"
3859 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3863 eval "$ac_cv_use_optimise"
3864 if test "$no_cache" != 1; then
3865 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3868 if test "$wxUSE_OPTIMISE" = yes; then
3869 echo "$as_me:$LINENO: result: yes" >&5
3870 echo "${ECHO_T}yes" >&6
3872 echo "$as_me:$LINENO: result: no" >&5
3873 echo "${ECHO_T}no" >&6
3878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3879 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3881 # Check whether --enable-debug or --disable-debug was given.
3882 if test "${enable_debug+set}" = set; then
3883 enableval="$enable_debug"
3885 if test "$enableval" = yes; then
3886 ac_cv_use_debug='wxUSE_DEBUG=yes'
3888 ac_cv_use_debug='wxUSE_DEBUG=no'
3893 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3894 if test "x$LINE" != x ; then
3895 eval "DEFAULT_$LINE"
3900 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3904 eval "$ac_cv_use_debug"
3905 if test "$no_cache" != 1; then
3906 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3909 if test "$wxUSE_DEBUG" = yes; then
3910 echo "$as_me:$LINENO: result: yes" >&5
3911 echo "${ECHO_T}yes" >&6
3913 echo "$as_me:$LINENO: result: no" >&5
3914 echo "${ECHO_T}no" >&6
3919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3920 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3922 # Check whether --enable-stl or --disable-stl was given.
3923 if test "${enable_stl+set}" = set; then
3924 enableval="$enable_stl"
3926 if test "$enableval" = yes; then
3927 ac_cv_use_stl='wxUSE_STL=yes'
3929 ac_cv_use_stl='wxUSE_STL=no'
3934 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3935 if test "x$LINE" != x ; then
3936 eval "DEFAULT_$LINE"
3941 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3945 eval "$ac_cv_use_stl"
3946 if test "$no_cache" != 1; then
3947 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3950 if test "$wxUSE_STL" = yes; then
3951 echo "$as_me:$LINENO: result: yes" >&5
3952 echo "${ECHO_T}yes" >&6
3954 echo "$as_me:$LINENO: result: no" >&5
3955 echo "${ECHO_T}no" >&6
3958 if test "$USE_OS2" = "1"; then
3959 DEFAULT_wxUSE_OMF=no
3962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3963 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3965 # Check whether --enable-omf or --disable-omf was given.
3966 if test "${enable_omf+set}" = set; then
3967 enableval="$enable_omf"
3969 if test "$enableval" = yes; then
3970 ac_cv_use_omf='wxUSE_OMF=yes'
3972 ac_cv_use_omf='wxUSE_OMF=no'
3977 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3978 if test "x$LINE" != x ; then
3979 eval "DEFAULT_$LINE"
3984 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3988 eval "$ac_cv_use_omf"
3989 if test "$no_cache" != 1; then
3990 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3993 if test "$wxUSE_OMF" = yes; then
3994 echo "$as_me:$LINENO: result: yes" >&5
3995 echo "${ECHO_T}yes" >&6
3997 echo "$as_me:$LINENO: result: no" >&5
3998 echo "${ECHO_T}no" >&6
4003 if test "$wxUSE_DEBUG" = "yes"; then
4004 DEFAULT_wxUSE_DEBUG_FLAG=yes
4005 DEFAULT_wxUSE_DEBUG_INFO=yes
4007 elif test "$wxUSE_DEBUG" = "no"; then
4008 DEFAULT_wxUSE_DEBUG_FLAG=no
4009 DEFAULT_wxUSE_DEBUG_INFO=no
4015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4016 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4018 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4019 if test "${enable_debug_flag+set}" = set; then
4020 enableval="$enable_debug_flag"
4022 if test "$enableval" = yes; then
4023 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4025 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4030 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4031 if test "x$LINE" != x ; then
4032 eval "DEFAULT_$LINE"
4037 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4041 eval "$ac_cv_use_debug_flag"
4042 if test "$no_cache" != 1; then
4043 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4046 if test "$wxUSE_DEBUG_FLAG" = yes; then
4047 echo "$as_me:$LINENO: result: yes" >&5
4048 echo "${ECHO_T}yes" >&6
4050 echo "$as_me:$LINENO: result: no" >&5
4051 echo "${ECHO_T}no" >&6
4056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4057 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4059 # Check whether --enable-debug_info or --disable-debug_info was given.
4060 if test "${enable_debug_info+set}" = set; then
4061 enableval="$enable_debug_info"
4063 if test "$enableval" = yes; then
4064 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4066 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4071 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4072 if test "x$LINE" != x ; then
4073 eval "DEFAULT_$LINE"
4078 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4082 eval "$ac_cv_use_debug_info"
4083 if test "$no_cache" != 1; then
4084 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4087 if test "$wxUSE_DEBUG_INFO" = yes; then
4088 echo "$as_me:$LINENO: result: yes" >&5
4089 echo "${ECHO_T}yes" >&6
4091 echo "$as_me:$LINENO: result: no" >&5
4092 echo "${ECHO_T}no" >&6
4097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4098 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4100 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4101 if test "${enable_debug_gdb+set}" = set; then
4102 enableval="$enable_debug_gdb"
4104 if test "$enableval" = yes; then
4105 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4107 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4112 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4113 if test "x$LINE" != x ; then
4114 eval "DEFAULT_$LINE"
4119 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4123 eval "$ac_cv_use_debug_gdb"
4124 if test "$no_cache" != 1; then
4125 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4128 if test "$wxUSE_DEBUG_GDB" = yes; then
4129 echo "$as_me:$LINENO: result: yes" >&5
4130 echo "${ECHO_T}yes" >&6
4132 echo "$as_me:$LINENO: result: no" >&5
4133 echo "${ECHO_T}no" >&6
4138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4139 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4141 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4142 if test "${enable_debug_cntxt+set}" = set; then
4143 enableval="$enable_debug_cntxt"
4145 if test "$enableval" = yes; then
4146 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4148 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4153 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4154 if test "x$LINE" != x ; then
4155 eval "DEFAULT_$LINE"
4160 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4164 eval "$ac_cv_use_debug_cntxt"
4165 if test "$no_cache" != 1; then
4166 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4169 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4170 echo "$as_me:$LINENO: result: yes" >&5
4171 echo "${ECHO_T}yes" >&6
4173 echo "$as_me:$LINENO: result: no" >&5
4174 echo "${ECHO_T}no" >&6
4179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4180 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4182 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4183 if test "${enable_mem_tracing+set}" = set; then
4184 enableval="$enable_mem_tracing"
4186 if test "$enableval" = yes; then
4187 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4189 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4194 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4195 if test "x$LINE" != x ; then
4196 eval "DEFAULT_$LINE"
4201 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4205 eval "$ac_cv_use_mem_tracing"
4206 if test "$no_cache" != 1; then
4207 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4210 if test "$wxUSE_MEM_TRACING" = yes; then
4211 echo "$as_me:$LINENO: result: yes" >&5
4212 echo "${ECHO_T}yes" >&6
4214 echo "$as_me:$LINENO: result: no" >&5
4215 echo "${ECHO_T}no" >&6
4220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4221 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4223 # Check whether --enable-profile or --disable-profile was given.
4224 if test "${enable_profile+set}" = set; then
4225 enableval="$enable_profile"
4227 if test "$enableval" = yes; then
4228 ac_cv_use_profile='wxUSE_PROFILE=yes'
4230 ac_cv_use_profile='wxUSE_PROFILE=no'
4235 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4236 if test "x$LINE" != x ; then
4237 eval "DEFAULT_$LINE"
4242 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4246 eval "$ac_cv_use_profile"
4247 if test "$no_cache" != 1; then
4248 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4251 if test "$wxUSE_PROFILE" = yes; then
4252 echo "$as_me:$LINENO: result: yes" >&5
4253 echo "${ECHO_T}yes" >&6
4255 echo "$as_me:$LINENO: result: no" >&5
4256 echo "${ECHO_T}no" >&6
4261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4262 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4264 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4265 if test "${enable_no_rtti+set}" = set; then
4266 enableval="$enable_no_rtti"
4268 if test "$enableval" = yes; then
4269 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4271 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4276 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4277 if test "x$LINE" != x ; then
4278 eval "DEFAULT_$LINE"
4283 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4287 eval "$ac_cv_use_no_rtti"
4288 if test "$no_cache" != 1; then
4289 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4292 if test "$wxUSE_NO_RTTI" = yes; then
4293 echo "$as_me:$LINENO: result: yes" >&5
4294 echo "${ECHO_T}yes" >&6
4296 echo "$as_me:$LINENO: result: no" >&5
4297 echo "${ECHO_T}no" >&6
4302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4303 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4305 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4306 if test "${enable_no_exceptions+set}" = set; then
4307 enableval="$enable_no_exceptions"
4309 if test "$enableval" = yes; then
4310 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4312 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4317 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4318 if test "x$LINE" != x ; then
4319 eval "DEFAULT_$LINE"
4324 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4328 eval "$ac_cv_use_no_exceptions"
4329 if test "$no_cache" != 1; then
4330 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4333 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4334 echo "$as_me:$LINENO: result: yes" >&5
4335 echo "${ECHO_T}yes" >&6
4337 echo "$as_me:$LINENO: result: no" >&5
4338 echo "${ECHO_T}no" >&6
4343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4344 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4346 # Check whether --enable-permissive or --disable-permissive was given.
4347 if test "${enable_permissive+set}" = set; then
4348 enableval="$enable_permissive"
4350 if test "$enableval" = yes; then
4351 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4353 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4358 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4359 if test "x$LINE" != x ; then
4360 eval "DEFAULT_$LINE"
4365 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4369 eval "$ac_cv_use_permissive"
4370 if test "$no_cache" != 1; then
4371 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4374 if test "$wxUSE_PERMISSIVE" = yes; then
4375 echo "$as_me:$LINENO: result: yes" >&5
4376 echo "${ECHO_T}yes" >&6
4378 echo "$as_me:$LINENO: result: no" >&5
4379 echo "${ECHO_T}no" >&6
4384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4385 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4387 # Check whether --enable-no_deps or --disable-no_deps was given.
4388 if test "${enable_no_deps+set}" = set; then
4389 enableval="$enable_no_deps"
4391 if test "$enableval" = yes; then
4392 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4394 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4399 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4400 if test "x$LINE" != x ; then
4401 eval "DEFAULT_$LINE"
4406 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4410 eval "$ac_cv_use_no_deps"
4411 if test "$no_cache" != 1; then
4412 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4415 if test "$wxUSE_NO_DEPS" = yes; then
4416 echo "$as_me:$LINENO: result: yes" >&5
4417 echo "${ECHO_T}yes" >&6
4419 echo "$as_me:$LINENO: result: no" >&5
4420 echo "${ECHO_T}no" >&6
4425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
4426 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6
4428 # Check whether --enable-vararg_macros or --disable-vararg_macros was given.
4429 if test "${enable_vararg_macros+set}" = set; then
4430 enableval="$enable_vararg_macros"
4432 if test "$enableval" = yes; then
4433 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
4435 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
4440 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
4441 if test "x$LINE" != x ; then
4442 eval "DEFAULT_$LINE"
4447 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
4451 eval "$ac_cv_use_vararg_macros"
4452 if test "$no_cache" != 1; then
4453 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
4456 if test "$wxUSE_VARARG_MACROS" = yes; then
4457 echo "$as_me:$LINENO: result: yes" >&5
4458 echo "${ECHO_T}yes" >&6
4460 echo "$as_me:$LINENO: result: no" >&5
4461 echo "${ECHO_T}no" >&6
4466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4467 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4469 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4470 if test "${enable_universal_binary+set}" = set; then
4471 enableval="$enable_universal_binary"
4473 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4477 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4478 if test "x$LINE" != x ; then
4479 eval "DEFAULT_$LINE"
4480 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4483 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4488 eval "$wx_cv_use_universal_binary"
4489 if test "$no_cache" != 1; then
4490 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4493 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4494 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4500 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4502 # Check whether --enable-compat24 or --disable-compat24 was given.
4503 if test "${enable_compat24+set}" = set; then
4504 enableval="$enable_compat24"
4506 if test "$enableval" = yes; then
4507 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4509 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4514 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4515 if test "x$LINE" != x ; then
4516 eval "DEFAULT_$LINE"
4521 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4525 eval "$ac_cv_use_compat24"
4526 if test "$no_cache" != 1; then
4527 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4530 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4531 echo "$as_me:$LINENO: result: yes" >&5
4532 echo "${ECHO_T}yes" >&6
4534 echo "$as_me:$LINENO: result: no" >&5
4535 echo "${ECHO_T}no" >&6
4539 enablestring=disable
4540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4541 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4543 # Check whether --enable-compat26 or --disable-compat26 was given.
4544 if test "${enable_compat26+set}" = set; then
4545 enableval="$enable_compat26"
4547 if test "$enableval" = yes; then
4548 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4550 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4555 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4556 if test "x$LINE" != x ; then
4557 eval "DEFAULT_$LINE"
4562 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4566 eval "$ac_cv_use_compat26"
4567 if test "$no_cache" != 1; then
4568 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4571 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4572 echo "$as_me:$LINENO: result: yes" >&5
4573 echo "${ECHO_T}yes" >&6
4575 echo "$as_me:$LINENO: result: no" >&5
4576 echo "${ECHO_T}no" >&6
4582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4583 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4585 # Check whether --enable-rpath or --disable-rpath was given.
4586 if test "${enable_rpath+set}" = set; then
4587 enableval="$enable_rpath"
4589 if test "$enableval" = yes; then
4590 ac_cv_use_rpath='wxUSE_RPATH=yes'
4592 ac_cv_use_rpath='wxUSE_RPATH=no'
4597 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4598 if test "x$LINE" != x ; then
4599 eval "DEFAULT_$LINE"
4604 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4608 eval "$ac_cv_use_rpath"
4609 if test "$no_cache" != 1; then
4610 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4613 if test "$wxUSE_RPATH" = yes; then
4614 echo "$as_me:$LINENO: result: yes" >&5
4615 echo "${ECHO_T}yes" >&6
4617 echo "$as_me:$LINENO: result: no" >&5
4618 echo "${ECHO_T}no" >&6
4626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4627 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4629 # Check whether --enable-intl or --disable-intl was given.
4630 if test "${enable_intl+set}" = set; then
4631 enableval="$enable_intl"
4633 if test "$enableval" = yes; then
4634 ac_cv_use_intl='wxUSE_INTL=yes'
4636 ac_cv_use_intl='wxUSE_INTL=no'
4641 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4642 if test "x$LINE" != x ; then
4643 eval "DEFAULT_$LINE"
4648 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4652 eval "$ac_cv_use_intl"
4653 if test "$no_cache" != 1; then
4654 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4657 if test "$wxUSE_INTL" = yes; then
4658 echo "$as_me:$LINENO: result: yes" >&5
4659 echo "${ECHO_T}yes" >&6
4661 echo "$as_me:$LINENO: result: no" >&5
4662 echo "${ECHO_T}no" >&6
4667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4668 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4670 # Check whether --enable-config or --disable-config was given.
4671 if test "${enable_config+set}" = set; then
4672 enableval="$enable_config"
4674 if test "$enableval" = yes; then
4675 ac_cv_use_config='wxUSE_CONFIG=yes'
4677 ac_cv_use_config='wxUSE_CONFIG=no'
4682 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4683 if test "x$LINE" != x ; then
4684 eval "DEFAULT_$LINE"
4689 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4693 eval "$ac_cv_use_config"
4694 if test "$no_cache" != 1; then
4695 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4698 if test "$wxUSE_CONFIG" = yes; then
4699 echo "$as_me:$LINENO: result: yes" >&5
4700 echo "${ECHO_T}yes" >&6
4702 echo "$as_me:$LINENO: result: no" >&5
4703 echo "${ECHO_T}no" >&6
4709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4710 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4712 # Check whether --enable-protocols or --disable-protocols was given.
4713 if test "${enable_protocols+set}" = set; then
4714 enableval="$enable_protocols"
4716 if test "$enableval" = yes; then
4717 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4719 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4724 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4725 if test "x$LINE" != x ; then
4726 eval "DEFAULT_$LINE"
4731 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4735 eval "$ac_cv_use_protocols"
4736 if test "$no_cache" != 1; then
4737 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4740 if test "$wxUSE_PROTOCOL" = yes; then
4741 echo "$as_me:$LINENO: result: yes" >&5
4742 echo "${ECHO_T}yes" >&6
4744 echo "$as_me:$LINENO: result: no" >&5
4745 echo "${ECHO_T}no" >&6
4750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4751 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4753 # Check whether --enable-ftp or --disable-ftp was given.
4754 if test "${enable_ftp+set}" = set; then
4755 enableval="$enable_ftp"
4757 if test "$enableval" = yes; then
4758 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4760 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4765 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4766 if test "x$LINE" != x ; then
4767 eval "DEFAULT_$LINE"
4772 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4776 eval "$ac_cv_use_ftp"
4777 if test "$no_cache" != 1; then
4778 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4781 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4782 echo "$as_me:$LINENO: result: yes" >&5
4783 echo "${ECHO_T}yes" >&6
4785 echo "$as_me:$LINENO: result: no" >&5
4786 echo "${ECHO_T}no" >&6
4791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4792 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4794 # Check whether --enable-http or --disable-http was given.
4795 if test "${enable_http+set}" = set; then
4796 enableval="$enable_http"
4798 if test "$enableval" = yes; then
4799 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4801 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4806 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4807 if test "x$LINE" != x ; then
4808 eval "DEFAULT_$LINE"
4813 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4817 eval "$ac_cv_use_http"
4818 if test "$no_cache" != 1; then
4819 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4822 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4823 echo "$as_me:$LINENO: result: yes" >&5
4824 echo "${ECHO_T}yes" >&6
4826 echo "$as_me:$LINENO: result: no" >&5
4827 echo "${ECHO_T}no" >&6
4832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4833 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4835 # Check whether --enable-fileproto or --disable-fileproto was given.
4836 if test "${enable_fileproto+set}" = set; then
4837 enableval="$enable_fileproto"
4839 if test "$enableval" = yes; then
4840 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4842 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4847 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4848 if test "x$LINE" != x ; then
4849 eval "DEFAULT_$LINE"
4854 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4858 eval "$ac_cv_use_fileproto"
4859 if test "$no_cache" != 1; then
4860 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4863 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4864 echo "$as_me:$LINENO: result: yes" >&5
4865 echo "${ECHO_T}yes" >&6
4867 echo "$as_me:$LINENO: result: no" >&5
4868 echo "${ECHO_T}no" >&6
4873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4874 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4876 # Check whether --enable-sockets or --disable-sockets was given.
4877 if test "${enable_sockets+set}" = set; then
4878 enableval="$enable_sockets"
4880 if test "$enableval" = yes; then
4881 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4883 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4888 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4889 if test "x$LINE" != x ; then
4890 eval "DEFAULT_$LINE"
4895 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4899 eval "$ac_cv_use_sockets"
4900 if test "$no_cache" != 1; then
4901 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4904 if test "$wxUSE_SOCKETS" = yes; then
4905 echo "$as_me:$LINENO: result: yes" >&5
4906 echo "${ECHO_T}yes" >&6
4908 echo "$as_me:$LINENO: result: no" >&5
4909 echo "${ECHO_T}no" >&6
4914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4915 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4917 # Check whether --enable-ole or --disable-ole was given.
4918 if test "${enable_ole+set}" = set; then
4919 enableval="$enable_ole"
4921 if test "$enableval" = yes; then
4922 ac_cv_use_ole='wxUSE_OLE=yes'
4924 ac_cv_use_ole='wxUSE_OLE=no'
4929 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4930 if test "x$LINE" != x ; then
4931 eval "DEFAULT_$LINE"
4936 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4940 eval "$ac_cv_use_ole"
4941 if test "$no_cache" != 1; then
4942 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4945 if test "$wxUSE_OLE" = yes; then
4946 echo "$as_me:$LINENO: result: yes" >&5
4947 echo "${ECHO_T}yes" >&6
4949 echo "$as_me:$LINENO: result: no" >&5
4950 echo "${ECHO_T}no" >&6
4955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4956 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4958 # Check whether --enable-dataobj or --disable-dataobj was given.
4959 if test "${enable_dataobj+set}" = set; then
4960 enableval="$enable_dataobj"
4962 if test "$enableval" = yes; then
4963 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4965 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4970 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4971 if test "x$LINE" != x ; then
4972 eval "DEFAULT_$LINE"
4977 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4981 eval "$ac_cv_use_dataobj"
4982 if test "$no_cache" != 1; then
4983 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4986 if test "$wxUSE_DATAOBJ" = yes; then
4987 echo "$as_me:$LINENO: result: yes" >&5
4988 echo "${ECHO_T}yes" >&6
4990 echo "$as_me:$LINENO: result: no" >&5
4991 echo "${ECHO_T}no" >&6
4997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4998 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
5000 # Check whether --enable-ipc or --disable-ipc was given.
5001 if test "${enable_ipc+set}" = set; then
5002 enableval="$enable_ipc"
5004 if test "$enableval" = yes; then
5005 ac_cv_use_ipc='wxUSE_IPC=yes'
5007 ac_cv_use_ipc='wxUSE_IPC=no'
5012 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5013 if test "x$LINE" != x ; then
5014 eval "DEFAULT_$LINE"
5019 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5023 eval "$ac_cv_use_ipc"
5024 if test "$no_cache" != 1; then
5025 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5028 if test "$wxUSE_IPC" = yes; then
5029 echo "$as_me:$LINENO: result: yes" >&5
5030 echo "${ECHO_T}yes" >&6
5032 echo "$as_me:$LINENO: result: no" >&5
5033 echo "${ECHO_T}no" >&6
5039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5040 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
5042 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
5043 if test "${enable_apple_ieee+set}" = set; then
5044 enableval="$enable_apple_ieee"
5046 if test "$enableval" = yes; then
5047 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5049 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5054 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5055 if test "x$LINE" != x ; then
5056 eval "DEFAULT_$LINE"
5061 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5065 eval "$ac_cv_use_apple_ieee"
5066 if test "$no_cache" != 1; then
5067 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5070 if test "$wxUSE_APPLE_IEEE" = yes; then
5071 echo "$as_me:$LINENO: result: yes" >&5
5072 echo "${ECHO_T}yes" >&6
5074 echo "$as_me:$LINENO: result: no" >&5
5075 echo "${ECHO_T}no" >&6
5080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5081 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5083 # Check whether --enable-arcstream or --disable-arcstream was given.
5084 if test "${enable_arcstream+set}" = set; then
5085 enableval="$enable_arcstream"
5087 if test "$enableval" = yes; then
5088 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5090 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5095 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5096 if test "x$LINE" != x ; then
5097 eval "DEFAULT_$LINE"
5102 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5106 eval "$ac_cv_use_arcstream"
5107 if test "$no_cache" != 1; then
5108 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5111 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5112 echo "$as_me:$LINENO: result: yes" >&5
5113 echo "${ECHO_T}yes" >&6
5115 echo "$as_me:$LINENO: result: no" >&5
5116 echo "${ECHO_T}no" >&6
5121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5122 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5124 # Check whether --enable-backtrace or --disable-backtrace was given.
5125 if test "${enable_backtrace+set}" = set; then
5126 enableval="$enable_backtrace"
5128 if test "$enableval" = yes; then
5129 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5131 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5136 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5137 if test "x$LINE" != x ; then
5138 eval "DEFAULT_$LINE"
5143 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5147 eval "$ac_cv_use_backtrace"
5148 if test "$no_cache" != 1; then
5149 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5152 if test "$wxUSE_STACKWALKER" = yes; then
5153 echo "$as_me:$LINENO: result: yes" >&5
5154 echo "${ECHO_T}yes" >&6
5156 echo "$as_me:$LINENO: result: no" >&5
5157 echo "${ECHO_T}no" >&6
5162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5163 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5165 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5166 if test "${enable_catch_segvs+set}" = set; then
5167 enableval="$enable_catch_segvs"
5169 if test "$enableval" = yes; then
5170 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5172 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5177 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5178 if test "x$LINE" != x ; then
5179 eval "DEFAULT_$LINE"
5184 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5188 eval "$ac_cv_use_catch_segvs"
5189 if test "$no_cache" != 1; then
5190 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5193 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5194 echo "$as_me:$LINENO: result: yes" >&5
5195 echo "${ECHO_T}yes" >&6
5197 echo "$as_me:$LINENO: result: no" >&5
5198 echo "${ECHO_T}no" >&6
5203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5204 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5206 # Check whether --enable-cmdline or --disable-cmdline was given.
5207 if test "${enable_cmdline+set}" = set; then
5208 enableval="$enable_cmdline"
5210 if test "$enableval" = yes; then
5211 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5213 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5218 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5219 if test "x$LINE" != x ; then
5220 eval "DEFAULT_$LINE"
5225 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5229 eval "$ac_cv_use_cmdline"
5230 if test "$no_cache" != 1; then
5231 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5234 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5235 echo "$as_me:$LINENO: result: yes" >&5
5236 echo "${ECHO_T}yes" >&6
5238 echo "$as_me:$LINENO: result: no" >&5
5239 echo "${ECHO_T}no" >&6
5244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5245 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5247 # Check whether --enable-datetime or --disable-datetime was given.
5248 if test "${enable_datetime+set}" = set; then
5249 enableval="$enable_datetime"
5251 if test "$enableval" = yes; then
5252 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5254 ac_cv_use_datetime='wxUSE_DATETIME=no'
5259 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5260 if test "x$LINE" != x ; then
5261 eval "DEFAULT_$LINE"
5266 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5270 eval "$ac_cv_use_datetime"
5271 if test "$no_cache" != 1; then
5272 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5275 if test "$wxUSE_DATETIME" = yes; then
5276 echo "$as_me:$LINENO: result: yes" >&5
5277 echo "${ECHO_T}yes" >&6
5279 echo "$as_me:$LINENO: result: no" >&5
5280 echo "${ECHO_T}no" >&6
5285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5286 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5288 # Check whether --enable-debugreport or --disable-debugreport was given.
5289 if test "${enable_debugreport+set}" = set; then
5290 enableval="$enable_debugreport"
5292 if test "$enableval" = yes; then
5293 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5295 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5300 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5301 if test "x$LINE" != x ; then
5302 eval "DEFAULT_$LINE"
5307 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5311 eval "$ac_cv_use_debugreport"
5312 if test "$no_cache" != 1; then
5313 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5316 if test "$wxUSE_DEBUGREPORT" = yes; then
5317 echo "$as_me:$LINENO: result: yes" >&5
5318 echo "${ECHO_T}yes" >&6
5320 echo "$as_me:$LINENO: result: no" >&5
5321 echo "${ECHO_T}no" >&6
5326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5327 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5329 # Check whether --enable-dialupman or --disable-dialupman was given.
5330 if test "${enable_dialupman+set}" = set; then
5331 enableval="$enable_dialupman"
5333 if test "$enableval" = yes; then
5334 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5336 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5341 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5342 if test "x$LINE" != x ; then
5343 eval "DEFAULT_$LINE"
5348 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5352 eval "$ac_cv_use_dialupman"
5353 if test "$no_cache" != 1; then
5354 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5357 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5358 echo "$as_me:$LINENO: result: yes" >&5
5359 echo "${ECHO_T}yes" >&6
5361 echo "$as_me:$LINENO: result: no" >&5
5362 echo "${ECHO_T}no" >&6
5367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5368 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5370 # Check whether --enable-dynlib or --disable-dynlib was given.
5371 if test "${enable_dynlib+set}" = set; then
5372 enableval="$enable_dynlib"
5374 if test "$enableval" = yes; then
5375 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5377 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5382 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5383 if test "x$LINE" != x ; then
5384 eval "DEFAULT_$LINE"
5389 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5393 eval "$ac_cv_use_dynlib"
5394 if test "$no_cache" != 1; then
5395 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5398 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5399 echo "$as_me:$LINENO: result: yes" >&5
5400 echo "${ECHO_T}yes" >&6
5402 echo "$as_me:$LINENO: result: no" >&5
5403 echo "${ECHO_T}no" >&6
5408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5409 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5411 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5412 if test "${enable_dynamicloader+set}" = set; then
5413 enableval="$enable_dynamicloader"
5415 if test "$enableval" = yes; then
5416 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5418 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5423 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5424 if test "x$LINE" != x ; then
5425 eval "DEFAULT_$LINE"
5430 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5434 eval "$ac_cv_use_dynamicloader"
5435 if test "$no_cache" != 1; then
5436 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5439 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5440 echo "$as_me:$LINENO: result: yes" >&5
5441 echo "${ECHO_T}yes" >&6
5443 echo "$as_me:$LINENO: result: no" >&5
5444 echo "${ECHO_T}no" >&6
5449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5450 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5452 # Check whether --enable-exceptions or --disable-exceptions was given.
5453 if test "${enable_exceptions+set}" = set; then
5454 enableval="$enable_exceptions"
5456 if test "$enableval" = yes; then
5457 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5459 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5464 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5465 if test "x$LINE" != x ; then
5466 eval "DEFAULT_$LINE"
5471 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5475 eval "$ac_cv_use_exceptions"
5476 if test "$no_cache" != 1; then
5477 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5480 if test "$wxUSE_EXCEPTIONS" = yes; then
5481 echo "$as_me:$LINENO: result: yes" >&5
5482 echo "${ECHO_T}yes" >&6
5484 echo "$as_me:$LINENO: result: no" >&5
5485 echo "${ECHO_T}no" >&6
5490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5491 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5493 # Check whether --enable-ffile or --disable-ffile was given.
5494 if test "${enable_ffile+set}" = set; then
5495 enableval="$enable_ffile"
5497 if test "$enableval" = yes; then
5498 ac_cv_use_ffile='wxUSE_FFILE=yes'
5500 ac_cv_use_ffile='wxUSE_FFILE=no'
5505 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5506 if test "x$LINE" != x ; then
5507 eval "DEFAULT_$LINE"
5512 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5516 eval "$ac_cv_use_ffile"
5517 if test "$no_cache" != 1; then
5518 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5521 if test "$wxUSE_FFILE" = yes; then
5522 echo "$as_me:$LINENO: result: yes" >&5
5523 echo "${ECHO_T}yes" >&6
5525 echo "$as_me:$LINENO: result: no" >&5
5526 echo "${ECHO_T}no" >&6
5531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5532 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5534 # Check whether --enable-file or --disable-file was given.
5535 if test "${enable_file+set}" = set; then
5536 enableval="$enable_file"
5538 if test "$enableval" = yes; then
5539 ac_cv_use_file='wxUSE_FILE=yes'
5541 ac_cv_use_file='wxUSE_FILE=no'
5546 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5547 if test "x$LINE" != x ; then
5548 eval "DEFAULT_$LINE"
5553 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5557 eval "$ac_cv_use_file"
5558 if test "$no_cache" != 1; then
5559 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5562 if test "$wxUSE_FILE" = yes; then
5563 echo "$as_me:$LINENO: result: yes" >&5
5564 echo "${ECHO_T}yes" >&6
5566 echo "$as_me:$LINENO: result: no" >&5
5567 echo "${ECHO_T}no" >&6
5572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5573 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5575 # Check whether --enable-filesystem or --disable-filesystem was given.
5576 if test "${enable_filesystem+set}" = set; then
5577 enableval="$enable_filesystem"
5579 if test "$enableval" = yes; then
5580 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5582 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5587 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5588 if test "x$LINE" != x ; then
5589 eval "DEFAULT_$LINE"
5594 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5598 eval "$ac_cv_use_filesystem"
5599 if test "$no_cache" != 1; then
5600 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5603 if test "$wxUSE_FILESYSTEM" = yes; then
5604 echo "$as_me:$LINENO: result: yes" >&5
5605 echo "${ECHO_T}yes" >&6
5607 echo "$as_me:$LINENO: result: no" >&5
5608 echo "${ECHO_T}no" >&6
5613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5614 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5616 # Check whether --enable-fontmap or --disable-fontmap was given.
5617 if test "${enable_fontmap+set}" = set; then
5618 enableval="$enable_fontmap"
5620 if test "$enableval" = yes; then
5621 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5623 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5628 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5629 if test "x$LINE" != x ; then
5630 eval "DEFAULT_$LINE"
5635 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5639 eval "$ac_cv_use_fontmap"
5640 if test "$no_cache" != 1; then
5641 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5644 if test "$wxUSE_FONTMAP" = yes; then
5645 echo "$as_me:$LINENO: result: yes" >&5
5646 echo "${ECHO_T}yes" >&6
5648 echo "$as_me:$LINENO: result: no" >&5
5649 echo "${ECHO_T}no" >&6
5654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5655 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5657 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5658 if test "${enable_fs_archive+set}" = set; then
5659 enableval="$enable_fs_archive"
5661 if test "$enableval" = yes; then
5662 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
5664 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
5669 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5670 if test "x$LINE" != x ; then
5671 eval "DEFAULT_$LINE"
5676 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
5680 eval "$ac_cv_use_fs_archive"
5681 if test "$no_cache" != 1; then
5682 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5685 if test "$wxUSE_FS_ARCHIVE" = yes; then
5686 echo "$as_me:$LINENO: result: yes" >&5
5687 echo "${ECHO_T}yes" >&6
5689 echo "$as_me:$LINENO: result: no" >&5
5690 echo "${ECHO_T}no" >&6
5695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5696 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5698 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5699 if test "${enable_fs_inet+set}" = set; then
5700 enableval="$enable_fs_inet"
5702 if test "$enableval" = yes; then
5703 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5705 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5710 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5711 if test "x$LINE" != x ; then
5712 eval "DEFAULT_$LINE"
5717 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5721 eval "$ac_cv_use_fs_inet"
5722 if test "$no_cache" != 1; then
5723 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5726 if test "$wxUSE_FS_INET" = yes; then
5727 echo "$as_me:$LINENO: result: yes" >&5
5728 echo "${ECHO_T}yes" >&6
5730 echo "$as_me:$LINENO: result: no" >&5
5731 echo "${ECHO_T}no" >&6
5736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5737 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5739 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5740 if test "${enable_fs_zip+set}" = set; then
5741 enableval="$enable_fs_zip"
5743 if test "$enableval" = yes; then
5744 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5746 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5751 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5752 if test "x$LINE" != x ; then
5753 eval "DEFAULT_$LINE"
5758 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5762 eval "$ac_cv_use_fs_zip"
5763 if test "$no_cache" != 1; then
5764 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5767 if test "$wxUSE_FS_ZIP" = yes; then
5768 echo "$as_me:$LINENO: result: yes" >&5
5769 echo "${ECHO_T}yes" >&6
5771 echo "$as_me:$LINENO: result: no" >&5
5772 echo "${ECHO_T}no" >&6
5777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5778 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5780 # Check whether --enable-geometry or --disable-geometry was given.
5781 if test "${enable_geometry+set}" = set; then
5782 enableval="$enable_geometry"
5784 if test "$enableval" = yes; then
5785 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5787 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5792 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5793 if test "x$LINE" != x ; then
5794 eval "DEFAULT_$LINE"
5799 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5803 eval "$ac_cv_use_geometry"
5804 if test "$no_cache" != 1; then
5805 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5808 if test "$wxUSE_GEOMETRY" = yes; then
5809 echo "$as_me:$LINENO: result: yes" >&5
5810 echo "${ECHO_T}yes" >&6
5812 echo "$as_me:$LINENO: result: no" >&5
5813 echo "${ECHO_T}no" >&6
5818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5819 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5821 # Check whether --enable-log or --disable-log was given.
5822 if test "${enable_log+set}" = set; then
5823 enableval="$enable_log"
5825 if test "$enableval" = yes; then
5826 ac_cv_use_log='wxUSE_LOG=yes'
5828 ac_cv_use_log='wxUSE_LOG=no'
5833 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5834 if test "x$LINE" != x ; then
5835 eval "DEFAULT_$LINE"
5840 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5844 eval "$ac_cv_use_log"
5845 if test "$no_cache" != 1; then
5846 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5849 if test "$wxUSE_LOG" = yes; then
5850 echo "$as_me:$LINENO: result: yes" >&5
5851 echo "${ECHO_T}yes" >&6
5853 echo "$as_me:$LINENO: result: no" >&5
5854 echo "${ECHO_T}no" >&6
5859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5860 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5862 # Check whether --enable-longlong or --disable-longlong was given.
5863 if test "${enable_longlong+set}" = set; then
5864 enableval="$enable_longlong"
5866 if test "$enableval" = yes; then
5867 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5869 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5874 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5875 if test "x$LINE" != x ; then
5876 eval "DEFAULT_$LINE"
5881 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5885 eval "$ac_cv_use_longlong"
5886 if test "$no_cache" != 1; then
5887 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5890 if test "$wxUSE_LONGLONG" = yes; then
5891 echo "$as_me:$LINENO: result: yes" >&5
5892 echo "${ECHO_T}yes" >&6
5894 echo "$as_me:$LINENO: result: no" >&5
5895 echo "${ECHO_T}no" >&6
5900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5901 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5903 # Check whether --enable-mimetype or --disable-mimetype was given.
5904 if test "${enable_mimetype+set}" = set; then
5905 enableval="$enable_mimetype"
5907 if test "$enableval" = yes; then
5908 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5910 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5915 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5916 if test "x$LINE" != x ; then
5917 eval "DEFAULT_$LINE"
5922 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5926 eval "$ac_cv_use_mimetype"
5927 if test "$no_cache" != 1; then
5928 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5931 if test "$wxUSE_MIMETYPE" = yes; then
5932 echo "$as_me:$LINENO: result: yes" >&5
5933 echo "${ECHO_T}yes" >&6
5935 echo "$as_me:$LINENO: result: no" >&5
5936 echo "${ECHO_T}no" >&6
5941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5942 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5944 # Check whether --enable-mslu or --disable-mslu was given.
5945 if test "${enable_mslu+set}" = set; then
5946 enableval="$enable_mslu"
5948 if test "$enableval" = yes; then
5949 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5951 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5956 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5957 if test "x$LINE" != x ; then
5958 eval "DEFAULT_$LINE"
5963 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5967 eval "$ac_cv_use_mslu"
5968 if test "$no_cache" != 1; then
5969 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5972 if test "$wxUSE_UNICODE_MSLU" = yes; then
5973 echo "$as_me:$LINENO: result: yes" >&5
5974 echo "${ECHO_T}yes" >&6
5976 echo "$as_me:$LINENO: result: no" >&5
5977 echo "${ECHO_T}no" >&6
5982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5983 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5985 # Check whether --enable-snglinst or --disable-snglinst was given.
5986 if test "${enable_snglinst+set}" = set; then
5987 enableval="$enable_snglinst"
5989 if test "$enableval" = yes; then
5990 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5992 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5997 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5998 if test "x$LINE" != x ; then
5999 eval "DEFAULT_$LINE"
6004 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6008 eval "$ac_cv_use_snglinst"
6009 if test "$no_cache" != 1; then
6010 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6013 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6014 echo "$as_me:$LINENO: result: yes" >&5
6015 echo "${ECHO_T}yes" >&6
6017 echo "$as_me:$LINENO: result: no" >&5
6018 echo "${ECHO_T}no" >&6
6023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6024 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
6026 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
6027 if test "${enable_std_iostreams+set}" = set; then
6028 enableval="$enable_std_iostreams"
6030 if test "$enableval" = yes; then
6031 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6033 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6038 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6039 if test "x$LINE" != x ; then
6040 eval "DEFAULT_$LINE"
6045 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6049 eval "$ac_cv_use_std_iostreams"
6050 if test "$no_cache" != 1; then
6051 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6054 if test "$wxUSE_STD_IOSTREAM" = yes; then
6055 echo "$as_me:$LINENO: result: yes" >&5
6056 echo "${ECHO_T}yes" >&6
6058 echo "$as_me:$LINENO: result: no" >&5
6059 echo "${ECHO_T}no" >&6
6064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6065 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6067 # Check whether --enable-std_string or --disable-std_string was given.
6068 if test "${enable_std_string+set}" = set; then
6069 enableval="$enable_std_string"
6071 if test "$enableval" = yes; then
6072 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6074 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6079 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6080 if test "x$LINE" != x ; then
6081 eval "DEFAULT_$LINE"
6086 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6090 eval "$ac_cv_use_std_string"
6091 if test "$no_cache" != 1; then
6092 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6095 if test "$wxUSE_STD_STRING" = yes; then
6096 echo "$as_me:$LINENO: result: yes" >&5
6097 echo "${ECHO_T}yes" >&6
6099 echo "$as_me:$LINENO: result: no" >&5
6100 echo "${ECHO_T}no" >&6
6105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6106 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6108 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6109 if test "${enable_stdpaths+set}" = set; then
6110 enableval="$enable_stdpaths"
6112 if test "$enableval" = yes; then
6113 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6115 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6120 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6121 if test "x$LINE" != x ; then
6122 eval "DEFAULT_$LINE"
6127 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6131 eval "$ac_cv_use_stdpaths"
6132 if test "$no_cache" != 1; then
6133 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6136 if test "$wxUSE_STDPATHS" = yes; then
6137 echo "$as_me:$LINENO: result: yes" >&5
6138 echo "${ECHO_T}yes" >&6
6140 echo "$as_me:$LINENO: result: no" >&5
6141 echo "${ECHO_T}no" >&6
6146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6147 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6149 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6150 if test "${enable_stopwatch+set}" = set; then
6151 enableval="$enable_stopwatch"
6153 if test "$enableval" = yes; then
6154 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6156 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6161 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6162 if test "x$LINE" != x ; then
6163 eval "DEFAULT_$LINE"
6168 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6172 eval "$ac_cv_use_stopwatch"
6173 if test "$no_cache" != 1; then
6174 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6177 if test "$wxUSE_STOPWATCH" = yes; then
6178 echo "$as_me:$LINENO: result: yes" >&5
6179 echo "${ECHO_T}yes" >&6
6181 echo "$as_me:$LINENO: result: no" >&5
6182 echo "${ECHO_T}no" >&6
6187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6188 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6190 # Check whether --enable-streams or --disable-streams was given.
6191 if test "${enable_streams+set}" = set; then
6192 enableval="$enable_streams"
6194 if test "$enableval" = yes; then
6195 ac_cv_use_streams='wxUSE_STREAMS=yes'
6197 ac_cv_use_streams='wxUSE_STREAMS=no'
6202 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6203 if test "x$LINE" != x ; then
6204 eval "DEFAULT_$LINE"
6209 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6213 eval "$ac_cv_use_streams"
6214 if test "$no_cache" != 1; then
6215 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6218 if test "$wxUSE_STREAMS" = yes; then
6219 echo "$as_me:$LINENO: result: yes" >&5
6220 echo "${ECHO_T}yes" >&6
6222 echo "$as_me:$LINENO: result: no" >&5
6223 echo "${ECHO_T}no" >&6
6228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6229 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6231 # Check whether --enable-system_options or --disable-system_options was given.
6232 if test "${enable_system_options+set}" = set; then
6233 enableval="$enable_system_options"
6235 if test "$enableval" = yes; then
6236 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6238 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6243 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6244 if test "x$LINE" != x ; then
6245 eval "DEFAULT_$LINE"
6250 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6254 eval "$ac_cv_use_system_options"
6255 if test "$no_cache" != 1; then
6256 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6259 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6260 echo "$as_me:$LINENO: result: yes" >&5
6261 echo "${ECHO_T}yes" >&6
6263 echo "$as_me:$LINENO: result: no" >&5
6264 echo "${ECHO_T}no" >&6
6269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6270 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6272 # Check whether --enable-tarstream or --disable-tarstream was given.
6273 if test "${enable_tarstream+set}" = set; then
6274 enableval="$enable_tarstream"
6276 if test "$enableval" = yes; then
6277 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6279 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6284 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6285 if test "x$LINE" != x ; then
6286 eval "DEFAULT_$LINE"
6291 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6295 eval "$ac_cv_use_tarstream"
6296 if test "$no_cache" != 1; then
6297 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6300 if test "$wxUSE_TARSTREAM" = yes; then
6301 echo "$as_me:$LINENO: result: yes" >&5
6302 echo "${ECHO_T}yes" >&6
6304 echo "$as_me:$LINENO: result: no" >&5
6305 echo "${ECHO_T}no" >&6
6310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6311 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6313 # Check whether --enable-textbuf or --disable-textbuf was given.
6314 if test "${enable_textbuf+set}" = set; then
6315 enableval="$enable_textbuf"
6317 if test "$enableval" = yes; then
6318 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6320 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6325 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6326 if test "x$LINE" != x ; then
6327 eval "DEFAULT_$LINE"
6332 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6336 eval "$ac_cv_use_textbuf"
6337 if test "$no_cache" != 1; then
6338 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6341 if test "$wxUSE_TEXTBUFFER" = yes; then
6342 echo "$as_me:$LINENO: result: yes" >&5
6343 echo "${ECHO_T}yes" >&6
6345 echo "$as_me:$LINENO: result: no" >&5
6346 echo "${ECHO_T}no" >&6
6351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6352 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6354 # Check whether --enable-textfile or --disable-textfile was given.
6355 if test "${enable_textfile+set}" = set; then
6356 enableval="$enable_textfile"
6358 if test "$enableval" = yes; then
6359 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6361 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6366 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6367 if test "x$LINE" != x ; then
6368 eval "DEFAULT_$LINE"
6373 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6377 eval "$ac_cv_use_textfile"
6378 if test "$no_cache" != 1; then
6379 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6382 if test "$wxUSE_TEXTFILE" = yes; then
6383 echo "$as_me:$LINENO: result: yes" >&5
6384 echo "${ECHO_T}yes" >&6
6386 echo "$as_me:$LINENO: result: no" >&5
6387 echo "${ECHO_T}no" >&6
6392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6393 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6395 # Check whether --enable-timer or --disable-timer was given.
6396 if test "${enable_timer+set}" = set; then
6397 enableval="$enable_timer"
6399 if test "$enableval" = yes; then
6400 ac_cv_use_timer='wxUSE_TIMER=yes'
6402 ac_cv_use_timer='wxUSE_TIMER=no'
6407 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6408 if test "x$LINE" != x ; then
6409 eval "DEFAULT_$LINE"
6414 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6418 eval "$ac_cv_use_timer"
6419 if test "$no_cache" != 1; then
6420 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6423 if test "$wxUSE_TIMER" = yes; then
6424 echo "$as_me:$LINENO: result: yes" >&5
6425 echo "${ECHO_T}yes" >&6
6427 echo "$as_me:$LINENO: result: no" >&5
6428 echo "${ECHO_T}no" >&6
6433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6434 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6436 # Check whether --enable-unicode or --disable-unicode was given.
6437 if test "${enable_unicode+set}" = set; then
6438 enableval="$enable_unicode"
6440 if test "$enableval" = yes; then
6441 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6443 ac_cv_use_unicode='wxUSE_UNICODE=no'
6448 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6449 if test "x$LINE" != x ; then
6450 eval "DEFAULT_$LINE"
6455 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6459 eval "$ac_cv_use_unicode"
6460 if test "$no_cache" != 1; then
6461 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6464 if test "$wxUSE_UNICODE" = yes; then
6465 echo "$as_me:$LINENO: result: yes" >&5
6466 echo "${ECHO_T}yes" >&6
6468 echo "$as_me:$LINENO: result: no" >&5
6469 echo "${ECHO_T}no" >&6
6474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6475 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6477 # Check whether --enable-sound or --disable-sound was given.
6478 if test "${enable_sound+set}" = set; then
6479 enableval="$enable_sound"
6481 if test "$enableval" = yes; then
6482 ac_cv_use_sound='wxUSE_SOUND=yes'
6484 ac_cv_use_sound='wxUSE_SOUND=no'
6489 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6490 if test "x$LINE" != x ; then
6491 eval "DEFAULT_$LINE"
6496 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6500 eval "$ac_cv_use_sound"
6501 if test "$no_cache" != 1; then
6502 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6505 if test "$wxUSE_SOUND" = yes; then
6506 echo "$as_me:$LINENO: result: yes" >&5
6507 echo "${ECHO_T}yes" >&6
6509 echo "$as_me:$LINENO: result: no" >&5
6510 echo "${ECHO_T}no" >&6
6515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6516 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6518 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6519 if test "${enable_mediactrl+set}" = set; then
6520 enableval="$enable_mediactrl"
6522 if test "$enableval" = yes; then
6523 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6525 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6530 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6531 if test "x$LINE" != x ; then
6532 eval "DEFAULT_$LINE"
6537 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6541 eval "$ac_cv_use_mediactrl"
6542 if test "$no_cache" != 1; then
6543 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6546 if test "$wxUSE_MEDIACTRL" = yes; then
6547 echo "$as_me:$LINENO: result: yes" >&5
6548 echo "${ECHO_T}yes" >&6
6550 echo "$as_me:$LINENO: result: no" >&5
6551 echo "${ECHO_T}no" >&6
6556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6557 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6559 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6560 if test "${enable_gstreamer8+set}" = set; then
6561 enableval="$enable_gstreamer8"
6563 if test "$enableval" = yes; then
6564 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6566 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6571 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6572 if test "x$LINE" != x ; then
6573 eval "DEFAULT_$LINE"
6578 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6582 eval "$ac_cv_use_gstreamer8"
6583 if test "$no_cache" != 1; then
6584 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6587 if test "$wxUSE_GSTREAMER8" = yes; then
6588 echo "$as_me:$LINENO: result: yes" >&5
6589 echo "${ECHO_T}yes" >&6
6591 echo "$as_me:$LINENO: result: no" >&5
6592 echo "${ECHO_T}no" >&6
6597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6598 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6600 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6601 if test "${enable_printfposparam+set}" = set; then
6602 enableval="$enable_printfposparam"
6604 if test "$enableval" = yes; then
6605 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6607 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6612 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6613 if test "x$LINE" != x ; then
6614 eval "DEFAULT_$LINE"
6619 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6623 eval "$ac_cv_use_printfposparam"
6624 if test "$no_cache" != 1; then
6625 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6628 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6629 echo "$as_me:$LINENO: result: yes" >&5
6630 echo "${ECHO_T}yes" >&6
6632 echo "$as_me:$LINENO: result: no" >&5
6633 echo "${ECHO_T}no" >&6
6638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6639 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6641 # Check whether --enable-zipstream or --disable-zipstream was given.
6642 if test "${enable_zipstream+set}" = set; then
6643 enableval="$enable_zipstream"
6645 if test "$enableval" = yes; then
6646 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6648 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6653 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6654 if test "x$LINE" != x ; then
6655 eval "DEFAULT_$LINE"
6660 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6664 eval "$ac_cv_use_zipstream"
6665 if test "$no_cache" != 1; then
6666 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6669 if test "$wxUSE_ZIPSTREAM" = yes; then
6670 echo "$as_me:$LINENO: result: yes" >&5
6671 echo "${ECHO_T}yes" >&6
6673 echo "$as_me:$LINENO: result: no" >&5
6674 echo "${ECHO_T}no" >&6
6680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6681 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6683 # Check whether --enable-url or --disable-url was given.
6684 if test "${enable_url+set}" = set; then
6685 enableval="$enable_url"
6687 if test "$enableval" = yes; then
6688 ac_cv_use_url='wxUSE_URL=yes'
6690 ac_cv_use_url='wxUSE_URL=no'
6695 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6696 if test "x$LINE" != x ; then
6697 eval "DEFAULT_$LINE"
6702 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6706 eval "$ac_cv_use_url"
6707 if test "$no_cache" != 1; then
6708 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6711 if test "$wxUSE_URL" = yes; then
6712 echo "$as_me:$LINENO: result: yes" >&5
6713 echo "${ECHO_T}yes" >&6
6715 echo "$as_me:$LINENO: result: no" >&5
6716 echo "${ECHO_T}no" >&6
6721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6722 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6724 # Check whether --enable-variant or --disable-variant was given.
6725 if test "${enable_variant+set}" = set; then
6726 enableval="$enable_variant"
6728 if test "$enableval" = yes; then
6729 ac_cv_use_variant='wxUSE_VARIANT=yes'
6731 ac_cv_use_variant='wxUSE_VARIANT=no'
6736 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6737 if test "x$LINE" != x ; then
6738 eval "DEFAULT_$LINE"
6743 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6747 eval "$ac_cv_use_variant"
6748 if test "$no_cache" != 1; then
6749 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6752 if test "$wxUSE_VARIANT" = yes; then
6753 echo "$as_me:$LINENO: result: yes" >&5
6754 echo "${ECHO_T}yes" >&6
6756 echo "$as_me:$LINENO: result: no" >&5
6757 echo "${ECHO_T}no" >&6
6762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6763 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6765 # Check whether --enable-protocol or --disable-protocol was given.
6766 if test "${enable_protocol+set}" = set; then
6767 enableval="$enable_protocol"
6769 if test "$enableval" = yes; then
6770 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6772 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6777 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6778 if test "x$LINE" != x ; then
6779 eval "DEFAULT_$LINE"
6784 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6788 eval "$ac_cv_use_protocol"
6789 if test "$no_cache" != 1; then
6790 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6793 if test "$wxUSE_PROTOCOL" = yes; then
6794 echo "$as_me:$LINENO: result: yes" >&5
6795 echo "${ECHO_T}yes" >&6
6797 echo "$as_me:$LINENO: result: no" >&5
6798 echo "${ECHO_T}no" >&6
6803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6804 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6806 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6807 if test "${enable_protocol_http+set}" = set; then
6808 enableval="$enable_protocol_http"
6810 if test "$enableval" = yes; then
6811 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6813 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6818 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6819 if test "x$LINE" != x ; then
6820 eval "DEFAULT_$LINE"
6825 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6829 eval "$ac_cv_use_protocol_http"
6830 if test "$no_cache" != 1; then
6831 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6834 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6835 echo "$as_me:$LINENO: result: yes" >&5
6836 echo "${ECHO_T}yes" >&6
6838 echo "$as_me:$LINENO: result: no" >&5
6839 echo "${ECHO_T}no" >&6
6844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6845 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6847 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6848 if test "${enable_protocol_ftp+set}" = set; then
6849 enableval="$enable_protocol_ftp"
6851 if test "$enableval" = yes; then
6852 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6854 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6859 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6860 if test "x$LINE" != x ; then
6861 eval "DEFAULT_$LINE"
6866 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6870 eval "$ac_cv_use_protocol_ftp"
6871 if test "$no_cache" != 1; then
6872 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6875 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6876 echo "$as_me:$LINENO: result: yes" >&5
6877 echo "${ECHO_T}yes" >&6
6879 echo "$as_me:$LINENO: result: no" >&5
6880 echo "${ECHO_T}no" >&6
6885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6886 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6888 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6889 if test "${enable_protocol_file+set}" = set; then
6890 enableval="$enable_protocol_file"
6892 if test "$enableval" = yes; then
6893 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6895 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6900 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6901 if test "x$LINE" != x ; then
6902 eval "DEFAULT_$LINE"
6907 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6911 eval "$ac_cv_use_protocol_file"
6912 if test "$no_cache" != 1; then
6913 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6916 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6917 echo "$as_me:$LINENO: result: yes" >&5
6918 echo "${ECHO_T}yes" >&6
6920 echo "$as_me:$LINENO: result: no" >&5
6921 echo "${ECHO_T}no" >&6
6929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6930 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6932 # Check whether --enable-threads or --disable-threads was given.
6933 if test "${enable_threads+set}" = set; then
6934 enableval="$enable_threads"
6936 if test "$enableval" = yes; then
6937 ac_cv_use_threads='wxUSE_THREADS=yes'
6939 ac_cv_use_threads='wxUSE_THREADS=no'
6944 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6945 if test "x$LINE" != x ; then
6946 eval "DEFAULT_$LINE"
6951 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6955 eval "$ac_cv_use_threads"
6956 if test "$no_cache" != 1; then
6957 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6960 if test "$wxUSE_THREADS" = yes; then
6961 echo "$as_me:$LINENO: result: yes" >&5
6962 echo "${ECHO_T}yes" >&6
6964 echo "$as_me:$LINENO: result: no" >&5
6965 echo "${ECHO_T}no" >&6
6969 if test "$wxUSE_GUI" = "yes"; then
6974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6975 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6977 # Check whether --enable-docview or --disable-docview was given.
6978 if test "${enable_docview+set}" = set; then
6979 enableval="$enable_docview"
6981 if test "$enableval" = yes; then
6982 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6984 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6989 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6990 if test "x$LINE" != x ; then
6991 eval "DEFAULT_$LINE"
6996 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7000 eval "$ac_cv_use_docview"
7001 if test "$no_cache" != 1; then
7002 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7005 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7006 echo "$as_me:$LINENO: result: yes" >&5
7007 echo "${ECHO_T}yes" >&6
7009 echo "$as_me:$LINENO: result: no" >&5
7010 echo "${ECHO_T}no" >&6
7015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7016 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
7018 # Check whether --enable-help or --disable-help was given.
7019 if test "${enable_help+set}" = set; then
7020 enableval="$enable_help"
7022 if test "$enableval" = yes; then
7023 ac_cv_use_help='wxUSE_HELP=yes'
7025 ac_cv_use_help='wxUSE_HELP=no'
7030 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7031 if test "x$LINE" != x ; then
7032 eval "DEFAULT_$LINE"
7037 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7041 eval "$ac_cv_use_help"
7042 if test "$no_cache" != 1; then
7043 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7046 if test "$wxUSE_HELP" = yes; then
7047 echo "$as_me:$LINENO: result: yes" >&5
7048 echo "${ECHO_T}yes" >&6
7050 echo "$as_me:$LINENO: result: no" >&5
7051 echo "${ECHO_T}no" >&6
7056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7057 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7059 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7060 if test "${enable_mshtmlhelp+set}" = set; then
7061 enableval="$enable_mshtmlhelp"
7063 if test "$enableval" = yes; then
7064 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7066 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7071 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7072 if test "x$LINE" != x ; then
7073 eval "DEFAULT_$LINE"
7078 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7082 eval "$ac_cv_use_mshtmlhelp"
7083 if test "$no_cache" != 1; then
7084 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7087 if test "$wxUSE_MS_HTML_HELP" = yes; then
7088 echo "$as_me:$LINENO: result: yes" >&5
7089 echo "${ECHO_T}yes" >&6
7091 echo "$as_me:$LINENO: result: no" >&5
7092 echo "${ECHO_T}no" >&6
7097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7098 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7100 # Check whether --enable-html or --disable-html was given.
7101 if test "${enable_html+set}" = set; then
7102 enableval="$enable_html"
7104 if test "$enableval" = yes; then
7105 ac_cv_use_html='wxUSE_HTML=yes'
7107 ac_cv_use_html='wxUSE_HTML=no'
7112 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7113 if test "x$LINE" != x ; then
7114 eval "DEFAULT_$LINE"
7119 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7123 eval "$ac_cv_use_html"
7124 if test "$no_cache" != 1; then
7125 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7128 if test "$wxUSE_HTML" = yes; then
7129 echo "$as_me:$LINENO: result: yes" >&5
7130 echo "${ECHO_T}yes" >&6
7132 echo "$as_me:$LINENO: result: no" >&5
7133 echo "${ECHO_T}no" >&6
7138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7139 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7141 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7142 if test "${enable_htmlhelp+set}" = set; then
7143 enableval="$enable_htmlhelp"
7145 if test "$enableval" = yes; then
7146 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7148 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7153 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7154 if test "x$LINE" != x ; then
7155 eval "DEFAULT_$LINE"
7160 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7164 eval "$ac_cv_use_htmlhelp"
7165 if test "$no_cache" != 1; then
7166 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7169 if test "$wxUSE_WXHTML_HELP" = yes; then
7170 echo "$as_me:$LINENO: result: yes" >&5
7171 echo "${ECHO_T}yes" >&6
7173 echo "$as_me:$LINENO: result: no" >&5
7174 echo "${ECHO_T}no" >&6
7179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7180 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7182 # Check whether --enable-xrc or --disable-xrc was given.
7183 if test "${enable_xrc+set}" = set; then
7184 enableval="$enable_xrc"
7186 if test "$enableval" = yes; then
7187 ac_cv_use_xrc='wxUSE_XRC=yes'
7189 ac_cv_use_xrc='wxUSE_XRC=no'
7194 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7195 if test "x$LINE" != x ; then
7196 eval "DEFAULT_$LINE"
7201 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7205 eval "$ac_cv_use_xrc"
7206 if test "$no_cache" != 1; then
7207 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7210 if test "$wxUSE_XRC" = yes; then
7211 echo "$as_me:$LINENO: result: yes" >&5
7212 echo "${ECHO_T}yes" >&6
7214 echo "$as_me:$LINENO: result: no" >&5
7215 echo "${ECHO_T}no" >&6
7220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7221 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7223 # Check whether --enable-aui or --disable-aui was given.
7224 if test "${enable_aui+set}" = set; then
7225 enableval="$enable_aui"
7227 if test "$enableval" = yes; then
7228 ac_cv_use_aui='wxUSE_AUI=yes'
7230 ac_cv_use_aui='wxUSE_AUI=no'
7235 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7236 if test "x$LINE" != x ; then
7237 eval "DEFAULT_$LINE"
7242 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7246 eval "$ac_cv_use_aui"
7247 if test "$no_cache" != 1; then
7248 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7251 if test "$wxUSE_AUI" = yes; then
7252 echo "$as_me:$LINENO: result: yes" >&5
7253 echo "${ECHO_T}yes" >&6
7255 echo "$as_me:$LINENO: result: no" >&5
7256 echo "${ECHO_T}no" >&6
7261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7262 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7264 # Check whether --enable-constraints or --disable-constraints was given.
7265 if test "${enable_constraints+set}" = set; then
7266 enableval="$enable_constraints"
7268 if test "$enableval" = yes; then
7269 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7271 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7276 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7277 if test "x$LINE" != x ; then
7278 eval "DEFAULT_$LINE"
7283 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7287 eval "$ac_cv_use_constraints"
7288 if test "$no_cache" != 1; then
7289 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7292 if test "$wxUSE_CONSTRAINTS" = yes; then
7293 echo "$as_me:$LINENO: result: yes" >&5
7294 echo "${ECHO_T}yes" >&6
7296 echo "$as_me:$LINENO: result: no" >&5
7297 echo "${ECHO_T}no" >&6
7302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7303 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7305 # Check whether --enable-printarch or --disable-printarch was given.
7306 if test "${enable_printarch+set}" = set; then
7307 enableval="$enable_printarch"
7309 if test "$enableval" = yes; then
7310 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7312 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7317 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7318 if test "x$LINE" != x ; then
7319 eval "DEFAULT_$LINE"
7324 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7328 eval "$ac_cv_use_printarch"
7329 if test "$no_cache" != 1; then
7330 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7333 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7334 echo "$as_me:$LINENO: result: yes" >&5
7335 echo "${ECHO_T}yes" >&6
7337 echo "$as_me:$LINENO: result: no" >&5
7338 echo "${ECHO_T}no" >&6
7343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7344 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7346 # Check whether --enable-mdi or --disable-mdi was given.
7347 if test "${enable_mdi+set}" = set; then
7348 enableval="$enable_mdi"
7350 if test "$enableval" = yes; then
7351 ac_cv_use_mdi='wxUSE_MDI=yes'
7353 ac_cv_use_mdi='wxUSE_MDI=no'
7358 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7359 if test "x$LINE" != x ; then
7360 eval "DEFAULT_$LINE"
7365 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7369 eval "$ac_cv_use_mdi"
7370 if test "$no_cache" != 1; then
7371 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7374 if test "$wxUSE_MDI" = yes; then
7375 echo "$as_me:$LINENO: result: yes" >&5
7376 echo "${ECHO_T}yes" >&6
7378 echo "$as_me:$LINENO: result: no" >&5
7379 echo "${ECHO_T}no" >&6
7384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7385 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7387 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7388 if test "${enable_mdidoc+set}" = set; then
7389 enableval="$enable_mdidoc"
7391 if test "$enableval" = yes; then
7392 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7394 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7399 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7400 if test "x$LINE" != x ; then
7401 eval "DEFAULT_$LINE"
7406 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7410 eval "$ac_cv_use_mdidoc"
7411 if test "$no_cache" != 1; then
7412 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7415 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7416 echo "$as_me:$LINENO: result: yes" >&5
7417 echo "${ECHO_T}yes" >&6
7419 echo "$as_me:$LINENO: result: no" >&5
7420 echo "${ECHO_T}no" >&6
7425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7426 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7428 # Check whether --enable-loggui or --disable-loggui was given.
7429 if test "${enable_loggui+set}" = set; then
7430 enableval="$enable_loggui"
7432 if test "$enableval" = yes; then
7433 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7435 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7440 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7441 if test "x$LINE" != x ; then
7442 eval "DEFAULT_$LINE"
7447 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7451 eval "$ac_cv_use_loggui"
7452 if test "$no_cache" != 1; then
7453 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7456 if test "$wxUSE_LOGGUI" = yes; then
7457 echo "$as_me:$LINENO: result: yes" >&5
7458 echo "${ECHO_T}yes" >&6
7460 echo "$as_me:$LINENO: result: no" >&5
7461 echo "${ECHO_T}no" >&6
7466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7467 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7469 # Check whether --enable-logwin or --disable-logwin was given.
7470 if test "${enable_logwin+set}" = set; then
7471 enableval="$enable_logwin"
7473 if test "$enableval" = yes; then
7474 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7476 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7481 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7482 if test "x$LINE" != x ; then
7483 eval "DEFAULT_$LINE"
7488 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7492 eval "$ac_cv_use_logwin"
7493 if test "$no_cache" != 1; then
7494 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7497 if test "$wxUSE_LOGWINDOW" = yes; then
7498 echo "$as_me:$LINENO: result: yes" >&5
7499 echo "${ECHO_T}yes" >&6
7501 echo "$as_me:$LINENO: result: no" >&5
7502 echo "${ECHO_T}no" >&6
7507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7508 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7510 # Check whether --enable-logdialog or --disable-logdialog was given.
7511 if test "${enable_logdialog+set}" = set; then
7512 enableval="$enable_logdialog"
7514 if test "$enableval" = yes; then
7515 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7517 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7522 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7523 if test "x$LINE" != x ; then
7524 eval "DEFAULT_$LINE"
7529 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7533 eval "$ac_cv_use_logdialog"
7534 if test "$no_cache" != 1; then
7535 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7538 if test "$wxUSE_LOGDIALOG" = yes; then
7539 echo "$as_me:$LINENO: result: yes" >&5
7540 echo "${ECHO_T}yes" >&6
7542 echo "$as_me:$LINENO: result: no" >&5
7543 echo "${ECHO_T}no" >&6
7548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7549 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7551 # Check whether --enable-webkit or --disable-webkit was given.
7552 if test "${enable_webkit+set}" = set; then
7553 enableval="$enable_webkit"
7555 if test "$enableval" = yes; then
7556 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7558 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7563 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7564 if test "x$LINE" != x ; then
7565 eval "DEFAULT_$LINE"
7570 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7574 eval "$ac_cv_use_webkit"
7575 if test "$no_cache" != 1; then
7576 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7579 if test "$wxUSE_WEBKIT" = yes; then
7580 echo "$as_me:$LINENO: result: yes" >&5
7581 echo "${ECHO_T}yes" >&6
7583 echo "$as_me:$LINENO: result: no" >&5
7584 echo "${ECHO_T}no" >&6
7589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
7590 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
7592 # Check whether --enable-richtext or --disable-richtext was given.
7593 if test "${enable_richtext+set}" = set; then
7594 enableval="$enable_richtext"
7596 if test "$enableval" = yes; then
7597 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
7599 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
7604 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7605 if test "x$LINE" != x ; then
7606 eval "DEFAULT_$LINE"
7611 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7615 eval "$ac_cv_use_richtext"
7616 if test "$no_cache" != 1; then
7617 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
7620 if test "$wxUSE_RICHTEXT" = yes; then
7621 echo "$as_me:$LINENO: result: yes" >&5
7622 echo "${ECHO_T}yes" >&6
7624 echo "$as_me:$LINENO: result: no" >&5
7625 echo "${ECHO_T}no" >&6
7630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7631 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7633 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7634 if test "${enable_graphics_ctx+set}" = set; then
7635 enableval="$enable_graphics_ctx"
7637 if test "$enableval" = yes; then
7638 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7640 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7645 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7646 if test "x$LINE" != x ; then
7647 eval "DEFAULT_$LINE"
7652 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7656 eval "$ac_cv_use_graphics_ctx"
7657 if test "$no_cache" != 1; then
7658 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7661 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7662 echo "$as_me:$LINENO: result: yes" >&5
7663 echo "${ECHO_T}yes" >&6
7665 echo "$as_me:$LINENO: result: no" >&5
7666 echo "${ECHO_T}no" >&6
7672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7673 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7675 # Check whether --enable-postscript or --disable-postscript was given.
7676 if test "${enable_postscript+set}" = set; then
7677 enableval="$enable_postscript"
7679 if test "$enableval" = yes; then
7680 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7682 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7687 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7688 if test "x$LINE" != x ; then
7689 eval "DEFAULT_$LINE"
7694 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7698 eval "$ac_cv_use_postscript"
7699 if test "$no_cache" != 1; then
7700 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7703 if test "$wxUSE_POSTSCRIPT" = yes; then
7704 echo "$as_me:$LINENO: result: yes" >&5
7705 echo "${ECHO_T}yes" >&6
7707 echo "$as_me:$LINENO: result: no" >&5
7708 echo "${ECHO_T}no" >&6
7716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7717 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7719 # Check whether --enable-prologio or --disable-prologio was given.
7720 if test "${enable_prologio+set}" = set; then
7721 enableval="$enable_prologio"
7723 if test "$enableval" = yes; then
7724 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7726 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7731 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7732 if test "x$LINE" != x ; then
7733 eval "DEFAULT_$LINE"
7738 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7742 eval "$ac_cv_use_prologio"
7743 if test "$no_cache" != 1; then
7744 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7747 if test "$wxUSE_PROLOGIO" = yes; then
7748 echo "$as_me:$LINENO: result: yes" >&5
7749 echo "${ECHO_T}yes" >&6
7751 echo "$as_me:$LINENO: result: no" >&5
7752 echo "${ECHO_T}no" >&6
7757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7758 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7760 # Check whether --enable-resources or --disable-resources was given.
7761 if test "${enable_resources+set}" = set; then
7762 enableval="$enable_resources"
7764 if test "$enableval" = yes; then
7765 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7767 ac_cv_use_resources='wxUSE_RESOURCES=no'
7772 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7773 if test "x$LINE" != x ; then
7774 eval "DEFAULT_$LINE"
7779 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7783 eval "$ac_cv_use_resources"
7784 if test "$no_cache" != 1; then
7785 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7788 if test "$wxUSE_RESOURCES" = yes; then
7789 echo "$as_me:$LINENO: result: yes" >&5
7790 echo "${ECHO_T}yes" >&6
7792 echo "$as_me:$LINENO: result: no" >&5
7793 echo "${ECHO_T}no" >&6
7800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7801 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7803 # Check whether --enable-clipboard or --disable-clipboard was given.
7804 if test "${enable_clipboard+set}" = set; then
7805 enableval="$enable_clipboard"
7807 if test "$enableval" = yes; then
7808 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7810 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7815 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7816 if test "x$LINE" != x ; then
7817 eval "DEFAULT_$LINE"
7822 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7826 eval "$ac_cv_use_clipboard"
7827 if test "$no_cache" != 1; then
7828 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7831 if test "$wxUSE_CLIPBOARD" = yes; then
7832 echo "$as_me:$LINENO: result: yes" >&5
7833 echo "${ECHO_T}yes" >&6
7835 echo "$as_me:$LINENO: result: no" >&5
7836 echo "${ECHO_T}no" >&6
7841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7842 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7844 # Check whether --enable-dnd or --disable-dnd was given.
7845 if test "${enable_dnd+set}" = set; then
7846 enableval="$enable_dnd"
7848 if test "$enableval" = yes; then
7849 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7851 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7856 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7857 if test "x$LINE" != x ; then
7858 eval "DEFAULT_$LINE"
7863 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7867 eval "$ac_cv_use_dnd"
7868 if test "$no_cache" != 1; then
7869 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7872 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7873 echo "$as_me:$LINENO: result: yes" >&5
7874 echo "${ECHO_T}yes" >&6
7876 echo "$as_me:$LINENO: result: no" >&5
7877 echo "${ECHO_T}no" >&6
7882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7883 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7885 # Check whether --enable-metafile or --disable-metafile was given.
7886 if test "${enable_metafile+set}" = set; then
7887 enableval="$enable_metafile"
7889 if test "$enableval" = yes; then
7890 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7892 ac_cv_use_metafile='wxUSE_METAFILE=no'
7897 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7898 if test "x$LINE" != x ; then
7899 eval "DEFAULT_$LINE"
7904 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7908 eval "$ac_cv_use_metafile"
7909 if test "$no_cache" != 1; then
7910 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7913 if test "$wxUSE_METAFILE" = yes; then
7914 echo "$as_me:$LINENO: result: yes" >&5
7915 echo "${ECHO_T}yes" >&6
7917 echo "$as_me:$LINENO: result: no" >&5
7918 echo "${ECHO_T}no" >&6
7926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7927 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7929 # Check whether --enable-controls or --disable-controls was given.
7930 if test "${enable_controls+set}" = set; then
7931 enableval="$enable_controls"
7933 if test "$enableval" = yes; then
7934 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7936 ac_cv_use_controls='wxUSE_CONTROLS=no'
7941 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7942 if test "x$LINE" != x ; then
7943 eval "DEFAULT_$LINE"
7948 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7952 eval "$ac_cv_use_controls"
7953 if test "$no_cache" != 1; then
7954 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7957 if test "$wxUSE_CONTROLS" = yes; then
7958 echo "$as_me:$LINENO: result: yes" >&5
7959 echo "${ECHO_T}yes" >&6
7961 echo "$as_me:$LINENO: result: no" >&5
7962 echo "${ECHO_T}no" >&6
7966 if test "$wxUSE_CONTROLS" = "yes"; then
7967 DEFAULT_wxUSE_ACCEL=yes
7968 DEFAULT_wxUSE_ANIMATIONCTRL=yes
7969 DEFAULT_wxUSE_BMPBUTTON=yes
7970 DEFAULT_wxUSE_BUTTON=yes
7971 DEFAULT_wxUSE_CALCTRL=yes
7972 DEFAULT_wxUSE_CARET=yes
7973 DEFAULT_wxUSE_COMBOBOX=yes
7974 DEFAULT_wxUSE_CHECKBOX=yes
7975 DEFAULT_wxUSE_CHECKLISTBOX=yes
7976 DEFAULT_wxUSE_CHOICE=yes
7977 DEFAULT_wxUSE_CHOICEBOOK=yes
7978 DEFAULT_wxUSE_COLLPANE=yes
7979 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7980 DEFAULT_wxUSE_COMBOBOX=yes
7981 DEFAULT_wxUSE_DATEPICKCTRL=yes
7982 DEFAULT_wxUSE_DISPLAY=yes
7983 DEFAULT_wxUSE_DETECT_SM=yes
7984 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7985 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7986 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7987 DEFAULT_wxUSE_GAUGE=yes
7988 DEFAULT_wxUSE_GRID=yes
7989 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7990 DEFAULT_wxUSE_DATAVIEWCTRL=no
7991 DEFAULT_wxUSE_IMAGLIST=yes
7992 DEFAULT_wxUSE_LISTBOOK=yes
7993 DEFAULT_wxUSE_LISTBOX=yes
7994 DEFAULT_wxUSE_LISTCTRL=yes
7995 DEFAULT_wxUSE_NOTEBOOK=yes
7996 DEFAULT_wxUSE_RADIOBOX=yes
7997 DEFAULT_wxUSE_RADIOBTN=yes
7998 DEFAULT_wxUSE_SASH=yes
7999 DEFAULT_wxUSE_SCROLLBAR=yes
8000 DEFAULT_wxUSE_SLIDER=yes
8001 DEFAULT_wxUSE_SPINBTN=yes
8002 DEFAULT_wxUSE_SPINCTRL=yes
8003 DEFAULT_wxUSE_SPLITTER=yes
8004 DEFAULT_wxUSE_STATBMP=yes
8005 DEFAULT_wxUSE_STATBOX=yes
8006 DEFAULT_wxUSE_STATLINE=yes
8007 DEFAULT_wxUSE_STATUSBAR=yes
8008 DEFAULT_wxUSE_TAB_DIALOG=yes
8009 DEFAULT_wxUSE_TOGGLEBTN=yes
8010 DEFAULT_wxUSE_TOOLBAR=yes
8011 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8012 DEFAULT_wxUSE_TOOLTIPS=yes
8013 DEFAULT_wxUSE_TREEBOOK=yes
8014 DEFAULT_wxUSE_TOOLBOOK=yes
8015 DEFAULT_wxUSE_TREECTRL=yes
8016 DEFAULT_wxUSE_POPUPWIN=yes
8017 DEFAULT_wxUSE_TIPWINDOW=yes
8018 elif test "$wxUSE_CONTROLS" = "no"; then
8019 DEFAULT_wxUSE_ACCEL=no
8020 DEFAULT_wxUSE_ANIMATIONCTRL=no
8021 DEFAULT_wxUSE_BMPBUTTON=no
8022 DEFAULT_wxUSE_BUTTON=no
8023 DEFAULT_wxUSE_CALCTRL=no
8024 DEFAULT_wxUSE_CARET=no
8025 DEFAULT_wxUSE_COLLPANE=no
8026 DEFAULT_wxUSE_COMBOBOX=no
8027 DEFAULT_wxUSE_CHECKBOX=no
8028 DEFAULT_wxUSE_CHECKLISTBOX=no
8029 DEFAULT_wxUSE_CHOICE=no
8030 DEFAULT_wxUSE_CHOICEBOOK=no
8031 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8032 DEFAULT_wxUSE_COMBOBOX=no
8033 DEFAULT_wxUSE_DATEPICKCTRL=no
8034 DEFAULT_wxUSE_DISPLAY=no
8035 DEFAULT_wxUSE_DETECT_SM=no
8036 DEFAULT_wxUSE_DIRPICKERCTRL=no
8037 DEFAULT_wxUSE_FILEPICKERCTRL=no
8038 DEFAULT_wxUSE_FONTPICKERCTRL=no
8039 DEFAULT_wxUSE_GAUGE=no
8040 DEFAULT_wxUSE_GRID=no
8041 DEFAULT_wxUSE_HYPERLINKCTRL=no
8042 DEFAULT_wxUSE_DATAVIEWCTRL=no
8043 DEFAULT_wxUSE_IMAGLIST=no
8044 DEFAULT_wxUSE_LISTBOOK=no
8045 DEFAULT_wxUSE_LISTBOX=no
8046 DEFAULT_wxUSE_LISTCTRL=no
8047 DEFAULT_wxUSE_NOTEBOOK=no
8048 DEFAULT_wxUSE_RADIOBOX=no
8049 DEFAULT_wxUSE_RADIOBTN=no
8050 DEFAULT_wxUSE_SASH=no
8051 DEFAULT_wxUSE_SCROLLBAR=no
8052 DEFAULT_wxUSE_SLIDER=no
8053 DEFAULT_wxUSE_SPINBTN=no
8054 DEFAULT_wxUSE_SPINCTRL=no
8055 DEFAULT_wxUSE_SPLITTER=no
8056 DEFAULT_wxUSE_STATBMP=no
8057 DEFAULT_wxUSE_STATBOX=no
8058 DEFAULT_wxUSE_STATLINE=no
8059 DEFAULT_wxUSE_STATUSBAR=no
8060 DEFAULT_wxUSE_TAB_DIALOG=no
8061 DEFAULT_wxUSE_TOGGLEBTN=no
8062 DEFAULT_wxUSE_TOOLBAR=no
8063 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8064 DEFAULT_wxUSE_TOOLTIPS=no
8065 DEFAULT_wxUSE_TREEBOOK=no
8066 DEFAULT_wxUSE_TOOLBOOK=no
8067 DEFAULT_wxUSE_TREECTRL=no
8068 DEFAULT_wxUSE_POPUPWIN=no
8069 DEFAULT_wxUSE_TIPWINDOW=no
8074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8075 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8077 # Check whether --enable-accel or --disable-accel was given.
8078 if test "${enable_accel+set}" = set; then
8079 enableval="$enable_accel"
8081 if test "$enableval" = yes; then
8082 ac_cv_use_accel='wxUSE_ACCEL=yes'
8084 ac_cv_use_accel='wxUSE_ACCEL=no'
8089 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8090 if test "x$LINE" != x ; then
8091 eval "DEFAULT_$LINE"
8096 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8100 eval "$ac_cv_use_accel"
8101 if test "$no_cache" != 1; then
8102 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8105 if test "$wxUSE_ACCEL" = yes; then
8106 echo "$as_me:$LINENO: result: yes" >&5
8107 echo "${ECHO_T}yes" >&6
8109 echo "$as_me:$LINENO: result: no" >&5
8110 echo "${ECHO_T}no" >&6
8115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8116 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8118 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8119 if test "${enable_animatectrl+set}" = set; then
8120 enableval="$enable_animatectrl"
8122 if test "$enableval" = yes; then
8123 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8125 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8130 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8131 if test "x$LINE" != x ; then
8132 eval "DEFAULT_$LINE"
8137 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8141 eval "$ac_cv_use_animatectrl"
8142 if test "$no_cache" != 1; then
8143 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8146 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8147 echo "$as_me:$LINENO: result: yes" >&5
8148 echo "${ECHO_T}yes" >&6
8150 echo "$as_me:$LINENO: result: no" >&5
8151 echo "${ECHO_T}no" >&6
8156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8157 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8159 # Check whether --enable-button or --disable-button was given.
8160 if test "${enable_button+set}" = set; then
8161 enableval="$enable_button"
8163 if test "$enableval" = yes; then
8164 ac_cv_use_button='wxUSE_BUTTON=yes'
8166 ac_cv_use_button='wxUSE_BUTTON=no'
8171 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8172 if test "x$LINE" != x ; then
8173 eval "DEFAULT_$LINE"
8178 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8182 eval "$ac_cv_use_button"
8183 if test "$no_cache" != 1; then
8184 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8187 if test "$wxUSE_BUTTON" = yes; then
8188 echo "$as_me:$LINENO: result: yes" >&5
8189 echo "${ECHO_T}yes" >&6
8191 echo "$as_me:$LINENO: result: no" >&5
8192 echo "${ECHO_T}no" >&6
8197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8198 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8200 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8201 if test "${enable_bmpbutton+set}" = set; then
8202 enableval="$enable_bmpbutton"
8204 if test "$enableval" = yes; then
8205 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8207 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8212 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8213 if test "x$LINE" != x ; then
8214 eval "DEFAULT_$LINE"
8219 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8223 eval "$ac_cv_use_bmpbutton"
8224 if test "$no_cache" != 1; then
8225 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8228 if test "$wxUSE_BMPBUTTON" = yes; then
8229 echo "$as_me:$LINENO: result: yes" >&5
8230 echo "${ECHO_T}yes" >&6
8232 echo "$as_me:$LINENO: result: no" >&5
8233 echo "${ECHO_T}no" >&6
8238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8239 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8241 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8242 if test "${enable_bmpcombobox+set}" = set; then
8243 enableval="$enable_bmpcombobox"
8245 if test "$enableval" = yes; then
8246 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8248 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8253 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8254 if test "x$LINE" != x ; then
8255 eval "DEFAULT_$LINE"
8260 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8264 eval "$ac_cv_use_bmpcombobox"
8265 if test "$no_cache" != 1; then
8266 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8269 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8270 echo "$as_me:$LINENO: result: yes" >&5
8271 echo "${ECHO_T}yes" >&6
8273 echo "$as_me:$LINENO: result: no" >&5
8274 echo "${ECHO_T}no" >&6
8279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8280 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8282 # Check whether --enable-calendar or --disable-calendar was given.
8283 if test "${enable_calendar+set}" = set; then
8284 enableval="$enable_calendar"
8286 if test "$enableval" = yes; then
8287 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8289 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8294 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8295 if test "x$LINE" != x ; then
8296 eval "DEFAULT_$LINE"
8301 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8305 eval "$ac_cv_use_calendar"
8306 if test "$no_cache" != 1; then
8307 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8310 if test "$wxUSE_CALCTRL" = yes; then
8311 echo "$as_me:$LINENO: result: yes" >&5
8312 echo "${ECHO_T}yes" >&6
8314 echo "$as_me:$LINENO: result: no" >&5
8315 echo "${ECHO_T}no" >&6
8320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8321 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8323 # Check whether --enable-caret or --disable-caret was given.
8324 if test "${enable_caret+set}" = set; then
8325 enableval="$enable_caret"
8327 if test "$enableval" = yes; then
8328 ac_cv_use_caret='wxUSE_CARET=yes'
8330 ac_cv_use_caret='wxUSE_CARET=no'
8335 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8336 if test "x$LINE" != x ; then
8337 eval "DEFAULT_$LINE"
8342 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8346 eval "$ac_cv_use_caret"
8347 if test "$no_cache" != 1; then
8348 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8351 if test "$wxUSE_CARET" = yes; then
8352 echo "$as_me:$LINENO: result: yes" >&5
8353 echo "${ECHO_T}yes" >&6
8355 echo "$as_me:$LINENO: result: no" >&5
8356 echo "${ECHO_T}no" >&6
8361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8362 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8364 # Check whether --enable-checkbox or --disable-checkbox was given.
8365 if test "${enable_checkbox+set}" = set; then
8366 enableval="$enable_checkbox"
8368 if test "$enableval" = yes; then
8369 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8371 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8376 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8377 if test "x$LINE" != x ; then
8378 eval "DEFAULT_$LINE"
8383 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8387 eval "$ac_cv_use_checkbox"
8388 if test "$no_cache" != 1; then
8389 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8392 if test "$wxUSE_CHECKBOX" = yes; then
8393 echo "$as_me:$LINENO: result: yes" >&5
8394 echo "${ECHO_T}yes" >&6
8396 echo "$as_me:$LINENO: result: no" >&5
8397 echo "${ECHO_T}no" >&6
8402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8403 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8405 # Check whether --enable-checklst or --disable-checklst was given.
8406 if test "${enable_checklst+set}" = set; then
8407 enableval="$enable_checklst"
8409 if test "$enableval" = yes; then
8410 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8412 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8417 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8418 if test "x$LINE" != x ; then
8419 eval "DEFAULT_$LINE"
8424 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8428 eval "$ac_cv_use_checklst"
8429 if test "$no_cache" != 1; then
8430 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8433 if test "$wxUSE_CHECKLST" = yes; then
8434 echo "$as_me:$LINENO: result: yes" >&5
8435 echo "${ECHO_T}yes" >&6
8437 echo "$as_me:$LINENO: result: no" >&5
8438 echo "${ECHO_T}no" >&6
8443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8444 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8446 # Check whether --enable-choice or --disable-choice was given.
8447 if test "${enable_choice+set}" = set; then
8448 enableval="$enable_choice"
8450 if test "$enableval" = yes; then
8451 ac_cv_use_choice='wxUSE_CHOICE=yes'
8453 ac_cv_use_choice='wxUSE_CHOICE=no'
8458 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8459 if test "x$LINE" != x ; then
8460 eval "DEFAULT_$LINE"
8465 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8469 eval "$ac_cv_use_choice"
8470 if test "$no_cache" != 1; then
8471 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8474 if test "$wxUSE_CHOICE" = yes; then
8475 echo "$as_me:$LINENO: result: yes" >&5
8476 echo "${ECHO_T}yes" >&6
8478 echo "$as_me:$LINENO: result: no" >&5
8479 echo "${ECHO_T}no" >&6
8484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8485 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8487 # Check whether --enable-choicebook or --disable-choicebook was given.
8488 if test "${enable_choicebook+set}" = set; then
8489 enableval="$enable_choicebook"
8491 if test "$enableval" = yes; then
8492 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8494 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8499 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8500 if test "x$LINE" != x ; then
8501 eval "DEFAULT_$LINE"
8506 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8510 eval "$ac_cv_use_choicebook"
8511 if test "$no_cache" != 1; then
8512 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8515 if test "$wxUSE_CHOICEBOOK" = yes; then
8516 echo "$as_me:$LINENO: result: yes" >&5
8517 echo "${ECHO_T}yes" >&6
8519 echo "$as_me:$LINENO: result: no" >&5
8520 echo "${ECHO_T}no" >&6
8525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
8526 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
8528 # Check whether --enable-collpane or --disable-collpane was given.
8529 if test "${enable_collpane+set}" = set; then
8530 enableval="$enable_collpane"
8532 if test "$enableval" = yes; then
8533 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
8535 ac_cv_use_collpane='wxUSE_COLLPANE=no'
8540 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
8541 if test "x$LINE" != x ; then
8542 eval "DEFAULT_$LINE"
8547 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
8551 eval "$ac_cv_use_collpane"
8552 if test "$no_cache" != 1; then
8553 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
8556 if test "$wxUSE_COLLPANE" = yes; then
8557 echo "$as_me:$LINENO: result: yes" >&5
8558 echo "${ECHO_T}yes" >&6
8560 echo "$as_me:$LINENO: result: no" >&5
8561 echo "${ECHO_T}no" >&6
8566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8567 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8569 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8570 if test "${enable_colourpicker+set}" = set; then
8571 enableval="$enable_colourpicker"
8573 if test "$enableval" = yes; then
8574 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8576 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8581 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8582 if test "x$LINE" != x ; then
8583 eval "DEFAULT_$LINE"
8588 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8592 eval "$ac_cv_use_colourpicker"
8593 if test "$no_cache" != 1; then
8594 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8597 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8598 echo "$as_me:$LINENO: result: yes" >&5
8599 echo "${ECHO_T}yes" >&6
8601 echo "$as_me:$LINENO: result: no" >&5
8602 echo "${ECHO_T}no" >&6
8607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8608 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8610 # Check whether --enable-combobox or --disable-combobox was given.
8611 if test "${enable_combobox+set}" = set; then
8612 enableval="$enable_combobox"
8614 if test "$enableval" = yes; then
8615 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8617 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8622 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8623 if test "x$LINE" != x ; then
8624 eval "DEFAULT_$LINE"
8629 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8633 eval "$ac_cv_use_combobox"
8634 if test "$no_cache" != 1; then
8635 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8638 if test "$wxUSE_COMBOBOX" = yes; then
8639 echo "$as_me:$LINENO: result: yes" >&5
8640 echo "${ECHO_T}yes" >&6
8642 echo "$as_me:$LINENO: result: no" >&5
8643 echo "${ECHO_T}no" >&6
8648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8649 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8651 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8652 if test "${enable_comboctrl+set}" = set; then
8653 enableval="$enable_comboctrl"
8655 if test "$enableval" = yes; then
8656 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8658 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8663 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8664 if test "x$LINE" != x ; then
8665 eval "DEFAULT_$LINE"
8670 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8674 eval "$ac_cv_use_comboctrl"
8675 if test "$no_cache" != 1; then
8676 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8679 if test "$wxUSE_COMBOCTRL" = yes; then
8680 echo "$as_me:$LINENO: result: yes" >&5
8681 echo "${ECHO_T}yes" >&6
8683 echo "$as_me:$LINENO: result: no" >&5
8684 echo "${ECHO_T}no" >&6
8689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8690 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8692 # Check whether --enable-datepick or --disable-datepick was given.
8693 if test "${enable_datepick+set}" = set; then
8694 enableval="$enable_datepick"
8696 if test "$enableval" = yes; then
8697 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8699 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8704 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8705 if test "x$LINE" != x ; then
8706 eval "DEFAULT_$LINE"
8711 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8715 eval "$ac_cv_use_datepick"
8716 if test "$no_cache" != 1; then
8717 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8720 if test "$wxUSE_DATEPICKCTRL" = yes; then
8721 echo "$as_me:$LINENO: result: yes" >&5
8722 echo "${ECHO_T}yes" >&6
8724 echo "$as_me:$LINENO: result: no" >&5
8725 echo "${ECHO_T}no" >&6
8730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8731 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8733 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8734 if test "${enable_dirpicker+set}" = set; then
8735 enableval="$enable_dirpicker"
8737 if test "$enableval" = yes; then
8738 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8740 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8745 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8746 if test "x$LINE" != x ; then
8747 eval "DEFAULT_$LINE"
8752 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8756 eval "$ac_cv_use_dirpicker"
8757 if test "$no_cache" != 1; then
8758 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8761 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8762 echo "$as_me:$LINENO: result: yes" >&5
8763 echo "${ECHO_T}yes" >&6
8765 echo "$as_me:$LINENO: result: no" >&5
8766 echo "${ECHO_T}no" >&6
8771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8772 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8774 # Check whether --enable-display or --disable-display was given.
8775 if test "${enable_display+set}" = set; then
8776 enableval="$enable_display"
8778 if test "$enableval" = yes; then
8779 ac_cv_use_display='wxUSE_DISPLAY=yes'
8781 ac_cv_use_display='wxUSE_DISPLAY=no'
8786 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8787 if test "x$LINE" != x ; then
8788 eval "DEFAULT_$LINE"
8793 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8797 eval "$ac_cv_use_display"
8798 if test "$no_cache" != 1; then
8799 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8802 if test "$wxUSE_DISPLAY" = yes; then
8803 echo "$as_me:$LINENO: result: yes" >&5
8804 echo "${ECHO_T}yes" >&6
8806 echo "$as_me:$LINENO: result: no" >&5
8807 echo "${ECHO_T}no" >&6
8812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8813 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8815 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8816 if test "${enable_detect_sm+set}" = set; then
8817 enableval="$enable_detect_sm"
8819 if test "$enableval" = yes; then
8820 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
8822 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
8827 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8828 if test "x$LINE" != x ; then
8829 eval "DEFAULT_$LINE"
8834 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8838 eval "$ac_cv_use_detect_sm"
8839 if test "$no_cache" != 1; then
8840 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8843 if test "$wxUSE_DETECT_SM" = yes; then
8844 echo "$as_me:$LINENO: result: yes" >&5
8845 echo "${ECHO_T}yes" >&6
8847 echo "$as_me:$LINENO: result: no" >&5
8848 echo "${ECHO_T}no" >&6
8853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8854 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8856 # Check whether --enable-filepicker or --disable-filepicker was given.
8857 if test "${enable_filepicker+set}" = set; then
8858 enableval="$enable_filepicker"
8860 if test "$enableval" = yes; then
8861 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8863 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8868 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8869 if test "x$LINE" != x ; then
8870 eval "DEFAULT_$LINE"
8875 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8879 eval "$ac_cv_use_filepicker"
8880 if test "$no_cache" != 1; then
8881 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8884 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8885 echo "$as_me:$LINENO: result: yes" >&5
8886 echo "${ECHO_T}yes" >&6
8888 echo "$as_me:$LINENO: result: no" >&5
8889 echo "${ECHO_T}no" >&6
8894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8895 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8897 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8898 if test "${enable_fontpicker+set}" = set; then
8899 enableval="$enable_fontpicker"
8901 if test "$enableval" = yes; then
8902 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8904 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8909 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8910 if test "x$LINE" != x ; then
8911 eval "DEFAULT_$LINE"
8916 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8920 eval "$ac_cv_use_fontpicker"
8921 if test "$no_cache" != 1; then
8922 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8925 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8926 echo "$as_me:$LINENO: result: yes" >&5
8927 echo "${ECHO_T}yes" >&6
8929 echo "$as_me:$LINENO: result: no" >&5
8930 echo "${ECHO_T}no" >&6
8935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8936 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8938 # Check whether --enable-gauge or --disable-gauge was given.
8939 if test "${enable_gauge+set}" = set; then
8940 enableval="$enable_gauge"
8942 if test "$enableval" = yes; then
8943 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8945 ac_cv_use_gauge='wxUSE_GAUGE=no'
8950 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8951 if test "x$LINE" != x ; then
8952 eval "DEFAULT_$LINE"
8957 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8961 eval "$ac_cv_use_gauge"
8962 if test "$no_cache" != 1; then
8963 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8966 if test "$wxUSE_GAUGE" = yes; then
8967 echo "$as_me:$LINENO: result: yes" >&5
8968 echo "${ECHO_T}yes" >&6
8970 echo "$as_me:$LINENO: result: no" >&5
8971 echo "${ECHO_T}no" >&6
8976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8977 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8979 # Check whether --enable-grid or --disable-grid was given.
8980 if test "${enable_grid+set}" = set; then
8981 enableval="$enable_grid"
8983 if test "$enableval" = yes; then
8984 ac_cv_use_grid='wxUSE_GRID=yes'
8986 ac_cv_use_grid='wxUSE_GRID=no'
8991 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8992 if test "x$LINE" != x ; then
8993 eval "DEFAULT_$LINE"
8998 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9002 eval "$ac_cv_use_grid"
9003 if test "$no_cache" != 1; then
9004 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9007 if test "$wxUSE_GRID" = yes; then
9008 echo "$as_me:$LINENO: result: yes" >&5
9009 echo "${ECHO_T}yes" >&6
9011 echo "$as_me:$LINENO: result: no" >&5
9012 echo "${ECHO_T}no" >&6
9017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9018 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
9020 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
9021 if test "${enable_dataviewctrl+set}" = set; then
9022 enableval="$enable_dataviewctrl"
9024 if test "$enableval" = yes; then
9025 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9027 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9032 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9033 if test "x$LINE" != x ; then
9034 eval "DEFAULT_$LINE"
9039 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9043 eval "$ac_cv_use_dataviewctrl"
9044 if test "$no_cache" != 1; then
9045 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9048 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9049 echo "$as_me:$LINENO: result: yes" >&5
9050 echo "${ECHO_T}yes" >&6
9052 echo "$as_me:$LINENO: result: no" >&5
9053 echo "${ECHO_T}no" >&6
9058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9059 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9061 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9062 if test "${enable_hyperlink+set}" = set; then
9063 enableval="$enable_hyperlink"
9065 if test "$enableval" = yes; then
9066 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9068 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9073 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9074 if test "x$LINE" != x ; then
9075 eval "DEFAULT_$LINE"
9080 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9084 eval "$ac_cv_use_hyperlink"
9085 if test "$no_cache" != 1; then
9086 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9089 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9090 echo "$as_me:$LINENO: result: yes" >&5
9091 echo "${ECHO_T}yes" >&6
9093 echo "$as_me:$LINENO: result: no" >&5
9094 echo "${ECHO_T}no" >&6
9099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9100 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9102 # Check whether --enable-imaglist or --disable-imaglist was given.
9103 if test "${enable_imaglist+set}" = set; then
9104 enableval="$enable_imaglist"
9106 if test "$enableval" = yes; then
9107 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9109 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9114 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9115 if test "x$LINE" != x ; then
9116 eval "DEFAULT_$LINE"
9121 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9125 eval "$ac_cv_use_imaglist"
9126 if test "$no_cache" != 1; then
9127 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9130 if test "$wxUSE_IMAGLIST" = yes; then
9131 echo "$as_me:$LINENO: result: yes" >&5
9132 echo "${ECHO_T}yes" >&6
9134 echo "$as_me:$LINENO: result: no" >&5
9135 echo "${ECHO_T}no" >&6
9140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9141 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9143 # Check whether --enable-listbook or --disable-listbook was given.
9144 if test "${enable_listbook+set}" = set; then
9145 enableval="$enable_listbook"
9147 if test "$enableval" = yes; then
9148 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9150 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9155 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9156 if test "x$LINE" != x ; then
9157 eval "DEFAULT_$LINE"
9162 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9166 eval "$ac_cv_use_listbook"
9167 if test "$no_cache" != 1; then
9168 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9171 if test "$wxUSE_LISTBOOK" = yes; then
9172 echo "$as_me:$LINENO: result: yes" >&5
9173 echo "${ECHO_T}yes" >&6
9175 echo "$as_me:$LINENO: result: no" >&5
9176 echo "${ECHO_T}no" >&6
9181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9182 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9184 # Check whether --enable-listbox or --disable-listbox was given.
9185 if test "${enable_listbox+set}" = set; then
9186 enableval="$enable_listbox"
9188 if test "$enableval" = yes; then
9189 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9191 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9196 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9197 if test "x$LINE" != x ; then
9198 eval "DEFAULT_$LINE"
9203 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9207 eval "$ac_cv_use_listbox"
9208 if test "$no_cache" != 1; then
9209 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9212 if test "$wxUSE_LISTBOX" = yes; then
9213 echo "$as_me:$LINENO: result: yes" >&5
9214 echo "${ECHO_T}yes" >&6
9216 echo "$as_me:$LINENO: result: no" >&5
9217 echo "${ECHO_T}no" >&6
9222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9223 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9225 # Check whether --enable-listctrl or --disable-listctrl was given.
9226 if test "${enable_listctrl+set}" = set; then
9227 enableval="$enable_listctrl"
9229 if test "$enableval" = yes; then
9230 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9232 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9237 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9238 if test "x$LINE" != x ; then
9239 eval "DEFAULT_$LINE"
9244 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9248 eval "$ac_cv_use_listctrl"
9249 if test "$no_cache" != 1; then
9250 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9253 if test "$wxUSE_LISTCTRL" = yes; then
9254 echo "$as_me:$LINENO: result: yes" >&5
9255 echo "${ECHO_T}yes" >&6
9257 echo "$as_me:$LINENO: result: no" >&5
9258 echo "${ECHO_T}no" >&6
9263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9264 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9266 # Check whether --enable-notebook or --disable-notebook was given.
9267 if test "${enable_notebook+set}" = set; then
9268 enableval="$enable_notebook"
9270 if test "$enableval" = yes; then
9271 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9273 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9278 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9279 if test "x$LINE" != x ; then
9280 eval "DEFAULT_$LINE"
9285 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9289 eval "$ac_cv_use_notebook"
9290 if test "$no_cache" != 1; then
9291 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9294 if test "$wxUSE_NOTEBOOK" = yes; then
9295 echo "$as_me:$LINENO: result: yes" >&5
9296 echo "${ECHO_T}yes" >&6
9298 echo "$as_me:$LINENO: result: no" >&5
9299 echo "${ECHO_T}no" >&6
9304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9305 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9307 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9308 if test "${enable_odcombobox+set}" = set; then
9309 enableval="$enable_odcombobox"
9311 if test "$enableval" = yes; then
9312 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9314 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9319 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9320 if test "x$LINE" != x ; then
9321 eval "DEFAULT_$LINE"
9326 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9330 eval "$ac_cv_use_odcombobox"
9331 if test "$no_cache" != 1; then
9332 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9335 if test "$wxUSE_ODCOMBOBOX" = yes; then
9336 echo "$as_me:$LINENO: result: yes" >&5
9337 echo "${ECHO_T}yes" >&6
9339 echo "$as_me:$LINENO: result: no" >&5
9340 echo "${ECHO_T}no" >&6
9345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9346 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9348 # Check whether --enable-radiobox or --disable-radiobox was given.
9349 if test "${enable_radiobox+set}" = set; then
9350 enableval="$enable_radiobox"
9352 if test "$enableval" = yes; then
9353 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9355 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9360 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9361 if test "x$LINE" != x ; then
9362 eval "DEFAULT_$LINE"
9367 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9371 eval "$ac_cv_use_radiobox"
9372 if test "$no_cache" != 1; then
9373 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9376 if test "$wxUSE_RADIOBOX" = yes; then
9377 echo "$as_me:$LINENO: result: yes" >&5
9378 echo "${ECHO_T}yes" >&6
9380 echo "$as_me:$LINENO: result: no" >&5
9381 echo "${ECHO_T}no" >&6
9386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9387 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9389 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9390 if test "${enable_radiobtn+set}" = set; then
9391 enableval="$enable_radiobtn"
9393 if test "$enableval" = yes; then
9394 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9396 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9401 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9402 if test "x$LINE" != x ; then
9403 eval "DEFAULT_$LINE"
9408 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9412 eval "$ac_cv_use_radiobtn"
9413 if test "$no_cache" != 1; then
9414 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9417 if test "$wxUSE_RADIOBTN" = yes; then
9418 echo "$as_me:$LINENO: result: yes" >&5
9419 echo "${ECHO_T}yes" >&6
9421 echo "$as_me:$LINENO: result: no" >&5
9422 echo "${ECHO_T}no" >&6
9427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9428 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9430 # Check whether --enable-sash or --disable-sash was given.
9431 if test "${enable_sash+set}" = set; then
9432 enableval="$enable_sash"
9434 if test "$enableval" = yes; then
9435 ac_cv_use_sash='wxUSE_SASH=yes'
9437 ac_cv_use_sash='wxUSE_SASH=no'
9442 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9443 if test "x$LINE" != x ; then
9444 eval "DEFAULT_$LINE"
9449 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9453 eval "$ac_cv_use_sash"
9454 if test "$no_cache" != 1; then
9455 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9458 if test "$wxUSE_SASH" = yes; then
9459 echo "$as_me:$LINENO: result: yes" >&5
9460 echo "${ECHO_T}yes" >&6
9462 echo "$as_me:$LINENO: result: no" >&5
9463 echo "${ECHO_T}no" >&6
9468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9469 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9471 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9472 if test "${enable_scrollbar+set}" = set; then
9473 enableval="$enable_scrollbar"
9475 if test "$enableval" = yes; then
9476 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9478 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9483 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9484 if test "x$LINE" != x ; then
9485 eval "DEFAULT_$LINE"
9490 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9494 eval "$ac_cv_use_scrollbar"
9495 if test "$no_cache" != 1; then
9496 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9499 if test "$wxUSE_SCROLLBAR" = yes; then
9500 echo "$as_me:$LINENO: result: yes" >&5
9501 echo "${ECHO_T}yes" >&6
9503 echo "$as_me:$LINENO: result: no" >&5
9504 echo "${ECHO_T}no" >&6
9509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9510 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9512 # Check whether --enable-slider or --disable-slider was given.
9513 if test "${enable_slider+set}" = set; then
9514 enableval="$enable_slider"
9516 if test "$enableval" = yes; then
9517 ac_cv_use_slider='wxUSE_SLIDER=yes'
9519 ac_cv_use_slider='wxUSE_SLIDER=no'
9524 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9525 if test "x$LINE" != x ; then
9526 eval "DEFAULT_$LINE"
9531 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9535 eval "$ac_cv_use_slider"
9536 if test "$no_cache" != 1; then
9537 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9540 if test "$wxUSE_SLIDER" = yes; then
9541 echo "$as_me:$LINENO: result: yes" >&5
9542 echo "${ECHO_T}yes" >&6
9544 echo "$as_me:$LINENO: result: no" >&5
9545 echo "${ECHO_T}no" >&6
9550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9551 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9553 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9554 if test "${enable_spinbtn+set}" = set; then
9555 enableval="$enable_spinbtn"
9557 if test "$enableval" = yes; then
9558 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9560 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9565 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9566 if test "x$LINE" != x ; then
9567 eval "DEFAULT_$LINE"
9572 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9576 eval "$ac_cv_use_spinbtn"
9577 if test "$no_cache" != 1; then
9578 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9581 if test "$wxUSE_SPINBTN" = yes; then
9582 echo "$as_me:$LINENO: result: yes" >&5
9583 echo "${ECHO_T}yes" >&6
9585 echo "$as_me:$LINENO: result: no" >&5
9586 echo "${ECHO_T}no" >&6
9591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9592 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9594 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9595 if test "${enable_spinctrl+set}" = set; then
9596 enableval="$enable_spinctrl"
9598 if test "$enableval" = yes; then
9599 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9601 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9606 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9607 if test "x$LINE" != x ; then
9608 eval "DEFAULT_$LINE"
9613 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9617 eval "$ac_cv_use_spinctrl"
9618 if test "$no_cache" != 1; then
9619 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9622 if test "$wxUSE_SPINCTRL" = yes; then
9623 echo "$as_me:$LINENO: result: yes" >&5
9624 echo "${ECHO_T}yes" >&6
9626 echo "$as_me:$LINENO: result: no" >&5
9627 echo "${ECHO_T}no" >&6
9632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9633 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9635 # Check whether --enable-splitter or --disable-splitter was given.
9636 if test "${enable_splitter+set}" = set; then
9637 enableval="$enable_splitter"
9639 if test "$enableval" = yes; then
9640 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9642 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9647 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9648 if test "x$LINE" != x ; then
9649 eval "DEFAULT_$LINE"
9654 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9658 eval "$ac_cv_use_splitter"
9659 if test "$no_cache" != 1; then
9660 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9663 if test "$wxUSE_SPLITTER" = yes; then
9664 echo "$as_me:$LINENO: result: yes" >&5
9665 echo "${ECHO_T}yes" >&6
9667 echo "$as_me:$LINENO: result: no" >&5
9668 echo "${ECHO_T}no" >&6
9673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9674 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9676 # Check whether --enable-statbmp or --disable-statbmp was given.
9677 if test "${enable_statbmp+set}" = set; then
9678 enableval="$enable_statbmp"
9680 if test "$enableval" = yes; then
9681 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9683 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9688 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9689 if test "x$LINE" != x ; then
9690 eval "DEFAULT_$LINE"
9695 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9699 eval "$ac_cv_use_statbmp"
9700 if test "$no_cache" != 1; then
9701 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9704 if test "$wxUSE_STATBMP" = yes; then
9705 echo "$as_me:$LINENO: result: yes" >&5
9706 echo "${ECHO_T}yes" >&6
9708 echo "$as_me:$LINENO: result: no" >&5
9709 echo "${ECHO_T}no" >&6
9714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9715 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9717 # Check whether --enable-statbox or --disable-statbox was given.
9718 if test "${enable_statbox+set}" = set; then
9719 enableval="$enable_statbox"
9721 if test "$enableval" = yes; then
9722 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9724 ac_cv_use_statbox='wxUSE_STATBOX=no'
9729 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9730 if test "x$LINE" != x ; then
9731 eval "DEFAULT_$LINE"
9736 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9740 eval "$ac_cv_use_statbox"
9741 if test "$no_cache" != 1; then
9742 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9745 if test "$wxUSE_STATBOX" = yes; then
9746 echo "$as_me:$LINENO: result: yes" >&5
9747 echo "${ECHO_T}yes" >&6
9749 echo "$as_me:$LINENO: result: no" >&5
9750 echo "${ECHO_T}no" >&6
9755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9756 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9758 # Check whether --enable-statline or --disable-statline was given.
9759 if test "${enable_statline+set}" = set; then
9760 enableval="$enable_statline"
9762 if test "$enableval" = yes; then
9763 ac_cv_use_statline='wxUSE_STATLINE=yes'
9765 ac_cv_use_statline='wxUSE_STATLINE=no'
9770 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9771 if test "x$LINE" != x ; then
9772 eval "DEFAULT_$LINE"
9777 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9781 eval "$ac_cv_use_statline"
9782 if test "$no_cache" != 1; then
9783 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9786 if test "$wxUSE_STATLINE" = yes; then
9787 echo "$as_me:$LINENO: result: yes" >&5
9788 echo "${ECHO_T}yes" >&6
9790 echo "$as_me:$LINENO: result: no" >&5
9791 echo "${ECHO_T}no" >&6
9796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9797 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9799 # Check whether --enable-stattext or --disable-stattext was given.
9800 if test "${enable_stattext+set}" = set; then
9801 enableval="$enable_stattext"
9803 if test "$enableval" = yes; then
9804 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9806 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9811 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9812 if test "x$LINE" != x ; then
9813 eval "DEFAULT_$LINE"
9818 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9822 eval "$ac_cv_use_stattext"
9823 if test "$no_cache" != 1; then
9824 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9827 if test "$wxUSE_STATTEXT" = yes; then
9828 echo "$as_me:$LINENO: result: yes" >&5
9829 echo "${ECHO_T}yes" >&6
9831 echo "$as_me:$LINENO: result: no" >&5
9832 echo "${ECHO_T}no" >&6
9837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9838 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9840 # Check whether --enable-statusbar or --disable-statusbar was given.
9841 if test "${enable_statusbar+set}" = set; then
9842 enableval="$enable_statusbar"
9844 if test "$enableval" = yes; then
9845 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9847 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9852 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9853 if test "x$LINE" != x ; then
9854 eval "DEFAULT_$LINE"
9859 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9863 eval "$ac_cv_use_statusbar"
9864 if test "$no_cache" != 1; then
9865 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9868 if test "$wxUSE_STATUSBAR" = yes; then
9869 echo "$as_me:$LINENO: result: yes" >&5
9870 echo "${ECHO_T}yes" >&6
9872 echo "$as_me:$LINENO: result: no" >&5
9873 echo "${ECHO_T}no" >&6
9878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9879 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9881 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9882 if test "${enable_tabdialog+set}" = set; then
9883 enableval="$enable_tabdialog"
9885 if test "$enableval" = yes; then
9886 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9888 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9893 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9894 if test "x$LINE" != x ; then
9895 eval "DEFAULT_$LINE"
9900 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9904 eval "$ac_cv_use_tabdialog"
9905 if test "$no_cache" != 1; then
9906 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9909 if test "$wxUSE_TAB_DIALOG" = yes; then
9910 echo "$as_me:$LINENO: result: yes" >&5
9911 echo "${ECHO_T}yes" >&6
9913 echo "$as_me:$LINENO: result: no" >&5
9914 echo "${ECHO_T}no" >&6
9919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9920 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9922 # Check whether --enable-textctrl or --disable-textctrl was given.
9923 if test "${enable_textctrl+set}" = set; then
9924 enableval="$enable_textctrl"
9926 if test "$enableval" = yes; then
9927 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9929 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9934 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9935 if test "x$LINE" != x ; then
9936 eval "DEFAULT_$LINE"
9941 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9945 eval "$ac_cv_use_textctrl"
9946 if test "$no_cache" != 1; then
9947 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9950 if test "$wxUSE_TEXTCTRL" = yes; then
9951 echo "$as_me:$LINENO: result: yes" >&5
9952 echo "${ECHO_T}yes" >&6
9954 echo "$as_me:$LINENO: result: no" >&5
9955 echo "${ECHO_T}no" >&6
9960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9961 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9963 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9964 if test "${enable_togglebtn+set}" = set; then
9965 enableval="$enable_togglebtn"
9967 if test "$enableval" = yes; then
9968 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9970 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9975 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9976 if test "x$LINE" != x ; then
9977 eval "DEFAULT_$LINE"
9982 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9986 eval "$ac_cv_use_togglebtn"
9987 if test "$no_cache" != 1; then
9988 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9991 if test "$wxUSE_TOGGLEBTN" = yes; then
9992 echo "$as_me:$LINENO: result: yes" >&5
9993 echo "${ECHO_T}yes" >&6
9995 echo "$as_me:$LINENO: result: no" >&5
9996 echo "${ECHO_T}no" >&6
10001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10002 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
10004 # Check whether --enable-toolbar or --disable-toolbar was given.
10005 if test "${enable_toolbar+set}" = set; then
10006 enableval="$enable_toolbar"
10008 if test "$enableval" = yes; then
10009 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10011 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10016 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10017 if test "x$LINE" != x ; then
10018 eval "DEFAULT_$LINE"
10023 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10027 eval "$ac_cv_use_toolbar"
10028 if test "$no_cache" != 1; then
10029 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10032 if test "$wxUSE_TOOLBAR" = yes; then
10033 echo "$as_me:$LINENO: result: yes" >&5
10034 echo "${ECHO_T}yes" >&6
10036 echo "$as_me:$LINENO: result: no" >&5
10037 echo "${ECHO_T}no" >&6
10042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10043 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
10045 # Check whether --enable-tbarnative or --disable-tbarnative was given.
10046 if test "${enable_tbarnative+set}" = set; then
10047 enableval="$enable_tbarnative"
10049 if test "$enableval" = yes; then
10050 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10052 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10057 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10058 if test "x$LINE" != x ; then
10059 eval "DEFAULT_$LINE"
10064 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10068 eval "$ac_cv_use_tbarnative"
10069 if test "$no_cache" != 1; then
10070 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10073 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10074 echo "$as_me:$LINENO: result: yes" >&5
10075 echo "${ECHO_T}yes" >&6
10077 echo "$as_me:$LINENO: result: no" >&5
10078 echo "${ECHO_T}no" >&6
10083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10084 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10086 # Check whether --enable-treebook or --disable-treebook was given.
10087 if test "${enable_treebook+set}" = set; then
10088 enableval="$enable_treebook"
10090 if test "$enableval" = yes; then
10091 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10093 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10098 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10099 if test "x$LINE" != x ; then
10100 eval "DEFAULT_$LINE"
10105 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10109 eval "$ac_cv_use_treebook"
10110 if test "$no_cache" != 1; then
10111 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10114 if test "$wxUSE_TREEBOOK" = yes; then
10115 echo "$as_me:$LINENO: result: yes" >&5
10116 echo "${ECHO_T}yes" >&6
10118 echo "$as_me:$LINENO: result: no" >&5
10119 echo "${ECHO_T}no" >&6
10124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10125 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10127 # Check whether --enable-toolbook or --disable-toolbook was given.
10128 if test "${enable_toolbook+set}" = set; then
10129 enableval="$enable_toolbook"
10131 if test "$enableval" = yes; then
10132 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10134 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10139 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10140 if test "x$LINE" != x ; then
10141 eval "DEFAULT_$LINE"
10146 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10150 eval "$ac_cv_use_toolbook"
10151 if test "$no_cache" != 1; then
10152 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10155 if test "$wxUSE_TOOLBOOK" = yes; then
10156 echo "$as_me:$LINENO: result: yes" >&5
10157 echo "${ECHO_T}yes" >&6
10159 echo "$as_me:$LINENO: result: no" >&5
10160 echo "${ECHO_T}no" >&6
10165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10166 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10168 # Check whether --enable-treectrl or --disable-treectrl was given.
10169 if test "${enable_treectrl+set}" = set; then
10170 enableval="$enable_treectrl"
10172 if test "$enableval" = yes; then
10173 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10175 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10180 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10181 if test "x$LINE" != x ; then
10182 eval "DEFAULT_$LINE"
10187 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10191 eval "$ac_cv_use_treectrl"
10192 if test "$no_cache" != 1; then
10193 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10196 if test "$wxUSE_TREECTRL" = yes; then
10197 echo "$as_me:$LINENO: result: yes" >&5
10198 echo "${ECHO_T}yes" >&6
10200 echo "$as_me:$LINENO: result: no" >&5
10201 echo "${ECHO_T}no" >&6
10206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10207 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10209 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10210 if test "${enable_tipwindow+set}" = set; then
10211 enableval="$enable_tipwindow"
10213 if test "$enableval" = yes; then
10214 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10216 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10221 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10222 if test "x$LINE" != x ; then
10223 eval "DEFAULT_$LINE"
10228 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10232 eval "$ac_cv_use_tipwindow"
10233 if test "$no_cache" != 1; then
10234 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10237 if test "$wxUSE_TIPWINDOW" = yes; then
10238 echo "$as_me:$LINENO: result: yes" >&5
10239 echo "${ECHO_T}yes" >&6
10241 echo "$as_me:$LINENO: result: no" >&5
10242 echo "${ECHO_T}no" >&6
10247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10248 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10250 # Check whether --enable-popupwin or --disable-popupwin was given.
10251 if test "${enable_popupwin+set}" = set; then
10252 enableval="$enable_popupwin"
10254 if test "$enableval" = yes; then
10255 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10257 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10262 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10263 if test "x$LINE" != x ; then
10264 eval "DEFAULT_$LINE"
10269 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10273 eval "$ac_cv_use_popupwin"
10274 if test "$no_cache" != 1; then
10275 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10278 if test "$wxUSE_POPUPWIN" = yes; then
10279 echo "$as_me:$LINENO: result: yes" >&5
10280 echo "${ECHO_T}yes" >&6
10282 echo "$as_me:$LINENO: result: no" >&5
10283 echo "${ECHO_T}no" >&6
10290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10291 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10293 # Check whether --enable-commondlg or --disable-commondlg was given.
10294 if test "${enable_commondlg+set}" = set; then
10295 enableval="$enable_commondlg"
10297 if test "$enableval" = yes; then
10298 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10300 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10305 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10306 if test "x$LINE" != x ; then
10307 eval "DEFAULT_$LINE"
10312 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10316 eval "$ac_cv_use_commondlg"
10317 if test "$no_cache" != 1; then
10318 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10321 if test "$wxUSE_COMMONDLGS" = yes; then
10322 echo "$as_me:$LINENO: result: yes" >&5
10323 echo "${ECHO_T}yes" >&6
10325 echo "$as_me:$LINENO: result: no" >&5
10326 echo "${ECHO_T}no" >&6
10331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10332 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10334 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10335 if test "${enable_aboutdlg+set}" = set; then
10336 enableval="$enable_aboutdlg"
10338 if test "$enableval" = yes; then
10339 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10341 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10346 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10347 if test "x$LINE" != x ; then
10348 eval "DEFAULT_$LINE"
10353 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10357 eval "$ac_cv_use_aboutdlg"
10358 if test "$no_cache" != 1; then
10359 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10362 if test "$wxUSE_ABOUTDLG" = yes; then
10363 echo "$as_me:$LINENO: result: yes" >&5
10364 echo "${ECHO_T}yes" >&6
10366 echo "$as_me:$LINENO: result: no" >&5
10367 echo "${ECHO_T}no" >&6
10372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10373 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10375 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10376 if test "${enable_choicedlg+set}" = set; then
10377 enableval="$enable_choicedlg"
10379 if test "$enableval" = yes; then
10380 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10382 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10387 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10388 if test "x$LINE" != x ; then
10389 eval "DEFAULT_$LINE"
10394 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10398 eval "$ac_cv_use_choicedlg"
10399 if test "$no_cache" != 1; then
10400 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10403 if test "$wxUSE_CHOICEDLG" = yes; then
10404 echo "$as_me:$LINENO: result: yes" >&5
10405 echo "${ECHO_T}yes" >&6
10407 echo "$as_me:$LINENO: result: no" >&5
10408 echo "${ECHO_T}no" >&6
10413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10414 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10416 # Check whether --enable-coldlg or --disable-coldlg was given.
10417 if test "${enable_coldlg+set}" = set; then
10418 enableval="$enable_coldlg"
10420 if test "$enableval" = yes; then
10421 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10423 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10428 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10429 if test "x$LINE" != x ; then
10430 eval "DEFAULT_$LINE"
10435 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10439 eval "$ac_cv_use_coldlg"
10440 if test "$no_cache" != 1; then
10441 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10444 if test "$wxUSE_COLOURDLG" = yes; then
10445 echo "$as_me:$LINENO: result: yes" >&5
10446 echo "${ECHO_T}yes" >&6
10448 echo "$as_me:$LINENO: result: no" >&5
10449 echo "${ECHO_T}no" >&6
10454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10455 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10457 # Check whether --enable-filedlg or --disable-filedlg was given.
10458 if test "${enable_filedlg+set}" = set; then
10459 enableval="$enable_filedlg"
10461 if test "$enableval" = yes; then
10462 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10464 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10469 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10470 if test "x$LINE" != x ; then
10471 eval "DEFAULT_$LINE"
10476 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10480 eval "$ac_cv_use_filedlg"
10481 if test "$no_cache" != 1; then
10482 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10485 if test "$wxUSE_FILEDLG" = yes; then
10486 echo "$as_me:$LINENO: result: yes" >&5
10487 echo "${ECHO_T}yes" >&6
10489 echo "$as_me:$LINENO: result: no" >&5
10490 echo "${ECHO_T}no" >&6
10495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10496 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10498 # Check whether --enable-finddlg or --disable-finddlg was given.
10499 if test "${enable_finddlg+set}" = set; then
10500 enableval="$enable_finddlg"
10502 if test "$enableval" = yes; then
10503 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10505 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10510 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10511 if test "x$LINE" != x ; then
10512 eval "DEFAULT_$LINE"
10517 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10521 eval "$ac_cv_use_finddlg"
10522 if test "$no_cache" != 1; then
10523 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10526 if test "$wxUSE_FINDREPLDLG" = yes; then
10527 echo "$as_me:$LINENO: result: yes" >&5
10528 echo "${ECHO_T}yes" >&6
10530 echo "$as_me:$LINENO: result: no" >&5
10531 echo "${ECHO_T}no" >&6
10536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10537 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10539 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10540 if test "${enable_fontdlg+set}" = set; then
10541 enableval="$enable_fontdlg"
10543 if test "$enableval" = yes; then
10544 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10546 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10551 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10552 if test "x$LINE" != x ; then
10553 eval "DEFAULT_$LINE"
10558 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10562 eval "$ac_cv_use_fontdlg"
10563 if test "$no_cache" != 1; then
10564 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10567 if test "$wxUSE_FONTDLG" = yes; then
10568 echo "$as_me:$LINENO: result: yes" >&5
10569 echo "${ECHO_T}yes" >&6
10571 echo "$as_me:$LINENO: result: no" >&5
10572 echo "${ECHO_T}no" >&6
10577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10578 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10580 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10581 if test "${enable_dirdlg+set}" = set; then
10582 enableval="$enable_dirdlg"
10584 if test "$enableval" = yes; then
10585 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10587 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10592 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10593 if test "x$LINE" != x ; then
10594 eval "DEFAULT_$LINE"
10599 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10603 eval "$ac_cv_use_dirdlg"
10604 if test "$no_cache" != 1; then
10605 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10608 if test "$wxUSE_DIRDLG" = yes; then
10609 echo "$as_me:$LINENO: result: yes" >&5
10610 echo "${ECHO_T}yes" >&6
10612 echo "$as_me:$LINENO: result: no" >&5
10613 echo "${ECHO_T}no" >&6
10618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10619 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10621 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10622 if test "${enable_msgdlg+set}" = set; then
10623 enableval="$enable_msgdlg"
10625 if test "$enableval" = yes; then
10626 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10628 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10633 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10634 if test "x$LINE" != x ; then
10635 eval "DEFAULT_$LINE"
10640 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10644 eval "$ac_cv_use_msgdlg"
10645 if test "$no_cache" != 1; then
10646 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10649 if test "$wxUSE_MSGDLG" = yes; then
10650 echo "$as_me:$LINENO: result: yes" >&5
10651 echo "${ECHO_T}yes" >&6
10653 echo "$as_me:$LINENO: result: no" >&5
10654 echo "${ECHO_T}no" >&6
10659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10660 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10662 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10663 if test "${enable_numberdlg+set}" = set; then
10664 enableval="$enable_numberdlg"
10666 if test "$enableval" = yes; then
10667 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10669 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10674 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10675 if test "x$LINE" != x ; then
10676 eval "DEFAULT_$LINE"
10681 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10685 eval "$ac_cv_use_numberdlg"
10686 if test "$no_cache" != 1; then
10687 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10690 if test "$wxUSE_NUMBERDLG" = yes; then
10691 echo "$as_me:$LINENO: result: yes" >&5
10692 echo "${ECHO_T}yes" >&6
10694 echo "$as_me:$LINENO: result: no" >&5
10695 echo "${ECHO_T}no" >&6
10700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10701 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10703 # Check whether --enable-splash or --disable-splash was given.
10704 if test "${enable_splash+set}" = set; then
10705 enableval="$enable_splash"
10707 if test "$enableval" = yes; then
10708 ac_cv_use_splash='wxUSE_SPLASH=yes'
10710 ac_cv_use_splash='wxUSE_SPLASH=no'
10715 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10716 if test "x$LINE" != x ; then
10717 eval "DEFAULT_$LINE"
10722 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10726 eval "$ac_cv_use_splash"
10727 if test "$no_cache" != 1; then
10728 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10731 if test "$wxUSE_SPLASH" = yes; then
10732 echo "$as_me:$LINENO: result: yes" >&5
10733 echo "${ECHO_T}yes" >&6
10735 echo "$as_me:$LINENO: result: no" >&5
10736 echo "${ECHO_T}no" >&6
10741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10742 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10744 # Check whether --enable-textdlg or --disable-textdlg was given.
10745 if test "${enable_textdlg+set}" = set; then
10746 enableval="$enable_textdlg"
10748 if test "$enableval" = yes; then
10749 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10751 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10756 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10757 if test "x$LINE" != x ; then
10758 eval "DEFAULT_$LINE"
10763 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10767 eval "$ac_cv_use_textdlg"
10768 if test "$no_cache" != 1; then
10769 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10772 if test "$wxUSE_TEXTDLG" = yes; then
10773 echo "$as_me:$LINENO: result: yes" >&5
10774 echo "${ECHO_T}yes" >&6
10776 echo "$as_me:$LINENO: result: no" >&5
10777 echo "${ECHO_T}no" >&6
10782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10783 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10785 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10786 if test "${enable_tipdlg+set}" = set; then
10787 enableval="$enable_tipdlg"
10789 if test "$enableval" = yes; then
10790 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10792 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10797 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10798 if test "x$LINE" != x ; then
10799 eval "DEFAULT_$LINE"
10804 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10808 eval "$ac_cv_use_tipdlg"
10809 if test "$no_cache" != 1; then
10810 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10813 if test "$wxUSE_STARTUP_TIPS" = yes; then
10814 echo "$as_me:$LINENO: result: yes" >&5
10815 echo "${ECHO_T}yes" >&6
10817 echo "$as_me:$LINENO: result: no" >&5
10818 echo "${ECHO_T}no" >&6
10823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10824 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10826 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10827 if test "${enable_progressdlg+set}" = set; then
10828 enableval="$enable_progressdlg"
10830 if test "$enableval" = yes; then
10831 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10833 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10838 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10839 if test "x$LINE" != x ; then
10840 eval "DEFAULT_$LINE"
10845 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10849 eval "$ac_cv_use_progressdlg"
10850 if test "$no_cache" != 1; then
10851 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10854 if test "$wxUSE_PROGRESSDLG" = yes; then
10855 echo "$as_me:$LINENO: result: yes" >&5
10856 echo "${ECHO_T}yes" >&6
10858 echo "$as_me:$LINENO: result: no" >&5
10859 echo "${ECHO_T}no" >&6
10864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10865 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10867 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10868 if test "${enable_wizarddlg+set}" = set; then
10869 enableval="$enable_wizarddlg"
10871 if test "$enableval" = yes; then
10872 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10874 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10879 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10880 if test "x$LINE" != x ; then
10881 eval "DEFAULT_$LINE"
10886 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10890 eval "$ac_cv_use_wizarddlg"
10891 if test "$no_cache" != 1; then
10892 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10895 if test "$wxUSE_WIZARDDLG" = yes; then
10896 echo "$as_me:$LINENO: result: yes" >&5
10897 echo "${ECHO_T}yes" >&6
10899 echo "$as_me:$LINENO: result: no" >&5
10900 echo "${ECHO_T}no" >&6
10907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10908 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10910 # Check whether --enable-menus or --disable-menus was given.
10911 if test "${enable_menus+set}" = set; then
10912 enableval="$enable_menus"
10914 if test "$enableval" = yes; then
10915 ac_cv_use_menus='wxUSE_MENUS=yes'
10917 ac_cv_use_menus='wxUSE_MENUS=no'
10922 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10923 if test "x$LINE" != x ; then
10924 eval "DEFAULT_$LINE"
10929 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10933 eval "$ac_cv_use_menus"
10934 if test "$no_cache" != 1; then
10935 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10938 if test "$wxUSE_MENUS" = yes; then
10939 echo "$as_me:$LINENO: result: yes" >&5
10940 echo "${ECHO_T}yes" >&6
10942 echo "$as_me:$LINENO: result: no" >&5
10943 echo "${ECHO_T}no" >&6
10948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10949 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10951 # Check whether --enable-miniframe or --disable-miniframe was given.
10952 if test "${enable_miniframe+set}" = set; then
10953 enableval="$enable_miniframe"
10955 if test "$enableval" = yes; then
10956 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10958 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10963 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10964 if test "x$LINE" != x ; then
10965 eval "DEFAULT_$LINE"
10970 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10974 eval "$ac_cv_use_miniframe"
10975 if test "$no_cache" != 1; then
10976 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10979 if test "$wxUSE_MINIFRAME" = yes; then
10980 echo "$as_me:$LINENO: result: yes" >&5
10981 echo "${ECHO_T}yes" >&6
10983 echo "$as_me:$LINENO: result: no" >&5
10984 echo "${ECHO_T}no" >&6
10989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10990 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10992 # Check whether --enable-tooltips or --disable-tooltips was given.
10993 if test "${enable_tooltips+set}" = set; then
10994 enableval="$enable_tooltips"
10996 if test "$enableval" = yes; then
10997 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10999 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11004 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11005 if test "x$LINE" != x ; then
11006 eval "DEFAULT_$LINE"
11011 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11015 eval "$ac_cv_use_tooltips"
11016 if test "$no_cache" != 1; then
11017 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11020 if test "$wxUSE_TOOLTIPS" = yes; then
11021 echo "$as_me:$LINENO: result: yes" >&5
11022 echo "${ECHO_T}yes" >&6
11024 echo "$as_me:$LINENO: result: no" >&5
11025 echo "${ECHO_T}no" >&6
11030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11031 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
11033 # Check whether --enable-splines or --disable-splines was given.
11034 if test "${enable_splines+set}" = set; then
11035 enableval="$enable_splines"
11037 if test "$enableval" = yes; then
11038 ac_cv_use_splines='wxUSE_SPLINES=yes'
11040 ac_cv_use_splines='wxUSE_SPLINES=no'
11045 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11046 if test "x$LINE" != x ; then
11047 eval "DEFAULT_$LINE"
11052 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11056 eval "$ac_cv_use_splines"
11057 if test "$no_cache" != 1; then
11058 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11061 if test "$wxUSE_SPLINES" = yes; then
11062 echo "$as_me:$LINENO: result: yes" >&5
11063 echo "${ECHO_T}yes" >&6
11065 echo "$as_me:$LINENO: result: no" >&5
11066 echo "${ECHO_T}no" >&6
11071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11072 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11074 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11075 if test "${enable_mousewheel+set}" = set; then
11076 enableval="$enable_mousewheel"
11078 if test "$enableval" = yes; then
11079 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11081 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11086 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11087 if test "x$LINE" != x ; then
11088 eval "DEFAULT_$LINE"
11093 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11097 eval "$ac_cv_use_mousewheel"
11098 if test "$no_cache" != 1; then
11099 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11102 if test "$wxUSE_MOUSEWHEEL" = yes; then
11103 echo "$as_me:$LINENO: result: yes" >&5
11104 echo "${ECHO_T}yes" >&6
11106 echo "$as_me:$LINENO: result: no" >&5
11107 echo "${ECHO_T}no" >&6
11112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11113 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11115 # Check whether --enable-validators or --disable-validators was given.
11116 if test "${enable_validators+set}" = set; then
11117 enableval="$enable_validators"
11119 if test "$enableval" = yes; then
11120 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11122 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11127 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11128 if test "x$LINE" != x ; then
11129 eval "DEFAULT_$LINE"
11134 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11138 eval "$ac_cv_use_validators"
11139 if test "$no_cache" != 1; then
11140 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11143 if test "$wxUSE_VALIDATORS" = yes; then
11144 echo "$as_me:$LINENO: result: yes" >&5
11145 echo "${ECHO_T}yes" >&6
11147 echo "$as_me:$LINENO: result: no" >&5
11148 echo "${ECHO_T}no" >&6
11153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11154 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11156 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11157 if test "${enable_busyinfo+set}" = set; then
11158 enableval="$enable_busyinfo"
11160 if test "$enableval" = yes; then
11161 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11163 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11168 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11169 if test "x$LINE" != x ; then
11170 eval "DEFAULT_$LINE"
11175 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11179 eval "$ac_cv_use_busyinfo"
11180 if test "$no_cache" != 1; then
11181 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11184 if test "$wxUSE_BUSYINFO" = yes; then
11185 echo "$as_me:$LINENO: result: yes" >&5
11186 echo "${ECHO_T}yes" >&6
11188 echo "$as_me:$LINENO: result: no" >&5
11189 echo "${ECHO_T}no" >&6
11194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11195 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11197 # Check whether --enable-joystick or --disable-joystick was given.
11198 if test "${enable_joystick+set}" = set; then
11199 enableval="$enable_joystick"
11201 if test "$enableval" = yes; then
11202 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11204 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11209 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11210 if test "x$LINE" != x ; then
11211 eval "DEFAULT_$LINE"
11216 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11220 eval "$ac_cv_use_joystick"
11221 if test "$no_cache" != 1; then
11222 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11225 if test "$wxUSE_JOYSTICK" = yes; then
11226 echo "$as_me:$LINENO: result: yes" >&5
11227 echo "${ECHO_T}yes" >&6
11229 echo "$as_me:$LINENO: result: no" >&5
11230 echo "${ECHO_T}no" >&6
11235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11236 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11238 # Check whether --enable-metafile or --disable-metafile was given.
11239 if test "${enable_metafile+set}" = set; then
11240 enableval="$enable_metafile"
11242 if test "$enableval" = yes; then
11243 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11245 ac_cv_use_metafile='wxUSE_METAFILE=no'
11250 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11251 if test "x$LINE" != x ; then
11252 eval "DEFAULT_$LINE"
11257 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11261 eval "$ac_cv_use_metafile"
11262 if test "$no_cache" != 1; then
11263 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11266 if test "$wxUSE_METAFILE" = yes; then
11267 echo "$as_me:$LINENO: result: yes" >&5
11268 echo "${ECHO_T}yes" >&6
11270 echo "$as_me:$LINENO: result: no" >&5
11271 echo "${ECHO_T}no" >&6
11276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11277 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11279 # Check whether --enable-dragimage or --disable-dragimage was given.
11280 if test "${enable_dragimage+set}" = set; then
11281 enableval="$enable_dragimage"
11283 if test "$enableval" = yes; then
11284 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11286 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11291 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11292 if test "x$LINE" != x ; then
11293 eval "DEFAULT_$LINE"
11298 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11302 eval "$ac_cv_use_dragimage"
11303 if test "$no_cache" != 1; then
11304 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11307 if test "$wxUSE_DRAGIMAGE" = yes; then
11308 echo "$as_me:$LINENO: result: yes" >&5
11309 echo "${ECHO_T}yes" >&6
11311 echo "$as_me:$LINENO: result: no" >&5
11312 echo "${ECHO_T}no" >&6
11317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11318 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11320 # Check whether --enable-accessibility or --disable-accessibility was given.
11321 if test "${enable_accessibility+set}" = set; then
11322 enableval="$enable_accessibility"
11324 if test "$enableval" = yes; then
11325 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11327 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11332 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11333 if test "x$LINE" != x ; then
11334 eval "DEFAULT_$LINE"
11339 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11343 eval "$ac_cv_use_accessibility"
11344 if test "$no_cache" != 1; then
11345 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11348 if test "$wxUSE_ACCESSIBILITY" = yes; then
11349 echo "$as_me:$LINENO: result: yes" >&5
11350 echo "${ECHO_T}yes" >&6
11352 echo "$as_me:$LINENO: result: no" >&5
11353 echo "${ECHO_T}no" >&6
11357 if test "$wxUSE_MSW" = "1"; then
11360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11361 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11363 # Check whether --enable-dccache or --disable-dccache was given.
11364 if test "${enable_dccache+set}" = set; then
11365 enableval="$enable_dccache"
11367 if test "$enableval" = yes; then
11368 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11370 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11375 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11376 if test "x$LINE" != x ; then
11377 eval "DEFAULT_$LINE"
11382 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11386 eval "$ac_cv_use_dccache"
11387 if test "$no_cache" != 1; then
11388 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11391 if test "$wxUSE_DC_CACHEING" = yes; then
11392 echo "$as_me:$LINENO: result: yes" >&5
11393 echo "${ECHO_T}yes" >&6
11395 echo "$as_me:$LINENO: result: no" >&5
11396 echo "${ECHO_T}no" >&6
11404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11405 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11407 # Check whether --enable-palette or --disable-palette was given.
11408 if test "${enable_palette+set}" = set; then
11409 enableval="$enable_palette"
11411 if test "$enableval" = yes; then
11412 ac_cv_use_palette='wxUSE_PALETTE=yes'
11414 ac_cv_use_palette='wxUSE_PALETTE=no'
11419 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11420 if test "x$LINE" != x ; then
11421 eval "DEFAULT_$LINE"
11426 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11430 eval "$ac_cv_use_palette"
11431 if test "$no_cache" != 1; then
11432 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11435 if test "$wxUSE_PALETTE" = yes; then
11436 echo "$as_me:$LINENO: result: yes" >&5
11437 echo "${ECHO_T}yes" >&6
11439 echo "$as_me:$LINENO: result: no" >&5
11440 echo "${ECHO_T}no" >&6
11445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11446 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11448 # Check whether --enable-image or --disable-image was given.
11449 if test "${enable_image+set}" = set; then
11450 enableval="$enable_image"
11452 if test "$enableval" = yes; then
11453 ac_cv_use_image='wxUSE_IMAGE=yes'
11455 ac_cv_use_image='wxUSE_IMAGE=no'
11460 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11461 if test "x$LINE" != x ; then
11462 eval "DEFAULT_$LINE"
11467 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11471 eval "$ac_cv_use_image"
11472 if test "$no_cache" != 1; then
11473 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11476 if test "$wxUSE_IMAGE" = yes; then
11477 echo "$as_me:$LINENO: result: yes" >&5
11478 echo "${ECHO_T}yes" >&6
11480 echo "$as_me:$LINENO: result: no" >&5
11481 echo "${ECHO_T}no" >&6
11486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11487 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11489 # Check whether --enable-gif or --disable-gif was given.
11490 if test "${enable_gif+set}" = set; then
11491 enableval="$enable_gif"
11493 if test "$enableval" = yes; then
11494 ac_cv_use_gif='wxUSE_GIF=yes'
11496 ac_cv_use_gif='wxUSE_GIF=no'
11501 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11502 if test "x$LINE" != x ; then
11503 eval "DEFAULT_$LINE"
11508 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11512 eval "$ac_cv_use_gif"
11513 if test "$no_cache" != 1; then
11514 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11517 if test "$wxUSE_GIF" = yes; then
11518 echo "$as_me:$LINENO: result: yes" >&5
11519 echo "${ECHO_T}yes" >&6
11521 echo "$as_me:$LINENO: result: no" >&5
11522 echo "${ECHO_T}no" >&6
11527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11528 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11530 # Check whether --enable-pcx or --disable-pcx was given.
11531 if test "${enable_pcx+set}" = set; then
11532 enableval="$enable_pcx"
11534 if test "$enableval" = yes; then
11535 ac_cv_use_pcx='wxUSE_PCX=yes'
11537 ac_cv_use_pcx='wxUSE_PCX=no'
11542 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11543 if test "x$LINE" != x ; then
11544 eval "DEFAULT_$LINE"
11549 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11553 eval "$ac_cv_use_pcx"
11554 if test "$no_cache" != 1; then
11555 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11558 if test "$wxUSE_PCX" = yes; then
11559 echo "$as_me:$LINENO: result: yes" >&5
11560 echo "${ECHO_T}yes" >&6
11562 echo "$as_me:$LINENO: result: no" >&5
11563 echo "${ECHO_T}no" >&6
11568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
11569 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
11571 # Check whether --enable-tga or --disable-tga was given.
11572 if test "${enable_tga+set}" = set; then
11573 enableval="$enable_tga"
11575 if test "$enableval" = yes; then
11576 ac_cv_use_tga='wxUSE_TGA=yes'
11578 ac_cv_use_tga='wxUSE_TGA=no'
11583 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
11584 if test "x$LINE" != x ; then
11585 eval "DEFAULT_$LINE"
11590 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
11594 eval "$ac_cv_use_tga"
11595 if test "$no_cache" != 1; then
11596 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
11599 if test "$wxUSE_TGA" = yes; then
11600 echo "$as_me:$LINENO: result: yes" >&5
11601 echo "${ECHO_T}yes" >&6
11603 echo "$as_me:$LINENO: result: no" >&5
11604 echo "${ECHO_T}no" >&6
11609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11610 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11612 # Check whether --enable-iff or --disable-iff was given.
11613 if test "${enable_iff+set}" = set; then
11614 enableval="$enable_iff"
11616 if test "$enableval" = yes; then
11617 ac_cv_use_iff='wxUSE_IFF=yes'
11619 ac_cv_use_iff='wxUSE_IFF=no'
11624 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11625 if test "x$LINE" != x ; then
11626 eval "DEFAULT_$LINE"
11631 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11635 eval "$ac_cv_use_iff"
11636 if test "$no_cache" != 1; then
11637 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11640 if test "$wxUSE_IFF" = yes; then
11641 echo "$as_me:$LINENO: result: yes" >&5
11642 echo "${ECHO_T}yes" >&6
11644 echo "$as_me:$LINENO: result: no" >&5
11645 echo "${ECHO_T}no" >&6
11650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11651 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11653 # Check whether --enable-pnm or --disable-pnm was given.
11654 if test "${enable_pnm+set}" = set; then
11655 enableval="$enable_pnm"
11657 if test "$enableval" = yes; then
11658 ac_cv_use_pnm='wxUSE_PNM=yes'
11660 ac_cv_use_pnm='wxUSE_PNM=no'
11665 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11666 if test "x$LINE" != x ; then
11667 eval "DEFAULT_$LINE"
11672 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11676 eval "$ac_cv_use_pnm"
11677 if test "$no_cache" != 1; then
11678 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11681 if test "$wxUSE_PNM" = yes; then
11682 echo "$as_me:$LINENO: result: yes" >&5
11683 echo "${ECHO_T}yes" >&6
11685 echo "$as_me:$LINENO: result: no" >&5
11686 echo "${ECHO_T}no" >&6
11691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11692 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11694 # Check whether --enable-xpm or --disable-xpm was given.
11695 if test "${enable_xpm+set}" = set; then
11696 enableval="$enable_xpm"
11698 if test "$enableval" = yes; then
11699 ac_cv_use_xpm='wxUSE_XPM=yes'
11701 ac_cv_use_xpm='wxUSE_XPM=no'
11706 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11707 if test "x$LINE" != x ; then
11708 eval "DEFAULT_$LINE"
11713 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11717 eval "$ac_cv_use_xpm"
11718 if test "$no_cache" != 1; then
11719 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11722 if test "$wxUSE_XPM" = yes; then
11723 echo "$as_me:$LINENO: result: yes" >&5
11724 echo "${ECHO_T}yes" >&6
11726 echo "$as_me:$LINENO: result: no" >&5
11727 echo "${ECHO_T}no" >&6
11732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11733 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11735 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11736 if test "${enable_ico_cur+set}" = set; then
11737 enableval="$enable_ico_cur"
11739 if test "$enableval" = yes; then
11740 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11742 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11747 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11748 if test "x$LINE" != x ; then
11749 eval "DEFAULT_$LINE"
11754 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11758 eval "$ac_cv_use_ico_cur"
11759 if test "$no_cache" != 1; then
11760 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11763 if test "$wxUSE_ICO_CUR" = yes; then
11764 echo "$as_me:$LINENO: result: yes" >&5
11765 echo "${ECHO_T}yes" >&6
11767 echo "$as_me:$LINENO: result: no" >&5
11768 echo "${ECHO_T}no" >&6
11776 # Check whether --with-flavour or --without-flavour was given.
11777 if test "${with_flavour+set}" = set; then
11778 withval="$with_flavour"
11779 WX_FLAVOUR="$withval"
11785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11786 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11788 # Check whether --enable-official_build or --disable-official_build was given.
11789 if test "${enable_official_build+set}" = set; then
11790 enableval="$enable_official_build"
11792 if test "$enableval" = yes; then
11793 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11795 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11800 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11801 if test "x$LINE" != x ; then
11802 eval "DEFAULT_$LINE"
11807 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11811 eval "$ac_cv_use_official_build"
11812 if test "$no_cache" != 1; then
11813 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11816 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11817 echo "$as_me:$LINENO: result: yes" >&5
11818 echo "${ECHO_T}yes" >&6
11820 echo "$as_me:$LINENO: result: no" >&5
11821 echo "${ECHO_T}no" >&6
11824 # Check whether --enable-vendor or --disable-vendor was given.
11825 if test "${enable_vendor+set}" = set; then
11826 enableval="$enable_vendor"
11827 VENDOR="$enableval"
11829 if test "x$VENDOR" = "x"; then
11836 echo "saving argument cache $wx_arg_cache_file"
11837 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11841 echo "$as_me:$LINENO: checking for toolkit" >&5
11842 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11844 # In Wine, we need to default to MSW, not GTK or MOTIF
11845 if test "$wxUSE_WINE" = "yes"; then
11846 DEFAULT_DEFAULT_wxUSE_GTK=0
11847 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11848 DEFAULT_DEFAULT_wxUSE_MSW=1
11851 CXX=${CXX:-wineg++}
11855 if test "$wxUSE_GUI" = "yes"; then
11857 if test "$USE_BEOS" = 1; then
11858 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11859 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11860 { (exit 1); exit 1; }; }
11863 if test "$TOOLKIT_GIVEN" = 1; then
11864 for toolkit in `echo $ALL_TOOLKITS`; do
11866 eval "value=\$${var}"
11867 if test "x$value" = "xno"; then
11869 elif test "x$value" != "x"; then
11873 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11874 eval "wx${toolkit}_VERSION=$value"
11878 for toolkit in `echo $ALL_TOOLKITS`; do
11879 if test "$has_toolkit_in_cache" != 1; then
11880 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11882 var=DEFAULT_wxUSE_$toolkit
11884 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11885 if test "x$version" != "x"; then
11886 eval "wx${toolkit}_VERSION=$version"
11889 eval "wxUSE_$toolkit=\$${var}"
11893 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11894 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11895 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11898 *-pc-os2_emx | *-pc-os2-emx )
11899 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11902 case "$NUM_TOOLKITS" in
11906 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11907 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11908 { (exit 1); exit 1; }; }
11911 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11912 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11913 { (exit 1); exit 1; }; }
11916 # to be removed when --disable-gtk2 isn't needed
11917 if test "x$wxUSE_GTK2" = "xyes"; then
11919 elif test "x$wxUSE_GTK2" = "xno"; then
11923 for toolkit in `echo $ALL_TOOLKITS`; do
11925 eval "value=\$${var}"
11926 if test "x$value" != x; then
11927 cache_var=CACHE_$toolkit
11928 eval "cache=\$${cache_var}"
11929 if test "$cache" = 1; then
11930 echo "$var=$value" >> ${wx_arg_cache_file}
11931 eval "version=\$wx${toolkit}_VERSION"
11932 if test "x$version" != "x"; then
11933 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11936 if test "$value" = 1; then
11937 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11938 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11939 echo "${ECHO_T}$toolkit_echo" >&6
11944 if test "x$host_alias" != "x"; then
11945 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11946 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11948 echo "$as_me:$LINENO: result: base only" >&5
11949 echo "${ECHO_T}base only" >&6
11954 cat >confcache <<\_ACEOF
11955 # This file is a shell script that caches the results of configure
11956 # tests run on this system so they can be shared between configure
11957 # scripts and configure runs, see configure's option --config-cache.
11958 # It is not useful on other systems. If it contains results you don't
11959 # want to keep, you may remove or edit it.
11961 # config.status only pays attention to the cache file if you give it
11962 # the --recheck option to rerun configure.
11964 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11965 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11966 # following values.
11970 # The following way of writing the cache mishandles newlines in values,
11971 # but we know of no workaround that is simple, portable, and efficient.
11972 # So, don't put newlines in cache variables' values.
11973 # Ultrix sh set writes to stderr and can't be redirected directly,
11974 # and sets the high bit in the cache file unless we assign to the vars.
11977 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11979 # `set' does not quote correctly, so add quotes (double-quote
11980 # substitution turns \\\\ into \\, and sed turns \\ into \).
11983 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11986 # `set' quotes correctly as required by POSIX, so do not add quotes.
11988 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11995 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11997 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11999 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12000 if test -w $cache_file; then
12001 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12002 cat confcache >$cache_file
12004 echo "not updating unwritable cache $cache_file"
12014 ac_cpp='$CPP $CPPFLAGS'
12015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12018 if test -n "$ac_tool_prefix"; then
12019 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12020 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12021 echo "$as_me:$LINENO: checking for $ac_word" >&5
12022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12023 if test "${ac_cv_prog_CC+set}" = set; then
12024 echo $ECHO_N "(cached) $ECHO_C" >&6
12026 if test -n "$CC"; then
12027 ac_cv_prog_CC="$CC" # Let the user override the test.
12029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12030 for as_dir in $PATH
12033 test -z "$as_dir" && as_dir=.
12034 for ac_exec_ext in '' $ac_executable_extensions; do
12035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12036 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12046 if test -n "$CC"; then
12047 echo "$as_me:$LINENO: result: $CC" >&5
12048 echo "${ECHO_T}$CC" >&6
12050 echo "$as_me:$LINENO: result: no" >&5
12051 echo "${ECHO_T}no" >&6
12055 if test -z "$ac_cv_prog_CC"; then
12057 # Extract the first word of "gcc", so it can be a program name with args.
12058 set dummy gcc; ac_word=$2
12059 echo "$as_me:$LINENO: checking for $ac_word" >&5
12060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12061 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12062 echo $ECHO_N "(cached) $ECHO_C" >&6
12064 if test -n "$ac_ct_CC"; then
12065 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12068 for as_dir in $PATH
12071 test -z "$as_dir" && as_dir=.
12072 for ac_exec_ext in '' $ac_executable_extensions; do
12073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12074 ac_cv_prog_ac_ct_CC="gcc"
12075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12083 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12084 if test -n "$ac_ct_CC"; then
12085 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12086 echo "${ECHO_T}$ac_ct_CC" >&6
12088 echo "$as_me:$LINENO: result: no" >&5
12089 echo "${ECHO_T}no" >&6
12094 CC="$ac_cv_prog_CC"
12097 if test -z "$CC"; then
12098 if test -n "$ac_tool_prefix"; then
12099 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12100 set dummy ${ac_tool_prefix}cc; ac_word=$2
12101 echo "$as_me:$LINENO: checking for $ac_word" >&5
12102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12103 if test "${ac_cv_prog_CC+set}" = set; then
12104 echo $ECHO_N "(cached) $ECHO_C" >&6
12106 if test -n "$CC"; then
12107 ac_cv_prog_CC="$CC" # Let the user override the test.
12109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12110 for as_dir in $PATH
12113 test -z "$as_dir" && as_dir=.
12114 for ac_exec_ext in '' $ac_executable_extensions; do
12115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12116 ac_cv_prog_CC="${ac_tool_prefix}cc"
12117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12126 if test -n "$CC"; then
12127 echo "$as_me:$LINENO: result: $CC" >&5
12128 echo "${ECHO_T}$CC" >&6
12130 echo "$as_me:$LINENO: result: no" >&5
12131 echo "${ECHO_T}no" >&6
12135 if test -z "$ac_cv_prog_CC"; then
12137 # Extract the first word of "cc", so it can be a program name with args.
12138 set dummy cc; ac_word=$2
12139 echo "$as_me:$LINENO: checking for $ac_word" >&5
12140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12141 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12142 echo $ECHO_N "(cached) $ECHO_C" >&6
12144 if test -n "$ac_ct_CC"; then
12145 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12148 for as_dir in $PATH
12151 test -z "$as_dir" && as_dir=.
12152 for ac_exec_ext in '' $ac_executable_extensions; do
12153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12154 ac_cv_prog_ac_ct_CC="cc"
12155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12163 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12164 if test -n "$ac_ct_CC"; then
12165 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12166 echo "${ECHO_T}$ac_ct_CC" >&6
12168 echo "$as_me:$LINENO: result: no" >&5
12169 echo "${ECHO_T}no" >&6
12174 CC="$ac_cv_prog_CC"
12178 if test -z "$CC"; then
12179 # Extract the first word of "cc", so it can be a program name with args.
12180 set dummy cc; ac_word=$2
12181 echo "$as_me:$LINENO: checking for $ac_word" >&5
12182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12183 if test "${ac_cv_prog_CC+set}" = set; then
12184 echo $ECHO_N "(cached) $ECHO_C" >&6
12186 if test -n "$CC"; then
12187 ac_cv_prog_CC="$CC" # Let the user override the test.
12189 ac_prog_rejected=no
12190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12191 for as_dir in $PATH
12194 test -z "$as_dir" && as_dir=.
12195 for ac_exec_ext in '' $ac_executable_extensions; do
12196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12197 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12198 ac_prog_rejected=yes
12202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12208 if test $ac_prog_rejected = yes; then
12209 # We found a bogon in the path, so make sure we never use it.
12210 set dummy $ac_cv_prog_CC
12212 if test $# != 0; then
12213 # We chose a different compiler from the bogus one.
12214 # However, it has the same basename, so the bogon will be chosen
12215 # first if we set CC to just the basename; use the full file name.
12217 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12223 if test -n "$CC"; then
12224 echo "$as_me:$LINENO: result: $CC" >&5
12225 echo "${ECHO_T}$CC" >&6
12227 echo "$as_me:$LINENO: result: no" >&5
12228 echo "${ECHO_T}no" >&6
12232 if test -z "$CC"; then
12233 if test -n "$ac_tool_prefix"; then
12236 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12237 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12238 echo "$as_me:$LINENO: checking for $ac_word" >&5
12239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12240 if test "${ac_cv_prog_CC+set}" = set; then
12241 echo $ECHO_N "(cached) $ECHO_C" >&6
12243 if test -n "$CC"; then
12244 ac_cv_prog_CC="$CC" # Let the user override the test.
12246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12247 for as_dir in $PATH
12250 test -z "$as_dir" && as_dir=.
12251 for ac_exec_ext in '' $ac_executable_extensions; do
12252 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12253 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12263 if test -n "$CC"; then
12264 echo "$as_me:$LINENO: result: $CC" >&5
12265 echo "${ECHO_T}$CC" >&6
12267 echo "$as_me:$LINENO: result: no" >&5
12268 echo "${ECHO_T}no" >&6
12271 test -n "$CC" && break
12274 if test -z "$CC"; then
12278 # Extract the first word of "$ac_prog", so it can be a program name with args.
12279 set dummy $ac_prog; ac_word=$2
12280 echo "$as_me:$LINENO: checking for $ac_word" >&5
12281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12282 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12283 echo $ECHO_N "(cached) $ECHO_C" >&6
12285 if test -n "$ac_ct_CC"; then
12286 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12289 for as_dir in $PATH
12292 test -z "$as_dir" && as_dir=.
12293 for ac_exec_ext in '' $ac_executable_extensions; do
12294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12295 ac_cv_prog_ac_ct_CC="$ac_prog"
12296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12304 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12305 if test -n "$ac_ct_CC"; then
12306 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12307 echo "${ECHO_T}$ac_ct_CC" >&6
12309 echo "$as_me:$LINENO: result: no" >&5
12310 echo "${ECHO_T}no" >&6
12313 test -n "$ac_ct_CC" && break
12322 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12323 See \`config.log' for more details." >&5
12324 echo "$as_me: error: no acceptable C compiler found in \$PATH
12325 See \`config.log' for more details." >&2;}
12326 { (exit 1); exit 1; }; }
12328 # Provide some information about the compiler.
12329 echo "$as_me:$LINENO:" \
12330 "checking for C compiler version" >&5
12331 ac_compiler=`set X $ac_compile; echo $2`
12332 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12333 (eval $ac_compiler --version </dev/null >&5) 2>&5
12335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336 (exit $ac_status); }
12337 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12338 (eval $ac_compiler -v </dev/null >&5) 2>&5
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); }
12342 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12343 (eval $ac_compiler -V </dev/null >&5) 2>&5
12345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12346 (exit $ac_status); }
12348 cat >conftest.$ac_ext <<_ACEOF
12351 cat confdefs.h >>conftest.$ac_ext
12352 cat >>conftest.$ac_ext <<_ACEOF
12353 /* end confdefs.h. */
12363 ac_clean_files_save=$ac_clean_files
12364 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12365 # Try to create an executable without -o first, disregard a.out.
12366 # It will help us diagnose broken compilers, and finding out an intuition
12368 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12369 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12370 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12371 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12372 (eval $ac_link_default) 2>&5
12374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12375 (exit $ac_status); }; then
12376 # Find the output, starting from the most likely. This scheme is
12377 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12380 # Be careful to initialize this variable, since it used to be cached.
12381 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12383 # b.out is created by i960 compilers.
12384 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12386 test -f "$ac_file" || continue
12388 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12391 # This is the source file.
12394 # We found the default executable, but exeext='' is most
12398 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12399 # FIXME: I believe we export ac_cv_exeext for Libtool,
12400 # but it would be cool to find out if it's true. Does anybody
12401 # maintain Libtool? --akim.
12402 export ac_cv_exeext
12409 echo "$as_me: failed program was:" >&5
12410 sed 's/^/| /' conftest.$ac_ext >&5
12412 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12413 See \`config.log' for more details." >&5
12414 echo "$as_me: error: C compiler cannot create executables
12415 See \`config.log' for more details." >&2;}
12416 { (exit 77); exit 77; }; }
12419 ac_exeext=$ac_cv_exeext
12420 echo "$as_me:$LINENO: result: $ac_file" >&5
12421 echo "${ECHO_T}$ac_file" >&6
12423 # Check the compiler produces executables we can run. If not, either
12424 # the compiler is broken, or we cross compile.
12425 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12426 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12427 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12428 # If not cross compiling, check that we can run a simple program.
12429 if test "$cross_compiling" != yes; then
12430 if { ac_try='./$ac_file'
12431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12432 (eval $ac_try) 2>&5
12434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12435 (exit $ac_status); }; }; then
12438 if test "$cross_compiling" = maybe; then
12439 cross_compiling=yes
12441 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12442 If you meant to cross compile, use \`--host'.
12443 See \`config.log' for more details." >&5
12444 echo "$as_me: error: cannot run C compiled programs.
12445 If you meant to cross compile, use \`--host'.
12446 See \`config.log' for more details." >&2;}
12447 { (exit 1); exit 1; }; }
12451 echo "$as_me:$LINENO: result: yes" >&5
12452 echo "${ECHO_T}yes" >&6
12454 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12455 ac_clean_files=$ac_clean_files_save
12456 # Check the compiler produces executables we can run. If not, either
12457 # the compiler is broken, or we cross compile.
12458 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12459 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12460 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12461 echo "${ECHO_T}$cross_compiling" >&6
12463 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12464 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12466 (eval $ac_link) 2>&5
12468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12469 (exit $ac_status); }; then
12470 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12471 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12472 # work properly (i.e., refer to `conftest.exe'), while it won't with
12474 for ac_file in conftest.exe conftest conftest.*; do
12475 test -f "$ac_file" || continue
12477 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12478 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12479 export ac_cv_exeext
12485 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12486 See \`config.log' for more details." >&5
12487 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12488 See \`config.log' for more details." >&2;}
12489 { (exit 1); exit 1; }; }
12492 rm -f conftest$ac_cv_exeext
12493 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12494 echo "${ECHO_T}$ac_cv_exeext" >&6
12496 rm -f conftest.$ac_ext
12497 EXEEXT=$ac_cv_exeext
12499 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12500 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12501 if test "${ac_cv_objext+set}" = set; then
12502 echo $ECHO_N "(cached) $ECHO_C" >&6
12504 cat >conftest.$ac_ext <<_ACEOF
12507 cat confdefs.h >>conftest.$ac_ext
12508 cat >>conftest.$ac_ext <<_ACEOF
12509 /* end confdefs.h. */
12519 rm -f conftest.o conftest.obj
12520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12521 (eval $ac_compile) 2>&5
12523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12524 (exit $ac_status); }; then
12525 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12527 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12528 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12533 echo "$as_me: failed program was:" >&5
12534 sed 's/^/| /' conftest.$ac_ext >&5
12536 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12537 See \`config.log' for more details." >&5
12538 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12539 See \`config.log' for more details." >&2;}
12540 { (exit 1); exit 1; }; }
12543 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12545 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12546 echo "${ECHO_T}$ac_cv_objext" >&6
12547 OBJEXT=$ac_cv_objext
12549 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12550 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12551 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12552 echo $ECHO_N "(cached) $ECHO_C" >&6
12554 cat >conftest.$ac_ext <<_ACEOF
12557 cat confdefs.h >>conftest.$ac_ext
12558 cat >>conftest.$ac_ext <<_ACEOF
12559 /* end confdefs.h. */
12572 rm -f conftest.$ac_objext
12573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12574 (eval $ac_compile) 2>conftest.er1
12576 grep -v '^ *+' conftest.er1 >conftest.err
12578 cat conftest.err >&5
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); } &&
12581 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12583 (eval $ac_try) 2>&5
12585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12586 (exit $ac_status); }; } &&
12587 { ac_try='test -s conftest.$ac_objext'
12588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12589 (eval $ac_try) 2>&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); }; }; then
12593 ac_compiler_gnu=yes
12595 echo "$as_me: failed program was:" >&5
12596 sed 's/^/| /' conftest.$ac_ext >&5
12600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12601 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12604 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12605 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12606 GCC=`test $ac_compiler_gnu = yes && echo yes`
12607 ac_test_CFLAGS=${CFLAGS+set}
12608 ac_save_CFLAGS=$CFLAGS
12610 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12611 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12612 if test "${ac_cv_prog_cc_g+set}" = set; then
12613 echo $ECHO_N "(cached) $ECHO_C" >&6
12615 cat >conftest.$ac_ext <<_ACEOF
12618 cat confdefs.h >>conftest.$ac_ext
12619 cat >>conftest.$ac_ext <<_ACEOF
12620 /* end confdefs.h. */
12630 rm -f conftest.$ac_objext
12631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12632 (eval $ac_compile) 2>conftest.er1
12634 grep -v '^ *+' conftest.er1 >conftest.err
12636 cat conftest.err >&5
12637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638 (exit $ac_status); } &&
12639 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12641 (eval $ac_try) 2>&5
12643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12644 (exit $ac_status); }; } &&
12645 { ac_try='test -s conftest.$ac_objext'
12646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12647 (eval $ac_try) 2>&5
12649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12650 (exit $ac_status); }; }; then
12651 ac_cv_prog_cc_g=yes
12653 echo "$as_me: failed program was:" >&5
12654 sed 's/^/| /' conftest.$ac_ext >&5
12658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12660 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12661 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12662 if test "$ac_test_CFLAGS" = set; then
12663 CFLAGS=$ac_save_CFLAGS
12664 elif test $ac_cv_prog_cc_g = yes; then
12665 if test "$GCC" = yes; then
12671 if test "$GCC" = yes; then
12677 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12678 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12679 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12680 echo $ECHO_N "(cached) $ECHO_C" >&6
12682 ac_cv_prog_cc_stdc=no
12684 cat >conftest.$ac_ext <<_ACEOF
12687 cat confdefs.h >>conftest.$ac_ext
12688 cat >>conftest.$ac_ext <<_ACEOF
12689 /* end confdefs.h. */
12690 #include <stdarg.h>
12692 #include <sys/types.h>
12693 #include <sys/stat.h>
12694 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12695 struct buf { int x; };
12696 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12697 static char *e (p, i)
12703 static char *f (char * (*g) (char **, int), char **p, ...)
12708 s = g (p, va_arg (v,int));
12713 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12714 function prototypes and stuff, but not '\xHH' hex character constants.
12715 These don't provoke an error unfortunately, instead are silently treated
12716 as 'x'. The following induces an error, until -std1 is added to get
12717 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12718 array size at least. It's necessary to write '\x00'==0 to get something
12719 that's true only with -std1. */
12720 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12722 int test (int i, double x);
12723 struct s1 {int (*f) (int a);};
12724 struct s2 {int (*f) (double a);};
12725 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12731 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12736 # Don't try gcc -ansi; that turns off useful extensions and
12737 # breaks some systems' header files.
12738 # AIX -qlanglvl=ansi
12739 # Ultrix and OSF/1 -std1
12740 # HP-UX 10.20 and later -Ae
12741 # HP-UX older versions -Aa -D_HPUX_SOURCE
12742 # SVR4 -Xc -D__EXTENSIONS__
12743 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12745 CC="$ac_save_CC $ac_arg"
12746 rm -f conftest.$ac_objext
12747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12748 (eval $ac_compile) 2>conftest.er1
12750 grep -v '^ *+' conftest.er1 >conftest.err
12752 cat conftest.err >&5
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); } &&
12755 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12757 (eval $ac_try) 2>&5
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); }; } &&
12761 { ac_try='test -s conftest.$ac_objext'
12762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12763 (eval $ac_try) 2>&5
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); }; }; then
12767 ac_cv_prog_cc_stdc=$ac_arg
12770 echo "$as_me: failed program was:" >&5
12771 sed 's/^/| /' conftest.$ac_ext >&5
12774 rm -f conftest.err conftest.$ac_objext
12776 rm -f conftest.$ac_ext conftest.$ac_objext
12781 case "x$ac_cv_prog_cc_stdc" in
12783 echo "$as_me:$LINENO: result: none needed" >&5
12784 echo "${ECHO_T}none needed" >&6 ;;
12786 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12787 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12788 CC="$CC $ac_cv_prog_cc_stdc" ;;
12791 # Some people use a C++ compiler to compile C. Since we use `exit',
12792 # in C++ we need to declare it. In case someone uses the same compiler
12793 # for both compiling C and C++ we need to have the C++ compiler decide
12794 # the declaration of exit, since it's the most demanding environment.
12795 cat >conftest.$ac_ext <<_ACEOF
12796 #ifndef __cplusplus
12800 rm -f conftest.$ac_objext
12801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12802 (eval $ac_compile) 2>conftest.er1
12804 grep -v '^ *+' conftest.er1 >conftest.err
12806 cat conftest.err >&5
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); } &&
12809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12811 (eval $ac_try) 2>&5
12813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12814 (exit $ac_status); }; } &&
12815 { ac_try='test -s conftest.$ac_objext'
12816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12817 (eval $ac_try) 2>&5
12819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12820 (exit $ac_status); }; }; then
12821 for ac_declaration in \
12823 'extern "C" void std::exit (int) throw (); using std::exit;' \
12824 'extern "C" void std::exit (int); using std::exit;' \
12825 'extern "C" void exit (int) throw ();' \
12826 'extern "C" void exit (int);' \
12829 cat >conftest.$ac_ext <<_ACEOF
12832 cat confdefs.h >>conftest.$ac_ext
12833 cat >>conftest.$ac_ext <<_ACEOF
12834 /* end confdefs.h. */
12836 #include <stdlib.h>
12845 rm -f conftest.$ac_objext
12846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12847 (eval $ac_compile) 2>conftest.er1
12849 grep -v '^ *+' conftest.er1 >conftest.err
12851 cat conftest.err >&5
12852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12853 (exit $ac_status); } &&
12854 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12856 (eval $ac_try) 2>&5
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); }; } &&
12860 { ac_try='test -s conftest.$ac_objext'
12861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12862 (eval $ac_try) 2>&5
12864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12865 (exit $ac_status); }; }; then
12868 echo "$as_me: failed program was:" >&5
12869 sed 's/^/| /' conftest.$ac_ext >&5
12873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12874 cat >conftest.$ac_ext <<_ACEOF
12877 cat confdefs.h >>conftest.$ac_ext
12878 cat >>conftest.$ac_ext <<_ACEOF
12879 /* end confdefs.h. */
12889 rm -f conftest.$ac_objext
12890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12891 (eval $ac_compile) 2>conftest.er1
12893 grep -v '^ *+' conftest.er1 >conftest.err
12895 cat conftest.err >&5
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); } &&
12898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12900 (eval $ac_try) 2>&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); }; } &&
12904 { ac_try='test -s conftest.$ac_objext'
12905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12906 (eval $ac_try) 2>&5
12908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909 (exit $ac_status); }; }; then
12912 echo "$as_me: failed program was:" >&5
12913 sed 's/^/| /' conftest.$ac_ext >&5
12916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12919 if test -n "$ac_declaration"; then
12920 echo '#ifdef __cplusplus' >>confdefs.h
12921 echo $ac_declaration >>confdefs.h
12922 echo '#endif' >>confdefs.h
12926 echo "$as_me: failed program was:" >&5
12927 sed 's/^/| /' conftest.$ac_ext >&5
12930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12932 ac_cpp='$CPP $CPPFLAGS'
12933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12940 ac_cpp='$CPP $CPPFLAGS'
12941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12945 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12946 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12947 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12948 echo $ECHO_N "(cached) $ECHO_C" >&6
12950 cat >conftest.$ac_ext <<_ACEOF
12953 cat confdefs.h >>conftest.$ac_ext
12954 cat >>conftest.$ac_ext <<_ACEOF
12955 /* end confdefs.h. */
12961 #ifndef __INTEL_COMPILER
12969 rm -f conftest.$ac_objext
12970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12971 (eval $ac_compile) 2>conftest.er1
12973 grep -v '^ *+' conftest.er1 >conftest.err
12975 cat conftest.err >&5
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); } &&
12978 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12980 (eval $ac_try) 2>&5
12982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12983 (exit $ac_status); }; } &&
12984 { ac_try='test -s conftest.$ac_objext'
12985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12986 (eval $ac_try) 2>&5
12988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12989 (exit $ac_status); }; }; then
12990 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12992 echo "$as_me: failed program was:" >&5
12993 sed 's/^/| /' conftest.$ac_ext >&5
12995 bakefile_cv_c_compiler___INTEL_COMPILER=no
12998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13002 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13003 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
13005 ac_cpp='$CPP $CPPFLAGS'
13006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13010 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13017 if test "x$GCC" != "xyes"; then
13018 if test "xCC" = "xC"; then
13019 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13020 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
13021 if test "${bakefile_cv_c_exto+set}" = set; then
13022 echo $ECHO_N "(cached) $ECHO_C" >&6
13024 cat >conftest.$ac_ext <<_ACEOF
13027 cat confdefs.h >>conftest.$ac_ext
13028 cat >>conftest.$ac_ext <<_ACEOF
13029 /* end confdefs.h. */
13039 rm -f conftest.$ac_objext conftest.$ac_ext.o
13040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13041 (eval $ac_compile) 2>&5
13043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13044 (exit $ac_status); }; then
13045 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13047 conftest.$ac_ext.o)
13048 bakefile_cv_c_exto="-ext o"
13055 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13056 See \`config.log' for more details." >&5
13057 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13058 See \`config.log' for more details." >&2;}
13059 { (exit 1); exit 1; }; }
13063 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13066 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13067 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13068 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13069 if test "c" = "c"; then
13070 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13072 if test "c" = "cxx"; then
13073 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13077 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13078 unset ac_cv_prog_cc_g
13079 ac_test_CFLAGS=${CFLAGS+set}
13080 ac_save_CFLAGS=$CFLAGS
13082 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13083 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13084 if test "${ac_cv_prog_cc_g+set}" = set; then
13085 echo $ECHO_N "(cached) $ECHO_C" >&6
13087 cat >conftest.$ac_ext <<_ACEOF
13090 cat confdefs.h >>conftest.$ac_ext
13091 cat >>conftest.$ac_ext <<_ACEOF
13092 /* end confdefs.h. */
13102 rm -f conftest.$ac_objext
13103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13104 (eval $ac_compile) 2>conftest.er1
13106 grep -v '^ *+' conftest.er1 >conftest.err
13108 cat conftest.err >&5
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); } &&
13111 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13113 (eval $ac_try) 2>&5
13115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13116 (exit $ac_status); }; } &&
13117 { ac_try='test -s conftest.$ac_objext'
13118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13119 (eval $ac_try) 2>&5
13121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13122 (exit $ac_status); }; }; then
13123 ac_cv_prog_cc_g=yes
13125 echo "$as_me: failed program was:" >&5
13126 sed 's/^/| /' conftest.$ac_ext >&5
13130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13132 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13133 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13134 if test "$ac_test_CFLAGS" = set; then
13135 CFLAGS=$ac_save_CFLAGS
13136 elif test $ac_cv_prog_cc_g = yes; then
13137 if test "$GCC" = yes; then
13143 if test "$GCC" = yes; then
13155 ac_cpp='$CPP $CPPFLAGS'
13156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13160 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13161 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13162 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13163 echo $ECHO_N "(cached) $ECHO_C" >&6
13165 cat >conftest.$ac_ext <<_ACEOF
13168 cat confdefs.h >>conftest.$ac_ext
13169 cat >>conftest.$ac_ext <<_ACEOF
13170 /* end confdefs.h. */
13183 rm -f conftest.$ac_objext
13184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13185 (eval $ac_compile) 2>conftest.er1
13187 grep -v '^ *+' conftest.er1 >conftest.err
13189 cat conftest.err >&5
13190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13191 (exit $ac_status); } &&
13192 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13194 (eval $ac_try) 2>&5
13196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13197 (exit $ac_status); }; } &&
13198 { ac_try='test -s conftest.$ac_objext'
13199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13200 (eval $ac_try) 2>&5
13202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13203 (exit $ac_status); }; }; then
13204 bakefile_compiler_xlc=yes
13206 echo "$as_me: failed program was:" >&5
13207 sed 's/^/| /' conftest.$ac_ext >&5
13209 bakefile_compiler_xlc=no
13211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13212 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13215 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13216 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13218 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13220 ac_cpp='$CPP $CPPFLAGS'
13221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13230 ac_cpp='$CPP $CPPFLAGS'
13231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13235 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13236 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13237 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13238 echo $ECHO_N "(cached) $ECHO_C" >&6
13240 cat >conftest.$ac_ext <<_ACEOF
13243 cat confdefs.h >>conftest.$ac_ext
13244 cat >>conftest.$ac_ext <<_ACEOF
13245 /* end confdefs.h. */
13258 rm -f conftest.$ac_objext
13259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13260 (eval $ac_compile) 2>conftest.er1
13262 grep -v '^ *+' conftest.er1 >conftest.err
13264 cat conftest.err >&5
13265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13266 (exit $ac_status); } &&
13267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13269 (eval $ac_try) 2>&5
13271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); }; } &&
13273 { ac_try='test -s conftest.$ac_objext'
13274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13275 (eval $ac_try) 2>&5
13277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); }; }; then
13279 bakefile_compiler_mwerks=yes
13281 echo "$as_me: failed program was:" >&5
13282 sed 's/^/| /' conftest.$ac_ext >&5
13284 bakefile_compiler_mwerks=no
13286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13287 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13290 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13291 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13293 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13295 ac_cpp='$CPP $CPPFLAGS'
13296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13302 ac_cpp='$CPP $CPPFLAGS'
13303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13307 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13308 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13309 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13310 echo $ECHO_N "(cached) $ECHO_C" >&6
13312 cat >conftest.$ac_ext <<_ACEOF
13315 cat confdefs.h >>conftest.$ac_ext
13316 cat >>conftest.$ac_ext <<_ACEOF
13317 /* end confdefs.h. */
13330 rm -f conftest.$ac_objext
13331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13332 (eval $ac_compile) 2>conftest.er1
13334 grep -v '^ *+' conftest.er1 >conftest.err
13336 cat conftest.err >&5
13337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13338 (exit $ac_status); } &&
13339 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13341 (eval $ac_try) 2>&5
13343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13344 (exit $ac_status); }; } &&
13345 { ac_try='test -s conftest.$ac_objext'
13346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13347 (eval $ac_try) 2>&5
13349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13350 (exit $ac_status); }; }; then
13351 bakefile_compiler_xlc=yes
13353 echo "$as_me: failed program was:" >&5
13354 sed 's/^/| /' conftest.$ac_ext >&5
13356 bakefile_compiler_xlc=no
13358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13359 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13362 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13363 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13365 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13367 ac_cpp='$CPP $CPPFLAGS'
13368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13379 ac_cpp='$CPP $CPPFLAGS'
13380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13384 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13385 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13386 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13387 echo $ECHO_N "(cached) $ECHO_C" >&6
13389 cat >conftest.$ac_ext <<_ACEOF
13392 cat confdefs.h >>conftest.$ac_ext
13393 cat >>conftest.$ac_ext <<_ACEOF
13394 /* end confdefs.h. */
13400 #ifndef _SGI_COMPILER_VERSION
13408 rm -f conftest.$ac_objext
13409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13410 (eval $ac_compile) 2>conftest.er1
13412 grep -v '^ *+' conftest.er1 >conftest.err
13414 cat conftest.err >&5
13415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13416 (exit $ac_status); } &&
13417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13419 (eval $ac_try) 2>&5
13421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13422 (exit $ac_status); }; } &&
13423 { ac_try='test -s conftest.$ac_objext'
13424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13425 (eval $ac_try) 2>&5
13427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13428 (exit $ac_status); }; }; then
13429 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13431 echo "$as_me: failed program was:" >&5
13432 sed 's/^/| /' conftest.$ac_ext >&5
13434 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13441 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13442 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13444 ac_cpp='$CPP $CPPFLAGS'
13445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13449 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13462 ac_cpp='$CPP $CPPFLAGS'
13463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13467 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13468 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13469 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13470 echo $ECHO_N "(cached) $ECHO_C" >&6
13472 cat >conftest.$ac_ext <<_ACEOF
13475 cat confdefs.h >>conftest.$ac_ext
13476 cat >>conftest.$ac_ext <<_ACEOF
13477 /* end confdefs.h. */
13491 rm -f conftest.$ac_objext
13492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13493 (eval $ac_compile) 2>conftest.er1
13495 grep -v '^ *+' conftest.er1 >conftest.err
13497 cat conftest.err >&5
13498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13499 (exit $ac_status); } &&
13500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13502 (eval $ac_try) 2>&5
13504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13505 (exit $ac_status); }; } &&
13506 { ac_try='test -s conftest.$ac_objext'
13507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13508 (eval $ac_try) 2>&5
13510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511 (exit $ac_status); }; }; then
13512 bakefile_cv_c_compiler___HP_cc=yes
13514 echo "$as_me: failed program was:" >&5
13515 sed 's/^/| /' conftest.$ac_ext >&5
13517 bakefile_cv_c_compiler___HP_cc=no
13520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13524 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13525 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13527 ac_cpp='$CPP $CPPFLAGS'
13528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13532 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13545 ac_cpp='$CPP $CPPFLAGS'
13546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13550 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13551 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13552 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13553 echo $ECHO_N "(cached) $ECHO_C" >&6
13555 cat >conftest.$ac_ext <<_ACEOF
13558 cat confdefs.h >>conftest.$ac_ext
13559 cat >>conftest.$ac_ext <<_ACEOF
13560 /* end confdefs.h. */
13574 rm -f conftest.$ac_objext
13575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13576 (eval $ac_compile) 2>conftest.er1
13578 grep -v '^ *+' conftest.er1 >conftest.err
13580 cat conftest.err >&5
13581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13582 (exit $ac_status); } &&
13583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13585 (eval $ac_try) 2>&5
13587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588 (exit $ac_status); }; } &&
13589 { ac_try='test -s conftest.$ac_objext'
13590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13591 (eval $ac_try) 2>&5
13593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13594 (exit $ac_status); }; }; then
13595 bakefile_cv_c_compiler___DECC=yes
13597 echo "$as_me: failed program was:" >&5
13598 sed 's/^/| /' conftest.$ac_ext >&5
13600 bakefile_cv_c_compiler___DECC=no
13603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13607 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13608 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13610 ac_cpp='$CPP $CPPFLAGS'
13611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13615 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13628 ac_cpp='$CPP $CPPFLAGS'
13629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13633 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13634 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13635 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13636 echo $ECHO_N "(cached) $ECHO_C" >&6
13638 cat >conftest.$ac_ext <<_ACEOF
13641 cat confdefs.h >>conftest.$ac_ext
13642 cat >>conftest.$ac_ext <<_ACEOF
13643 /* end confdefs.h. */
13657 rm -f conftest.$ac_objext
13658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13659 (eval $ac_compile) 2>conftest.er1
13661 grep -v '^ *+' conftest.er1 >conftest.err
13663 cat conftest.err >&5
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); } &&
13666 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13668 (eval $ac_try) 2>&5
13670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13671 (exit $ac_status); }; } &&
13672 { ac_try='test -s conftest.$ac_objext'
13673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13674 (eval $ac_try) 2>&5
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); }; }; then
13678 bakefile_cv_c_compiler___SUNPRO_C=yes
13680 echo "$as_me: failed program was:" >&5
13681 sed 's/^/| /' conftest.$ac_ext >&5
13683 bakefile_cv_c_compiler___SUNPRO_C=no
13686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13690 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13691 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13693 ac_cpp='$CPP $CPPFLAGS'
13694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13698 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13712 ac_cpp='$CPP $CPPFLAGS'
13713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13716 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13717 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13718 # On Suns, sometimes $CPP names a directory.
13719 if test -n "$CPP" && test -d "$CPP"; then
13722 if test -z "$CPP"; then
13723 if test "${ac_cv_prog_CPP+set}" = set; then
13724 echo $ECHO_N "(cached) $ECHO_C" >&6
13726 # Double quotes because CPP needs to be expanded
13727 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13729 ac_preproc_ok=false
13730 for ac_c_preproc_warn_flag in '' yes
13732 # Use a header file that comes with gcc, so configuring glibc
13733 # with a fresh cross-compiler works.
13734 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13735 # <limits.h> exists even on freestanding compilers.
13736 # On the NeXT, cc -E runs the code through the compiler's parser,
13737 # not just through cpp. "Syntax error" is here to catch this case.
13738 cat >conftest.$ac_ext <<_ACEOF
13741 cat confdefs.h >>conftest.$ac_ext
13742 cat >>conftest.$ac_ext <<_ACEOF
13743 /* end confdefs.h. */
13745 # include <limits.h>
13747 # include <assert.h>
13751 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13752 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13754 grep -v '^ *+' conftest.er1 >conftest.err
13756 cat conftest.err >&5
13757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13758 (exit $ac_status); } >/dev/null; then
13759 if test -s conftest.err; then
13760 ac_cpp_err=$ac_c_preproc_warn_flag
13761 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13768 if test -z "$ac_cpp_err"; then
13771 echo "$as_me: failed program was:" >&5
13772 sed 's/^/| /' conftest.$ac_ext >&5
13774 # Broken: fails on valid input.
13777 rm -f conftest.err conftest.$ac_ext
13779 # OK, works on sane cases. Now check whether non-existent headers
13780 # can be detected and how.
13781 cat >conftest.$ac_ext <<_ACEOF
13784 cat confdefs.h >>conftest.$ac_ext
13785 cat >>conftest.$ac_ext <<_ACEOF
13786 /* end confdefs.h. */
13787 #include <ac_nonexistent.h>
13789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13790 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13792 grep -v '^ *+' conftest.er1 >conftest.err
13794 cat conftest.err >&5
13795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13796 (exit $ac_status); } >/dev/null; then
13797 if test -s conftest.err; then
13798 ac_cpp_err=$ac_c_preproc_warn_flag
13799 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13806 if test -z "$ac_cpp_err"; then
13807 # Broken: success on invalid input.
13810 echo "$as_me: failed program was:" >&5
13811 sed 's/^/| /' conftest.$ac_ext >&5
13813 # Passes both tests.
13817 rm -f conftest.err conftest.$ac_ext
13820 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13821 rm -f conftest.err conftest.$ac_ext
13822 if $ac_preproc_ok; then
13827 ac_cv_prog_CPP=$CPP
13830 CPP=$ac_cv_prog_CPP
13832 ac_cv_prog_CPP=$CPP
13834 echo "$as_me:$LINENO: result: $CPP" >&5
13835 echo "${ECHO_T}$CPP" >&6
13836 ac_preproc_ok=false
13837 for ac_c_preproc_warn_flag in '' yes
13839 # Use a header file that comes with gcc, so configuring glibc
13840 # with a fresh cross-compiler works.
13841 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13842 # <limits.h> exists even on freestanding compilers.
13843 # On the NeXT, cc -E runs the code through the compiler's parser,
13844 # not just through cpp. "Syntax error" is here to catch this case.
13845 cat >conftest.$ac_ext <<_ACEOF
13848 cat confdefs.h >>conftest.$ac_ext
13849 cat >>conftest.$ac_ext <<_ACEOF
13850 /* end confdefs.h. */
13852 # include <limits.h>
13854 # include <assert.h>
13858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13859 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13861 grep -v '^ *+' conftest.er1 >conftest.err
13863 cat conftest.err >&5
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); } >/dev/null; then
13866 if test -s conftest.err; then
13867 ac_cpp_err=$ac_c_preproc_warn_flag
13868 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13875 if test -z "$ac_cpp_err"; then
13878 echo "$as_me: failed program was:" >&5
13879 sed 's/^/| /' conftest.$ac_ext >&5
13881 # Broken: fails on valid input.
13884 rm -f conftest.err conftest.$ac_ext
13886 # OK, works on sane cases. Now check whether non-existent headers
13887 # can be detected and how.
13888 cat >conftest.$ac_ext <<_ACEOF
13891 cat confdefs.h >>conftest.$ac_ext
13892 cat >>conftest.$ac_ext <<_ACEOF
13893 /* end confdefs.h. */
13894 #include <ac_nonexistent.h>
13896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13897 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13899 grep -v '^ *+' conftest.er1 >conftest.err
13901 cat conftest.err >&5
13902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13903 (exit $ac_status); } >/dev/null; then
13904 if test -s conftest.err; then
13905 ac_cpp_err=$ac_c_preproc_warn_flag
13906 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13913 if test -z "$ac_cpp_err"; then
13914 # Broken: success on invalid input.
13917 echo "$as_me: failed program was:" >&5
13918 sed 's/^/| /' conftest.$ac_ext >&5
13920 # Passes both tests.
13924 rm -f conftest.err conftest.$ac_ext
13927 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13928 rm -f conftest.err conftest.$ac_ext
13929 if $ac_preproc_ok; then
13932 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13933 See \`config.log' for more details." >&5
13934 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13935 See \`config.log' for more details." >&2;}
13936 { (exit 1); exit 1; }; }
13940 ac_cpp='$CPP $CPPFLAGS'
13941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13946 echo "$as_me:$LINENO: checking for egrep" >&5
13947 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13948 if test "${ac_cv_prog_egrep+set}" = set; then
13949 echo $ECHO_N "(cached) $ECHO_C" >&6
13951 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13952 then ac_cv_prog_egrep='grep -E'
13953 else ac_cv_prog_egrep='egrep'
13956 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13957 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13958 EGREP=$ac_cv_prog_egrep
13961 if test $ac_cv_c_compiler_gnu = yes; then
13962 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13963 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13964 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13965 echo $ECHO_N "(cached) $ECHO_C" >&6
13967 ac_pattern="Autoconf.*'x'"
13968 cat >conftest.$ac_ext <<_ACEOF
13971 cat confdefs.h >>conftest.$ac_ext
13972 cat >>conftest.$ac_ext <<_ACEOF
13973 /* end confdefs.h. */
13977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13978 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13979 ac_cv_prog_gcc_traditional=yes
13981 ac_cv_prog_gcc_traditional=no
13986 if test $ac_cv_prog_gcc_traditional = no; then
13987 cat >conftest.$ac_ext <<_ACEOF
13990 cat confdefs.h >>conftest.$ac_ext
13991 cat >>conftest.$ac_ext <<_ACEOF
13992 /* end confdefs.h. */
13993 #include <termio.h>
13996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13997 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13998 ac_cv_prog_gcc_traditional=yes
14004 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14005 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
14006 if test $ac_cv_prog_gcc_traditional = yes; then
14007 CC="$CC -traditional"
14012 CXXFLAGS=${CXXFLAGS:=}
14017 ac_cpp='$CXXCPP $CPPFLAGS'
14018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14021 if test -n "$ac_tool_prefix"; then
14022 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14024 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14025 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14026 echo "$as_me:$LINENO: checking for $ac_word" >&5
14027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14028 if test "${ac_cv_prog_CXX+set}" = set; then
14029 echo $ECHO_N "(cached) $ECHO_C" >&6
14031 if test -n "$CXX"; then
14032 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14035 for as_dir in $PATH
14038 test -z "$as_dir" && as_dir=.
14039 for ac_exec_ext in '' $ac_executable_extensions; do
14040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14041 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14050 CXX=$ac_cv_prog_CXX
14051 if test -n "$CXX"; then
14052 echo "$as_me:$LINENO: result: $CXX" >&5
14053 echo "${ECHO_T}$CXX" >&6
14055 echo "$as_me:$LINENO: result: no" >&5
14056 echo "${ECHO_T}no" >&6
14059 test -n "$CXX" && break
14062 if test -z "$CXX"; then
14064 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14066 # Extract the first word of "$ac_prog", so it can be a program name with args.
14067 set dummy $ac_prog; ac_word=$2
14068 echo "$as_me:$LINENO: checking for $ac_word" >&5
14069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14070 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14071 echo $ECHO_N "(cached) $ECHO_C" >&6
14073 if test -n "$ac_ct_CXX"; then
14074 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14077 for as_dir in $PATH
14080 test -z "$as_dir" && as_dir=.
14081 for ac_exec_ext in '' $ac_executable_extensions; do
14082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14083 ac_cv_prog_ac_ct_CXX="$ac_prog"
14084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14092 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14093 if test -n "$ac_ct_CXX"; then
14094 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14095 echo "${ECHO_T}$ac_ct_CXX" >&6
14097 echo "$as_me:$LINENO: result: no" >&5
14098 echo "${ECHO_T}no" >&6
14101 test -n "$ac_ct_CXX" && break
14103 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
14109 # Provide some information about the compiler.
14110 echo "$as_me:$LINENO:" \
14111 "checking for C++ compiler version" >&5
14112 ac_compiler=`set X $ac_compile; echo $2`
14113 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14114 (eval $ac_compiler --version </dev/null >&5) 2>&5
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); }
14118 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14119 (eval $ac_compiler -v </dev/null >&5) 2>&5
14121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14122 (exit $ac_status); }
14123 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14124 (eval $ac_compiler -V </dev/null >&5) 2>&5
14126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14127 (exit $ac_status); }
14129 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14130 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14131 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14132 echo $ECHO_N "(cached) $ECHO_C" >&6
14134 cat >conftest.$ac_ext <<_ACEOF
14137 cat confdefs.h >>conftest.$ac_ext
14138 cat >>conftest.$ac_ext <<_ACEOF
14139 /* end confdefs.h. */
14152 rm -f conftest.$ac_objext
14153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14154 (eval $ac_compile) 2>conftest.er1
14156 grep -v '^ *+' conftest.er1 >conftest.err
14158 cat conftest.err >&5
14159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160 (exit $ac_status); } &&
14161 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14163 (eval $ac_try) 2>&5
14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166 (exit $ac_status); }; } &&
14167 { ac_try='test -s conftest.$ac_objext'
14168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14169 (eval $ac_try) 2>&5
14171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14172 (exit $ac_status); }; }; then
14173 ac_compiler_gnu=yes
14175 echo "$as_me: failed program was:" >&5
14176 sed 's/^/| /' conftest.$ac_ext >&5
14180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14181 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14184 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14185 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14186 GXX=`test $ac_compiler_gnu = yes && echo yes`
14187 ac_test_CXXFLAGS=${CXXFLAGS+set}
14188 ac_save_CXXFLAGS=$CXXFLAGS
14190 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14191 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14192 if test "${ac_cv_prog_cxx_g+set}" = set; then
14193 echo $ECHO_N "(cached) $ECHO_C" >&6
14195 cat >conftest.$ac_ext <<_ACEOF
14198 cat confdefs.h >>conftest.$ac_ext
14199 cat >>conftest.$ac_ext <<_ACEOF
14200 /* end confdefs.h. */
14210 rm -f conftest.$ac_objext
14211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14212 (eval $ac_compile) 2>conftest.er1
14214 grep -v '^ *+' conftest.er1 >conftest.err
14216 cat conftest.err >&5
14217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218 (exit $ac_status); } &&
14219 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14221 (eval $ac_try) 2>&5
14223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14224 (exit $ac_status); }; } &&
14225 { ac_try='test -s conftest.$ac_objext'
14226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14227 (eval $ac_try) 2>&5
14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230 (exit $ac_status); }; }; then
14231 ac_cv_prog_cxx_g=yes
14233 echo "$as_me: failed program was:" >&5
14234 sed 's/^/| /' conftest.$ac_ext >&5
14236 ac_cv_prog_cxx_g=no
14238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14240 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14241 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14242 if test "$ac_test_CXXFLAGS" = set; then
14243 CXXFLAGS=$ac_save_CXXFLAGS
14244 elif test $ac_cv_prog_cxx_g = yes; then
14245 if test "$GXX" = yes; then
14251 if test "$GXX" = yes; then
14257 for ac_declaration in \
14259 'extern "C" void std::exit (int) throw (); using std::exit;' \
14260 'extern "C" void std::exit (int); using std::exit;' \
14261 'extern "C" void exit (int) throw ();' \
14262 'extern "C" void exit (int);' \
14265 cat >conftest.$ac_ext <<_ACEOF
14268 cat confdefs.h >>conftest.$ac_ext
14269 cat >>conftest.$ac_ext <<_ACEOF
14270 /* end confdefs.h. */
14272 #include <stdlib.h>
14281 rm -f conftest.$ac_objext
14282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14283 (eval $ac_compile) 2>conftest.er1
14285 grep -v '^ *+' conftest.er1 >conftest.err
14287 cat conftest.err >&5
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); } &&
14290 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14292 (eval $ac_try) 2>&5
14294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); }; } &&
14296 { ac_try='test -s conftest.$ac_objext'
14297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14298 (eval $ac_try) 2>&5
14300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301 (exit $ac_status); }; }; then
14304 echo "$as_me: failed program was:" >&5
14305 sed 's/^/| /' conftest.$ac_ext >&5
14309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14310 cat >conftest.$ac_ext <<_ACEOF
14313 cat confdefs.h >>conftest.$ac_ext
14314 cat >>conftest.$ac_ext <<_ACEOF
14315 /* end confdefs.h. */
14325 rm -f conftest.$ac_objext
14326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14327 (eval $ac_compile) 2>conftest.er1
14329 grep -v '^ *+' conftest.er1 >conftest.err
14331 cat conftest.err >&5
14332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14333 (exit $ac_status); } &&
14334 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14336 (eval $ac_try) 2>&5
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); }; } &&
14340 { ac_try='test -s conftest.$ac_objext'
14341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14342 (eval $ac_try) 2>&5
14344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14345 (exit $ac_status); }; }; then
14348 echo "$as_me: failed program was:" >&5
14349 sed 's/^/| /' conftest.$ac_ext >&5
14352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14355 if test -n "$ac_declaration"; then
14356 echo '#ifdef __cplusplus' >>confdefs.h
14357 echo $ac_declaration >>confdefs.h
14358 echo '#endif' >>confdefs.h
14362 ac_cpp='$CPP $CPPFLAGS'
14363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14370 ac_cpp='$CXXCPP $CPPFLAGS'
14371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14375 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14376 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14377 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14378 echo $ECHO_N "(cached) $ECHO_C" >&6
14380 cat >conftest.$ac_ext <<_ACEOF
14383 cat confdefs.h >>conftest.$ac_ext
14384 cat >>conftest.$ac_ext <<_ACEOF
14385 /* end confdefs.h. */
14391 #ifndef __INTEL_COMPILER
14399 rm -f conftest.$ac_objext
14400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14401 (eval $ac_compile) 2>conftest.er1
14403 grep -v '^ *+' conftest.er1 >conftest.err
14405 cat conftest.err >&5
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); } &&
14408 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14410 (eval $ac_try) 2>&5
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 (exit $ac_status); }; } &&
14414 { ac_try='test -s conftest.$ac_objext'
14415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14416 (eval $ac_try) 2>&5
14418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14419 (exit $ac_status); }; }; then
14420 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14422 echo "$as_me: failed program was:" >&5
14423 sed 's/^/| /' conftest.$ac_ext >&5
14425 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14432 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14433 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14435 ac_cpp='$CPP $CPPFLAGS'
14436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14440 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14447 if test "x$GCXX" != "xyes"; then
14448 if test "xCXX" = "xC"; then
14449 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14450 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
14451 if test "${bakefile_cv_c_exto+set}" = set; then
14452 echo $ECHO_N "(cached) $ECHO_C" >&6
14454 cat >conftest.$ac_ext <<_ACEOF
14457 cat confdefs.h >>conftest.$ac_ext
14458 cat >>conftest.$ac_ext <<_ACEOF
14459 /* end confdefs.h. */
14469 rm -f conftest.$ac_objext conftest.$ac_ext.o
14470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14471 (eval $ac_compile) 2>&5
14473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474 (exit $ac_status); }; then
14475 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14477 conftest.$ac_ext.o)
14478 bakefile_cv_c_exto="-ext o"
14485 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14486 See \`config.log' for more details." >&5
14487 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14488 See \`config.log' for more details." >&2;}
14489 { (exit 1); exit 1; }; }
14493 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14496 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14497 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
14498 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14499 if test "c" = "c"; then
14500 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14502 if test "c" = "cxx"; then
14503 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14507 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14508 unset ac_cv_prog_cc_g
14509 ac_test_CFLAGS=${CFLAGS+set}
14510 ac_save_CFLAGS=$CFLAGS
14512 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14513 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14514 if test "${ac_cv_prog_cc_g+set}" = set; then
14515 echo $ECHO_N "(cached) $ECHO_C" >&6
14517 cat >conftest.$ac_ext <<_ACEOF
14520 cat confdefs.h >>conftest.$ac_ext
14521 cat >>conftest.$ac_ext <<_ACEOF
14522 /* end confdefs.h. */
14532 rm -f conftest.$ac_objext
14533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14534 (eval $ac_compile) 2>conftest.er1
14536 grep -v '^ *+' conftest.er1 >conftest.err
14538 cat conftest.err >&5
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); } &&
14541 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14543 (eval $ac_try) 2>&5
14545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14546 (exit $ac_status); }; } &&
14547 { ac_try='test -s conftest.$ac_objext'
14548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14549 (eval $ac_try) 2>&5
14551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14552 (exit $ac_status); }; }; then
14553 ac_cv_prog_cc_g=yes
14555 echo "$as_me: failed program was:" >&5
14556 sed 's/^/| /' conftest.$ac_ext >&5
14560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14562 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14563 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14564 if test "$ac_test_CFLAGS" = set; then
14565 CFLAGS=$ac_save_CFLAGS
14566 elif test $ac_cv_prog_cc_g = yes; then
14567 if test "$GCC" = yes; then
14573 if test "$GCC" = yes; then
14585 ac_cpp='$CXXCPP $CPPFLAGS'
14586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14590 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14591 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14592 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14593 echo $ECHO_N "(cached) $ECHO_C" >&6
14595 cat >conftest.$ac_ext <<_ACEOF
14598 cat confdefs.h >>conftest.$ac_ext
14599 cat >>conftest.$ac_ext <<_ACEOF
14600 /* end confdefs.h. */
14613 rm -f conftest.$ac_objext
14614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14615 (eval $ac_compile) 2>conftest.er1
14617 grep -v '^ *+' conftest.er1 >conftest.err
14619 cat conftest.err >&5
14620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14621 (exit $ac_status); } &&
14622 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14624 (eval $ac_try) 2>&5
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); }; } &&
14628 { ac_try='test -s conftest.$ac_objext'
14629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14630 (eval $ac_try) 2>&5
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); }; }; then
14634 bakefile_compiler_xlc=yes
14636 echo "$as_me: failed program was:" >&5
14637 sed 's/^/| /' conftest.$ac_ext >&5
14639 bakefile_compiler_xlc=no
14641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14642 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14645 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14646 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14648 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14650 ac_cpp='$CPP $CPPFLAGS'
14651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14660 ac_cpp='$CXXCPP $CPPFLAGS'
14661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14665 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14666 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14667 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14668 echo $ECHO_N "(cached) $ECHO_C" >&6
14670 cat >conftest.$ac_ext <<_ACEOF
14673 cat confdefs.h >>conftest.$ac_ext
14674 cat >>conftest.$ac_ext <<_ACEOF
14675 /* end confdefs.h. */
14688 rm -f conftest.$ac_objext
14689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14690 (eval $ac_compile) 2>conftest.er1
14692 grep -v '^ *+' conftest.er1 >conftest.err
14694 cat conftest.err >&5
14695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14696 (exit $ac_status); } &&
14697 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14699 (eval $ac_try) 2>&5
14701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14702 (exit $ac_status); }; } &&
14703 { ac_try='test -s conftest.$ac_objext'
14704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14705 (eval $ac_try) 2>&5
14707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14708 (exit $ac_status); }; }; then
14709 bakefile_compiler_mwerks=yes
14711 echo "$as_me: failed program was:" >&5
14712 sed 's/^/| /' conftest.$ac_ext >&5
14714 bakefile_compiler_mwerks=no
14716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14717 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14720 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14721 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14723 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14725 ac_cpp='$CPP $CPPFLAGS'
14726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14732 ac_cpp='$CXXCPP $CPPFLAGS'
14733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14737 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14738 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14739 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14740 echo $ECHO_N "(cached) $ECHO_C" >&6
14742 cat >conftest.$ac_ext <<_ACEOF
14745 cat confdefs.h >>conftest.$ac_ext
14746 cat >>conftest.$ac_ext <<_ACEOF
14747 /* end confdefs.h. */
14760 rm -f conftest.$ac_objext
14761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14762 (eval $ac_compile) 2>conftest.er1
14764 grep -v '^ *+' conftest.er1 >conftest.err
14766 cat conftest.err >&5
14767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768 (exit $ac_status); } &&
14769 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14771 (eval $ac_try) 2>&5
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); }; } &&
14775 { ac_try='test -s conftest.$ac_objext'
14776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14777 (eval $ac_try) 2>&5
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); }; }; then
14781 bakefile_compiler_xlc=yes
14783 echo "$as_me: failed program was:" >&5
14784 sed 's/^/| /' conftest.$ac_ext >&5
14786 bakefile_compiler_xlc=no
14788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14789 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14792 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14793 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14795 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14797 ac_cpp='$CPP $CPPFLAGS'
14798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14809 ac_cpp='$CXXCPP $CPPFLAGS'
14810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14814 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14815 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14816 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14817 echo $ECHO_N "(cached) $ECHO_C" >&6
14819 cat >conftest.$ac_ext <<_ACEOF
14822 cat confdefs.h >>conftest.$ac_ext
14823 cat >>conftest.$ac_ext <<_ACEOF
14824 /* end confdefs.h. */
14830 #ifndef _SGI_COMPILER_VERSION
14838 rm -f conftest.$ac_objext
14839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14840 (eval $ac_compile) 2>conftest.er1
14842 grep -v '^ *+' conftest.er1 >conftest.err
14844 cat conftest.err >&5
14845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14846 (exit $ac_status); } &&
14847 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14849 (eval $ac_try) 2>&5
14851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14852 (exit $ac_status); }; } &&
14853 { ac_try='test -s conftest.$ac_objext'
14854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14855 (eval $ac_try) 2>&5
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); }; }; then
14859 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14861 echo "$as_me: failed program was:" >&5
14862 sed 's/^/| /' conftest.$ac_ext >&5
14864 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14871 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14872 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14874 ac_cpp='$CPP $CPPFLAGS'
14875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14879 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14892 ac_cpp='$CXXCPP $CPPFLAGS'
14893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14897 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14898 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14899 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14900 echo $ECHO_N "(cached) $ECHO_C" >&6
14902 cat >conftest.$ac_ext <<_ACEOF
14905 cat confdefs.h >>conftest.$ac_ext
14906 cat >>conftest.$ac_ext <<_ACEOF
14907 /* end confdefs.h. */
14921 rm -f conftest.$ac_objext
14922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14923 (eval $ac_compile) 2>conftest.er1
14925 grep -v '^ *+' conftest.er1 >conftest.err
14927 cat conftest.err >&5
14928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14929 (exit $ac_status); } &&
14930 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14932 (eval $ac_try) 2>&5
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); }; } &&
14936 { ac_try='test -s conftest.$ac_objext'
14937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14938 (eval $ac_try) 2>&5
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); }; }; then
14942 bakefile_cv_cxx_compiler___HP_aCC=yes
14944 echo "$as_me: failed program was:" >&5
14945 sed 's/^/| /' conftest.$ac_ext >&5
14947 bakefile_cv_cxx_compiler___HP_aCC=no
14950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14954 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14955 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14957 ac_cpp='$CPP $CPPFLAGS'
14958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14962 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
14975 ac_cpp='$CXXCPP $CPPFLAGS'
14976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14980 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14981 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14982 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14983 echo $ECHO_N "(cached) $ECHO_C" >&6
14985 cat >conftest.$ac_ext <<_ACEOF
14988 cat confdefs.h >>conftest.$ac_ext
14989 cat >>conftest.$ac_ext <<_ACEOF
14990 /* end confdefs.h. */
15004 rm -f conftest.$ac_objext
15005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15006 (eval $ac_compile) 2>conftest.er1
15008 grep -v '^ *+' conftest.er1 >conftest.err
15010 cat conftest.err >&5
15011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012 (exit $ac_status); } &&
15013 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15015 (eval $ac_try) 2>&5
15017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15018 (exit $ac_status); }; } &&
15019 { ac_try='test -s conftest.$ac_objext'
15020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15021 (eval $ac_try) 2>&5
15023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15024 (exit $ac_status); }; }; then
15025 bakefile_cv_cxx_compiler___DECCXX=yes
15027 echo "$as_me: failed program was:" >&5
15028 sed 's/^/| /' conftest.$ac_ext >&5
15030 bakefile_cv_cxx_compiler___DECCXX=no
15033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15037 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
15038 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
15040 ac_cpp='$CPP $CPPFLAGS'
15041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15045 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
15058 ac_cpp='$CXXCPP $CPPFLAGS'
15059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15063 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15064 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15065 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15066 echo $ECHO_N "(cached) $ECHO_C" >&6
15068 cat >conftest.$ac_ext <<_ACEOF
15071 cat confdefs.h >>conftest.$ac_ext
15072 cat >>conftest.$ac_ext <<_ACEOF
15073 /* end confdefs.h. */
15079 #ifndef __SUNPRO_CC
15087 rm -f conftest.$ac_objext
15088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15089 (eval $ac_compile) 2>conftest.er1
15091 grep -v '^ *+' conftest.er1 >conftest.err
15093 cat conftest.err >&5
15094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 (exit $ac_status); } &&
15096 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15098 (eval $ac_try) 2>&5
15100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15101 (exit $ac_status); }; } &&
15102 { ac_try='test -s conftest.$ac_objext'
15103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15104 (eval $ac_try) 2>&5
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); }; }; then
15108 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
15110 echo "$as_me: failed program was:" >&5
15111 sed 's/^/| /' conftest.$ac_ext >&5
15113 bakefile_cv_cxx_compiler___SUNPRO_CC=no
15116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15120 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15121 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15123 ac_cpp='$CPP $CPPFLAGS'
15124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15128 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
15141 if test -n "$ac_tool_prefix"; then
15142 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15143 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15144 echo "$as_me:$LINENO: checking for $ac_word" >&5
15145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15146 if test "${ac_cv_prog_RANLIB+set}" = set; then
15147 echo $ECHO_N "(cached) $ECHO_C" >&6
15149 if test -n "$RANLIB"; then
15150 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15153 for as_dir in $PATH
15156 test -z "$as_dir" && as_dir=.
15157 for ac_exec_ext in '' $ac_executable_extensions; do
15158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15159 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15168 RANLIB=$ac_cv_prog_RANLIB
15169 if test -n "$RANLIB"; then
15170 echo "$as_me:$LINENO: result: $RANLIB" >&5
15171 echo "${ECHO_T}$RANLIB" >&6
15173 echo "$as_me:$LINENO: result: no" >&5
15174 echo "${ECHO_T}no" >&6
15178 if test -z "$ac_cv_prog_RANLIB"; then
15179 ac_ct_RANLIB=$RANLIB
15180 # Extract the first word of "ranlib", so it can be a program name with args.
15181 set dummy ranlib; ac_word=$2
15182 echo "$as_me:$LINENO: checking for $ac_word" >&5
15183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15184 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15185 echo $ECHO_N "(cached) $ECHO_C" >&6
15187 if test -n "$ac_ct_RANLIB"; then
15188 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15191 for as_dir in $PATH
15194 test -z "$as_dir" && as_dir=.
15195 for ac_exec_ext in '' $ac_executable_extensions; do
15196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15197 ac_cv_prog_ac_ct_RANLIB="ranlib"
15198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15204 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15207 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15208 if test -n "$ac_ct_RANLIB"; then
15209 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15210 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15212 echo "$as_me:$LINENO: result: no" >&5
15213 echo "${ECHO_T}no" >&6
15216 RANLIB=$ac_ct_RANLIB
15218 RANLIB="$ac_cv_prog_RANLIB"
15222 if test -n "$ac_tool_prefix"; then
15223 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15224 set dummy ${ac_tool_prefix}ar; ac_word=$2
15225 echo "$as_me:$LINENO: checking for $ac_word" >&5
15226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15227 if test "${ac_cv_prog_AR+set}" = set; then
15228 echo $ECHO_N "(cached) $ECHO_C" >&6
15230 if test -n "$AR"; then
15231 ac_cv_prog_AR="$AR" # Let the user override the test.
15233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15234 for as_dir in $PATH
15237 test -z "$as_dir" && as_dir=.
15238 for ac_exec_ext in '' $ac_executable_extensions; do
15239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15240 ac_cv_prog_AR="${ac_tool_prefix}ar"
15241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15250 if test -n "$AR"; then
15251 echo "$as_me:$LINENO: result: $AR" >&5
15252 echo "${ECHO_T}$AR" >&6
15254 echo "$as_me:$LINENO: result: no" >&5
15255 echo "${ECHO_T}no" >&6
15259 if test -z "$ac_cv_prog_AR"; then
15261 # Extract the first word of "ar", so it can be a program name with args.
15262 set dummy ar; ac_word=$2
15263 echo "$as_me:$LINENO: checking for $ac_word" >&5
15264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15265 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15266 echo $ECHO_N "(cached) $ECHO_C" >&6
15268 if test -n "$ac_ct_AR"; then
15269 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15272 for as_dir in $PATH
15275 test -z "$as_dir" && as_dir=.
15276 for ac_exec_ext in '' $ac_executable_extensions; do
15277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15278 ac_cv_prog_ac_ct_AR="ar"
15279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15287 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15288 if test -n "$ac_ct_AR"; then
15289 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15290 echo "${ECHO_T}$ac_ct_AR" >&6
15292 echo "$as_me:$LINENO: result: no" >&5
15293 echo "${ECHO_T}no" >&6
15298 AR="$ac_cv_prog_AR"
15301 if test "x$AR" = "x" ; then
15302 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15303 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15304 { (exit 1); exit 1; }; }
15307 # Find a good install program. We prefer a C program (faster),
15308 # so one script is as good as another. But avoid the broken or
15309 # incompatible versions:
15310 # SysV /etc/install, /usr/sbin/install
15311 # SunOS /usr/etc/install
15312 # IRIX /sbin/install
15314 # AmigaOS /C/install, which installs bootblocks on floppy discs
15315 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15316 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15317 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15318 # OS/2's system install, which has a completely different semantic
15319 # ./install, which can be erroneously created by make from ./install.sh.
15320 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15321 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15322 if test -z "$INSTALL"; then
15323 if test "${ac_cv_path_install+set}" = set; then
15324 echo $ECHO_N "(cached) $ECHO_C" >&6
15326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15327 for as_dir in $PATH
15330 test -z "$as_dir" && as_dir=.
15331 # Account for people who put trailing slashes in PATH elements.
15333 ./ | .// | /cC/* | \
15334 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15335 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15338 # OSF1 and SCO ODT 3.0 have their own names for install.
15339 # Don't use installbsd from OSF since it installs stuff as root
15341 for ac_prog in ginstall scoinst install; do
15342 for ac_exec_ext in '' $ac_executable_extensions; do
15343 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15344 if test $ac_prog = install &&
15345 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15346 # AIX install. It has an incompatible calling convention.
15348 elif test $ac_prog = install &&
15349 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15350 # program-specific install script used by HP pwplus--don't use.
15353 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15365 if test "${ac_cv_path_install+set}" = set; then
15366 INSTALL=$ac_cv_path_install
15368 # As a last resort, use the slow shell script. We don't cache a
15369 # path for INSTALL within a source directory, because that will
15370 # break other packages using the cache if that directory is
15371 # removed, or if the path is relative.
15372 INSTALL=$ac_install_sh
15375 echo "$as_me:$LINENO: result: $INSTALL" >&5
15376 echo "${ECHO_T}$INSTALL" >&6
15378 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15379 # It thinks the first close brace ends the variable substitution.
15380 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15382 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15384 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15390 ?:* ) # Drive letter, considered as absolute.
15393 INSTALL=`pwd`/${INSTALL} ;;
15400 INSTALL_PROGRAM="cp -fp"
15401 INSTALL_DATA="cp -fp"
15407 if test -n "$ac_tool_prefix"; then
15408 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15409 set dummy ${ac_tool_prefix}strip; ac_word=$2
15410 echo "$as_me:$LINENO: checking for $ac_word" >&5
15411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15412 if test "${ac_cv_prog_STRIP+set}" = set; then
15413 echo $ECHO_N "(cached) $ECHO_C" >&6
15415 if test -n "$STRIP"; then
15416 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15419 for as_dir in $PATH
15422 test -z "$as_dir" && as_dir=.
15423 for ac_exec_ext in '' $ac_executable_extensions; do
15424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15425 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15434 STRIP=$ac_cv_prog_STRIP
15435 if test -n "$STRIP"; then
15436 echo "$as_me:$LINENO: result: $STRIP" >&5
15437 echo "${ECHO_T}$STRIP" >&6
15439 echo "$as_me:$LINENO: result: no" >&5
15440 echo "${ECHO_T}no" >&6
15444 if test -z "$ac_cv_prog_STRIP"; then
15446 # Extract the first word of "strip", so it can be a program name with args.
15447 set dummy strip; ac_word=$2
15448 echo "$as_me:$LINENO: checking for $ac_word" >&5
15449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15450 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15451 echo $ECHO_N "(cached) $ECHO_C" >&6
15453 if test -n "$ac_ct_STRIP"; then
15454 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15457 for as_dir in $PATH
15460 test -z "$as_dir" && as_dir=.
15461 for ac_exec_ext in '' $ac_executable_extensions; do
15462 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15463 ac_cv_prog_ac_ct_STRIP="strip"
15464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15470 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15473 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15474 if test -n "$ac_ct_STRIP"; then
15475 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15476 echo "${ECHO_T}$ac_ct_STRIP" >&6
15478 echo "$as_me:$LINENO: result: no" >&5
15479 echo "${ECHO_T}no" >&6
15484 STRIP="$ac_cv_prog_STRIP"
15488 if test "$wxUSE_WINE" = "yes"; then
15489 if test -n "$ac_tool_prefix"; then
15490 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15491 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15492 echo "$as_me:$LINENO: checking for $ac_word" >&5
15493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15494 if test "${ac_cv_prog_WINDRES+set}" = set; then
15495 echo $ECHO_N "(cached) $ECHO_C" >&6
15497 if test -n "$WINDRES"; then
15498 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15501 for as_dir in $PATH
15504 test -z "$as_dir" && as_dir=.
15505 for ac_exec_ext in '' $ac_executable_extensions; do
15506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15507 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15516 WINDRES=$ac_cv_prog_WINDRES
15517 if test -n "$WINDRES"; then
15518 echo "$as_me:$LINENO: result: $WINDRES" >&5
15519 echo "${ECHO_T}$WINDRES" >&6
15521 echo "$as_me:$LINENO: result: no" >&5
15522 echo "${ECHO_T}no" >&6
15526 if test -z "$ac_cv_prog_WINDRES"; then
15527 ac_ct_WINDRES=$WINDRES
15528 # Extract the first word of "wrc", so it can be a program name with args.
15529 set dummy wrc; ac_word=$2
15530 echo "$as_me:$LINENO: checking for $ac_word" >&5
15531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15532 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15533 echo $ECHO_N "(cached) $ECHO_C" >&6
15535 if test -n "$ac_ct_WINDRES"; then
15536 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15539 for as_dir in $PATH
15542 test -z "$as_dir" && as_dir=.
15543 for ac_exec_ext in '' $ac_executable_extensions; do
15544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15545 ac_cv_prog_ac_ct_WINDRES="wrc"
15546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15554 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15555 if test -n "$ac_ct_WINDRES"; then
15556 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15557 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15559 echo "$as_me:$LINENO: result: no" >&5
15560 echo "${ECHO_T}no" >&6
15563 WINDRES=$ac_ct_WINDRES
15565 WINDRES="$ac_cv_prog_WINDRES"
15571 *-*-cygwin* | *-*-mingw32* )
15572 if test -n "$ac_tool_prefix"; then
15573 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15574 set dummy ${ac_tool_prefix}windres; ac_word=$2
15575 echo "$as_me:$LINENO: checking for $ac_word" >&5
15576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15577 if test "${ac_cv_prog_WINDRES+set}" = set; then
15578 echo $ECHO_N "(cached) $ECHO_C" >&6
15580 if test -n "$WINDRES"; then
15581 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15584 for as_dir in $PATH
15587 test -z "$as_dir" && as_dir=.
15588 for ac_exec_ext in '' $ac_executable_extensions; do
15589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15590 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15599 WINDRES=$ac_cv_prog_WINDRES
15600 if test -n "$WINDRES"; then
15601 echo "$as_me:$LINENO: result: $WINDRES" >&5
15602 echo "${ECHO_T}$WINDRES" >&6
15604 echo "$as_me:$LINENO: result: no" >&5
15605 echo "${ECHO_T}no" >&6
15609 if test -z "$ac_cv_prog_WINDRES"; then
15610 ac_ct_WINDRES=$WINDRES
15611 # Extract the first word of "windres", so it can be a program name with args.
15612 set dummy windres; ac_word=$2
15613 echo "$as_me:$LINENO: checking for $ac_word" >&5
15614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15615 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15616 echo $ECHO_N "(cached) $ECHO_C" >&6
15618 if test -n "$ac_ct_WINDRES"; then
15619 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15622 for as_dir in $PATH
15625 test -z "$as_dir" && as_dir=.
15626 for ac_exec_ext in '' $ac_executable_extensions; do
15627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15628 ac_cv_prog_ac_ct_WINDRES="windres"
15629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15637 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15638 if test -n "$ac_ct_WINDRES"; then
15639 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15640 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15642 echo "$as_me:$LINENO: result: no" >&5
15643 echo "${ECHO_T}no" >&6
15646 WINDRES=$ac_ct_WINDRES
15648 WINDRES="$ac_cv_prog_WINDRES"
15652 if test -n "$ac_tool_prefix"; then
15653 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15654 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15655 echo "$as_me:$LINENO: checking for $ac_word" >&5
15656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15657 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15658 echo $ECHO_N "(cached) $ECHO_C" >&6
15660 if test -n "$DLLTOOL"; then
15661 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15664 for as_dir in $PATH
15667 test -z "$as_dir" && as_dir=.
15668 for ac_exec_ext in '' $ac_executable_extensions; do
15669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15670 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15679 DLLTOOL=$ac_cv_prog_DLLTOOL
15680 if test -n "$DLLTOOL"; then
15681 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15682 echo "${ECHO_T}$DLLTOOL" >&6
15684 echo "$as_me:$LINENO: result: no" >&5
15685 echo "${ECHO_T}no" >&6
15689 if test -z "$ac_cv_prog_DLLTOOL"; then
15690 ac_ct_DLLTOOL=$DLLTOOL
15691 # Extract the first word of "dlltool", so it can be a program name with args.
15692 set dummy dlltool; ac_word=$2
15693 echo "$as_me:$LINENO: checking for $ac_word" >&5
15694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15695 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15696 echo $ECHO_N "(cached) $ECHO_C" >&6
15698 if test -n "$ac_ct_DLLTOOL"; then
15699 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15702 for as_dir in $PATH
15705 test -z "$as_dir" && as_dir=.
15706 for ac_exec_ext in '' $ac_executable_extensions; do
15707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15708 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15717 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15718 if test -n "$ac_ct_DLLTOOL"; then
15719 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15720 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15722 echo "$as_me:$LINENO: result: no" >&5
15723 echo "${ECHO_T}no" >&6
15726 DLLTOOL=$ac_ct_DLLTOOL
15728 DLLTOOL="$ac_cv_prog_DLLTOOL"
15735 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15736 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15737 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15738 echo $ECHO_N "(cached) $ECHO_C" >&6
15741 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15742 $EGREP -s GNU > /dev/null); then
15743 wx_cv_prog_makeisgnu="yes"
15745 wx_cv_prog_makeisgnu="no"
15749 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15750 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15752 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15760 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15761 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15762 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15763 if test "${wx_cv_prog_makevpath+set}" = set; then
15764 echo $ECHO_N "(cached) $ECHO_C" >&6
15767 cat - << EOF > confMake
15773 if test ! -d sub ; then
15776 echo dummy > sub/file
15777 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15779 rm -f sub/file check final_file confMake
15781 if test "$RESULT" = 0; then
15782 wx_cv_prog_makevpath="yes"
15784 wx_cv_prog_makevpath="no"
15788 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15789 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15791 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15792 { { echo "$as_me:$LINENO: error:
15793 You need a make-utility that is able to use the variable
15795 If your version of make does not support VPATH correctly,
15796 please install GNU-make (possibly as gmake), and start
15797 configure with the following command:
15798 export MAKE=gmake; ./configure for sh-type shells
15799 setenv MAKE gmake; ./configure for csh-type shells
15800 Also please do remember to use gmake in this case every time
15801 you are trying to compile.
15803 echo "$as_me: error:
15804 You need a make-utility that is able to use the variable
15806 If your version of make does not support VPATH correctly,
15807 please install GNU-make (possibly as gmake), and start
15808 configure with the following command:
15809 export MAKE=gmake; ./configure for sh-type shells
15810 setenv MAKE gmake; ./configure for csh-type shells
15811 Also please do remember to use gmake in this case every time
15812 you are trying to compile.
15814 { (exit 1); exit 1; }; }
15816 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15817 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15819 if test "$LN_S" = "ln -s"; then
15820 echo "$as_me:$LINENO: result: yes" >&5
15821 echo "${ECHO_T}yes" >&6
15823 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15824 echo "${ECHO_T}no, using $LN_S" >&6
15830 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15831 CXXFLAGS="-qunique $CXXFLAGS"
15835 powerpc-*-darwin* )
15836 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15837 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15838 cat >conftest.$ac_ext <<_ACEOF
15841 cat confdefs.h >>conftest.$ac_ext
15842 cat >>conftest.$ac_ext <<_ACEOF
15843 /* end confdefs.h. */
15848 #ifndef __POWERPC__
15849 choke me for lack of PowerPC
15856 rm -f conftest.$ac_objext
15857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15858 (eval $ac_compile) 2>conftest.er1
15860 grep -v '^ *+' conftest.er1 >conftest.err
15862 cat conftest.err >&5
15863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15864 (exit $ac_status); } &&
15865 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15867 (eval $ac_try) 2>&5
15869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15870 (exit $ac_status); }; } &&
15871 { ac_try='test -s conftest.$ac_objext'
15872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15873 (eval $ac_try) 2>&5
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); }; }; then
15877 echo "$as_me:$LINENO: result: yes" >&5
15878 echo "${ECHO_T}yes" >&6
15880 echo "$as_me: failed program was:" >&5
15881 sed 's/^/| /' conftest.$ac_ext >&5
15883 echo "$as_me:$LINENO: result: no" >&5
15884 echo "${ECHO_T}no" >&6
15885 cat >>confdefs.h <<\_ACEOF
15886 #define __POWERPC__ 1
15891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15897 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15898 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15899 cat >conftest.$ac_ext <<_ACEOF
15902 cat confdefs.h >>conftest.$ac_ext
15903 cat >>conftest.$ac_ext <<_ACEOF
15904 /* end confdefs.h. */
15905 #include <CoreFoundation/CFBase.h>
15915 rm -f conftest.$ac_objext
15916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15917 (eval $ac_compile) 2>conftest.er1
15919 grep -v '^ *+' conftest.er1 >conftest.err
15921 cat conftest.err >&5
15922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15923 (exit $ac_status); } &&
15924 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15926 (eval $ac_try) 2>&5
15928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 (exit $ac_status); }; } &&
15930 { ac_try='test -s conftest.$ac_objext'
15931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15932 (eval $ac_try) 2>&5
15934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15935 (exit $ac_status); }; }; then
15936 echo "$as_me:$LINENO: result: yes" >&5
15937 echo "${ECHO_T}yes" >&6
15939 echo "$as_me: failed program was:" >&5
15940 sed 's/^/| /' conftest.$ac_ext >&5
15942 echo "$as_me:$LINENO: result: no" >&5
15943 echo "${ECHO_T}no" >&6
15944 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15945 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15946 cat >conftest.$ac_ext <<_ACEOF
15949 cat confdefs.h >>conftest.$ac_ext
15950 cat >>conftest.$ac_ext <<_ACEOF
15951 /* end confdefs.h. */
15952 #define __CF_USE_FRAMEWORK_INCLUDES__
15953 #include <CoreFoundation/CFBase.h>
15963 rm -f conftest.$ac_objext
15964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15965 (eval $ac_compile) 2>conftest.er1
15967 grep -v '^ *+' conftest.er1 >conftest.err
15969 cat conftest.err >&5
15970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971 (exit $ac_status); } &&
15972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15974 (eval $ac_try) 2>&5
15976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15977 (exit $ac_status); }; } &&
15978 { ac_try='test -s conftest.$ac_objext'
15979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15980 (eval $ac_try) 2>&5
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); }; }; then
15984 echo "$as_me:$LINENO: result: yes" >&5
15985 echo "${ECHO_T}yes" >&6
15986 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15988 echo "$as_me: failed program was:" >&5
15989 sed 's/^/| /' conftest.$ac_ext >&5
15991 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15992 See \`config.log' for more details." >&5
15993 echo "$as_me: error: no. CoreFoundation not available.
15994 See \`config.log' for more details." >&2;}
15995 { (exit 1); exit 1; }; }
15998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16007 doesnt_want_win32=0
16010 if test "$wxUSE_MSW" = 1 ; then
16013 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
16014 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
16015 if test "${wx_cv_nocygwin+set}" = set; then
16016 echo $ECHO_N "(cached) $ECHO_C" >&6
16019 cat >conftest.$ac_ext <<_ACEOF
16022 cat confdefs.h >>conftest.$ac_ext
16023 cat >>conftest.$ac_ext <<_ACEOF
16024 /* end confdefs.h. */
16038 rm -f conftest.$ac_objext
16039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16040 (eval $ac_compile) 2>conftest.er1
16042 grep -v '^ *+' conftest.er1 >conftest.err
16044 cat conftest.err >&5
16045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16046 (exit $ac_status); } &&
16047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16049 (eval $ac_try) 2>&5
16051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16052 (exit $ac_status); }; } &&
16053 { ac_try='test -s conftest.$ac_objext'
16054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16055 (eval $ac_try) 2>&5
16057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16058 (exit $ac_status); }; }; then
16061 echo "$as_me: failed program was:" >&5
16062 sed 's/^/| /' conftest.$ac_ext >&5
16067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16071 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
16072 echo "${ECHO_T}$wx_cv_nocygwin" >&6
16074 if test "$wx_cv_nocygwin" = "yes"; then
16077 doesnt_want_win32=1
16080 if test "$wants_win32" = 1 ; then
16081 BAKEFILE_FORCE_PLATFORM=win32
16089 if test "$wxUSE_WINE" = "yes"; then
16091 LDFLAGS_GUI="-mwindows"
16094 if test "$wants_win32" = 1 ; then
16097 cat >>confdefs.h <<\_ACEOF
16098 #define __WIN32__ 1
16101 cat >>confdefs.h <<\_ACEOF
16102 #define __WIN95__ 1
16105 cat >>confdefs.h <<\_ACEOF
16106 #define __WINDOWS__ 1
16109 cat >>confdefs.h <<\_ACEOF
16110 #define __GNUWIN32__ 1
16113 cat >>confdefs.h <<\_ACEOF
16118 if test "$doesnt_want_win32" = 1 ; then
16123 if test "$USE_UNIX" = 1 ; then
16125 cat >>confdefs.h <<\_ACEOF
16132 *-pc-os2_emx | *-pc-os2-emx )
16133 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16134 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16135 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16136 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16137 echo $ECHO_N "(cached) $ECHO_C" >&6
16139 ac_check_lib_save_LIBS=$LIBS
16140 LIBS="-lcExt $LIBS"
16141 cat >conftest.$ac_ext <<_ACEOF
16144 cat confdefs.h >>conftest.$ac_ext
16145 cat >>conftest.$ac_ext <<_ACEOF
16146 /* end confdefs.h. */
16148 /* Override any gcc2 internal prototype to avoid an error. */
16152 /* We use char because int might match the return type of a gcc2
16153 builtin and then its argument prototype would still apply. */
16163 rm -f conftest.$ac_objext conftest$ac_exeext
16164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16165 (eval $ac_link) 2>conftest.er1
16167 grep -v '^ *+' conftest.er1 >conftest.err
16169 cat conftest.err >&5
16170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16171 (exit $ac_status); } &&
16172 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16174 (eval $ac_try) 2>&5
16176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16177 (exit $ac_status); }; } &&
16178 { ac_try='test -s conftest$ac_exeext'
16179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16180 (eval $ac_try) 2>&5
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); }; }; then
16184 ac_cv_lib_cExt_drand48=yes
16186 echo "$as_me: failed program was:" >&5
16187 sed 's/^/| /' conftest.$ac_ext >&5
16189 ac_cv_lib_cExt_drand48=no
16191 rm -f conftest.err conftest.$ac_objext \
16192 conftest$ac_exeext conftest.$ac_ext
16193 LIBS=$ac_check_lib_save_LIBS
16195 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16196 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16197 if test $ac_cv_lib_cExt_drand48 = yes; then
16198 LIBS="$LIBS -lcExt"
16202 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
16204 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16205 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16206 if test "${wx_cv_gccversion+set}" = set; then
16207 echo $ECHO_N "(cached) $ECHO_C" >&6
16210 if test "$cross_compiling" = yes; then
16211 wx_cv_gccversion="EMX2"
16214 cat >conftest.$ac_ext <<_ACEOF
16217 cat confdefs.h >>conftest.$ac_ext
16218 cat >>conftest.$ac_ext <<_ACEOF
16219 /* end confdefs.h. */
16225 FILE *f=fopen("conftestval", "w");
16230 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16232 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16242 rm -f conftest$ac_exeext
16243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16244 (eval $ac_link) 2>&5
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16249 (eval $ac_try) 2>&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); }; }; then
16253 wx_cv_gccversion=`cat conftestval`
16255 echo "$as_me: program exited with status $ac_status" >&5
16256 echo "$as_me: failed program was:" >&5
16257 sed 's/^/| /' conftest.$ac_ext >&5
16259 ( exit $ac_status )
16260 wx_cv_gccversion="EMX2"
16262 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16266 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16267 echo "${ECHO_T}$wx_cv_gccversion" >&6
16268 if test "$wx_cv_gccversion" = "EMX2"; then
16269 LIBS="$LIBS -lstdcpp"
16270 LDFLAGS="$LDFLAGS -Zsysv-signals"
16272 if test "$wx_cv_gccversion" = "EMX3"; then
16273 LIBS="$LIBS -lstdcxx -lgcc"
16274 LDFLAGS="$LDFLAGS -Zsysv-signals"
16276 LIBS="$LIBS -lstdc++"
16279 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16280 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16281 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16288 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16289 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16290 if test "${ac_cv_string_strcasecmp+set}" = set; then
16291 echo $ECHO_N "(cached) $ECHO_C" >&6
16294 cat >conftest.$ac_ext <<_ACEOF
16297 cat confdefs.h >>conftest.$ac_ext
16298 cat >>conftest.$ac_ext <<_ACEOF
16299 /* end confdefs.h. */
16301 #include <string.h>
16307 strcasecmp("foo", "bar");
16313 rm -f conftest.$ac_objext conftest$ac_exeext
16314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16315 (eval $ac_link) 2>conftest.er1
16317 grep -v '^ *+' conftest.er1 >conftest.err
16319 cat conftest.err >&5
16320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16321 (exit $ac_status); } &&
16322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16324 (eval $ac_try) 2>&5
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); }; } &&
16328 { ac_try='test -s conftest$ac_exeext'
16329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16330 (eval $ac_try) 2>&5
16332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16333 (exit $ac_status); }; }; then
16334 ac_cv_string_strcasecmp=yes
16336 echo "$as_me: failed program was:" >&5
16337 sed 's/^/| /' conftest.$ac_ext >&5
16339 ac_cv_string_strcasecmp=no
16342 rm -f conftest.err conftest.$ac_objext \
16343 conftest$ac_exeext conftest.$ac_ext
16346 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16347 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16349 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16350 cat >>confdefs.h <<\_ACEOF
16351 #define HAVE_STRCASECMP_IN_STRING_H 1
16355 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16356 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16357 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16358 echo $ECHO_N "(cached) $ECHO_C" >&6
16361 cat >conftest.$ac_ext <<_ACEOF
16364 cat confdefs.h >>conftest.$ac_ext
16365 cat >>conftest.$ac_ext <<_ACEOF
16366 /* end confdefs.h. */
16368 #include <strings.h>
16374 strcasecmp("foo", "bar");
16380 rm -f conftest.$ac_objext conftest$ac_exeext
16381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16382 (eval $ac_link) 2>conftest.er1
16384 grep -v '^ *+' conftest.er1 >conftest.err
16386 cat conftest.err >&5
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); } &&
16389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16391 (eval $ac_try) 2>&5
16393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394 (exit $ac_status); }; } &&
16395 { ac_try='test -s conftest$ac_exeext'
16396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16397 (eval $ac_try) 2>&5
16399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16400 (exit $ac_status); }; }; then
16401 ac_cv_strings_strcasecmp=yes
16403 echo "$as_me: failed program was:" >&5
16404 sed 's/^/| /' conftest.$ac_ext >&5
16406 ac_cv_strings_strcasecmp=no
16409 rm -f conftest.err conftest.$ac_objext \
16410 conftest$ac_exeext conftest.$ac_ext
16413 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16414 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16416 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16417 cat >>confdefs.h <<\_ACEOF
16418 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16422 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16423 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16424 { (exit 1); exit 1; }; }
16432 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16433 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16434 if test "${ac_cv_header_stdc+set}" = set; then
16435 echo $ECHO_N "(cached) $ECHO_C" >&6
16437 cat >conftest.$ac_ext <<_ACEOF
16440 cat confdefs.h >>conftest.$ac_ext
16441 cat >>conftest.$ac_ext <<_ACEOF
16442 /* end confdefs.h. */
16443 #include <stdlib.h>
16444 #include <stdarg.h>
16445 #include <string.h>
16456 rm -f conftest.$ac_objext
16457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16458 (eval $ac_compile) 2>conftest.er1
16460 grep -v '^ *+' conftest.er1 >conftest.err
16462 cat conftest.err >&5
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); } &&
16465 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16467 (eval $ac_try) 2>&5
16469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16470 (exit $ac_status); }; } &&
16471 { ac_try='test -s conftest.$ac_objext'
16472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16473 (eval $ac_try) 2>&5
16475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16476 (exit $ac_status); }; }; then
16477 ac_cv_header_stdc=yes
16479 echo "$as_me: failed program was:" >&5
16480 sed 's/^/| /' conftest.$ac_ext >&5
16482 ac_cv_header_stdc=no
16484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16486 if test $ac_cv_header_stdc = yes; then
16487 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16488 cat >conftest.$ac_ext <<_ACEOF
16491 cat confdefs.h >>conftest.$ac_ext
16492 cat >>conftest.$ac_ext <<_ACEOF
16493 /* end confdefs.h. */
16494 #include <string.h>
16497 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16498 $EGREP "memchr" >/dev/null 2>&1; then
16501 ac_cv_header_stdc=no
16507 if test $ac_cv_header_stdc = yes; then
16508 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16509 cat >conftest.$ac_ext <<_ACEOF
16512 cat confdefs.h >>conftest.$ac_ext
16513 cat >>conftest.$ac_ext <<_ACEOF
16514 /* end confdefs.h. */
16515 #include <stdlib.h>
16518 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16519 $EGREP "free" >/dev/null 2>&1; then
16522 ac_cv_header_stdc=no
16528 if test $ac_cv_header_stdc = yes; then
16529 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16530 if test "$cross_compiling" = yes; then
16533 cat >conftest.$ac_ext <<_ACEOF
16536 cat confdefs.h >>conftest.$ac_ext
16537 cat >>conftest.$ac_ext <<_ACEOF
16538 /* end confdefs.h. */
16540 #if ((' ' & 0x0FF) == 0x020)
16541 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16542 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16544 # define ISLOWER(c) \
16545 (('a' <= (c) && (c) <= 'i') \
16546 || ('j' <= (c) && (c) <= 'r') \
16547 || ('s' <= (c) && (c) <= 'z'))
16548 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16551 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16556 for (i = 0; i < 256; i++)
16557 if (XOR (islower (i), ISLOWER (i))
16558 || toupper (i) != TOUPPER (i))
16563 rm -f conftest$ac_exeext
16564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16565 (eval $ac_link) 2>&5
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16570 (eval $ac_try) 2>&5
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); }; }; then
16576 echo "$as_me: program exited with status $ac_status" >&5
16577 echo "$as_me: failed program was:" >&5
16578 sed 's/^/| /' conftest.$ac_ext >&5
16580 ( exit $ac_status )
16581 ac_cv_header_stdc=no
16583 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16587 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16588 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16589 if test $ac_cv_header_stdc = yes; then
16591 cat >>confdefs.h <<\_ACEOF
16592 #define STDC_HEADERS 1
16597 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16607 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16608 inttypes.h stdint.h unistd.h
16610 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16611 echo "$as_me:$LINENO: checking for $ac_header" >&5
16612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16614 echo $ECHO_N "(cached) $ECHO_C" >&6
16616 cat >conftest.$ac_ext <<_ACEOF
16619 cat confdefs.h >>conftest.$ac_ext
16620 cat >>conftest.$ac_ext <<_ACEOF
16621 /* end confdefs.h. */
16622 $ac_includes_default
16624 #include <$ac_header>
16626 rm -f conftest.$ac_objext
16627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16628 (eval $ac_compile) 2>conftest.er1
16630 grep -v '^ *+' conftest.er1 >conftest.err
16632 cat conftest.err >&5
16633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16634 (exit $ac_status); } &&
16635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16637 (eval $ac_try) 2>&5
16639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16640 (exit $ac_status); }; } &&
16641 { ac_try='test -s conftest.$ac_objext'
16642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16643 (eval $ac_try) 2>&5
16645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646 (exit $ac_status); }; }; then
16647 eval "$as_ac_Header=yes"
16649 echo "$as_me: failed program was:" >&5
16650 sed 's/^/| /' conftest.$ac_ext >&5
16652 eval "$as_ac_Header=no"
16654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16658 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16659 cat >>confdefs.h <<_ACEOF
16660 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16674 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
16676 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16678 echo "$as_me:$LINENO: checking for $ac_header" >&5
16679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16680 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16681 echo $ECHO_N "(cached) $ECHO_C" >&6
16683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16686 # Is the header compilable?
16687 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16688 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16689 cat >conftest.$ac_ext <<_ACEOF
16692 cat confdefs.h >>conftest.$ac_ext
16693 cat >>conftest.$ac_ext <<_ACEOF
16694 /* end confdefs.h. */
16695 $ac_includes_default
16696 #include <$ac_header>
16698 rm -f conftest.$ac_objext
16699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16700 (eval $ac_compile) 2>conftest.er1
16702 grep -v '^ *+' conftest.er1 >conftest.err
16704 cat conftest.err >&5
16705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706 (exit $ac_status); } &&
16707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16709 (eval $ac_try) 2>&5
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); }; } &&
16713 { ac_try='test -s conftest.$ac_objext'
16714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16715 (eval $ac_try) 2>&5
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); }; }; then
16719 ac_header_compiler=yes
16721 echo "$as_me: failed program was:" >&5
16722 sed 's/^/| /' conftest.$ac_ext >&5
16724 ac_header_compiler=no
16726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16727 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16728 echo "${ECHO_T}$ac_header_compiler" >&6
16730 # Is the header present?
16731 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16732 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16733 cat >conftest.$ac_ext <<_ACEOF
16736 cat confdefs.h >>conftest.$ac_ext
16737 cat >>conftest.$ac_ext <<_ACEOF
16738 /* end confdefs.h. */
16739 #include <$ac_header>
16741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16742 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16744 grep -v '^ *+' conftest.er1 >conftest.err
16746 cat conftest.err >&5
16747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748 (exit $ac_status); } >/dev/null; then
16749 if test -s conftest.err; then
16750 ac_cpp_err=$ac_c_preproc_warn_flag
16751 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16758 if test -z "$ac_cpp_err"; then
16759 ac_header_preproc=yes
16761 echo "$as_me: failed program was:" >&5
16762 sed 's/^/| /' conftest.$ac_ext >&5
16764 ac_header_preproc=no
16766 rm -f conftest.err conftest.$ac_ext
16767 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16768 echo "${ECHO_T}$ac_header_preproc" >&6
16770 # So? What about this header?
16771 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16773 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16774 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16776 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16777 ac_header_preproc=yes
16780 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16781 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16782 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16783 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16784 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16785 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16786 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16787 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16788 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16789 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16790 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16791 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16794 ## ----------------------------------------- ##
16795 ## Report this to wx-dev@lists.wxwidgets.org ##
16796 ## ----------------------------------------- ##
16799 sed "s/^/$as_me: WARNING: /" >&2
16802 echo "$as_me:$LINENO: checking for $ac_header" >&5
16803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16805 echo $ECHO_N "(cached) $ECHO_C" >&6
16807 eval "$as_ac_Header=\$ac_header_preproc"
16809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16810 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16814 cat >>confdefs.h <<_ACEOF
16815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16823 if test "$ac_cv_header_wchar_h" != "yes"; then
16825 for ac_header in wcstr.h
16827 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16829 echo "$as_me:$LINENO: checking for $ac_header" >&5
16830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16832 echo $ECHO_N "(cached) $ECHO_C" >&6
16834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16835 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16837 # Is the header compilable?
16838 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16839 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16840 cat >conftest.$ac_ext <<_ACEOF
16843 cat confdefs.h >>conftest.$ac_ext
16844 cat >>conftest.$ac_ext <<_ACEOF
16845 /* end confdefs.h. */
16846 $ac_includes_default
16847 #include <$ac_header>
16849 rm -f conftest.$ac_objext
16850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16851 (eval $ac_compile) 2>conftest.er1
16853 grep -v '^ *+' conftest.er1 >conftest.err
16855 cat conftest.err >&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); } &&
16858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16860 (eval $ac_try) 2>&5
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }; } &&
16864 { ac_try='test -s conftest.$ac_objext'
16865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16866 (eval $ac_try) 2>&5
16868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869 (exit $ac_status); }; }; then
16870 ac_header_compiler=yes
16872 echo "$as_me: failed program was:" >&5
16873 sed 's/^/| /' conftest.$ac_ext >&5
16875 ac_header_compiler=no
16877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16878 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16879 echo "${ECHO_T}$ac_header_compiler" >&6
16881 # Is the header present?
16882 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16883 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16884 cat >conftest.$ac_ext <<_ACEOF
16887 cat confdefs.h >>conftest.$ac_ext
16888 cat >>conftest.$ac_ext <<_ACEOF
16889 /* end confdefs.h. */
16890 #include <$ac_header>
16892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16893 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16895 grep -v '^ *+' conftest.er1 >conftest.err
16897 cat conftest.err >&5
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); } >/dev/null; then
16900 if test -s conftest.err; then
16901 ac_cpp_err=$ac_c_preproc_warn_flag
16902 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16909 if test -z "$ac_cpp_err"; then
16910 ac_header_preproc=yes
16912 echo "$as_me: failed program was:" >&5
16913 sed 's/^/| /' conftest.$ac_ext >&5
16915 ac_header_preproc=no
16917 rm -f conftest.err conftest.$ac_ext
16918 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16919 echo "${ECHO_T}$ac_header_preproc" >&6
16921 # So? What about this header?
16922 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16924 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16925 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16927 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16928 ac_header_preproc=yes
16931 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16932 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16933 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16934 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16935 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16936 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16937 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16938 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16939 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16940 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16941 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16942 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16945 ## ----------------------------------------- ##
16946 ## Report this to wx-dev@lists.wxwidgets.org ##
16947 ## ----------------------------------------- ##
16950 sed "s/^/$as_me: WARNING: /" >&2
16953 echo "$as_me:$LINENO: checking for $ac_header" >&5
16954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16956 echo $ECHO_N "(cached) $ECHO_C" >&6
16958 eval "$as_ac_Header=\$ac_header_preproc"
16960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16964 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16965 cat >>confdefs.h <<_ACEOF
16966 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16976 *-pc-os2_emx | *-pc-os2-emx )
16977 if test $ac_cv_header_langinfo_h = "yes" \
16978 -a \( "$wx_cv_gccversion" = "EMX2" \
16979 -o "$wx_cv_gccversion" = "EMX3" \
16980 -o "$wx_cv_gccversion" = "Innotek5" \); then
16981 LIBS="$LIBS -lintl"
16986 if test "$USE_UNIX" = 1 ; then
16988 for ac_header in sys/select.h
16990 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16992 echo "$as_me:$LINENO: checking for $ac_header" >&5
16993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16995 echo $ECHO_N "(cached) $ECHO_C" >&6
16997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16998 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17000 # Is the header compilable?
17001 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17002 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17003 cat >conftest.$ac_ext <<_ACEOF
17006 cat confdefs.h >>conftest.$ac_ext
17007 cat >>conftest.$ac_ext <<_ACEOF
17008 /* end confdefs.h. */
17009 $ac_includes_default
17010 #include <$ac_header>
17012 rm -f conftest.$ac_objext
17013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17014 (eval $ac_compile) 2>conftest.er1
17016 grep -v '^ *+' conftest.er1 >conftest.err
17018 cat conftest.err >&5
17019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020 (exit $ac_status); } &&
17021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17023 (eval $ac_try) 2>&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); }; } &&
17027 { ac_try='test -s conftest.$ac_objext'
17028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17029 (eval $ac_try) 2>&5
17031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17032 (exit $ac_status); }; }; then
17033 ac_header_compiler=yes
17035 echo "$as_me: failed program was:" >&5
17036 sed 's/^/| /' conftest.$ac_ext >&5
17038 ac_header_compiler=no
17040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17041 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17042 echo "${ECHO_T}$ac_header_compiler" >&6
17044 # Is the header present?
17045 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17046 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17047 cat >conftest.$ac_ext <<_ACEOF
17050 cat confdefs.h >>conftest.$ac_ext
17051 cat >>conftest.$ac_ext <<_ACEOF
17052 /* end confdefs.h. */
17053 #include <$ac_header>
17055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17056 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17058 grep -v '^ *+' conftest.er1 >conftest.err
17060 cat conftest.err >&5
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); } >/dev/null; then
17063 if test -s conftest.err; then
17064 ac_cpp_err=$ac_c_preproc_warn_flag
17065 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17072 if test -z "$ac_cpp_err"; then
17073 ac_header_preproc=yes
17075 echo "$as_me: failed program was:" >&5
17076 sed 's/^/| /' conftest.$ac_ext >&5
17078 ac_header_preproc=no
17080 rm -f conftest.err conftest.$ac_ext
17081 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17082 echo "${ECHO_T}$ac_header_preproc" >&6
17084 # So? What about this header?
17085 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17087 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17088 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17090 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17091 ac_header_preproc=yes
17094 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17095 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17096 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17097 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17098 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17099 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17100 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17101 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17102 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17103 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17104 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17105 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17108 ## ----------------------------------------- ##
17109 ## Report this to wx-dev@lists.wxwidgets.org ##
17110 ## ----------------------------------------- ##
17113 sed "s/^/$as_me: WARNING: /" >&2
17116 echo "$as_me:$LINENO: checking for $ac_header" >&5
17117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17119 echo $ECHO_N "(cached) $ECHO_C" >&6
17121 eval "$as_ac_Header=\$ac_header_preproc"
17123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17128 cat >>confdefs.h <<_ACEOF
17129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17139 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17140 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17141 if test "${ac_cv_c_const+set}" = set; then
17142 echo $ECHO_N "(cached) $ECHO_C" >&6
17144 cat >conftest.$ac_ext <<_ACEOF
17147 cat confdefs.h >>conftest.$ac_ext
17148 cat >>conftest.$ac_ext <<_ACEOF
17149 /* end confdefs.h. */
17154 /* FIXME: Include the comments suggested by Paul. */
17155 #ifndef __cplusplus
17156 /* Ultrix mips cc rejects this. */
17157 typedef int charset[2];
17159 /* SunOS 4.1.1 cc rejects this. */
17160 char const *const *ccp;
17162 /* NEC SVR4.0.2 mips cc rejects this. */
17163 struct point {int x, y;};
17164 static struct point const zero = {0,0};
17165 /* AIX XL C 1.02.0.0 rejects this.
17166 It does not let you subtract one const X* pointer from another in
17167 an arm of an if-expression whose if-part is not a constant
17169 const char *g = "string";
17170 ccp = &g + (g ? g-g : 0);
17171 /* HPUX 7.0 cc rejects these. */
17174 ccp = (char const *const *) p;
17175 { /* SCO 3.2v4 cc rejects this. */
17177 char const *s = 0 ? (char *) 0 : (char const *) 0;
17181 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17182 int x[] = {25, 17};
17183 const int *foo = &x[0];
17186 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17187 typedef const int *iptr;
17191 { /* AIX XL C 1.02.0.0 rejects this saying
17192 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17193 struct s { int j; const int *ap[3]; };
17194 struct s *b; b->j = 5;
17196 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17197 const int foo = 10;
17205 rm -f conftest.$ac_objext
17206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17207 (eval $ac_compile) 2>conftest.er1
17209 grep -v '^ *+' conftest.er1 >conftest.err
17211 cat conftest.err >&5
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); } &&
17214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17216 (eval $ac_try) 2>&5
17218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17219 (exit $ac_status); }; } &&
17220 { ac_try='test -s conftest.$ac_objext'
17221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17222 (eval $ac_try) 2>&5
17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225 (exit $ac_status); }; }; then
17228 echo "$as_me: failed program was:" >&5
17229 sed 's/^/| /' conftest.$ac_ext >&5
17233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17235 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17236 echo "${ECHO_T}$ac_cv_c_const" >&6
17237 if test $ac_cv_c_const = no; then
17239 cat >>confdefs.h <<\_ACEOF
17245 echo "$as_me:$LINENO: checking for inline" >&5
17246 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17247 if test "${ac_cv_c_inline+set}" = set; then
17248 echo $ECHO_N "(cached) $ECHO_C" >&6
17251 for ac_kw in inline __inline__ __inline; do
17252 cat >conftest.$ac_ext <<_ACEOF
17255 cat confdefs.h >>conftest.$ac_ext
17256 cat >>conftest.$ac_ext <<_ACEOF
17257 /* end confdefs.h. */
17258 #ifndef __cplusplus
17260 static $ac_kw foo_t static_foo () {return 0; }
17261 $ac_kw foo_t foo () {return 0; }
17265 rm -f conftest.$ac_objext
17266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17267 (eval $ac_compile) 2>conftest.er1
17269 grep -v '^ *+' conftest.er1 >conftest.err
17271 cat conftest.err >&5
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); } &&
17274 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17276 (eval $ac_try) 2>&5
17278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17279 (exit $ac_status); }; } &&
17280 { ac_try='test -s conftest.$ac_objext'
17281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17282 (eval $ac_try) 2>&5
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); }; }; then
17286 ac_cv_c_inline=$ac_kw; break
17288 echo "$as_me: failed program was:" >&5
17289 sed 's/^/| /' conftest.$ac_ext >&5
17292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17296 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17297 echo "${ECHO_T}$ac_cv_c_inline" >&6
17300 case $ac_cv_c_inline in
17303 case $ac_cv_c_inline in
17305 *) ac_val=$ac_cv_c_inline;;
17307 cat >>confdefs.h <<_ACEOF
17308 #ifndef __cplusplus
17309 #define inline $ac_val
17316 echo "$as_me:$LINENO: checking for char" >&5
17317 echo $ECHO_N "checking for char... $ECHO_C" >&6
17318 if test "${ac_cv_type_char+set}" = set; then
17319 echo $ECHO_N "(cached) $ECHO_C" >&6
17321 cat >conftest.$ac_ext <<_ACEOF
17324 cat confdefs.h >>conftest.$ac_ext
17325 cat >>conftest.$ac_ext <<_ACEOF
17326 /* end confdefs.h. */
17327 $ac_includes_default
17339 rm -f conftest.$ac_objext
17340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17341 (eval $ac_compile) 2>conftest.er1
17343 grep -v '^ *+' conftest.er1 >conftest.err
17345 cat conftest.err >&5
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); } &&
17348 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17350 (eval $ac_try) 2>&5
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); }; } &&
17354 { ac_try='test -s conftest.$ac_objext'
17355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17356 (eval $ac_try) 2>&5
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); }; }; then
17360 ac_cv_type_char=yes
17362 echo "$as_me: failed program was:" >&5
17363 sed 's/^/| /' conftest.$ac_ext >&5
17367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17369 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17370 echo "${ECHO_T}$ac_cv_type_char" >&6
17372 echo "$as_me:$LINENO: checking size of char" >&5
17373 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17374 if test "${ac_cv_sizeof_char+set}" = set; then
17375 echo $ECHO_N "(cached) $ECHO_C" >&6
17377 if test "$ac_cv_type_char" = yes; then
17378 # The cast to unsigned long works around a bug in the HP C Compiler
17379 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17380 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17381 # This bug is HP SR number 8606223364.
17382 if test "$cross_compiling" = yes; then
17383 # Depending upon the size, compute the lo and hi bounds.
17384 cat >conftest.$ac_ext <<_ACEOF
17387 cat confdefs.h >>conftest.$ac_ext
17388 cat >>conftest.$ac_ext <<_ACEOF
17389 /* end confdefs.h. */
17390 $ac_includes_default
17394 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17401 rm -f conftest.$ac_objext
17402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17403 (eval $ac_compile) 2>conftest.er1
17405 grep -v '^ *+' conftest.er1 >conftest.err
17407 cat conftest.err >&5
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); } &&
17410 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17412 (eval $ac_try) 2>&5
17414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17415 (exit $ac_status); }; } &&
17416 { ac_try='test -s conftest.$ac_objext'
17417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17418 (eval $ac_try) 2>&5
17420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17421 (exit $ac_status); }; }; then
17424 cat >conftest.$ac_ext <<_ACEOF
17427 cat confdefs.h >>conftest.$ac_ext
17428 cat >>conftest.$ac_ext <<_ACEOF
17429 /* end confdefs.h. */
17430 $ac_includes_default
17434 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17441 rm -f conftest.$ac_objext
17442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17443 (eval $ac_compile) 2>conftest.er1
17445 grep -v '^ *+' conftest.er1 >conftest.err
17447 cat conftest.err >&5
17448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449 (exit $ac_status); } &&
17450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17452 (eval $ac_try) 2>&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); }; } &&
17456 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
17462 ac_hi=$ac_mid; break
17464 echo "$as_me: failed program was:" >&5
17465 sed 's/^/| /' conftest.$ac_ext >&5
17467 ac_lo=`expr $ac_mid + 1`
17468 if test $ac_lo -le $ac_mid; then
17472 ac_mid=`expr 2 '*' $ac_mid + 1`
17474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17477 echo "$as_me: failed program was:" >&5
17478 sed 's/^/| /' conftest.$ac_ext >&5
17480 cat >conftest.$ac_ext <<_ACEOF
17483 cat confdefs.h >>conftest.$ac_ext
17484 cat >>conftest.$ac_ext <<_ACEOF
17485 /* end confdefs.h. */
17486 $ac_includes_default
17490 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17497 rm -f conftest.$ac_objext
17498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17499 (eval $ac_compile) 2>conftest.er1
17501 grep -v '^ *+' conftest.er1 >conftest.err
17503 cat conftest.err >&5
17504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17505 (exit $ac_status); } &&
17506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17508 (eval $ac_try) 2>&5
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); }; } &&
17512 { ac_try='test -s conftest.$ac_objext'
17513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17514 (eval $ac_try) 2>&5
17516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517 (exit $ac_status); }; }; then
17520 cat >conftest.$ac_ext <<_ACEOF
17523 cat confdefs.h >>conftest.$ac_ext
17524 cat >>conftest.$ac_ext <<_ACEOF
17525 /* end confdefs.h. */
17526 $ac_includes_default
17530 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17537 rm -f conftest.$ac_objext
17538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17539 (eval $ac_compile) 2>conftest.er1
17541 grep -v '^ *+' conftest.er1 >conftest.err
17543 cat conftest.err >&5
17544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545 (exit $ac_status); } &&
17546 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17548 (eval $ac_try) 2>&5
17550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17551 (exit $ac_status); }; } &&
17552 { ac_try='test -s conftest.$ac_objext'
17553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17554 (eval $ac_try) 2>&5
17556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557 (exit $ac_status); }; }; then
17558 ac_lo=$ac_mid; break
17560 echo "$as_me: failed program was:" >&5
17561 sed 's/^/| /' conftest.$ac_ext >&5
17563 ac_hi=`expr '(' $ac_mid ')' - 1`
17564 if test $ac_mid -le $ac_hi; then
17568 ac_mid=`expr 2 '*' $ac_mid`
17570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17573 echo "$as_me: failed program was:" >&5
17574 sed 's/^/| /' conftest.$ac_ext >&5
17578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17581 # Binary search between lo and hi bounds.
17582 while test "x$ac_lo" != "x$ac_hi"; do
17583 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17584 cat >conftest.$ac_ext <<_ACEOF
17587 cat confdefs.h >>conftest.$ac_ext
17588 cat >>conftest.$ac_ext <<_ACEOF
17589 /* end confdefs.h. */
17590 $ac_includes_default
17594 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17601 rm -f conftest.$ac_objext
17602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17603 (eval $ac_compile) 2>conftest.er1
17605 grep -v '^ *+' conftest.er1 >conftest.err
17607 cat conftest.err >&5
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); } &&
17610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17612 (eval $ac_try) 2>&5
17614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615 (exit $ac_status); }; } &&
17616 { ac_try='test -s conftest.$ac_objext'
17617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17618 (eval $ac_try) 2>&5
17620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17621 (exit $ac_status); }; }; then
17624 echo "$as_me: failed program was:" >&5
17625 sed 's/^/| /' conftest.$ac_ext >&5
17627 ac_lo=`expr '(' $ac_mid ')' + 1`
17629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17632 ?*) ac_cv_sizeof_char=$ac_lo;;
17633 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17634 See \`config.log' for more details." >&5
17635 echo "$as_me: error: cannot compute sizeof (char), 77
17636 See \`config.log' for more details." >&2;}
17637 { (exit 1); exit 1; }; } ;;
17640 if test "$cross_compiling" = yes; then
17641 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17642 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17643 { (exit 1); exit 1; }; }
17645 cat >conftest.$ac_ext <<_ACEOF
17648 cat confdefs.h >>conftest.$ac_ext
17649 cat >>conftest.$ac_ext <<_ACEOF
17650 /* end confdefs.h. */
17651 $ac_includes_default
17652 long longval () { return (long) (sizeof (char)); }
17653 unsigned long ulongval () { return (long) (sizeof (char)); }
17655 #include <stdlib.h>
17660 FILE *f = fopen ("conftest.val", "w");
17663 if (((long) (sizeof (char))) < 0)
17665 long i = longval ();
17666 if (i != ((long) (sizeof (char))))
17668 fprintf (f, "%ld\n", i);
17672 unsigned long i = ulongval ();
17673 if (i != ((long) (sizeof (char))))
17675 fprintf (f, "%lu\n", i);
17677 exit (ferror (f) || fclose (f) != 0);
17683 rm -f conftest$ac_exeext
17684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17685 (eval $ac_link) 2>&5
17687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17690 (eval $ac_try) 2>&5
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); }; }; then
17694 ac_cv_sizeof_char=`cat conftest.val`
17696 echo "$as_me: program exited with status $ac_status" >&5
17697 echo "$as_me: failed program was:" >&5
17698 sed 's/^/| /' conftest.$ac_ext >&5
17700 ( exit $ac_status )
17701 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17702 See \`config.log' for more details." >&5
17703 echo "$as_me: error: cannot compute sizeof (char), 77
17704 See \`config.log' for more details." >&2;}
17705 { (exit 1); exit 1; }; }
17707 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17712 ac_cv_sizeof_char=0
17715 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17716 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17717 cat >>confdefs.h <<_ACEOF
17718 #define SIZEOF_CHAR $ac_cv_sizeof_char
17722 echo "$as_me:$LINENO: checking for short" >&5
17723 echo $ECHO_N "checking for short... $ECHO_C" >&6
17724 if test "${ac_cv_type_short+set}" = set; then
17725 echo $ECHO_N "(cached) $ECHO_C" >&6
17727 cat >conftest.$ac_ext <<_ACEOF
17730 cat confdefs.h >>conftest.$ac_ext
17731 cat >>conftest.$ac_ext <<_ACEOF
17732 /* end confdefs.h. */
17733 $ac_includes_default
17739 if (sizeof (short))
17745 rm -f conftest.$ac_objext
17746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17747 (eval $ac_compile) 2>conftest.er1
17749 grep -v '^ *+' conftest.er1 >conftest.err
17751 cat conftest.err >&5
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); } &&
17754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17756 (eval $ac_try) 2>&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); }; } &&
17760 { ac_try='test -s conftest.$ac_objext'
17761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17762 (eval $ac_try) 2>&5
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); }; }; then
17766 ac_cv_type_short=yes
17768 echo "$as_me: failed program was:" >&5
17769 sed 's/^/| /' conftest.$ac_ext >&5
17771 ac_cv_type_short=no
17773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17775 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17776 echo "${ECHO_T}$ac_cv_type_short" >&6
17778 echo "$as_me:$LINENO: checking size of short" >&5
17779 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17780 if test "${ac_cv_sizeof_short+set}" = set; then
17781 echo $ECHO_N "(cached) $ECHO_C" >&6
17783 if test "$ac_cv_type_short" = yes; then
17784 # The cast to unsigned long works around a bug in the HP C Compiler
17785 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17786 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17787 # This bug is HP SR number 8606223364.
17788 if test "$cross_compiling" = yes; then
17789 # Depending upon the size, compute the lo and hi bounds.
17790 cat >conftest.$ac_ext <<_ACEOF
17793 cat confdefs.h >>conftest.$ac_ext
17794 cat >>conftest.$ac_ext <<_ACEOF
17795 /* end confdefs.h. */
17796 $ac_includes_default
17800 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17807 rm -f conftest.$ac_objext
17808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17809 (eval $ac_compile) 2>conftest.er1
17811 grep -v '^ *+' conftest.er1 >conftest.err
17813 cat conftest.err >&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); } &&
17816 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17818 (eval $ac_try) 2>&5
17820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17821 (exit $ac_status); }; } &&
17822 { ac_try='test -s conftest.$ac_objext'
17823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17824 (eval $ac_try) 2>&5
17826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17827 (exit $ac_status); }; }; then
17830 cat >conftest.$ac_ext <<_ACEOF
17833 cat confdefs.h >>conftest.$ac_ext
17834 cat >>conftest.$ac_ext <<_ACEOF
17835 /* end confdefs.h. */
17836 $ac_includes_default
17840 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17847 rm -f conftest.$ac_objext
17848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17849 (eval $ac_compile) 2>conftest.er1
17851 grep -v '^ *+' conftest.er1 >conftest.err
17853 cat conftest.err >&5
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); } &&
17856 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858 (eval $ac_try) 2>&5
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); }; } &&
17862 { ac_try='test -s conftest.$ac_objext'
17863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864 (eval $ac_try) 2>&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); }; }; then
17868 ac_hi=$ac_mid; break
17870 echo "$as_me: failed program was:" >&5
17871 sed 's/^/| /' conftest.$ac_ext >&5
17873 ac_lo=`expr $ac_mid + 1`
17874 if test $ac_lo -le $ac_mid; then
17878 ac_mid=`expr 2 '*' $ac_mid + 1`
17880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17883 echo "$as_me: failed program was:" >&5
17884 sed 's/^/| /' conftest.$ac_ext >&5
17886 cat >conftest.$ac_ext <<_ACEOF
17889 cat confdefs.h >>conftest.$ac_ext
17890 cat >>conftest.$ac_ext <<_ACEOF
17891 /* end confdefs.h. */
17892 $ac_includes_default
17896 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17903 rm -f conftest.$ac_objext
17904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17905 (eval $ac_compile) 2>conftest.er1
17907 grep -v '^ *+' conftest.er1 >conftest.err
17909 cat conftest.err >&5
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); } &&
17912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17914 (eval $ac_try) 2>&5
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); }; } &&
17918 { ac_try='test -s conftest.$ac_objext'
17919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17920 (eval $ac_try) 2>&5
17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 (exit $ac_status); }; }; then
17926 cat >conftest.$ac_ext <<_ACEOF
17929 cat confdefs.h >>conftest.$ac_ext
17930 cat >>conftest.$ac_ext <<_ACEOF
17931 /* end confdefs.h. */
17932 $ac_includes_default
17936 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17943 rm -f conftest.$ac_objext
17944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17945 (eval $ac_compile) 2>conftest.er1
17947 grep -v '^ *+' conftest.er1 >conftest.err
17949 cat conftest.err >&5
17950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17951 (exit $ac_status); } &&
17952 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17954 (eval $ac_try) 2>&5
17956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17957 (exit $ac_status); }; } &&
17958 { ac_try='test -s conftest.$ac_objext'
17959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17960 (eval $ac_try) 2>&5
17962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963 (exit $ac_status); }; }; then
17964 ac_lo=$ac_mid; break
17966 echo "$as_me: failed program was:" >&5
17967 sed 's/^/| /' conftest.$ac_ext >&5
17969 ac_hi=`expr '(' $ac_mid ')' - 1`
17970 if test $ac_mid -le $ac_hi; then
17974 ac_mid=`expr 2 '*' $ac_mid`
17976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17979 echo "$as_me: failed program was:" >&5
17980 sed 's/^/| /' conftest.$ac_ext >&5
17984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17987 # Binary search between lo and hi bounds.
17988 while test "x$ac_lo" != "x$ac_hi"; do
17989 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17990 cat >conftest.$ac_ext <<_ACEOF
17993 cat confdefs.h >>conftest.$ac_ext
17994 cat >>conftest.$ac_ext <<_ACEOF
17995 /* end confdefs.h. */
17996 $ac_includes_default
18000 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18007 rm -f conftest.$ac_objext
18008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18009 (eval $ac_compile) 2>conftest.er1
18011 grep -v '^ *+' conftest.er1 >conftest.err
18013 cat conftest.err >&5
18014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); } &&
18016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18018 (eval $ac_try) 2>&5
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); }; } &&
18022 { ac_try='test -s conftest.$ac_objext'
18023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18024 (eval $ac_try) 2>&5
18026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18027 (exit $ac_status); }; }; then
18030 echo "$as_me: failed program was:" >&5
18031 sed 's/^/| /' conftest.$ac_ext >&5
18033 ac_lo=`expr '(' $ac_mid ')' + 1`
18035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18038 ?*) ac_cv_sizeof_short=$ac_lo;;
18039 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18040 See \`config.log' for more details." >&5
18041 echo "$as_me: error: cannot compute sizeof (short), 77
18042 See \`config.log' for more details." >&2;}
18043 { (exit 1); exit 1; }; } ;;
18046 if test "$cross_compiling" = yes; then
18047 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18048 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18049 { (exit 1); exit 1; }; }
18051 cat >conftest.$ac_ext <<_ACEOF
18054 cat confdefs.h >>conftest.$ac_ext
18055 cat >>conftest.$ac_ext <<_ACEOF
18056 /* end confdefs.h. */
18057 $ac_includes_default
18058 long longval () { return (long) (sizeof (short)); }
18059 unsigned long ulongval () { return (long) (sizeof (short)); }
18061 #include <stdlib.h>
18066 FILE *f = fopen ("conftest.val", "w");
18069 if (((long) (sizeof (short))) < 0)
18071 long i = longval ();
18072 if (i != ((long) (sizeof (short))))
18074 fprintf (f, "%ld\n", i);
18078 unsigned long i = ulongval ();
18079 if (i != ((long) (sizeof (short))))
18081 fprintf (f, "%lu\n", i);
18083 exit (ferror (f) || fclose (f) != 0);
18089 rm -f conftest$ac_exeext
18090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18091 (eval $ac_link) 2>&5
18093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18094 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18096 (eval $ac_try) 2>&5
18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099 (exit $ac_status); }; }; then
18100 ac_cv_sizeof_short=`cat conftest.val`
18102 echo "$as_me: program exited with status $ac_status" >&5
18103 echo "$as_me: failed program was:" >&5
18104 sed 's/^/| /' conftest.$ac_ext >&5
18106 ( exit $ac_status )
18107 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18108 See \`config.log' for more details." >&5
18109 echo "$as_me: error: cannot compute sizeof (short), 77
18110 See \`config.log' for more details." >&2;}
18111 { (exit 1); exit 1; }; }
18113 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18118 ac_cv_sizeof_short=0
18121 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18122 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18123 cat >>confdefs.h <<_ACEOF
18124 #define SIZEOF_SHORT $ac_cv_sizeof_short
18128 echo "$as_me:$LINENO: checking for void *" >&5
18129 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18130 if test "${ac_cv_type_void_p+set}" = set; then
18131 echo $ECHO_N "(cached) $ECHO_C" >&6
18133 cat >conftest.$ac_ext <<_ACEOF
18136 cat confdefs.h >>conftest.$ac_ext
18137 cat >>conftest.$ac_ext <<_ACEOF
18138 /* end confdefs.h. */
18139 $ac_includes_default
18145 if (sizeof (void *))
18151 rm -f conftest.$ac_objext
18152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18153 (eval $ac_compile) 2>conftest.er1
18155 grep -v '^ *+' conftest.er1 >conftest.err
18157 cat conftest.err >&5
18158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159 (exit $ac_status); } &&
18160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18162 (eval $ac_try) 2>&5
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); }; } &&
18166 { ac_try='test -s conftest.$ac_objext'
18167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18168 (eval $ac_try) 2>&5
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); }; }; then
18172 ac_cv_type_void_p=yes
18174 echo "$as_me: failed program was:" >&5
18175 sed 's/^/| /' conftest.$ac_ext >&5
18177 ac_cv_type_void_p=no
18179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18181 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18182 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18184 echo "$as_me:$LINENO: checking size of void *" >&5
18185 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18186 if test "${ac_cv_sizeof_void_p+set}" = set; then
18187 echo $ECHO_N "(cached) $ECHO_C" >&6
18189 if test "$ac_cv_type_void_p" = yes; then
18190 # The cast to unsigned long works around a bug in the HP C Compiler
18191 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18192 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18193 # This bug is HP SR number 8606223364.
18194 if test "$cross_compiling" = yes; then
18195 # Depending upon the size, compute the lo and hi bounds.
18196 cat >conftest.$ac_ext <<_ACEOF
18199 cat confdefs.h >>conftest.$ac_ext
18200 cat >>conftest.$ac_ext <<_ACEOF
18201 /* end confdefs.h. */
18202 $ac_includes_default
18206 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18213 rm -f conftest.$ac_objext
18214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18215 (eval $ac_compile) 2>conftest.er1
18217 grep -v '^ *+' conftest.er1 >conftest.err
18219 cat conftest.err >&5
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); } &&
18222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18224 (eval $ac_try) 2>&5
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); }; } &&
18228 { ac_try='test -s conftest.$ac_objext'
18229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18230 (eval $ac_try) 2>&5
18232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233 (exit $ac_status); }; }; then
18236 cat >conftest.$ac_ext <<_ACEOF
18239 cat confdefs.h >>conftest.$ac_ext
18240 cat >>conftest.$ac_ext <<_ACEOF
18241 /* end confdefs.h. */
18242 $ac_includes_default
18246 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18253 rm -f conftest.$ac_objext
18254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18255 (eval $ac_compile) 2>conftest.er1
18257 grep -v '^ *+' conftest.er1 >conftest.err
18259 cat conftest.err >&5
18260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18261 (exit $ac_status); } &&
18262 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18264 (eval $ac_try) 2>&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); }; } &&
18268 { ac_try='test -s conftest.$ac_objext'
18269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18270 (eval $ac_try) 2>&5
18272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273 (exit $ac_status); }; }; then
18274 ac_hi=$ac_mid; break
18276 echo "$as_me: failed program was:" >&5
18277 sed 's/^/| /' conftest.$ac_ext >&5
18279 ac_lo=`expr $ac_mid + 1`
18280 if test $ac_lo -le $ac_mid; then
18284 ac_mid=`expr 2 '*' $ac_mid + 1`
18286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18289 echo "$as_me: failed program was:" >&5
18290 sed 's/^/| /' conftest.$ac_ext >&5
18292 cat >conftest.$ac_ext <<_ACEOF
18295 cat confdefs.h >>conftest.$ac_ext
18296 cat >>conftest.$ac_ext <<_ACEOF
18297 /* end confdefs.h. */
18298 $ac_includes_default
18302 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18309 rm -f conftest.$ac_objext
18310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18311 (eval $ac_compile) 2>conftest.er1
18313 grep -v '^ *+' conftest.er1 >conftest.err
18315 cat conftest.err >&5
18316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18317 (exit $ac_status); } &&
18318 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18320 (eval $ac_try) 2>&5
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); }; } &&
18324 { ac_try='test -s conftest.$ac_objext'
18325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18326 (eval $ac_try) 2>&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); }; }; then
18332 cat >conftest.$ac_ext <<_ACEOF
18335 cat confdefs.h >>conftest.$ac_ext
18336 cat >>conftest.$ac_ext <<_ACEOF
18337 /* end confdefs.h. */
18338 $ac_includes_default
18342 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18349 rm -f conftest.$ac_objext
18350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18351 (eval $ac_compile) 2>conftest.er1
18353 grep -v '^ *+' conftest.er1 >conftest.err
18355 cat conftest.err >&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); } &&
18358 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18360 (eval $ac_try) 2>&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); }; } &&
18364 { ac_try='test -s conftest.$ac_objext'
18365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18366 (eval $ac_try) 2>&5
18368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18369 (exit $ac_status); }; }; then
18370 ac_lo=$ac_mid; break
18372 echo "$as_me: failed program was:" >&5
18373 sed 's/^/| /' conftest.$ac_ext >&5
18375 ac_hi=`expr '(' $ac_mid ')' - 1`
18376 if test $ac_mid -le $ac_hi; then
18380 ac_mid=`expr 2 '*' $ac_mid`
18382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18385 echo "$as_me: failed program was:" >&5
18386 sed 's/^/| /' conftest.$ac_ext >&5
18390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18393 # Binary search between lo and hi bounds.
18394 while test "x$ac_lo" != "x$ac_hi"; do
18395 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18396 cat >conftest.$ac_ext <<_ACEOF
18399 cat confdefs.h >>conftest.$ac_ext
18400 cat >>conftest.$ac_ext <<_ACEOF
18401 /* end confdefs.h. */
18402 $ac_includes_default
18406 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18413 rm -f conftest.$ac_objext
18414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18415 (eval $ac_compile) 2>conftest.er1
18417 grep -v '^ *+' conftest.er1 >conftest.err
18419 cat conftest.err >&5
18420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18421 (exit $ac_status); } &&
18422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18424 (eval $ac_try) 2>&5
18426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427 (exit $ac_status); }; } &&
18428 { ac_try='test -s conftest.$ac_objext'
18429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18430 (eval $ac_try) 2>&5
18432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18433 (exit $ac_status); }; }; then
18436 echo "$as_me: failed program was:" >&5
18437 sed 's/^/| /' conftest.$ac_ext >&5
18439 ac_lo=`expr '(' $ac_mid ')' + 1`
18441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18444 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18445 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18446 See \`config.log' for more details." >&5
18447 echo "$as_me: error: cannot compute sizeof (void *), 77
18448 See \`config.log' for more details." >&2;}
18449 { (exit 1); exit 1; }; } ;;
18452 if test "$cross_compiling" = yes; then
18453 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18454 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18455 { (exit 1); exit 1; }; }
18457 cat >conftest.$ac_ext <<_ACEOF
18460 cat confdefs.h >>conftest.$ac_ext
18461 cat >>conftest.$ac_ext <<_ACEOF
18462 /* end confdefs.h. */
18463 $ac_includes_default
18464 long longval () { return (long) (sizeof (void *)); }
18465 unsigned long ulongval () { return (long) (sizeof (void *)); }
18467 #include <stdlib.h>
18472 FILE *f = fopen ("conftest.val", "w");
18475 if (((long) (sizeof (void *))) < 0)
18477 long i = longval ();
18478 if (i != ((long) (sizeof (void *))))
18480 fprintf (f, "%ld\n", i);
18484 unsigned long i = ulongval ();
18485 if (i != ((long) (sizeof (void *))))
18487 fprintf (f, "%lu\n", i);
18489 exit (ferror (f) || fclose (f) != 0);
18495 rm -f conftest$ac_exeext
18496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18497 (eval $ac_link) 2>&5
18499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18500 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18502 (eval $ac_try) 2>&5
18504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18505 (exit $ac_status); }; }; then
18506 ac_cv_sizeof_void_p=`cat conftest.val`
18508 echo "$as_me: program exited with status $ac_status" >&5
18509 echo "$as_me: failed program was:" >&5
18510 sed 's/^/| /' conftest.$ac_ext >&5
18512 ( exit $ac_status )
18513 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18514 See \`config.log' for more details." >&5
18515 echo "$as_me: error: cannot compute sizeof (void *), 77
18516 See \`config.log' for more details." >&2;}
18517 { (exit 1); exit 1; }; }
18519 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18524 ac_cv_sizeof_void_p=0
18527 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18528 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18529 cat >>confdefs.h <<_ACEOF
18530 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18534 echo "$as_me:$LINENO: checking for int" >&5
18535 echo $ECHO_N "checking for int... $ECHO_C" >&6
18536 if test "${ac_cv_type_int+set}" = set; then
18537 echo $ECHO_N "(cached) $ECHO_C" >&6
18539 cat >conftest.$ac_ext <<_ACEOF
18542 cat confdefs.h >>conftest.$ac_ext
18543 cat >>conftest.$ac_ext <<_ACEOF
18544 /* end confdefs.h. */
18545 $ac_includes_default
18557 rm -f conftest.$ac_objext
18558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18559 (eval $ac_compile) 2>conftest.er1
18561 grep -v '^ *+' conftest.er1 >conftest.err
18563 cat conftest.err >&5
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); } &&
18566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18568 (eval $ac_try) 2>&5
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); }; } &&
18572 { ac_try='test -s conftest.$ac_objext'
18573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18574 (eval $ac_try) 2>&5
18576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577 (exit $ac_status); }; }; then
18580 echo "$as_me: failed program was:" >&5
18581 sed 's/^/| /' conftest.$ac_ext >&5
18585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18587 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18588 echo "${ECHO_T}$ac_cv_type_int" >&6
18590 echo "$as_me:$LINENO: checking size of int" >&5
18591 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18592 if test "${ac_cv_sizeof_int+set}" = set; then
18593 echo $ECHO_N "(cached) $ECHO_C" >&6
18595 if test "$ac_cv_type_int" = yes; then
18596 # The cast to unsigned long works around a bug in the HP C Compiler
18597 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18598 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18599 # This bug is HP SR number 8606223364.
18600 if test "$cross_compiling" = yes; then
18601 # Depending upon the size, compute the lo and hi bounds.
18602 cat >conftest.$ac_ext <<_ACEOF
18605 cat confdefs.h >>conftest.$ac_ext
18606 cat >>conftest.$ac_ext <<_ACEOF
18607 /* end confdefs.h. */
18608 $ac_includes_default
18612 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18619 rm -f conftest.$ac_objext
18620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18621 (eval $ac_compile) 2>conftest.er1
18623 grep -v '^ *+' conftest.er1 >conftest.err
18625 cat conftest.err >&5
18626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18627 (exit $ac_status); } &&
18628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18630 (eval $ac_try) 2>&5
18632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18633 (exit $ac_status); }; } &&
18634 { ac_try='test -s conftest.$ac_objext'
18635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18636 (eval $ac_try) 2>&5
18638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18639 (exit $ac_status); }; }; then
18642 cat >conftest.$ac_ext <<_ACEOF
18645 cat confdefs.h >>conftest.$ac_ext
18646 cat >>conftest.$ac_ext <<_ACEOF
18647 /* end confdefs.h. */
18648 $ac_includes_default
18652 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18659 rm -f conftest.$ac_objext
18660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18661 (eval $ac_compile) 2>conftest.er1
18663 grep -v '^ *+' conftest.er1 >conftest.err
18665 cat conftest.err >&5
18666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18667 (exit $ac_status); } &&
18668 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18670 (eval $ac_try) 2>&5
18672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18673 (exit $ac_status); }; } &&
18674 { ac_try='test -s conftest.$ac_objext'
18675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18676 (eval $ac_try) 2>&5
18678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); }; }; then
18680 ac_hi=$ac_mid; break
18682 echo "$as_me: failed program was:" >&5
18683 sed 's/^/| /' conftest.$ac_ext >&5
18685 ac_lo=`expr $ac_mid + 1`
18686 if test $ac_lo -le $ac_mid; then
18690 ac_mid=`expr 2 '*' $ac_mid + 1`
18692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18695 echo "$as_me: failed program was:" >&5
18696 sed 's/^/| /' conftest.$ac_ext >&5
18698 cat >conftest.$ac_ext <<_ACEOF
18701 cat confdefs.h >>conftest.$ac_ext
18702 cat >>conftest.$ac_ext <<_ACEOF
18703 /* end confdefs.h. */
18704 $ac_includes_default
18708 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18715 rm -f conftest.$ac_objext
18716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18717 (eval $ac_compile) 2>conftest.er1
18719 grep -v '^ *+' conftest.er1 >conftest.err
18721 cat conftest.err >&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); } &&
18724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18726 (eval $ac_try) 2>&5
18728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18729 (exit $ac_status); }; } &&
18730 { ac_try='test -s conftest.$ac_objext'
18731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18732 (eval $ac_try) 2>&5
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 (exit $ac_status); }; }; then
18738 cat >conftest.$ac_ext <<_ACEOF
18741 cat confdefs.h >>conftest.$ac_ext
18742 cat >>conftest.$ac_ext <<_ACEOF
18743 /* end confdefs.h. */
18744 $ac_includes_default
18748 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18755 rm -f conftest.$ac_objext
18756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18757 (eval $ac_compile) 2>conftest.er1
18759 grep -v '^ *+' conftest.er1 >conftest.err
18761 cat conftest.err >&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); } &&
18764 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18766 (eval $ac_try) 2>&5
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); }; } &&
18770 { ac_try='test -s conftest.$ac_objext'
18771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18772 (eval $ac_try) 2>&5
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); }; }; then
18776 ac_lo=$ac_mid; break
18778 echo "$as_me: failed program was:" >&5
18779 sed 's/^/| /' conftest.$ac_ext >&5
18781 ac_hi=`expr '(' $ac_mid ')' - 1`
18782 if test $ac_mid -le $ac_hi; then
18786 ac_mid=`expr 2 '*' $ac_mid`
18788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18791 echo "$as_me: failed program was:" >&5
18792 sed 's/^/| /' conftest.$ac_ext >&5
18796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18799 # Binary search between lo and hi bounds.
18800 while test "x$ac_lo" != "x$ac_hi"; do
18801 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18802 cat >conftest.$ac_ext <<_ACEOF
18805 cat confdefs.h >>conftest.$ac_ext
18806 cat >>conftest.$ac_ext <<_ACEOF
18807 /* end confdefs.h. */
18808 $ac_includes_default
18812 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18819 rm -f conftest.$ac_objext
18820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18821 (eval $ac_compile) 2>conftest.er1
18823 grep -v '^ *+' conftest.er1 >conftest.err
18825 cat conftest.err >&5
18826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18827 (exit $ac_status); } &&
18828 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18830 (eval $ac_try) 2>&5
18832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18833 (exit $ac_status); }; } &&
18834 { ac_try='test -s conftest.$ac_objext'
18835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18836 (eval $ac_try) 2>&5
18838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18839 (exit $ac_status); }; }; then
18842 echo "$as_me: failed program was:" >&5
18843 sed 's/^/| /' conftest.$ac_ext >&5
18845 ac_lo=`expr '(' $ac_mid ')' + 1`
18847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18850 ?*) ac_cv_sizeof_int=$ac_lo;;
18851 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18852 See \`config.log' for more details." >&5
18853 echo "$as_me: error: cannot compute sizeof (int), 77
18854 See \`config.log' for more details." >&2;}
18855 { (exit 1); exit 1; }; } ;;
18858 if test "$cross_compiling" = yes; then
18859 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18860 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18861 { (exit 1); exit 1; }; }
18863 cat >conftest.$ac_ext <<_ACEOF
18866 cat confdefs.h >>conftest.$ac_ext
18867 cat >>conftest.$ac_ext <<_ACEOF
18868 /* end confdefs.h. */
18869 $ac_includes_default
18870 long longval () { return (long) (sizeof (int)); }
18871 unsigned long ulongval () { return (long) (sizeof (int)); }
18873 #include <stdlib.h>
18878 FILE *f = fopen ("conftest.val", "w");
18881 if (((long) (sizeof (int))) < 0)
18883 long i = longval ();
18884 if (i != ((long) (sizeof (int))))
18886 fprintf (f, "%ld\n", i);
18890 unsigned long i = ulongval ();
18891 if (i != ((long) (sizeof (int))))
18893 fprintf (f, "%lu\n", i);
18895 exit (ferror (f) || fclose (f) != 0);
18901 rm -f conftest$ac_exeext
18902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18903 (eval $ac_link) 2>&5
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18908 (eval $ac_try) 2>&5
18910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 (exit $ac_status); }; }; then
18912 ac_cv_sizeof_int=`cat conftest.val`
18914 echo "$as_me: program exited with status $ac_status" >&5
18915 echo "$as_me: failed program was:" >&5
18916 sed 's/^/| /' conftest.$ac_ext >&5
18918 ( exit $ac_status )
18919 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18920 See \`config.log' for more details." >&5
18921 echo "$as_me: error: cannot compute sizeof (int), 77
18922 See \`config.log' for more details." >&2;}
18923 { (exit 1); exit 1; }; }
18925 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18933 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18934 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18935 cat >>confdefs.h <<_ACEOF
18936 #define SIZEOF_INT $ac_cv_sizeof_int
18940 echo "$as_me:$LINENO: checking for long" >&5
18941 echo $ECHO_N "checking for long... $ECHO_C" >&6
18942 if test "${ac_cv_type_long+set}" = set; then
18943 echo $ECHO_N "(cached) $ECHO_C" >&6
18945 cat >conftest.$ac_ext <<_ACEOF
18948 cat confdefs.h >>conftest.$ac_ext
18949 cat >>conftest.$ac_ext <<_ACEOF
18950 /* end confdefs.h. */
18951 $ac_includes_default
18963 rm -f conftest.$ac_objext
18964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18965 (eval $ac_compile) 2>conftest.er1
18967 grep -v '^ *+' conftest.er1 >conftest.err
18969 cat conftest.err >&5
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); } &&
18972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974 (eval $ac_try) 2>&5
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); }; } &&
18978 { ac_try='test -s conftest.$ac_objext'
18979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18980 (eval $ac_try) 2>&5
18982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983 (exit $ac_status); }; }; then
18984 ac_cv_type_long=yes
18986 echo "$as_me: failed program was:" >&5
18987 sed 's/^/| /' conftest.$ac_ext >&5
18991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18993 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18994 echo "${ECHO_T}$ac_cv_type_long" >&6
18996 echo "$as_me:$LINENO: checking size of long" >&5
18997 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18998 if test "${ac_cv_sizeof_long+set}" = set; then
18999 echo $ECHO_N "(cached) $ECHO_C" >&6
19001 if test "$ac_cv_type_long" = yes; then
19002 # The cast to unsigned long works around a bug in the HP C Compiler
19003 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19004 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19005 # This bug is HP SR number 8606223364.
19006 if test "$cross_compiling" = yes; then
19007 # Depending upon the size, compute the lo and hi bounds.
19008 cat >conftest.$ac_ext <<_ACEOF
19011 cat confdefs.h >>conftest.$ac_ext
19012 cat >>conftest.$ac_ext <<_ACEOF
19013 /* end confdefs.h. */
19014 $ac_includes_default
19018 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19025 rm -f conftest.$ac_objext
19026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19027 (eval $ac_compile) 2>conftest.er1
19029 grep -v '^ *+' conftest.er1 >conftest.err
19031 cat conftest.err >&5
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); } &&
19034 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19036 (eval $ac_try) 2>&5
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); }; } &&
19040 { ac_try='test -s conftest.$ac_objext'
19041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19042 (eval $ac_try) 2>&5
19044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19045 (exit $ac_status); }; }; then
19048 cat >conftest.$ac_ext <<_ACEOF
19051 cat confdefs.h >>conftest.$ac_ext
19052 cat >>conftest.$ac_ext <<_ACEOF
19053 /* end confdefs.h. */
19054 $ac_includes_default
19058 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19065 rm -f conftest.$ac_objext
19066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19067 (eval $ac_compile) 2>conftest.er1
19069 grep -v '^ *+' conftest.er1 >conftest.err
19071 cat conftest.err >&5
19072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); } &&
19074 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19076 (eval $ac_try) 2>&5
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); }; } &&
19080 { ac_try='test -s conftest.$ac_objext'
19081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19082 (eval $ac_try) 2>&5
19084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19085 (exit $ac_status); }; }; then
19086 ac_hi=$ac_mid; break
19088 echo "$as_me: failed program was:" >&5
19089 sed 's/^/| /' conftest.$ac_ext >&5
19091 ac_lo=`expr $ac_mid + 1`
19092 if test $ac_lo -le $ac_mid; then
19096 ac_mid=`expr 2 '*' $ac_mid + 1`
19098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19101 echo "$as_me: failed program was:" >&5
19102 sed 's/^/| /' conftest.$ac_ext >&5
19104 cat >conftest.$ac_ext <<_ACEOF
19107 cat confdefs.h >>conftest.$ac_ext
19108 cat >>conftest.$ac_ext <<_ACEOF
19109 /* end confdefs.h. */
19110 $ac_includes_default
19114 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19121 rm -f conftest.$ac_objext
19122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19123 (eval $ac_compile) 2>conftest.er1
19125 grep -v '^ *+' conftest.er1 >conftest.err
19127 cat conftest.err >&5
19128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19129 (exit $ac_status); } &&
19130 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19132 (eval $ac_try) 2>&5
19134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19135 (exit $ac_status); }; } &&
19136 { ac_try='test -s conftest.$ac_objext'
19137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19138 (eval $ac_try) 2>&5
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); }; }; then
19144 cat >conftest.$ac_ext <<_ACEOF
19147 cat confdefs.h >>conftest.$ac_ext
19148 cat >>conftest.$ac_ext <<_ACEOF
19149 /* end confdefs.h. */
19150 $ac_includes_default
19154 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19161 rm -f conftest.$ac_objext
19162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19163 (eval $ac_compile) 2>conftest.er1
19165 grep -v '^ *+' conftest.er1 >conftest.err
19167 cat conftest.err >&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); } &&
19170 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19172 (eval $ac_try) 2>&5
19174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175 (exit $ac_status); }; } &&
19176 { ac_try='test -s conftest.$ac_objext'
19177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19178 (eval $ac_try) 2>&5
19180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19181 (exit $ac_status); }; }; then
19182 ac_lo=$ac_mid; break
19184 echo "$as_me: failed program was:" >&5
19185 sed 's/^/| /' conftest.$ac_ext >&5
19187 ac_hi=`expr '(' $ac_mid ')' - 1`
19188 if test $ac_mid -le $ac_hi; then
19192 ac_mid=`expr 2 '*' $ac_mid`
19194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19197 echo "$as_me: failed program was:" >&5
19198 sed 's/^/| /' conftest.$ac_ext >&5
19202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19205 # Binary search between lo and hi bounds.
19206 while test "x$ac_lo" != "x$ac_hi"; do
19207 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19208 cat >conftest.$ac_ext <<_ACEOF
19211 cat confdefs.h >>conftest.$ac_ext
19212 cat >>conftest.$ac_ext <<_ACEOF
19213 /* end confdefs.h. */
19214 $ac_includes_default
19218 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19225 rm -f conftest.$ac_objext
19226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19227 (eval $ac_compile) 2>conftest.er1
19229 grep -v '^ *+' conftest.er1 >conftest.err
19231 cat conftest.err >&5
19232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19233 (exit $ac_status); } &&
19234 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19236 (eval $ac_try) 2>&5
19238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19239 (exit $ac_status); }; } &&
19240 { ac_try='test -s conftest.$ac_objext'
19241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19242 (eval $ac_try) 2>&5
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); }; }; then
19248 echo "$as_me: failed program was:" >&5
19249 sed 's/^/| /' conftest.$ac_ext >&5
19251 ac_lo=`expr '(' $ac_mid ')' + 1`
19253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19256 ?*) ac_cv_sizeof_long=$ac_lo;;
19257 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19258 See \`config.log' for more details." >&5
19259 echo "$as_me: error: cannot compute sizeof (long), 77
19260 See \`config.log' for more details." >&2;}
19261 { (exit 1); exit 1; }; } ;;
19264 if test "$cross_compiling" = yes; then
19265 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19266 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19267 { (exit 1); exit 1; }; }
19269 cat >conftest.$ac_ext <<_ACEOF
19272 cat confdefs.h >>conftest.$ac_ext
19273 cat >>conftest.$ac_ext <<_ACEOF
19274 /* end confdefs.h. */
19275 $ac_includes_default
19276 long longval () { return (long) (sizeof (long)); }
19277 unsigned long ulongval () { return (long) (sizeof (long)); }
19279 #include <stdlib.h>
19284 FILE *f = fopen ("conftest.val", "w");
19287 if (((long) (sizeof (long))) < 0)
19289 long i = longval ();
19290 if (i != ((long) (sizeof (long))))
19292 fprintf (f, "%ld\n", i);
19296 unsigned long i = ulongval ();
19297 if (i != ((long) (sizeof (long))))
19299 fprintf (f, "%lu\n", i);
19301 exit (ferror (f) || fclose (f) != 0);
19307 rm -f conftest$ac_exeext
19308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19309 (eval $ac_link) 2>&5
19311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19312 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19314 (eval $ac_try) 2>&5
19316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19317 (exit $ac_status); }; }; then
19318 ac_cv_sizeof_long=`cat conftest.val`
19320 echo "$as_me: program exited with status $ac_status" >&5
19321 echo "$as_me: failed program was:" >&5
19322 sed 's/^/| /' conftest.$ac_ext >&5
19324 ( exit $ac_status )
19325 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19326 See \`config.log' for more details." >&5
19327 echo "$as_me: error: cannot compute sizeof (long), 77
19328 See \`config.log' for more details." >&2;}
19329 { (exit 1); exit 1; }; }
19331 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19336 ac_cv_sizeof_long=0
19339 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19340 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19341 cat >>confdefs.h <<_ACEOF
19342 #define SIZEOF_LONG $ac_cv_sizeof_long
19346 echo "$as_me:$LINENO: checking for size_t" >&5
19347 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19348 if test "${ac_cv_type_size_t+set}" = set; then
19349 echo $ECHO_N "(cached) $ECHO_C" >&6
19351 cat >conftest.$ac_ext <<_ACEOF
19354 cat confdefs.h >>conftest.$ac_ext
19355 cat >>conftest.$ac_ext <<_ACEOF
19356 /* end confdefs.h. */
19357 $ac_includes_default
19363 if (sizeof (size_t))
19369 rm -f conftest.$ac_objext
19370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19371 (eval $ac_compile) 2>conftest.er1
19373 grep -v '^ *+' conftest.er1 >conftest.err
19375 cat conftest.err >&5
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); } &&
19378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19380 (eval $ac_try) 2>&5
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); }; } &&
19384 { ac_try='test -s conftest.$ac_objext'
19385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19386 (eval $ac_try) 2>&5
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); }; }; then
19390 ac_cv_type_size_t=yes
19392 echo "$as_me: failed program was:" >&5
19393 sed 's/^/| /' conftest.$ac_ext >&5
19395 ac_cv_type_size_t=no
19397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19399 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19400 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19402 echo "$as_me:$LINENO: checking size of size_t" >&5
19403 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19404 if test "${ac_cv_sizeof_size_t+set}" = set; then
19405 echo $ECHO_N "(cached) $ECHO_C" >&6
19407 if test "$ac_cv_type_size_t" = yes; then
19408 # The cast to unsigned long works around a bug in the HP C Compiler
19409 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19410 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19411 # This bug is HP SR number 8606223364.
19412 if test "$cross_compiling" = yes; then
19413 # Depending upon the size, compute the lo and hi bounds.
19414 cat >conftest.$ac_ext <<_ACEOF
19417 cat confdefs.h >>conftest.$ac_ext
19418 cat >>conftest.$ac_ext <<_ACEOF
19419 /* end confdefs.h. */
19420 $ac_includes_default
19424 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19431 rm -f conftest.$ac_objext
19432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19433 (eval $ac_compile) 2>conftest.er1
19435 grep -v '^ *+' conftest.er1 >conftest.err
19437 cat conftest.err >&5
19438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19439 (exit $ac_status); } &&
19440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19442 (eval $ac_try) 2>&5
19444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19445 (exit $ac_status); }; } &&
19446 { ac_try='test -s conftest.$ac_objext'
19447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19448 (eval $ac_try) 2>&5
19450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451 (exit $ac_status); }; }; then
19454 cat >conftest.$ac_ext <<_ACEOF
19457 cat confdefs.h >>conftest.$ac_ext
19458 cat >>conftest.$ac_ext <<_ACEOF
19459 /* end confdefs.h. */
19460 $ac_includes_default
19464 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19471 rm -f conftest.$ac_objext
19472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19473 (eval $ac_compile) 2>conftest.er1
19475 grep -v '^ *+' conftest.er1 >conftest.err
19477 cat conftest.err >&5
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); } &&
19480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19482 (eval $ac_try) 2>&5
19484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485 (exit $ac_status); }; } &&
19486 { ac_try='test -s conftest.$ac_objext'
19487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19488 (eval $ac_try) 2>&5
19490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19491 (exit $ac_status); }; }; then
19492 ac_hi=$ac_mid; break
19494 echo "$as_me: failed program was:" >&5
19495 sed 's/^/| /' conftest.$ac_ext >&5
19497 ac_lo=`expr $ac_mid + 1`
19498 if test $ac_lo -le $ac_mid; then
19502 ac_mid=`expr 2 '*' $ac_mid + 1`
19504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19507 echo "$as_me: failed program was:" >&5
19508 sed 's/^/| /' conftest.$ac_ext >&5
19510 cat >conftest.$ac_ext <<_ACEOF
19513 cat confdefs.h >>conftest.$ac_ext
19514 cat >>conftest.$ac_ext <<_ACEOF
19515 /* end confdefs.h. */
19516 $ac_includes_default
19520 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19527 rm -f conftest.$ac_objext
19528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19529 (eval $ac_compile) 2>conftest.er1
19531 grep -v '^ *+' conftest.er1 >conftest.err
19533 cat conftest.err >&5
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); } &&
19536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19538 (eval $ac_try) 2>&5
19540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541 (exit $ac_status); }; } &&
19542 { ac_try='test -s conftest.$ac_objext'
19543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19544 (eval $ac_try) 2>&5
19546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19547 (exit $ac_status); }; }; then
19550 cat >conftest.$ac_ext <<_ACEOF
19553 cat confdefs.h >>conftest.$ac_ext
19554 cat >>conftest.$ac_ext <<_ACEOF
19555 /* end confdefs.h. */
19556 $ac_includes_default
19560 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19567 rm -f conftest.$ac_objext
19568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19569 (eval $ac_compile) 2>conftest.er1
19571 grep -v '^ *+' conftest.er1 >conftest.err
19573 cat conftest.err >&5
19574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19575 (exit $ac_status); } &&
19576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19578 (eval $ac_try) 2>&5
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); }; } &&
19582 { ac_try='test -s conftest.$ac_objext'
19583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19584 (eval $ac_try) 2>&5
19586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19587 (exit $ac_status); }; }; then
19588 ac_lo=$ac_mid; break
19590 echo "$as_me: failed program was:" >&5
19591 sed 's/^/| /' conftest.$ac_ext >&5
19593 ac_hi=`expr '(' $ac_mid ')' - 1`
19594 if test $ac_mid -le $ac_hi; then
19598 ac_mid=`expr 2 '*' $ac_mid`
19600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19603 echo "$as_me: failed program was:" >&5
19604 sed 's/^/| /' conftest.$ac_ext >&5
19608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19611 # Binary search between lo and hi bounds.
19612 while test "x$ac_lo" != "x$ac_hi"; do
19613 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19614 cat >conftest.$ac_ext <<_ACEOF
19617 cat confdefs.h >>conftest.$ac_ext
19618 cat >>conftest.$ac_ext <<_ACEOF
19619 /* end confdefs.h. */
19620 $ac_includes_default
19624 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19631 rm -f conftest.$ac_objext
19632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19633 (eval $ac_compile) 2>conftest.er1
19635 grep -v '^ *+' conftest.er1 >conftest.err
19637 cat conftest.err >&5
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); } &&
19640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19642 (eval $ac_try) 2>&5
19644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19645 (exit $ac_status); }; } &&
19646 { ac_try='test -s conftest.$ac_objext'
19647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19648 (eval $ac_try) 2>&5
19650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19651 (exit $ac_status); }; }; then
19654 echo "$as_me: failed program was:" >&5
19655 sed 's/^/| /' conftest.$ac_ext >&5
19657 ac_lo=`expr '(' $ac_mid ')' + 1`
19659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19662 ?*) ac_cv_sizeof_size_t=$ac_lo;;
19663 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19664 See \`config.log' for more details." >&5
19665 echo "$as_me: error: cannot compute sizeof (size_t), 77
19666 See \`config.log' for more details." >&2;}
19667 { (exit 1); exit 1; }; } ;;
19670 if test "$cross_compiling" = yes; then
19671 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19672 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19673 { (exit 1); exit 1; }; }
19675 cat >conftest.$ac_ext <<_ACEOF
19678 cat confdefs.h >>conftest.$ac_ext
19679 cat >>conftest.$ac_ext <<_ACEOF
19680 /* end confdefs.h. */
19681 $ac_includes_default
19682 long longval () { return (long) (sizeof (size_t)); }
19683 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19685 #include <stdlib.h>
19690 FILE *f = fopen ("conftest.val", "w");
19693 if (((long) (sizeof (size_t))) < 0)
19695 long i = longval ();
19696 if (i != ((long) (sizeof (size_t))))
19698 fprintf (f, "%ld\n", i);
19702 unsigned long i = ulongval ();
19703 if (i != ((long) (sizeof (size_t))))
19705 fprintf (f, "%lu\n", i);
19707 exit (ferror (f) || fclose (f) != 0);
19713 rm -f conftest$ac_exeext
19714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19715 (eval $ac_link) 2>&5
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19720 (eval $ac_try) 2>&5
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); }; }; then
19724 ac_cv_sizeof_size_t=`cat conftest.val`
19726 echo "$as_me: program exited with status $ac_status" >&5
19727 echo "$as_me: failed program was:" >&5
19728 sed 's/^/| /' conftest.$ac_ext >&5
19730 ( exit $ac_status )
19731 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19732 See \`config.log' for more details." >&5
19733 echo "$as_me: error: cannot compute sizeof (size_t), 77
19734 See \`config.log' for more details." >&2;}
19735 { (exit 1); exit 1; }; }
19737 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19742 ac_cv_sizeof_size_t=0
19745 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19746 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19747 cat >>confdefs.h <<_ACEOF
19748 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19755 echo "$as_me:$LINENO: checking for long long" >&5
19756 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19757 if test "${ac_cv_type_long_long+set}" = set; then
19758 echo $ECHO_N "(cached) $ECHO_C" >&6
19760 cat >conftest.$ac_ext <<_ACEOF
19763 cat confdefs.h >>conftest.$ac_ext
19764 cat >>conftest.$ac_ext <<_ACEOF
19765 /* end confdefs.h. */
19766 $ac_includes_default
19770 if ((long long *) 0)
19772 if (sizeof (long long))
19778 rm -f conftest.$ac_objext
19779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19780 (eval $ac_compile) 2>conftest.er1
19782 grep -v '^ *+' conftest.er1 >conftest.err
19784 cat conftest.err >&5
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); } &&
19787 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19789 (eval $ac_try) 2>&5
19791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19792 (exit $ac_status); }; } &&
19793 { ac_try='test -s conftest.$ac_objext'
19794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19795 (eval $ac_try) 2>&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); }; }; then
19799 ac_cv_type_long_long=yes
19801 echo "$as_me: failed program was:" >&5
19802 sed 's/^/| /' conftest.$ac_ext >&5
19804 ac_cv_type_long_long=no
19806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19808 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19809 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19811 echo "$as_me:$LINENO: checking size of long long" >&5
19812 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19813 if test "${ac_cv_sizeof_long_long+set}" = set; then
19814 echo $ECHO_N "(cached) $ECHO_C" >&6
19816 if test "$ac_cv_type_long_long" = yes; then
19817 # The cast to unsigned long works around a bug in the HP C Compiler
19818 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19819 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19820 # This bug is HP SR number 8606223364.
19821 if test "$cross_compiling" = yes; then
19822 # Depending upon the size, compute the lo and hi bounds.
19823 cat >conftest.$ac_ext <<_ACEOF
19826 cat confdefs.h >>conftest.$ac_ext
19827 cat >>conftest.$ac_ext <<_ACEOF
19828 /* end confdefs.h. */
19829 $ac_includes_default
19833 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19840 rm -f conftest.$ac_objext
19841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19842 (eval $ac_compile) 2>conftest.er1
19844 grep -v '^ *+' conftest.er1 >conftest.err
19846 cat conftest.err >&5
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); } &&
19849 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19851 (eval $ac_try) 2>&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); }; } &&
19855 { ac_try='test -s conftest.$ac_objext'
19856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19857 (eval $ac_try) 2>&5
19859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860 (exit $ac_status); }; }; then
19863 cat >conftest.$ac_ext <<_ACEOF
19866 cat confdefs.h >>conftest.$ac_ext
19867 cat >>conftest.$ac_ext <<_ACEOF
19868 /* end confdefs.h. */
19869 $ac_includes_default
19873 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19880 rm -f conftest.$ac_objext
19881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19882 (eval $ac_compile) 2>conftest.er1
19884 grep -v '^ *+' conftest.er1 >conftest.err
19886 cat conftest.err >&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); } &&
19889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19891 (eval $ac_try) 2>&5
19893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894 (exit $ac_status); }; } &&
19895 { ac_try='test -s conftest.$ac_objext'
19896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19897 (eval $ac_try) 2>&5
19899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19900 (exit $ac_status); }; }; then
19901 ac_hi=$ac_mid; break
19903 echo "$as_me: failed program was:" >&5
19904 sed 's/^/| /' conftest.$ac_ext >&5
19906 ac_lo=`expr $ac_mid + 1`
19907 if test $ac_lo -le $ac_mid; then
19911 ac_mid=`expr 2 '*' $ac_mid + 1`
19913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19916 echo "$as_me: failed program was:" >&5
19917 sed 's/^/| /' conftest.$ac_ext >&5
19919 cat >conftest.$ac_ext <<_ACEOF
19922 cat confdefs.h >>conftest.$ac_ext
19923 cat >>conftest.$ac_ext <<_ACEOF
19924 /* end confdefs.h. */
19925 $ac_includes_default
19929 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19936 rm -f conftest.$ac_objext
19937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19938 (eval $ac_compile) 2>conftest.er1
19940 grep -v '^ *+' conftest.er1 >conftest.err
19942 cat conftest.err >&5
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); } &&
19945 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19947 (eval $ac_try) 2>&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); }; } &&
19951 { ac_try='test -s conftest.$ac_objext'
19952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19953 (eval $ac_try) 2>&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); }; }; then
19959 cat >conftest.$ac_ext <<_ACEOF
19962 cat confdefs.h >>conftest.$ac_ext
19963 cat >>conftest.$ac_ext <<_ACEOF
19964 /* end confdefs.h. */
19965 $ac_includes_default
19969 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19976 rm -f conftest.$ac_objext
19977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19978 (eval $ac_compile) 2>conftest.er1
19980 grep -v '^ *+' conftest.er1 >conftest.err
19982 cat conftest.err >&5
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); } &&
19985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19987 (eval $ac_try) 2>&5
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); }; } &&
19991 { ac_try='test -s conftest.$ac_objext'
19992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19993 (eval $ac_try) 2>&5
19995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); }; }; then
19997 ac_lo=$ac_mid; break
19999 echo "$as_me: failed program was:" >&5
20000 sed 's/^/| /' conftest.$ac_ext >&5
20002 ac_hi=`expr '(' $ac_mid ')' - 1`
20003 if test $ac_mid -le $ac_hi; then
20007 ac_mid=`expr 2 '*' $ac_mid`
20009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20012 echo "$as_me: failed program was:" >&5
20013 sed 's/^/| /' conftest.$ac_ext >&5
20017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20020 # Binary search between lo and hi bounds.
20021 while test "x$ac_lo" != "x$ac_hi"; do
20022 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20023 cat >conftest.$ac_ext <<_ACEOF
20026 cat confdefs.h >>conftest.$ac_ext
20027 cat >>conftest.$ac_ext <<_ACEOF
20028 /* end confdefs.h. */
20029 $ac_includes_default
20033 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20040 rm -f conftest.$ac_objext
20041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20042 (eval $ac_compile) 2>conftest.er1
20044 grep -v '^ *+' conftest.er1 >conftest.err
20046 cat conftest.err >&5
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); } &&
20049 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20051 (eval $ac_try) 2>&5
20053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054 (exit $ac_status); }; } &&
20055 { ac_try='test -s conftest.$ac_objext'
20056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20057 (eval $ac_try) 2>&5
20059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060 (exit $ac_status); }; }; then
20063 echo "$as_me: failed program was:" >&5
20064 sed 's/^/| /' conftest.$ac_ext >&5
20066 ac_lo=`expr '(' $ac_mid ')' + 1`
20068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20071 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20072 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20073 See \`config.log' for more details." >&5
20074 echo "$as_me: error: cannot compute sizeof (long long), 77
20075 See \`config.log' for more details." >&2;}
20076 { (exit 1); exit 1; }; } ;;
20079 if test "$cross_compiling" = yes; then
20080 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20081 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20082 { (exit 1); exit 1; }; }
20084 cat >conftest.$ac_ext <<_ACEOF
20087 cat confdefs.h >>conftest.$ac_ext
20088 cat >>conftest.$ac_ext <<_ACEOF
20089 /* end confdefs.h. */
20090 $ac_includes_default
20091 long longval () { return (long) (sizeof (long long)); }
20092 unsigned long ulongval () { return (long) (sizeof (long long)); }
20094 #include <stdlib.h>
20099 FILE *f = fopen ("conftest.val", "w");
20102 if (((long) (sizeof (long long))) < 0)
20104 long i = longval ();
20105 if (i != ((long) (sizeof (long long))))
20107 fprintf (f, "%ld\n", i);
20111 unsigned long i = ulongval ();
20112 if (i != ((long) (sizeof (long long))))
20114 fprintf (f, "%lu\n", i);
20116 exit (ferror (f) || fclose (f) != 0);
20122 rm -f conftest$ac_exeext
20123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20124 (eval $ac_link) 2>&5
20126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20127 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20129 (eval $ac_try) 2>&5
20131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132 (exit $ac_status); }; }; then
20133 ac_cv_sizeof_long_long=`cat conftest.val`
20135 echo "$as_me: program exited with status $ac_status" >&5
20136 echo "$as_me: failed program was:" >&5
20137 sed 's/^/| /' conftest.$ac_ext >&5
20139 ( exit $ac_status )
20140 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20141 See \`config.log' for more details." >&5
20142 echo "$as_me: error: cannot compute sizeof (long long), 77
20143 See \`config.log' for more details." >&2;}
20144 { (exit 1); exit 1; }; }
20146 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20151 ac_cv_sizeof_long_long=0
20154 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20155 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20156 cat >>confdefs.h <<_ACEOF
20157 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20163 echo "$as_me:$LINENO: checking for long long" >&5
20164 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20165 if test "${ac_cv_type_long_long+set}" = set; then
20166 echo $ECHO_N "(cached) $ECHO_C" >&6
20168 cat >conftest.$ac_ext <<_ACEOF
20171 cat confdefs.h >>conftest.$ac_ext
20172 cat >>conftest.$ac_ext <<_ACEOF
20173 /* end confdefs.h. */
20174 $ac_includes_default
20178 if ((long long *) 0)
20180 if (sizeof (long long))
20186 rm -f conftest.$ac_objext
20187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20188 (eval $ac_compile) 2>conftest.er1
20190 grep -v '^ *+' conftest.er1 >conftest.err
20192 cat conftest.err >&5
20193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20194 (exit $ac_status); } &&
20195 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20197 (eval $ac_try) 2>&5
20199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 (exit $ac_status); }; } &&
20201 { ac_try='test -s conftest.$ac_objext'
20202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20203 (eval $ac_try) 2>&5
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); }; }; then
20207 ac_cv_type_long_long=yes
20209 echo "$as_me: failed program was:" >&5
20210 sed 's/^/| /' conftest.$ac_ext >&5
20212 ac_cv_type_long_long=no
20214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20216 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20217 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20219 echo "$as_me:$LINENO: checking size of long long" >&5
20220 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20221 if test "${ac_cv_sizeof_long_long+set}" = set; then
20222 echo $ECHO_N "(cached) $ECHO_C" >&6
20224 if test "$ac_cv_type_long_long" = yes; then
20225 # The cast to unsigned long works around a bug in the HP C Compiler
20226 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20227 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20228 # This bug is HP SR number 8606223364.
20229 if test "$cross_compiling" = yes; then
20230 # Depending upon the size, compute the lo and hi bounds.
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 (long long))) >= 0)];
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
20271 cat >conftest.$ac_ext <<_ACEOF
20274 cat confdefs.h >>conftest.$ac_ext
20275 cat >>conftest.$ac_ext <<_ACEOF
20276 /* end confdefs.h. */
20277 $ac_includes_default
20281 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20288 rm -f conftest.$ac_objext
20289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20290 (eval $ac_compile) 2>conftest.er1
20292 grep -v '^ *+' conftest.er1 >conftest.err
20294 cat conftest.err >&5
20295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20296 (exit $ac_status); } &&
20297 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20299 (eval $ac_try) 2>&5
20301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302 (exit $ac_status); }; } &&
20303 { ac_try='test -s conftest.$ac_objext'
20304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20305 (eval $ac_try) 2>&5
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); }; }; then
20309 ac_hi=$ac_mid; break
20311 echo "$as_me: failed program was:" >&5
20312 sed 's/^/| /' conftest.$ac_ext >&5
20314 ac_lo=`expr $ac_mid + 1`
20315 if test $ac_lo -le $ac_mid; then
20319 ac_mid=`expr 2 '*' $ac_mid + 1`
20321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20324 echo "$as_me: failed program was:" >&5
20325 sed 's/^/| /' conftest.$ac_ext >&5
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 (long long))) < 0)];
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
20367 cat >conftest.$ac_ext <<_ACEOF
20370 cat confdefs.h >>conftest.$ac_ext
20371 cat >>conftest.$ac_ext <<_ACEOF
20372 /* end confdefs.h. */
20373 $ac_includes_default
20377 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20384 rm -f conftest.$ac_objext
20385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20386 (eval $ac_compile) 2>conftest.er1
20388 grep -v '^ *+' conftest.er1 >conftest.err
20390 cat conftest.err >&5
20391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20392 (exit $ac_status); } &&
20393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20395 (eval $ac_try) 2>&5
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); }; } &&
20399 { ac_try='test -s conftest.$ac_objext'
20400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20401 (eval $ac_try) 2>&5
20403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20404 (exit $ac_status); }; }; then
20405 ac_lo=$ac_mid; break
20407 echo "$as_me: failed program was:" >&5
20408 sed 's/^/| /' conftest.$ac_ext >&5
20410 ac_hi=`expr '(' $ac_mid ')' - 1`
20411 if test $ac_mid -le $ac_hi; then
20415 ac_mid=`expr 2 '*' $ac_mid`
20417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20420 echo "$as_me: failed program was:" >&5
20421 sed 's/^/| /' conftest.$ac_ext >&5
20425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20428 # Binary search between lo and hi bounds.
20429 while test "x$ac_lo" != "x$ac_hi"; do
20430 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20431 cat >conftest.$ac_ext <<_ACEOF
20434 cat confdefs.h >>conftest.$ac_ext
20435 cat >>conftest.$ac_ext <<_ACEOF
20436 /* end confdefs.h. */
20437 $ac_includes_default
20441 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20448 rm -f conftest.$ac_objext
20449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20450 (eval $ac_compile) 2>conftest.er1
20452 grep -v '^ *+' conftest.er1 >conftest.err
20454 cat conftest.err >&5
20455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 (exit $ac_status); } &&
20457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20459 (eval $ac_try) 2>&5
20461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462 (exit $ac_status); }; } &&
20463 { ac_try='test -s conftest.$ac_objext'
20464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20465 (eval $ac_try) 2>&5
20467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20468 (exit $ac_status); }; }; then
20471 echo "$as_me: failed program was:" >&5
20472 sed 's/^/| /' conftest.$ac_ext >&5
20474 ac_lo=`expr '(' $ac_mid ')' + 1`
20476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20479 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20480 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20481 See \`config.log' for more details." >&5
20482 echo "$as_me: error: cannot compute sizeof (long long), 77
20483 See \`config.log' for more details." >&2;}
20484 { (exit 1); exit 1; }; } ;;
20487 if test "$cross_compiling" = yes; then
20488 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20489 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20490 { (exit 1); exit 1; }; }
20492 cat >conftest.$ac_ext <<_ACEOF
20495 cat confdefs.h >>conftest.$ac_ext
20496 cat >>conftest.$ac_ext <<_ACEOF
20497 /* end confdefs.h. */
20498 $ac_includes_default
20499 long longval () { return (long) (sizeof (long long)); }
20500 unsigned long ulongval () { return (long) (sizeof (long long)); }
20502 #include <stdlib.h>
20507 FILE *f = fopen ("conftest.val", "w");
20510 if (((long) (sizeof (long long))) < 0)
20512 long i = longval ();
20513 if (i != ((long) (sizeof (long long))))
20515 fprintf (f, "%ld\n", i);
20519 unsigned long i = ulongval ();
20520 if (i != ((long) (sizeof (long long))))
20522 fprintf (f, "%lu\n", i);
20524 exit (ferror (f) || fclose (f) != 0);
20530 rm -f conftest$ac_exeext
20531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20532 (eval $ac_link) 2>&5
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20537 (eval $ac_try) 2>&5
20539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20540 (exit $ac_status); }; }; then
20541 ac_cv_sizeof_long_long=`cat conftest.val`
20543 echo "$as_me: program exited with status $ac_status" >&5
20544 echo "$as_me: failed program was:" >&5
20545 sed 's/^/| /' conftest.$ac_ext >&5
20547 ( exit $ac_status )
20548 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20549 See \`config.log' for more details." >&5
20550 echo "$as_me: error: cannot compute sizeof (long long), 77
20551 See \`config.log' for more details." >&2;}
20552 { (exit 1); exit 1; }; }
20554 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20559 ac_cv_sizeof_long_long=0
20562 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20563 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20564 cat >>confdefs.h <<_ACEOF
20565 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20569 if test "$ac_cv_sizeof_long_long" != "0"; then
20570 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20574 echo "$as_me:$LINENO: checking for long long" >&5
20575 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20576 if test "${ac_cv_type_long_long+set}" = set; then
20577 echo $ECHO_N "(cached) $ECHO_C" >&6
20579 cat >conftest.$ac_ext <<_ACEOF
20582 cat confdefs.h >>conftest.$ac_ext
20583 cat >>conftest.$ac_ext <<_ACEOF
20584 /* end confdefs.h. */
20585 $ac_includes_default
20589 if ((long long *) 0)
20591 if (sizeof (long long))
20597 rm -f conftest.$ac_objext
20598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20599 (eval $ac_compile) 2>conftest.er1
20601 grep -v '^ *+' conftest.er1 >conftest.err
20603 cat conftest.err >&5
20604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20605 (exit $ac_status); } &&
20606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20608 (eval $ac_try) 2>&5
20610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20611 (exit $ac_status); }; } &&
20612 { ac_try='test -s conftest.$ac_objext'
20613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20614 (eval $ac_try) 2>&5
20616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617 (exit $ac_status); }; }; then
20618 ac_cv_type_long_long=yes
20620 echo "$as_me: failed program was:" >&5
20621 sed 's/^/| /' conftest.$ac_ext >&5
20623 ac_cv_type_long_long=no
20625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20627 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20628 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20630 echo "$as_me:$LINENO: checking size of long long" >&5
20631 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20632 if test "${ac_cv_sizeof_long_long+set}" = set; then
20633 echo $ECHO_N "(cached) $ECHO_C" >&6
20635 if test "$ac_cv_type_long_long" = yes; then
20636 # The cast to unsigned long works around a bug in the HP C Compiler
20637 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20638 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20639 # This bug is HP SR number 8606223364.
20640 if test "$cross_compiling" = yes; then
20641 # Depending upon the size, compute the lo and hi bounds.
20642 cat >conftest.$ac_ext <<_ACEOF
20645 cat confdefs.h >>conftest.$ac_ext
20646 cat >>conftest.$ac_ext <<_ACEOF
20647 /* end confdefs.h. */
20648 $ac_includes_default
20652 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20659 rm -f conftest.$ac_objext
20660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20661 (eval $ac_compile) 2>conftest.er1
20663 grep -v '^ *+' conftest.er1 >conftest.err
20665 cat conftest.err >&5
20666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20667 (exit $ac_status); } &&
20668 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20670 (eval $ac_try) 2>&5
20672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20673 (exit $ac_status); }; } &&
20674 { ac_try='test -s conftest.$ac_objext'
20675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20676 (eval $ac_try) 2>&5
20678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20679 (exit $ac_status); }; }; then
20682 cat >conftest.$ac_ext <<_ACEOF
20685 cat confdefs.h >>conftest.$ac_ext
20686 cat >>conftest.$ac_ext <<_ACEOF
20687 /* end confdefs.h. */
20688 $ac_includes_default
20692 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20699 rm -f conftest.$ac_objext
20700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20701 (eval $ac_compile) 2>conftest.er1
20703 grep -v '^ *+' conftest.er1 >conftest.err
20705 cat conftest.err >&5
20706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20707 (exit $ac_status); } &&
20708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20710 (eval $ac_try) 2>&5
20712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713 (exit $ac_status); }; } &&
20714 { ac_try='test -s conftest.$ac_objext'
20715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20716 (eval $ac_try) 2>&5
20718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20719 (exit $ac_status); }; }; then
20720 ac_hi=$ac_mid; break
20722 echo "$as_me: failed program was:" >&5
20723 sed 's/^/| /' conftest.$ac_ext >&5
20725 ac_lo=`expr $ac_mid + 1`
20726 if test $ac_lo -le $ac_mid; then
20730 ac_mid=`expr 2 '*' $ac_mid + 1`
20732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20735 echo "$as_me: failed program was:" >&5
20736 sed 's/^/| /' conftest.$ac_ext >&5
20738 cat >conftest.$ac_ext <<_ACEOF
20741 cat confdefs.h >>conftest.$ac_ext
20742 cat >>conftest.$ac_ext <<_ACEOF
20743 /* end confdefs.h. */
20744 $ac_includes_default
20748 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20755 rm -f conftest.$ac_objext
20756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20757 (eval $ac_compile) 2>conftest.er1
20759 grep -v '^ *+' conftest.er1 >conftest.err
20761 cat conftest.err >&5
20762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763 (exit $ac_status); } &&
20764 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20766 (eval $ac_try) 2>&5
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); }; } &&
20770 { ac_try='test -s conftest.$ac_objext'
20771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20772 (eval $ac_try) 2>&5
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); }; }; then
20778 cat >conftest.$ac_ext <<_ACEOF
20781 cat confdefs.h >>conftest.$ac_ext
20782 cat >>conftest.$ac_ext <<_ACEOF
20783 /* end confdefs.h. */
20784 $ac_includes_default
20788 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20795 rm -f conftest.$ac_objext
20796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20797 (eval $ac_compile) 2>conftest.er1
20799 grep -v '^ *+' conftest.er1 >conftest.err
20801 cat conftest.err >&5
20802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803 (exit $ac_status); } &&
20804 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20806 (eval $ac_try) 2>&5
20808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20809 (exit $ac_status); }; } &&
20810 { ac_try='test -s conftest.$ac_objext'
20811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20812 (eval $ac_try) 2>&5
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); }; }; then
20816 ac_lo=$ac_mid; break
20818 echo "$as_me: failed program was:" >&5
20819 sed 's/^/| /' conftest.$ac_ext >&5
20821 ac_hi=`expr '(' $ac_mid ')' - 1`
20822 if test $ac_mid -le $ac_hi; then
20826 ac_mid=`expr 2 '*' $ac_mid`
20828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20831 echo "$as_me: failed program was:" >&5
20832 sed 's/^/| /' conftest.$ac_ext >&5
20836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20839 # Binary search between lo and hi bounds.
20840 while test "x$ac_lo" != "x$ac_hi"; do
20841 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20842 cat >conftest.$ac_ext <<_ACEOF
20845 cat confdefs.h >>conftest.$ac_ext
20846 cat >>conftest.$ac_ext <<_ACEOF
20847 /* end confdefs.h. */
20848 $ac_includes_default
20852 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20859 rm -f conftest.$ac_objext
20860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20861 (eval $ac_compile) 2>conftest.er1
20863 grep -v '^ *+' conftest.er1 >conftest.err
20865 cat conftest.err >&5
20866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867 (exit $ac_status); } &&
20868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20870 (eval $ac_try) 2>&5
20872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20873 (exit $ac_status); }; } &&
20874 { ac_try='test -s conftest.$ac_objext'
20875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20876 (eval $ac_try) 2>&5
20878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20879 (exit $ac_status); }; }; then
20882 echo "$as_me: failed program was:" >&5
20883 sed 's/^/| /' conftest.$ac_ext >&5
20885 ac_lo=`expr '(' $ac_mid ')' + 1`
20887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20890 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20891 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20892 See \`config.log' for more details." >&5
20893 echo "$as_me: error: cannot compute sizeof (long long), 77
20894 See \`config.log' for more details." >&2;}
20895 { (exit 1); exit 1; }; } ;;
20898 if test "$cross_compiling" = yes; then
20899 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20900 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20901 { (exit 1); exit 1; }; }
20903 cat >conftest.$ac_ext <<_ACEOF
20906 cat confdefs.h >>conftest.$ac_ext
20907 cat >>conftest.$ac_ext <<_ACEOF
20908 /* end confdefs.h. */
20909 $ac_includes_default
20910 long longval () { return (long) (sizeof (long long)); }
20911 unsigned long ulongval () { return (long) (sizeof (long long)); }
20913 #include <stdlib.h>
20918 FILE *f = fopen ("conftest.val", "w");
20921 if (((long) (sizeof (long long))) < 0)
20923 long i = longval ();
20924 if (i != ((long) (sizeof (long long))))
20926 fprintf (f, "%ld\n", i);
20930 unsigned long i = ulongval ();
20931 if (i != ((long) (sizeof (long long))))
20933 fprintf (f, "%lu\n", i);
20935 exit (ferror (f) || fclose (f) != 0);
20941 rm -f conftest$ac_exeext
20942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20943 (eval $ac_link) 2>&5
20945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20946 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20948 (eval $ac_try) 2>&5
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); }; }; then
20952 ac_cv_sizeof_long_long=`cat conftest.val`
20954 echo "$as_me: program exited with status $ac_status" >&5
20955 echo "$as_me: failed program was:" >&5
20956 sed 's/^/| /' conftest.$ac_ext >&5
20958 ( exit $ac_status )
20959 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20960 See \`config.log' for more details." >&5
20961 echo "$as_me: error: cannot compute sizeof (long long), 77
20962 See \`config.log' for more details." >&2;}
20963 { (exit 1); exit 1; }; }
20965 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20970 ac_cv_sizeof_long_long=0
20973 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20974 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20975 cat >>confdefs.h <<_ACEOF
20976 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20982 echo "$as_me:$LINENO: checking for wchar_t" >&5
20983 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20984 if test "${ac_cv_type_wchar_t+set}" = set; then
20985 echo $ECHO_N "(cached) $ECHO_C" >&6
20987 cat >conftest.$ac_ext <<_ACEOF
20990 cat confdefs.h >>conftest.$ac_ext
20991 cat >>conftest.$ac_ext <<_ACEOF
20992 /* end confdefs.h. */
20994 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20995 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20996 # error "fake wchar_t"
20998 #ifdef HAVE_WCHAR_H
21000 # include <stddef.h>
21002 # include <wchar.h>
21004 #ifdef HAVE_STDLIB_H
21005 # include <stdlib.h>
21016 if (sizeof (wchar_t))
21022 rm -f conftest.$ac_objext
21023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21024 (eval $ac_compile) 2>conftest.er1
21026 grep -v '^ *+' conftest.er1 >conftest.err
21028 cat conftest.err >&5
21029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21030 (exit $ac_status); } &&
21031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21033 (eval $ac_try) 2>&5
21035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21036 (exit $ac_status); }; } &&
21037 { ac_try='test -s conftest.$ac_objext'
21038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21039 (eval $ac_try) 2>&5
21041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21042 (exit $ac_status); }; }; then
21043 ac_cv_type_wchar_t=yes
21045 echo "$as_me: failed program was:" >&5
21046 sed 's/^/| /' conftest.$ac_ext >&5
21048 ac_cv_type_wchar_t=no
21050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21052 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21053 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21055 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21056 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21057 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21058 echo $ECHO_N "(cached) $ECHO_C" >&6
21060 if test "$ac_cv_type_wchar_t" = yes; then
21061 # The cast to unsigned long works around a bug in the HP C Compiler
21062 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21063 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21064 # This bug is HP SR number 8606223364.
21065 if test "$cross_compiling" = yes; then
21066 # Depending upon the size, compute the lo and hi bounds.
21067 cat >conftest.$ac_ext <<_ACEOF
21070 cat confdefs.h >>conftest.$ac_ext
21071 cat >>conftest.$ac_ext <<_ACEOF
21072 /* end confdefs.h. */
21074 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21075 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21076 # error "fake wchar_t"
21078 #ifdef HAVE_WCHAR_H
21080 # include <stddef.h>
21082 # include <wchar.h>
21084 #ifdef HAVE_STDLIB_H
21085 # include <stdlib.h>
21094 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21101 rm -f conftest.$ac_objext
21102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21103 (eval $ac_compile) 2>conftest.er1
21105 grep -v '^ *+' conftest.er1 >conftest.err
21107 cat conftest.err >&5
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); } &&
21110 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21112 (eval $ac_try) 2>&5
21114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21115 (exit $ac_status); }; } &&
21116 { ac_try='test -s conftest.$ac_objext'
21117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21118 (eval $ac_try) 2>&5
21120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21121 (exit $ac_status); }; }; then
21124 cat >conftest.$ac_ext <<_ACEOF
21127 cat confdefs.h >>conftest.$ac_ext
21128 cat >>conftest.$ac_ext <<_ACEOF
21129 /* end confdefs.h. */
21131 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21132 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21133 # error "fake wchar_t"
21135 #ifdef HAVE_WCHAR_H
21137 # include <stddef.h>
21139 # include <wchar.h>
21141 #ifdef HAVE_STDLIB_H
21142 # include <stdlib.h>
21151 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21158 rm -f conftest.$ac_objext
21159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21160 (eval $ac_compile) 2>conftest.er1
21162 grep -v '^ *+' conftest.er1 >conftest.err
21164 cat conftest.err >&5
21165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21166 (exit $ac_status); } &&
21167 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21169 (eval $ac_try) 2>&5
21171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21172 (exit $ac_status); }; } &&
21173 { ac_try='test -s conftest.$ac_objext'
21174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21175 (eval $ac_try) 2>&5
21177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21178 (exit $ac_status); }; }; then
21179 ac_hi=$ac_mid; break
21181 echo "$as_me: failed program was:" >&5
21182 sed 's/^/| /' conftest.$ac_ext >&5
21184 ac_lo=`expr $ac_mid + 1`
21185 if test $ac_lo -le $ac_mid; then
21189 ac_mid=`expr 2 '*' $ac_mid + 1`
21191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21194 echo "$as_me: failed program was:" >&5
21195 sed 's/^/| /' conftest.$ac_ext >&5
21197 cat >conftest.$ac_ext <<_ACEOF
21200 cat confdefs.h >>conftest.$ac_ext
21201 cat >>conftest.$ac_ext <<_ACEOF
21202 /* end confdefs.h. */
21204 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21205 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21206 # error "fake wchar_t"
21208 #ifdef HAVE_WCHAR_H
21210 # include <stddef.h>
21212 # include <wchar.h>
21214 #ifdef HAVE_STDLIB_H
21215 # include <stdlib.h>
21224 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21231 rm -f conftest.$ac_objext
21232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21233 (eval $ac_compile) 2>conftest.er1
21235 grep -v '^ *+' conftest.er1 >conftest.err
21237 cat conftest.err >&5
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); } &&
21240 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21242 (eval $ac_try) 2>&5
21244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21245 (exit $ac_status); }; } &&
21246 { ac_try='test -s conftest.$ac_objext'
21247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21248 (eval $ac_try) 2>&5
21250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21251 (exit $ac_status); }; }; then
21254 cat >conftest.$ac_ext <<_ACEOF
21257 cat confdefs.h >>conftest.$ac_ext
21258 cat >>conftest.$ac_ext <<_ACEOF
21259 /* end confdefs.h. */
21261 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21262 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21263 # error "fake wchar_t"
21265 #ifdef HAVE_WCHAR_H
21267 # include <stddef.h>
21269 # include <wchar.h>
21271 #ifdef HAVE_STDLIB_H
21272 # include <stdlib.h>
21281 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21288 rm -f conftest.$ac_objext
21289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21290 (eval $ac_compile) 2>conftest.er1
21292 grep -v '^ *+' conftest.er1 >conftest.err
21294 cat conftest.err >&5
21295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21296 (exit $ac_status); } &&
21297 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21299 (eval $ac_try) 2>&5
21301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21302 (exit $ac_status); }; } &&
21303 { ac_try='test -s conftest.$ac_objext'
21304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21305 (eval $ac_try) 2>&5
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); }; }; then
21309 ac_lo=$ac_mid; break
21311 echo "$as_me: failed program was:" >&5
21312 sed 's/^/| /' conftest.$ac_ext >&5
21314 ac_hi=`expr '(' $ac_mid ')' - 1`
21315 if test $ac_mid -le $ac_hi; then
21319 ac_mid=`expr 2 '*' $ac_mid`
21321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21324 echo "$as_me: failed program was:" >&5
21325 sed 's/^/| /' conftest.$ac_ext >&5
21329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21332 # Binary search between lo and hi bounds.
21333 while test "x$ac_lo" != "x$ac_hi"; do
21334 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21335 cat >conftest.$ac_ext <<_ACEOF
21338 cat confdefs.h >>conftest.$ac_ext
21339 cat >>conftest.$ac_ext <<_ACEOF
21340 /* end confdefs.h. */
21342 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21343 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21344 # error "fake wchar_t"
21346 #ifdef HAVE_WCHAR_H
21348 # include <stddef.h>
21350 # include <wchar.h>
21352 #ifdef HAVE_STDLIB_H
21353 # include <stdlib.h>
21362 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21369 rm -f conftest.$ac_objext
21370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21371 (eval $ac_compile) 2>conftest.er1
21373 grep -v '^ *+' conftest.er1 >conftest.err
21375 cat conftest.err >&5
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); } &&
21378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21380 (eval $ac_try) 2>&5
21382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21383 (exit $ac_status); }; } &&
21384 { ac_try='test -s conftest.$ac_objext'
21385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21386 (eval $ac_try) 2>&5
21388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21389 (exit $ac_status); }; }; then
21392 echo "$as_me: failed program was:" >&5
21393 sed 's/^/| /' conftest.$ac_ext >&5
21395 ac_lo=`expr '(' $ac_mid ')' + 1`
21397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21400 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21401 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21402 See \`config.log' for more details." >&5
21403 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21404 See \`config.log' for more details." >&2;}
21405 { (exit 1); exit 1; }; } ;;
21408 if test "$cross_compiling" = yes; then
21409 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21410 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21411 { (exit 1); exit 1; }; }
21413 cat >conftest.$ac_ext <<_ACEOF
21416 cat confdefs.h >>conftest.$ac_ext
21417 cat >>conftest.$ac_ext <<_ACEOF
21418 /* end confdefs.h. */
21420 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21421 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21422 # error "fake wchar_t"
21424 #ifdef HAVE_WCHAR_H
21426 # include <stddef.h>
21428 # include <wchar.h>
21430 #ifdef HAVE_STDLIB_H
21431 # include <stdlib.h>
21437 long longval () { return (long) (sizeof (wchar_t)); }
21438 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21440 #include <stdlib.h>
21445 FILE *f = fopen ("conftest.val", "w");
21448 if (((long) (sizeof (wchar_t))) < 0)
21450 long i = longval ();
21451 if (i != ((long) (sizeof (wchar_t))))
21453 fprintf (f, "%ld\n", i);
21457 unsigned long i = ulongval ();
21458 if (i != ((long) (sizeof (wchar_t))))
21460 fprintf (f, "%lu\n", i);
21462 exit (ferror (f) || fclose (f) != 0);
21468 rm -f conftest$ac_exeext
21469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21470 (eval $ac_link) 2>&5
21472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21475 (eval $ac_try) 2>&5
21477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21478 (exit $ac_status); }; }; then
21479 ac_cv_sizeof_wchar_t=`cat conftest.val`
21481 echo "$as_me: program exited with status $ac_status" >&5
21482 echo "$as_me: failed program was:" >&5
21483 sed 's/^/| /' conftest.$ac_ext >&5
21485 ( exit $ac_status )
21486 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21487 See \`config.log' for more details." >&5
21488 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21489 See \`config.log' for more details." >&2;}
21490 { (exit 1); exit 1; }; }
21492 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21497 ac_cv_sizeof_wchar_t=0
21500 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21501 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21502 cat >>confdefs.h <<_ACEOF
21503 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21507 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21513 echo "$as_me:$LINENO: checking for va_copy" >&5
21514 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21515 if test "${wx_cv_func_va_copy+set}" = set; then
21516 echo $ECHO_N "(cached) $ECHO_C" >&6
21519 cat >conftest.$ac_ext <<_ACEOF
21521 #include <stdarg.h>
21522 void foo(char *f, ...)
21536 rm -f conftest.$ac_objext conftest$ac_exeext
21537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21538 (eval $ac_link) 2>conftest.er1
21540 grep -v '^ *+' conftest.er1 >conftest.err
21542 cat conftest.err >&5
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); } &&
21545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21547 (eval $ac_try) 2>&5
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); }; } &&
21551 { ac_try='test -s conftest$ac_exeext'
21552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21553 (eval $ac_try) 2>&5
21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 (exit $ac_status); }; }; then
21557 wx_cv_func_va_copy=yes
21559 echo "$as_me: failed program was:" >&5
21560 sed 's/^/| /' conftest.$ac_ext >&5
21562 wx_cv_func_va_copy=no
21565 rm -f conftest.err conftest.$ac_objext \
21566 conftest$ac_exeext conftest.$ac_ext
21570 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21571 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21573 if test $wx_cv_func_va_copy = "yes"; then
21574 cat >>confdefs.h <<\_ACEOF
21575 #define HAVE_VA_COPY 1
21579 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21580 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21581 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21582 echo $ECHO_N "(cached) $ECHO_C" >&6
21585 if test "$cross_compiling" = yes; then
21586 wx_cv_type_va_list_lvalue=yes
21589 cat >conftest.$ac_ext <<_ACEOF
21591 #include <stdarg.h>
21592 int foo(char *f, ...)
21597 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21605 return foo("hi", 17);
21608 rm -f conftest$ac_exeext
21609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21610 (eval $ac_link) 2>&5
21612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21613 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21615 (eval $ac_try) 2>&5
21617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21618 (exit $ac_status); }; }; then
21619 wx_cv_type_va_list_lvalue=yes
21621 echo "$as_me: program exited with status $ac_status" >&5
21622 echo "$as_me: failed program was:" >&5
21623 sed 's/^/| /' conftest.$ac_ext >&5
21625 ( exit $ac_status )
21626 wx_cv_type_va_list_lvalue=no
21628 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21633 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21634 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21636 if test $wx_cv_type_va_list_lvalue != "yes"; then
21637 cat >>confdefs.h <<\_ACEOF
21638 #define VA_LIST_IS_ARRAY 1
21644 if test "$wxUSE_VARARG_MACROS" = "yes"; then
21646 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
21647 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
21648 if test "${wx_cv_have_variadic_macros+set}" = set; then
21649 echo $ECHO_N "(cached) $ECHO_C" >&6
21653 ac_cpp='$CXXCPP $CPPFLAGS'
21654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21658 cat >conftest.$ac_ext <<_ACEOF
21661 cat confdefs.h >>conftest.$ac_ext
21662 cat >>conftest.$ac_ext <<_ACEOF
21663 /* end confdefs.h. */
21666 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
21672 test("%s %d %p", "test", 1, 0);
21679 rm -f conftest.$ac_objext
21680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21681 (eval $ac_compile) 2>conftest.er1
21683 grep -v '^ *+' conftest.er1 >conftest.err
21685 cat conftest.err >&5
21686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687 (exit $ac_status); } &&
21688 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21690 (eval $ac_try) 2>&5
21692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21693 (exit $ac_status); }; } &&
21694 { ac_try='test -s conftest.$ac_objext'
21695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21696 (eval $ac_try) 2>&5
21698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21699 (exit $ac_status); }; }; then
21700 wx_cv_have_variadic_macros=yes
21702 echo "$as_me: failed program was:" >&5
21703 sed 's/^/| /' conftest.$ac_ext >&5
21705 wx_cv_have_variadic_macros=no
21708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21710 ac_cpp='$CPP $CPPFLAGS'
21711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21718 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
21719 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
21721 if test $wx_cv_have_variadic_macros = "yes"; then
21722 cat >>confdefs.h <<\_ACEOF
21723 #define HAVE_VARIADIC_MACROS 1
21729 # Check whether --enable-largefile or --disable-largefile was given.
21730 if test "${enable_largefile+set}" = set; then
21731 enableval="$enable_largefile"
21734 if test "$enable_largefile" != no; then
21737 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21738 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21739 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21740 echo $ECHO_N "(cached) $ECHO_C" >&6
21743 cat >conftest.$ac_ext <<_ACEOF
21746 cat confdefs.h >>conftest.$ac_ext
21747 cat >>conftest.$ac_ext <<_ACEOF
21748 /* end confdefs.h. */
21749 #define _FILE_OFFSET_BITS 64
21750 #include <sys/types.h>
21755 unsigned int field: sizeof(off_t) == 8;
21762 rm -f conftest.$ac_objext
21763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21764 (eval $ac_compile) 2>conftest.er1
21766 grep -v '^ *+' conftest.er1 >conftest.err
21768 cat conftest.err >&5
21769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770 (exit $ac_status); } &&
21771 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21773 (eval $ac_try) 2>&5
21775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21776 (exit $ac_status); }; } &&
21777 { ac_try='test -s conftest.$ac_objext'
21778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21779 (eval $ac_try) 2>&5
21781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21782 (exit $ac_status); }; }; then
21783 ac_cv_sys_file_offset_bits=64
21785 echo "$as_me: failed program was:" >&5
21786 sed 's/^/| /' conftest.$ac_ext >&5
21788 ac_cv_sys_file_offset_bits=no
21790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21794 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21795 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21797 if test "$ac_cv_sys_file_offset_bits" != no; then
21799 cat >>confdefs.h <<_ACEOF
21800 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21805 if test "x$wx_largefile" != "xyes"; then
21807 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21808 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21809 if test "${ac_cv_sys_large_files+set}" = set; then
21810 echo $ECHO_N "(cached) $ECHO_C" >&6
21813 cat >conftest.$ac_ext <<_ACEOF
21816 cat confdefs.h >>conftest.$ac_ext
21817 cat >>conftest.$ac_ext <<_ACEOF
21818 /* end confdefs.h. */
21819 #define _LARGE_FILES 1
21820 #include <sys/types.h>
21825 unsigned int field: sizeof(off_t) == 8;
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
21853 ac_cv_sys_large_files=1
21855 echo "$as_me: failed program was:" >&5
21856 sed 's/^/| /' conftest.$ac_ext >&5
21858 ac_cv_sys_large_files=no
21860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21864 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21865 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21867 if test "$ac_cv_sys_large_files" != no; then
21869 cat >>confdefs.h <<_ACEOF
21870 #define _LARGE_FILES $ac_cv_sys_large_files
21877 echo "$as_me:$LINENO: checking if large file support is available" >&5
21878 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21879 if test "x$wx_largefile" = "xyes"; then
21880 cat >>confdefs.h <<\_ACEOF
21881 #define HAVE_LARGEFILE_SUPPORT 1
21885 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21886 echo "${ECHO_T}$wx_largefile" >&6
21890 if test "x$wx_largefile" = "xyes"; then
21891 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21892 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21894 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21895 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21896 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21897 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21898 echo $ECHO_N "(cached) $ECHO_C" >&6
21902 ac_cpp='$CXXCPP $CPPFLAGS'
21903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21907 cat >conftest.$ac_ext <<_ACEOF
21910 cat confdefs.h >>conftest.$ac_ext
21911 cat >>conftest.$ac_ext <<_ACEOF
21912 /* end confdefs.h. */
21918 #ifndef __STDC_EXT__
21926 rm -f conftest.$ac_objext
21927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21928 (eval $ac_compile) 2>conftest.er1
21930 grep -v '^ *+' conftest.er1 >conftest.err
21932 cat conftest.err >&5
21933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21934 (exit $ac_status); } &&
21935 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21937 (eval $ac_try) 2>&5
21939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940 (exit $ac_status); }; } &&
21941 { ac_try='test -s conftest.$ac_objext'
21942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21943 (eval $ac_try) 2>&5
21945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946 (exit $ac_status); }; }; then
21947 wx_cv_STDC_EXT_required=no
21949 echo "$as_me: failed program was:" >&5
21950 sed 's/^/| /' conftest.$ac_ext >&5
21952 wx_cv_STDC_EXT_required=yes
21955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21957 ac_cpp='$CPP $CPPFLAGS'
21958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21965 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21966 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21967 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21968 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21972 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21974 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21975 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21976 if test "${ac_cv_sys_largefile_source+set}" = set; then
21977 echo $ECHO_N "(cached) $ECHO_C" >&6
21980 ac_cv_sys_largefile_source=no
21981 cat >conftest.$ac_ext <<_ACEOF
21984 cat confdefs.h >>conftest.$ac_ext
21985 cat >>conftest.$ac_ext <<_ACEOF
21986 /* end confdefs.h. */
21996 rm -f conftest.$ac_objext
21997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21998 (eval $ac_compile) 2>conftest.er1
22000 grep -v '^ *+' conftest.er1 >conftest.err
22002 cat conftest.err >&5
22003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22004 (exit $ac_status); } &&
22005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22007 (eval $ac_try) 2>&5
22009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22010 (exit $ac_status); }; } &&
22011 { ac_try='test -s conftest.$ac_objext'
22012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22013 (eval $ac_try) 2>&5
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); }; }; then
22019 echo "$as_me: failed program was:" >&5
22020 sed 's/^/| /' conftest.$ac_ext >&5
22023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22024 cat >conftest.$ac_ext <<_ACEOF
22027 cat confdefs.h >>conftest.$ac_ext
22028 cat >>conftest.$ac_ext <<_ACEOF
22029 /* end confdefs.h. */
22030 #define _LARGEFILE_SOURCE 1
22040 rm -f conftest.$ac_objext
22041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22042 (eval $ac_compile) 2>conftest.er1
22044 grep -v '^ *+' conftest.er1 >conftest.err
22046 cat conftest.err >&5
22047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22048 (exit $ac_status); } &&
22049 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22051 (eval $ac_try) 2>&5
22053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22054 (exit $ac_status); }; } &&
22055 { ac_try='test -s conftest.$ac_objext'
22056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22057 (eval $ac_try) 2>&5
22059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060 (exit $ac_status); }; }; then
22061 ac_cv_sys_largefile_source=1; break
22063 echo "$as_me: failed program was:" >&5
22064 sed 's/^/| /' conftest.$ac_ext >&5
22067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22071 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22072 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22073 if test "$ac_cv_sys_largefile_source" != no; then
22075 cat >>confdefs.h <<_ACEOF
22076 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22082 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22083 # in glibc 2.1.3, but that breaks too many other things.
22084 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22085 echo "$as_me:$LINENO: checking for fseeko" >&5
22086 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22087 if test "${ac_cv_func_fseeko+set}" = set; then
22088 echo $ECHO_N "(cached) $ECHO_C" >&6
22090 cat >conftest.$ac_ext <<_ACEOF
22093 cat confdefs.h >>conftest.$ac_ext
22094 cat >>conftest.$ac_ext <<_ACEOF
22095 /* end confdefs.h. */
22100 return fseeko && fseeko (stdin, 0, 0);
22105 rm -f conftest.$ac_objext conftest$ac_exeext
22106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22107 (eval $ac_link) 2>conftest.er1
22109 grep -v '^ *+' conftest.er1 >conftest.err
22111 cat conftest.err >&5
22112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22113 (exit $ac_status); } &&
22114 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22116 (eval $ac_try) 2>&5
22118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22119 (exit $ac_status); }; } &&
22120 { ac_try='test -s conftest$ac_exeext'
22121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22122 (eval $ac_try) 2>&5
22124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22125 (exit $ac_status); }; }; then
22126 ac_cv_func_fseeko=yes
22128 echo "$as_me: failed program was:" >&5
22129 sed 's/^/| /' conftest.$ac_ext >&5
22131 ac_cv_func_fseeko=no
22133 rm -f conftest.err conftest.$ac_objext \
22134 conftest$ac_exeext conftest.$ac_ext
22136 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22137 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22138 if test $ac_cv_func_fseeko = yes; then
22140 cat >>confdefs.h <<\_ACEOF
22141 #define HAVE_FSEEKO 1
22146 if test "$ac_cv_sys_largefile_source" != no; then
22147 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22151 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22152 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22153 if test "${ac_cv_c_bigendian+set}" = set; then
22154 echo $ECHO_N "(cached) $ECHO_C" >&6
22156 ac_cv_c_bigendian=unknown
22157 # See if sys/param.h defines the BYTE_ORDER macro.
22158 cat >conftest.$ac_ext <<_ACEOF
22161 cat confdefs.h >>conftest.$ac_ext
22162 cat >>conftest.$ac_ext <<_ACEOF
22163 /* end confdefs.h. */
22164 #include <sys/types.h>
22165 #include <sys/param.h>
22170 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22171 bogus endian macros
22177 rm -f conftest.$ac_objext
22178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22179 (eval $ac_compile) 2>conftest.er1
22181 grep -v '^ *+' conftest.er1 >conftest.err
22183 cat conftest.err >&5
22184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22185 (exit $ac_status); } &&
22186 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22188 (eval $ac_try) 2>&5
22190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22191 (exit $ac_status); }; } &&
22192 { ac_try='test -s conftest.$ac_objext'
22193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22194 (eval $ac_try) 2>&5
22196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197 (exit $ac_status); }; }; then
22198 # It does; now see whether it defined to BIG_ENDIAN or not.
22199 cat >conftest.$ac_ext <<_ACEOF
22202 cat confdefs.h >>conftest.$ac_ext
22203 cat >>conftest.$ac_ext <<_ACEOF
22204 /* end confdefs.h. */
22205 #include <sys/types.h>
22206 #include <sys/param.h>
22211 #if BYTE_ORDER != BIG_ENDIAN
22218 rm -f conftest.$ac_objext
22219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22220 (eval $ac_compile) 2>conftest.er1
22222 grep -v '^ *+' conftest.er1 >conftest.err
22224 cat conftest.err >&5
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); } &&
22227 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22229 (eval $ac_try) 2>&5
22231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232 (exit $ac_status); }; } &&
22233 { ac_try='test -s conftest.$ac_objext'
22234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22235 (eval $ac_try) 2>&5
22237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22238 (exit $ac_status); }; }; then
22239 ac_cv_c_bigendian=yes
22241 echo "$as_me: failed program was:" >&5
22242 sed 's/^/| /' conftest.$ac_ext >&5
22244 ac_cv_c_bigendian=no
22246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22248 echo "$as_me: failed program was:" >&5
22249 sed 's/^/| /' conftest.$ac_ext >&5
22252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22253 if test $ac_cv_c_bigendian = unknown; then
22254 if test "$cross_compiling" = yes; then
22255 ac_cv_c_bigendian=unknown
22257 cat >conftest.$ac_ext <<_ACEOF
22260 cat confdefs.h >>conftest.$ac_ext
22261 cat >>conftest.$ac_ext <<_ACEOF
22262 /* end confdefs.h. */
22264 /* Are we little or big endian? From Harbison&Steele. */
22268 char c[sizeof (long)];
22271 exit (u.c[sizeof (long) - 1] == 1);
22274 rm -f conftest$ac_exeext
22275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22276 (eval $ac_link) 2>&5
22278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22279 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22281 (eval $ac_try) 2>&5
22283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22284 (exit $ac_status); }; }; then
22285 ac_cv_c_bigendian=no
22287 echo "$as_me: program exited with status $ac_status" >&5
22288 echo "$as_me: failed program was:" >&5
22289 sed 's/^/| /' conftest.$ac_ext >&5
22291 ( exit $ac_status )
22292 ac_cv_c_bigendian=yes
22294 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22298 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22299 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22300 if test $ac_cv_c_bigendian = unknown; then
22301 { 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
22302 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;}
22304 if test $ac_cv_c_bigendian = yes; then
22305 cat >>confdefs.h <<\_ACEOF
22306 #define WORDS_BIGENDIAN 1
22313 ac_cpp='$CXXCPP $CPPFLAGS'
22314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22317 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
22318 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
22319 if test -z "$CXXCPP"; then
22320 if test "${ac_cv_prog_CXXCPP+set}" = set; then
22321 echo $ECHO_N "(cached) $ECHO_C" >&6
22323 # Double quotes because CXXCPP needs to be expanded
22324 for CXXCPP in "$CXX -E" "/lib/cpp"
22326 ac_preproc_ok=false
22327 for ac_cxx_preproc_warn_flag in '' yes
22329 # Use a header file that comes with gcc, so configuring glibc
22330 # with a fresh cross-compiler works.
22331 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22332 # <limits.h> exists even on freestanding compilers.
22333 # On the NeXT, cc -E runs the code through the compiler's parser,
22334 # not just through cpp. "Syntax error" is here to catch this case.
22335 cat >conftest.$ac_ext <<_ACEOF
22338 cat confdefs.h >>conftest.$ac_ext
22339 cat >>conftest.$ac_ext <<_ACEOF
22340 /* end confdefs.h. */
22342 # include <limits.h>
22344 # include <assert.h>
22348 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22349 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22351 grep -v '^ *+' conftest.er1 >conftest.err
22353 cat conftest.err >&5
22354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355 (exit $ac_status); } >/dev/null; then
22356 if test -s conftest.err; then
22357 ac_cpp_err=$ac_cxx_preproc_warn_flag
22358 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22365 if test -z "$ac_cpp_err"; then
22368 echo "$as_me: failed program was:" >&5
22369 sed 's/^/| /' conftest.$ac_ext >&5
22371 # Broken: fails on valid input.
22374 rm -f conftest.err conftest.$ac_ext
22376 # OK, works on sane cases. Now check whether non-existent headers
22377 # can be detected and how.
22378 cat >conftest.$ac_ext <<_ACEOF
22381 cat confdefs.h >>conftest.$ac_ext
22382 cat >>conftest.$ac_ext <<_ACEOF
22383 /* end confdefs.h. */
22384 #include <ac_nonexistent.h>
22386 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22387 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22389 grep -v '^ *+' conftest.er1 >conftest.err
22391 cat conftest.err >&5
22392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22393 (exit $ac_status); } >/dev/null; then
22394 if test -s conftest.err; then
22395 ac_cpp_err=$ac_cxx_preproc_warn_flag
22396 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22403 if test -z "$ac_cpp_err"; then
22404 # Broken: success on invalid input.
22407 echo "$as_me: failed program was:" >&5
22408 sed 's/^/| /' conftest.$ac_ext >&5
22410 # Passes both tests.
22414 rm -f conftest.err conftest.$ac_ext
22417 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22418 rm -f conftest.err conftest.$ac_ext
22419 if $ac_preproc_ok; then
22424 ac_cv_prog_CXXCPP=$CXXCPP
22427 CXXCPP=$ac_cv_prog_CXXCPP
22429 ac_cv_prog_CXXCPP=$CXXCPP
22431 echo "$as_me:$LINENO: result: $CXXCPP" >&5
22432 echo "${ECHO_T}$CXXCPP" >&6
22433 ac_preproc_ok=false
22434 for ac_cxx_preproc_warn_flag in '' yes
22436 # Use a header file that comes with gcc, so configuring glibc
22437 # with a fresh cross-compiler works.
22438 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22439 # <limits.h> exists even on freestanding compilers.
22440 # On the NeXT, cc -E runs the code through the compiler's parser,
22441 # not just through cpp. "Syntax error" is here to catch this case.
22442 cat >conftest.$ac_ext <<_ACEOF
22445 cat confdefs.h >>conftest.$ac_ext
22446 cat >>conftest.$ac_ext <<_ACEOF
22447 /* end confdefs.h. */
22449 # include <limits.h>
22451 # include <assert.h>
22455 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22456 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22458 grep -v '^ *+' conftest.er1 >conftest.err
22460 cat conftest.err >&5
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); } >/dev/null; then
22463 if test -s conftest.err; then
22464 ac_cpp_err=$ac_cxx_preproc_warn_flag
22465 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22472 if test -z "$ac_cpp_err"; then
22475 echo "$as_me: failed program was:" >&5
22476 sed 's/^/| /' conftest.$ac_ext >&5
22478 # Broken: fails on valid input.
22481 rm -f conftest.err conftest.$ac_ext
22483 # OK, works on sane cases. Now check whether non-existent headers
22484 # can be detected and how.
22485 cat >conftest.$ac_ext <<_ACEOF
22488 cat confdefs.h >>conftest.$ac_ext
22489 cat >>conftest.$ac_ext <<_ACEOF
22490 /* end confdefs.h. */
22491 #include <ac_nonexistent.h>
22493 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22494 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22496 grep -v '^ *+' conftest.er1 >conftest.err
22498 cat conftest.err >&5
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); } >/dev/null; then
22501 if test -s conftest.err; then
22502 ac_cpp_err=$ac_cxx_preproc_warn_flag
22503 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22510 if test -z "$ac_cpp_err"; then
22511 # Broken: success on invalid input.
22514 echo "$as_me: failed program was:" >&5
22515 sed 's/^/| /' conftest.$ac_ext >&5
22517 # Passes both tests.
22521 rm -f conftest.err conftest.$ac_ext
22524 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22525 rm -f conftest.err conftest.$ac_ext
22526 if $ac_preproc_ok; then
22529 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22530 See \`config.log' for more details." >&5
22531 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22532 See \`config.log' for more details." >&2;}
22533 { (exit 1); exit 1; }; }
22537 ac_cpp='$CXXCPP $CPPFLAGS'
22538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22547 ac_cpp='$CXXCPP $CPPFLAGS'
22548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22554 for ac_header in iostream
22556 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22558 echo "$as_me:$LINENO: checking for $ac_header" >&5
22559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22561 echo $ECHO_N "(cached) $ECHO_C" >&6
22563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22566 # Is the header compilable?
22567 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22568 echo $ECHO_N "checking $ac_header usability... $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
22576 #include <$ac_header>
22578 rm -f conftest.$ac_objext
22579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22580 (eval $ac_compile) 2>conftest.er1
22582 grep -v '^ *+' conftest.er1 >conftest.err
22584 cat conftest.err >&5
22585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22586 (exit $ac_status); } &&
22587 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22589 (eval $ac_try) 2>&5
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); }; } &&
22593 { ac_try='test -s conftest.$ac_objext'
22594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22595 (eval $ac_try) 2>&5
22597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22598 (exit $ac_status); }; }; then
22599 ac_header_compiler=yes
22601 echo "$as_me: failed program was:" >&5
22602 sed 's/^/| /' conftest.$ac_ext >&5
22604 ac_header_compiler=no
22606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22607 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22608 echo "${ECHO_T}$ac_header_compiler" >&6
22610 # Is the header present?
22611 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22612 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22613 cat >conftest.$ac_ext <<_ACEOF
22616 cat confdefs.h >>conftest.$ac_ext
22617 cat >>conftest.$ac_ext <<_ACEOF
22618 /* end confdefs.h. */
22619 #include <$ac_header>
22621 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22622 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22624 grep -v '^ *+' conftest.er1 >conftest.err
22626 cat conftest.err >&5
22627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22628 (exit $ac_status); } >/dev/null; then
22629 if test -s conftest.err; then
22630 ac_cpp_err=$ac_cxx_preproc_warn_flag
22631 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22638 if test -z "$ac_cpp_err"; then
22639 ac_header_preproc=yes
22641 echo "$as_me: failed program was:" >&5
22642 sed 's/^/| /' conftest.$ac_ext >&5
22644 ac_header_preproc=no
22646 rm -f conftest.err conftest.$ac_ext
22647 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22648 echo "${ECHO_T}$ac_header_preproc" >&6
22650 # So? What about this header?
22651 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22653 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22654 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22655 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22656 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22657 ac_header_preproc=yes
22660 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22661 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22662 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22663 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22664 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22665 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22666 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22667 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22668 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22669 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22670 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22671 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22674 ## ----------------------------------------- ##
22675 ## Report this to wx-dev@lists.wxwidgets.org ##
22676 ## ----------------------------------------- ##
22679 sed "s/^/$as_me: WARNING: /" >&2
22682 echo "$as_me:$LINENO: checking for $ac_header" >&5
22683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22685 echo $ECHO_N "(cached) $ECHO_C" >&6
22687 eval "$as_ac_Header=\$ac_header_preproc"
22689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22690 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22694 cat >>confdefs.h <<_ACEOF
22695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22703 if test "$ac_cv_header_iostream" = "yes" ; then
22706 cat >>confdefs.h <<\_ACEOF
22707 #define wxUSE_IOSTREAMH 1
22713 ac_cpp='$CPP $CPPFLAGS'
22714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22721 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22722 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22723 if test "${wx_cv_cpp_bool+set}" = set; then
22724 echo $ECHO_N "(cached) $ECHO_C" >&6
22730 ac_cpp='$CXXCPP $CPPFLAGS'
22731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22736 cat >conftest.$ac_ext <<_ACEOF
22739 cat confdefs.h >>conftest.$ac_ext
22740 cat >>conftest.$ac_ext <<_ACEOF
22741 /* end confdefs.h. */
22756 rm -f conftest.$ac_objext
22757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22758 (eval $ac_compile) 2>conftest.er1
22760 grep -v '^ *+' conftest.er1 >conftest.err
22762 cat conftest.err >&5
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); } &&
22765 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22767 (eval $ac_try) 2>&5
22769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770 (exit $ac_status); }; } &&
22771 { ac_try='test -s conftest.$ac_objext'
22772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22773 (eval $ac_try) 2>&5
22775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776 (exit $ac_status); }; }; then
22781 echo "$as_me: failed program was:" >&5
22782 sed 's/^/| /' conftest.$ac_ext >&5
22789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22792 ac_cpp='$CPP $CPPFLAGS'
22793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22799 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22800 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22802 if test "$wx_cv_cpp_bool" = "yes"; then
22803 cat >>confdefs.h <<\_ACEOF
22804 #define HAVE_BOOL 1
22811 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22812 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22813 if test "${wx_cv_explicit+set}" = set; then
22814 echo $ECHO_N "(cached) $ECHO_C" >&6
22820 ac_cpp='$CXXCPP $CPPFLAGS'
22821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22826 cat >conftest.$ac_ext <<_ACEOF
22829 cat confdefs.h >>conftest.$ac_ext
22830 cat >>conftest.$ac_ext <<_ACEOF
22831 /* end confdefs.h. */
22833 class Foo { public: explicit Foo(int) {} };
22845 rm -f conftest.$ac_objext
22846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22847 (eval $ac_compile) 2>conftest.er1
22849 grep -v '^ *+' conftest.er1 >conftest.err
22851 cat conftest.err >&5
22852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22853 (exit $ac_status); } &&
22854 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22856 (eval $ac_try) 2>&5
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); }; } &&
22860 { ac_try='test -s conftest.$ac_objext'
22861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22862 (eval $ac_try) 2>&5
22864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22865 (exit $ac_status); }; }; then
22867 cat >conftest.$ac_ext <<_ACEOF
22870 cat confdefs.h >>conftest.$ac_ext
22871 cat >>conftest.$ac_ext <<_ACEOF
22872 /* end confdefs.h. */
22874 class Foo { public: explicit Foo(int) {} };
22875 static void TakeFoo(const Foo& foo) { }
22888 rm -f conftest.$ac_objext
22889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22890 (eval $ac_compile) 2>conftest.er1
22892 grep -v '^ *+' conftest.er1 >conftest.err
22894 cat conftest.err >&5
22895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22896 (exit $ac_status); } &&
22897 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22899 (eval $ac_try) 2>&5
22901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22902 (exit $ac_status); }; } &&
22903 { ac_try='test -s conftest.$ac_objext'
22904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22905 (eval $ac_try) 2>&5
22907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22908 (exit $ac_status); }; }; then
22911 echo "$as_me: failed program was:" >&5
22912 sed 's/^/| /' conftest.$ac_ext >&5
22917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22920 echo "$as_me: failed program was:" >&5
22921 sed 's/^/| /' conftest.$ac_ext >&5
22926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22929 ac_cpp='$CPP $CPPFLAGS'
22930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22936 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22937 echo "${ECHO_T}$wx_cv_explicit" >&6
22939 if test "$wx_cv_explicit" = "yes"; then
22940 cat >>confdefs.h <<\_ACEOF
22941 #define HAVE_EXPLICIT 1
22947 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22948 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22949 if test "${ac_cv_cxx_const_cast+set}" = set; then
22950 echo $ECHO_N "(cached) $ECHO_C" >&6
22955 ac_cpp='$CXXCPP $CPPFLAGS'
22956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22960 cat >conftest.$ac_ext <<_ACEOF
22963 cat confdefs.h >>conftest.$ac_ext
22964 cat >>conftest.$ac_ext <<_ACEOF
22965 /* end confdefs.h. */
22970 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22975 rm -f conftest.$ac_objext
22976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22977 (eval $ac_compile) 2>conftest.er1
22979 grep -v '^ *+' conftest.er1 >conftest.err
22981 cat conftest.err >&5
22982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983 (exit $ac_status); } &&
22984 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22986 (eval $ac_try) 2>&5
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); }; } &&
22990 { ac_try='test -s conftest.$ac_objext'
22991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22992 (eval $ac_try) 2>&5
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); }; }; then
22996 ac_cv_cxx_const_cast=yes
22998 echo "$as_me: failed program was:" >&5
22999 sed 's/^/| /' conftest.$ac_ext >&5
23001 ac_cv_cxx_const_cast=no
23003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23005 ac_cpp='$CPP $CPPFLAGS'
23006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23012 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23013 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23014 if test "$ac_cv_cxx_const_cast" = yes; then
23016 cat >>confdefs.h <<\_ACEOF
23017 #define HAVE_CONST_CAST
23022 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23023 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23024 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23025 echo $ECHO_N "(cached) $ECHO_C" >&6
23030 ac_cpp='$CXXCPP $CPPFLAGS'
23031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23035 cat >conftest.$ac_ext <<_ACEOF
23038 cat confdefs.h >>conftest.$ac_ext
23039 cat >>conftest.$ac_ext <<_ACEOF
23040 /* end confdefs.h. */
23041 #include <typeinfo>
23042 class Base { public : Base () {} virtual void f () = 0;};
23043 class Derived : public Base { public : Derived () {} virtual void f () {} };
23044 class Unrelated { public : Unrelated () {} };
23045 int g (Unrelated&) { return 0; }
23050 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23055 rm -f conftest.$ac_objext
23056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23057 (eval $ac_compile) 2>conftest.er1
23059 grep -v '^ *+' conftest.er1 >conftest.err
23061 cat conftest.err >&5
23062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23063 (exit $ac_status); } &&
23064 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23066 (eval $ac_try) 2>&5
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); }; } &&
23070 { ac_try='test -s conftest.$ac_objext'
23071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23072 (eval $ac_try) 2>&5
23074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23075 (exit $ac_status); }; }; then
23076 ac_cv_cxx_reinterpret_cast=yes
23078 echo "$as_me: failed program was:" >&5
23079 sed 's/^/| /' conftest.$ac_ext >&5
23081 ac_cv_cxx_reinterpret_cast=no
23083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23085 ac_cpp='$CPP $CPPFLAGS'
23086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23092 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23093 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23094 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23096 cat >>confdefs.h <<\_ACEOF
23097 #define HAVE_REINTERPRET_CAST
23102 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23103 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23104 if test "${ac_cv_cxx_static_cast+set}" = set; then
23105 echo $ECHO_N "(cached) $ECHO_C" >&6
23110 ac_cpp='$CXXCPP $CPPFLAGS'
23111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23115 cat >conftest.$ac_ext <<_ACEOF
23118 cat confdefs.h >>conftest.$ac_ext
23119 cat >>conftest.$ac_ext <<_ACEOF
23120 /* end confdefs.h. */
23121 #include <typeinfo>
23122 class Base { public : Base () {} virtual void f () = 0; };
23123 class Derived : public Base { public : Derived () {} virtual void f () {} };
23124 int g (Derived&) { return 0; }
23129 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23134 rm -f conftest.$ac_objext
23135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23136 (eval $ac_compile) 2>conftest.er1
23138 grep -v '^ *+' conftest.er1 >conftest.err
23140 cat conftest.err >&5
23141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142 (exit $ac_status); } &&
23143 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23145 (eval $ac_try) 2>&5
23147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148 (exit $ac_status); }; } &&
23149 { ac_try='test -s conftest.$ac_objext'
23150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23151 (eval $ac_try) 2>&5
23153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23154 (exit $ac_status); }; }; then
23155 ac_cv_cxx_static_cast=yes
23157 echo "$as_me: failed program was:" >&5
23158 sed 's/^/| /' conftest.$ac_ext >&5
23160 ac_cv_cxx_static_cast=no
23162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23164 ac_cpp='$CPP $CPPFLAGS'
23165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23171 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23172 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23173 if test "$ac_cv_cxx_static_cast" = yes; then
23175 cat >>confdefs.h <<\_ACEOF
23176 #define HAVE_STATIC_CAST
23182 if test "x$SUNCXX" = xyes; then
23183 CXXFLAGS="-features=tmplife $CXXFLAGS"
23186 if test "x$SUNCC" = xyes; then
23187 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23190 if test "x$SGICC" = "xyes"; then
23191 CFLAGS="-woff 3970 $CFLAGS"
23193 if test "x$SGICXX" = "xyes"; then
23194 CXXFLAGS="-woff 3970 $CXXFLAGS"
23197 if test "x$HPCC" = "xyes"; then
23198 CFLAGS="+W 2011,2450 $CFLAGS"
23200 if test "x$HPCXX" = "xyes"; then
23201 CXXFLAGS="+W 2340 $CXXFLAGS"
23204 if test "x$COMPAQCXX" = "xyes"; then
23205 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23209 ac_cpp='$CXXCPP $CPPFLAGS'
23210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23215 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23216 if test "$wxUSE_UNICODE" = "yes"; then
23217 std_string="std::wstring"
23218 char_type="wchar_t"
23220 std_string="std::string"
23224 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23225 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23226 if test "${wx_cv_class_stdstring+set}" = set; then
23227 echo $ECHO_N "(cached) $ECHO_C" >&6
23230 cat >conftest.$ac_ext <<_ACEOF
23233 cat confdefs.h >>conftest.$ac_ext
23234 cat >>conftest.$ac_ext <<_ACEOF
23235 /* end confdefs.h. */
23245 rm -f conftest.$ac_objext
23246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23247 (eval $ac_compile) 2>conftest.er1
23249 grep -v '^ *+' conftest.er1 >conftest.err
23251 cat conftest.err >&5
23252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23253 (exit $ac_status); } &&
23254 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23256 (eval $ac_try) 2>&5
23258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23259 (exit $ac_status); }; } &&
23260 { ac_try='test -s conftest.$ac_objext'
23261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23262 (eval $ac_try) 2>&5
23264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23265 (exit $ac_status); }; }; then
23266 wx_cv_class_stdstring=yes
23268 echo "$as_me: failed program was:" >&5
23269 sed 's/^/| /' conftest.$ac_ext >&5
23271 wx_cv_class_stdstring=no
23274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23278 echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23279 echo "${ECHO_T}$wx_cv_class_stdstring" >&6
23281 if test "$wx_cv_class_stdstring" = yes; then
23282 if test "$wxUSE_UNICODE" = "yes"; then
23283 cat >>confdefs.h <<\_ACEOF
23284 #define HAVE_STD_WSTRING 1
23289 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23290 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23291 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23292 echo $ECHO_N "(cached) $ECHO_C" >&6
23295 cat >conftest.$ac_ext <<_ACEOF
23298 cat confdefs.h >>conftest.$ac_ext
23299 cat >>conftest.$ac_ext <<_ACEOF
23300 /* end confdefs.h. */
23302 #ifdef HAVE_WCHAR_H
23304 # include <stddef.h>
23306 # include <wchar.h>
23308 #ifdef HAVE_STDLIB_H
23309 # include <stdlib.h>
23317 std::basic_string<$char_type> foo;
23318 const $char_type* dummy = foo.c_str();
23323 rm -f conftest.$ac_objext
23324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23325 (eval $ac_compile) 2>conftest.er1
23327 grep -v '^ *+' conftest.er1 >conftest.err
23329 cat conftest.err >&5
23330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23331 (exit $ac_status); } &&
23332 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23334 (eval $ac_try) 2>&5
23336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23337 (exit $ac_status); }; } &&
23338 { ac_try='test -s conftest.$ac_objext'
23339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23340 (eval $ac_try) 2>&5
23342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23343 (exit $ac_status); }; }; then
23344 wx_cv_class_stdbasicstring=yes
23346 echo "$as_me: failed program was:" >&5
23347 sed 's/^/| /' conftest.$ac_ext >&5
23349 wx_cv_class_stdbasicstring=no
23352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23356 echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23357 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6
23359 if test "$wx_cv_class_stdbasicstring" != yes; then
23360 if test "$wxUSE_STL" = "yes"; then
23361 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23362 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23363 { (exit 1); exit 1; }; }
23364 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23365 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23366 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23367 { (exit 1); exit 1; }; }
23369 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23370 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23371 wxUSE_STD_STRING=no
23377 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23378 echo "$as_me:$LINENO: checking for std::istream" >&5
23379 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23380 if test "${ac_cv_type_std__istream+set}" = set; then
23381 echo $ECHO_N "(cached) $ECHO_C" >&6
23383 cat >conftest.$ac_ext <<_ACEOF
23386 cat confdefs.h >>conftest.$ac_ext
23387 cat >>conftest.$ac_ext <<_ACEOF
23388 /* end confdefs.h. */
23389 #include <iostream>
23394 if ((std::istream *) 0)
23396 if (sizeof (std::istream))
23402 rm -f conftest.$ac_objext
23403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23404 (eval $ac_compile) 2>conftest.er1
23406 grep -v '^ *+' conftest.er1 >conftest.err
23408 cat conftest.err >&5
23409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23410 (exit $ac_status); } &&
23411 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23413 (eval $ac_try) 2>&5
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); }; } &&
23417 { ac_try='test -s conftest.$ac_objext'
23418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23419 (eval $ac_try) 2>&5
23421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23422 (exit $ac_status); }; }; then
23423 ac_cv_type_std__istream=yes
23425 echo "$as_me: failed program was:" >&5
23426 sed 's/^/| /' conftest.$ac_ext >&5
23428 ac_cv_type_std__istream=no
23430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23432 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23433 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23434 if test $ac_cv_type_std__istream = yes; then
23436 cat >>confdefs.h <<_ACEOF
23437 #define HAVE_STD__ISTREAM 1
23442 wxUSE_STD_IOSTREAM=no
23444 echo "$as_me:$LINENO: checking for std::ostream" >&5
23445 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23446 if test "${ac_cv_type_std__ostream+set}" = set; then
23447 echo $ECHO_N "(cached) $ECHO_C" >&6
23449 cat >conftest.$ac_ext <<_ACEOF
23452 cat confdefs.h >>conftest.$ac_ext
23453 cat >>conftest.$ac_ext <<_ACEOF
23454 /* end confdefs.h. */
23455 #include <iostream>
23460 if ((std::ostream *) 0)
23462 if (sizeof (std::ostream))
23468 rm -f conftest.$ac_objext
23469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23470 (eval $ac_compile) 2>conftest.er1
23472 grep -v '^ *+' conftest.er1 >conftest.err
23474 cat conftest.err >&5
23475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476 (exit $ac_status); } &&
23477 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23479 (eval $ac_try) 2>&5
23481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23482 (exit $ac_status); }; } &&
23483 { ac_try='test -s conftest.$ac_objext'
23484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23485 (eval $ac_try) 2>&5
23487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23488 (exit $ac_status); }; }; then
23489 ac_cv_type_std__ostream=yes
23491 echo "$as_me: failed program was:" >&5
23492 sed 's/^/| /' conftest.$ac_ext >&5
23494 ac_cv_type_std__ostream=no
23496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23498 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23499 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23500 if test $ac_cv_type_std__ostream = yes; then
23502 cat >>confdefs.h <<_ACEOF
23503 #define HAVE_STD__OSTREAM 1
23508 wxUSE_STD_IOSTREAM=no
23512 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23513 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23514 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23515 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23516 { (exit 1); exit 1; }; }
23518 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23519 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23524 if test "$wxUSE_STL" = "yes"; then
23525 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23526 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23527 if test "${wx_cv_lib_stl+set}" = set; then
23528 echo $ECHO_N "(cached) $ECHO_C" >&6
23530 cat >conftest.$ac_ext <<_ACEOF
23533 cat confdefs.h >>conftest.$ac_ext
23534 cat >>conftest.$ac_ext <<_ACEOF
23535 /* end confdefs.h. */
23537 #include <functional>
23538 #include <algorithm>
23544 std::vector<int> moo;
23545 std::list<int> foo;
23546 std::vector<int>::iterator it =
23547 std::find_if(moo.begin(), moo.end(),
23548 std::bind2nd(std::less<int>(), 3));
23553 rm -f conftest.$ac_objext
23554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23555 (eval $ac_compile) 2>conftest.er1
23557 grep -v '^ *+' conftest.er1 >conftest.err
23559 cat conftest.err >&5
23560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23561 (exit $ac_status); } &&
23562 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23564 (eval $ac_try) 2>&5
23566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23567 (exit $ac_status); }; } &&
23568 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
23576 echo "$as_me: failed program was:" >&5
23577 sed 's/^/| /' conftest.$ac_ext >&5
23582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23585 echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23586 echo "${ECHO_T}$wx_cv_lib_stl" >&6
23588 if test "$wx_cv_lib_stl" != yes; then
23589 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23590 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23591 { (exit 1); exit 1; }; }
23594 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23595 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23596 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23597 echo $ECHO_N "(cached) $ECHO_C" >&6
23599 cat >conftest.$ac_ext <<_ACEOF
23602 cat confdefs.h >>conftest.$ac_ext
23603 cat >>conftest.$ac_ext <<_ACEOF
23604 /* end confdefs.h. */
23609 std::string foo, bar;
23611 foo.compare(1, 1, bar);
23612 foo.compare(1, 1, bar, 1, 1);
23614 foo.compare(1, 1, "");
23615 foo.compare(1, 1, "", 2);
23620 rm -f conftest.$ac_objext
23621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23622 (eval $ac_compile) 2>conftest.er1
23624 grep -v '^ *+' conftest.er1 >conftest.err
23626 cat conftest.err >&5
23627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23628 (exit $ac_status); } &&
23629 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23631 (eval $ac_try) 2>&5
23633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23634 (exit $ac_status); }; } &&
23635 { ac_try='test -s conftest.$ac_objext'
23636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23637 (eval $ac_try) 2>&5
23639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23640 (exit $ac_status); }; }; then
23641 wx_cv_func_stdstring_compare=yes
23643 echo "$as_me: failed program was:" >&5
23644 sed 's/^/| /' conftest.$ac_ext >&5
23646 wx_cv_func_stdstring_compare=no
23649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23652 echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23653 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6
23655 if test "$wx_cv_func_stdstring_compare" = yes; then
23656 cat >>confdefs.h <<\_ACEOF
23657 #define HAVE_STD_STRING_COMPARE 1
23662 if test "${ac_cv_header_hash_map+set}" = set; then
23663 echo "$as_me:$LINENO: checking for hash_map" >&5
23664 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23665 if test "${ac_cv_header_hash_map+set}" = set; then
23666 echo $ECHO_N "(cached) $ECHO_C" >&6
23668 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23669 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23671 # Is the header compilable?
23672 echo "$as_me:$LINENO: checking hash_map usability" >&5
23673 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23674 cat >conftest.$ac_ext <<_ACEOF
23677 cat confdefs.h >>conftest.$ac_ext
23678 cat >>conftest.$ac_ext <<_ACEOF
23679 /* end confdefs.h. */
23680 $ac_includes_default
23681 #include <hash_map>
23683 rm -f conftest.$ac_objext
23684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23685 (eval $ac_compile) 2>conftest.er1
23687 grep -v '^ *+' conftest.er1 >conftest.err
23689 cat conftest.err >&5
23690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23691 (exit $ac_status); } &&
23692 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23694 (eval $ac_try) 2>&5
23696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23697 (exit $ac_status); }; } &&
23698 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
23704 ac_header_compiler=yes
23706 echo "$as_me: failed program was:" >&5
23707 sed 's/^/| /' conftest.$ac_ext >&5
23709 ac_header_compiler=no
23711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23712 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23713 echo "${ECHO_T}$ac_header_compiler" >&6
23715 # Is the header present?
23716 echo "$as_me:$LINENO: checking hash_map presence" >&5
23717 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23718 cat >conftest.$ac_ext <<_ACEOF
23721 cat confdefs.h >>conftest.$ac_ext
23722 cat >>conftest.$ac_ext <<_ACEOF
23723 /* end confdefs.h. */
23724 #include <hash_map>
23726 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23727 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23729 grep -v '^ *+' conftest.er1 >conftest.err
23731 cat conftest.err >&5
23732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23733 (exit $ac_status); } >/dev/null; then
23734 if test -s conftest.err; then
23735 ac_cpp_err=$ac_cxx_preproc_warn_flag
23736 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23743 if test -z "$ac_cpp_err"; then
23744 ac_header_preproc=yes
23746 echo "$as_me: failed program was:" >&5
23747 sed 's/^/| /' conftest.$ac_ext >&5
23749 ac_header_preproc=no
23751 rm -f conftest.err conftest.$ac_ext
23752 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23753 echo "${ECHO_T}$ac_header_preproc" >&6
23755 # So? What about this header?
23756 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23758 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23759 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23760 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23761 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23762 ac_header_preproc=yes
23765 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23766 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23767 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23768 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23769 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23770 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23771 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23772 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23773 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23774 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23775 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23776 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23779 ## ----------------------------------------- ##
23780 ## Report this to wx-dev@lists.wxwidgets.org ##
23781 ## ----------------------------------------- ##
23784 sed "s/^/$as_me: WARNING: /" >&2
23787 echo "$as_me:$LINENO: checking for hash_map" >&5
23788 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23789 if test "${ac_cv_header_hash_map+set}" = set; then
23790 echo $ECHO_N "(cached) $ECHO_C" >&6
23792 ac_cv_header_hash_map=$ac_header_preproc
23794 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23795 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23798 if test $ac_cv_header_hash_map = yes; then
23799 echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23800 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6
23801 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23802 echo $ECHO_N "(cached) $ECHO_C" >&6
23804 cat >conftest.$ac_ext <<_ACEOF
23807 cat confdefs.h >>conftest.$ac_ext
23808 cat >>conftest.$ac_ext <<_ACEOF
23809 /* end confdefs.h. */
23810 #include <hash_map>
23811 #include <hash_set>
23815 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23816 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23821 rm -f conftest.$ac_objext
23822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23823 (eval $ac_compile) 2>conftest.er1
23825 grep -v '^ *+' conftest.er1 >conftest.err
23827 cat conftest.err >&5
23828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23829 (exit $ac_status); } &&
23830 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23832 (eval $ac_try) 2>&5
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); }; } &&
23836 { ac_try='test -s conftest.$ac_objext'
23837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23838 (eval $ac_try) 2>&5
23840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23841 (exit $ac_status); }; }; then
23842 wx_cv_class_stdhashmapset=yes
23844 echo "$as_me: failed program was:" >&5
23845 sed 's/^/| /' conftest.$ac_ext >&5
23847 wx_cv_class_stdhashmapset=no
23849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23853 echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23854 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6
23860 if test "$wx_cv_class_stdhashmapset" = yes; then
23861 cat >>confdefs.h <<\_ACEOF
23862 #define HAVE_HASH_MAP 1
23865 cat >>confdefs.h <<\_ACEOF
23866 #define HAVE_STD_HASH_MAP 1
23871 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23872 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23873 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23874 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23875 echo $ECHO_N "(cached) $ECHO_C" >&6
23877 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23878 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23880 # Is the header compilable?
23881 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23882 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23883 cat >conftest.$ac_ext <<_ACEOF
23886 cat confdefs.h >>conftest.$ac_ext
23887 cat >>conftest.$ac_ext <<_ACEOF
23888 /* end confdefs.h. */
23889 $ac_includes_default
23890 #include <ext/hash_map>
23892 rm -f conftest.$ac_objext
23893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23894 (eval $ac_compile) 2>conftest.er1
23896 grep -v '^ *+' conftest.er1 >conftest.err
23898 cat conftest.err >&5
23899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23900 (exit $ac_status); } &&
23901 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23903 (eval $ac_try) 2>&5
23905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23906 (exit $ac_status); }; } &&
23907 { ac_try='test -s conftest.$ac_objext'
23908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23909 (eval $ac_try) 2>&5
23911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912 (exit $ac_status); }; }; then
23913 ac_header_compiler=yes
23915 echo "$as_me: failed program was:" >&5
23916 sed 's/^/| /' conftest.$ac_ext >&5
23918 ac_header_compiler=no
23920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23921 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23922 echo "${ECHO_T}$ac_header_compiler" >&6
23924 # Is the header present?
23925 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23926 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23927 cat >conftest.$ac_ext <<_ACEOF
23930 cat confdefs.h >>conftest.$ac_ext
23931 cat >>conftest.$ac_ext <<_ACEOF
23932 /* end confdefs.h. */
23933 #include <ext/hash_map>
23935 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23936 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23938 grep -v '^ *+' conftest.er1 >conftest.err
23940 cat conftest.err >&5
23941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23942 (exit $ac_status); } >/dev/null; then
23943 if test -s conftest.err; then
23944 ac_cpp_err=$ac_cxx_preproc_warn_flag
23945 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23952 if test -z "$ac_cpp_err"; then
23953 ac_header_preproc=yes
23955 echo "$as_me: failed program was:" >&5
23956 sed 's/^/| /' conftest.$ac_ext >&5
23958 ac_header_preproc=no
23960 rm -f conftest.err conftest.$ac_ext
23961 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23962 echo "${ECHO_T}$ac_header_preproc" >&6
23964 # So? What about this header?
23965 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23967 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23968 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23969 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23970 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23971 ac_header_preproc=yes
23974 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23975 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23976 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23977 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23978 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23979 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23980 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23981 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23982 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23983 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23984 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23985 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23988 ## ----------------------------------------- ##
23989 ## Report this to wx-dev@lists.wxwidgets.org ##
23990 ## ----------------------------------------- ##
23993 sed "s/^/$as_me: WARNING: /" >&2
23996 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23997 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23998 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23999 echo $ECHO_N "(cached) $ECHO_C" >&6
24001 ac_cv_header_ext_hash_map=$ac_header_preproc
24003 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24004 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24007 if test $ac_cv_header_ext_hash_map = yes; then
24008 echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24009 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6
24010 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24011 echo $ECHO_N "(cached) $ECHO_C" >&6
24013 cat >conftest.$ac_ext <<_ACEOF
24016 cat confdefs.h >>conftest.$ac_ext
24017 cat >>conftest.$ac_ext <<_ACEOF
24018 /* end confdefs.h. */
24019 #include <ext/hash_map>
24020 #include <ext/hash_set>
24024 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24025 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24030 rm -f conftest.$ac_objext
24031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24032 (eval $ac_compile) 2>conftest.er1
24034 grep -v '^ *+' conftest.er1 >conftest.err
24036 cat conftest.err >&5
24037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038 (exit $ac_status); } &&
24039 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24041 (eval $ac_try) 2>&5
24043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24044 (exit $ac_status); }; } &&
24045 { ac_try='test -s conftest.$ac_objext'
24046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24047 (eval $ac_try) 2>&5
24049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24050 (exit $ac_status); }; }; then
24051 wx_cv_class_gnuhashmapset=yes
24053 echo "$as_me: failed program was:" >&5
24054 sed 's/^/| /' conftest.$ac_ext >&5
24056 wx_cv_class_gnuhashmapset=no
24058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24062 echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24063 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6
24069 if test "$wx_cv_class_gnuhashmapset" = yes; then
24070 cat >>confdefs.h <<\_ACEOF
24071 #define HAVE_EXT_HASH_MAP 1
24074 cat >>confdefs.h <<\_ACEOF
24075 #define HAVE_GNU_CXX_HASH_MAP 1
24082 ac_cpp='$CPP $CPPFLAGS'
24083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24090 /usr/local/include \
24092 /usr/Motif-2.1/include \
24093 /usr/Motif-1.2/include \
24094 /usr/include/Motif1.2 \
24097 /usr/openwin/include \
24101 /usr/X11R6/include \
24102 /usr/X11R6.4/include \
24103 /usr/X11R5/include \
24104 /usr/X11R4/include \
24106 /usr/include/X11R6 \
24107 /usr/include/X11R5 \
24108 /usr/include/X11R4 \
24110 /usr/local/X11R6/include \
24111 /usr/local/X11R5/include \
24112 /usr/local/X11R4/include \
24114 /usr/local/include/X11R6 \
24115 /usr/local/include/X11R5 \
24116 /usr/local/include/X11R4 \
24120 /usr/local/X11/include \
24121 /usr/local/include/X11 \
24123 /usr/XFree86/include/X11 \
24126 /usr/openwin/share/include"
24128 echo "$as_me:$LINENO: checking for libraries directory" >&5
24129 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24133 if test "${wx_cv_std_libpath+set}" = set; then
24134 echo $ECHO_N "(cached) $ECHO_C" >&6
24137 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24138 for e in a so sl dylib dll.a; do
24140 if test -f $libc; then
24143 cat >conftest.$ac_ext <<_ACEOF
24144 int main() { return 0; }
24146 rm -f conftest.$ac_objext conftest$ac_exeext
24147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24148 (eval $ac_link) 2>conftest.er1
24150 grep -v '^ *+' conftest.er1 >conftest.err
24152 cat conftest.err >&5
24153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24154 (exit $ac_status); } &&
24155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24157 (eval $ac_try) 2>&5
24159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24160 (exit $ac_status); }; } &&
24161 { ac_try='test -s conftest$ac_exeext'
24162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24163 (eval $ac_try) 2>&5
24165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24166 (exit $ac_status); }; }; then
24167 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24169 echo "$as_me: failed program was:" >&5
24170 sed 's/^/| /' conftest.$ac_ext >&5
24173 rm -f conftest.err conftest.$ac_objext \
24174 conftest$ac_exeext conftest.$ac_ext
24176 if test "x$wx_cv_std_libpath" != "x"; then
24182 if test "x$wx_cv_std_libpath" = "x"; then
24183 wx_cv_std_libpath="lib"
24192 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24193 wx_cv_std_libpath="lib/64"
24195 wx_cv_std_libpath="lib"
24200 if test "$ac_cv_sizeof_void_p" = 8 -a \
24201 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24202 wx_cv_std_libpath="lib64"
24204 wx_cv_std_libpath="lib"
24209 wx_cv_std_libpath="lib";
24213 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24214 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24216 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24218 if test "$build" != "$host" -a "$GCC" = yes; then
24219 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24220 cross_root=`dirname $cross_root`
24221 cross_root=`dirname $cross_root`
24223 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24224 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24225 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24227 if test -z "$PKG_CONFIG_PATH"; then
24228 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24229 export PKG_CONFIG_PATH
24232 if test -z "$x_includes" -o "$x_includes" = NONE; then
24235 for ac_dir in $SEARCH_INCLUDE /usr/include;
24237 if test -f "$ac_dir/X11/Intrinsic.h"; then
24238 ac_find_includes=$ac_dir
24243 x_includes=$ac_find_includes
24245 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24248 for ac_dir in $SEARCH_LIB;
24250 for ac_extension in a so sl dylib dll.a; do
24251 if test -f "$ac_dir/libXt.$ac_extension"; then
24252 ac_find_libraries=$ac_dir
24258 x_libraries=$ac_find_libraries
24264 cat >confcache <<\_ACEOF
24265 # This file is a shell script that caches the results of configure
24266 # tests run on this system so they can be shared between configure
24267 # scripts and configure runs, see configure's option --config-cache.
24268 # It is not useful on other systems. If it contains results you don't
24269 # want to keep, you may remove or edit it.
24271 # config.status only pays attention to the cache file if you give it
24272 # the --recheck option to rerun configure.
24274 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24275 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24276 # following values.
24280 # The following way of writing the cache mishandles newlines in values,
24281 # but we know of no workaround that is simple, portable, and efficient.
24282 # So, don't put newlines in cache variables' values.
24283 # Ultrix sh set writes to stderr and can't be redirected directly,
24284 # and sets the high bit in the cache file unless we assign to the vars.
24287 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24289 # `set' does not quote correctly, so add quotes (double-quote
24290 # substitution turns \\\\ into \\, and sed turns \\ into \).
24293 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24296 # `set' quotes correctly as required by POSIX, so do not add quotes.
24298 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24305 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24307 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24309 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24310 if test -w $cache_file; then
24311 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24312 cat confcache >$cache_file
24314 echo "not updating unwritable cache $cache_file"
24319 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24320 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24321 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24322 if test "${wx_cv_lib_glibc21+set}" = set; then
24323 echo $ECHO_N "(cached) $ECHO_C" >&6
24326 cat >conftest.$ac_ext <<_ACEOF
24329 cat confdefs.h >>conftest.$ac_ext
24330 cat >>conftest.$ac_ext <<_ACEOF
24331 /* end confdefs.h. */
24332 #include <features.h>
24337 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24345 rm -f conftest.$ac_objext
24346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24347 (eval $ac_compile) 2>conftest.er1
24349 grep -v '^ *+' conftest.er1 >conftest.err
24351 cat conftest.err >&5
24352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24353 (exit $ac_status); } &&
24354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
24360 { ac_try='test -s conftest.$ac_objext'
24361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24362 (eval $ac_try) 2>&5
24364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24365 (exit $ac_status); }; }; then
24367 wx_cv_lib_glibc21=yes
24370 echo "$as_me: failed program was:" >&5
24371 sed 's/^/| /' conftest.$ac_ext >&5
24374 wx_cv_lib_glibc21=no
24378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24381 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24382 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24383 if test "$wx_cv_lib_glibc21" = "yes"; then
24384 cat >>confdefs.h <<\_ACEOF
24385 #define wxHAVE_GLIBC2 1
24391 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24392 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24393 cat >>confdefs.h <<\_ACEOF
24394 #define _GNU_SOURCE 1
24405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24406 echo "$as_me:$LINENO: checking for $ac_func" >&5
24407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24408 if eval "test \"\${$as_ac_var+set}\" = set"; then
24409 echo $ECHO_N "(cached) $ECHO_C" >&6
24411 cat >conftest.$ac_ext <<_ACEOF
24414 cat confdefs.h >>conftest.$ac_ext
24415 cat >>conftest.$ac_ext <<_ACEOF
24416 /* end confdefs.h. */
24417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24419 #define $ac_func innocuous_$ac_func
24421 /* System header to define __stub macros and hopefully few prototypes,
24422 which can conflict with char $ac_func (); below.
24423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24424 <limits.h> exists even on freestanding compilers. */
24427 # include <limits.h>
24429 # include <assert.h>
24434 /* Override any gcc2 internal prototype to avoid an error. */
24439 /* We use char because int might match the return type of a gcc2
24440 builtin and then its argument prototype would still apply. */
24442 /* The GNU C library defines this for functions which it implements
24443 to always fail with ENOSYS. Some functions are actually named
24444 something starting with __ and the normal name is an alias. */
24445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24448 char (*f) () = $ac_func;
24457 return f != $ac_func;
24462 rm -f conftest.$ac_objext conftest$ac_exeext
24463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24464 (eval $ac_link) 2>conftest.er1
24466 grep -v '^ *+' conftest.er1 >conftest.err
24468 cat conftest.err >&5
24469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24470 (exit $ac_status); } &&
24471 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24473 (eval $ac_try) 2>&5
24475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24476 (exit $ac_status); }; } &&
24477 { ac_try='test -s conftest$ac_exeext'
24478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24479 (eval $ac_try) 2>&5
24481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24482 (exit $ac_status); }; }; then
24483 eval "$as_ac_var=yes"
24485 echo "$as_me: failed program was:" >&5
24486 sed 's/^/| /' conftest.$ac_ext >&5
24488 eval "$as_ac_var=no"
24490 rm -f conftest.err conftest.$ac_objext \
24491 conftest$ac_exeext conftest.$ac_ext
24493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24495 if test `eval echo '${'$as_ac_var'}'` = yes; then
24496 cat >>confdefs.h <<_ACEOF
24497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24504 for ac_func in floor
24506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24507 echo "$as_me:$LINENO: checking for $ac_func" >&5
24508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24509 if eval "test \"\${$as_ac_var+set}\" = set"; then
24510 echo $ECHO_N "(cached) $ECHO_C" >&6
24512 cat >conftest.$ac_ext <<_ACEOF
24515 cat confdefs.h >>conftest.$ac_ext
24516 cat >>conftest.$ac_ext <<_ACEOF
24517 /* end confdefs.h. */
24518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24520 #define $ac_func innocuous_$ac_func
24522 /* System header to define __stub macros and hopefully few prototypes,
24523 which can conflict with char $ac_func (); below.
24524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24525 <limits.h> exists even on freestanding compilers. */
24528 # include <limits.h>
24530 # include <assert.h>
24535 /* Override any gcc2 internal prototype to avoid an error. */
24540 /* We use char because int might match the return type of a gcc2
24541 builtin and then its argument prototype would still apply. */
24543 /* The GNU C library defines this for functions which it implements
24544 to always fail with ENOSYS. Some functions are actually named
24545 something starting with __ and the normal name is an alias. */
24546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24549 char (*f) () = $ac_func;
24558 return f != $ac_func;
24563 rm -f conftest.$ac_objext conftest$ac_exeext
24564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24565 (eval $ac_link) 2>conftest.er1
24567 grep -v '^ *+' conftest.er1 >conftest.err
24569 cat conftest.err >&5
24570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24571 (exit $ac_status); } &&
24572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24574 (eval $ac_try) 2>&5
24576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24577 (exit $ac_status); }; } &&
24578 { ac_try='test -s conftest$ac_exeext'
24579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24580 (eval $ac_try) 2>&5
24582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24583 (exit $ac_status); }; }; then
24584 eval "$as_ac_var=yes"
24586 echo "$as_me: failed program was:" >&5
24587 sed 's/^/| /' conftest.$ac_ext >&5
24589 eval "$as_ac_var=no"
24591 rm -f conftest.err conftest.$ac_objext \
24592 conftest$ac_exeext conftest.$ac_ext
24594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24596 if test `eval echo '${'$as_ac_var'}'` = yes; then
24597 cat >>confdefs.h <<_ACEOF
24598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24604 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24605 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24606 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24607 echo "$as_me:$LINENO: result: yes" >&5
24608 echo "${ECHO_T}yes" >&6
24610 echo "$as_me:$LINENO: result: no" >&5
24611 echo "${ECHO_T}no" >&6
24613 # use different functions to avoid configure caching
24619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24620 echo "$as_me:$LINENO: checking for $ac_func" >&5
24621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24622 if eval "test \"\${$as_ac_var+set}\" = set"; then
24623 echo $ECHO_N "(cached) $ECHO_C" >&6
24625 cat >conftest.$ac_ext <<_ACEOF
24628 cat confdefs.h >>conftest.$ac_ext
24629 cat >>conftest.$ac_ext <<_ACEOF
24630 /* end confdefs.h. */
24631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24633 #define $ac_func innocuous_$ac_func
24635 /* System header to define __stub macros and hopefully few prototypes,
24636 which can conflict with char $ac_func (); below.
24637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24638 <limits.h> exists even on freestanding compilers. */
24641 # include <limits.h>
24643 # include <assert.h>
24648 /* Override any gcc2 internal prototype to avoid an error. */
24653 /* We use char because int might match the return type of a gcc2
24654 builtin and then its argument prototype would still apply. */
24656 /* The GNU C library defines this for functions which it implements
24657 to always fail with ENOSYS. Some functions are actually named
24658 something starting with __ and the normal name is an alias. */
24659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24662 char (*f) () = $ac_func;
24671 return f != $ac_func;
24676 rm -f conftest.$ac_objext conftest$ac_exeext
24677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24678 (eval $ac_link) 2>conftest.er1
24680 grep -v '^ *+' conftest.er1 >conftest.err
24682 cat conftest.err >&5
24683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24684 (exit $ac_status); } &&
24685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24687 (eval $ac_try) 2>&5
24689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690 (exit $ac_status); }; } &&
24691 { ac_try='test -s conftest$ac_exeext'
24692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24693 (eval $ac_try) 2>&5
24695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24696 (exit $ac_status); }; }; then
24697 eval "$as_ac_var=yes"
24699 echo "$as_me: failed program was:" >&5
24700 sed 's/^/| /' conftest.$ac_ext >&5
24702 eval "$as_ac_var=no"
24704 rm -f conftest.err conftest.$ac_objext \
24705 conftest$ac_exeext conftest.$ac_ext
24707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24709 if test `eval echo '${'$as_ac_var'}'` = yes; then
24710 cat >>confdefs.h <<_ACEOF
24711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24718 for ac_func in ceil
24720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24721 echo "$as_me:$LINENO: checking for $ac_func" >&5
24722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24723 if eval "test \"\${$as_ac_var+set}\" = set"; then
24724 echo $ECHO_N "(cached) $ECHO_C" >&6
24726 cat >conftest.$ac_ext <<_ACEOF
24729 cat confdefs.h >>conftest.$ac_ext
24730 cat >>conftest.$ac_ext <<_ACEOF
24731 /* end confdefs.h. */
24732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24734 #define $ac_func innocuous_$ac_func
24736 /* System header to define __stub macros and hopefully few prototypes,
24737 which can conflict with char $ac_func (); below.
24738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24739 <limits.h> exists even on freestanding compilers. */
24742 # include <limits.h>
24744 # include <assert.h>
24749 /* Override any gcc2 internal prototype to avoid an error. */
24754 /* We use char because int might match the return type of a gcc2
24755 builtin and then its argument prototype would still apply. */
24757 /* The GNU C library defines this for functions which it implements
24758 to always fail with ENOSYS. Some functions are actually named
24759 something starting with __ and the normal name is an alias. */
24760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24763 char (*f) () = $ac_func;
24772 return f != $ac_func;
24777 rm -f conftest.$ac_objext conftest$ac_exeext
24778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24779 (eval $ac_link) 2>conftest.er1
24781 grep -v '^ *+' conftest.er1 >conftest.err
24783 cat conftest.err >&5
24784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24785 (exit $ac_status); } &&
24786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24788 (eval $ac_try) 2>&5
24790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24791 (exit $ac_status); }; } &&
24792 { ac_try='test -s conftest$ac_exeext'
24793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24794 (eval $ac_try) 2>&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); }; }; then
24798 eval "$as_ac_var=yes"
24800 echo "$as_me: failed program was:" >&5
24801 sed 's/^/| /' conftest.$ac_ext >&5
24803 eval "$as_ac_var=no"
24805 rm -f conftest.err conftest.$ac_objext \
24806 conftest$ac_exeext conftest.$ac_ext
24808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24810 if test `eval echo '${'$as_ac_var'}'` = yes; then
24811 cat >>confdefs.h <<_ACEOF
24812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24818 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24819 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24820 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24821 echo "$as_me:$LINENO: result: yes" >&5
24822 echo "${ECHO_T}yes" >&6
24824 echo "$as_me:$LINENO: result: no" >&5
24825 echo "${ECHO_T}no" >&6
24826 # not sure we should warn the user, crash, etc.
24830 if test "wxUSE_UNICODE" = "yes"; then
24832 for wx_func in wcstoull
24834 echo "$as_me:$LINENO: checking for $wx_func" >&5
24835 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24836 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24837 echo $ECHO_N "(cached) $ECHO_C" >&6
24840 cat >conftest.$ac_ext <<_ACEOF
24844 cat confdefs.h >>conftest.$ac_ext
24845 cat >>conftest.$ac_ext <<_ACEOF
24846 /* end confdefs.h. */
24849 $ac_includes_default
24865 rm -f conftest.$ac_objext conftest$ac_exeext
24866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24867 (eval $ac_link) 2>conftest.er1
24869 grep -v '^ *+' conftest.er1 >conftest.err
24871 cat conftest.err >&5
24872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24873 (exit $ac_status); } &&
24874 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24876 (eval $ac_try) 2>&5
24878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24879 (exit $ac_status); }; } &&
24880 { ac_try='test -s conftest$ac_exeext'
24881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24882 (eval $ac_try) 2>&5
24884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24885 (exit $ac_status); }; }; then
24886 eval wx_cv_func_$wx_func=yes
24888 echo "$as_me: failed program was:" >&5
24889 sed 's/^/| /' conftest.$ac_ext >&5
24891 eval wx_cv_func_$wx_func=no
24893 rm -f conftest.err conftest.$ac_objext \
24894 conftest$ac_exeext conftest.$ac_ext
24897 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24898 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24900 if eval test \$wx_cv_func_$wx_func = yes
24902 cat >>confdefs.h <<_ACEOF
24903 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24915 for wx_func in strtoull
24917 echo "$as_me:$LINENO: checking for $wx_func" >&5
24918 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24919 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24920 echo $ECHO_N "(cached) $ECHO_C" >&6
24923 cat >conftest.$ac_ext <<_ACEOF
24927 cat confdefs.h >>conftest.$ac_ext
24928 cat >>conftest.$ac_ext <<_ACEOF
24929 /* end confdefs.h. */
24932 $ac_includes_default
24948 rm -f conftest.$ac_objext conftest$ac_exeext
24949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24950 (eval $ac_link) 2>conftest.er1
24952 grep -v '^ *+' conftest.er1 >conftest.err
24954 cat conftest.err >&5
24955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24956 (exit $ac_status); } &&
24957 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24959 (eval $ac_try) 2>&5
24961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24962 (exit $ac_status); }; } &&
24963 { ac_try='test -s conftest$ac_exeext'
24964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24965 (eval $ac_try) 2>&5
24967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24968 (exit $ac_status); }; }; then
24969 eval wx_cv_func_$wx_func=yes
24971 echo "$as_me: failed program was:" >&5
24972 sed 's/^/| /' conftest.$ac_ext >&5
24974 eval wx_cv_func_$wx_func=no
24976 rm -f conftest.err conftest.$ac_objext \
24977 conftest$ac_exeext conftest.$ac_ext
24980 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24981 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24983 if eval test \$wx_cv_func_$wx_func = yes
24985 cat >>confdefs.h <<_ACEOF
24986 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25000 if test "$wxUSE_REGEX" != "no"; then
25001 cat >>confdefs.h <<\_ACEOF
25002 #define wxUSE_REGEX 1
25006 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25007 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25008 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25009 wxUSE_REGEX=builtin
25012 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25013 if test "${ac_cv_header_regex_h+set}" = set; then
25014 echo "$as_me:$LINENO: checking for regex.h" >&5
25015 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25016 if test "${ac_cv_header_regex_h+set}" = set; then
25017 echo $ECHO_N "(cached) $ECHO_C" >&6
25019 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25020 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25022 # Is the header compilable?
25023 echo "$as_me:$LINENO: checking regex.h usability" >&5
25024 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25025 cat >conftest.$ac_ext <<_ACEOF
25028 cat confdefs.h >>conftest.$ac_ext
25029 cat >>conftest.$ac_ext <<_ACEOF
25030 /* end confdefs.h. */
25031 $ac_includes_default
25034 rm -f conftest.$ac_objext
25035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25036 (eval $ac_compile) 2>conftest.er1
25038 grep -v '^ *+' conftest.er1 >conftest.err
25040 cat conftest.err >&5
25041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25042 (exit $ac_status); } &&
25043 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25045 (eval $ac_try) 2>&5
25047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25048 (exit $ac_status); }; } &&
25049 { ac_try='test -s conftest.$ac_objext'
25050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25051 (eval $ac_try) 2>&5
25053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25054 (exit $ac_status); }; }; then
25055 ac_header_compiler=yes
25057 echo "$as_me: failed program was:" >&5
25058 sed 's/^/| /' conftest.$ac_ext >&5
25060 ac_header_compiler=no
25062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25063 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25064 echo "${ECHO_T}$ac_header_compiler" >&6
25066 # Is the header present?
25067 echo "$as_me:$LINENO: checking regex.h presence" >&5
25068 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25069 cat >conftest.$ac_ext <<_ACEOF
25072 cat confdefs.h >>conftest.$ac_ext
25073 cat >>conftest.$ac_ext <<_ACEOF
25074 /* end confdefs.h. */
25077 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25078 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25080 grep -v '^ *+' conftest.er1 >conftest.err
25082 cat conftest.err >&5
25083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25084 (exit $ac_status); } >/dev/null; then
25085 if test -s conftest.err; then
25086 ac_cpp_err=$ac_c_preproc_warn_flag
25087 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25094 if test -z "$ac_cpp_err"; then
25095 ac_header_preproc=yes
25097 echo "$as_me: failed program was:" >&5
25098 sed 's/^/| /' conftest.$ac_ext >&5
25100 ac_header_preproc=no
25102 rm -f conftest.err conftest.$ac_ext
25103 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25104 echo "${ECHO_T}$ac_header_preproc" >&6
25106 # So? What about this header?
25107 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25109 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25110 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25111 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25112 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25113 ac_header_preproc=yes
25116 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25117 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25118 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25119 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25120 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25121 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25122 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25123 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25124 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25125 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25126 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25127 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25130 ## ----------------------------------------- ##
25131 ## Report this to wx-dev@lists.wxwidgets.org ##
25132 ## ----------------------------------------- ##
25135 sed "s/^/$as_me: WARNING: /" >&2
25138 echo "$as_me:$LINENO: checking for regex.h" >&5
25139 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25140 if test "${ac_cv_header_regex_h+set}" = set; then
25141 echo $ECHO_N "(cached) $ECHO_C" >&6
25143 ac_cv_header_regex_h=$ac_header_preproc
25145 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25146 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25149 if test $ac_cv_header_regex_h = yes; then
25152 for ac_func in regcomp re_search
25154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25155 echo "$as_me:$LINENO: checking for $ac_func" >&5
25156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25157 if eval "test \"\${$as_ac_var+set}\" = set"; then
25158 echo $ECHO_N "(cached) $ECHO_C" >&6
25160 cat >conftest.$ac_ext <<_ACEOF
25163 cat confdefs.h >>conftest.$ac_ext
25164 cat >>conftest.$ac_ext <<_ACEOF
25165 /* end confdefs.h. */
25166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25168 #define $ac_func innocuous_$ac_func
25170 /* System header to define __stub macros and hopefully few prototypes,
25171 which can conflict with char $ac_func (); below.
25172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25173 <limits.h> exists even on freestanding compilers. */
25176 # include <limits.h>
25178 # include <assert.h>
25183 /* Override any gcc2 internal prototype to avoid an error. */
25188 /* We use char because int might match the return type of a gcc2
25189 builtin and then its argument prototype would still apply. */
25191 /* The GNU C library defines this for functions which it implements
25192 to always fail with ENOSYS. Some functions are actually named
25193 something starting with __ and the normal name is an alias. */
25194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25197 char (*f) () = $ac_func;
25206 return f != $ac_func;
25211 rm -f conftest.$ac_objext conftest$ac_exeext
25212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25213 (eval $ac_link) 2>conftest.er1
25215 grep -v '^ *+' conftest.er1 >conftest.err
25217 cat conftest.err >&5
25218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25219 (exit $ac_status); } &&
25220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25222 (eval $ac_try) 2>&5
25224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25225 (exit $ac_status); }; } &&
25226 { ac_try='test -s conftest$ac_exeext'
25227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25228 (eval $ac_try) 2>&5
25230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25231 (exit $ac_status); }; }; then
25232 eval "$as_ac_var=yes"
25234 echo "$as_me: failed program was:" >&5
25235 sed 's/^/| /' conftest.$ac_ext >&5
25237 eval "$as_ac_var=no"
25239 rm -f conftest.err conftest.$ac_objext \
25240 conftest$ac_exeext conftest.$ac_ext
25242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25244 if test `eval echo '${'$as_ac_var'}'` = yes; then
25245 cat >>confdefs.h <<_ACEOF
25246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25256 if test "x$ac_cv_func_regcomp" != "xyes"; then
25257 if test "$wxUSE_REGEX" = "sys" ; then
25258 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25259 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25260 { (exit 1); exit 1; }; }
25262 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25263 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25264 wxUSE_REGEX=builtin
25268 cat >>confdefs.h <<\_ACEOF
25269 #define WX_NO_REGEX_ADVANCED 1
25278 if test "$wxUSE_ZLIB" != "no" ; then
25279 cat >>confdefs.h <<\_ACEOF
25280 #define wxUSE_ZLIB 1
25284 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25285 if test "$USE_DARWIN" = 1; then
25286 system_zlib_h_ok="yes"
25288 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25289 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25290 if test "${ac_cv_header_zlib_h+set}" = set; then
25291 echo $ECHO_N "(cached) $ECHO_C" >&6
25293 if test "$cross_compiling" = yes; then
25294 unset ac_cv_header_zlib_h
25297 cat >conftest.$ac_ext <<_ACEOF
25300 cat confdefs.h >>conftest.$ac_ext
25301 cat >>conftest.$ac_ext <<_ACEOF
25302 /* end confdefs.h. */
25309 FILE *f=fopen("conftestval", "w");
25312 ZLIB_VERSION[0] == '1' &&
25313 (ZLIB_VERSION[2] > '1' ||
25314 (ZLIB_VERSION[2] == '1' &&
25315 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25320 rm -f conftest$ac_exeext
25321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25322 (eval $ac_link) 2>&5
25324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25325 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25327 (eval $ac_try) 2>&5
25329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25330 (exit $ac_status); }; }; then
25331 ac_cv_header_zlib_h=`cat conftestval`
25333 echo "$as_me: program exited with status $ac_status" >&5
25334 echo "$as_me: failed program was:" >&5
25335 sed 's/^/| /' conftest.$ac_ext >&5
25337 ( exit $ac_status )
25338 ac_cv_header_zlib_h=no
25340 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25344 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25345 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25346 if test "${ac_cv_header_zlib_h+set}" = set; then
25347 echo "$as_me:$LINENO: checking for zlib.h" >&5
25348 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25349 if test "${ac_cv_header_zlib_h+set}" = set; then
25350 echo $ECHO_N "(cached) $ECHO_C" >&6
25352 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25353 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25355 # Is the header compilable?
25356 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25357 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25358 cat >conftest.$ac_ext <<_ACEOF
25361 cat confdefs.h >>conftest.$ac_ext
25362 cat >>conftest.$ac_ext <<_ACEOF
25363 /* end confdefs.h. */
25364 $ac_includes_default
25367 rm -f conftest.$ac_objext
25368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25369 (eval $ac_compile) 2>conftest.er1
25371 grep -v '^ *+' conftest.er1 >conftest.err
25373 cat conftest.err >&5
25374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25375 (exit $ac_status); } &&
25376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25378 (eval $ac_try) 2>&5
25380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25381 (exit $ac_status); }; } &&
25382 { ac_try='test -s conftest.$ac_objext'
25383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25384 (eval $ac_try) 2>&5
25386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25387 (exit $ac_status); }; }; then
25388 ac_header_compiler=yes
25390 echo "$as_me: failed program was:" >&5
25391 sed 's/^/| /' conftest.$ac_ext >&5
25393 ac_header_compiler=no
25395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25396 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25397 echo "${ECHO_T}$ac_header_compiler" >&6
25399 # Is the header present?
25400 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25401 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25402 cat >conftest.$ac_ext <<_ACEOF
25405 cat confdefs.h >>conftest.$ac_ext
25406 cat >>conftest.$ac_ext <<_ACEOF
25407 /* end confdefs.h. */
25410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25411 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25413 grep -v '^ *+' conftest.er1 >conftest.err
25415 cat conftest.err >&5
25416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25417 (exit $ac_status); } >/dev/null; then
25418 if test -s conftest.err; then
25419 ac_cpp_err=$ac_c_preproc_warn_flag
25420 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25427 if test -z "$ac_cpp_err"; then
25428 ac_header_preproc=yes
25430 echo "$as_me: failed program was:" >&5
25431 sed 's/^/| /' conftest.$ac_ext >&5
25433 ac_header_preproc=no
25435 rm -f conftest.err conftest.$ac_ext
25436 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25437 echo "${ECHO_T}$ac_header_preproc" >&6
25439 # So? What about this header?
25440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25442 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25443 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25444 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25445 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25446 ac_header_preproc=yes
25449 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25450 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25451 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25452 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25453 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25454 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25455 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25456 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25457 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25458 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25459 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25460 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25463 ## ----------------------------------------- ##
25464 ## Report this to wx-dev@lists.wxwidgets.org ##
25465 ## ----------------------------------------- ##
25468 sed "s/^/$as_me: WARNING: /" >&2
25471 echo "$as_me:$LINENO: checking for zlib.h" >&5
25472 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25473 if test "${ac_cv_header_zlib_h+set}" = set; then
25474 echo $ECHO_N "(cached) $ECHO_C" >&6
25476 ac_cv_header_zlib_h=$ac_header_preproc
25478 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25479 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25485 system_zlib_h_ok=$ac_cv_header_zlib_h
25488 if test "$system_zlib_h_ok" = "yes"; then
25489 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25490 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25491 if test "${ac_cv_lib_z_deflate+set}" = set; then
25492 echo $ECHO_N "(cached) $ECHO_C" >&6
25494 ac_check_lib_save_LIBS=$LIBS
25496 cat >conftest.$ac_ext <<_ACEOF
25499 cat confdefs.h >>conftest.$ac_ext
25500 cat >>conftest.$ac_ext <<_ACEOF
25501 /* end confdefs.h. */
25503 /* Override any gcc2 internal prototype to avoid an error. */
25507 /* We use char because int might match the return type of a gcc2
25508 builtin and then its argument prototype would still apply. */
25518 rm -f conftest.$ac_objext conftest$ac_exeext
25519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25520 (eval $ac_link) 2>conftest.er1
25522 grep -v '^ *+' conftest.er1 >conftest.err
25524 cat conftest.err >&5
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); } &&
25527 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25529 (eval $ac_try) 2>&5
25531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25532 (exit $ac_status); }; } &&
25533 { ac_try='test -s conftest$ac_exeext'
25534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25535 (eval $ac_try) 2>&5
25537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25538 (exit $ac_status); }; }; then
25539 ac_cv_lib_z_deflate=yes
25541 echo "$as_me: failed program was:" >&5
25542 sed 's/^/| /' conftest.$ac_ext >&5
25544 ac_cv_lib_z_deflate=no
25546 rm -f conftest.err conftest.$ac_objext \
25547 conftest$ac_exeext conftest.$ac_ext
25548 LIBS=$ac_check_lib_save_LIBS
25550 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25551 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25552 if test $ac_cv_lib_z_deflate = yes; then
25558 if test "x$ZLIB_LINK" = "x" ; then
25559 if test "$wxUSE_ZLIB" = "sys" ; then
25560 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25561 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25562 { (exit 1); exit 1; }; }
25564 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25565 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25576 if test "$wxUSE_LIBPNG" != "no" ; then
25577 cat >>confdefs.h <<\_ACEOF
25578 #define wxUSE_LIBPNG 1
25582 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25583 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25584 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25588 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25589 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25590 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25591 wxUSE_LIBPNG=builtin
25594 if test "$wxUSE_MGL" != 1 ; then
25595 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25596 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25597 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25598 if test "${ac_cv_header_png_h+set}" = set; then
25599 echo $ECHO_N "(cached) $ECHO_C" >&6
25601 if test "$cross_compiling" = yes; then
25602 unset ac_cv_header_png_h
25605 cat >conftest.$ac_ext <<_ACEOF
25608 cat confdefs.h >>conftest.$ac_ext
25609 cat >>conftest.$ac_ext <<_ACEOF
25610 /* end confdefs.h. */
25617 FILE *f=fopen("conftestval", "w");
25620 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25625 rm -f conftest$ac_exeext
25626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25627 (eval $ac_link) 2>&5
25629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25630 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25632 (eval $ac_try) 2>&5
25634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25635 (exit $ac_status); }; }; then
25636 ac_cv_header_png_h=`cat conftestval`
25638 echo "$as_me: program exited with status $ac_status" >&5
25639 echo "$as_me: failed program was:" >&5
25640 sed 's/^/| /' conftest.$ac_ext >&5
25642 ( exit $ac_status )
25643 ac_cv_header_png_h=no
25645 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25649 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25650 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25651 if test "${ac_cv_header_png_h+set}" = set; then
25652 echo "$as_me:$LINENO: checking for png.h" >&5
25653 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25654 if test "${ac_cv_header_png_h+set}" = set; then
25655 echo $ECHO_N "(cached) $ECHO_C" >&6
25657 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25658 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25660 # Is the header compilable?
25661 echo "$as_me:$LINENO: checking png.h usability" >&5
25662 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25663 cat >conftest.$ac_ext <<_ACEOF
25666 cat confdefs.h >>conftest.$ac_ext
25667 cat >>conftest.$ac_ext <<_ACEOF
25668 /* end confdefs.h. */
25669 $ac_includes_default
25672 rm -f conftest.$ac_objext
25673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25674 (eval $ac_compile) 2>conftest.er1
25676 grep -v '^ *+' conftest.er1 >conftest.err
25678 cat conftest.err >&5
25679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25680 (exit $ac_status); } &&
25681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25683 (eval $ac_try) 2>&5
25685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25686 (exit $ac_status); }; } &&
25687 { ac_try='test -s conftest.$ac_objext'
25688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25689 (eval $ac_try) 2>&5
25691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25692 (exit $ac_status); }; }; then
25693 ac_header_compiler=yes
25695 echo "$as_me: failed program was:" >&5
25696 sed 's/^/| /' conftest.$ac_ext >&5
25698 ac_header_compiler=no
25700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25702 echo "${ECHO_T}$ac_header_compiler" >&6
25704 # Is the header present?
25705 echo "$as_me:$LINENO: checking png.h presence" >&5
25706 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25707 cat >conftest.$ac_ext <<_ACEOF
25710 cat confdefs.h >>conftest.$ac_ext
25711 cat >>conftest.$ac_ext <<_ACEOF
25712 /* end confdefs.h. */
25715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25716 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25718 grep -v '^ *+' conftest.er1 >conftest.err
25720 cat conftest.err >&5
25721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25722 (exit $ac_status); } >/dev/null; then
25723 if test -s conftest.err; then
25724 ac_cpp_err=$ac_c_preproc_warn_flag
25725 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25732 if test -z "$ac_cpp_err"; then
25733 ac_header_preproc=yes
25735 echo "$as_me: failed program was:" >&5
25736 sed 's/^/| /' conftest.$ac_ext >&5
25738 ac_header_preproc=no
25740 rm -f conftest.err conftest.$ac_ext
25741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25742 echo "${ECHO_T}$ac_header_preproc" >&6
25744 # So? What about this header?
25745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25747 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25748 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25749 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25750 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25751 ac_header_preproc=yes
25754 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25755 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25756 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25757 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25758 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25759 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25760 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25761 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25762 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25763 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25764 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25765 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25768 ## ----------------------------------------- ##
25769 ## Report this to wx-dev@lists.wxwidgets.org ##
25770 ## ----------------------------------------- ##
25773 sed "s/^/$as_me: WARNING: /" >&2
25776 echo "$as_me:$LINENO: checking for png.h" >&5
25777 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25778 if test "${ac_cv_header_png_h+set}" = set; then
25779 echo $ECHO_N "(cached) $ECHO_C" >&6
25781 ac_cv_header_png_h=$ac_header_preproc
25783 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25784 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25790 if test "$ac_cv_header_png_h" = "yes"; then
25791 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25792 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25793 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25794 echo $ECHO_N "(cached) $ECHO_C" >&6
25796 ac_check_lib_save_LIBS=$LIBS
25797 LIBS="-lpng -lz -lm $LIBS"
25798 cat >conftest.$ac_ext <<_ACEOF
25801 cat confdefs.h >>conftest.$ac_ext
25802 cat >>conftest.$ac_ext <<_ACEOF
25803 /* end confdefs.h. */
25805 /* Override any gcc2 internal prototype to avoid an error. */
25809 /* We use char because int might match the return type of a gcc2
25810 builtin and then its argument prototype would still apply. */
25811 char png_check_sig ();
25820 rm -f conftest.$ac_objext conftest$ac_exeext
25821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25822 (eval $ac_link) 2>conftest.er1
25824 grep -v '^ *+' conftest.er1 >conftest.err
25826 cat conftest.err >&5
25827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25828 (exit $ac_status); } &&
25829 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25831 (eval $ac_try) 2>&5
25833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25834 (exit $ac_status); }; } &&
25835 { ac_try='test -s conftest$ac_exeext'
25836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25837 (eval $ac_try) 2>&5
25839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25840 (exit $ac_status); }; }; then
25841 ac_cv_lib_png_png_check_sig=yes
25843 echo "$as_me: failed program was:" >&5
25844 sed 's/^/| /' conftest.$ac_ext >&5
25846 ac_cv_lib_png_png_check_sig=no
25848 rm -f conftest.err conftest.$ac_objext \
25849 conftest$ac_exeext conftest.$ac_ext
25850 LIBS=$ac_check_lib_save_LIBS
25852 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25853 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25854 if test $ac_cv_lib_png_png_check_sig = yes; then
25855 PNG_LINK=" -lpng -lz"
25860 if test "x$PNG_LINK" = "x" ; then
25861 if test "$wxUSE_LIBPNG" = "sys" ; then
25862 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25863 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25864 { (exit 1); exit 1; }; }
25866 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25867 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25868 wxUSE_LIBPNG=builtin
25876 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25881 if test "$wxUSE_LIBJPEG" != "no" ; then
25882 cat >>confdefs.h <<\_ACEOF
25883 #define wxUSE_LIBJPEG 1
25887 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25888 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25889 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25893 if test "$wxUSE_MGL" != 1 ; then
25894 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25895 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25896 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25897 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25898 echo $ECHO_N "(cached) $ECHO_C" >&6
25900 cat >conftest.$ac_ext <<_ACEOF
25903 cat confdefs.h >>conftest.$ac_ext
25904 cat >>conftest.$ac_ext <<_ACEOF
25905 /* end confdefs.h. */
25907 #undef HAVE_STDLIB_H
25909 #include <jpeglib.h>
25920 rm -f conftest.$ac_objext
25921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25922 (eval $ac_compile) 2>conftest.er1
25924 grep -v '^ *+' conftest.er1 >conftest.err
25926 cat conftest.err >&5
25927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928 (exit $ac_status); } &&
25929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25931 (eval $ac_try) 2>&5
25933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934 (exit $ac_status); }; } &&
25935 { ac_try='test -s conftest.$ac_objext'
25936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25937 (eval $ac_try) 2>&5
25939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940 (exit $ac_status); }; }; then
25941 ac_cv_header_jpeglib_h=yes
25943 echo "$as_me: failed program was:" >&5
25944 sed 's/^/| /' conftest.$ac_ext >&5
25946 ac_cv_header_jpeglib_h=no
25949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25953 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25954 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25956 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25957 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25958 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25959 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25960 echo $ECHO_N "(cached) $ECHO_C" >&6
25962 ac_check_lib_save_LIBS=$LIBS
25963 LIBS="-ljpeg $LIBS"
25964 cat >conftest.$ac_ext <<_ACEOF
25967 cat confdefs.h >>conftest.$ac_ext
25968 cat >>conftest.$ac_ext <<_ACEOF
25969 /* end confdefs.h. */
25971 /* Override any gcc2 internal prototype to avoid an error. */
25975 /* We use char because int might match the return type of a gcc2
25976 builtin and then its argument prototype would still apply. */
25977 char jpeg_read_header ();
25981 jpeg_read_header ();
25986 rm -f conftest.$ac_objext conftest$ac_exeext
25987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25988 (eval $ac_link) 2>conftest.er1
25990 grep -v '^ *+' conftest.er1 >conftest.err
25992 cat conftest.err >&5
25993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25994 (exit $ac_status); } &&
25995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25997 (eval $ac_try) 2>&5
25999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26000 (exit $ac_status); }; } &&
26001 { ac_try='test -s conftest$ac_exeext'
26002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26003 (eval $ac_try) 2>&5
26005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26006 (exit $ac_status); }; }; then
26007 ac_cv_lib_jpeg_jpeg_read_header=yes
26009 echo "$as_me: failed program was:" >&5
26010 sed 's/^/| /' conftest.$ac_ext >&5
26012 ac_cv_lib_jpeg_jpeg_read_header=no
26014 rm -f conftest.err conftest.$ac_objext \
26015 conftest$ac_exeext conftest.$ac_ext
26016 LIBS=$ac_check_lib_save_LIBS
26018 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26019 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26020 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26021 JPEG_LINK=" -ljpeg"
26026 if test "x$JPEG_LINK" = "x" ; then
26027 if test "$wxUSE_LIBJPEG" = "sys" ; then
26028 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26029 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26030 { (exit 1); exit 1; }; }
26032 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26033 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26034 wxUSE_LIBJPEG=builtin
26045 TIFF_PREREQ_LINKS=-lm
26046 if test "$wxUSE_LIBTIFF" != "no" ; then
26047 cat >>confdefs.h <<\_ACEOF
26048 #define wxUSE_LIBTIFF 1
26052 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26053 if test "$wxUSE_LIBJPEG" = "sys"; then
26054 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26056 if test "$wxUSE_ZLIB" = "sys"; then
26057 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26059 if test "${ac_cv_header_tiffio_h+set}" = set; then
26060 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26061 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26062 if test "${ac_cv_header_tiffio_h+set}" = set; then
26063 echo $ECHO_N "(cached) $ECHO_C" >&6
26065 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26066 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26068 # Is the header compilable?
26069 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26070 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26071 cat >conftest.$ac_ext <<_ACEOF
26074 cat confdefs.h >>conftest.$ac_ext
26075 cat >>conftest.$ac_ext <<_ACEOF
26076 /* end confdefs.h. */
26077 $ac_includes_default
26078 #include <tiffio.h>
26080 rm -f conftest.$ac_objext
26081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26082 (eval $ac_compile) 2>conftest.er1
26084 grep -v '^ *+' conftest.er1 >conftest.err
26086 cat conftest.err >&5
26087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26088 (exit $ac_status); } &&
26089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26091 (eval $ac_try) 2>&5
26093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26094 (exit $ac_status); }; } &&
26095 { ac_try='test -s conftest.$ac_objext'
26096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26097 (eval $ac_try) 2>&5
26099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26100 (exit $ac_status); }; }; then
26101 ac_header_compiler=yes
26103 echo "$as_me: failed program was:" >&5
26104 sed 's/^/| /' conftest.$ac_ext >&5
26106 ac_header_compiler=no
26108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26109 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26110 echo "${ECHO_T}$ac_header_compiler" >&6
26112 # Is the header present?
26113 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26114 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26115 cat >conftest.$ac_ext <<_ACEOF
26118 cat confdefs.h >>conftest.$ac_ext
26119 cat >>conftest.$ac_ext <<_ACEOF
26120 /* end confdefs.h. */
26121 #include <tiffio.h>
26123 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26124 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26126 grep -v '^ *+' conftest.er1 >conftest.err
26128 cat conftest.err >&5
26129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26130 (exit $ac_status); } >/dev/null; then
26131 if test -s conftest.err; then
26132 ac_cpp_err=$ac_c_preproc_warn_flag
26133 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26140 if test -z "$ac_cpp_err"; then
26141 ac_header_preproc=yes
26143 echo "$as_me: failed program was:" >&5
26144 sed 's/^/| /' conftest.$ac_ext >&5
26146 ac_header_preproc=no
26148 rm -f conftest.err conftest.$ac_ext
26149 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26150 echo "${ECHO_T}$ac_header_preproc" >&6
26152 # So? What about this header?
26153 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26155 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26156 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26157 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26158 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26159 ac_header_preproc=yes
26162 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26163 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26164 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26165 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26166 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26167 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26168 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26169 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26170 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26171 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26172 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26173 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26176 ## ----------------------------------------- ##
26177 ## Report this to wx-dev@lists.wxwidgets.org ##
26178 ## ----------------------------------------- ##
26181 sed "s/^/$as_me: WARNING: /" >&2
26184 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26185 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26186 if test "${ac_cv_header_tiffio_h+set}" = set; then
26187 echo $ECHO_N "(cached) $ECHO_C" >&6
26189 ac_cv_header_tiffio_h=$ac_header_preproc
26191 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26192 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26195 if test $ac_cv_header_tiffio_h = yes; then
26197 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26198 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26199 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26200 echo $ECHO_N "(cached) $ECHO_C" >&6
26202 ac_check_lib_save_LIBS=$LIBS
26203 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26204 cat >conftest.$ac_ext <<_ACEOF
26207 cat confdefs.h >>conftest.$ac_ext
26208 cat >>conftest.$ac_ext <<_ACEOF
26209 /* end confdefs.h. */
26211 /* Override any gcc2 internal prototype to avoid an error. */
26215 /* We use char because int might match the return type of a gcc2
26216 builtin and then its argument prototype would still apply. */
26226 rm -f conftest.$ac_objext conftest$ac_exeext
26227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26228 (eval $ac_link) 2>conftest.er1
26230 grep -v '^ *+' conftest.er1 >conftest.err
26232 cat conftest.err >&5
26233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26234 (exit $ac_status); } &&
26235 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26237 (eval $ac_try) 2>&5
26239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26240 (exit $ac_status); }; } &&
26241 { ac_try='test -s conftest$ac_exeext'
26242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26243 (eval $ac_try) 2>&5
26245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26246 (exit $ac_status); }; }; then
26247 ac_cv_lib_tiff_TIFFError=yes
26249 echo "$as_me: failed program was:" >&5
26250 sed 's/^/| /' conftest.$ac_ext >&5
26252 ac_cv_lib_tiff_TIFFError=no
26254 rm -f conftest.err conftest.$ac_objext \
26255 conftest$ac_exeext conftest.$ac_ext
26256 LIBS=$ac_check_lib_save_LIBS
26258 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26259 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26260 if test $ac_cv_lib_tiff_TIFFError = yes; then
26261 TIFF_LINK=" -ltiff"
26270 if test "x$TIFF_LINK" = "x" ; then
26271 if test "$wxUSE_LIBTIFF" = "sys" ; then
26272 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26273 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26274 { (exit 1); exit 1; }; }
26276 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26277 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26278 wxUSE_LIBTIFF=builtin
26287 if test "$wxUSE_WCHAR_T" != "yes"; then
26288 if test "$wxUSE_EXPAT" != "no"; then
26289 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26290 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26293 if test "$wxUSE_XML" != "no"; then
26294 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26295 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26300 if test "$wxUSE_EXPAT" != "no"; then
26302 cat >>confdefs.h <<\_ACEOF
26303 #define wxUSE_EXPAT 1
26306 cat >>confdefs.h <<\_ACEOF
26307 #define wxUSE_XML 1
26311 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26312 if test "${ac_cv_header_expat_h+set}" = set; then
26313 echo "$as_me:$LINENO: checking for expat.h" >&5
26314 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26315 if test "${ac_cv_header_expat_h+set}" = set; then
26316 echo $ECHO_N "(cached) $ECHO_C" >&6
26318 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26319 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26321 # Is the header compilable?
26322 echo "$as_me:$LINENO: checking expat.h usability" >&5
26323 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26324 cat >conftest.$ac_ext <<_ACEOF
26327 cat confdefs.h >>conftest.$ac_ext
26328 cat >>conftest.$ac_ext <<_ACEOF
26329 /* end confdefs.h. */
26330 $ac_includes_default
26333 rm -f conftest.$ac_objext
26334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26335 (eval $ac_compile) 2>conftest.er1
26337 grep -v '^ *+' conftest.er1 >conftest.err
26339 cat conftest.err >&5
26340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26341 (exit $ac_status); } &&
26342 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26344 (eval $ac_try) 2>&5
26346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26347 (exit $ac_status); }; } &&
26348 { ac_try='test -s conftest.$ac_objext'
26349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26350 (eval $ac_try) 2>&5
26352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26353 (exit $ac_status); }; }; then
26354 ac_header_compiler=yes
26356 echo "$as_me: failed program was:" >&5
26357 sed 's/^/| /' conftest.$ac_ext >&5
26359 ac_header_compiler=no
26361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26362 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26363 echo "${ECHO_T}$ac_header_compiler" >&6
26365 # Is the header present?
26366 echo "$as_me:$LINENO: checking expat.h presence" >&5
26367 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26368 cat >conftest.$ac_ext <<_ACEOF
26371 cat confdefs.h >>conftest.$ac_ext
26372 cat >>conftest.$ac_ext <<_ACEOF
26373 /* end confdefs.h. */
26376 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26377 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26379 grep -v '^ *+' conftest.er1 >conftest.err
26381 cat conftest.err >&5
26382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26383 (exit $ac_status); } >/dev/null; then
26384 if test -s conftest.err; then
26385 ac_cpp_err=$ac_c_preproc_warn_flag
26386 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26393 if test -z "$ac_cpp_err"; then
26394 ac_header_preproc=yes
26396 echo "$as_me: failed program was:" >&5
26397 sed 's/^/| /' conftest.$ac_ext >&5
26399 ac_header_preproc=no
26401 rm -f conftest.err conftest.$ac_ext
26402 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26403 echo "${ECHO_T}$ac_header_preproc" >&6
26405 # So? What about this header?
26406 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26408 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26409 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26410 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26411 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26412 ac_header_preproc=yes
26415 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26416 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26417 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26418 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26419 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26420 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26421 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26422 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26423 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26424 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26425 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26426 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26429 ## ----------------------------------------- ##
26430 ## Report this to wx-dev@lists.wxwidgets.org ##
26431 ## ----------------------------------------- ##
26434 sed "s/^/$as_me: WARNING: /" >&2
26437 echo "$as_me:$LINENO: checking for expat.h" >&5
26438 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26439 if test "${ac_cv_header_expat_h+set}" = set; then
26440 echo $ECHO_N "(cached) $ECHO_C" >&6
26442 ac_cv_header_expat_h=$ac_header_preproc
26444 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26445 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26448 if test $ac_cv_header_expat_h = yes; then
26453 if test "x$found_expat_h" = "x1"; then
26454 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26455 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26456 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26457 echo $ECHO_N "(cached) $ECHO_C" >&6
26461 ac_cpp='$CXXCPP $CPPFLAGS'
26462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26466 cat >conftest.$ac_ext <<_ACEOF
26469 cat confdefs.h >>conftest.$ac_ext
26470 cat >>conftest.$ac_ext <<_ACEOF
26471 /* end confdefs.h. */
26481 rm -f conftest.$ac_objext
26482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26483 (eval $ac_compile) 2>conftest.er1
26485 grep -v '^ *+' conftest.er1 >conftest.err
26487 cat conftest.err >&5
26488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26489 (exit $ac_status); } &&
26490 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26492 (eval $ac_try) 2>&5
26494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26495 (exit $ac_status); }; } &&
26496 { ac_try='test -s conftest.$ac_objext'
26497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26498 (eval $ac_try) 2>&5
26500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26501 (exit $ac_status); }; }; then
26502 wx_cv_expat_is_not_broken=yes
26504 echo "$as_me: failed program was:" >&5
26505 sed 's/^/| /' conftest.$ac_ext >&5
26507 wx_cv_expat_is_not_broken=no
26510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26512 ac_cpp='$CPP $CPPFLAGS'
26513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26520 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26521 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26522 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26523 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26524 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26525 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26526 echo $ECHO_N "(cached) $ECHO_C" >&6
26528 ac_check_lib_save_LIBS=$LIBS
26529 LIBS="-lexpat $LIBS"
26530 cat >conftest.$ac_ext <<_ACEOF
26533 cat confdefs.h >>conftest.$ac_ext
26534 cat >>conftest.$ac_ext <<_ACEOF
26535 /* end confdefs.h. */
26537 /* Override any gcc2 internal prototype to avoid an error. */
26541 /* We use char because int might match the return type of a gcc2
26542 builtin and then its argument prototype would still apply. */
26543 char XML_ParserCreate ();
26547 XML_ParserCreate ();
26552 rm -f conftest.$ac_objext conftest$ac_exeext
26553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26554 (eval $ac_link) 2>conftest.er1
26556 grep -v '^ *+' conftest.er1 >conftest.err
26558 cat conftest.err >&5
26559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26560 (exit $ac_status); } &&
26561 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26563 (eval $ac_try) 2>&5
26565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26566 (exit $ac_status); }; } &&
26567 { ac_try='test -s conftest$ac_exeext'
26568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26569 (eval $ac_try) 2>&5
26571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26572 (exit $ac_status); }; }; then
26573 ac_cv_lib_expat_XML_ParserCreate=yes
26575 echo "$as_me: failed program was:" >&5
26576 sed 's/^/| /' conftest.$ac_ext >&5
26578 ac_cv_lib_expat_XML_ParserCreate=no
26580 rm -f conftest.err conftest.$ac_objext \
26581 conftest$ac_exeext conftest.$ac_ext
26582 LIBS=$ac_check_lib_save_LIBS
26584 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26585 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26586 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26587 EXPAT_LINK=" -lexpat"
26592 if test "x$EXPAT_LINK" = "x" ; then
26593 if test "$wxUSE_EXPAT" = "sys" ; then
26594 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26595 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26596 { (exit 1); exit 1; }; }
26598 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26599 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26600 wxUSE_EXPAT=builtin
26606 if test "$wxUSE_EXPAT" = "builtin" ; then
26609 subdirs="$subdirs src/expat"
26616 if test "$wxUSE_LIBMSPACK" != "no"; then
26617 if test "${ac_cv_header_mspack_h+set}" = set; then
26618 echo "$as_me:$LINENO: checking for mspack.h" >&5
26619 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26620 if test "${ac_cv_header_mspack_h+set}" = set; then
26621 echo $ECHO_N "(cached) $ECHO_C" >&6
26623 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26624 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26626 # Is the header compilable?
26627 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26628 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26629 cat >conftest.$ac_ext <<_ACEOF
26632 cat confdefs.h >>conftest.$ac_ext
26633 cat >>conftest.$ac_ext <<_ACEOF
26634 /* end confdefs.h. */
26635 $ac_includes_default
26636 #include <mspack.h>
26638 rm -f conftest.$ac_objext
26639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26640 (eval $ac_compile) 2>conftest.er1
26642 grep -v '^ *+' conftest.er1 >conftest.err
26644 cat conftest.err >&5
26645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26646 (exit $ac_status); } &&
26647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26649 (eval $ac_try) 2>&5
26651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26652 (exit $ac_status); }; } &&
26653 { ac_try='test -s conftest.$ac_objext'
26654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26655 (eval $ac_try) 2>&5
26657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26658 (exit $ac_status); }; }; then
26659 ac_header_compiler=yes
26661 echo "$as_me: failed program was:" >&5
26662 sed 's/^/| /' conftest.$ac_ext >&5
26664 ac_header_compiler=no
26666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26667 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26668 echo "${ECHO_T}$ac_header_compiler" >&6
26670 # Is the header present?
26671 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26672 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26673 cat >conftest.$ac_ext <<_ACEOF
26676 cat confdefs.h >>conftest.$ac_ext
26677 cat >>conftest.$ac_ext <<_ACEOF
26678 /* end confdefs.h. */
26679 #include <mspack.h>
26681 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26682 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26684 grep -v '^ *+' conftest.er1 >conftest.err
26686 cat conftest.err >&5
26687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26688 (exit $ac_status); } >/dev/null; then
26689 if test -s conftest.err; then
26690 ac_cpp_err=$ac_c_preproc_warn_flag
26691 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26698 if test -z "$ac_cpp_err"; then
26699 ac_header_preproc=yes
26701 echo "$as_me: failed program was:" >&5
26702 sed 's/^/| /' conftest.$ac_ext >&5
26704 ac_header_preproc=no
26706 rm -f conftest.err conftest.$ac_ext
26707 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26708 echo "${ECHO_T}$ac_header_preproc" >&6
26710 # So? What about this header?
26711 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26713 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26714 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26715 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26716 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26717 ac_header_preproc=yes
26720 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26721 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26722 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26723 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26724 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26725 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26726 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26727 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26728 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26729 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26730 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26731 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26734 ## ----------------------------------------- ##
26735 ## Report this to wx-dev@lists.wxwidgets.org ##
26736 ## ----------------------------------------- ##
26739 sed "s/^/$as_me: WARNING: /" >&2
26742 echo "$as_me:$LINENO: checking for mspack.h" >&5
26743 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26744 if test "${ac_cv_header_mspack_h+set}" = set; then
26745 echo $ECHO_N "(cached) $ECHO_C" >&6
26747 ac_cv_header_mspack_h=$ac_header_preproc
26749 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26750 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26753 if test $ac_cv_header_mspack_h = yes; then
26758 if test "x$found_mspack_h" = "x1"; then
26759 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26760 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26761 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26762 echo $ECHO_N "(cached) $ECHO_C" >&6
26764 ac_check_lib_save_LIBS=$LIBS
26765 LIBS="-lmspack $LIBS"
26766 cat >conftest.$ac_ext <<_ACEOF
26769 cat confdefs.h >>conftest.$ac_ext
26770 cat >>conftest.$ac_ext <<_ACEOF
26771 /* end confdefs.h. */
26773 /* Override any gcc2 internal prototype to avoid an error. */
26777 /* We use char because int might match the return type of a gcc2
26778 builtin and then its argument prototype would still apply. */
26779 char mspack_create_chm_decompressor ();
26783 mspack_create_chm_decompressor ();
26788 rm -f conftest.$ac_objext conftest$ac_exeext
26789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26790 (eval $ac_link) 2>conftest.er1
26792 grep -v '^ *+' conftest.er1 >conftest.err
26794 cat conftest.err >&5
26795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26796 (exit $ac_status); } &&
26797 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26799 (eval $ac_try) 2>&5
26801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26802 (exit $ac_status); }; } &&
26803 { ac_try='test -s conftest$ac_exeext'
26804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26805 (eval $ac_try) 2>&5
26807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26808 (exit $ac_status); }; }; then
26809 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26811 echo "$as_me: failed program was:" >&5
26812 sed 's/^/| /' conftest.$ac_ext >&5
26814 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26816 rm -f conftest.err conftest.$ac_objext \
26817 conftest$ac_exeext conftest.$ac_ext
26818 LIBS=$ac_check_lib_save_LIBS
26820 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26821 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26822 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26823 MSPACK_LINK=" -lmspack"
26827 if test "x$MSPACK_LINK" = "x" ; then
26832 if test "$wxUSE_LIBMSPACK" != "no"; then
26833 cat >>confdefs.h <<\_ACEOF
26834 #define wxUSE_LIBMSPACK 1
26848 if test "$USE_WIN32" = 1 ; then
26850 for ac_header in w32api.h
26852 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26853 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26854 echo "$as_me:$LINENO: checking for $ac_header" >&5
26855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26856 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26857 echo $ECHO_N "(cached) $ECHO_C" >&6
26859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26862 # Is the header compilable?
26863 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26864 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26865 cat >conftest.$ac_ext <<_ACEOF
26868 cat confdefs.h >>conftest.$ac_ext
26869 cat >>conftest.$ac_ext <<_ACEOF
26870 /* end confdefs.h. */
26871 $ac_includes_default
26872 #include <$ac_header>
26874 rm -f conftest.$ac_objext
26875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26876 (eval $ac_compile) 2>conftest.er1
26878 grep -v '^ *+' conftest.er1 >conftest.err
26880 cat conftest.err >&5
26881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26882 (exit $ac_status); } &&
26883 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26885 (eval $ac_try) 2>&5
26887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26888 (exit $ac_status); }; } &&
26889 { ac_try='test -s conftest.$ac_objext'
26890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26891 (eval $ac_try) 2>&5
26893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894 (exit $ac_status); }; }; then
26895 ac_header_compiler=yes
26897 echo "$as_me: failed program was:" >&5
26898 sed 's/^/| /' conftest.$ac_ext >&5
26900 ac_header_compiler=no
26902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26903 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26904 echo "${ECHO_T}$ac_header_compiler" >&6
26906 # Is the header present?
26907 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26908 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26909 cat >conftest.$ac_ext <<_ACEOF
26912 cat confdefs.h >>conftest.$ac_ext
26913 cat >>conftest.$ac_ext <<_ACEOF
26914 /* end confdefs.h. */
26915 #include <$ac_header>
26917 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26918 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26920 grep -v '^ *+' conftest.er1 >conftest.err
26922 cat conftest.err >&5
26923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26924 (exit $ac_status); } >/dev/null; then
26925 if test -s conftest.err; then
26926 ac_cpp_err=$ac_c_preproc_warn_flag
26927 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26934 if test -z "$ac_cpp_err"; then
26935 ac_header_preproc=yes
26937 echo "$as_me: failed program was:" >&5
26938 sed 's/^/| /' conftest.$ac_ext >&5
26940 ac_header_preproc=no
26942 rm -f conftest.err conftest.$ac_ext
26943 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26944 echo "${ECHO_T}$ac_header_preproc" >&6
26946 # So? What about this header?
26947 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26949 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26950 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26951 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26952 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26953 ac_header_preproc=yes
26956 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26957 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26958 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26959 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26960 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26961 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26962 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26963 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26964 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26965 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26966 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26967 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26970 ## ----------------------------------------- ##
26971 ## Report this to wx-dev@lists.wxwidgets.org ##
26972 ## ----------------------------------------- ##
26975 sed "s/^/$as_me: WARNING: /" >&2
26978 echo "$as_me:$LINENO: checking for $ac_header" >&5
26979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26981 echo $ECHO_N "(cached) $ECHO_C" >&6
26983 eval "$as_ac_Header=\$ac_header_preproc"
26985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26986 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26989 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26990 cat >>confdefs.h <<_ACEOF
26991 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26998 if test "${ac_cv_header_windows_h+set}" = set; then
26999 echo "$as_me:$LINENO: checking for windows.h" >&5
27000 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27001 if test "${ac_cv_header_windows_h+set}" = set; then
27002 echo $ECHO_N "(cached) $ECHO_C" >&6
27004 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27005 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27007 # Is the header compilable?
27008 echo "$as_me:$LINENO: checking windows.h usability" >&5
27009 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27010 cat >conftest.$ac_ext <<_ACEOF
27013 cat confdefs.h >>conftest.$ac_ext
27014 cat >>conftest.$ac_ext <<_ACEOF
27015 /* end confdefs.h. */
27016 $ac_includes_default
27017 #include <windows.h>
27019 rm -f conftest.$ac_objext
27020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27021 (eval $ac_compile) 2>conftest.er1
27023 grep -v '^ *+' conftest.er1 >conftest.err
27025 cat conftest.err >&5
27026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27027 (exit $ac_status); } &&
27028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27030 (eval $ac_try) 2>&5
27032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27033 (exit $ac_status); }; } &&
27034 { ac_try='test -s conftest.$ac_objext'
27035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27036 (eval $ac_try) 2>&5
27038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27039 (exit $ac_status); }; }; then
27040 ac_header_compiler=yes
27042 echo "$as_me: failed program was:" >&5
27043 sed 's/^/| /' conftest.$ac_ext >&5
27045 ac_header_compiler=no
27047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27048 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27049 echo "${ECHO_T}$ac_header_compiler" >&6
27051 # Is the header present?
27052 echo "$as_me:$LINENO: checking windows.h presence" >&5
27053 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27054 cat >conftest.$ac_ext <<_ACEOF
27057 cat confdefs.h >>conftest.$ac_ext
27058 cat >>conftest.$ac_ext <<_ACEOF
27059 /* end confdefs.h. */
27060 #include <windows.h>
27062 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27063 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27065 grep -v '^ *+' conftest.er1 >conftest.err
27067 cat conftest.err >&5
27068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27069 (exit $ac_status); } >/dev/null; then
27070 if test -s conftest.err; then
27071 ac_cpp_err=$ac_c_preproc_warn_flag
27072 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27079 if test -z "$ac_cpp_err"; then
27080 ac_header_preproc=yes
27082 echo "$as_me: failed program was:" >&5
27083 sed 's/^/| /' conftest.$ac_ext >&5
27085 ac_header_preproc=no
27087 rm -f conftest.err conftest.$ac_ext
27088 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27089 echo "${ECHO_T}$ac_header_preproc" >&6
27091 # So? What about this header?
27092 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27094 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27095 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27096 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27097 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27098 ac_header_preproc=yes
27101 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27102 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27103 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27104 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27105 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27106 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27107 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27108 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27109 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27110 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27111 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27112 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27115 ## ----------------------------------------- ##
27116 ## Report this to wx-dev@lists.wxwidgets.org ##
27117 ## ----------------------------------------- ##
27120 sed "s/^/$as_me: WARNING: /" >&2
27123 echo "$as_me:$LINENO: checking for windows.h" >&5
27124 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27125 if test "${ac_cv_header_windows_h+set}" = set; then
27126 echo $ECHO_N "(cached) $ECHO_C" >&6
27128 ac_cv_header_windows_h=$ac_header_preproc
27130 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27131 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27134 if test $ac_cv_header_windows_h = yes; then
27138 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27139 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27140 { (exit 1); exit 1; }; }
27146 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27148 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27149 LIBS="$LIBS -loleacc"
27154 LIBS="$LIBS -lkernel32 -luser32"
27157 if test "$wxUSE_ODBC" = "sys" ; then
27160 if test "$wxUSE_ODBC" = "yes" ; then
27161 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27162 cat >>confdefs.h <<\_ACEOF
27163 #define wxUSE_ODBC 1
27168 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27169 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27171 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27173 WIN32INSTALL=win32install
27176 for ac_header in pbt.h
27178 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27180 echo "$as_me:$LINENO: checking for $ac_header" >&5
27181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27182 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27183 echo $ECHO_N "(cached) $ECHO_C" >&6
27185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27186 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27188 # Is the header compilable?
27189 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27190 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27191 cat >conftest.$ac_ext <<_ACEOF
27194 cat confdefs.h >>conftest.$ac_ext
27195 cat >>conftest.$ac_ext <<_ACEOF
27196 /* end confdefs.h. */
27197 $ac_includes_default
27198 #include <$ac_header>
27200 rm -f conftest.$ac_objext
27201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27202 (eval $ac_compile) 2>conftest.er1
27204 grep -v '^ *+' conftest.er1 >conftest.err
27206 cat conftest.err >&5
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); } &&
27209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27211 (eval $ac_try) 2>&5
27213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27214 (exit $ac_status); }; } &&
27215 { ac_try='test -s conftest.$ac_objext'
27216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27217 (eval $ac_try) 2>&5
27219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220 (exit $ac_status); }; }; then
27221 ac_header_compiler=yes
27223 echo "$as_me: failed program was:" >&5
27224 sed 's/^/| /' conftest.$ac_ext >&5
27226 ac_header_compiler=no
27228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27229 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27230 echo "${ECHO_T}$ac_header_compiler" >&6
27232 # Is the header present?
27233 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27234 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27235 cat >conftest.$ac_ext <<_ACEOF
27238 cat confdefs.h >>conftest.$ac_ext
27239 cat >>conftest.$ac_ext <<_ACEOF
27240 /* end confdefs.h. */
27241 #include <$ac_header>
27243 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27244 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27246 grep -v '^ *+' conftest.er1 >conftest.err
27248 cat conftest.err >&5
27249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27250 (exit $ac_status); } >/dev/null; then
27251 if test -s conftest.err; then
27252 ac_cpp_err=$ac_c_preproc_warn_flag
27253 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27260 if test -z "$ac_cpp_err"; then
27261 ac_header_preproc=yes
27263 echo "$as_me: failed program was:" >&5
27264 sed 's/^/| /' conftest.$ac_ext >&5
27266 ac_header_preproc=no
27268 rm -f conftest.err conftest.$ac_ext
27269 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27270 echo "${ECHO_T}$ac_header_preproc" >&6
27272 # So? What about this header?
27273 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27275 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27276 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27277 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27278 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27279 ac_header_preproc=yes
27282 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27283 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27284 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27285 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27286 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27287 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27288 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27289 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27290 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27291 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27292 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27293 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27296 ## ----------------------------------------- ##
27297 ## Report this to wx-dev@lists.wxwidgets.org ##
27298 ## ----------------------------------------- ##
27301 sed "s/^/$as_me: WARNING: /" >&2
27304 echo "$as_me:$LINENO: checking for $ac_header" >&5
27305 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27307 echo $ECHO_N "(cached) $ECHO_C" >&6
27309 eval "$as_ac_Header=\$ac_header_preproc"
27311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27312 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27315 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27316 cat >>confdefs.h <<_ACEOF
27317 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27321 cat >>confdefs.h <<\_ACEOF
27322 #define NEED_PBT_H 1
27331 if test "$wxUSE_GUI" = "yes"; then
27341 if test "$wxUSE_COCOA" = 1 ; then
27342 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27343 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27344 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27345 wxUSE_PRINTING_ARCHITECTURE=no
27347 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27348 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27349 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27350 wxUSE_DRAG_AND_DROP=no
27352 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27353 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27354 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27359 if test "$wxUSE_MSW" = 1 ; then
27365 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27369 if test "$wxUSE_GTK" = 1; then
27370 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27371 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27373 gtk_version_cached=1
27374 if test "${wx_cv_lib_gtk+set}" = set; then
27375 echo $ECHO_N "(cached) $ECHO_C" >&6
27378 gtk_version_cached=0
27379 echo "$as_me:$LINENO: result: " >&5
27380 echo "${ECHO_T}" >&6
27383 if test "$wxUSE_THREADS" = "yes"; then
27384 GTK_MODULES=gthread
27388 if test "x$wxGTK_VERSION" != "x1"
27392 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27397 # Check whether --enable-gtktest or --disable-gtktest was given.
27398 if test "${enable_gtktest+set}" = set; then
27399 enableval="$enable_gtktest"
27405 pkg_config_args=gtk+-2.0
27406 for module in . $GTK_MODULES
27410 pkg_config_args="$pkg_config_args gthread-2.0"
27417 # Extract the first word of "pkg-config", so it can be a program name with args.
27418 set dummy pkg-config; ac_word=$2
27419 echo "$as_me:$LINENO: checking for $ac_word" >&5
27420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27421 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27422 echo $ECHO_N "(cached) $ECHO_C" >&6
27424 case $PKG_CONFIG in
27426 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27430 for as_dir in $PATH
27433 test -z "$as_dir" && as_dir=.
27434 for ac_exec_ext in '' $ac_executable_extensions; do
27435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27436 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27443 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27447 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27449 if test -n "$PKG_CONFIG"; then
27450 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27451 echo "${ECHO_T}$PKG_CONFIG" >&6
27453 echo "$as_me:$LINENO: result: no" >&5
27454 echo "${ECHO_T}no" >&6
27458 if test x$PKG_CONFIG != xno ; then
27459 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27462 echo "*** pkg-config too old; version 0.7 or better required."
27470 min_gtk_version=2.0.0
27471 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27472 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27474 if test x$PKG_CONFIG != xno ; then
27475 ## don't try to run the test against uninstalled libtool libs
27476 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27477 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27481 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27488 if test x"$no_gtk" = x ; then
27489 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27490 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27491 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27492 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27493 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27494 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27495 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27496 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27497 if test "x$enable_gtktest" = "xyes" ; then
27498 ac_save_CFLAGS="$CFLAGS"
27499 ac_save_LIBS="$LIBS"
27500 CFLAGS="$CFLAGS $GTK_CFLAGS"
27501 LIBS="$GTK_LIBS $LIBS"
27503 if test "$cross_compiling" = yes; then
27504 echo $ac_n "cross compiling; assumed OK... $ac_c"
27506 cat >conftest.$ac_ext <<_ACEOF
27509 cat confdefs.h >>conftest.$ac_ext
27510 cat >>conftest.$ac_ext <<_ACEOF
27511 /* end confdefs.h. */
27513 #include <gtk/gtk.h>
27515 #include <stdlib.h>
27520 int major, minor, micro;
27523 system ("touch conf.gtktest");
27525 /* HP/UX 9 (%@#!) writes to sscanf strings */
27526 tmp_version = g_strdup("$min_gtk_version");
27527 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27528 printf("%s, bad version string\n", "$min_gtk_version");
27532 if ((gtk_major_version != $gtk_config_major_version) ||
27533 (gtk_minor_version != $gtk_config_minor_version) ||
27534 (gtk_micro_version != $gtk_config_micro_version))
27536 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27537 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27538 gtk_major_version, gtk_minor_version, gtk_micro_version);
27539 printf ("*** was found! If pkg-config was correct, then it is best\n");
27540 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27541 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27542 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27543 printf("*** required on your system.\n");
27544 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27545 printf("*** to point to the correct configuration files\n");
27547 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27548 (gtk_minor_version != GTK_MINOR_VERSION) ||
27549 (gtk_micro_version != GTK_MICRO_VERSION))
27551 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27552 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27553 printf("*** library (version %d.%d.%d)\n",
27554 gtk_major_version, gtk_minor_version, gtk_micro_version);
27558 if ((gtk_major_version > major) ||
27559 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27560 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27566 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27567 gtk_major_version, gtk_minor_version, gtk_micro_version);
27568 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27569 major, minor, micro);
27570 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27572 printf("*** If you have already installed a sufficiently new version, this error\n");
27573 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27574 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27575 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27576 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27577 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27578 printf("*** so that the correct libraries are found at run-time))\n");
27585 rm -f conftest$ac_exeext
27586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27587 (eval $ac_link) 2>&5
27589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27590 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27592 (eval $ac_try) 2>&5
27594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27595 (exit $ac_status); }; }; then
27598 echo "$as_me: program exited with status $ac_status" >&5
27599 echo "$as_me: failed program was:" >&5
27600 sed 's/^/| /' conftest.$ac_ext >&5
27602 ( exit $ac_status )
27605 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27607 CFLAGS="$ac_save_CFLAGS"
27608 LIBS="$ac_save_LIBS"
27611 if test "x$no_gtk" = x ; then
27612 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27613 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27616 echo "$as_me:$LINENO: result: no" >&5
27617 echo "${ECHO_T}no" >&6
27618 if test "$PKG_CONFIG" = "no" ; then
27619 echo "*** A new enough version of pkg-config was not found."
27620 echo "*** See http://pkgconfig.sourceforge.net"
27622 if test -f conf.gtktest ; then
27625 echo "*** Could not run GTK+ test program, checking why..."
27626 ac_save_CFLAGS="$CFLAGS"
27627 ac_save_LIBS="$LIBS"
27628 CFLAGS="$CFLAGS $GTK_CFLAGS"
27629 LIBS="$LIBS $GTK_LIBS"
27630 cat >conftest.$ac_ext <<_ACEOF
27633 cat confdefs.h >>conftest.$ac_ext
27634 cat >>conftest.$ac_ext <<_ACEOF
27635 /* end confdefs.h. */
27637 #include <gtk/gtk.h>
27643 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27648 rm -f conftest.$ac_objext conftest$ac_exeext
27649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27650 (eval $ac_link) 2>conftest.er1
27652 grep -v '^ *+' conftest.er1 >conftest.err
27654 cat conftest.err >&5
27655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27656 (exit $ac_status); } &&
27657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27659 (eval $ac_try) 2>&5
27661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27662 (exit $ac_status); }; } &&
27663 { ac_try='test -s conftest$ac_exeext'
27664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27665 (eval $ac_try) 2>&5
27667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27668 (exit $ac_status); }; }; then
27669 echo "*** The test program compiled, but did not run. This usually means"
27670 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27671 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27672 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27673 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27674 echo "*** is required on your system"
27676 echo "*** If you have an old version installed, it is best to remove it, although"
27677 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27679 echo "$as_me: failed program was:" >&5
27680 sed 's/^/| /' conftest.$ac_ext >&5
27682 echo "*** The test program failed to compile or link. See the file config.log for the"
27683 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27685 rm -f conftest.err conftest.$ac_objext \
27686 conftest$ac_exeext conftest.$ac_ext
27687 CFLAGS="$ac_save_CFLAGS"
27688 LIBS="$ac_save_LIBS"
27702 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27703 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27704 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27706 if test "$wxUSE_SHARED" != "yes"; then
27707 GTK_LIBS="$GTK_LIBS -lX11"
27712 if test -z "$wx_cv_lib_gtk"; then
27713 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27715 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27716 if test "${with_gtk_prefix+set}" = set; then
27717 withval="$with_gtk_prefix"
27718 gtk_config_prefix="$withval"
27720 gtk_config_prefix=""
27723 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27724 if test "${with_gtk_exec_prefix+set}" = set; then
27725 withval="$with_gtk_exec_prefix"
27726 gtk_config_exec_prefix="$withval"
27728 gtk_config_exec_prefix=""
27730 # Check whether --enable-gtktest or --disable-gtktest was given.
27731 if test "${enable_gtktest+set}" = set; then
27732 enableval="$enable_gtktest"
27738 for module in . $GTK_MODULES
27742 gtk_config_args="$gtk_config_args gthread"
27747 if test x$gtk_config_exec_prefix != x ; then
27748 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27749 if test x${GTK_CONFIG+set} != xset ; then
27750 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27753 if test x$gtk_config_prefix != x ; then
27754 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27755 if test x${GTK_CONFIG+set} != xset ; then
27756 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27760 # Extract the first word of "gtk-config", so it can be a program name with args.
27761 set dummy gtk-config; ac_word=$2
27762 echo "$as_me:$LINENO: checking for $ac_word" >&5
27763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27764 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27765 echo $ECHO_N "(cached) $ECHO_C" >&6
27767 case $GTK_CONFIG in
27769 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27773 for as_dir in $PATH
27776 test -z "$as_dir" && as_dir=.
27777 for ac_exec_ext in '' $ac_executable_extensions; do
27778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27779 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27786 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27790 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27792 if test -n "$GTK_CONFIG"; then
27793 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27794 echo "${ECHO_T}$GTK_CONFIG" >&6
27796 echo "$as_me:$LINENO: result: no" >&5
27797 echo "${ECHO_T}no" >&6
27800 min_gtk_version=1.2.7
27801 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27802 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27804 if test "$GTK_CONFIG" = "no" ; then
27807 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27808 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27809 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27810 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27811 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27812 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27813 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27814 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27815 if test "x$enable_gtktest" = "xyes" ; then
27816 ac_save_CFLAGS="$CFLAGS"
27817 ac_save_LIBS="$LIBS"
27818 CFLAGS="$CFLAGS $GTK_CFLAGS"
27819 LIBS="$GTK_LIBS $LIBS"
27821 if test "$cross_compiling" = yes; then
27822 echo $ac_n "cross compiling; assumed OK... $ac_c"
27824 cat >conftest.$ac_ext <<_ACEOF
27827 cat confdefs.h >>conftest.$ac_ext
27828 cat >>conftest.$ac_ext <<_ACEOF
27829 /* end confdefs.h. */
27831 #include <gtk/gtk.h>
27833 #include <stdlib.h>
27838 int major, minor, micro;
27841 system ("touch conf.gtktest");
27843 /* HP/UX 9 (%@#!) writes to sscanf strings */
27844 tmp_version = g_strdup("$min_gtk_version");
27845 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27846 printf("%s, bad version string\n", "$min_gtk_version");
27850 if ((gtk_major_version != $gtk_config_major_version) ||
27851 (gtk_minor_version != $gtk_config_minor_version) ||
27852 (gtk_micro_version != $gtk_config_micro_version))
27854 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27855 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27856 gtk_major_version, gtk_minor_version, gtk_micro_version);
27857 printf ("*** was found! If gtk-config was correct, then it is best\n");
27858 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27859 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27860 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27861 printf("*** required on your system.\n");
27862 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27863 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27864 printf("*** before re-running configure\n");
27866 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27867 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27868 (gtk_minor_version != GTK_MINOR_VERSION) ||
27869 (gtk_micro_version != GTK_MICRO_VERSION))
27871 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27872 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27873 printf("*** library (version %d.%d.%d)\n",
27874 gtk_major_version, gtk_minor_version, gtk_micro_version);
27876 #endif /* defined (GTK_MAJOR_VERSION) ... */
27879 if ((gtk_major_version > major) ||
27880 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27881 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27887 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27888 gtk_major_version, gtk_minor_version, gtk_micro_version);
27889 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27890 major, minor, micro);
27891 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27893 printf("*** If you have already installed a sufficiently new version, this error\n");
27894 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27895 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27896 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27897 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27898 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27899 printf("*** so that the correct libraries are found at run-time))\n");
27906 rm -f conftest$ac_exeext
27907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27908 (eval $ac_link) 2>&5
27910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27911 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27913 (eval $ac_try) 2>&5
27915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27916 (exit $ac_status); }; }; then
27919 echo "$as_me: program exited with status $ac_status" >&5
27920 echo "$as_me: failed program was:" >&5
27921 sed 's/^/| /' conftest.$ac_ext >&5
27923 ( exit $ac_status )
27926 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27928 CFLAGS="$ac_save_CFLAGS"
27929 LIBS="$ac_save_LIBS"
27932 if test "x$no_gtk" = x ; then
27933 echo "$as_me:$LINENO: result: yes" >&5
27934 echo "${ECHO_T}yes" >&6
27935 wx_cv_lib_gtk=1.2.7
27937 echo "$as_me:$LINENO: result: no" >&5
27938 echo "${ECHO_T}no" >&6
27939 if test "$GTK_CONFIG" = "no" ; then
27940 echo "*** The gtk-config script installed by GTK could not be found"
27941 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27942 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27943 echo "*** full path to gtk-config."
27945 if test -f conf.gtktest ; then
27948 echo "*** Could not run GTK test program, checking why..."
27949 CFLAGS="$CFLAGS $GTK_CFLAGS"
27950 LIBS="$LIBS $GTK_LIBS"
27951 cat >conftest.$ac_ext <<_ACEOF
27954 cat confdefs.h >>conftest.$ac_ext
27955 cat >>conftest.$ac_ext <<_ACEOF
27956 /* end confdefs.h. */
27958 #include <gtk/gtk.h>
27964 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27969 rm -f conftest.$ac_objext conftest$ac_exeext
27970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27971 (eval $ac_link) 2>conftest.er1
27973 grep -v '^ *+' conftest.er1 >conftest.err
27975 cat conftest.err >&5
27976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27977 (exit $ac_status); } &&
27978 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27980 (eval $ac_try) 2>&5
27982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27983 (exit $ac_status); }; } &&
27984 { ac_try='test -s conftest$ac_exeext'
27985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27986 (eval $ac_try) 2>&5
27988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27989 (exit $ac_status); }; }; then
27990 echo "*** The test program compiled, but did not run. This usually means"
27991 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27992 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27993 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27994 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27995 echo "*** is required on your system"
27997 echo "*** If you have an old version installed, it is best to remove it, although"
27998 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28000 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28001 echo "*** came with the system with the command"
28003 echo "*** rpm --erase --nodeps gtk gtk-devel"
28005 echo "$as_me: failed program was:" >&5
28006 sed 's/^/| /' conftest.$ac_ext >&5
28008 echo "*** The test program failed to compile or link. See the file config.log for the"
28009 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28010 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28011 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28013 rm -f conftest.err conftest.$ac_objext \
28014 conftest$ac_exeext conftest.$ac_ext
28015 CFLAGS="$ac_save_CFLAGS"
28016 LIBS="$ac_save_LIBS"
28028 if test -z "$wx_cv_lib_gtk"; then
28030 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28031 if test "${with_gtk_prefix+set}" = set; then
28032 withval="$with_gtk_prefix"
28033 gtk_config_prefix="$withval"
28035 gtk_config_prefix=""
28038 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28039 if test "${with_gtk_exec_prefix+set}" = set; then
28040 withval="$with_gtk_exec_prefix"
28041 gtk_config_exec_prefix="$withval"
28043 gtk_config_exec_prefix=""
28045 # Check whether --enable-gtktest or --disable-gtktest was given.
28046 if test "${enable_gtktest+set}" = set; then
28047 enableval="$enable_gtktest"
28053 for module in . $GTK_MODULES
28057 gtk_config_args="$gtk_config_args gthread"
28062 if test x$gtk_config_exec_prefix != x ; then
28063 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28064 if test x${GTK_CONFIG+set} != xset ; then
28065 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28068 if test x$gtk_config_prefix != x ; then
28069 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28070 if test x${GTK_CONFIG+set} != xset ; then
28071 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28075 # Extract the first word of "gtk-config", so it can be a program name with args.
28076 set dummy gtk-config; ac_word=$2
28077 echo "$as_me:$LINENO: checking for $ac_word" >&5
28078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28079 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28080 echo $ECHO_N "(cached) $ECHO_C" >&6
28082 case $GTK_CONFIG in
28084 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28088 for as_dir in $PATH
28091 test -z "$as_dir" && as_dir=.
28092 for ac_exec_ext in '' $ac_executable_extensions; do
28093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28094 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28101 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28105 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28107 if test -n "$GTK_CONFIG"; then
28108 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28109 echo "${ECHO_T}$GTK_CONFIG" >&6
28111 echo "$as_me:$LINENO: result: no" >&5
28112 echo "${ECHO_T}no" >&6
28115 min_gtk_version=1.2.3
28116 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28117 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28119 if test "$GTK_CONFIG" = "no" ; then
28122 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28123 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28124 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28125 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28126 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28127 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28128 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28129 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28130 if test "x$enable_gtktest" = "xyes" ; then
28131 ac_save_CFLAGS="$CFLAGS"
28132 ac_save_LIBS="$LIBS"
28133 CFLAGS="$CFLAGS $GTK_CFLAGS"
28134 LIBS="$GTK_LIBS $LIBS"
28136 if test "$cross_compiling" = yes; then
28137 echo $ac_n "cross compiling; assumed OK... $ac_c"
28139 cat >conftest.$ac_ext <<_ACEOF
28142 cat confdefs.h >>conftest.$ac_ext
28143 cat >>conftest.$ac_ext <<_ACEOF
28144 /* end confdefs.h. */
28146 #include <gtk/gtk.h>
28148 #include <stdlib.h>
28153 int major, minor, micro;
28156 system ("touch conf.gtktest");
28158 /* HP/UX 9 (%@#!) writes to sscanf strings */
28159 tmp_version = g_strdup("$min_gtk_version");
28160 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28161 printf("%s, bad version string\n", "$min_gtk_version");
28165 if ((gtk_major_version != $gtk_config_major_version) ||
28166 (gtk_minor_version != $gtk_config_minor_version) ||
28167 (gtk_micro_version != $gtk_config_micro_version))
28169 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28170 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28171 gtk_major_version, gtk_minor_version, gtk_micro_version);
28172 printf ("*** was found! If gtk-config was correct, then it is best\n");
28173 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28174 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28175 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28176 printf("*** required on your system.\n");
28177 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28178 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28179 printf("*** before re-running configure\n");
28181 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28182 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28183 (gtk_minor_version != GTK_MINOR_VERSION) ||
28184 (gtk_micro_version != GTK_MICRO_VERSION))
28186 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28187 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28188 printf("*** library (version %d.%d.%d)\n",
28189 gtk_major_version, gtk_minor_version, gtk_micro_version);
28191 #endif /* defined (GTK_MAJOR_VERSION) ... */
28194 if ((gtk_major_version > major) ||
28195 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28196 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28202 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28203 gtk_major_version, gtk_minor_version, gtk_micro_version);
28204 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28205 major, minor, micro);
28206 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28208 printf("*** If you have already installed a sufficiently new version, this error\n");
28209 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28210 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28211 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28212 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28213 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28214 printf("*** so that the correct libraries are found at run-time))\n");
28221 rm -f conftest$ac_exeext
28222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28223 (eval $ac_link) 2>&5
28225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28226 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28228 (eval $ac_try) 2>&5
28230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28231 (exit $ac_status); }; }; then
28234 echo "$as_me: program exited with status $ac_status" >&5
28235 echo "$as_me: failed program was:" >&5
28236 sed 's/^/| /' conftest.$ac_ext >&5
28238 ( exit $ac_status )
28241 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28243 CFLAGS="$ac_save_CFLAGS"
28244 LIBS="$ac_save_LIBS"
28247 if test "x$no_gtk" = x ; then
28248 echo "$as_me:$LINENO: result: yes" >&5
28249 echo "${ECHO_T}yes" >&6
28250 wx_cv_lib_gtk=1.2.3
28252 echo "$as_me:$LINENO: result: no" >&5
28253 echo "${ECHO_T}no" >&6
28254 if test "$GTK_CONFIG" = "no" ; then
28255 echo "*** The gtk-config script installed by GTK could not be found"
28256 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28257 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28258 echo "*** full path to gtk-config."
28260 if test -f conf.gtktest ; then
28263 echo "*** Could not run GTK test program, checking why..."
28264 CFLAGS="$CFLAGS $GTK_CFLAGS"
28265 LIBS="$LIBS $GTK_LIBS"
28266 cat >conftest.$ac_ext <<_ACEOF
28269 cat confdefs.h >>conftest.$ac_ext
28270 cat >>conftest.$ac_ext <<_ACEOF
28271 /* end confdefs.h. */
28273 #include <gtk/gtk.h>
28279 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28284 rm -f conftest.$ac_objext conftest$ac_exeext
28285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28286 (eval $ac_link) 2>conftest.er1
28288 grep -v '^ *+' conftest.er1 >conftest.err
28290 cat conftest.err >&5
28291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28292 (exit $ac_status); } &&
28293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28295 (eval $ac_try) 2>&5
28297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28298 (exit $ac_status); }; } &&
28299 { ac_try='test -s conftest$ac_exeext'
28300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28301 (eval $ac_try) 2>&5
28303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304 (exit $ac_status); }; }; then
28305 echo "*** The test program compiled, but did not run. This usually means"
28306 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28307 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28308 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28309 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28310 echo "*** is required on your system"
28312 echo "*** If you have an old version installed, it is best to remove it, although"
28313 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28315 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28316 echo "*** came with the system with the command"
28318 echo "*** rpm --erase --nodeps gtk gtk-devel"
28320 echo "$as_me: failed program was:" >&5
28321 sed 's/^/| /' conftest.$ac_ext >&5
28323 echo "*** The test program failed to compile or link. See the file config.log for the"
28324 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28325 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28326 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28328 rm -f conftest.err conftest.$ac_objext \
28329 conftest$ac_exeext conftest.$ac_ext
28330 CFLAGS="$ac_save_CFLAGS"
28331 LIBS="$ac_save_LIBS"
28346 if test -z "$wx_cv_lib_gtk"; then
28349 wx_cv_cflags_gtk=$GTK_CFLAGS
28350 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28357 if test "$gtk_version_cached" = 1; then
28358 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28359 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28362 case "$wx_cv_lib_gtk" in
28371 *) { { echo "$as_me:$LINENO: error:
28372 The development files for GTK+ were not found. For GTK+ 2, please
28373 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28374 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28375 and that the version is 1.2.3 or above. Also check that the
28376 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28377 --libs' are in the LD_LIBRARY_PATH or equivalent.
28379 echo "$as_me: error:
28380 The development files for GTK+ were not found. For GTK+ 2, please
28381 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28382 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28383 and that the version is 1.2.3 or above. Also check that the
28384 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28385 --libs' are in the LD_LIBRARY_PATH or equivalent.
28387 { (exit 1); exit 1; }; }
28391 if test "$WXGTK20" = 1; then
28392 save_CFLAGS="$CFLAGS"
28394 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28395 LIBS="$LIBS $wx_cv_libs_gtk"
28397 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28398 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28399 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28400 echo $ECHO_N "(cached) $ECHO_C" >&6
28402 cat >conftest.$ac_ext <<_ACEOF
28405 cat confdefs.h >>conftest.$ac_ext
28406 cat >>conftest.$ac_ext <<_ACEOF
28407 /* end confdefs.h. */
28408 #include <gtk/gtk.h>
28413 #ifndef gtk_icon_size_lookup
28414 char *p = (char *) gtk_icon_size_lookup;
28421 rm -f conftest.$ac_objext
28422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28423 (eval $ac_compile) 2>conftest.er1
28425 grep -v '^ *+' conftest.er1 >conftest.err
28427 cat conftest.err >&5
28428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28429 (exit $ac_status); } &&
28430 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28432 (eval $ac_try) 2>&5
28434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28435 (exit $ac_status); }; } &&
28436 { ac_try='test -s conftest.$ac_objext'
28437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28438 (eval $ac_try) 2>&5
28440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28441 (exit $ac_status); }; }; then
28442 ac_cv_have_decl_gtk_icon_size_lookup=yes
28444 echo "$as_me: failed program was:" >&5
28445 sed 's/^/| /' conftest.$ac_ext >&5
28447 ac_cv_have_decl_gtk_icon_size_lookup=no
28449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28451 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28452 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28453 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28455 cat >>confdefs.h <<_ACEOF
28456 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28461 cat >>confdefs.h <<_ACEOF
28462 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28465 cat >>confdefs.h <<\_ACEOF
28466 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28473 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28474 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28475 cat >conftest.$ac_ext <<_ACEOF
28478 cat confdefs.h >>conftest.$ac_ext
28479 cat >>conftest.$ac_ext <<_ACEOF
28480 /* end confdefs.h. */
28482 #include <gtk/gtk.h>
28488 #if !GTK_CHECK_VERSION(2,6,0)
28496 rm -f conftest.$ac_objext
28497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28498 (eval $ac_compile) 2>conftest.er1
28500 grep -v '^ *+' conftest.er1 >conftest.err
28502 cat conftest.err >&5
28503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28504 (exit $ac_status); } &&
28505 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28507 (eval $ac_try) 2>&5
28509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28510 (exit $ac_status); }; } &&
28511 { ac_try='test -s conftest.$ac_objext'
28512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28513 (eval $ac_try) 2>&5
28515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28516 (exit $ac_status); }; }; then
28518 cat >>confdefs.h <<\_ACEOF
28519 #define __WXGTK26__ 1
28522 cat >>confdefs.h <<\_ACEOF
28523 #define __WXGTK24__ 1
28526 echo "$as_me:$LINENO: result: yes" >&5
28527 echo "${ECHO_T}yes" >&6
28531 echo "$as_me: failed program was:" >&5
28532 sed 's/^/| /' conftest.$ac_ext >&5
28535 echo "$as_me:$LINENO: result: no" >&5
28536 echo "${ECHO_T}no" >&6
28540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28542 if test "$ac_wxgtk26" = 0; then
28543 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28544 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28545 cat >conftest.$ac_ext <<_ACEOF
28548 cat confdefs.h >>conftest.$ac_ext
28549 cat >>conftest.$ac_ext <<_ACEOF
28550 /* end confdefs.h. */
28552 #include <gtk/gtk.h>
28558 #if !GTK_CHECK_VERSION(2,4,0)
28566 rm -f conftest.$ac_objext
28567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28568 (eval $ac_compile) 2>conftest.er1
28570 grep -v '^ *+' conftest.er1 >conftest.err
28572 cat conftest.err >&5
28573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28574 (exit $ac_status); } &&
28575 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28577 (eval $ac_try) 2>&5
28579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28580 (exit $ac_status); }; } &&
28581 { ac_try='test -s conftest.$ac_objext'
28582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28583 (eval $ac_try) 2>&5
28585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28586 (exit $ac_status); }; }; then
28588 cat >>confdefs.h <<\_ACEOF
28589 #define __WXGTK24__ 1
28592 echo "$as_me:$LINENO: result: yes" >&5
28593 echo "${ECHO_T}yes" >&6
28596 echo "$as_me: failed program was:" >&5
28597 sed 's/^/| /' conftest.$ac_ext >&5
28600 echo "$as_me:$LINENO: result: no" >&5
28601 echo "${ECHO_T}no" >&6
28604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28607 CFLAGS="$save_CFLAGS"
28610 if test "$wxUSE_UNICODE" = "yes"; then
28611 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28612 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28616 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28617 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28618 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28619 echo $ECHO_N "(cached) $ECHO_C" >&6
28621 ac_check_lib_save_LIBS=$LIBS
28623 cat >conftest.$ac_ext <<_ACEOF
28626 cat confdefs.h >>conftest.$ac_ext
28627 cat >>conftest.$ac_ext <<_ACEOF
28628 /* end confdefs.h. */
28630 /* Override any gcc2 internal prototype to avoid an error. */
28634 /* We use char because int might match the return type of a gcc2
28635 builtin and then its argument prototype would still apply. */
28636 char gdk_im_open ();
28645 rm -f conftest.$ac_objext conftest$ac_exeext
28646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28647 (eval $ac_link) 2>conftest.er1
28649 grep -v '^ *+' conftest.er1 >conftest.err
28651 cat conftest.err >&5
28652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28653 (exit $ac_status); } &&
28654 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28656 (eval $ac_try) 2>&5
28658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28659 (exit $ac_status); }; } &&
28660 { ac_try='test -s conftest$ac_exeext'
28661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28662 (eval $ac_try) 2>&5
28664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28665 (exit $ac_status); }; }; then
28666 ac_cv_lib_gdk_gdk_im_open=yes
28668 echo "$as_me: failed program was:" >&5
28669 sed 's/^/| /' conftest.$ac_ext >&5
28671 ac_cv_lib_gdk_gdk_im_open=no
28673 rm -f conftest.err conftest.$ac_objext \
28674 conftest$ac_exeext conftest.$ac_ext
28675 LIBS=$ac_check_lib_save_LIBS
28677 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28678 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28679 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28680 cat >>confdefs.h <<\_ACEOF
28688 if test "$USE_DARWIN" != 1; then
28690 for ac_func in poll
28692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28693 echo "$as_me:$LINENO: checking for $ac_func" >&5
28694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28695 if eval "test \"\${$as_ac_var+set}\" = set"; then
28696 echo $ECHO_N "(cached) $ECHO_C" >&6
28698 cat >conftest.$ac_ext <<_ACEOF
28701 cat confdefs.h >>conftest.$ac_ext
28702 cat >>conftest.$ac_ext <<_ACEOF
28703 /* end confdefs.h. */
28704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28706 #define $ac_func innocuous_$ac_func
28708 /* System header to define __stub macros and hopefully few prototypes,
28709 which can conflict with char $ac_func (); below.
28710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28711 <limits.h> exists even on freestanding compilers. */
28714 # include <limits.h>
28716 # include <assert.h>
28721 /* Override any gcc2 internal prototype to avoid an error. */
28726 /* We use char because int might match the return type of a gcc2
28727 builtin and then its argument prototype would still apply. */
28729 /* The GNU C library defines this for functions which it implements
28730 to always fail with ENOSYS. Some functions are actually named
28731 something starting with __ and the normal name is an alias. */
28732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28735 char (*f) () = $ac_func;
28744 return f != $ac_func;
28749 rm -f conftest.$ac_objext conftest$ac_exeext
28750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28751 (eval $ac_link) 2>conftest.er1
28753 grep -v '^ *+' conftest.er1 >conftest.err
28755 cat conftest.err >&5
28756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28757 (exit $ac_status); } &&
28758 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28760 (eval $ac_try) 2>&5
28762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28763 (exit $ac_status); }; } &&
28764 { ac_try='test -s conftest$ac_exeext'
28765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28766 (eval $ac_try) 2>&5
28768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28769 (exit $ac_status); }; }; then
28770 eval "$as_ac_var=yes"
28772 echo "$as_me: failed program was:" >&5
28773 sed 's/^/| /' conftest.$ac_ext >&5
28775 eval "$as_ac_var=no"
28777 rm -f conftest.err conftest.$ac_objext \
28778 conftest$ac_exeext conftest.$ac_ext
28780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28782 if test `eval echo '${'$as_ac_var'}'` = yes; then
28783 cat >>confdefs.h <<_ACEOF
28784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28792 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28793 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28795 AFMINSTALL=afminstall
28799 if test "$wxUSE_GPE" = "yes"; then
28800 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28801 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28804 for ac_dir in $SEARCH_LIB;
28806 for ac_extension in a so sl dylib dll.a; do
28807 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28808 ac_find_libraries=$ac_dir
28814 if test "$ac_find_libraries" != "" ; then
28816 if test "$ac_find_libraries" = "default location"; then
28819 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28821 if test $result = 0; then
28824 ac_path_to_link=" -L$ac_find_libraries"
28828 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28830 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28831 echo "${ECHO_T}found in $ac_find_libraries" >&6
28833 echo "$as_me:$LINENO: result: not found" >&5
28834 echo "${ECHO_T}not found" >&6
28840 if test "$wxUSE_MGL" = 1; then
28841 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28842 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
28843 if test "x$MGL_ROOT" = x ; then
28844 echo "$as_me:$LINENO: result: not found" >&5
28845 echo "${ECHO_T}not found" >&6
28846 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28847 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28848 { (exit 1); exit 1; }; }
28850 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28851 echo "${ECHO_T}$MGL_ROOT" >&6
28854 echo "$as_me:$LINENO: checking for libmgl location" >&5
28855 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
28858 if test "x$wxUSE_SHARED" = xyes ; then
28859 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28861 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28865 mgl_os_candidates="dos32/dj2"
28868 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28869 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28870 { (exit 1); exit 1; }; }
28876 for mgl_os_i in $mgl_os_candidates ; do
28877 if test "x$mgl_os" = x ; then
28878 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28879 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28880 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28885 if test "x$mgl_lib_type" = x ; then
28886 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28887 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28888 mgl_lib_type=release
28895 if test "x$mgl_os" = x ; then
28896 echo "$as_me:$LINENO: result: not found" >&5
28897 echo "${ECHO_T}not found" >&6
28898 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28899 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28900 { (exit 1); exit 1; }; }
28902 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28903 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
28905 wxUSE_UNIVERSAL="yes"
28907 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28908 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28910 AFMINSTALL=afminstall
28915 if test "$wxUSE_DFB" = 1; then
28918 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28919 if test -n "$ac_tool_prefix"; then
28920 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28921 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28922 echo "$as_me:$LINENO: checking for $ac_word" >&5
28923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28924 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28925 echo $ECHO_N "(cached) $ECHO_C" >&6
28927 case $PKG_CONFIG in
28929 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28933 for as_dir in $PATH
28936 test -z "$as_dir" && as_dir=.
28937 for ac_exec_ext in '' $ac_executable_extensions; do
28938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28939 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28949 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28951 if test -n "$PKG_CONFIG"; then
28952 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28953 echo "${ECHO_T}$PKG_CONFIG" >&6
28955 echo "$as_me:$LINENO: result: no" >&5
28956 echo "${ECHO_T}no" >&6
28960 if test -z "$ac_cv_path_PKG_CONFIG"; then
28961 ac_pt_PKG_CONFIG=$PKG_CONFIG
28962 # Extract the first word of "pkg-config", so it can be a program name with args.
28963 set dummy pkg-config; ac_word=$2
28964 echo "$as_me:$LINENO: checking for $ac_word" >&5
28965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28966 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28967 echo $ECHO_N "(cached) $ECHO_C" >&6
28969 case $ac_pt_PKG_CONFIG in
28971 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28975 for as_dir in $PATH
28978 test -z "$as_dir" && as_dir=.
28979 for ac_exec_ext in '' $ac_executable_extensions; do
28980 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28981 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28991 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28993 if test -n "$ac_pt_PKG_CONFIG"; then
28994 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28995 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
28997 echo "$as_me:$LINENO: result: no" >&5
28998 echo "${ECHO_T}no" >&6
29001 PKG_CONFIG=$ac_pt_PKG_CONFIG
29003 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29007 if test -n "$PKG_CONFIG"; then
29008 _pkg_min_version=0.9.0
29009 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29010 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29011 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29012 echo "$as_me:$LINENO: result: yes" >&5
29013 echo "${ECHO_T}yes" >&6
29015 echo "$as_me:$LINENO: result: no" >&5
29016 echo "${ECHO_T}no" >&6
29024 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29025 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29027 if test -n "$PKG_CONFIG"; then
29028 if test -n "$DIRECTFB_CFLAGS"; then
29029 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29031 if test -n "$PKG_CONFIG" && \
29032 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29033 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29036 (exit $ac_status); }; then
29037 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29045 if test -n "$PKG_CONFIG"; then
29046 if test -n "$DIRECTFB_LIBS"; then
29047 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29049 if test -n "$PKG_CONFIG" && \
29050 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29051 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29054 (exit $ac_status); }; then
29055 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29066 if test $pkg_failed = yes; then
29068 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29069 _pkg_short_errors_supported=yes
29071 _pkg_short_errors_supported=no
29073 if test $_pkg_short_errors_supported = yes; then
29074 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29076 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29078 # Put the nasty error message in config.log where it belongs
29079 echo "$DIRECTFB_PKG_ERRORS" >&5
29082 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29083 echo "$as_me: error: DirectFB not found." >&2;}
29084 { (exit 1); exit 1; }; }
29087 elif test $pkg_failed = untried; then
29089 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29090 echo "$as_me: error: DirectFB not found." >&2;}
29091 { (exit 1); exit 1; }; }
29095 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29096 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29097 echo "$as_me:$LINENO: result: yes" >&5
29098 echo "${ECHO_T}yes" >&6
29100 wxUSE_UNIVERSAL="yes"
29101 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29102 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29109 if test "$wxUSE_MICROWIN" = 1; then
29110 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29111 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29112 if test "x$MICROWINDOWS" = x ; then
29113 echo "$as_me:$LINENO: result: not found" >&5
29114 echo "${ECHO_T}not found" >&6
29115 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29116 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29117 { (exit 1); exit 1; }; }
29119 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29120 echo "${ECHO_T}$MICROWINDOWS" >&6
29123 if test -f $MICROWINDOWS/lib/libmwin.a; then
29124 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29125 echo "${ECHO_T}MicroWindows' libraries found." >&6
29127 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29128 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29129 { (exit 1); exit 1; }; }
29132 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29133 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29135 wxUSE_UNIVERSAL="yes"
29137 AFMINSTALL=afminstall
29139 GUIDIST=MICROWIN_DIST
29141 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29144 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29146 if test "x$ac_path_x_has_been_run" != xyes; then
29147 echo "$as_me:$LINENO: checking for X" >&5
29148 echo $ECHO_N "checking for X... $ECHO_C" >&6
29150 ac_path_x_has_been_run=yes
29152 # Check whether --with-x or --without-x was given.
29153 if test "${with_x+set}" = set; then
29157 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29158 if test "x$with_x" = xno; then
29159 # The user explicitly disabled X.
29162 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29163 # Both variables are already set.
29166 if test "${ac_cv_have_x+set}" = set; then
29167 echo $ECHO_N "(cached) $ECHO_C" >&6
29169 # One or both of the vars are not set, and there is no cached value.
29170 ac_x_includes=no ac_x_libraries=no
29171 rm -fr conftest.dir
29172 if mkdir conftest.dir; then
29174 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29175 cat >Imakefile <<'_ACEOF'
29177 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29179 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29180 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29181 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29182 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29183 for ac_extension in a so sl; do
29184 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29185 test -f $ac_im_libdir/libX11.$ac_extension; then
29186 ac_im_usrlibdir=$ac_im_libdir; break
29189 # Screen out bogus values from the imake configuration. They are
29190 # bogus both because they are the default anyway, and because
29191 # using them would break gcc on systems where it needs fixed includes.
29192 case $ac_im_incroot in
29194 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29196 case $ac_im_usrlibdir in
29197 /usr/lib | /lib) ;;
29198 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29202 rm -fr conftest.dir
29205 # Standard set of common directories for X headers.
29206 # Check X11 before X11Rn because it is often a symlink to the current release.
29218 /usr/local/X11/include
29219 /usr/local/X11R6/include
29220 /usr/local/X11R5/include
29221 /usr/local/X11R4/include
29223 /usr/local/include/X11
29224 /usr/local/include/X11R6
29225 /usr/local/include/X11R5
29226 /usr/local/include/X11R4
29230 /usr/XFree86/include/X11
29234 /usr/unsupported/include
29235 /usr/athena/include
29236 /usr/local/x11r5/include
29237 /usr/lpp/Xamples/include
29239 /usr/openwin/include
29240 /usr/openwin/share/include'
29242 if test "$ac_x_includes" = no; then
29243 # Guess where to find include files, by looking for a specified header file.
29244 # First, try using that file with no special directory specified.
29245 cat >conftest.$ac_ext <<_ACEOF
29248 cat confdefs.h >>conftest.$ac_ext
29249 cat >>conftest.$ac_ext <<_ACEOF
29250 /* end confdefs.h. */
29251 #include <X11/Xlib.h>
29253 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29254 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29256 grep -v '^ *+' conftest.er1 >conftest.err
29258 cat conftest.err >&5
29259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29260 (exit $ac_status); } >/dev/null; then
29261 if test -s conftest.err; then
29262 ac_cpp_err=$ac_c_preproc_warn_flag
29263 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29270 if test -z "$ac_cpp_err"; then
29271 # We can compile using X headers with no special include directory.
29274 echo "$as_me: failed program was:" >&5
29275 sed 's/^/| /' conftest.$ac_ext >&5
29277 for ac_dir in $ac_x_header_dirs; do
29278 if test -r "$ac_dir/X11/Xlib.h"; then
29279 ac_x_includes=$ac_dir
29284 rm -f conftest.err conftest.$ac_ext
29285 fi # $ac_x_includes = no
29287 if test "$ac_x_libraries" = no; then
29288 # Check for the libraries.
29289 # See if we find them without any special options.
29290 # Don't add to $LIBS permanently.
29293 cat >conftest.$ac_ext <<_ACEOF
29296 cat confdefs.h >>conftest.$ac_ext
29297 cat >>conftest.$ac_ext <<_ACEOF
29298 /* end confdefs.h. */
29299 #include <X11/Xlib.h>
29308 rm -f conftest.$ac_objext conftest$ac_exeext
29309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29310 (eval $ac_link) 2>conftest.er1
29312 grep -v '^ *+' conftest.er1 >conftest.err
29314 cat conftest.err >&5
29315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29316 (exit $ac_status); } &&
29317 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29319 (eval $ac_try) 2>&5
29321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29322 (exit $ac_status); }; } &&
29323 { ac_try='test -s conftest$ac_exeext'
29324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29325 (eval $ac_try) 2>&5
29327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29328 (exit $ac_status); }; }; then
29330 # We can link X programs with no special library path.
29333 echo "$as_me: failed program was:" >&5
29334 sed 's/^/| /' conftest.$ac_ext >&5
29337 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29339 # Don't even attempt the hair of trying to link an X program!
29340 for ac_extension in a so sl; do
29341 if test -r $ac_dir/libX11.$ac_extension; then
29342 ac_x_libraries=$ac_dir
29348 rm -f conftest.err conftest.$ac_objext \
29349 conftest$ac_exeext conftest.$ac_ext
29350 fi # $ac_x_libraries = no
29352 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
29353 # Didn't find X anywhere. Cache the known absence of X.
29354 ac_cv_have_x="have_x=no"
29356 # Record where we found X for the cache.
29357 ac_cv_have_x="have_x=yes \
29358 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29363 eval "$ac_cv_have_x"
29366 if test "$have_x" != yes; then
29367 echo "$as_me:$LINENO: result: $have_x" >&5
29368 echo "${ECHO_T}$have_x" >&6
29371 # If each of the values was on the command line, it overrides each guess.
29372 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29373 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29374 # Update the cache value to reflect the command line values.
29375 ac_cv_have_x="have_x=yes \
29376 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29377 # It might be that x_includes is empty (headers are found in the
29378 # standard search path. Then output the corresponding message
29379 ac_out_x_includes=$x_includes
29380 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
29381 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29382 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29386 if test "$no_x" = yes; then
29387 # Not all programs may use this symbol, but it does not hurt to define it.
29389 cat >>confdefs.h <<\_ACEOF
29390 #define X_DISPLAY_MISSING 1
29393 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29395 if test -n "$x_includes"; then
29396 X_CFLAGS="$X_CFLAGS -I$x_includes"
29399 # It would also be nice to do this for all -L options, not just this one.
29400 if test -n "$x_libraries"; then
29401 X_LIBS="$X_LIBS -L$x_libraries"
29402 # For Solaris; some versions of Sun CC require a space after -R and
29403 # others require no space. Words are not sufficient . . . .
29404 case `(uname -sr) 2>/dev/null` in
29406 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29407 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29408 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29409 cat >conftest.$ac_ext <<_ACEOF
29412 cat confdefs.h >>conftest.$ac_ext
29413 cat >>conftest.$ac_ext <<_ACEOF
29414 /* end confdefs.h. */
29424 rm -f conftest.$ac_objext conftest$ac_exeext
29425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29426 (eval $ac_link) 2>conftest.er1
29428 grep -v '^ *+' conftest.er1 >conftest.err
29430 cat conftest.err >&5
29431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29432 (exit $ac_status); } &&
29433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29435 (eval $ac_try) 2>&5
29437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29438 (exit $ac_status); }; } &&
29439 { ac_try='test -s conftest$ac_exeext'
29440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29441 (eval $ac_try) 2>&5
29443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29444 (exit $ac_status); }; }; then
29447 echo "$as_me: failed program was:" >&5
29448 sed 's/^/| /' conftest.$ac_ext >&5
29452 rm -f conftest.err conftest.$ac_objext \
29453 conftest$ac_exeext conftest.$ac_ext
29454 if test $ac_R_nospace = yes; then
29455 echo "$as_me:$LINENO: result: no" >&5
29456 echo "${ECHO_T}no" >&6
29457 X_LIBS="$X_LIBS -R$x_libraries"
29459 LIBS="$ac_xsave_LIBS -R $x_libraries"
29460 cat >conftest.$ac_ext <<_ACEOF
29463 cat confdefs.h >>conftest.$ac_ext
29464 cat >>conftest.$ac_ext <<_ACEOF
29465 /* end confdefs.h. */
29475 rm -f conftest.$ac_objext conftest$ac_exeext
29476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29477 (eval $ac_link) 2>conftest.er1
29479 grep -v '^ *+' conftest.er1 >conftest.err
29481 cat conftest.err >&5
29482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29483 (exit $ac_status); } &&
29484 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29486 (eval $ac_try) 2>&5
29488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29489 (exit $ac_status); }; } &&
29490 { ac_try='test -s conftest$ac_exeext'
29491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29492 (eval $ac_try) 2>&5
29494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29495 (exit $ac_status); }; }; then
29498 echo "$as_me: failed program was:" >&5
29499 sed 's/^/| /' conftest.$ac_ext >&5
29503 rm -f conftest.err conftest.$ac_objext \
29504 conftest$ac_exeext conftest.$ac_ext
29505 if test $ac_R_space = yes; then
29506 echo "$as_me:$LINENO: result: yes" >&5
29507 echo "${ECHO_T}yes" >&6
29508 X_LIBS="$X_LIBS -R $x_libraries"
29510 echo "$as_me:$LINENO: result: neither works" >&5
29511 echo "${ECHO_T}neither works" >&6
29514 LIBS=$ac_xsave_LIBS
29518 # Check for system-dependent libraries X programs must link with.
29519 # Do this before checking for the system-independent R6 libraries
29520 # (-lICE), since we may need -lsocket or whatever for X linking.
29522 if test "$ISC" = yes; then
29523 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29525 # Martyn Johnson says this is needed for Ultrix, if the X
29526 # libraries were built with DECnet support. And Karl Berry says
29527 # the Alpha needs dnet_stub (dnet does not exist).
29528 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29529 cat >conftest.$ac_ext <<_ACEOF
29532 cat confdefs.h >>conftest.$ac_ext
29533 cat >>conftest.$ac_ext <<_ACEOF
29534 /* end confdefs.h. */
29536 /* Override any gcc2 internal prototype to avoid an error. */
29540 /* We use char because int might match the return type of a gcc2
29541 builtin and then its argument prototype would still apply. */
29542 char XOpenDisplay ();
29551 rm -f conftest.$ac_objext conftest$ac_exeext
29552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29553 (eval $ac_link) 2>conftest.er1
29555 grep -v '^ *+' conftest.er1 >conftest.err
29557 cat conftest.err >&5
29558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29559 (exit $ac_status); } &&
29560 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29562 (eval $ac_try) 2>&5
29564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29565 (exit $ac_status); }; } &&
29566 { ac_try='test -s conftest$ac_exeext'
29567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29568 (eval $ac_try) 2>&5
29570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29571 (exit $ac_status); }; }; then
29574 echo "$as_me: failed program was:" >&5
29575 sed 's/^/| /' conftest.$ac_ext >&5
29577 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29578 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29579 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29580 echo $ECHO_N "(cached) $ECHO_C" >&6
29582 ac_check_lib_save_LIBS=$LIBS
29583 LIBS="-ldnet $LIBS"
29584 cat >conftest.$ac_ext <<_ACEOF
29587 cat confdefs.h >>conftest.$ac_ext
29588 cat >>conftest.$ac_ext <<_ACEOF
29589 /* end confdefs.h. */
29591 /* Override any gcc2 internal prototype to avoid an error. */
29595 /* We use char because int might match the return type of a gcc2
29596 builtin and then its argument prototype would still apply. */
29606 rm -f conftest.$ac_objext conftest$ac_exeext
29607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29608 (eval $ac_link) 2>conftest.er1
29610 grep -v '^ *+' conftest.er1 >conftest.err
29612 cat conftest.err >&5
29613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29614 (exit $ac_status); } &&
29615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29617 (eval $ac_try) 2>&5
29619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29620 (exit $ac_status); }; } &&
29621 { ac_try='test -s conftest$ac_exeext'
29622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29623 (eval $ac_try) 2>&5
29625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29626 (exit $ac_status); }; }; then
29627 ac_cv_lib_dnet_dnet_ntoa=yes
29629 echo "$as_me: failed program was:" >&5
29630 sed 's/^/| /' conftest.$ac_ext >&5
29632 ac_cv_lib_dnet_dnet_ntoa=no
29634 rm -f conftest.err conftest.$ac_objext \
29635 conftest$ac_exeext conftest.$ac_ext
29636 LIBS=$ac_check_lib_save_LIBS
29638 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29639 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29640 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29641 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29644 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29645 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29646 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29647 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29648 echo $ECHO_N "(cached) $ECHO_C" >&6
29650 ac_check_lib_save_LIBS=$LIBS
29651 LIBS="-ldnet_stub $LIBS"
29652 cat >conftest.$ac_ext <<_ACEOF
29655 cat confdefs.h >>conftest.$ac_ext
29656 cat >>conftest.$ac_ext <<_ACEOF
29657 /* end confdefs.h. */
29659 /* Override any gcc2 internal prototype to avoid an error. */
29663 /* We use char because int might match the return type of a gcc2
29664 builtin and then its argument prototype would still apply. */
29674 rm -f conftest.$ac_objext conftest$ac_exeext
29675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29676 (eval $ac_link) 2>conftest.er1
29678 grep -v '^ *+' conftest.er1 >conftest.err
29680 cat conftest.err >&5
29681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29682 (exit $ac_status); } &&
29683 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29685 (eval $ac_try) 2>&5
29687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29688 (exit $ac_status); }; } &&
29689 { ac_try='test -s conftest$ac_exeext'
29690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29691 (eval $ac_try) 2>&5
29693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29694 (exit $ac_status); }; }; then
29695 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29697 echo "$as_me: failed program was:" >&5
29698 sed 's/^/| /' conftest.$ac_ext >&5
29700 ac_cv_lib_dnet_stub_dnet_ntoa=no
29702 rm -f conftest.err conftest.$ac_objext \
29703 conftest$ac_exeext conftest.$ac_ext
29704 LIBS=$ac_check_lib_save_LIBS
29706 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29707 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29708 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29709 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29714 rm -f conftest.err conftest.$ac_objext \
29715 conftest$ac_exeext conftest.$ac_ext
29716 LIBS="$ac_xsave_LIBS"
29718 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29719 # to get the SysV transport functions.
29720 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29722 # The nsl library prevents programs from opening the X display
29723 # on Irix 5.2, according to T.E. Dickey.
29724 # The functions gethostbyname, getservbyname, and inet_addr are
29725 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29726 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29727 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29728 if test "${ac_cv_func_gethostbyname+set}" = set; then
29729 echo $ECHO_N "(cached) $ECHO_C" >&6
29731 cat >conftest.$ac_ext <<_ACEOF
29734 cat confdefs.h >>conftest.$ac_ext
29735 cat >>conftest.$ac_ext <<_ACEOF
29736 /* end confdefs.h. */
29737 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29739 #define gethostbyname innocuous_gethostbyname
29741 /* System header to define __stub macros and hopefully few prototypes,
29742 which can conflict with char gethostbyname (); below.
29743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29744 <limits.h> exists even on freestanding compilers. */
29747 # include <limits.h>
29749 # include <assert.h>
29752 #undef gethostbyname
29754 /* Override any gcc2 internal prototype to avoid an error. */
29759 /* We use char because int might match the return type of a gcc2
29760 builtin and then its argument prototype would still apply. */
29761 char gethostbyname ();
29762 /* The GNU C library defines this for functions which it implements
29763 to always fail with ENOSYS. Some functions are actually named
29764 something starting with __ and the normal name is an alias. */
29765 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29768 char (*f) () = gethostbyname;
29777 return f != gethostbyname;
29782 rm -f conftest.$ac_objext conftest$ac_exeext
29783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29784 (eval $ac_link) 2>conftest.er1
29786 grep -v '^ *+' conftest.er1 >conftest.err
29788 cat conftest.err >&5
29789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29790 (exit $ac_status); } &&
29791 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29793 (eval $ac_try) 2>&5
29795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29796 (exit $ac_status); }; } &&
29797 { ac_try='test -s conftest$ac_exeext'
29798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29799 (eval $ac_try) 2>&5
29801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29802 (exit $ac_status); }; }; then
29803 ac_cv_func_gethostbyname=yes
29805 echo "$as_me: failed program was:" >&5
29806 sed 's/^/| /' conftest.$ac_ext >&5
29808 ac_cv_func_gethostbyname=no
29810 rm -f conftest.err conftest.$ac_objext \
29811 conftest$ac_exeext conftest.$ac_ext
29813 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29814 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29816 if test $ac_cv_func_gethostbyname = no; then
29817 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29818 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29819 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29820 echo $ECHO_N "(cached) $ECHO_C" >&6
29822 ac_check_lib_save_LIBS=$LIBS
29824 cat >conftest.$ac_ext <<_ACEOF
29827 cat confdefs.h >>conftest.$ac_ext
29828 cat >>conftest.$ac_ext <<_ACEOF
29829 /* end confdefs.h. */
29831 /* Override any gcc2 internal prototype to avoid an error. */
29835 /* We use char because int might match the return type of a gcc2
29836 builtin and then its argument prototype would still apply. */
29837 char gethostbyname ();
29846 rm -f conftest.$ac_objext conftest$ac_exeext
29847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29848 (eval $ac_link) 2>conftest.er1
29850 grep -v '^ *+' conftest.er1 >conftest.err
29852 cat conftest.err >&5
29853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29854 (exit $ac_status); } &&
29855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29857 (eval $ac_try) 2>&5
29859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29860 (exit $ac_status); }; } &&
29861 { ac_try='test -s conftest$ac_exeext'
29862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29863 (eval $ac_try) 2>&5
29865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29866 (exit $ac_status); }; }; then
29867 ac_cv_lib_nsl_gethostbyname=yes
29869 echo "$as_me: failed program was:" >&5
29870 sed 's/^/| /' conftest.$ac_ext >&5
29872 ac_cv_lib_nsl_gethostbyname=no
29874 rm -f conftest.err conftest.$ac_objext \
29875 conftest$ac_exeext conftest.$ac_ext
29876 LIBS=$ac_check_lib_save_LIBS
29878 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29879 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
29880 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29881 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29884 if test $ac_cv_lib_nsl_gethostbyname = no; then
29885 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29886 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
29887 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29888 echo $ECHO_N "(cached) $ECHO_C" >&6
29890 ac_check_lib_save_LIBS=$LIBS
29892 cat >conftest.$ac_ext <<_ACEOF
29895 cat confdefs.h >>conftest.$ac_ext
29896 cat >>conftest.$ac_ext <<_ACEOF
29897 /* end confdefs.h. */
29899 /* Override any gcc2 internal prototype to avoid an error. */
29903 /* We use char because int might match the return type of a gcc2
29904 builtin and then its argument prototype would still apply. */
29905 char gethostbyname ();
29914 rm -f conftest.$ac_objext conftest$ac_exeext
29915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29916 (eval $ac_link) 2>conftest.er1
29918 grep -v '^ *+' conftest.er1 >conftest.err
29920 cat conftest.err >&5
29921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29922 (exit $ac_status); } &&
29923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29925 (eval $ac_try) 2>&5
29927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29928 (exit $ac_status); }; } &&
29929 { ac_try='test -s conftest$ac_exeext'
29930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29931 (eval $ac_try) 2>&5
29933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29934 (exit $ac_status); }; }; then
29935 ac_cv_lib_bsd_gethostbyname=yes
29937 echo "$as_me: failed program was:" >&5
29938 sed 's/^/| /' conftest.$ac_ext >&5
29940 ac_cv_lib_bsd_gethostbyname=no
29942 rm -f conftest.err conftest.$ac_objext \
29943 conftest$ac_exeext conftest.$ac_ext
29944 LIBS=$ac_check_lib_save_LIBS
29946 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29947 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
29948 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29949 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29955 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29956 # socket/setsockopt and other routines are undefined under SCO ODT
29957 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29958 # on later versions), says Simon Leinen: it contains gethostby*
29959 # variants that don't use the name server (or something). -lsocket
29960 # must be given before -lnsl if both are needed. We assume that
29961 # if connect needs -lnsl, so does gethostbyname.
29962 echo "$as_me:$LINENO: checking for connect" >&5
29963 echo $ECHO_N "checking for connect... $ECHO_C" >&6
29964 if test "${ac_cv_func_connect+set}" = set; then
29965 echo $ECHO_N "(cached) $ECHO_C" >&6
29967 cat >conftest.$ac_ext <<_ACEOF
29970 cat confdefs.h >>conftest.$ac_ext
29971 cat >>conftest.$ac_ext <<_ACEOF
29972 /* end confdefs.h. */
29973 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29975 #define connect innocuous_connect
29977 /* System header to define __stub macros and hopefully few prototypes,
29978 which can conflict with char connect (); below.
29979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29980 <limits.h> exists even on freestanding compilers. */
29983 # include <limits.h>
29985 # include <assert.h>
29990 /* Override any gcc2 internal prototype to avoid an error. */
29995 /* We use char because int might match the return type of a gcc2
29996 builtin and then its argument prototype would still apply. */
29998 /* The GNU C library defines this for functions which it implements
29999 to always fail with ENOSYS. Some functions are actually named
30000 something starting with __ and the normal name is an alias. */
30001 #if defined (__stub_connect) || defined (__stub___connect)
30004 char (*f) () = connect;
30013 return f != connect;
30018 rm -f conftest.$ac_objext conftest$ac_exeext
30019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30020 (eval $ac_link) 2>conftest.er1
30022 grep -v '^ *+' conftest.er1 >conftest.err
30024 cat conftest.err >&5
30025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30026 (exit $ac_status); } &&
30027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30029 (eval $ac_try) 2>&5
30031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30032 (exit $ac_status); }; } &&
30033 { ac_try='test -s conftest$ac_exeext'
30034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30035 (eval $ac_try) 2>&5
30037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30038 (exit $ac_status); }; }; then
30039 ac_cv_func_connect=yes
30041 echo "$as_me: failed program was:" >&5
30042 sed 's/^/| /' conftest.$ac_ext >&5
30044 ac_cv_func_connect=no
30046 rm -f conftest.err conftest.$ac_objext \
30047 conftest$ac_exeext conftest.$ac_ext
30049 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30050 echo "${ECHO_T}$ac_cv_func_connect" >&6
30052 if test $ac_cv_func_connect = no; then
30053 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30054 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30055 if test "${ac_cv_lib_socket_connect+set}" = set; then
30056 echo $ECHO_N "(cached) $ECHO_C" >&6
30058 ac_check_lib_save_LIBS=$LIBS
30059 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30060 cat >conftest.$ac_ext <<_ACEOF
30063 cat confdefs.h >>conftest.$ac_ext
30064 cat >>conftest.$ac_ext <<_ACEOF
30065 /* end confdefs.h. */
30067 /* Override any gcc2 internal prototype to avoid an error. */
30071 /* We use char because int might match the return type of a gcc2
30072 builtin and then its argument prototype would still apply. */
30082 rm -f conftest.$ac_objext conftest$ac_exeext
30083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30084 (eval $ac_link) 2>conftest.er1
30086 grep -v '^ *+' conftest.er1 >conftest.err
30088 cat conftest.err >&5
30089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30090 (exit $ac_status); } &&
30091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30093 (eval $ac_try) 2>&5
30095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30096 (exit $ac_status); }; } &&
30097 { ac_try='test -s conftest$ac_exeext'
30098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30099 (eval $ac_try) 2>&5
30101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30102 (exit $ac_status); }; }; then
30103 ac_cv_lib_socket_connect=yes
30105 echo "$as_me: failed program was:" >&5
30106 sed 's/^/| /' conftest.$ac_ext >&5
30108 ac_cv_lib_socket_connect=no
30110 rm -f conftest.err conftest.$ac_objext \
30111 conftest$ac_exeext conftest.$ac_ext
30112 LIBS=$ac_check_lib_save_LIBS
30114 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30115 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30116 if test $ac_cv_lib_socket_connect = yes; then
30117 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30122 # Guillermo Gomez says -lposix is necessary on A/UX.
30123 echo "$as_me:$LINENO: checking for remove" >&5
30124 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30125 if test "${ac_cv_func_remove+set}" = set; then
30126 echo $ECHO_N "(cached) $ECHO_C" >&6
30128 cat >conftest.$ac_ext <<_ACEOF
30131 cat confdefs.h >>conftest.$ac_ext
30132 cat >>conftest.$ac_ext <<_ACEOF
30133 /* end confdefs.h. */
30134 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30136 #define remove innocuous_remove
30138 /* System header to define __stub macros and hopefully few prototypes,
30139 which can conflict with char remove (); below.
30140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30141 <limits.h> exists even on freestanding compilers. */
30144 # include <limits.h>
30146 # include <assert.h>
30151 /* Override any gcc2 internal prototype to avoid an error. */
30156 /* We use char because int might match the return type of a gcc2
30157 builtin and then its argument prototype would still apply. */
30159 /* The GNU C library defines this for functions which it implements
30160 to always fail with ENOSYS. Some functions are actually named
30161 something starting with __ and the normal name is an alias. */
30162 #if defined (__stub_remove) || defined (__stub___remove)
30165 char (*f) () = remove;
30174 return f != remove;
30179 rm -f conftest.$ac_objext conftest$ac_exeext
30180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30181 (eval $ac_link) 2>conftest.er1
30183 grep -v '^ *+' conftest.er1 >conftest.err
30185 cat conftest.err >&5
30186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30187 (exit $ac_status); } &&
30188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30190 (eval $ac_try) 2>&5
30192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30193 (exit $ac_status); }; } &&
30194 { ac_try='test -s conftest$ac_exeext'
30195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30196 (eval $ac_try) 2>&5
30198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30199 (exit $ac_status); }; }; then
30200 ac_cv_func_remove=yes
30202 echo "$as_me: failed program was:" >&5
30203 sed 's/^/| /' conftest.$ac_ext >&5
30205 ac_cv_func_remove=no
30207 rm -f conftest.err conftest.$ac_objext \
30208 conftest$ac_exeext conftest.$ac_ext
30210 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30211 echo "${ECHO_T}$ac_cv_func_remove" >&6
30213 if test $ac_cv_func_remove = no; then
30214 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30215 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30216 if test "${ac_cv_lib_posix_remove+set}" = set; then
30217 echo $ECHO_N "(cached) $ECHO_C" >&6
30219 ac_check_lib_save_LIBS=$LIBS
30220 LIBS="-lposix $LIBS"
30221 cat >conftest.$ac_ext <<_ACEOF
30224 cat confdefs.h >>conftest.$ac_ext
30225 cat >>conftest.$ac_ext <<_ACEOF
30226 /* end confdefs.h. */
30228 /* Override any gcc2 internal prototype to avoid an error. */
30232 /* We use char because int might match the return type of a gcc2
30233 builtin and then its argument prototype would still apply. */
30243 rm -f conftest.$ac_objext conftest$ac_exeext
30244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30245 (eval $ac_link) 2>conftest.er1
30247 grep -v '^ *+' conftest.er1 >conftest.err
30249 cat conftest.err >&5
30250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30251 (exit $ac_status); } &&
30252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30254 (eval $ac_try) 2>&5
30256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30257 (exit $ac_status); }; } &&
30258 { ac_try='test -s conftest$ac_exeext'
30259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30260 (eval $ac_try) 2>&5
30262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30263 (exit $ac_status); }; }; then
30264 ac_cv_lib_posix_remove=yes
30266 echo "$as_me: failed program was:" >&5
30267 sed 's/^/| /' conftest.$ac_ext >&5
30269 ac_cv_lib_posix_remove=no
30271 rm -f conftest.err conftest.$ac_objext \
30272 conftest$ac_exeext conftest.$ac_ext
30273 LIBS=$ac_check_lib_save_LIBS
30275 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30276 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30277 if test $ac_cv_lib_posix_remove = yes; then
30278 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30283 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30284 echo "$as_me:$LINENO: checking for shmat" >&5
30285 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30286 if test "${ac_cv_func_shmat+set}" = set; then
30287 echo $ECHO_N "(cached) $ECHO_C" >&6
30289 cat >conftest.$ac_ext <<_ACEOF
30292 cat confdefs.h >>conftest.$ac_ext
30293 cat >>conftest.$ac_ext <<_ACEOF
30294 /* end confdefs.h. */
30295 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30297 #define shmat innocuous_shmat
30299 /* System header to define __stub macros and hopefully few prototypes,
30300 which can conflict with char shmat (); below.
30301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30302 <limits.h> exists even on freestanding compilers. */
30305 # include <limits.h>
30307 # include <assert.h>
30312 /* Override any gcc2 internal prototype to avoid an error. */
30317 /* We use char because int might match the return type of a gcc2
30318 builtin and then its argument prototype would still apply. */
30320 /* The GNU C library defines this for functions which it implements
30321 to always fail with ENOSYS. Some functions are actually named
30322 something starting with __ and the normal name is an alias. */
30323 #if defined (__stub_shmat) || defined (__stub___shmat)
30326 char (*f) () = shmat;
30340 rm -f conftest.$ac_objext conftest$ac_exeext
30341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30342 (eval $ac_link) 2>conftest.er1
30344 grep -v '^ *+' conftest.er1 >conftest.err
30346 cat conftest.err >&5
30347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30348 (exit $ac_status); } &&
30349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30351 (eval $ac_try) 2>&5
30353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30354 (exit $ac_status); }; } &&
30355 { ac_try='test -s conftest$ac_exeext'
30356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30357 (eval $ac_try) 2>&5
30359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30360 (exit $ac_status); }; }; then
30361 ac_cv_func_shmat=yes
30363 echo "$as_me: failed program was:" >&5
30364 sed 's/^/| /' conftest.$ac_ext >&5
30366 ac_cv_func_shmat=no
30368 rm -f conftest.err conftest.$ac_objext \
30369 conftest$ac_exeext conftest.$ac_ext
30371 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30372 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30374 if test $ac_cv_func_shmat = no; then
30375 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30376 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30377 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30378 echo $ECHO_N "(cached) $ECHO_C" >&6
30380 ac_check_lib_save_LIBS=$LIBS
30382 cat >conftest.$ac_ext <<_ACEOF
30385 cat confdefs.h >>conftest.$ac_ext
30386 cat >>conftest.$ac_ext <<_ACEOF
30387 /* end confdefs.h. */
30389 /* Override any gcc2 internal prototype to avoid an error. */
30393 /* We use char because int might match the return type of a gcc2
30394 builtin and then its argument prototype would still apply. */
30404 rm -f conftest.$ac_objext conftest$ac_exeext
30405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30406 (eval $ac_link) 2>conftest.er1
30408 grep -v '^ *+' conftest.er1 >conftest.err
30410 cat conftest.err >&5
30411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30412 (exit $ac_status); } &&
30413 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30415 (eval $ac_try) 2>&5
30417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30418 (exit $ac_status); }; } &&
30419 { ac_try='test -s conftest$ac_exeext'
30420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30421 (eval $ac_try) 2>&5
30423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30424 (exit $ac_status); }; }; then
30425 ac_cv_lib_ipc_shmat=yes
30427 echo "$as_me: failed program was:" >&5
30428 sed 's/^/| /' conftest.$ac_ext >&5
30430 ac_cv_lib_ipc_shmat=no
30432 rm -f conftest.err conftest.$ac_objext \
30433 conftest$ac_exeext conftest.$ac_ext
30434 LIBS=$ac_check_lib_save_LIBS
30436 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30437 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30438 if test $ac_cv_lib_ipc_shmat = yes; then
30439 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30445 # Check for libraries that X11R6 Xt/Xaw programs need.
30446 ac_save_LDFLAGS=$LDFLAGS
30447 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30448 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30449 # check for ICE first), but we must link in the order -lSM -lICE or
30450 # we get undefined symbols. So assume we have SM if we have ICE.
30451 # These have to be linked with before -lX11, unlike the other
30452 # libraries we check for below, so use a different variable.
30453 # John Interrante, Karl Berry
30454 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30455 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30456 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30457 echo $ECHO_N "(cached) $ECHO_C" >&6
30459 ac_check_lib_save_LIBS=$LIBS
30460 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30461 cat >conftest.$ac_ext <<_ACEOF
30464 cat confdefs.h >>conftest.$ac_ext
30465 cat >>conftest.$ac_ext <<_ACEOF
30466 /* end confdefs.h. */
30468 /* Override any gcc2 internal prototype to avoid an error. */
30472 /* We use char because int might match the return type of a gcc2
30473 builtin and then its argument prototype would still apply. */
30474 char IceConnectionNumber ();
30478 IceConnectionNumber ();
30483 rm -f conftest.$ac_objext conftest$ac_exeext
30484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30485 (eval $ac_link) 2>conftest.er1
30487 grep -v '^ *+' conftest.er1 >conftest.err
30489 cat conftest.err >&5
30490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30491 (exit $ac_status); } &&
30492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30494 (eval $ac_try) 2>&5
30496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30497 (exit $ac_status); }; } &&
30498 { ac_try='test -s conftest$ac_exeext'
30499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30500 (eval $ac_try) 2>&5
30502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30503 (exit $ac_status); }; }; then
30504 ac_cv_lib_ICE_IceConnectionNumber=yes
30506 echo "$as_me: failed program was:" >&5
30507 sed 's/^/| /' conftest.$ac_ext >&5
30509 ac_cv_lib_ICE_IceConnectionNumber=no
30511 rm -f conftest.err conftest.$ac_objext \
30512 conftest$ac_exeext conftest.$ac_ext
30513 LIBS=$ac_check_lib_save_LIBS
30515 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30516 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30517 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30518 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30521 LDFLAGS=$ac_save_LDFLAGS
30526 if test "$no_x" = "yes"; then
30527 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30528 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30529 { (exit 1); exit 1; }; }
30532 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30533 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30534 AFMINSTALL=afminstall
30535 COMPILED_X_PROGRAM=0
30539 if test "$wxUSE_X11" = 1; then
30540 if test "$wxUSE_NANOX" = "yes"; then
30541 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30542 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30543 if test "x$MICROWIN" = x ; then
30544 echo "$as_me:$LINENO: result: not found" >&5
30545 echo "${ECHO_T}not found" >&6
30546 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30547 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30548 { (exit 1); exit 1; }; }
30550 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30551 echo "${ECHO_T}$MICROWIN" >&6
30552 cat >>confdefs.h <<\_ACEOF
30553 #define wxUSE_NANOX 1
30559 if test "$wxUSE_UNICODE" = "yes"; then
30562 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30563 if test -n "$ac_tool_prefix"; then
30564 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30565 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30566 echo "$as_me:$LINENO: checking for $ac_word" >&5
30567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30568 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30569 echo $ECHO_N "(cached) $ECHO_C" >&6
30571 case $PKG_CONFIG in
30573 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30577 for as_dir in $PATH
30580 test -z "$as_dir" && as_dir=.
30581 for ac_exec_ext in '' $ac_executable_extensions; do
30582 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30583 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30593 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30595 if test -n "$PKG_CONFIG"; then
30596 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30597 echo "${ECHO_T}$PKG_CONFIG" >&6
30599 echo "$as_me:$LINENO: result: no" >&5
30600 echo "${ECHO_T}no" >&6
30604 if test -z "$ac_cv_path_PKG_CONFIG"; then
30605 ac_pt_PKG_CONFIG=$PKG_CONFIG
30606 # Extract the first word of "pkg-config", so it can be a program name with args.
30607 set dummy pkg-config; ac_word=$2
30608 echo "$as_me:$LINENO: checking for $ac_word" >&5
30609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30610 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30611 echo $ECHO_N "(cached) $ECHO_C" >&6
30613 case $ac_pt_PKG_CONFIG in
30615 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30619 for as_dir in $PATH
30622 test -z "$as_dir" && as_dir=.
30623 for ac_exec_ext in '' $ac_executable_extensions; do
30624 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30625 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30635 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30637 if test -n "$ac_pt_PKG_CONFIG"; then
30638 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30639 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
30641 echo "$as_me:$LINENO: result: no" >&5
30642 echo "${ECHO_T}no" >&6
30645 PKG_CONFIG=$ac_pt_PKG_CONFIG
30647 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30651 if test -n "$PKG_CONFIG"; then
30652 _pkg_min_version=0.9.0
30653 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30654 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
30655 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30656 echo "$as_me:$LINENO: result: yes" >&5
30657 echo "${ECHO_T}yes" >&6
30659 echo "$as_me:$LINENO: result: no" >&5
30660 echo "${ECHO_T}no" >&6
30668 echo "$as_me:$LINENO: checking for PANGOX" >&5
30669 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30671 if test -n "$PKG_CONFIG"; then
30672 if test -n "$PANGOX_CFLAGS"; then
30673 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30675 if test -n "$PKG_CONFIG" && \
30676 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30677 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30680 (exit $ac_status); }; then
30681 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30689 if test -n "$PKG_CONFIG"; then
30690 if test -n "$PANGOX_LIBS"; then
30691 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30693 if test -n "$PKG_CONFIG" && \
30694 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30695 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30698 (exit $ac_status); }; then
30699 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30710 if test $pkg_failed = yes; then
30712 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30713 _pkg_short_errors_supported=yes
30715 _pkg_short_errors_supported=no
30717 if test $_pkg_short_errors_supported = yes; then
30718 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30720 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30722 # Put the nasty error message in config.log where it belongs
30723 echo "$PANGOX_PKG_ERRORS" >&5
30726 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30727 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30728 { (exit 1); exit 1; }; }
30731 elif test $pkg_failed = untried; then
30733 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30734 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30735 { (exit 1); exit 1; }; }
30739 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30740 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30741 echo "$as_me:$LINENO: result: yes" >&5
30742 echo "${ECHO_T}yes" >&6
30744 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
30745 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30746 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30751 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30752 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
30754 if test -n "$PKG_CONFIG"; then
30755 if test -n "$PANGOFT2_CFLAGS"; then
30756 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30758 if test -n "$PKG_CONFIG" && \
30759 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30760 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30763 (exit $ac_status); }; then
30764 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30772 if test -n "$PKG_CONFIG"; then
30773 if test -n "$PANGOFT2_LIBS"; then
30774 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30776 if test -n "$PKG_CONFIG" && \
30777 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30778 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30781 (exit $ac_status); }; then
30782 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30793 if test $pkg_failed = yes; then
30795 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30796 _pkg_short_errors_supported=yes
30798 _pkg_short_errors_supported=no
30800 if test $_pkg_short_errors_supported = yes; then
30801 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30803 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30805 # Put the nasty error message in config.log where it belongs
30806 echo "$PANGOFT2_PKG_ERRORS" >&5
30809 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30810 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30811 wxUSE_PRINTING_ARCHITECTURE="no"
30814 elif test $pkg_failed = untried; then
30816 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30817 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30818 wxUSE_PRINTING_ARCHITECTURE="no"
30822 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30823 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30824 echo "$as_me:$LINENO: result: yes" >&5
30825 echo "${ECHO_T}yes" >&6
30827 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
30828 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30829 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30834 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30835 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
30837 if test -n "$PKG_CONFIG"; then
30838 if test -n "$PANGOXFT_CFLAGS"; then
30839 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30841 if test -n "$PKG_CONFIG" && \
30842 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30843 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30846 (exit $ac_status); }; then
30847 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30855 if test -n "$PKG_CONFIG"; then
30856 if test -n "$PANGOXFT_LIBS"; then
30857 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30859 if test -n "$PKG_CONFIG" && \
30860 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30861 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30864 (exit $ac_status); }; then
30865 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30876 if test $pkg_failed = yes; then
30878 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30879 _pkg_short_errors_supported=yes
30881 _pkg_short_errors_supported=no
30883 if test $_pkg_short_errors_supported = yes; then
30884 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30886 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30888 # Put the nasty error message in config.log where it belongs
30889 echo "$PANGOXFT_PKG_ERRORS" >&5
30892 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30893 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30896 elif test $pkg_failed = untried; then
30898 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30899 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30903 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30904 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30905 echo "$as_me:$LINENO: result: yes" >&5
30906 echo "${ECHO_T}yes" >&6
30908 cat >>confdefs.h <<\_ACEOF
30909 #define HAVE_PANGO_XFT 1
30912 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
30913 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30914 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30918 LIBS="$LIBS $PANGOX_LIBS"
30920 for ac_func in pango_font_family_is_monospace
30922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30923 echo "$as_me:$LINENO: checking for $ac_func" >&5
30924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30925 if eval "test \"\${$as_ac_var+set}\" = set"; then
30926 echo $ECHO_N "(cached) $ECHO_C" >&6
30928 cat >conftest.$ac_ext <<_ACEOF
30931 cat confdefs.h >>conftest.$ac_ext
30932 cat >>conftest.$ac_ext <<_ACEOF
30933 /* end confdefs.h. */
30934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30936 #define $ac_func innocuous_$ac_func
30938 /* System header to define __stub macros and hopefully few prototypes,
30939 which can conflict with char $ac_func (); below.
30940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30941 <limits.h> exists even on freestanding compilers. */
30944 # include <limits.h>
30946 # include <assert.h>
30951 /* Override any gcc2 internal prototype to avoid an error. */
30956 /* We use char because int might match the return type of a gcc2
30957 builtin and then its argument prototype would still apply. */
30959 /* The GNU C library defines this for functions which it implements
30960 to always fail with ENOSYS. Some functions are actually named
30961 something starting with __ and the normal name is an alias. */
30962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30965 char (*f) () = $ac_func;
30974 return f != $ac_func;
30979 rm -f conftest.$ac_objext conftest$ac_exeext
30980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30981 (eval $ac_link) 2>conftest.er1
30983 grep -v '^ *+' conftest.er1 >conftest.err
30985 cat conftest.err >&5
30986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30987 (exit $ac_status); } &&
30988 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30990 (eval $ac_try) 2>&5
30992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30993 (exit $ac_status); }; } &&
30994 { ac_try='test -s conftest$ac_exeext'
30995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30996 (eval $ac_try) 2>&5
30998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30999 (exit $ac_status); }; }; then
31000 eval "$as_ac_var=yes"
31002 echo "$as_me: failed program was:" >&5
31003 sed 's/^/| /' conftest.$ac_ext >&5
31005 eval "$as_ac_var=no"
31007 rm -f conftest.err conftest.$ac_objext \
31008 conftest$ac_exeext conftest.$ac_ext
31010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31012 if test `eval echo '${'$as_ac_var'}'` = yes; then
31013 cat >>confdefs.h <<_ACEOF
31014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31023 wxUSE_UNIVERSAL="yes"
31025 if test "$wxUSE_NANOX" = "yes"; then
31026 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31027 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"
31028 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31030 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31037 if test "$wxUSE_MOTIF" = 1; then
31038 if test "$wxUSE_UNICODE" = "yes"; then
31039 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31040 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31041 { (exit 1); exit 1; }; }
31044 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31045 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31048 for ac_dir in $SEARCH_INCLUDE /usr/include;
31050 if test -f "$ac_dir/Xm/Xm.h"; then
31051 ac_find_includes=$ac_dir
31056 if test "$ac_find_includes" != "" ; then
31057 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31058 echo "${ECHO_T}found in $ac_find_includes" >&6
31060 if test "x$ac_find_includes" = "x/usr/include"; then
31061 ac_path_to_include=""
31063 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31065 if test $result = 0; then
31066 ac_path_to_include=""
31068 ac_path_to_include=" -I$ac_find_includes"
31072 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31074 save_CFLAGS=$CFLAGS
31075 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31077 cat >conftest.$ac_ext <<_ACEOF
31080 cat confdefs.h >>conftest.$ac_ext
31081 cat >>conftest.$ac_ext <<_ACEOF
31082 /* end confdefs.h. */
31091 version = xmUseVersion;
31097 rm -f conftest.$ac_objext
31098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31099 (eval $ac_compile) 2>conftest.er1
31101 grep -v '^ *+' conftest.er1 >conftest.err
31103 cat conftest.err >&5
31104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31105 (exit $ac_status); } &&
31106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31108 (eval $ac_try) 2>&5
31110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31111 (exit $ac_status); }; } &&
31112 { ac_try='test -s conftest.$ac_objext'
31113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31114 (eval $ac_try) 2>&5
31116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31117 (exit $ac_status); }; }; then
31119 echo "$as_me:$LINENO: result: found in default search path" >&5
31120 echo "${ECHO_T}found in default search path" >&6
31121 COMPILED_X_PROGRAM=1
31124 echo "$as_me: failed program was:" >&5
31125 sed 's/^/| /' conftest.$ac_ext >&5
31128 echo "$as_me:$LINENO: result: no" >&5
31129 echo "${ECHO_T}no" >&6
31130 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31131 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31132 { (exit 1); exit 1; }; }
31136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31138 CFLAGS=$save_CFLAGS
31142 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31143 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31146 for ac_dir in $SEARCH_LIB;
31148 for ac_extension in a so sl dylib dll.a; do
31149 if test -f "$ac_dir/libXm.$ac_extension"; then
31150 ac_find_libraries=$ac_dir
31157 if test "x$ac_find_libraries" != "x" ; then
31158 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31159 echo "${ECHO_T}found in $ac_find_libraries" >&6
31162 if test "$ac_find_libraries" = "default location"; then
31165 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31167 if test $result = 0; then
31170 ac_path_to_link=" -L$ac_find_libraries"
31174 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31176 save_CFLAGS=$CFLAGS
31177 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31179 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31181 cat >conftest.$ac_ext <<_ACEOF
31184 cat confdefs.h >>conftest.$ac_ext
31185 cat >>conftest.$ac_ext <<_ACEOF
31186 /* end confdefs.h. */
31195 version = xmUseVersion;
31201 rm -f conftest.$ac_objext conftest$ac_exeext
31202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31203 (eval $ac_link) 2>conftest.er1
31205 grep -v '^ *+' conftest.er1 >conftest.err
31207 cat conftest.err >&5
31208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31209 (exit $ac_status); } &&
31210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31212 (eval $ac_try) 2>&5
31214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31215 (exit $ac_status); }; } &&
31216 { ac_try='test -s conftest$ac_exeext'
31217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31218 (eval $ac_try) 2>&5
31220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31221 (exit $ac_status); }; }; then
31223 echo "$as_me:$LINENO: result: found in default search path" >&5
31224 echo "${ECHO_T}found in default search path" >&6
31225 COMPILED_X_PROGRAM=1
31228 echo "$as_me: failed program was:" >&5
31229 sed 's/^/| /' conftest.$ac_ext >&5
31232 echo "$as_me:$LINENO: result: no" >&5
31233 echo "${ECHO_T}no" >&6
31234 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31235 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31236 { (exit 1); exit 1; }; }
31240 rm -f conftest.err conftest.$ac_objext \
31241 conftest$ac_exeext conftest.$ac_ext
31243 CFLAGS=$save_CFLAGS
31247 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31248 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31252 for libp in "" " -lXp"; do
31253 if test "$libs_found" = "0"; then
31254 for libsm_ice in "" " -lSM -lICE"; do
31255 if test "$libs_found" = "0"; then
31257 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31258 save_CFLAGS=$CFLAGS
31259 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31261 cat >conftest.$ac_ext <<_ACEOF
31264 cat confdefs.h >>conftest.$ac_ext
31265 cat >>conftest.$ac_ext <<_ACEOF
31266 /* end confdefs.h. */
31269 #include <Xm/List.h>
31275 XmString string = NULL;
31278 XmListAddItem(w, string, position);
31284 rm -f conftest.$ac_objext conftest$ac_exeext
31285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31286 (eval $ac_link) 2>conftest.er1
31288 grep -v '^ *+' conftest.er1 >conftest.err
31290 cat conftest.err >&5
31291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31292 (exit $ac_status); } &&
31293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31295 (eval $ac_try) 2>&5
31297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31298 (exit $ac_status); }; } &&
31299 { ac_try='test -s conftest$ac_exeext'
31300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31301 (eval $ac_try) 2>&5
31303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31304 (exit $ac_status); }; }; then
31307 libsm_ice_link="$libsm_ice"
31308 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31309 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31313 echo "$as_me: failed program was:" >&5
31314 sed 's/^/| /' conftest.$ac_ext >&5
31319 rm -f conftest.err conftest.$ac_objext \
31320 conftest$ac_exeext conftest.$ac_ext
31323 CFLAGS=$save_CFLAGS
31329 if test "$libs_found" = "0"; then
31330 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31331 echo "${ECHO_T}can't find the right libraries" >&6
31332 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31333 echo "$as_me: error: can't link a simple motif program" >&2;}
31334 { (exit 1); exit 1; }; }
31337 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31338 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31339 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31340 echo $ECHO_N "(cached) $ECHO_C" >&6
31342 ac_check_lib_save_LIBS=$LIBS
31344 cat >conftest.$ac_ext <<_ACEOF
31347 cat confdefs.h >>conftest.$ac_ext
31348 cat >>conftest.$ac_ext <<_ACEOF
31349 /* end confdefs.h. */
31351 /* Override any gcc2 internal prototype to avoid an error. */
31355 /* We use char because int might match the return type of a gcc2
31356 builtin and then its argument prototype would still apply. */
31357 char SgCreateList ();
31366 rm -f conftest.$ac_objext conftest$ac_exeext
31367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31368 (eval $ac_link) 2>conftest.er1
31370 grep -v '^ *+' conftest.er1 >conftest.err
31372 cat conftest.err >&5
31373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31374 (exit $ac_status); } &&
31375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31377 (eval $ac_try) 2>&5
31379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31380 (exit $ac_status); }; } &&
31381 { ac_try='test -s conftest$ac_exeext'
31382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31383 (eval $ac_try) 2>&5
31385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31386 (exit $ac_status); }; }; then
31387 ac_cv_lib_Sgm_SgCreateList=yes
31389 echo "$as_me: failed program was:" >&5
31390 sed 's/^/| /' conftest.$ac_ext >&5
31392 ac_cv_lib_Sgm_SgCreateList=no
31394 rm -f conftest.err conftest.$ac_objext \
31395 conftest$ac_exeext conftest.$ac_ext
31396 LIBS=$ac_check_lib_save_LIBS
31398 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31399 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31400 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31401 libsgm_link=" -lSgm"
31405 save_CFLAGS=$CFLAGS
31406 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31408 echo "$as_me:$LINENO: checking for Motif 2" >&5
31409 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31410 if test "${wx_cv_lib_motif2+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. */
31426 #if XmVersion < 2000
31434 rm -f conftest.$ac_objext
31435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31436 (eval $ac_compile) 2>conftest.er1
31438 grep -v '^ *+' conftest.er1 >conftest.err
31440 cat conftest.err >&5
31441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31442 (exit $ac_status); } &&
31443 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31445 (eval $ac_try) 2>&5
31447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31448 (exit $ac_status); }; } &&
31449 { ac_try='test -s conftest.$ac_objext'
31450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31451 (eval $ac_try) 2>&5
31453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31454 (exit $ac_status); }; }; then
31455 wx_cv_lib_motif2="yes"
31457 echo "$as_me: failed program was:" >&5
31458 sed 's/^/| /' conftest.$ac_ext >&5
31460 wx_cv_lib_motif2="no"
31462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31464 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31465 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31466 if test "$wx_cv_lib_motif2" = "yes"; then
31467 cat >>confdefs.h <<\_ACEOF
31468 #define __WXMOTIF20__ 1
31472 cat >>confdefs.h <<\_ACEOF
31473 #define __WXMOTIF20__ 0
31478 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31479 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31480 if test "${wx_cv_lib_lesstif+set}" = set; then
31481 echo $ECHO_N "(cached) $ECHO_C" >&6
31483 cat >conftest.$ac_ext <<_ACEOF
31486 cat confdefs.h >>conftest.$ac_ext
31487 cat >>conftest.$ac_ext <<_ACEOF
31488 /* end confdefs.h. */
31496 #if !defined(LesstifVersion) || LesstifVersion <= 0
31504 rm -f conftest.$ac_objext
31505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31506 (eval $ac_compile) 2>conftest.er1
31508 grep -v '^ *+' conftest.er1 >conftest.err
31510 cat conftest.err >&5
31511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31512 (exit $ac_status); } &&
31513 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31515 (eval $ac_try) 2>&5
31517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31518 (exit $ac_status); }; } &&
31519 { ac_try='test -s conftest.$ac_objext'
31520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31521 (eval $ac_try) 2>&5
31523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31524 (exit $ac_status); }; }; then
31525 wx_cv_lib_lesstif="yes"
31527 echo "$as_me: failed program was:" >&5
31528 sed 's/^/| /' conftest.$ac_ext >&5
31530 wx_cv_lib_lesstif="no"
31532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31535 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31536 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31537 if test "$wx_cv_lib_lesstif" = "yes"; then
31538 cat >>confdefs.h <<\_ACEOF
31539 #define __WXLESSTIF__ 1
31543 cat >>confdefs.h <<\_ACEOF
31544 #define __WXLESSTIF__ 0
31549 CFLAGS=$save_CFLAGS
31551 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31556 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31557 if test "$wxUSE_LIBXPM" = "sys"; then
31558 echo "$as_me:$LINENO: checking for Xpm library" >&5
31559 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31562 for ac_dir in $SEARCH_LIB;
31564 for ac_extension in a so sl dylib dll.a; do
31565 if test -f "$ac_dir/libXpm.$ac_extension"; then
31566 ac_find_libraries=$ac_dir
31572 if test "$ac_find_libraries" != "" ; then
31574 if test "$ac_find_libraries" = "default location"; then
31577 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31579 if test $result = 0; then
31582 ac_path_to_link=" -L$ac_find_libraries"
31586 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31587 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31588 echo "${ECHO_T}found in $ac_find_libraries" >&6
31590 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31591 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31592 if test "${wx_cv_x11_xpm_h+set}" = set; then
31593 echo $ECHO_N "(cached) $ECHO_C" >&6
31596 save_CFLAGS=$CFLAGS
31597 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31599 cat >conftest.$ac_ext <<_ACEOF
31602 cat confdefs.h >>conftest.$ac_ext
31603 cat >>conftest.$ac_ext <<_ACEOF
31604 /* end confdefs.h. */
31606 #include <X11/xpm.h>
31613 version = XpmLibraryVersion();
31619 rm -f conftest.$ac_objext
31620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31621 (eval $ac_compile) 2>conftest.er1
31623 grep -v '^ *+' conftest.er1 >conftest.err
31625 cat conftest.err >&5
31626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31627 (exit $ac_status); } &&
31628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31630 (eval $ac_try) 2>&5
31632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31633 (exit $ac_status); }; } &&
31634 { ac_try='test -s conftest.$ac_objext'
31635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31636 (eval $ac_try) 2>&5
31638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31639 (exit $ac_status); }; }; then
31640 wx_cv_x11_xpm_h=yes
31642 echo "$as_me: failed program was:" >&5
31643 sed 's/^/| /' conftest.$ac_ext >&5
31648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31650 CFLAGS=$save_CFLAGS
31654 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31655 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31657 if test $wx_cv_x11_xpm_h = "yes"; then
31658 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31659 cat >>confdefs.h <<\_ACEOF
31660 #define wxHAVE_LIB_XPM 1
31664 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31665 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31671 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31672 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31673 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31674 echo $ECHO_N "(cached) $ECHO_C" >&6
31676 ac_check_lib_save_LIBS=$LIBS
31677 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31678 cat >conftest.$ac_ext <<_ACEOF
31681 cat confdefs.h >>conftest.$ac_ext
31682 cat >>conftest.$ac_ext <<_ACEOF
31683 /* end confdefs.h. */
31685 /* Override any gcc2 internal prototype to avoid an error. */
31689 /* We use char because int might match the return type of a gcc2
31690 builtin and then its argument prototype would still apply. */
31691 char XShapeQueryExtension ();
31695 XShapeQueryExtension ();
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_lib_Xext_XShapeQueryExtension=yes
31723 echo "$as_me: failed program was:" >&5
31724 sed 's/^/| /' conftest.$ac_ext >&5
31726 ac_cv_lib_Xext_XShapeQueryExtension=no
31728 rm -f conftest.err conftest.$ac_objext \
31729 conftest$ac_exeext conftest.$ac_ext
31730 LIBS=$ac_check_lib_save_LIBS
31732 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31733 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31734 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31736 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31742 if test "$wxHAVE_XEXT_LIB" = 1; then
31743 save_CFLAGS="$CFLAGS"
31744 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31746 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31747 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31748 cat >conftest.$ac_ext <<_ACEOF
31751 cat confdefs.h >>conftest.$ac_ext
31752 cat >>conftest.$ac_ext <<_ACEOF
31753 /* end confdefs.h. */
31755 #include <X11/Xlib.h>
31756 #include <X11/extensions/shape.h>
31762 int dummy1, dummy2;
31763 XShapeQueryExtension((Display*)NULL,
31764 (int*)NULL, (int*)NULL);
31770 rm -f conftest.$ac_objext
31771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31772 (eval $ac_compile) 2>conftest.er1
31774 grep -v '^ *+' conftest.er1 >conftest.err
31776 cat conftest.err >&5
31777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31778 (exit $ac_status); } &&
31779 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
31785 { ac_try='test -s conftest.$ac_objext'
31786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31787 (eval $ac_try) 2>&5
31789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31790 (exit $ac_status); }; }; then
31792 cat >>confdefs.h <<\_ACEOF
31793 #define HAVE_XSHAPE 1
31796 echo "$as_me:$LINENO: result: found" >&5
31797 echo "${ECHO_T}found" >&6
31800 echo "$as_me: failed program was:" >&5
31801 sed 's/^/| /' conftest.$ac_ext >&5
31804 echo "$as_me:$LINENO: result: not found" >&5
31805 echo "${ECHO_T}not found" >&6
31808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31809 CFLAGS="$save_CFLAGS"
31814 if test "$wxUSE_MAC" = 1; then
31815 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31816 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31817 if test "$GCC" = yes; then
31818 echo "$as_me:$LINENO: result: gcc" >&5
31819 echo "${ECHO_T}gcc" >&6
31820 CPPFLAGS_PASCAL="-fpascal-strings"
31821 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31822 echo "$as_me:$LINENO: result: xlc" >&5
31823 echo "${ECHO_T}xlc" >&6
31824 CPPFLAGS_PASCAL="-qmacpstr"
31826 echo "$as_me:$LINENO: result: none" >&5
31827 echo "${ECHO_T}none" >&6
31830 if test "x$wxUSE_UNIX" = "xyes"; then
31831 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31833 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31838 WXBASEPORT="_carbon"
31841 if test "$wxUSE_COCOA" = 1; then
31846 if test "$wxUSE_PM" = 1; then
31849 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31850 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31851 if test "${wx_cv_spbcdata+set}" = set; then
31852 echo $ECHO_N "(cached) $ECHO_C" >&6
31855 cat >conftest.$ac_ext <<_ACEOF
31858 cat confdefs.h >>conftest.$ac_ext
31859 cat >>conftest.$ac_ext <<_ACEOF
31860 /* end confdefs.h. */
31875 rm -f conftest.$ac_objext
31876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31877 (eval $ac_compile) 2>conftest.er1
31879 grep -v '^ *+' conftest.er1 >conftest.err
31881 cat conftest.err >&5
31882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31883 (exit $ac_status); } &&
31884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31886 (eval $ac_try) 2>&5
31888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31889 (exit $ac_status); }; } &&
31890 { ac_try='test -s conftest.$ac_objext'
31891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31892 (eval $ac_try) 2>&5
31894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31895 (exit $ac_status); }; }; then
31898 echo "$as_me: failed program was:" >&5
31899 sed 's/^/| /' conftest.$ac_ext >&5
31904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31908 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31909 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31911 if test $wx_cv_spbcdata = "yes"; then
31912 cat >>confdefs.h <<\_ACEOF
31913 #define HAVE_SPBCDATA 1
31919 if test "$TOOLKIT" = "PM" ; then
31922 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31925 if test "$wxUSE_UNIVERSAL" = "yes"; then
31926 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31930 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31931 DISTDIR="wx\$(TOOLKIT)"
31937 if test "$USE_WIN32" = 1 ; then
31941 GUIDIST="BASE_DIST"
31946 if test "$wxUSE_GUI" = "yes"; then
31947 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31949 for ac_header in X11/Xlib.h
31951 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31953 echo "$as_me:$LINENO: checking for $ac_header" >&5
31954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31956 echo $ECHO_N "(cached) $ECHO_C" >&6
31958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31959 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31961 # Is the header compilable?
31962 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31963 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31964 cat >conftest.$ac_ext <<_ACEOF
31967 cat confdefs.h >>conftest.$ac_ext
31968 cat >>conftest.$ac_ext <<_ACEOF
31969 /* end confdefs.h. */
31970 $ac_includes_default
31971 #include <$ac_header>
31973 rm -f conftest.$ac_objext
31974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31975 (eval $ac_compile) 2>conftest.er1
31977 grep -v '^ *+' conftest.er1 >conftest.err
31979 cat conftest.err >&5
31980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31981 (exit $ac_status); } &&
31982 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31984 (eval $ac_try) 2>&5
31986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31987 (exit $ac_status); }; } &&
31988 { ac_try='test -s conftest.$ac_objext'
31989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31990 (eval $ac_try) 2>&5
31992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31993 (exit $ac_status); }; }; then
31994 ac_header_compiler=yes
31996 echo "$as_me: failed program was:" >&5
31997 sed 's/^/| /' conftest.$ac_ext >&5
31999 ac_header_compiler=no
32001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32002 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32003 echo "${ECHO_T}$ac_header_compiler" >&6
32005 # Is the header present?
32006 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32007 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32008 cat >conftest.$ac_ext <<_ACEOF
32011 cat confdefs.h >>conftest.$ac_ext
32012 cat >>conftest.$ac_ext <<_ACEOF
32013 /* end confdefs.h. */
32014 #include <$ac_header>
32016 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32017 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32019 grep -v '^ *+' conftest.er1 >conftest.err
32021 cat conftest.err >&5
32022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32023 (exit $ac_status); } >/dev/null; then
32024 if test -s conftest.err; then
32025 ac_cpp_err=$ac_c_preproc_warn_flag
32026 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32033 if test -z "$ac_cpp_err"; then
32034 ac_header_preproc=yes
32036 echo "$as_me: failed program was:" >&5
32037 sed 's/^/| /' conftest.$ac_ext >&5
32039 ac_header_preproc=no
32041 rm -f conftest.err conftest.$ac_ext
32042 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32043 echo "${ECHO_T}$ac_header_preproc" >&6
32045 # So? What about this header?
32046 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32048 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32049 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32051 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32052 ac_header_preproc=yes
32055 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32056 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32057 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32058 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32059 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32060 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32061 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32062 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32064 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32065 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32066 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32069 ## ----------------------------------------- ##
32070 ## Report this to wx-dev@lists.wxwidgets.org ##
32071 ## ----------------------------------------- ##
32074 sed "s/^/$as_me: WARNING: /" >&2
32077 echo "$as_me:$LINENO: checking for $ac_header" >&5
32078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32079 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32080 echo $ECHO_N "(cached) $ECHO_C" >&6
32082 eval "$as_ac_Header=\$ac_header_preproc"
32084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32085 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32088 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32089 cat >>confdefs.h <<_ACEOF
32090 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32098 for ac_header in X11/XKBlib.h
32100 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32101 echo "$as_me:$LINENO: checking for $ac_header" >&5
32102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32104 echo $ECHO_N "(cached) $ECHO_C" >&6
32106 cat >conftest.$ac_ext <<_ACEOF
32109 cat confdefs.h >>conftest.$ac_ext
32110 cat >>conftest.$ac_ext <<_ACEOF
32111 /* end confdefs.h. */
32113 #if HAVE_X11_XLIB_H
32114 #include <X11/Xlib.h>
32118 #include <$ac_header>
32120 rm -f conftest.$ac_objext
32121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32122 (eval $ac_compile) 2>conftest.er1
32124 grep -v '^ *+' conftest.er1 >conftest.err
32126 cat conftest.err >&5
32127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32128 (exit $ac_status); } &&
32129 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32131 (eval $ac_try) 2>&5
32133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32134 (exit $ac_status); }; } &&
32135 { ac_try='test -s conftest.$ac_objext'
32136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32137 (eval $ac_try) 2>&5
32139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32140 (exit $ac_status); }; }; then
32141 eval "$as_ac_Header=yes"
32143 echo "$as_me: failed program was:" >&5
32144 sed 's/^/| /' conftest.$ac_ext >&5
32146 eval "$as_ac_Header=no"
32148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32151 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32152 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32153 cat >>confdefs.h <<_ACEOF
32154 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32169 if test "$TOOLKIT" != "MSW" ; then
32171 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32173 if test "${ac_cv_header_sql_h+set}" = set; then
32174 echo "$as_me:$LINENO: checking for sql.h" >&5
32175 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32176 if test "${ac_cv_header_sql_h+set}" = set; then
32177 echo $ECHO_N "(cached) $ECHO_C" >&6
32179 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32180 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32182 # Is the header compilable?
32183 echo "$as_me:$LINENO: checking sql.h usability" >&5
32184 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32185 cat >conftest.$ac_ext <<_ACEOF
32188 cat confdefs.h >>conftest.$ac_ext
32189 cat >>conftest.$ac_ext <<_ACEOF
32190 /* end confdefs.h. */
32191 $ac_includes_default
32194 rm -f conftest.$ac_objext
32195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32196 (eval $ac_compile) 2>conftest.er1
32198 grep -v '^ *+' conftest.er1 >conftest.err
32200 cat conftest.err >&5
32201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32202 (exit $ac_status); } &&
32203 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32205 (eval $ac_try) 2>&5
32207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32208 (exit $ac_status); }; } &&
32209 { ac_try='test -s conftest.$ac_objext'
32210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32211 (eval $ac_try) 2>&5
32213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32214 (exit $ac_status); }; }; then
32215 ac_header_compiler=yes
32217 echo "$as_me: failed program was:" >&5
32218 sed 's/^/| /' conftest.$ac_ext >&5
32220 ac_header_compiler=no
32222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32223 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32224 echo "${ECHO_T}$ac_header_compiler" >&6
32226 # Is the header present?
32227 echo "$as_me:$LINENO: checking sql.h presence" >&5
32228 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32229 cat >conftest.$ac_ext <<_ACEOF
32232 cat confdefs.h >>conftest.$ac_ext
32233 cat >>conftest.$ac_ext <<_ACEOF
32234 /* end confdefs.h. */
32237 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32238 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32240 grep -v '^ *+' conftest.er1 >conftest.err
32242 cat conftest.err >&5
32243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32244 (exit $ac_status); } >/dev/null; then
32245 if test -s conftest.err; then
32246 ac_cpp_err=$ac_c_preproc_warn_flag
32247 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32254 if test -z "$ac_cpp_err"; then
32255 ac_header_preproc=yes
32257 echo "$as_me: failed program was:" >&5
32258 sed 's/^/| /' conftest.$ac_ext >&5
32260 ac_header_preproc=no
32262 rm -f conftest.err conftest.$ac_ext
32263 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32264 echo "${ECHO_T}$ac_header_preproc" >&6
32266 # So? What about this header?
32267 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32269 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32270 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32271 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32272 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32273 ac_header_preproc=yes
32276 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32277 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32278 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32279 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32280 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32281 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32282 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32283 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32284 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32285 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32286 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32287 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32290 ## ----------------------------------------- ##
32291 ## Report this to wx-dev@lists.wxwidgets.org ##
32292 ## ----------------------------------------- ##
32295 sed "s/^/$as_me: WARNING: /" >&2
32298 echo "$as_me:$LINENO: checking for sql.h" >&5
32299 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32300 if test "${ac_cv_header_sql_h+set}" = set; then
32301 echo $ECHO_N "(cached) $ECHO_C" >&6
32303 ac_cv_header_sql_h=$ac_header_preproc
32305 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32306 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32309 if test $ac_cv_header_sql_h = yes; then
32314 if test "x$found_sql_h" = "x1" ; then
32315 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32316 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32317 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32318 echo $ECHO_N "(cached) $ECHO_C" >&6
32320 ac_check_lib_save_LIBS=$LIBS
32321 LIBS="-liodbc $LIBS"
32322 cat >conftest.$ac_ext <<_ACEOF
32325 cat confdefs.h >>conftest.$ac_ext
32326 cat >>conftest.$ac_ext <<_ACEOF
32327 /* end confdefs.h. */
32329 /* Override any gcc2 internal prototype to avoid an error. */
32333 /* We use char because int might match the return type of a gcc2
32334 builtin and then its argument prototype would still apply. */
32335 char SQLAllocEnv ();
32344 rm -f conftest.$ac_objext conftest$ac_exeext
32345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32346 (eval $ac_link) 2>conftest.er1
32348 grep -v '^ *+' conftest.er1 >conftest.err
32350 cat conftest.err >&5
32351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32352 (exit $ac_status); } &&
32353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32355 (eval $ac_try) 2>&5
32357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32358 (exit $ac_status); }; } &&
32359 { ac_try='test -s conftest$ac_exeext'
32360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32361 (eval $ac_try) 2>&5
32363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32364 (exit $ac_status); }; }; then
32365 ac_cv_lib_iodbc_SQLAllocEnv=yes
32367 echo "$as_me: failed program was:" >&5
32368 sed 's/^/| /' conftest.$ac_ext >&5
32370 ac_cv_lib_iodbc_SQLAllocEnv=no
32372 rm -f conftest.err conftest.$ac_objext \
32373 conftest$ac_exeext conftest.$ac_ext
32374 LIBS=$ac_check_lib_save_LIBS
32376 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32377 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32378 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32379 ODBC_LINK=" -liodbc"
32382 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32383 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32384 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32385 echo $ECHO_N "(cached) $ECHO_C" >&6
32387 ac_check_lib_save_LIBS=$LIBS
32388 LIBS="-lunixodbc $LIBS"
32389 cat >conftest.$ac_ext <<_ACEOF
32392 cat confdefs.h >>conftest.$ac_ext
32393 cat >>conftest.$ac_ext <<_ACEOF
32394 /* end confdefs.h. */
32396 /* Override any gcc2 internal prototype to avoid an error. */
32400 /* We use char because int might match the return type of a gcc2
32401 builtin and then its argument prototype would still apply. */
32402 char SQLAllocEnv ();
32411 rm -f conftest.$ac_objext conftest$ac_exeext
32412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32413 (eval $ac_link) 2>conftest.er1
32415 grep -v '^ *+' conftest.er1 >conftest.err
32417 cat conftest.err >&5
32418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32419 (exit $ac_status); } &&
32420 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32422 (eval $ac_try) 2>&5
32424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32425 (exit $ac_status); }; } &&
32426 { ac_try='test -s conftest$ac_exeext'
32427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32428 (eval $ac_try) 2>&5
32430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32431 (exit $ac_status); }; }; then
32432 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32434 echo "$as_me: failed program was:" >&5
32435 sed 's/^/| /' conftest.$ac_ext >&5
32437 ac_cv_lib_unixodbc_SQLAllocEnv=no
32439 rm -f conftest.err conftest.$ac_objext \
32440 conftest$ac_exeext conftest.$ac_ext
32441 LIBS=$ac_check_lib_save_LIBS
32443 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32444 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32445 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32446 ODBC_LINK=" -lunixodbc"
32449 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32450 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32451 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32452 echo $ECHO_N "(cached) $ECHO_C" >&6
32454 ac_check_lib_save_LIBS=$LIBS
32455 LIBS="-lodbc $LIBS"
32456 cat >conftest.$ac_ext <<_ACEOF
32459 cat confdefs.h >>conftest.$ac_ext
32460 cat >>conftest.$ac_ext <<_ACEOF
32461 /* end confdefs.h. */
32463 /* Override any gcc2 internal prototype to avoid an error. */
32467 /* We use char because int might match the return type of a gcc2
32468 builtin and then its argument prototype would still apply. */
32469 char SQLAllocEnv ();
32478 rm -f conftest.$ac_objext conftest$ac_exeext
32479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32480 (eval $ac_link) 2>conftest.er1
32482 grep -v '^ *+' conftest.er1 >conftest.err
32484 cat conftest.err >&5
32485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32486 (exit $ac_status); } &&
32487 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32489 (eval $ac_try) 2>&5
32491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32492 (exit $ac_status); }; } &&
32493 { ac_try='test -s conftest$ac_exeext'
32494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32495 (eval $ac_try) 2>&5
32497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32498 (exit $ac_status); }; }; then
32499 ac_cv_lib_odbc_SQLAllocEnv=yes
32501 echo "$as_me: failed program was:" >&5
32502 sed 's/^/| /' conftest.$ac_ext >&5
32504 ac_cv_lib_odbc_SQLAllocEnv=no
32506 rm -f conftest.err conftest.$ac_objext \
32507 conftest$ac_exeext conftest.$ac_ext
32508 LIBS=$ac_check_lib_save_LIBS
32510 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32511 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32512 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32513 ODBC_LINK=" -lodbc"
32523 if test "x$ODBC_LINK" = "x" ; then
32524 if test "$wxUSE_ODBC" = "sys" ; then
32525 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32526 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32527 { (exit 1); exit 1; }; }
32529 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32530 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32538 if test "$wxUSE_ODBC" = "builtin" ; then
32539 cat >>confdefs.h <<\_ACEOF
32540 #define wxUSE_BUILTIN_IODBC 1
32546 if test "$wxUSE_ODBC" != "no" ; then
32547 cat >>confdefs.h <<\_ACEOF
32548 #define wxUSE_ODBC 1
32551 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32553 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32557 if test "$wxUSE_DISPLAY" = "yes"; then
32558 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32559 echo "$as_me:$LINENO: checking for Xinerama" >&5
32560 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32563 for ac_dir in $SEARCH_LIB;
32565 for ac_extension in a so sl dylib dll.a; do
32566 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32567 ac_find_libraries=$ac_dir
32573 if test "$ac_find_libraries" != "" ; then
32575 if test "$ac_find_libraries" = "default location"; then
32578 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32580 if test $result = 0; then
32583 ac_path_to_link=" -L$ac_find_libraries"
32587 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32588 LDFLAGS="$LDFLAGS $ac_path_to_link"
32590 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32591 echo "$as_me:$LINENO: result: yes" >&5
32592 echo "${ECHO_T}yes" >&6
32594 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32595 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32598 for ac_dir in $SEARCH_LIB;
32600 for ac_extension in a so sl dylib dll.a; do
32601 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32602 ac_find_libraries=$ac_dir
32608 if test "$ac_find_libraries" != "" ; then
32609 echo "$as_me:$LINENO: result: yes" >&5
32610 echo "${ECHO_T}yes" >&6
32612 for ac_header in X11/extensions/xf86vmode.h
32614 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32615 echo "$as_me:$LINENO: checking for $ac_header" >&5
32616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32618 echo $ECHO_N "(cached) $ECHO_C" >&6
32620 cat >conftest.$ac_ext <<_ACEOF
32623 cat confdefs.h >>conftest.$ac_ext
32624 cat >>conftest.$ac_ext <<_ACEOF
32625 /* end confdefs.h. */
32627 #if HAVE_X11_XLIB_H
32628 #include <X11/Xlib.h>
32632 #include <$ac_header>
32634 rm -f conftest.$ac_objext
32635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32636 (eval $ac_compile) 2>conftest.er1
32638 grep -v '^ *+' conftest.er1 >conftest.err
32640 cat conftest.err >&5
32641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32642 (exit $ac_status); } &&
32643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32645 (eval $ac_try) 2>&5
32647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32648 (exit $ac_status); }; } &&
32649 { ac_try='test -s conftest.$ac_objext'
32650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32651 (eval $ac_try) 2>&5
32653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32654 (exit $ac_status); }; }; then
32655 eval "$as_ac_Header=yes"
32657 echo "$as_me: failed program was:" >&5
32658 sed 's/^/| /' conftest.$ac_ext >&5
32660 eval "$as_ac_Header=no"
32662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32665 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32667 cat >>confdefs.h <<_ACEOF
32668 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32671 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32678 echo "$as_me:$LINENO: result: no" >&5
32679 echo "${ECHO_T}no" >&6
32683 echo "$as_me:$LINENO: result: no" >&5
32684 echo "${ECHO_T}no" >&6
32685 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32686 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32689 elif test "$wxUSE_MSW" = 1; then
32691 for ac_header in ddraw.h
32693 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32694 echo "$as_me:$LINENO: checking for $ac_header" >&5
32695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32697 echo $ECHO_N "(cached) $ECHO_C" >&6
32699 cat >conftest.$ac_ext <<_ACEOF
32702 cat confdefs.h >>conftest.$ac_ext
32703 cat >>conftest.$ac_ext <<_ACEOF
32704 /* end confdefs.h. */
32705 #include <windows.h>
32707 #include <$ac_header>
32709 rm -f conftest.$ac_objext
32710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32711 (eval $ac_compile) 2>conftest.er1
32713 grep -v '^ *+' conftest.er1 >conftest.err
32715 cat conftest.err >&5
32716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32717 (exit $ac_status); } &&
32718 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32720 (eval $ac_try) 2>&5
32722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32723 (exit $ac_status); }; } &&
32724 { ac_try='test -s conftest.$ac_objext'
32725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32726 (eval $ac_try) 2>&5
32728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32729 (exit $ac_status); }; }; then
32730 eval "$as_ac_Header=yes"
32732 echo "$as_me: failed program was:" >&5
32733 sed 's/^/| /' conftest.$ac_ext >&5
32735 eval "$as_ac_Header=no"
32737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32741 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32742 cat >>confdefs.h <<_ACEOF
32743 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32753 if test "$wxUSE_DETECT_SM" = "yes"; then
32754 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32755 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32756 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
32759 for ac_dir in $SEARCH_LIB;
32761 for ac_extension in a so sl dylib dll.a; do
32762 if test -f "$ac_dir/libSM.$ac_extension"; then
32763 ac_find_libraries=$ac_dir
32769 if test "$ac_find_libraries" != "" ; then
32771 if test "$ac_find_libraries" = "default location"; then
32774 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32776 if test $result = 0; then
32779 ac_path_to_link=" -L$ac_find_libraries"
32783 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32784 LDFLAGS="$LDFLAGS $ac_path_to_link"
32786 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32787 echo "$as_me:$LINENO: result: yes" >&5
32788 echo "${ECHO_T}yes" >&6
32790 echo "$as_me:$LINENO: result: no" >&5
32791 echo "${ECHO_T}no" >&6
32792 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32793 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32794 wxUSE_DETECT_SM="no"
32797 wxUSE_DETECT_SM="no"
32804 if test "$wxUSE_OPENGL" = "yes"; then
32805 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32806 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32807 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32809 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32810 OPENGL_LIBS="-framework OpenGL -framework AGL"
32811 elif test "$wxUSE_MSW" = 1; then
32812 OPENGL_LIBS="-lopengl32 -lglu32"
32814 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32815 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
32818 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32820 if test -f "$ac_dir/GL/gl.h"; then
32821 ac_find_includes=$ac_dir
32826 if test "$ac_find_includes" != "" ; then
32827 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32828 echo "${ECHO_T}found in $ac_find_includes" >&6
32830 if test "x$ac_find_includes" = "x/usr/include"; then
32831 ac_path_to_include=""
32833 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32835 if test $result = 0; then
32836 ac_path_to_include=""
32838 ac_path_to_include=" -I$ac_find_includes"
32842 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32844 echo "$as_me:$LINENO: result: not found" >&5
32845 echo "${ECHO_T}not found" >&6
32848 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32849 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32850 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32851 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32852 echo $ECHO_N "(cached) $ECHO_C" >&6
32854 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32855 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32857 # Is the header compilable?
32858 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32859 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32860 cat >conftest.$ac_ext <<_ACEOF
32863 cat confdefs.h >>conftest.$ac_ext
32864 cat >>conftest.$ac_ext <<_ACEOF
32865 /* end confdefs.h. */
32866 $ac_includes_default
32869 rm -f conftest.$ac_objext
32870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32871 (eval $ac_compile) 2>conftest.er1
32873 grep -v '^ *+' conftest.er1 >conftest.err
32875 cat conftest.err >&5
32876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32877 (exit $ac_status); } &&
32878 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32880 (eval $ac_try) 2>&5
32882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32883 (exit $ac_status); }; } &&
32884 { ac_try='test -s conftest.$ac_objext'
32885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32886 (eval $ac_try) 2>&5
32888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32889 (exit $ac_status); }; }; then
32890 ac_header_compiler=yes
32892 echo "$as_me: failed program was:" >&5
32893 sed 's/^/| /' conftest.$ac_ext >&5
32895 ac_header_compiler=no
32897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32898 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32899 echo "${ECHO_T}$ac_header_compiler" >&6
32901 # Is the header present?
32902 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32903 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32904 cat >conftest.$ac_ext <<_ACEOF
32907 cat confdefs.h >>conftest.$ac_ext
32908 cat >>conftest.$ac_ext <<_ACEOF
32909 /* end confdefs.h. */
32912 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32913 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32915 grep -v '^ *+' conftest.er1 >conftest.err
32917 cat conftest.err >&5
32918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32919 (exit $ac_status); } >/dev/null; then
32920 if test -s conftest.err; then
32921 ac_cpp_err=$ac_c_preproc_warn_flag
32922 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32929 if test -z "$ac_cpp_err"; then
32930 ac_header_preproc=yes
32932 echo "$as_me: failed program was:" >&5
32933 sed 's/^/| /' conftest.$ac_ext >&5
32935 ac_header_preproc=no
32937 rm -f conftest.err conftest.$ac_ext
32938 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32939 echo "${ECHO_T}$ac_header_preproc" >&6
32941 # So? What about this header?
32942 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32944 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
32945 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32946 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
32947 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
32948 ac_header_preproc=yes
32951 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
32952 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
32953 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
32954 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
32955 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
32956 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
32957 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
32958 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
32959 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
32960 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
32961 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
32962 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
32965 ## ----------------------------------------- ##
32966 ## Report this to wx-dev@lists.wxwidgets.org ##
32967 ## ----------------------------------------- ##
32970 sed "s/^/$as_me: WARNING: /" >&2
32973 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32974 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32975 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32976 echo $ECHO_N "(cached) $ECHO_C" >&6
32978 ac_cv_header_GL_gl_h=$ac_header_preproc
32980 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32981 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32984 if test $ac_cv_header_GL_gl_h = yes; then
32986 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32987 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32988 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
32989 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32990 echo $ECHO_N "(cached) $ECHO_C" >&6
32992 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32993 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
32995 # Is the header compilable?
32996 echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32997 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
32998 cat >conftest.$ac_ext <<_ACEOF
33001 cat confdefs.h >>conftest.$ac_ext
33002 cat >>conftest.$ac_ext <<_ACEOF
33003 /* end confdefs.h. */
33004 $ac_includes_default
33005 #include <GL/glu.h>
33007 rm -f conftest.$ac_objext
33008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33009 (eval $ac_compile) 2>conftest.er1
33011 grep -v '^ *+' conftest.er1 >conftest.err
33013 cat conftest.err >&5
33014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33015 (exit $ac_status); } &&
33016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33018 (eval $ac_try) 2>&5
33020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33021 (exit $ac_status); }; } &&
33022 { ac_try='test -s conftest.$ac_objext'
33023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33024 (eval $ac_try) 2>&5
33026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33027 (exit $ac_status); }; }; then
33028 ac_header_compiler=yes
33030 echo "$as_me: failed program was:" >&5
33031 sed 's/^/| /' conftest.$ac_ext >&5
33033 ac_header_compiler=no
33035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33036 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33037 echo "${ECHO_T}$ac_header_compiler" >&6
33039 # Is the header present?
33040 echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
33041 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
33042 cat >conftest.$ac_ext <<_ACEOF
33045 cat confdefs.h >>conftest.$ac_ext
33046 cat >>conftest.$ac_ext <<_ACEOF
33047 /* end confdefs.h. */
33048 #include <GL/glu.h>
33050 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33051 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33053 grep -v '^ *+' conftest.er1 >conftest.err
33055 cat conftest.err >&5
33056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33057 (exit $ac_status); } >/dev/null; then
33058 if test -s conftest.err; then
33059 ac_cpp_err=$ac_c_preproc_warn_flag
33060 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33067 if test -z "$ac_cpp_err"; then
33068 ac_header_preproc=yes
33070 echo "$as_me: failed program was:" >&5
33071 sed 's/^/| /' conftest.$ac_ext >&5
33073 ac_header_preproc=no
33075 rm -f conftest.err conftest.$ac_ext
33076 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33077 echo "${ECHO_T}$ac_header_preproc" >&6
33079 # So? What about this header?
33080 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33082 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
33083 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33084 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
33085 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
33086 ac_header_preproc=yes
33089 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
33090 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
33091 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
33092 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
33093 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
33094 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
33095 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
33096 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
33097 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
33098 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
33099 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
33100 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
33103 ## ----------------------------------------- ##
33104 ## Report this to wx-dev@lists.wxwidgets.org ##
33105 ## ----------------------------------------- ##
33108 sed "s/^/$as_me: WARNING: /" >&2
33111 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33112 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33113 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33114 echo $ECHO_N "(cached) $ECHO_C" >&6
33116 ac_cv_header_GL_glu_h=$ac_header_preproc
33118 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33119 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33122 if test $ac_cv_header_GL_glu_h = yes; then
33126 echo "$as_me:$LINENO: checking for -lGL" >&5
33127 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33130 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33132 for ac_extension in a so sl dylib dll.a; do
33133 if test -f "$ac_dir/libGL.$ac_extension"; then
33134 ac_find_libraries=$ac_dir
33140 if test "$ac_find_libraries" != "" ; then
33141 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33142 echo "${ECHO_T}found in $ac_find_libraries" >&6
33145 if test "$ac_find_libraries" = "default location"; then
33148 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33150 if test $result = 0; then
33153 ac_path_to_link=" -L$ac_find_libraries"
33157 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33158 LDFLAGS_GL="$ac_path_to_link"
33161 echo "$as_me:$LINENO: checking for -lGLU" >&5
33162 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33165 for ac_dir in $SEARCH_LIB;
33167 for ac_extension in a so sl dylib dll.a; do
33168 if test -f "$ac_dir/libGLU.$ac_extension"; then
33169 ac_find_libraries=$ac_dir
33175 if test "$ac_find_libraries" != "" ; then
33177 if test "$ac_find_libraries" = "default location"; then
33180 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33182 if test $result = 0; then
33185 ac_path_to_link=" -L$ac_find_libraries"
33189 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33190 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33191 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33195 OPENGL_LIBS="-lGL -lGLU"
33196 echo "$as_me:$LINENO: result: yes" >&5
33197 echo "${ECHO_T}yes" >&6
33199 echo "$as_me:$LINENO: result: no" >&5
33200 echo "${ECHO_T}no" >&6
33203 echo "$as_me:$LINENO: result: no" >&5
33204 echo "${ECHO_T}no" >&6
33207 if test "$found_gl" != 1; then
33208 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33209 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33212 for ac_dir in $SEARCH_LIB;
33214 for ac_extension in a so sl dylib dll.a; do
33215 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33216 ac_find_libraries=$ac_dir
33222 if test "$ac_find_libraries" != "" ; then
33224 if test "$ac_find_libraries" = "default location"; then
33227 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33229 if test $result = 0; then
33232 ac_path_to_link=" -L$ac_find_libraries"
33236 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33237 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33238 echo "$as_me:$LINENO: result: yes" >&5
33239 echo "${ECHO_T}yes" >&6
33241 echo "$as_me:$LINENO: result: no" >&5
33242 echo "${ECHO_T}no" >&6
33254 if test "x$OPENGL_LIBS" = "x"; then
33255 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33256 echo "$as_me: error: OpenGL libraries not available" >&2;}
33257 { (exit 1); exit 1; }; }
33261 if test "$wxUSE_OPENGL" = "yes"; then
33263 cat >>confdefs.h <<\_ACEOF
33264 #define wxUSE_OPENGL 1
33267 cat >>confdefs.h <<\_ACEOF
33268 #define wxUSE_GLCANVAS 1
33271 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33276 if test -n "$TOOLKIT" ; then
33277 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33282 if test "$wxUSE_SHARED" = "yes"; then
33286 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33287 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33292 if test "$wxUSE_SHARED" = "yes"; then
33296 *-*-cygwin* | *-*-mingw* )
33297 wx_cv_version_script=no
33301 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33302 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33303 if test "${wx_cv_version_script+set}" = set; then
33304 echo $ECHO_N "(cached) $ECHO_C" >&6
33307 echo "VER_1 { *; };" >conftest.sym
33308 echo "int main() { return 0; }" >conftest.cpp
33311 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33312 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33314 (eval $ac_try) 2>&5
33316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33317 (exit $ac_status); }; } ; then
33318 if test -s conftest.stderr ; then
33319 wx_cv_version_script=no
33321 wx_cv_version_script=yes
33324 wx_cv_version_script=no
33327 if test $wx_cv_version_script = yes
33329 echo "struct B { virtual ~B() { } }; \
33330 struct D : public B { }; \
33331 void F() { D d; }" > conftest.cpp
33334 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33335 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33337 (eval $ac_try) 2>&5
33339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33340 (exit $ac_status); }; } &&
33342 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33343 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33345 (eval $ac_try) 2>&5
33347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33348 (exit $ac_status); }; }
33351 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33352 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33354 (eval $ac_try) 2>&5
33356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33357 (exit $ac_status); }; }
33359 wx_cv_version_script=yes
33361 wx_cv_version_script=no
33366 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33367 rm -f conftest1.output conftest2.output conftest3.output
33370 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33371 echo "${ECHO_T}$wx_cv_version_script" >&6
33373 if test $wx_cv_version_script = yes ; then
33374 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33381 *-*-linux* | *-*-gnu* )
33382 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33383 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33387 if test "$GCC" = yes ; then
33388 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33390 saveLdflags="$LDFLAGS"
33391 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33392 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33393 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33394 cat >conftest.$ac_ext <<_ACEOF
33397 cat confdefs.h >>conftest.$ac_ext
33398 cat >>conftest.$ac_ext <<_ACEOF
33399 /* end confdefs.h. */
33409 rm -f conftest.$ac_objext conftest$ac_exeext
33410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33411 (eval $ac_link) 2>conftest.er1
33413 grep -v '^ *+' conftest.er1 >conftest.err
33415 cat conftest.err >&5
33416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33417 (exit $ac_status); } &&
33418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33420 (eval $ac_try) 2>&5
33422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33423 (exit $ac_status); }; } &&
33424 { ac_try='test -s conftest$ac_exeext'
33425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33426 (eval $ac_try) 2>&5
33428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33429 (exit $ac_status); }; }; then
33431 echo "$as_me:$LINENO: result: yes" >&5
33432 echo "${ECHO_T}yes" >&6
33433 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33434 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33437 echo "$as_me: failed program was:" >&5
33438 sed 's/^/| /' conftest.$ac_ext >&5
33441 echo "$as_me:$LINENO: result: no" >&5
33442 echo "${ECHO_T}no" >&6
33443 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33444 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33445 LDFLAGS="$saveLdflags -Wl,-R,/"
33446 cat >conftest.$ac_ext <<_ACEOF
33449 cat confdefs.h >>conftest.$ac_ext
33450 cat >>conftest.$ac_ext <<_ACEOF
33451 /* end confdefs.h. */
33461 rm -f conftest.$ac_objext conftest$ac_exeext
33462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33463 (eval $ac_link) 2>conftest.er1
33465 grep -v '^ *+' conftest.er1 >conftest.err
33467 cat conftest.err >&5
33468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33469 (exit $ac_status); } &&
33470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33472 (eval $ac_try) 2>&5
33474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33475 (exit $ac_status); }; } &&
33476 { ac_try='test -s conftest$ac_exeext'
33477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33478 (eval $ac_try) 2>&5
33480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33481 (exit $ac_status); }; }; then
33483 echo "$as_me:$LINENO: result: yes" >&5
33484 echo "${ECHO_T}yes" >&6
33485 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33486 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33489 echo "$as_me: failed program was:" >&5
33490 sed 's/^/| /' conftest.$ac_ext >&5
33493 echo "$as_me:$LINENO: result: no" >&5
33494 echo "${ECHO_T}no" >&6
33497 rm -f conftest.err conftest.$ac_objext \
33498 conftest$ac_exeext conftest.$ac_ext
33501 rm -f conftest.err conftest.$ac_objext \
33502 conftest$ac_exeext conftest.$ac_ext
33503 LDFLAGS="$saveLdflags"
33505 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33506 WXCONFIG_RPATH="-R\$libdir"
33511 install_name_tool=`which install_name_tool`
33512 if test "$install_name_tool" -a -x "$install_name_tool"; then
33513 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33514 cat <<EOF >change-install-names
33516 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33517 inst_cmd="install_name_tool "
33518 for i in \${libnames} ; do
33519 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33523 chmod +x change-install-names
33527 *-*-cygwin* | *-*-mingw32* )
33528 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33532 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33533 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33538 if test $wxUSE_RPATH = "no"; then
33539 SAMPLES_RPATH_FLAG=''
33540 SAMPLES_RPATH_POSTLINK=''
33548 config_linkage_component="-static"
33555 lib_unicode_suffix=
33557 if test "$wxUSE_UNICODE" = "yes"; then
33558 lib_unicode_suffix=u
33559 WX_CHARTYPE="unicode"
33564 WX_DEBUGTYPE="release"
33566 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33568 WX_DEBUGTYPE="debug"
33572 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33573 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33576 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33580 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33582 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33584 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33586 if test "$cross_compiling" = "yes"; then
33587 HOST_SUFFIX="-$host_alias"
33588 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33589 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33592 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33593 if test "${TOOLKIT_DIR}" = "os2"; then
33594 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33596 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33601 if test "$wxUSE_COCOA" = 1; then
33605 ac_cpp='$CPP $CPPFLAGS'
33606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33612 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33613 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33614 cat >conftest.$ac_ext <<_ACEOF
33617 cat confdefs.h >>conftest.$ac_ext
33618 cat >>conftest.$ac_ext <<_ACEOF
33619 /* end confdefs.h. */
33620 #include <AppKit/NSEvent.h>
33621 #include <CoreFoundation/CoreFoundation.h>
33631 rm -f conftest.$ac_objext
33632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33633 (eval $ac_compile) 2>conftest.er1
33635 grep -v '^ *+' conftest.er1 >conftest.err
33637 cat conftest.err >&5
33638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33639 (exit $ac_status); } &&
33640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33642 (eval $ac_try) 2>&5
33644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33645 (exit $ac_status); }; } &&
33646 { ac_try='test -s conftest.$ac_objext'
33647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33648 (eval $ac_try) 2>&5
33650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33651 (exit $ac_status); }; }; then
33652 echo "$as_me:$LINENO: result: no" >&5
33653 echo "${ECHO_T}no" >&6
33655 echo "$as_me: failed program was:" >&5
33656 sed 's/^/| /' conftest.$ac_ext >&5
33658 echo "$as_me:$LINENO: result: yes" >&5
33659 echo "${ECHO_T}yes" >&6
33660 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33661 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33662 cat >conftest.$ac_ext <<_ACEOF
33665 cat confdefs.h >>conftest.$ac_ext
33666 cat >>conftest.$ac_ext <<_ACEOF
33667 /* end confdefs.h. */
33668 #define __Point__ 1
33669 #include <AppKit/NSEvent.h>
33670 #include <CoreFoundation/CoreFoundation.h>
33680 rm -f conftest.$ac_objext
33681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33682 (eval $ac_compile) 2>conftest.er1
33684 grep -v '^ *+' conftest.er1 >conftest.err
33686 cat conftest.err >&5
33687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33688 (exit $ac_status); } &&
33689 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33691 (eval $ac_try) 2>&5
33693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33694 (exit $ac_status); }; } &&
33695 { ac_try='test -s conftest.$ac_objext'
33696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33697 (eval $ac_try) 2>&5
33699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33700 (exit $ac_status); }; }; then
33701 echo "$as_me:$LINENO: result: yes" >&5
33702 echo "${ECHO_T}yes" >&6
33703 cat >>confdefs.h <<\_ACEOF
33704 #define __Point__ 1
33709 echo "$as_me: failed program was:" >&5
33710 sed 's/^/| /' conftest.$ac_ext >&5
33712 { { echo "$as_me:$LINENO: error: no
33713 See \`config.log' for more details." >&5
33714 echo "$as_me: error: no
33715 See \`config.log' for more details." >&2;}
33716 { (exit 1); exit 1; }; }
33719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33724 ac_cpp='$CPP $CPPFLAGS'
33725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33731 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33732 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33733 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33735 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
33737 # Extract the first word of "Rez", so it can be a program name with args.
33738 set dummy Rez; ac_word=$2
33739 echo "$as_me:$LINENO: checking for $ac_word" >&5
33740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33741 if test "${ac_cv_prog_REZ+set}" = set; then
33742 echo $ECHO_N "(cached) $ECHO_C" >&6
33744 if test -n "$REZ"; then
33745 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33748 for as_dir in $PATH
33751 test -z "$as_dir" && as_dir=.
33752 for ac_exec_ext in '' $ac_executable_extensions; do
33753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33754 ac_cv_prog_REZ="Rez"
33755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33761 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33764 REZ=$ac_cv_prog_REZ
33765 if test -n "$REZ"; then
33766 echo "$as_me:$LINENO: result: $REZ" >&5
33767 echo "${ECHO_T}$REZ" >&6
33769 echo "$as_me:$LINENO: result: no" >&5
33770 echo "${ECHO_T}no" >&6
33773 # Extract the first word of "DeRez", so it can be a program name with args.
33774 set dummy DeRez; ac_word=$2
33775 echo "$as_me:$LINENO: checking for $ac_word" >&5
33776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33777 if test "${ac_cv_prog_DEREZ+set}" = set; then
33778 echo $ECHO_N "(cached) $ECHO_C" >&6
33780 if test -n "$DEREZ"; then
33781 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33784 for as_dir in $PATH
33787 test -z "$as_dir" && as_dir=.
33788 for ac_exec_ext in '' $ac_executable_extensions; do
33789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33790 ac_cv_prog_DEREZ="DeRez"
33791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33797 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33800 DEREZ=$ac_cv_prog_DEREZ
33801 if test -n "$DEREZ"; then
33802 echo "$as_me:$LINENO: result: $DEREZ" >&5
33803 echo "${ECHO_T}$DEREZ" >&6
33805 echo "$as_me:$LINENO: result: no" >&5
33806 echo "${ECHO_T}no" >&6
33809 # Extract the first word of "SetFile", so it can be a program name with args.
33810 set dummy SetFile; ac_word=$2
33811 echo "$as_me:$LINENO: checking for $ac_word" >&5
33812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33813 if test "${ac_cv_prog_SETFILE+set}" = set; then
33814 echo $ECHO_N "(cached) $ECHO_C" >&6
33816 if test -n "$SETFILE"; then
33817 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33820 for as_dir in $PATH
33823 test -z "$as_dir" && as_dir=.
33824 for ac_exec_ext in '' $ac_executable_extensions; do
33825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33826 ac_cv_prog_SETFILE="SetFile"
33827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33833 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33836 SETFILE=$ac_cv_prog_SETFILE
33837 if test -n "$SETFILE"; then
33838 echo "$as_me:$LINENO: result: $SETFILE" >&5
33839 echo "${ECHO_T}$SETFILE" >&6
33841 echo "$as_me:$LINENO: result: no" >&5
33842 echo "${ECHO_T}no" >&6
33846 MACSETFILE="\$(SETFILE)"
33848 if test "$wxUSE_MAC" = 1; then
33849 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33851 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33853 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33854 RESCOMP="echo -n \| $REZ"
33855 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33861 if test "$wxUSE_PM" = 1; then
33863 WXCONFIG_RESFLAGS="-ep"
33865 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33867 POSTLINK_COMMAND="@true"
33874 echo "$as_me:$LINENO: checking for mode_t" >&5
33875 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33876 if test "${ac_cv_type_mode_t+set}" = set; then
33877 echo $ECHO_N "(cached) $ECHO_C" >&6
33879 cat >conftest.$ac_ext <<_ACEOF
33882 cat confdefs.h >>conftest.$ac_ext
33883 cat >>conftest.$ac_ext <<_ACEOF
33884 /* end confdefs.h. */
33885 $ac_includes_default
33891 if (sizeof (mode_t))
33897 rm -f conftest.$ac_objext
33898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33899 (eval $ac_compile) 2>conftest.er1
33901 grep -v '^ *+' conftest.er1 >conftest.err
33903 cat conftest.err >&5
33904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33905 (exit $ac_status); } &&
33906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33908 (eval $ac_try) 2>&5
33910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33911 (exit $ac_status); }; } &&
33912 { ac_try='test -s conftest.$ac_objext'
33913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33914 (eval $ac_try) 2>&5
33916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33917 (exit $ac_status); }; }; then
33918 ac_cv_type_mode_t=yes
33920 echo "$as_me: failed program was:" >&5
33921 sed 's/^/| /' conftest.$ac_ext >&5
33923 ac_cv_type_mode_t=no
33925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33927 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33928 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33929 if test $ac_cv_type_mode_t = yes; then
33933 cat >>confdefs.h <<_ACEOF
33939 echo "$as_me:$LINENO: checking for off_t" >&5
33940 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33941 if test "${ac_cv_type_off_t+set}" = set; then
33942 echo $ECHO_N "(cached) $ECHO_C" >&6
33944 cat >conftest.$ac_ext <<_ACEOF
33947 cat confdefs.h >>conftest.$ac_ext
33948 cat >>conftest.$ac_ext <<_ACEOF
33949 /* end confdefs.h. */
33950 $ac_includes_default
33956 if (sizeof (off_t))
33962 rm -f conftest.$ac_objext
33963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33964 (eval $ac_compile) 2>conftest.er1
33966 grep -v '^ *+' conftest.er1 >conftest.err
33968 cat conftest.err >&5
33969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33970 (exit $ac_status); } &&
33971 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33973 (eval $ac_try) 2>&5
33975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33976 (exit $ac_status); }; } &&
33977 { ac_try='test -s conftest.$ac_objext'
33978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33979 (eval $ac_try) 2>&5
33981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33982 (exit $ac_status); }; }; then
33983 ac_cv_type_off_t=yes
33985 echo "$as_me: failed program was:" >&5
33986 sed 's/^/| /' conftest.$ac_ext >&5
33988 ac_cv_type_off_t=no
33990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33992 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33993 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33994 if test $ac_cv_type_off_t = yes; then
33998 cat >>confdefs.h <<_ACEOF
34004 echo "$as_me:$LINENO: checking for pid_t" >&5
34005 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34006 if test "${ac_cv_type_pid_t+set}" = set; then
34007 echo $ECHO_N "(cached) $ECHO_C" >&6
34009 cat >conftest.$ac_ext <<_ACEOF
34012 cat confdefs.h >>conftest.$ac_ext
34013 cat >>conftest.$ac_ext <<_ACEOF
34014 /* end confdefs.h. */
34015 $ac_includes_default
34021 if (sizeof (pid_t))
34027 rm -f conftest.$ac_objext
34028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34029 (eval $ac_compile) 2>conftest.er1
34031 grep -v '^ *+' conftest.er1 >conftest.err
34033 cat conftest.err >&5
34034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34035 (exit $ac_status); } &&
34036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34038 (eval $ac_try) 2>&5
34040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34041 (exit $ac_status); }; } &&
34042 { ac_try='test -s conftest.$ac_objext'
34043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34044 (eval $ac_try) 2>&5
34046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34047 (exit $ac_status); }; }; then
34048 ac_cv_type_pid_t=yes
34050 echo "$as_me: failed program was:" >&5
34051 sed 's/^/| /' conftest.$ac_ext >&5
34053 ac_cv_type_pid_t=no
34055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34057 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34058 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34059 if test $ac_cv_type_pid_t = yes; then
34063 cat >>confdefs.h <<_ACEOF
34069 echo "$as_me:$LINENO: checking for size_t" >&5
34070 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34071 if test "${ac_cv_type_size_t+set}" = set; then
34072 echo $ECHO_N "(cached) $ECHO_C" >&6
34074 cat >conftest.$ac_ext <<_ACEOF
34077 cat confdefs.h >>conftest.$ac_ext
34078 cat >>conftest.$ac_ext <<_ACEOF
34079 /* end confdefs.h. */
34080 $ac_includes_default
34086 if (sizeof (size_t))
34092 rm -f conftest.$ac_objext
34093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34094 (eval $ac_compile) 2>conftest.er1
34096 grep -v '^ *+' conftest.er1 >conftest.err
34098 cat conftest.err >&5
34099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34100 (exit $ac_status); } &&
34101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34103 (eval $ac_try) 2>&5
34105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34106 (exit $ac_status); }; } &&
34107 { ac_try='test -s conftest.$ac_objext'
34108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34109 (eval $ac_try) 2>&5
34111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34112 (exit $ac_status); }; }; then
34113 ac_cv_type_size_t=yes
34115 echo "$as_me: failed program was:" >&5
34116 sed 's/^/| /' conftest.$ac_ext >&5
34118 ac_cv_type_size_t=no
34120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34122 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34123 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34124 if test $ac_cv_type_size_t = yes; then
34128 cat >>confdefs.h <<_ACEOF
34129 #define size_t unsigned
34134 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34135 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34136 if test "${ac_cv_type_uid_t+set}" = set; then
34137 echo $ECHO_N "(cached) $ECHO_C" >&6
34139 cat >conftest.$ac_ext <<_ACEOF
34142 cat confdefs.h >>conftest.$ac_ext
34143 cat >>conftest.$ac_ext <<_ACEOF
34144 /* end confdefs.h. */
34145 #include <sys/types.h>
34148 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34149 $EGREP "uid_t" >/dev/null 2>&1; then
34150 ac_cv_type_uid_t=yes
34152 ac_cv_type_uid_t=no
34157 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34158 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34159 if test $ac_cv_type_uid_t = no; then
34161 cat >>confdefs.h <<\_ACEOF
34166 cat >>confdefs.h <<\_ACEOF
34173 echo "$as_me:$LINENO: checking for ssize_t" >&5
34174 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34175 if test "${ac_cv_type_ssize_t+set}" = set; then
34176 echo $ECHO_N "(cached) $ECHO_C" >&6
34178 cat >conftest.$ac_ext <<_ACEOF
34181 cat confdefs.h >>conftest.$ac_ext
34182 cat >>conftest.$ac_ext <<_ACEOF
34183 /* end confdefs.h. */
34184 $ac_includes_default
34190 if (sizeof (ssize_t))
34196 rm -f conftest.$ac_objext
34197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34198 (eval $ac_compile) 2>conftest.er1
34200 grep -v '^ *+' conftest.er1 >conftest.err
34202 cat conftest.err >&5
34203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34204 (exit $ac_status); } &&
34205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34207 (eval $ac_try) 2>&5
34209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34210 (exit $ac_status); }; } &&
34211 { ac_try='test -s conftest.$ac_objext'
34212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34213 (eval $ac_try) 2>&5
34215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34216 (exit $ac_status); }; }; then
34217 ac_cv_type_ssize_t=yes
34219 echo "$as_me: failed program was:" >&5
34220 sed 's/^/| /' conftest.$ac_ext >&5
34222 ac_cv_type_ssize_t=no
34224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34226 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34227 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34228 if test $ac_cv_type_ssize_t = yes; then
34230 cat >>confdefs.h <<_ACEOF
34231 #define HAVE_SSIZE_T 1
34239 ac_cpp='$CXXCPP $CPPFLAGS'
34240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34243 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34244 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34245 if test "${wx_cv_size_t_is_uint+set}" = set; then
34246 echo $ECHO_N "(cached) $ECHO_C" >&6
34249 cat >conftest.$ac_ext <<_ACEOF
34252 cat confdefs.h >>conftest.$ac_ext
34253 cat >>conftest.$ac_ext <<_ACEOF
34254 /* end confdefs.h. */
34255 #include <stddef.h>
34262 struct Foo { void foo(size_t); void foo(unsigned int); };
34270 rm -f conftest.$ac_objext
34271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34272 (eval $ac_compile) 2>conftest.er1
34274 grep -v '^ *+' conftest.er1 >conftest.err
34276 cat conftest.err >&5
34277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34278 (exit $ac_status); } &&
34279 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34281 (eval $ac_try) 2>&5
34283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34284 (exit $ac_status); }; } &&
34285 { ac_try='test -s conftest.$ac_objext'
34286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34287 (eval $ac_try) 2>&5
34289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34290 (exit $ac_status); }; }; then
34291 wx_cv_size_t_is_uint=no
34293 echo "$as_me: failed program was:" >&5
34294 sed 's/^/| /' conftest.$ac_ext >&5
34296 wx_cv_size_t_is_uint=yes
34299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34303 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34304 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34306 if test "$wx_cv_size_t_is_uint" = "yes"; then
34307 cat >>confdefs.h <<\_ACEOF
34308 #define wxSIZE_T_IS_UINT 1
34312 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34313 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34314 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34315 echo $ECHO_N "(cached) $ECHO_C" >&6
34317 cat >conftest.$ac_ext <<_ACEOF
34320 cat confdefs.h >>conftest.$ac_ext
34321 cat >>conftest.$ac_ext <<_ACEOF
34322 /* end confdefs.h. */
34323 #include <stddef.h>
34330 struct Foo { void foo(size_t); void foo(unsigned long); };
34338 rm -f conftest.$ac_objext
34339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34340 (eval $ac_compile) 2>conftest.er1
34342 grep -v '^ *+' conftest.er1 >conftest.err
34344 cat conftest.err >&5
34345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34346 (exit $ac_status); } &&
34347 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34349 (eval $ac_try) 2>&5
34351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34352 (exit $ac_status); }; } &&
34353 { ac_try='test -s conftest.$ac_objext'
34354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34355 (eval $ac_try) 2>&5
34357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34358 (exit $ac_status); }; }; then
34359 wx_cv_size_t_is_ulong=no
34361 echo "$as_me: failed program was:" >&5
34362 sed 's/^/| /' conftest.$ac_ext >&5
34364 wx_cv_size_t_is_ulong=yes
34367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34370 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34371 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34373 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34374 cat >>confdefs.h <<\_ACEOF
34375 #define wxSIZE_T_IS_ULONG 1
34382 ac_cpp='$CPP $CPPFLAGS'
34383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34388 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34389 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34390 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34391 echo $ECHO_N "(cached) $ECHO_C" >&6
34394 cat >conftest.$ac_ext <<_ACEOF
34397 cat confdefs.h >>conftest.$ac_ext
34398 cat >>conftest.$ac_ext <<_ACEOF
34399 /* end confdefs.h. */
34413 rm -f conftest.$ac_objext
34414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34415 (eval $ac_compile) 2>conftest.er1
34417 grep -v '^ *+' conftest.er1 >conftest.err
34419 cat conftest.err >&5
34420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34421 (exit $ac_status); } &&
34422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34424 (eval $ac_try) 2>&5
34426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34427 (exit $ac_status); }; } &&
34428 { ac_try='test -s conftest.$ac_objext'
34429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34430 (eval $ac_try) 2>&5
34432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34433 (exit $ac_status); }; }; then
34435 wx_cv_struct_pw_gecos=yes
34438 echo "$as_me: failed program was:" >&5
34439 sed 's/^/| /' conftest.$ac_ext >&5
34442 wx_cv_struct_pw_gecos=no
34446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34450 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34451 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34453 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34454 cat >>confdefs.h <<\_ACEOF
34455 #define HAVE_PW_GECOS 1
34461 if test "$wxUSE_WCHAR_T" = "yes"; then
34462 cat >>confdefs.h <<\_ACEOF
34463 #define wxUSE_WCHAR_T 1
34470 for ac_func in wcslen
34472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34473 echo "$as_me:$LINENO: checking for $ac_func" >&5
34474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34475 if eval "test \"\${$as_ac_var+set}\" = set"; then
34476 echo $ECHO_N "(cached) $ECHO_C" >&6
34478 cat >conftest.$ac_ext <<_ACEOF
34481 cat confdefs.h >>conftest.$ac_ext
34482 cat >>conftest.$ac_ext <<_ACEOF
34483 /* end confdefs.h. */
34484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34486 #define $ac_func innocuous_$ac_func
34488 /* System header to define __stub macros and hopefully few prototypes,
34489 which can conflict with char $ac_func (); below.
34490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34491 <limits.h> exists even on freestanding compilers. */
34494 # include <limits.h>
34496 # include <assert.h>
34501 /* Override any gcc2 internal prototype to avoid an error. */
34506 /* We use char because int might match the return type of a gcc2
34507 builtin and then its argument prototype would still apply. */
34509 /* The GNU C library defines this for functions which it implements
34510 to always fail with ENOSYS. Some functions are actually named
34511 something starting with __ and the normal name is an alias. */
34512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34515 char (*f) () = $ac_func;
34524 return f != $ac_func;
34529 rm -f conftest.$ac_objext conftest$ac_exeext
34530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34531 (eval $ac_link) 2>conftest.er1
34533 grep -v '^ *+' conftest.er1 >conftest.err
34535 cat conftest.err >&5
34536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34537 (exit $ac_status); } &&
34538 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34540 (eval $ac_try) 2>&5
34542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34543 (exit $ac_status); }; } &&
34544 { ac_try='test -s conftest$ac_exeext'
34545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34546 (eval $ac_try) 2>&5
34548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34549 (exit $ac_status); }; }; then
34550 eval "$as_ac_var=yes"
34552 echo "$as_me: failed program was:" >&5
34553 sed 's/^/| /' conftest.$ac_ext >&5
34555 eval "$as_ac_var=no"
34557 rm -f conftest.err conftest.$ac_objext \
34558 conftest$ac_exeext conftest.$ac_ext
34560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34562 if test `eval echo '${'$as_ac_var'}'` = yes; then
34563 cat >>confdefs.h <<_ACEOF
34564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34571 if test "$WCSLEN_FOUND" = 0; then
34572 if test "$TOOLKIT" = "MSW"; then
34573 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34574 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34575 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34576 echo $ECHO_N "(cached) $ECHO_C" >&6
34578 ac_check_lib_save_LIBS=$LIBS
34579 LIBS="-lmsvcrt $LIBS"
34580 cat >conftest.$ac_ext <<_ACEOF
34583 cat confdefs.h >>conftest.$ac_ext
34584 cat >>conftest.$ac_ext <<_ACEOF
34585 /* end confdefs.h. */
34587 /* Override any gcc2 internal prototype to avoid an error. */
34591 /* We use char because int might match the return type of a gcc2
34592 builtin and then its argument prototype would still apply. */
34602 rm -f conftest.$ac_objext conftest$ac_exeext
34603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34604 (eval $ac_link) 2>conftest.er1
34606 grep -v '^ *+' conftest.er1 >conftest.err
34608 cat conftest.err >&5
34609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34610 (exit $ac_status); } &&
34611 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34613 (eval $ac_try) 2>&5
34615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34616 (exit $ac_status); }; } &&
34617 { ac_try='test -s conftest$ac_exeext'
34618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34619 (eval $ac_try) 2>&5
34621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34622 (exit $ac_status); }; }; then
34623 ac_cv_lib_msvcrt_wcslen=yes
34625 echo "$as_me: failed program was:" >&5
34626 sed 's/^/| /' conftest.$ac_ext >&5
34628 ac_cv_lib_msvcrt_wcslen=no
34630 rm -f conftest.err conftest.$ac_objext \
34631 conftest$ac_exeext conftest.$ac_ext
34632 LIBS=$ac_check_lib_save_LIBS
34634 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34635 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34636 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34641 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34642 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34643 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34644 echo $ECHO_N "(cached) $ECHO_C" >&6
34646 ac_check_lib_save_LIBS=$LIBS
34648 cat >conftest.$ac_ext <<_ACEOF
34651 cat confdefs.h >>conftest.$ac_ext
34652 cat >>conftest.$ac_ext <<_ACEOF
34653 /* end confdefs.h. */
34655 /* Override any gcc2 internal prototype to avoid an error. */
34659 /* We use char because int might match the return type of a gcc2
34660 builtin and then its argument prototype would still apply. */
34670 rm -f conftest.$ac_objext conftest$ac_exeext
34671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34672 (eval $ac_link) 2>conftest.er1
34674 grep -v '^ *+' conftest.er1 >conftest.err
34676 cat conftest.err >&5
34677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34678 (exit $ac_status); } &&
34679 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34681 (eval $ac_try) 2>&5
34683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34684 (exit $ac_status); }; } &&
34685 { ac_try='test -s conftest$ac_exeext'
34686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34687 (eval $ac_try) 2>&5
34689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34690 (exit $ac_status); }; }; then
34691 ac_cv_lib_w_wcslen=yes
34693 echo "$as_me: failed program was:" >&5
34694 sed 's/^/| /' conftest.$ac_ext >&5
34696 ac_cv_lib_w_wcslen=no
34698 rm -f conftest.err conftest.$ac_objext \
34699 conftest$ac_exeext conftest.$ac_ext
34700 LIBS=$ac_check_lib_save_LIBS
34702 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34703 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34704 if test $ac_cv_lib_w_wcslen = yes; then
34714 if test "$WCSLEN_FOUND" = 1; then
34715 cat >>confdefs.h <<\_ACEOF
34716 #define HAVE_WCSLEN 1
34721 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34722 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34725 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34726 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34727 if test "${ac_cv_type_mbstate_t+set}" = set; then
34728 echo $ECHO_N "(cached) $ECHO_C" >&6
34730 cat >conftest.$ac_ext <<_ACEOF
34733 cat confdefs.h >>conftest.$ac_ext
34734 cat >>conftest.$ac_ext <<_ACEOF
34735 /* end confdefs.h. */
34741 if ((mbstate_t *) 0)
34743 if (sizeof (mbstate_t))
34749 rm -f conftest.$ac_objext
34750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34751 (eval $ac_compile) 2>conftest.er1
34753 grep -v '^ *+' conftest.er1 >conftest.err
34755 cat conftest.err >&5
34756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34757 (exit $ac_status); } &&
34758 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34760 (eval $ac_try) 2>&5
34762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34763 (exit $ac_status); }; } &&
34764 { ac_try='test -s conftest.$ac_objext'
34765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34766 (eval $ac_try) 2>&5
34768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34769 (exit $ac_status); }; }; then
34770 ac_cv_type_mbstate_t=yes
34772 echo "$as_me: failed program was:" >&5
34773 sed 's/^/| /' conftest.$ac_ext >&5
34775 ac_cv_type_mbstate_t=no
34777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34779 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34780 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34781 if test $ac_cv_type_mbstate_t = yes; then
34783 cat >>confdefs.h <<_ACEOF
34784 #define HAVE_MBSTATE_T 1
34788 for ac_func in wcsrtombs
34790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34791 echo "$as_me:$LINENO: checking for $ac_func" >&5
34792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34793 if eval "test \"\${$as_ac_var+set}\" = set"; then
34794 echo $ECHO_N "(cached) $ECHO_C" >&6
34796 cat >conftest.$ac_ext <<_ACEOF
34799 cat confdefs.h >>conftest.$ac_ext
34800 cat >>conftest.$ac_ext <<_ACEOF
34801 /* end confdefs.h. */
34802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34804 #define $ac_func innocuous_$ac_func
34806 /* System header to define __stub macros and hopefully few prototypes,
34807 which can conflict with char $ac_func (); below.
34808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34809 <limits.h> exists even on freestanding compilers. */
34812 # include <limits.h>
34814 # include <assert.h>
34819 /* Override any gcc2 internal prototype to avoid an error. */
34824 /* We use char because int might match the return type of a gcc2
34825 builtin and then its argument prototype would still apply. */
34827 /* The GNU C library defines this for functions which it implements
34828 to always fail with ENOSYS. Some functions are actually named
34829 something starting with __ and the normal name is an alias. */
34830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34833 char (*f) () = $ac_func;
34842 return f != $ac_func;
34847 rm -f conftest.$ac_objext conftest$ac_exeext
34848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34849 (eval $ac_link) 2>conftest.er1
34851 grep -v '^ *+' conftest.er1 >conftest.err
34853 cat conftest.err >&5
34854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34855 (exit $ac_status); } &&
34856 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34858 (eval $ac_try) 2>&5
34860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34861 (exit $ac_status); }; } &&
34862 { ac_try='test -s conftest$ac_exeext'
34863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34864 (eval $ac_try) 2>&5
34866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34867 (exit $ac_status); }; }; then
34868 eval "$as_ac_var=yes"
34870 echo "$as_me: failed program was:" >&5
34871 sed 's/^/| /' conftest.$ac_ext >&5
34873 eval "$as_ac_var=no"
34875 rm -f conftest.err conftest.$ac_objext \
34876 conftest$ac_exeext conftest.$ac_ext
34878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34880 if test `eval echo '${'$as_ac_var'}'` = yes; then
34881 cat >>confdefs.h <<_ACEOF
34882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34891 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34892 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34897 for ac_func in snprintf vsnprintf
34899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34900 echo "$as_me:$LINENO: checking for $ac_func" >&5
34901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34902 if eval "test \"\${$as_ac_var+set}\" = set"; then
34903 echo $ECHO_N "(cached) $ECHO_C" >&6
34905 cat >conftest.$ac_ext <<_ACEOF
34908 cat confdefs.h >>conftest.$ac_ext
34909 cat >>conftest.$ac_ext <<_ACEOF
34910 /* end confdefs.h. */
34911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34913 #define $ac_func innocuous_$ac_func
34915 /* System header to define __stub macros and hopefully few prototypes,
34916 which can conflict with char $ac_func (); below.
34917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34918 <limits.h> exists even on freestanding compilers. */
34921 # include <limits.h>
34923 # include <assert.h>
34928 /* Override any gcc2 internal prototype to avoid an error. */
34933 /* We use char because int might match the return type of a gcc2
34934 builtin and then its argument prototype would still apply. */
34936 /* The GNU C library defines this for functions which it implements
34937 to always fail with ENOSYS. Some functions are actually named
34938 something starting with __ and the normal name is an alias. */
34939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34942 char (*f) () = $ac_func;
34951 return f != $ac_func;
34956 rm -f conftest.$ac_objext conftest$ac_exeext
34957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34958 (eval $ac_link) 2>conftest.er1
34960 grep -v '^ *+' conftest.er1 >conftest.err
34962 cat conftest.err >&5
34963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34964 (exit $ac_status); } &&
34965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34967 (eval $ac_try) 2>&5
34969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34970 (exit $ac_status); }; } &&
34971 { ac_try='test -s conftest$ac_exeext'
34972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34973 (eval $ac_try) 2>&5
34975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34976 (exit $ac_status); }; }; then
34977 eval "$as_ac_var=yes"
34979 echo "$as_me: failed program was:" >&5
34980 sed 's/^/| /' conftest.$ac_ext >&5
34982 eval "$as_ac_var=no"
34984 rm -f conftest.err conftest.$ac_objext \
34985 conftest$ac_exeext conftest.$ac_ext
34987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34989 if test `eval echo '${'$as_ac_var'}'` = yes; then
34990 cat >>confdefs.h <<_ACEOF
34991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34998 if test "$ac_cv_func_vsnprintf" = "yes"; then
34999 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35000 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35001 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35002 echo $ECHO_N "(cached) $ECHO_C" >&6
35005 cat >conftest.$ac_ext <<_ACEOF
35008 cat confdefs.h >>conftest.$ac_ext
35009 cat >>conftest.$ac_ext <<_ACEOF
35010 /* end confdefs.h. */
35013 #include <stdarg.h>
35015 #if __MSL__ >= 0x6000
35017 using namespace std;
35027 vsnprintf(buf, 10u, "%s", ap);
35033 rm -f conftest.$ac_objext
35034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35035 (eval $ac_compile) 2>conftest.er1
35037 grep -v '^ *+' conftest.er1 >conftest.err
35039 cat conftest.err >&5
35040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35041 (exit $ac_status); } &&
35042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35044 (eval $ac_try) 2>&5
35046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35047 (exit $ac_status); }; } &&
35048 { ac_try='test -s conftest.$ac_objext'
35049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35050 (eval $ac_try) 2>&5
35052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35053 (exit $ac_status); }; }; then
35054 wx_cv_func_vsnprintf_decl=yes
35056 echo "$as_me: failed program was:" >&5
35057 sed 's/^/| /' conftest.$ac_ext >&5
35059 wx_cv_func_vsnprintf_decl=no
35062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35066 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35067 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35069 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35070 cat >>confdefs.h <<\_ACEOF
35071 #define HAVE_VSNPRINTF_DECL 1
35075 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35076 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35077 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35078 echo $ECHO_N "(cached) $ECHO_C" >&6
35081 cat >conftest.$ac_ext <<_ACEOF
35084 cat confdefs.h >>conftest.$ac_ext
35085 cat >>conftest.$ac_ext <<_ACEOF
35086 /* end confdefs.h. */
35089 #include <stdarg.h>
35091 #if __MSL__ >= 0x6000
35093 using namespace std;
35103 const char *fmt = "%s";
35104 vsnprintf(buf, 10u, fmt, ap);
35110 rm -f conftest.$ac_objext
35111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35112 (eval $ac_compile) 2>conftest.er1
35114 grep -v '^ *+' conftest.er1 >conftest.err
35116 cat conftest.err >&5
35117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35118 (exit $ac_status); } &&
35119 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35121 (eval $ac_try) 2>&5
35123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35124 (exit $ac_status); }; } &&
35125 { ac_try='test -s conftest.$ac_objext'
35126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35127 (eval $ac_try) 2>&5
35129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35130 (exit $ac_status); }; }; then
35131 wx_cv_func_broken_vsnprintf_decl=no
35133 echo "$as_me: failed program was:" >&5
35134 sed 's/^/| /' conftest.$ac_ext >&5
35136 wx_cv_func_broken_vsnprintf_decl=yes
35139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35143 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35144 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35146 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35147 cat >>confdefs.h <<\_ACEOF
35148 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35155 if test "$ac_cv_func_snprintf" = "yes"; then
35156 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35157 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35158 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35159 echo $ECHO_N "(cached) $ECHO_C" >&6
35162 cat >conftest.$ac_ext <<_ACEOF
35165 cat confdefs.h >>conftest.$ac_ext
35166 cat >>conftest.$ac_ext <<_ACEOF
35167 /* end confdefs.h. */
35170 #include <stdarg.h>
35172 #if __MSL__ >= 0x6000
35174 using namespace std;
35183 snprintf(buf, 10u, "%s", "wx");
35189 rm -f conftest.$ac_objext
35190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35191 (eval $ac_compile) 2>conftest.er1
35193 grep -v '^ *+' conftest.er1 >conftest.err
35195 cat conftest.err >&5
35196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35197 (exit $ac_status); } &&
35198 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35200 (eval $ac_try) 2>&5
35202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35203 (exit $ac_status); }; } &&
35204 { ac_try='test -s conftest.$ac_objext'
35205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35206 (eval $ac_try) 2>&5
35208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35209 (exit $ac_status); }; }; then
35210 wx_cv_func_snprintf_decl=yes
35212 echo "$as_me: failed program was:" >&5
35213 sed 's/^/| /' conftest.$ac_ext >&5
35215 wx_cv_func_snprintf_decl=no
35218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35222 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35223 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35225 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35226 cat >>confdefs.h <<\_ACEOF
35227 #define HAVE_SNPRINTF_DECL 1
35231 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35232 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35233 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35234 echo $ECHO_N "(cached) $ECHO_C" >&6
35237 cat >conftest.$ac_ext <<_ACEOF
35240 cat confdefs.h >>conftest.$ac_ext
35241 cat >>conftest.$ac_ext <<_ACEOF
35242 /* end confdefs.h. */
35245 #include <stdarg.h>
35247 #if __MSL__ >= 0x6000
35249 using namespace std;
35258 const char *fmt = "%s";
35259 snprintf(buf, 10u, fmt, "wx");
35265 rm -f conftest.$ac_objext
35266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35267 (eval $ac_compile) 2>conftest.er1
35269 grep -v '^ *+' conftest.er1 >conftest.err
35271 cat conftest.err >&5
35272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35273 (exit $ac_status); } &&
35274 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35276 (eval $ac_try) 2>&5
35278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35279 (exit $ac_status); }; } &&
35280 { ac_try='test -s conftest.$ac_objext'
35281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35282 (eval $ac_try) 2>&5
35284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35285 (exit $ac_status); }; }; then
35286 wx_cv_func_broken_snprintf_decl=no
35288 echo "$as_me: failed program was:" >&5
35289 sed 's/^/| /' conftest.$ac_ext >&5
35291 wx_cv_func_broken_snprintf_decl=yes
35294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35298 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35299 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35301 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35302 cat >>confdefs.h <<\_ACEOF
35303 #define HAVE_BROKEN_SNPRINTF_DECL 1
35309 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35311 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35312 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35313 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35314 echo $ECHO_N "(cached) $ECHO_C" >&6
35317 if test "$cross_compiling" = yes; then
35319 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35320 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35321 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35322 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35323 wx_cv_func_snprintf_pos_params=no
35327 cat >conftest.$ac_ext <<_ACEOF
35330 cat confdefs.h >>conftest.$ac_ext
35331 cat >>conftest.$ac_ext <<_ACEOF
35332 /* end confdefs.h. */
35339 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35340 if (strcmp ("2 3 1", buffer) == 0)
35346 rm -f conftest$ac_exeext
35347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35348 (eval $ac_link) 2>&5
35350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35351 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35353 (eval $ac_try) 2>&5
35355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35356 (exit $ac_status); }; }; then
35357 wx_cv_func_snprintf_pos_params=no
35359 echo "$as_me: program exited with status $ac_status" >&5
35360 echo "$as_me: failed program was:" >&5
35361 sed 's/^/| /' conftest.$ac_ext >&5
35363 ( exit $ac_status )
35364 wx_cv_func_snprintf_pos_params=yes
35366 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35371 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35372 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35374 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35375 cat >>confdefs.h <<\_ACEOF
35376 #define HAVE_UNIX98_PRINTF 1
35383 if test "$wxUSE_UNICODE" = yes; then
35386 for ac_func in swprintf
35388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35389 echo "$as_me:$LINENO: checking for $ac_func" >&5
35390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35391 if eval "test \"\${$as_ac_var+set}\" = set"; then
35392 echo $ECHO_N "(cached) $ECHO_C" >&6
35394 cat >conftest.$ac_ext <<_ACEOF
35397 cat confdefs.h >>conftest.$ac_ext
35398 cat >>conftest.$ac_ext <<_ACEOF
35399 /* end confdefs.h. */
35400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35402 #define $ac_func innocuous_$ac_func
35404 /* System header to define __stub macros and hopefully few prototypes,
35405 which can conflict with char $ac_func (); below.
35406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35407 <limits.h> exists even on freestanding compilers. */
35410 # include <limits.h>
35412 # include <assert.h>
35417 /* Override any gcc2 internal prototype to avoid an error. */
35422 /* We use char because int might match the return type of a gcc2
35423 builtin and then its argument prototype would still apply. */
35425 /* The GNU C library defines this for functions which it implements
35426 to always fail with ENOSYS. Some functions are actually named
35427 something starting with __ and the normal name is an alias. */
35428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35431 char (*f) () = $ac_func;
35440 return f != $ac_func;
35445 rm -f conftest.$ac_objext conftest$ac_exeext
35446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35447 (eval $ac_link) 2>conftest.er1
35449 grep -v '^ *+' conftest.er1 >conftest.err
35451 cat conftest.err >&5
35452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35453 (exit $ac_status); } &&
35454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35456 (eval $ac_try) 2>&5
35458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35459 (exit $ac_status); }; } &&
35460 { ac_try='test -s conftest$ac_exeext'
35461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35462 (eval $ac_try) 2>&5
35464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35465 (exit $ac_status); }; }; then
35466 eval "$as_ac_var=yes"
35468 echo "$as_me: failed program was:" >&5
35469 sed 's/^/| /' conftest.$ac_ext >&5
35471 eval "$as_ac_var=no"
35473 rm -f conftest.err conftest.$ac_objext \
35474 conftest$ac_exeext conftest.$ac_ext
35476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35478 if test `eval echo '${'$as_ac_var'}'` = yes; then
35479 cat >>confdefs.h <<_ACEOF
35480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35487 if test "$ac_cv_func_swprintf" = "yes"; then
35488 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35489 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35490 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35491 echo $ECHO_N "(cached) $ECHO_C" >&6
35494 cat >conftest.$ac_ext <<_ACEOF
35497 cat confdefs.h >>conftest.$ac_ext
35498 cat >>conftest.$ac_ext <<_ACEOF
35499 /* end confdefs.h. */
35502 #include <stdarg.h>
35510 const wchar_t *fmt = L"test";
35511 swprintf(buf, 10u, fmt);
35517 rm -f conftest.$ac_objext
35518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35519 (eval $ac_compile) 2>conftest.er1
35521 grep -v '^ *+' conftest.er1 >conftest.err
35523 cat conftest.err >&5
35524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35525 (exit $ac_status); } &&
35526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35528 (eval $ac_try) 2>&5
35530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35531 (exit $ac_status); }; } &&
35532 { ac_try='test -s conftest.$ac_objext'
35533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35534 (eval $ac_try) 2>&5
35536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35537 (exit $ac_status); }; }; then
35538 wx_cv_func_broken_swprintf_decl=no
35540 echo "$as_me: failed program was:" >&5
35541 sed 's/^/| /' conftest.$ac_ext >&5
35543 wx_cv_func_broken_swprintf_decl=yes
35546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35550 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35551 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35553 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35554 cat >>confdefs.h <<\_ACEOF
35555 #define HAVE_BROKEN_SWPRINTF_DECL 1
35561 wchar_headers="#include <stdio.h>
35562 #include <wchar.h>"
35566 for ac_header in widec.h
35568 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35570 echo "$as_me:$LINENO: checking for $ac_header" >&5
35571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35573 echo $ECHO_N "(cached) $ECHO_C" >&6
35575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35576 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35578 # Is the header compilable?
35579 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35580 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35581 cat >conftest.$ac_ext <<_ACEOF
35584 cat confdefs.h >>conftest.$ac_ext
35585 cat >>conftest.$ac_ext <<_ACEOF
35586 /* end confdefs.h. */
35587 $ac_includes_default
35588 #include <$ac_header>
35590 rm -f conftest.$ac_objext
35591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35592 (eval $ac_compile) 2>conftest.er1
35594 grep -v '^ *+' conftest.er1 >conftest.err
35596 cat conftest.err >&5
35597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35598 (exit $ac_status); } &&
35599 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35601 (eval $ac_try) 2>&5
35603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35604 (exit $ac_status); }; } &&
35605 { ac_try='test -s conftest.$ac_objext'
35606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35607 (eval $ac_try) 2>&5
35609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35610 (exit $ac_status); }; }; then
35611 ac_header_compiler=yes
35613 echo "$as_me: failed program was:" >&5
35614 sed 's/^/| /' conftest.$ac_ext >&5
35616 ac_header_compiler=no
35618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35619 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35620 echo "${ECHO_T}$ac_header_compiler" >&6
35622 # Is the header present?
35623 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35624 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35625 cat >conftest.$ac_ext <<_ACEOF
35628 cat confdefs.h >>conftest.$ac_ext
35629 cat >>conftest.$ac_ext <<_ACEOF
35630 /* end confdefs.h. */
35631 #include <$ac_header>
35633 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35634 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35636 grep -v '^ *+' conftest.er1 >conftest.err
35638 cat conftest.err >&5
35639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35640 (exit $ac_status); } >/dev/null; then
35641 if test -s conftest.err; then
35642 ac_cpp_err=$ac_c_preproc_warn_flag
35643 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35650 if test -z "$ac_cpp_err"; then
35651 ac_header_preproc=yes
35653 echo "$as_me: failed program was:" >&5
35654 sed 's/^/| /' conftest.$ac_ext >&5
35656 ac_header_preproc=no
35658 rm -f conftest.err conftest.$ac_ext
35659 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35660 echo "${ECHO_T}$ac_header_preproc" >&6
35662 # So? What about this header?
35663 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35665 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35666 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35667 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35668 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35669 ac_header_preproc=yes
35672 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35673 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35674 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35675 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35676 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35677 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35678 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35679 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35680 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35681 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35682 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35683 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35686 ## ----------------------------------------- ##
35687 ## Report this to wx-dev@lists.wxwidgets.org ##
35688 ## ----------------------------------------- ##
35691 sed "s/^/$as_me: WARNING: /" >&2
35694 echo "$as_me:$LINENO: checking for $ac_header" >&5
35695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35697 echo $ECHO_N "(cached) $ECHO_C" >&6
35699 eval "$as_ac_Header=\$ac_header_preproc"
35701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35702 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35705 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35706 cat >>confdefs.h <<_ACEOF
35707 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35714 if test "$ac_cv_header_widec_h" = "yes"; then
35715 wchar_headers="$wchar_headers
35716 #include <widec.h>"
35721 for wx_func in wputc wputchar putws fputws wprintf vswprintf
35723 echo "$as_me:$LINENO: checking for $wx_func" >&5
35724 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
35725 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
35726 echo $ECHO_N "(cached) $ECHO_C" >&6
35729 cat >conftest.$ac_ext <<_ACEOF
35733 cat confdefs.h >>conftest.$ac_ext
35734 cat >>conftest.$ac_ext <<_ACEOF
35735 /* end confdefs.h. */
35738 $ac_includes_default
35754 rm -f conftest.$ac_objext conftest$ac_exeext
35755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35756 (eval $ac_link) 2>conftest.er1
35758 grep -v '^ *+' conftest.er1 >conftest.err
35760 cat conftest.err >&5
35761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35762 (exit $ac_status); } &&
35763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35765 (eval $ac_try) 2>&5
35767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35768 (exit $ac_status); }; } &&
35769 { ac_try='test -s conftest$ac_exeext'
35770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35771 (eval $ac_try) 2>&5
35773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35774 (exit $ac_status); }; }; then
35775 eval wx_cv_func_$wx_func=yes
35777 echo "$as_me: failed program was:" >&5
35778 sed 's/^/| /' conftest.$ac_ext >&5
35780 eval wx_cv_func_$wx_func=no
35782 rm -f conftest.err conftest.$ac_objext \
35783 conftest$ac_exeext conftest.$ac_ext
35786 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
35787 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
35789 if eval test \$wx_cv_func_$wx_func = yes
35791 cat >>confdefs.h <<_ACEOF
35792 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35803 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35804 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35805 cat >conftest.$ac_ext <<_ACEOF
35808 cat confdefs.h >>conftest.$ac_ext
35809 cat >>conftest.$ac_ext <<_ACEOF
35810 /* end confdefs.h. */
35820 rm -f conftest.$ac_objext
35821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35822 (eval $ac_compile) 2>conftest.er1
35824 grep -v '^ *+' conftest.er1 >conftest.err
35826 cat conftest.err >&5
35827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35828 (exit $ac_status); } &&
35829 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35831 (eval $ac_try) 2>&5
35833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35834 (exit $ac_status); }; } &&
35835 { ac_try='test -s conftest.$ac_objext'
35836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35837 (eval $ac_try) 2>&5
35839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35840 (exit $ac_status); }; }; then
35841 echo "$as_me:$LINENO: result: yes" >&5
35842 echo "${ECHO_T}yes" >&6
35843 cat >>confdefs.h <<\_ACEOF
35844 #define HAVE__VSNWPRINTF 1
35848 echo "$as_me: failed program was:" >&5
35849 sed 's/^/| /' conftest.$ac_ext >&5
35851 echo "$as_me:$LINENO: result: no" >&5
35852 echo "${ECHO_T}no" >&6
35854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
35857 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35859 for wx_func in fnmatch
35861 echo "$as_me:$LINENO: checking for $wx_func" >&5
35862 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
35863 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
35864 echo $ECHO_N "(cached) $ECHO_C" >&6
35867 cat >conftest.$ac_ext <<_ACEOF
35871 cat confdefs.h >>conftest.$ac_ext
35872 cat >>conftest.$ac_ext <<_ACEOF
35873 /* end confdefs.h. */
35875 #include <fnmatch.h>
35876 $ac_includes_default
35892 rm -f conftest.$ac_objext conftest$ac_exeext
35893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35894 (eval $ac_link) 2>conftest.er1
35896 grep -v '^ *+' conftest.er1 >conftest.err
35898 cat conftest.err >&5
35899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35900 (exit $ac_status); } &&
35901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35903 (eval $ac_try) 2>&5
35905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35906 (exit $ac_status); }; } &&
35907 { ac_try='test -s conftest$ac_exeext'
35908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35909 (eval $ac_try) 2>&5
35911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35912 (exit $ac_status); }; }; then
35913 eval wx_cv_func_$wx_func=yes
35915 echo "$as_me: failed program was:" >&5
35916 sed 's/^/| /' conftest.$ac_ext >&5
35918 eval wx_cv_func_$wx_func=no
35920 rm -f conftest.err conftest.$ac_objext \
35921 conftest$ac_exeext conftest.$ac_ext
35924 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
35925 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
35927 if eval test \$wx_cv_func_$wx_func = yes
35929 cat >>confdefs.h <<_ACEOF
35930 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35942 if test "$wxUSE_FILE" = "yes"; then
35944 for wx_func in fsync
35946 echo "$as_me:$LINENO: checking for $wx_func" >&5
35947 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
35948 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
35949 echo $ECHO_N "(cached) $ECHO_C" >&6
35952 cat >conftest.$ac_ext <<_ACEOF
35956 cat confdefs.h >>conftest.$ac_ext
35957 cat >>conftest.$ac_ext <<_ACEOF
35958 /* end confdefs.h. */
35961 $ac_includes_default
35977 rm -f conftest.$ac_objext conftest$ac_exeext
35978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35979 (eval $ac_link) 2>conftest.er1
35981 grep -v '^ *+' conftest.er1 >conftest.err
35983 cat conftest.err >&5
35984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35985 (exit $ac_status); } &&
35986 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35988 (eval $ac_try) 2>&5
35990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35991 (exit $ac_status); }; } &&
35992 { ac_try='test -s conftest$ac_exeext'
35993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35994 (eval $ac_try) 2>&5
35996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35997 (exit $ac_status); }; }; then
35998 eval wx_cv_func_$wx_func=yes
36000 echo "$as_me: failed program was:" >&5
36001 sed 's/^/| /' conftest.$ac_ext >&5
36003 eval wx_cv_func_$wx_func=no
36005 rm -f conftest.err conftest.$ac_objext \
36006 conftest$ac_exeext conftest.$ac_ext
36009 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36010 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36012 if eval test \$wx_cv_func_$wx_func = yes
36014 cat >>confdefs.h <<_ACEOF
36015 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36028 for wx_func in round
36030 echo "$as_me:$LINENO: checking for $wx_func" >&5
36031 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36032 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36033 echo $ECHO_N "(cached) $ECHO_C" >&6
36036 cat >conftest.$ac_ext <<_ACEOF
36040 cat confdefs.h >>conftest.$ac_ext
36041 cat >>conftest.$ac_ext <<_ACEOF
36042 /* end confdefs.h. */
36045 $ac_includes_default
36061 rm -f conftest.$ac_objext conftest$ac_exeext
36062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36063 (eval $ac_link) 2>conftest.er1
36065 grep -v '^ *+' conftest.er1 >conftest.err
36067 cat conftest.err >&5
36068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36069 (exit $ac_status); } &&
36070 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36072 (eval $ac_try) 2>&5
36074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36075 (exit $ac_status); }; } &&
36076 { ac_try='test -s conftest$ac_exeext'
36077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36078 (eval $ac_try) 2>&5
36080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36081 (exit $ac_status); }; }; then
36082 eval wx_cv_func_$wx_func=yes
36084 echo "$as_me: failed program was:" >&5
36085 sed 's/^/| /' conftest.$ac_ext >&5
36087 eval wx_cv_func_$wx_func=no
36089 rm -f conftest.err conftest.$ac_objext \
36090 conftest$ac_exeext conftest.$ac_ext
36093 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36094 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36096 if eval test \$wx_cv_func_$wx_func = yes
36098 cat >>confdefs.h <<_ACEOF
36099 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36110 if test "$TOOLKIT" != "MSW"; then
36116 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36117 if test "${with_libiconv_prefix+set}" = set; then
36118 withval="$with_libiconv_prefix"
36120 for dir in `echo "$withval" | tr : ' '`; do
36121 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36122 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36127 echo "$as_me:$LINENO: checking for iconv" >&5
36128 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36129 if test "${am_cv_func_iconv+set}" = set; then
36130 echo $ECHO_N "(cached) $ECHO_C" >&6
36133 am_cv_func_iconv="no, consider installing GNU libiconv"
36135 cat >conftest.$ac_ext <<_ACEOF
36138 cat confdefs.h >>conftest.$ac_ext
36139 cat >>conftest.$ac_ext <<_ACEOF
36140 /* end confdefs.h. */
36141 #include <stdlib.h>
36146 iconv_t cd = iconv_open("","");
36147 iconv(cd,NULL,NULL,NULL,NULL);
36153 rm -f conftest.$ac_objext conftest$ac_exeext
36154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36155 (eval $ac_link) 2>conftest.er1
36157 grep -v '^ *+' conftest.er1 >conftest.err
36159 cat conftest.err >&5
36160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36161 (exit $ac_status); } &&
36162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36164 (eval $ac_try) 2>&5
36166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36167 (exit $ac_status); }; } &&
36168 { ac_try='test -s conftest$ac_exeext'
36169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36170 (eval $ac_try) 2>&5
36172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36173 (exit $ac_status); }; }; then
36174 am_cv_func_iconv=yes
36176 echo "$as_me: failed program was:" >&5
36177 sed 's/^/| /' conftest.$ac_ext >&5
36180 rm -f conftest.err conftest.$ac_objext \
36181 conftest$ac_exeext conftest.$ac_ext
36182 if test "$am_cv_func_iconv" != yes; then
36183 am_save_LIBS="$LIBS"
36184 LIBS="$LIBS -liconv"
36185 cat >conftest.$ac_ext <<_ACEOF
36188 cat confdefs.h >>conftest.$ac_ext
36189 cat >>conftest.$ac_ext <<_ACEOF
36190 /* end confdefs.h. */
36191 #include <stdlib.h>
36196 iconv_t cd = iconv_open("","");
36197 iconv(cd,NULL,NULL,NULL,NULL);
36203 rm -f conftest.$ac_objext conftest$ac_exeext
36204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36205 (eval $ac_link) 2>conftest.er1
36207 grep -v '^ *+' conftest.er1 >conftest.err
36209 cat conftest.err >&5
36210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36211 (exit $ac_status); } &&
36212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36214 (eval $ac_try) 2>&5
36216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36217 (exit $ac_status); }; } &&
36218 { ac_try='test -s conftest$ac_exeext'
36219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36220 (eval $ac_try) 2>&5
36222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36223 (exit $ac_status); }; }; then
36224 am_cv_lib_iconv=yes
36225 am_cv_func_iconv=yes
36227 echo "$as_me: failed program was:" >&5
36228 sed 's/^/| /' conftest.$ac_ext >&5
36231 rm -f conftest.err conftest.$ac_objext \
36232 conftest$ac_exeext conftest.$ac_ext
36233 LIBS="$am_save_LIBS"
36237 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36238 echo "${ECHO_T}$am_cv_func_iconv" >&6
36239 if test "$am_cv_func_iconv" = yes; then
36241 cat >>confdefs.h <<\_ACEOF
36242 #define HAVE_ICONV 1
36245 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36246 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36247 if test "${wx_cv_func_iconv_const+set}" = set; then
36248 echo $ECHO_N "(cached) $ECHO_C" >&6
36250 cat >conftest.$ac_ext <<_ACEOF
36253 cat confdefs.h >>conftest.$ac_ext
36254 cat >>conftest.$ac_ext <<_ACEOF
36255 /* end confdefs.h. */
36257 #include <stdlib.h>
36263 #if defined(__STDC__) || defined(__cplusplus)
36264 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36277 rm -f conftest.$ac_objext
36278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36279 (eval $ac_compile) 2>conftest.er1
36281 grep -v '^ *+' conftest.er1 >conftest.err
36283 cat conftest.err >&5
36284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36285 (exit $ac_status); } &&
36286 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36288 (eval $ac_try) 2>&5
36290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36291 (exit $ac_status); }; } &&
36292 { ac_try='test -s conftest.$ac_objext'
36293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36294 (eval $ac_try) 2>&5
36296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36297 (exit $ac_status); }; }; then
36298 wx_cv_func_iconv_const="no"
36300 echo "$as_me: failed program was:" >&5
36301 sed 's/^/| /' conftest.$ac_ext >&5
36303 wx_cv_func_iconv_const="yes"
36306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36309 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36310 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36313 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36314 iconv_const="const"
36318 cat >>confdefs.h <<_ACEOF
36319 #define ICONV_CONST $iconv_const
36324 if test "$am_cv_lib_iconv" = yes; then
36329 LIBS="$LIBICONV $LIBS"
36331 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36333 for ac_func in sigaction
36335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36336 echo "$as_me:$LINENO: checking for $ac_func" >&5
36337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36338 if eval "test \"\${$as_ac_var+set}\" = set"; then
36339 echo $ECHO_N "(cached) $ECHO_C" >&6
36341 cat >conftest.$ac_ext <<_ACEOF
36344 cat confdefs.h >>conftest.$ac_ext
36345 cat >>conftest.$ac_ext <<_ACEOF
36346 /* end confdefs.h. */
36347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36349 #define $ac_func innocuous_$ac_func
36351 /* System header to define __stub macros and hopefully few prototypes,
36352 which can conflict with char $ac_func (); below.
36353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36354 <limits.h> exists even on freestanding compilers. */
36357 # include <limits.h>
36359 # include <assert.h>
36364 /* Override any gcc2 internal prototype to avoid an error. */
36369 /* We use char because int might match the return type of a gcc2
36370 builtin and then its argument prototype would still apply. */
36372 /* The GNU C library defines this for functions which it implements
36373 to always fail with ENOSYS. Some functions are actually named
36374 something starting with __ and the normal name is an alias. */
36375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36378 char (*f) () = $ac_func;
36387 return f != $ac_func;
36392 rm -f conftest.$ac_objext conftest$ac_exeext
36393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36394 (eval $ac_link) 2>conftest.er1
36396 grep -v '^ *+' conftest.er1 >conftest.err
36398 cat conftest.err >&5
36399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36400 (exit $ac_status); } &&
36401 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36403 (eval $ac_try) 2>&5
36405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36406 (exit $ac_status); }; } &&
36407 { ac_try='test -s conftest$ac_exeext'
36408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36409 (eval $ac_try) 2>&5
36411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36412 (exit $ac_status); }; }; then
36413 eval "$as_ac_var=yes"
36415 echo "$as_me: failed program was:" >&5
36416 sed 's/^/| /' conftest.$ac_ext >&5
36418 eval "$as_ac_var=no"
36420 rm -f conftest.err conftest.$ac_objext \
36421 conftest$ac_exeext conftest.$ac_ext
36423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36425 if test `eval echo '${'$as_ac_var'}'` = yes; then
36426 cat >>confdefs.h <<_ACEOF
36427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36434 if test "$ac_cv_func_sigaction" = "no"; then
36435 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36436 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36437 wxUSE_ON_FATAL_EXCEPTION=no
36440 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36441 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36442 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36443 if test "${wx_cv_type_sa_handler+set}" = set; then
36444 echo $ECHO_N "(cached) $ECHO_C" >&6
36448 ac_cpp='$CXXCPP $CPPFLAGS'
36449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36453 cat >conftest.$ac_ext <<_ACEOF
36456 cat confdefs.h >>conftest.$ac_ext
36457 cat >>conftest.$ac_ext <<_ACEOF
36458 /* end confdefs.h. */
36459 #include <signal.h>
36464 extern void testSigHandler(int);
36466 struct sigaction sa;
36467 sa.sa_handler = testSigHandler;
36473 rm -f conftest.$ac_objext
36474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36475 (eval $ac_compile) 2>conftest.er1
36477 grep -v '^ *+' conftest.er1 >conftest.err
36479 cat conftest.err >&5
36480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36481 (exit $ac_status); } &&
36482 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36484 (eval $ac_try) 2>&5
36486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36487 (exit $ac_status); }; } &&
36488 { ac_try='test -s conftest.$ac_objext'
36489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36490 (eval $ac_try) 2>&5
36492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36493 (exit $ac_status); }; }; then
36495 wx_cv_type_sa_handler=int
36498 echo "$as_me: failed program was:" >&5
36499 sed 's/^/| /' conftest.$ac_ext >&5
36502 wx_cv_type_sa_handler=void
36505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36507 ac_cpp='$CPP $CPPFLAGS'
36508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36514 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36515 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36517 cat >>confdefs.h <<_ACEOF
36518 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36524 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36525 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36526 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36527 if test "${wx_cv_func_backtrace+set}" = set; then
36528 echo $ECHO_N "(cached) $ECHO_C" >&6
36532 ac_cpp='$CXXCPP $CPPFLAGS'
36533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36537 cat >conftest.$ac_ext <<_ACEOF
36540 cat confdefs.h >>conftest.$ac_ext
36541 cat >>conftest.$ac_ext <<_ACEOF
36542 /* end confdefs.h. */
36543 #include <execinfo.h>
36551 backtrace(trace, 1);
36552 messages = backtrace_symbols(trace, 1);
36558 rm -f conftest.$ac_objext
36559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36560 (eval $ac_compile) 2>conftest.er1
36562 grep -v '^ *+' conftest.er1 >conftest.err
36564 cat conftest.err >&5
36565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36566 (exit $ac_status); } &&
36567 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36569 (eval $ac_try) 2>&5
36571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36572 (exit $ac_status); }; } &&
36573 { ac_try='test -s conftest.$ac_objext'
36574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36575 (eval $ac_try) 2>&5
36577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36578 (exit $ac_status); }; }; then
36579 wx_cv_func_backtrace=yes
36581 echo "$as_me: failed program was:" >&5
36582 sed 's/^/| /' conftest.$ac_ext >&5
36584 wx_cv_func_backtrace=no
36587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36589 ac_cpp='$CPP $CPPFLAGS'
36590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36597 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36598 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36601 if test "$wx_cv_func_backtrace" = "no"; then
36602 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36603 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36604 wxUSE_STACKWALKER=no
36606 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36607 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36608 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36609 echo $ECHO_N "(cached) $ECHO_C" >&6
36613 ac_cpp='$CXXCPP $CPPFLAGS'
36614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36618 cat >conftest.$ac_ext <<_ACEOF
36621 cat confdefs.h >>conftest.$ac_ext
36622 cat >>conftest.$ac_ext <<_ACEOF
36623 /* end confdefs.h. */
36624 #include <cxxabi.h>
36630 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36636 rm -f conftest.$ac_objext conftest$ac_exeext
36637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36638 (eval $ac_link) 2>conftest.er1
36640 grep -v '^ *+' conftest.er1 >conftest.err
36642 cat conftest.err >&5
36643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36644 (exit $ac_status); } &&
36645 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36647 (eval $ac_try) 2>&5
36649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36650 (exit $ac_status); }; } &&
36651 { ac_try='test -s conftest$ac_exeext'
36652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36653 (eval $ac_try) 2>&5
36655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36656 (exit $ac_status); }; }; then
36657 wx_cv_func_cxa_demangle=yes
36659 echo "$as_me: failed program was:" >&5
36660 sed 's/^/| /' conftest.$ac_ext >&5
36662 wx_cv_func_cxa_demangle=no
36665 rm -f conftest.err conftest.$ac_objext \
36666 conftest$ac_exeext conftest.$ac_ext
36668 ac_cpp='$CPP $CPPFLAGS'
36669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36676 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36677 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36679 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36680 cat >>confdefs.h <<\_ACEOF
36681 #define HAVE_CXA_DEMANGLE 1
36688 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36689 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36690 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36691 wxUSE_STACKWALKER=no
36697 for ac_func in mkstemp mktemp
36699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36700 echo "$as_me:$LINENO: checking for $ac_func" >&5
36701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36702 if eval "test \"\${$as_ac_var+set}\" = set"; then
36703 echo $ECHO_N "(cached) $ECHO_C" >&6
36705 cat >conftest.$ac_ext <<_ACEOF
36708 cat confdefs.h >>conftest.$ac_ext
36709 cat >>conftest.$ac_ext <<_ACEOF
36710 /* end confdefs.h. */
36711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36713 #define $ac_func innocuous_$ac_func
36715 /* System header to define __stub macros and hopefully few prototypes,
36716 which can conflict with char $ac_func (); below.
36717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36718 <limits.h> exists even on freestanding compilers. */
36721 # include <limits.h>
36723 # include <assert.h>
36728 /* Override any gcc2 internal prototype to avoid an error. */
36733 /* We use char because int might match the return type of a gcc2
36734 builtin and then its argument prototype would still apply. */
36736 /* The GNU C library defines this for functions which it implements
36737 to always fail with ENOSYS. Some functions are actually named
36738 something starting with __ and the normal name is an alias. */
36739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36742 char (*f) () = $ac_func;
36751 return f != $ac_func;
36756 rm -f conftest.$ac_objext conftest$ac_exeext
36757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36758 (eval $ac_link) 2>conftest.er1
36760 grep -v '^ *+' conftest.er1 >conftest.err
36762 cat conftest.err >&5
36763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36764 (exit $ac_status); } &&
36765 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36767 (eval $ac_try) 2>&5
36769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36770 (exit $ac_status); }; } &&
36771 { ac_try='test -s conftest$ac_exeext'
36772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36773 (eval $ac_try) 2>&5
36775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36776 (exit $ac_status); }; }; then
36777 eval "$as_ac_var=yes"
36779 echo "$as_me: failed program was:" >&5
36780 sed 's/^/| /' conftest.$ac_ext >&5
36782 eval "$as_ac_var=no"
36784 rm -f conftest.err conftest.$ac_objext \
36785 conftest$ac_exeext conftest.$ac_ext
36787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36789 if test `eval echo '${'$as_ac_var'}'` = yes; then
36790 cat >>confdefs.h <<_ACEOF
36791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36798 echo "$as_me:$LINENO: checking for statfs" >&5
36799 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36800 if test "${wx_cv_func_statfs+set}" = set; then
36801 echo $ECHO_N "(cached) $ECHO_C" >&6
36803 cat >conftest.$ac_ext <<_ACEOF
36806 cat confdefs.h >>conftest.$ac_ext
36807 cat >>conftest.$ac_ext <<_ACEOF
36808 /* end confdefs.h. */
36810 #if defined(__BSD__)
36811 #include <sys/param.h>
36812 #include <sys/mount.h>
36814 #include <sys/vfs.h>
36832 rm -f conftest.$ac_objext
36833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36834 (eval $ac_compile) 2>conftest.er1
36836 grep -v '^ *+' conftest.er1 >conftest.err
36838 cat conftest.err >&5
36839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36840 (exit $ac_status); } &&
36841 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36843 (eval $ac_try) 2>&5
36845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36846 (exit $ac_status); }; } &&
36847 { ac_try='test -s conftest.$ac_objext'
36848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36849 (eval $ac_try) 2>&5
36851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36852 (exit $ac_status); }; }; then
36853 wx_cv_func_statfs=yes
36855 echo "$as_me: failed program was:" >&5
36856 sed 's/^/| /' conftest.$ac_ext >&5
36858 wx_cv_func_statfs=no
36861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36864 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36865 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36867 if test "$wx_cv_func_statfs" = "yes"; then
36868 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36869 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36870 if test "${wx_cv_func_statfs_decl+set}" = set; then
36871 echo $ECHO_N "(cached) $ECHO_C" >&6
36874 ac_cpp='$CXXCPP $CPPFLAGS'
36875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36879 cat >conftest.$ac_ext <<_ACEOF
36882 cat confdefs.h >>conftest.$ac_ext
36883 cat >>conftest.$ac_ext <<_ACEOF
36884 /* end confdefs.h. */
36886 #if defined(__BSD__)
36887 #include <sys/param.h>
36888 #include <sys/mount.h>
36890 #include <sys/vfs.h>
36904 rm -f conftest.$ac_objext
36905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36906 (eval $ac_compile) 2>conftest.er1
36908 grep -v '^ *+' conftest.er1 >conftest.err
36910 cat conftest.err >&5
36911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36912 (exit $ac_status); } &&
36913 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36915 (eval $ac_try) 2>&5
36917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36918 (exit $ac_status); }; } &&
36919 { ac_try='test -s conftest.$ac_objext'
36920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36921 (eval $ac_try) 2>&5
36923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36924 (exit $ac_status); }; }; then
36925 wx_cv_func_statfs_decl=yes
36927 echo "$as_me: failed program was:" >&5
36928 sed 's/^/| /' conftest.$ac_ext >&5
36930 wx_cv_func_statfs_decl=no
36933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36935 ac_cpp='$CPP $CPPFLAGS'
36936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36942 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36943 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
36945 if test "$wx_cv_func_statfs_decl" = "yes"; then
36946 cat >>confdefs.h <<\_ACEOF
36947 #define HAVE_STATFS_DECL 1
36952 wx_cv_type_statvfs_t="struct statfs"
36953 cat >>confdefs.h <<\_ACEOF
36954 #define HAVE_STATFS 1
36958 echo "$as_me:$LINENO: checking for statvfs" >&5
36959 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
36960 if test "${wx_cv_func_statvfs+set}" = set; then
36961 echo $ECHO_N "(cached) $ECHO_C" >&6
36963 cat >conftest.$ac_ext <<_ACEOF
36966 cat confdefs.h >>conftest.$ac_ext
36967 cat >>conftest.$ac_ext <<_ACEOF
36968 /* end confdefs.h. */
36970 #include <stddef.h>
36971 #include <sys/statvfs.h>
36977 statvfs("/", NULL);
36983 rm -f conftest.$ac_objext
36984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36985 (eval $ac_compile) 2>conftest.er1
36987 grep -v '^ *+' conftest.er1 >conftest.err
36989 cat conftest.err >&5
36990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36991 (exit $ac_status); } &&
36992 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36994 (eval $ac_try) 2>&5
36996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36997 (exit $ac_status); }; } &&
36998 { ac_try='test -s conftest.$ac_objext'
36999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37000 (eval $ac_try) 2>&5
37002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37003 (exit $ac_status); }; }; then
37004 wx_cv_func_statvfs=yes
37006 echo "$as_me: failed program was:" >&5
37007 sed 's/^/| /' conftest.$ac_ext >&5
37009 wx_cv_func_statvfs=no
37012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37015 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37016 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37018 if test "$wx_cv_func_statvfs" = "yes"; then
37019 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37020 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37021 if test "${wx_cv_type_statvfs_t+set}" = set; then
37022 echo $ECHO_N "(cached) $ECHO_C" >&6
37025 ac_cpp='$CXXCPP $CPPFLAGS'
37026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37030 cat >conftest.$ac_ext <<_ACEOF
37033 cat confdefs.h >>conftest.$ac_ext
37034 cat >>conftest.$ac_ext <<_ACEOF
37035 /* end confdefs.h. */
37037 #include <sys/statvfs.h>
37054 rm -f conftest.$ac_objext
37055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37056 (eval $ac_compile) 2>conftest.er1
37058 grep -v '^ *+' conftest.er1 >conftest.err
37060 cat conftest.err >&5
37061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37062 (exit $ac_status); } &&
37063 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37065 (eval $ac_try) 2>&5
37067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37068 (exit $ac_status); }; } &&
37069 { ac_try='test -s conftest.$ac_objext'
37070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37071 (eval $ac_try) 2>&5
37073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37074 (exit $ac_status); }; }; then
37075 wx_cv_type_statvfs_t=statvfs_t
37077 echo "$as_me: failed program was:" >&5
37078 sed 's/^/| /' conftest.$ac_ext >&5
37081 cat >conftest.$ac_ext <<_ACEOF
37084 cat confdefs.h >>conftest.$ac_ext
37085 cat >>conftest.$ac_ext <<_ACEOF
37086 /* end confdefs.h. */
37088 #include <sys/statvfs.h>
37105 rm -f conftest.$ac_objext
37106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37107 (eval $ac_compile) 2>conftest.er1
37109 grep -v '^ *+' conftest.er1 >conftest.err
37111 cat conftest.err >&5
37112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37113 (exit $ac_status); } &&
37114 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37116 (eval $ac_try) 2>&5
37118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37119 (exit $ac_status); }; } &&
37120 { ac_try='test -s conftest.$ac_objext'
37121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37122 (eval $ac_try) 2>&5
37124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37125 (exit $ac_status); }; }; then
37126 wx_cv_type_statvfs_t="struct statvfs"
37128 echo "$as_me: failed program was:" >&5
37129 sed 's/^/| /' conftest.$ac_ext >&5
37131 wx_cv_type_statvfs_t="unknown"
37134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37140 ac_cpp='$CPP $CPPFLAGS'
37141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37147 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37148 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37150 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37151 cat >>confdefs.h <<\_ACEOF
37152 #define HAVE_STATVFS 1
37157 wx_cv_type_statvfs_t="unknown"
37161 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37162 cat >>confdefs.h <<_ACEOF
37163 #define WX_STATFS_T $wx_cv_type_statvfs_t
37167 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37168 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37171 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37174 for ac_func in fcntl flock
37176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37177 echo "$as_me:$LINENO: checking for $ac_func" >&5
37178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37179 if eval "test \"\${$as_ac_var+set}\" = set"; then
37180 echo $ECHO_N "(cached) $ECHO_C" >&6
37182 cat >conftest.$ac_ext <<_ACEOF
37185 cat confdefs.h >>conftest.$ac_ext
37186 cat >>conftest.$ac_ext <<_ACEOF
37187 /* end confdefs.h. */
37188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37190 #define $ac_func innocuous_$ac_func
37192 /* System header to define __stub macros and hopefully few prototypes,
37193 which can conflict with char $ac_func (); below.
37194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37195 <limits.h> exists even on freestanding compilers. */
37198 # include <limits.h>
37200 # include <assert.h>
37205 /* Override any gcc2 internal prototype to avoid an error. */
37210 /* We use char because int might match the return type of a gcc2
37211 builtin and then its argument prototype would still apply. */
37213 /* The GNU C library defines this for functions which it implements
37214 to always fail with ENOSYS. Some functions are actually named
37215 something starting with __ and the normal name is an alias. */
37216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37219 char (*f) () = $ac_func;
37228 return f != $ac_func;
37233 rm -f conftest.$ac_objext conftest$ac_exeext
37234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37235 (eval $ac_link) 2>conftest.er1
37237 grep -v '^ *+' conftest.er1 >conftest.err
37239 cat conftest.err >&5
37240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37241 (exit $ac_status); } &&
37242 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37244 (eval $ac_try) 2>&5
37246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37247 (exit $ac_status); }; } &&
37248 { ac_try='test -s conftest$ac_exeext'
37249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37250 (eval $ac_try) 2>&5
37252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37253 (exit $ac_status); }; }; then
37254 eval "$as_ac_var=yes"
37256 echo "$as_me: failed program was:" >&5
37257 sed 's/^/| /' conftest.$ac_ext >&5
37259 eval "$as_ac_var=no"
37261 rm -f conftest.err conftest.$ac_objext \
37262 conftest$ac_exeext conftest.$ac_ext
37264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37266 if test `eval echo '${'$as_ac_var'}'` = yes; then
37267 cat >>confdefs.h <<_ACEOF
37268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37275 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37276 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37277 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37278 wxUSE_SNGLINST_CHECKER=no
37283 for ac_func in timegm
37285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37286 echo "$as_me:$LINENO: checking for $ac_func" >&5
37287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37288 if eval "test \"\${$as_ac_var+set}\" = set"; then
37289 echo $ECHO_N "(cached) $ECHO_C" >&6
37291 cat >conftest.$ac_ext <<_ACEOF
37294 cat confdefs.h >>conftest.$ac_ext
37295 cat >>conftest.$ac_ext <<_ACEOF
37296 /* end confdefs.h. */
37297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37299 #define $ac_func innocuous_$ac_func
37301 /* System header to define __stub macros and hopefully few prototypes,
37302 which can conflict with char $ac_func (); below.
37303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37304 <limits.h> exists even on freestanding compilers. */
37307 # include <limits.h>
37309 # include <assert.h>
37314 /* Override any gcc2 internal prototype to avoid an error. */
37319 /* We use char because int might match the return type of a gcc2
37320 builtin and then its argument prototype would still apply. */
37322 /* The GNU C library defines this for functions which it implements
37323 to always fail with ENOSYS. Some functions are actually named
37324 something starting with __ and the normal name is an alias. */
37325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37328 char (*f) () = $ac_func;
37337 return f != $ac_func;
37342 rm -f conftest.$ac_objext conftest$ac_exeext
37343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37344 (eval $ac_link) 2>conftest.er1
37346 grep -v '^ *+' conftest.er1 >conftest.err
37348 cat conftest.err >&5
37349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37350 (exit $ac_status); } &&
37351 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37353 (eval $ac_try) 2>&5
37355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37356 (exit $ac_status); }; } &&
37357 { ac_try='test -s conftest$ac_exeext'
37358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37359 (eval $ac_try) 2>&5
37361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37362 (exit $ac_status); }; }; then
37363 eval "$as_ac_var=yes"
37365 echo "$as_me: failed program was:" >&5
37366 sed 's/^/| /' conftest.$ac_ext >&5
37368 eval "$as_ac_var=no"
37370 rm -f conftest.err conftest.$ac_objext \
37371 conftest$ac_exeext conftest.$ac_ext
37373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37375 if test `eval echo '${'$as_ac_var'}'` = yes; then
37376 cat >>confdefs.h <<_ACEOF
37377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37386 for ac_func in putenv setenv
37388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37389 echo "$as_me:$LINENO: checking for $ac_func" >&5
37390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37391 if eval "test \"\${$as_ac_var+set}\" = set"; then
37392 echo $ECHO_N "(cached) $ECHO_C" >&6
37394 cat >conftest.$ac_ext <<_ACEOF
37397 cat confdefs.h >>conftest.$ac_ext
37398 cat >>conftest.$ac_ext <<_ACEOF
37399 /* end confdefs.h. */
37400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37402 #define $ac_func innocuous_$ac_func
37404 /* System header to define __stub macros and hopefully few prototypes,
37405 which can conflict with char $ac_func (); below.
37406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37407 <limits.h> exists even on freestanding compilers. */
37410 # include <limits.h>
37412 # include <assert.h>
37417 /* Override any gcc2 internal prototype to avoid an error. */
37422 /* We use char because int might match the return type of a gcc2
37423 builtin and then its argument prototype would still apply. */
37425 /* The GNU C library defines this for functions which it implements
37426 to always fail with ENOSYS. Some functions are actually named
37427 something starting with __ and the normal name is an alias. */
37428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37431 char (*f) () = $ac_func;
37440 return f != $ac_func;
37445 rm -f conftest.$ac_objext conftest$ac_exeext
37446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37447 (eval $ac_link) 2>conftest.er1
37449 grep -v '^ *+' conftest.er1 >conftest.err
37451 cat conftest.err >&5
37452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37453 (exit $ac_status); } &&
37454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37456 (eval $ac_try) 2>&5
37458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37459 (exit $ac_status); }; } &&
37460 { ac_try='test -s conftest$ac_exeext'
37461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37462 (eval $ac_try) 2>&5
37464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37465 (exit $ac_status); }; }; then
37466 eval "$as_ac_var=yes"
37468 echo "$as_me: failed program was:" >&5
37469 sed 's/^/| /' conftest.$ac_ext >&5
37471 eval "$as_ac_var=no"
37473 rm -f conftest.err conftest.$ac_objext \
37474 conftest$ac_exeext conftest.$ac_ext
37476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37478 if test `eval echo '${'$as_ac_var'}'` = yes; then
37479 cat >>confdefs.h <<_ACEOF
37480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37487 HAVE_SOME_SLEEP_FUNC=0
37488 if test "$USE_BEOS" = 1; then
37489 cat >>confdefs.h <<\_ACEOF
37490 #define HAVE_SLEEP 1
37493 HAVE_SOME_SLEEP_FUNC=1
37496 if test "$USE_DARWIN" = 1; then
37497 cat >>confdefs.h <<\_ACEOF
37498 #define HAVE_USLEEP 1
37501 HAVE_SOME_SLEEP_FUNC=1
37504 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37507 for ac_func in nanosleep
37509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37510 echo "$as_me:$LINENO: checking for $ac_func" >&5
37511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37512 if eval "test \"\${$as_ac_var+set}\" = set"; then
37513 echo $ECHO_N "(cached) $ECHO_C" >&6
37515 cat >conftest.$ac_ext <<_ACEOF
37518 cat confdefs.h >>conftest.$ac_ext
37519 cat >>conftest.$ac_ext <<_ACEOF
37520 /* end confdefs.h. */
37521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37523 #define $ac_func innocuous_$ac_func
37525 /* System header to define __stub macros and hopefully few prototypes,
37526 which can conflict with char $ac_func (); below.
37527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37528 <limits.h> exists even on freestanding compilers. */
37531 # include <limits.h>
37533 # include <assert.h>
37538 /* Override any gcc2 internal prototype to avoid an error. */
37543 /* We use char because int might match the return type of a gcc2
37544 builtin and then its argument prototype would still apply. */
37546 /* The GNU C library defines this for functions which it implements
37547 to always fail with ENOSYS. Some functions are actually named
37548 something starting with __ and the normal name is an alias. */
37549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37552 char (*f) () = $ac_func;
37561 return f != $ac_func;
37566 rm -f conftest.$ac_objext conftest$ac_exeext
37567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37568 (eval $ac_link) 2>conftest.er1
37570 grep -v '^ *+' conftest.er1 >conftest.err
37572 cat conftest.err >&5
37573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37574 (exit $ac_status); } &&
37575 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37577 (eval $ac_try) 2>&5
37579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37580 (exit $ac_status); }; } &&
37581 { ac_try='test -s conftest$ac_exeext'
37582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37583 (eval $ac_try) 2>&5
37585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37586 (exit $ac_status); }; }; then
37587 eval "$as_ac_var=yes"
37589 echo "$as_me: failed program was:" >&5
37590 sed 's/^/| /' conftest.$ac_ext >&5
37592 eval "$as_ac_var=no"
37594 rm -f conftest.err conftest.$ac_objext \
37595 conftest$ac_exeext conftest.$ac_ext
37597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37599 if test `eval echo '${'$as_ac_var'}'` = yes; then
37600 cat >>confdefs.h <<_ACEOF
37601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37603 cat >>confdefs.h <<\_ACEOF
37604 #define HAVE_NANOSLEEP 1
37609 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37610 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37611 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37612 echo $ECHO_N "(cached) $ECHO_C" >&6
37614 ac_check_lib_save_LIBS=$LIBS
37615 LIBS="-lposix4 $LIBS"
37616 cat >conftest.$ac_ext <<_ACEOF
37619 cat confdefs.h >>conftest.$ac_ext
37620 cat >>conftest.$ac_ext <<_ACEOF
37621 /* end confdefs.h. */
37623 /* Override any gcc2 internal prototype to avoid an error. */
37627 /* We use char because int might match the return type of a gcc2
37628 builtin and then its argument prototype would still apply. */
37638 rm -f conftest.$ac_objext conftest$ac_exeext
37639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37640 (eval $ac_link) 2>conftest.er1
37642 grep -v '^ *+' conftest.er1 >conftest.err
37644 cat conftest.err >&5
37645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37646 (exit $ac_status); } &&
37647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37649 (eval $ac_try) 2>&5
37651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37652 (exit $ac_status); }; } &&
37653 { ac_try='test -s conftest$ac_exeext'
37654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37655 (eval $ac_try) 2>&5
37657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37658 (exit $ac_status); }; }; then
37659 ac_cv_lib_posix4_nanosleep=yes
37661 echo "$as_me: failed program was:" >&5
37662 sed 's/^/| /' conftest.$ac_ext >&5
37664 ac_cv_lib_posix4_nanosleep=no
37666 rm -f conftest.err conftest.$ac_objext \
37667 conftest$ac_exeext conftest.$ac_ext
37668 LIBS=$ac_check_lib_save_LIBS
37670 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37671 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37672 if test $ac_cv_lib_posix4_nanosleep = yes; then
37674 cat >>confdefs.h <<\_ACEOF
37675 #define HAVE_NANOSLEEP 1
37678 POSIX4_LINK=" -lposix4"
37683 for wx_func in usleep
37685 echo "$as_me:$LINENO: checking for $wx_func" >&5
37686 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37687 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37688 echo $ECHO_N "(cached) $ECHO_C" >&6
37691 cat >conftest.$ac_ext <<_ACEOF
37695 cat confdefs.h >>conftest.$ac_ext
37696 cat >>conftest.$ac_ext <<_ACEOF
37697 /* end confdefs.h. */
37700 $ac_includes_default
37716 rm -f conftest.$ac_objext conftest$ac_exeext
37717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37718 (eval $ac_link) 2>conftest.er1
37720 grep -v '^ *+' conftest.er1 >conftest.err
37722 cat conftest.err >&5
37723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37724 (exit $ac_status); } &&
37725 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37727 (eval $ac_try) 2>&5
37729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37730 (exit $ac_status); }; } &&
37731 { ac_try='test -s conftest$ac_exeext'
37732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37733 (eval $ac_try) 2>&5
37735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37736 (exit $ac_status); }; }; then
37737 eval wx_cv_func_$wx_func=yes
37739 echo "$as_me: failed program was:" >&5
37740 sed 's/^/| /' conftest.$ac_ext >&5
37742 eval wx_cv_func_$wx_func=no
37744 rm -f conftest.err conftest.$ac_objext \
37745 conftest$ac_exeext conftest.$ac_ext
37748 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37749 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37751 if eval test \$wx_cv_func_$wx_func = yes
37753 cat >>confdefs.h <<_ACEOF
37754 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37760 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37761 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37778 for wx_func in uname
37780 echo "$as_me:$LINENO: checking for $wx_func" >&5
37781 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37782 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37783 echo $ECHO_N "(cached) $ECHO_C" >&6
37786 cat >conftest.$ac_ext <<_ACEOF
37790 cat confdefs.h >>conftest.$ac_ext
37791 cat >>conftest.$ac_ext <<_ACEOF
37792 /* end confdefs.h. */
37794 #include <sys/utsname.h>
37795 $ac_includes_default
37811 rm -f conftest.$ac_objext conftest$ac_exeext
37812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37813 (eval $ac_link) 2>conftest.er1
37815 grep -v '^ *+' conftest.er1 >conftest.err
37817 cat conftest.err >&5
37818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37819 (exit $ac_status); } &&
37820 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37822 (eval $ac_try) 2>&5
37824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37825 (exit $ac_status); }; } &&
37826 { ac_try='test -s conftest$ac_exeext'
37827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37828 (eval $ac_try) 2>&5
37830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37831 (exit $ac_status); }; }; then
37832 eval wx_cv_func_$wx_func=yes
37834 echo "$as_me: failed program was:" >&5
37835 sed 's/^/| /' conftest.$ac_ext >&5
37837 eval wx_cv_func_$wx_func=no
37839 rm -f conftest.err conftest.$ac_objext \
37840 conftest$ac_exeext conftest.$ac_ext
37843 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37844 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37846 if eval test \$wx_cv_func_$wx_func = yes
37848 cat >>confdefs.h <<_ACEOF
37849 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37859 if test "$wx_cv_func_uname" != yes; then
37861 for wx_func in gethostname
37863 echo "$as_me:$LINENO: checking for $wx_func" >&5
37864 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37865 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37866 echo $ECHO_N "(cached) $ECHO_C" >&6
37869 cat >conftest.$ac_ext <<_ACEOF
37873 cat confdefs.h >>conftest.$ac_ext
37874 cat >>conftest.$ac_ext <<_ACEOF
37875 /* end confdefs.h. */
37878 $ac_includes_default
37894 rm -f conftest.$ac_objext conftest$ac_exeext
37895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37896 (eval $ac_link) 2>conftest.er1
37898 grep -v '^ *+' conftest.er1 >conftest.err
37900 cat conftest.err >&5
37901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37902 (exit $ac_status); } &&
37903 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37905 (eval $ac_try) 2>&5
37907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37908 (exit $ac_status); }; } &&
37909 { ac_try='test -s conftest$ac_exeext'
37910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37911 (eval $ac_try) 2>&5
37913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37914 (exit $ac_status); }; }; then
37915 eval wx_cv_func_$wx_func=yes
37917 echo "$as_me: failed program was:" >&5
37918 sed 's/^/| /' conftest.$ac_ext >&5
37920 eval wx_cv_func_$wx_func=no
37922 rm -f conftest.err conftest.$ac_objext \
37923 conftest$ac_exeext conftest.$ac_ext
37926 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37927 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37929 if eval test \$wx_cv_func_$wx_func = yes
37931 cat >>confdefs.h <<_ACEOF
37932 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37945 for wx_func in strtok_r
37947 echo "$as_me:$LINENO: checking for $wx_func" >&5
37948 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37949 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37950 echo $ECHO_N "(cached) $ECHO_C" >&6
37953 cat >conftest.$ac_ext <<_ACEOF
37957 cat confdefs.h >>conftest.$ac_ext
37958 cat >>conftest.$ac_ext <<_ACEOF
37959 /* end confdefs.h. */
37962 $ac_includes_default
37978 rm -f conftest.$ac_objext conftest$ac_exeext
37979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37980 (eval $ac_link) 2>conftest.er1
37982 grep -v '^ *+' conftest.er1 >conftest.err
37984 cat conftest.err >&5
37985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37986 (exit $ac_status); } &&
37987 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37989 (eval $ac_try) 2>&5
37991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37992 (exit $ac_status); }; } &&
37993 { ac_try='test -s conftest$ac_exeext'
37994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37995 (eval $ac_try) 2>&5
37997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37998 (exit $ac_status); }; }; then
37999 eval wx_cv_func_$wx_func=yes
38001 echo "$as_me: failed program was:" >&5
38002 sed 's/^/| /' conftest.$ac_ext >&5
38004 eval wx_cv_func_$wx_func=no
38006 rm -f conftest.err conftest.$ac_objext \
38007 conftest$ac_exeext conftest.$ac_ext
38010 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38011 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38013 if eval test \$wx_cv_func_$wx_func = yes
38015 cat >>confdefs.h <<_ACEOF
38016 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38029 for ac_func in inet_addr
38031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38032 echo "$as_me:$LINENO: checking for $ac_func" >&5
38033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38034 if eval "test \"\${$as_ac_var+set}\" = set"; then
38035 echo $ECHO_N "(cached) $ECHO_C" >&6
38037 cat >conftest.$ac_ext <<_ACEOF
38040 cat confdefs.h >>conftest.$ac_ext
38041 cat >>conftest.$ac_ext <<_ACEOF
38042 /* end confdefs.h. */
38043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38045 #define $ac_func innocuous_$ac_func
38047 /* System header to define __stub macros and hopefully few prototypes,
38048 which can conflict with char $ac_func (); below.
38049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38050 <limits.h> exists even on freestanding compilers. */
38053 # include <limits.h>
38055 # include <assert.h>
38060 /* Override any gcc2 internal prototype to avoid an error. */
38065 /* We use char because int might match the return type of a gcc2
38066 builtin and then its argument prototype would still apply. */
38068 /* The GNU C library defines this for functions which it implements
38069 to always fail with ENOSYS. Some functions are actually named
38070 something starting with __ and the normal name is an alias. */
38071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38074 char (*f) () = $ac_func;
38083 return f != $ac_func;
38088 rm -f conftest.$ac_objext conftest$ac_exeext
38089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38090 (eval $ac_link) 2>conftest.er1
38092 grep -v '^ *+' conftest.er1 >conftest.err
38094 cat conftest.err >&5
38095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38096 (exit $ac_status); } &&
38097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38099 (eval $ac_try) 2>&5
38101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38102 (exit $ac_status); }; } &&
38103 { ac_try='test -s conftest$ac_exeext'
38104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38105 (eval $ac_try) 2>&5
38107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38108 (exit $ac_status); }; }; then
38109 eval "$as_ac_var=yes"
38111 echo "$as_me: failed program was:" >&5
38112 sed 's/^/| /' conftest.$ac_ext >&5
38114 eval "$as_ac_var=no"
38116 rm -f conftest.err conftest.$ac_objext \
38117 conftest$ac_exeext conftest.$ac_ext
38119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38121 if test `eval echo '${'$as_ac_var'}'` = yes; then
38122 cat >>confdefs.h <<_ACEOF
38123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38125 cat >>confdefs.h <<\_ACEOF
38126 #define HAVE_INET_ADDR 1
38131 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38132 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38133 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38134 echo $ECHO_N "(cached) $ECHO_C" >&6
38136 ac_check_lib_save_LIBS=$LIBS
38138 cat >conftest.$ac_ext <<_ACEOF
38141 cat confdefs.h >>conftest.$ac_ext
38142 cat >>conftest.$ac_ext <<_ACEOF
38143 /* end confdefs.h. */
38145 /* Override any gcc2 internal prototype to avoid an error. */
38149 /* We use char because int might match the return type of a gcc2
38150 builtin and then its argument prototype would still apply. */
38160 rm -f conftest.$ac_objext conftest$ac_exeext
38161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38162 (eval $ac_link) 2>conftest.er1
38164 grep -v '^ *+' conftest.er1 >conftest.err
38166 cat conftest.err >&5
38167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38168 (exit $ac_status); } &&
38169 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38171 (eval $ac_try) 2>&5
38173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38174 (exit $ac_status); }; } &&
38175 { ac_try='test -s conftest$ac_exeext'
38176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38177 (eval $ac_try) 2>&5
38179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38180 (exit $ac_status); }; }; then
38181 ac_cv_lib_nsl_inet_addr=yes
38183 echo "$as_me: failed program was:" >&5
38184 sed 's/^/| /' conftest.$ac_ext >&5
38186 ac_cv_lib_nsl_inet_addr=no
38188 rm -f conftest.err conftest.$ac_objext \
38189 conftest$ac_exeext conftest.$ac_ext
38190 LIBS=$ac_check_lib_save_LIBS
38192 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38193 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38194 if test $ac_cv_lib_nsl_inet_addr = yes; then
38198 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38199 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38200 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38201 echo $ECHO_N "(cached) $ECHO_C" >&6
38203 ac_check_lib_save_LIBS=$LIBS
38204 LIBS="-lresolv $LIBS"
38205 cat >conftest.$ac_ext <<_ACEOF
38208 cat confdefs.h >>conftest.$ac_ext
38209 cat >>conftest.$ac_ext <<_ACEOF
38210 /* end confdefs.h. */
38212 /* Override any gcc2 internal prototype to avoid an error. */
38216 /* We use char because int might match the return type of a gcc2
38217 builtin and then its argument prototype would still apply. */
38227 rm -f conftest.$ac_objext conftest$ac_exeext
38228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38229 (eval $ac_link) 2>conftest.er1
38231 grep -v '^ *+' conftest.er1 >conftest.err
38233 cat conftest.err >&5
38234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38235 (exit $ac_status); } &&
38236 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38238 (eval $ac_try) 2>&5
38240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38241 (exit $ac_status); }; } &&
38242 { ac_try='test -s conftest$ac_exeext'
38243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38244 (eval $ac_try) 2>&5
38246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38247 (exit $ac_status); }; }; then
38248 ac_cv_lib_resolv_inet_addr=yes
38250 echo "$as_me: failed program was:" >&5
38251 sed 's/^/| /' conftest.$ac_ext >&5
38253 ac_cv_lib_resolv_inet_addr=no
38255 rm -f conftest.err conftest.$ac_objext \
38256 conftest$ac_exeext conftest.$ac_ext
38257 LIBS=$ac_check_lib_save_LIBS
38259 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38260 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38261 if test $ac_cv_lib_resolv_inet_addr = yes; then
38265 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38266 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38267 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38268 echo $ECHO_N "(cached) $ECHO_C" >&6
38270 ac_check_lib_save_LIBS=$LIBS
38271 LIBS="-lsocket $LIBS"
38272 cat >conftest.$ac_ext <<_ACEOF
38275 cat confdefs.h >>conftest.$ac_ext
38276 cat >>conftest.$ac_ext <<_ACEOF
38277 /* end confdefs.h. */
38279 /* Override any gcc2 internal prototype to avoid an error. */
38283 /* We use char because int might match the return type of a gcc2
38284 builtin and then its argument prototype would still apply. */
38294 rm -f conftest.$ac_objext conftest$ac_exeext
38295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38296 (eval $ac_link) 2>conftest.er1
38298 grep -v '^ *+' conftest.er1 >conftest.err
38300 cat conftest.err >&5
38301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38302 (exit $ac_status); } &&
38303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38305 (eval $ac_try) 2>&5
38307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38308 (exit $ac_status); }; } &&
38309 { ac_try='test -s conftest$ac_exeext'
38310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38311 (eval $ac_try) 2>&5
38313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38314 (exit $ac_status); }; }; then
38315 ac_cv_lib_socket_inet_addr=yes
38317 echo "$as_me: failed program was:" >&5
38318 sed 's/^/| /' conftest.$ac_ext >&5
38320 ac_cv_lib_socket_inet_addr=no
38322 rm -f conftest.err conftest.$ac_objext \
38323 conftest$ac_exeext conftest.$ac_ext
38324 LIBS=$ac_check_lib_save_LIBS
38326 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38327 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38328 if test $ac_cv_lib_socket_inet_addr = yes; then
38348 for ac_func in inet_aton
38350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38351 echo "$as_me:$LINENO: checking for $ac_func" >&5
38352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38353 if eval "test \"\${$as_ac_var+set}\" = set"; then
38354 echo $ECHO_N "(cached) $ECHO_C" >&6
38356 cat >conftest.$ac_ext <<_ACEOF
38359 cat confdefs.h >>conftest.$ac_ext
38360 cat >>conftest.$ac_ext <<_ACEOF
38361 /* end confdefs.h. */
38362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38364 #define $ac_func innocuous_$ac_func
38366 /* System header to define __stub macros and hopefully few prototypes,
38367 which can conflict with char $ac_func (); below.
38368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38369 <limits.h> exists even on freestanding compilers. */
38372 # include <limits.h>
38374 # include <assert.h>
38379 /* Override any gcc2 internal prototype to avoid an error. */
38384 /* We use char because int might match the return type of a gcc2
38385 builtin and then its argument prototype would still apply. */
38387 /* The GNU C library defines this for functions which it implements
38388 to always fail with ENOSYS. Some functions are actually named
38389 something starting with __ and the normal name is an alias. */
38390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38393 char (*f) () = $ac_func;
38402 return f != $ac_func;
38407 rm -f conftest.$ac_objext conftest$ac_exeext
38408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38409 (eval $ac_link) 2>conftest.er1
38411 grep -v '^ *+' conftest.er1 >conftest.err
38413 cat conftest.err >&5
38414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38415 (exit $ac_status); } &&
38416 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38418 (eval $ac_try) 2>&5
38420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38421 (exit $ac_status); }; } &&
38422 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
38428 eval "$as_ac_var=yes"
38430 echo "$as_me: failed program was:" >&5
38431 sed 's/^/| /' conftest.$ac_ext >&5
38433 eval "$as_ac_var=no"
38435 rm -f conftest.err conftest.$ac_objext \
38436 conftest$ac_exeext conftest.$ac_ext
38438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38440 if test `eval echo '${'$as_ac_var'}'` = yes; then
38441 cat >>confdefs.h <<_ACEOF
38442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38444 cat >>confdefs.h <<\_ACEOF
38445 #define HAVE_INET_ATON 1
38450 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38451 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38452 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38453 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38454 echo $ECHO_N "(cached) $ECHO_C" >&6
38456 ac_check_lib_save_LIBS=$LIBS
38457 LIBS="-l$INET_LINK $LIBS"
38458 cat >conftest.$ac_ext <<_ACEOF
38461 cat confdefs.h >>conftest.$ac_ext
38462 cat >>conftest.$ac_ext <<_ACEOF
38463 /* end confdefs.h. */
38465 /* Override any gcc2 internal prototype to avoid an error. */
38469 /* We use char because int might match the return type of a gcc2
38470 builtin and then its argument prototype would still apply. */
38480 rm -f conftest.$ac_objext conftest$ac_exeext
38481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38482 (eval $ac_link) 2>conftest.er1
38484 grep -v '^ *+' conftest.er1 >conftest.err
38486 cat conftest.err >&5
38487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38488 (exit $ac_status); } &&
38489 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38491 (eval $ac_try) 2>&5
38493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38494 (exit $ac_status); }; } &&
38495 { ac_try='test -s conftest$ac_exeext'
38496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38497 (eval $ac_try) 2>&5
38499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38500 (exit $ac_status); }; }; then
38501 eval "$as_ac_Lib=yes"
38503 echo "$as_me: failed program was:" >&5
38504 sed 's/^/| /' conftest.$ac_ext >&5
38506 eval "$as_ac_Lib=no"
38508 rm -f conftest.err conftest.$ac_objext \
38509 conftest$ac_exeext conftest.$ac_ext
38510 LIBS=$ac_check_lib_save_LIBS
38512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38513 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38514 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38515 cat >>confdefs.h <<\_ACEOF
38516 #define HAVE_INET_ATON 1
38526 if test "x$INET_LINK" != "x"; then
38527 cat >>confdefs.h <<\_ACEOF
38528 #define HAVE_INET_ADDR 1
38531 INET_LINK=" -l$INET_LINK"
38535 for wx_func in fdopen
38537 echo "$as_me:$LINENO: checking for $wx_func" >&5
38538 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38539 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38540 echo $ECHO_N "(cached) $ECHO_C" >&6
38543 cat >conftest.$ac_ext <<_ACEOF
38547 cat confdefs.h >>conftest.$ac_ext
38548 cat >>conftest.$ac_ext <<_ACEOF
38549 /* end confdefs.h. */
38552 $ac_includes_default
38568 rm -f conftest.$ac_objext conftest$ac_exeext
38569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38570 (eval $ac_link) 2>conftest.er1
38572 grep -v '^ *+' conftest.er1 >conftest.err
38574 cat conftest.err >&5
38575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38576 (exit $ac_status); } &&
38577 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38579 (eval $ac_try) 2>&5
38581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38582 (exit $ac_status); }; } &&
38583 { ac_try='test -s conftest$ac_exeext'
38584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38585 (eval $ac_try) 2>&5
38587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38588 (exit $ac_status); }; }; then
38589 eval wx_cv_func_$wx_func=yes
38591 echo "$as_me: failed program was:" >&5
38592 sed 's/^/| /' conftest.$ac_ext >&5
38594 eval wx_cv_func_$wx_func=no
38596 rm -f conftest.err conftest.$ac_objext \
38597 conftest$ac_exeext conftest.$ac_ext
38600 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38601 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38603 if eval test \$wx_cv_func_$wx_func = yes
38605 cat >>confdefs.h <<_ACEOF
38606 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38623 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38624 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38625 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38626 echo $ECHO_N "(cached) $ECHO_C" >&6
38628 ac_check_lib_save_LIBS=$LIBS
38630 cat >conftest.$ac_ext <<_ACEOF
38633 cat confdefs.h >>conftest.$ac_ext
38634 cat >>conftest.$ac_ext <<_ACEOF
38635 /* end confdefs.h. */
38637 /* Override any gcc2 internal prototype to avoid an error. */
38641 /* We use char because int might match the return type of a gcc2
38642 builtin and then its argument prototype would still apply. */
38652 rm -f conftest.$ac_objext conftest$ac_exeext
38653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38654 (eval $ac_link) 2>conftest.er1
38656 grep -v '^ *+' conftest.er1 >conftest.err
38658 cat conftest.err >&5
38659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38660 (exit $ac_status); } &&
38661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38663 (eval $ac_try) 2>&5
38665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38666 (exit $ac_status); }; } &&
38667 { ac_try='test -s conftest$ac_exeext'
38668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38669 (eval $ac_try) 2>&5
38671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38672 (exit $ac_status); }; }; then
38673 ac_cv_lib_esd_esd_close=yes
38675 echo "$as_me: failed program was:" >&5
38676 sed 's/^/| /' conftest.$ac_ext >&5
38678 ac_cv_lib_esd_esd_close=no
38680 rm -f conftest.err conftest.$ac_objext \
38681 conftest$ac_exeext conftest.$ac_ext
38682 LIBS=$ac_check_lib_save_LIBS
38684 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38685 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38686 if test $ac_cv_lib_esd_esd_close = yes; then
38689 for ac_header in esd.h
38691 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38693 echo "$as_me:$LINENO: checking for $ac_header" >&5
38694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38695 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38696 echo $ECHO_N "(cached) $ECHO_C" >&6
38698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38699 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38701 # Is the header compilable?
38702 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38703 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38704 cat >conftest.$ac_ext <<_ACEOF
38707 cat confdefs.h >>conftest.$ac_ext
38708 cat >>conftest.$ac_ext <<_ACEOF
38709 /* end confdefs.h. */
38710 $ac_includes_default
38711 #include <$ac_header>
38713 rm -f conftest.$ac_objext
38714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38715 (eval $ac_compile) 2>conftest.er1
38717 grep -v '^ *+' conftest.er1 >conftest.err
38719 cat conftest.err >&5
38720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38721 (exit $ac_status); } &&
38722 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38724 (eval $ac_try) 2>&5
38726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38727 (exit $ac_status); }; } &&
38728 { ac_try='test -s conftest.$ac_objext'
38729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38730 (eval $ac_try) 2>&5
38732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38733 (exit $ac_status); }; }; then
38734 ac_header_compiler=yes
38736 echo "$as_me: failed program was:" >&5
38737 sed 's/^/| /' conftest.$ac_ext >&5
38739 ac_header_compiler=no
38741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38742 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38743 echo "${ECHO_T}$ac_header_compiler" >&6
38745 # Is the header present?
38746 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38747 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38748 cat >conftest.$ac_ext <<_ACEOF
38751 cat confdefs.h >>conftest.$ac_ext
38752 cat >>conftest.$ac_ext <<_ACEOF
38753 /* end confdefs.h. */
38754 #include <$ac_header>
38756 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38757 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38759 grep -v '^ *+' conftest.er1 >conftest.err
38761 cat conftest.err >&5
38762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38763 (exit $ac_status); } >/dev/null; then
38764 if test -s conftest.err; then
38765 ac_cpp_err=$ac_c_preproc_warn_flag
38766 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38773 if test -z "$ac_cpp_err"; then
38774 ac_header_preproc=yes
38776 echo "$as_me: failed program was:" >&5
38777 sed 's/^/| /' conftest.$ac_ext >&5
38779 ac_header_preproc=no
38781 rm -f conftest.err conftest.$ac_ext
38782 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38783 echo "${ECHO_T}$ac_header_preproc" >&6
38785 # So? What about this header?
38786 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38788 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38789 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38791 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38792 ac_header_preproc=yes
38795 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38796 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38797 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38798 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38799 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38800 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38801 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38802 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38803 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38804 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38805 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38806 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38809 ## ----------------------------------------- ##
38810 ## Report this to wx-dev@lists.wxwidgets.org ##
38811 ## ----------------------------------------- ##
38814 sed "s/^/$as_me: WARNING: /" >&2
38817 echo "$as_me:$LINENO: checking for $ac_header" >&5
38818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38820 echo $ECHO_N "(cached) $ECHO_C" >&6
38822 eval "$as_ac_Header=\$ac_header_preproc"
38824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38829 cat >>confdefs.h <<_ACEOF
38830 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38833 EXTRALIBS_ESD="-lesd"
38844 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38845 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38846 cat >conftest.$ac_ext <<_ACEOF
38849 cat confdefs.h >>conftest.$ac_ext
38850 cat >>conftest.$ac_ext <<_ACEOF
38851 /* end confdefs.h. */
38853 #include <linux/cdrom.h>
38856 #include <sys/cdio.h>
38862 struct cdrom_tocentry entry, old_entry;
38867 rm -f conftest.$ac_objext
38868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38869 (eval $ac_compile) 2>conftest.er1
38871 grep -v '^ *+' conftest.er1 >conftest.err
38873 cat conftest.err >&5
38874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38875 (exit $ac_status); } &&
38876 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38878 (eval $ac_try) 2>&5
38880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38881 (exit $ac_status); }; } &&
38882 { ac_try='test -s conftest.$ac_objext'
38883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38884 (eval $ac_try) 2>&5
38886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38887 (exit $ac_status); }; }; then
38888 echo "$as_me:$LINENO: result: yes" >&5
38889 echo "${ECHO_T}yes" >&6
38890 cat >>confdefs.h <<\_ACEOF
38891 #define HAVE_KNOWN_CDROM_INTERFACE 1
38895 echo "$as_me: failed program was:" >&5
38896 sed 's/^/| /' conftest.$ac_ext >&5
38898 echo "$as_me:$LINENO: result: no" >&5
38899 echo "${ECHO_T}no" >&6
38901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38904 cat >confcache <<\_ACEOF
38905 # This file is a shell script that caches the results of configure
38906 # tests run on this system so they can be shared between configure
38907 # scripts and configure runs, see configure's option --config-cache.
38908 # It is not useful on other systems. If it contains results you don't
38909 # want to keep, you may remove or edit it.
38911 # config.status only pays attention to the cache file if you give it
38912 # the --recheck option to rerun configure.
38914 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38915 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38916 # following values.
38920 # The following way of writing the cache mishandles newlines in values,
38921 # but we know of no workaround that is simple, portable, and efficient.
38922 # So, don't put newlines in cache variables' values.
38923 # Ultrix sh set writes to stderr and can't be redirected directly,
38924 # and sets the high bit in the cache file unless we assign to the vars.
38927 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38929 # `set' does not quote correctly, so add quotes (double-quote
38930 # substitution turns \\\\ into \\, and sed turns \\ into \).
38933 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38936 # `set' quotes correctly as required by POSIX, so do not add quotes.
38938 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38945 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38947 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38949 if diff $cache_file confcache >/dev/null 2>&1; then :; else
38950 if test -w $cache_file; then
38951 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38952 cat confcache >$cache_file
38954 echo "not updating unwritable cache $cache_file"
38960 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38966 if test "$wxUSE_THREADS" = "yes" ; then
38967 if test "$USE_BEOS" = 1; then
38968 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38969 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38974 if test "$wxUSE_THREADS" = "yes" ; then
38977 THREAD_OPTS="-pthread"
38979 *-*-solaris2* | *-*-sunos4* )
38980 if test "x$GCC" = "xyes"; then
38981 THREAD_OPTS="-pthreads $THREAD_OPTS"
38983 THREAD_OPTS="-mt $THREAD_OPTS"
38987 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38989 *-*-darwin* | *-*-cygwin* )
38993 THREAD_OPTS="pthreads"
38996 if test "x$GCC" = "xyes"; then
38997 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39005 if test "x$GCC" = "xyes"; then
39011 if test "x$GCC" != "xyes"; then
39012 THREAD_OPTS="-Ethread"
39017 THREAD_OPTS="$THREAD_OPTS pthread none"
39020 for flag in $THREAD_OPTS; do
39023 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39024 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39028 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39029 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39030 THREADS_CFLAGS="$flag"
39034 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39035 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39036 THREADS_LINK="-l$flag"
39041 save_CFLAGS="$CFLAGS"
39042 LIBS="$THREADS_LINK $LIBS"
39043 CFLAGS="$THREADS_CFLAGS $CFLAGS"
39045 cat >conftest.$ac_ext <<_ACEOF
39048 cat confdefs.h >>conftest.$ac_ext
39049 cat >>conftest.$ac_ext <<_ACEOF
39050 /* end confdefs.h. */
39051 #include <pthread.h>
39055 pthread_create(0,0,0,0);
39060 rm -f conftest.$ac_objext conftest$ac_exeext
39061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39062 (eval $ac_link) 2>conftest.er1
39064 grep -v '^ *+' conftest.er1 >conftest.err
39066 cat conftest.err >&5
39067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39068 (exit $ac_status); } &&
39069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39071 (eval $ac_try) 2>&5
39073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39074 (exit $ac_status); }; } &&
39075 { ac_try='test -s conftest$ac_exeext'
39076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39077 (eval $ac_try) 2>&5
39079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39080 (exit $ac_status); }; }; then
39083 echo "$as_me: failed program was:" >&5
39084 sed 's/^/| /' conftest.$ac_ext >&5
39087 rm -f conftest.err conftest.$ac_objext \
39088 conftest$ac_exeext conftest.$ac_ext
39091 CFLAGS="$save_CFLAGS"
39093 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39094 echo "${ECHO_T}$THREADS_OK" >&6
39095 if test "x$THREADS_OK" = "xyes"; then
39103 if test "x$THREADS_OK" != "xyes"; then
39105 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39106 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39108 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39109 LIBS="$THREADS_LINK $LIBS"
39111 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39112 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39116 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39117 flag="-D_THREAD_SAFE"
39120 flag="-D_THREAD_SAFE"
39123 flag="-D_REENTRANT"
39124 if test "x$GCC" != "xyes"; then
39125 flag="$flag -D_RWSTD_MULTI_THREAD"
39128 *solaris* | alpha*-osf*)
39129 flag="-D_REENTRANT"
39132 echo "$as_me:$LINENO: result: ${flag}" >&5
39133 echo "${ECHO_T}${flag}" >&6
39134 if test "x$flag" != xno; then
39135 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39138 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39142 if test "$wxUSE_THREADS" = "yes" ; then
39144 for ac_func in thr_setconcurrency
39146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39147 echo "$as_me:$LINENO: checking for $ac_func" >&5
39148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39149 if eval "test \"\${$as_ac_var+set}\" = set"; then
39150 echo $ECHO_N "(cached) $ECHO_C" >&6
39152 cat >conftest.$ac_ext <<_ACEOF
39155 cat confdefs.h >>conftest.$ac_ext
39156 cat >>conftest.$ac_ext <<_ACEOF
39157 /* end confdefs.h. */
39158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39160 #define $ac_func innocuous_$ac_func
39162 /* System header to define __stub macros and hopefully few prototypes,
39163 which can conflict with char $ac_func (); below.
39164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39165 <limits.h> exists even on freestanding compilers. */
39168 # include <limits.h>
39170 # include <assert.h>
39175 /* Override any gcc2 internal prototype to avoid an error. */
39180 /* We use char because int might match the return type of a gcc2
39181 builtin and then its argument prototype would still apply. */
39183 /* The GNU C library defines this for functions which it implements
39184 to always fail with ENOSYS. Some functions are actually named
39185 something starting with __ and the normal name is an alias. */
39186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39189 char (*f) () = $ac_func;
39198 return f != $ac_func;
39203 rm -f conftest.$ac_objext conftest$ac_exeext
39204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39205 (eval $ac_link) 2>conftest.er1
39207 grep -v '^ *+' conftest.er1 >conftest.err
39209 cat conftest.err >&5
39210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39211 (exit $ac_status); } &&
39212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39214 (eval $ac_try) 2>&5
39216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39217 (exit $ac_status); }; } &&
39218 { ac_try='test -s conftest$ac_exeext'
39219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39220 (eval $ac_try) 2>&5
39222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39223 (exit $ac_status); }; }; then
39224 eval "$as_ac_var=yes"
39226 echo "$as_me: failed program was:" >&5
39227 sed 's/^/| /' conftest.$ac_ext >&5
39229 eval "$as_ac_var=no"
39231 rm -f conftest.err conftest.$ac_objext \
39232 conftest$ac_exeext conftest.$ac_ext
39234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39236 if test `eval echo '${'$as_ac_var'}'` = yes; then
39237 cat >>confdefs.h <<_ACEOF
39238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39245 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39246 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39247 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39248 echo $ECHO_N "(cached) $ECHO_C" >&6
39251 cat >conftest.$ac_ext <<_ACEOF
39254 cat confdefs.h >>conftest.$ac_ext
39255 cat >>conftest.$ac_ext <<_ACEOF
39256 /* end confdefs.h. */
39257 #include <pthread.h>
39258 void ThreadCleanupFunc(void *p);
39265 pthread_cleanup_push(ThreadCleanupFunc, p);
39266 pthread_cleanup_pop(0);
39272 rm -f conftest.$ac_objext
39273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39274 (eval $ac_compile) 2>conftest.er1
39276 grep -v '^ *+' conftest.er1 >conftest.err
39278 cat conftest.err >&5
39279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39280 (exit $ac_status); } &&
39281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39283 (eval $ac_try) 2>&5
39285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39286 (exit $ac_status); }; } &&
39287 { ac_try='test -s conftest.$ac_objext'
39288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39289 (eval $ac_try) 2>&5
39291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39292 (exit $ac_status); }; }; then
39294 wx_cv_func_pthread_cleanup=yes
39297 echo "$as_me: failed program was:" >&5
39298 sed 's/^/| /' conftest.$ac_ext >&5
39301 wx_cv_func_pthread_cleanup=no
39305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39308 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39309 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39310 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39311 cat >>confdefs.h <<\_ACEOF
39312 #define wxHAVE_PTHREAD_CLEANUP 1
39318 for ac_header in sched.h
39320 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39322 echo "$as_me:$LINENO: checking for $ac_header" >&5
39323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39324 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39325 echo $ECHO_N "(cached) $ECHO_C" >&6
39327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39330 # Is the header compilable?
39331 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39332 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39333 cat >conftest.$ac_ext <<_ACEOF
39336 cat confdefs.h >>conftest.$ac_ext
39337 cat >>conftest.$ac_ext <<_ACEOF
39338 /* end confdefs.h. */
39339 $ac_includes_default
39340 #include <$ac_header>
39342 rm -f conftest.$ac_objext
39343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39344 (eval $ac_compile) 2>conftest.er1
39346 grep -v '^ *+' conftest.er1 >conftest.err
39348 cat conftest.err >&5
39349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39350 (exit $ac_status); } &&
39351 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39353 (eval $ac_try) 2>&5
39355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39356 (exit $ac_status); }; } &&
39357 { ac_try='test -s conftest.$ac_objext'
39358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39359 (eval $ac_try) 2>&5
39361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39362 (exit $ac_status); }; }; then
39363 ac_header_compiler=yes
39365 echo "$as_me: failed program was:" >&5
39366 sed 's/^/| /' conftest.$ac_ext >&5
39368 ac_header_compiler=no
39370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39371 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39372 echo "${ECHO_T}$ac_header_compiler" >&6
39374 # Is the header present?
39375 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39376 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39377 cat >conftest.$ac_ext <<_ACEOF
39380 cat confdefs.h >>conftest.$ac_ext
39381 cat >>conftest.$ac_ext <<_ACEOF
39382 /* end confdefs.h. */
39383 #include <$ac_header>
39385 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39386 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39388 grep -v '^ *+' conftest.er1 >conftest.err
39390 cat conftest.err >&5
39391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39392 (exit $ac_status); } >/dev/null; then
39393 if test -s conftest.err; then
39394 ac_cpp_err=$ac_c_preproc_warn_flag
39395 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39402 if test -z "$ac_cpp_err"; then
39403 ac_header_preproc=yes
39405 echo "$as_me: failed program was:" >&5
39406 sed 's/^/| /' conftest.$ac_ext >&5
39408 ac_header_preproc=no
39410 rm -f conftest.err conftest.$ac_ext
39411 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39412 echo "${ECHO_T}$ac_header_preproc" >&6
39414 # So? What about this header?
39415 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39417 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39418 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39419 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39420 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39421 ac_header_preproc=yes
39424 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39425 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39426 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39427 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39428 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39429 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39430 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39431 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39432 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39433 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39434 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39435 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39438 ## ----------------------------------------- ##
39439 ## Report this to wx-dev@lists.wxwidgets.org ##
39440 ## ----------------------------------------- ##
39443 sed "s/^/$as_me: WARNING: /" >&2
39446 echo "$as_me:$LINENO: checking for $ac_header" >&5
39447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39449 echo $ECHO_N "(cached) $ECHO_C" >&6
39451 eval "$as_ac_Header=\$ac_header_preproc"
39453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39454 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39457 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39458 cat >>confdefs.h <<_ACEOF
39459 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39466 if test "$ac_cv_header_sched_h" = "yes"; then
39467 echo "$as_me:$LINENO: checking for sched_yield" >&5
39468 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39469 if test "${ac_cv_func_sched_yield+set}" = set; then
39470 echo $ECHO_N "(cached) $ECHO_C" >&6
39472 cat >conftest.$ac_ext <<_ACEOF
39475 cat confdefs.h >>conftest.$ac_ext
39476 cat >>conftest.$ac_ext <<_ACEOF
39477 /* end confdefs.h. */
39478 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39480 #define sched_yield innocuous_sched_yield
39482 /* System header to define __stub macros and hopefully few prototypes,
39483 which can conflict with char sched_yield (); below.
39484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39485 <limits.h> exists even on freestanding compilers. */
39488 # include <limits.h>
39490 # include <assert.h>
39495 /* Override any gcc2 internal prototype to avoid an error. */
39500 /* We use char because int might match the return type of a gcc2
39501 builtin and then its argument prototype would still apply. */
39502 char sched_yield ();
39503 /* The GNU C library defines this for functions which it implements
39504 to always fail with ENOSYS. Some functions are actually named
39505 something starting with __ and the normal name is an alias. */
39506 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39509 char (*f) () = sched_yield;
39518 return f != sched_yield;
39523 rm -f conftest.$ac_objext conftest$ac_exeext
39524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39525 (eval $ac_link) 2>conftest.er1
39527 grep -v '^ *+' conftest.er1 >conftest.err
39529 cat conftest.err >&5
39530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39531 (exit $ac_status); } &&
39532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39534 (eval $ac_try) 2>&5
39536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39537 (exit $ac_status); }; } &&
39538 { ac_try='test -s conftest$ac_exeext'
39539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39540 (eval $ac_try) 2>&5
39542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39543 (exit $ac_status); }; }; then
39544 ac_cv_func_sched_yield=yes
39546 echo "$as_me: failed program was:" >&5
39547 sed 's/^/| /' conftest.$ac_ext >&5
39549 ac_cv_func_sched_yield=no
39551 rm -f conftest.err conftest.$ac_objext \
39552 conftest$ac_exeext conftest.$ac_ext
39554 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39555 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39556 if test $ac_cv_func_sched_yield = yes; then
39557 cat >>confdefs.h <<\_ACEOF
39558 #define HAVE_SCHED_YIELD 1
39563 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39564 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39565 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39566 echo $ECHO_N "(cached) $ECHO_C" >&6
39568 ac_check_lib_save_LIBS=$LIBS
39569 LIBS="-lposix4 $LIBS"
39570 cat >conftest.$ac_ext <<_ACEOF
39573 cat confdefs.h >>conftest.$ac_ext
39574 cat >>conftest.$ac_ext <<_ACEOF
39575 /* end confdefs.h. */
39577 /* Override any gcc2 internal prototype to avoid an error. */
39581 /* We use char because int might match the return type of a gcc2
39582 builtin and then its argument prototype would still apply. */
39583 char sched_yield ();
39592 rm -f conftest.$ac_objext conftest$ac_exeext
39593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39594 (eval $ac_link) 2>conftest.er1
39596 grep -v '^ *+' conftest.er1 >conftest.err
39598 cat conftest.err >&5
39599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39600 (exit $ac_status); } &&
39601 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39603 (eval $ac_try) 2>&5
39605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39606 (exit $ac_status); }; } &&
39607 { ac_try='test -s conftest$ac_exeext'
39608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39609 (eval $ac_try) 2>&5
39611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39612 (exit $ac_status); }; }; then
39613 ac_cv_lib_posix4_sched_yield=yes
39615 echo "$as_me: failed program was:" >&5
39616 sed 's/^/| /' conftest.$ac_ext >&5
39618 ac_cv_lib_posix4_sched_yield=no
39620 rm -f conftest.err conftest.$ac_objext \
39621 conftest$ac_exeext conftest.$ac_ext
39622 LIBS=$ac_check_lib_save_LIBS
39624 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39625 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39626 if test $ac_cv_lib_posix4_sched_yield = yes; then
39627 cat >>confdefs.h <<\_ACEOF
39628 #define HAVE_SCHED_YIELD 1
39630 POSIX4_LINK=" -lposix4"
39632 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39633 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39644 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39645 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39646 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39647 echo $ECHO_N "(cached) $ECHO_C" >&6
39649 cat >conftest.$ac_ext <<_ACEOF
39652 cat confdefs.h >>conftest.$ac_ext
39653 cat >>conftest.$ac_ext <<_ACEOF
39654 /* end confdefs.h. */
39655 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39657 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39659 /* System header to define __stub macros and hopefully few prototypes,
39660 which can conflict with char pthread_attr_getschedpolicy (); below.
39661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39662 <limits.h> exists even on freestanding compilers. */
39665 # include <limits.h>
39667 # include <assert.h>
39670 #undef pthread_attr_getschedpolicy
39672 /* Override any gcc2 internal prototype to avoid an error. */
39677 /* We use char because int might match the return type of a gcc2
39678 builtin and then its argument prototype would still apply. */
39679 char pthread_attr_getschedpolicy ();
39680 /* The GNU C library defines this for functions which it implements
39681 to always fail with ENOSYS. Some functions are actually named
39682 something starting with __ and the normal name is an alias. */
39683 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39686 char (*f) () = pthread_attr_getschedpolicy;
39695 return f != pthread_attr_getschedpolicy;
39700 rm -f conftest.$ac_objext conftest$ac_exeext
39701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39702 (eval $ac_link) 2>conftest.er1
39704 grep -v '^ *+' conftest.er1 >conftest.err
39706 cat conftest.err >&5
39707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39708 (exit $ac_status); } &&
39709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39711 (eval $ac_try) 2>&5
39713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39714 (exit $ac_status); }; } &&
39715 { ac_try='test -s conftest$ac_exeext'
39716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39717 (eval $ac_try) 2>&5
39719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39720 (exit $ac_status); }; }; then
39721 ac_cv_func_pthread_attr_getschedpolicy=yes
39723 echo "$as_me: failed program was:" >&5
39724 sed 's/^/| /' conftest.$ac_ext >&5
39726 ac_cv_func_pthread_attr_getschedpolicy=no
39728 rm -f conftest.err conftest.$ac_objext \
39729 conftest$ac_exeext conftest.$ac_ext
39731 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39732 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39733 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39734 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39735 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39736 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39737 echo $ECHO_N "(cached) $ECHO_C" >&6
39739 cat >conftest.$ac_ext <<_ACEOF
39742 cat confdefs.h >>conftest.$ac_ext
39743 cat >>conftest.$ac_ext <<_ACEOF
39744 /* end confdefs.h. */
39745 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39747 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39749 /* System header to define __stub macros and hopefully few prototypes,
39750 which can conflict with char pthread_attr_setschedparam (); below.
39751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39752 <limits.h> exists even on freestanding compilers. */
39755 # include <limits.h>
39757 # include <assert.h>
39760 #undef pthread_attr_setschedparam
39762 /* Override any gcc2 internal prototype to avoid an error. */
39767 /* We use char because int might match the return type of a gcc2
39768 builtin and then its argument prototype would still apply. */
39769 char pthread_attr_setschedparam ();
39770 /* The GNU C library defines this for functions which it implements
39771 to always fail with ENOSYS. Some functions are actually named
39772 something starting with __ and the normal name is an alias. */
39773 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39776 char (*f) () = pthread_attr_setschedparam;
39785 return f != pthread_attr_setschedparam;
39790 rm -f conftest.$ac_objext conftest$ac_exeext
39791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39792 (eval $ac_link) 2>conftest.er1
39794 grep -v '^ *+' conftest.er1 >conftest.err
39796 cat conftest.err >&5
39797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39798 (exit $ac_status); } &&
39799 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39801 (eval $ac_try) 2>&5
39803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39804 (exit $ac_status); }; } &&
39805 { ac_try='test -s conftest$ac_exeext'
39806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39807 (eval $ac_try) 2>&5
39809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39810 (exit $ac_status); }; }; then
39811 ac_cv_func_pthread_attr_setschedparam=yes
39813 echo "$as_me: failed program was:" >&5
39814 sed 's/^/| /' conftest.$ac_ext >&5
39816 ac_cv_func_pthread_attr_setschedparam=no
39818 rm -f conftest.err conftest.$ac_objext \
39819 conftest$ac_exeext conftest.$ac_ext
39821 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39822 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39823 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39824 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39825 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39826 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39827 echo $ECHO_N "(cached) $ECHO_C" >&6
39829 cat >conftest.$ac_ext <<_ACEOF
39832 cat confdefs.h >>conftest.$ac_ext
39833 cat >>conftest.$ac_ext <<_ACEOF
39834 /* end confdefs.h. */
39835 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39837 #define sched_get_priority_max innocuous_sched_get_priority_max
39839 /* System header to define __stub macros and hopefully few prototypes,
39840 which can conflict with char sched_get_priority_max (); below.
39841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39842 <limits.h> exists even on freestanding compilers. */
39845 # include <limits.h>
39847 # include <assert.h>
39850 #undef sched_get_priority_max
39852 /* Override any gcc2 internal prototype to avoid an error. */
39857 /* We use char because int might match the return type of a gcc2
39858 builtin and then its argument prototype would still apply. */
39859 char sched_get_priority_max ();
39860 /* The GNU C library defines this for functions which it implements
39861 to always fail with ENOSYS. Some functions are actually named
39862 something starting with __ and the normal name is an alias. */
39863 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39866 char (*f) () = sched_get_priority_max;
39875 return f != sched_get_priority_max;
39880 rm -f conftest.$ac_objext conftest$ac_exeext
39881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39882 (eval $ac_link) 2>conftest.er1
39884 grep -v '^ *+' conftest.er1 >conftest.err
39886 cat conftest.err >&5
39887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39888 (exit $ac_status); } &&
39889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39891 (eval $ac_try) 2>&5
39893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39894 (exit $ac_status); }; } &&
39895 { ac_try='test -s conftest$ac_exeext'
39896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39897 (eval $ac_try) 2>&5
39899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39900 (exit $ac_status); }; }; then
39901 ac_cv_func_sched_get_priority_max=yes
39903 echo "$as_me: failed program was:" >&5
39904 sed 's/^/| /' conftest.$ac_ext >&5
39906 ac_cv_func_sched_get_priority_max=no
39908 rm -f conftest.err conftest.$ac_objext \
39909 conftest$ac_exeext conftest.$ac_ext
39911 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39912 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39913 if test $ac_cv_func_sched_get_priority_max = yes; then
39916 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39917 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39918 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39919 echo $ECHO_N "(cached) $ECHO_C" >&6
39921 ac_check_lib_save_LIBS=$LIBS
39922 LIBS="-lposix4 $LIBS"
39923 cat >conftest.$ac_ext <<_ACEOF
39926 cat confdefs.h >>conftest.$ac_ext
39927 cat >>conftest.$ac_ext <<_ACEOF
39928 /* end confdefs.h. */
39930 /* Override any gcc2 internal prototype to avoid an error. */
39934 /* We use char because int might match the return type of a gcc2
39935 builtin and then its argument prototype would still apply. */
39936 char sched_get_priority_max ();
39940 sched_get_priority_max ();
39945 rm -f conftest.$ac_objext conftest$ac_exeext
39946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39947 (eval $ac_link) 2>conftest.er1
39949 grep -v '^ *+' conftest.er1 >conftest.err
39951 cat conftest.err >&5
39952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39953 (exit $ac_status); } &&
39954 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39956 (eval $ac_try) 2>&5
39958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39959 (exit $ac_status); }; } &&
39960 { ac_try='test -s conftest$ac_exeext'
39961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39962 (eval $ac_try) 2>&5
39964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39965 (exit $ac_status); }; }; then
39966 ac_cv_lib_posix4_sched_get_priority_max=yes
39968 echo "$as_me: failed program was:" >&5
39969 sed 's/^/| /' conftest.$ac_ext >&5
39971 ac_cv_lib_posix4_sched_get_priority_max=no
39973 rm -f conftest.err conftest.$ac_objext \
39974 conftest$ac_exeext conftest.$ac_ext
39975 LIBS=$ac_check_lib_save_LIBS
39977 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39978 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
39979 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39982 POSIX4_LINK=" -lposix4"
39996 if test "$HAVE_PRIOR_FUNCS" = 1; then
39997 cat >>confdefs.h <<\_ACEOF
39998 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40002 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40003 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40006 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40007 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40008 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40009 echo $ECHO_N "(cached) $ECHO_C" >&6
40011 cat >conftest.$ac_ext <<_ACEOF
40014 cat confdefs.h >>conftest.$ac_ext
40015 cat >>conftest.$ac_ext <<_ACEOF
40016 /* end confdefs.h. */
40017 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40019 #define pthread_cancel innocuous_pthread_cancel
40021 /* System header to define __stub macros and hopefully few prototypes,
40022 which can conflict with char pthread_cancel (); below.
40023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40024 <limits.h> exists even on freestanding compilers. */
40027 # include <limits.h>
40029 # include <assert.h>
40032 #undef pthread_cancel
40034 /* Override any gcc2 internal prototype to avoid an error. */
40039 /* We use char because int might match the return type of a gcc2
40040 builtin and then its argument prototype would still apply. */
40041 char pthread_cancel ();
40042 /* The GNU C library defines this for functions which it implements
40043 to always fail with ENOSYS. Some functions are actually named
40044 something starting with __ and the normal name is an alias. */
40045 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40048 char (*f) () = pthread_cancel;
40057 return f != pthread_cancel;
40062 rm -f conftest.$ac_objext conftest$ac_exeext
40063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40064 (eval $ac_link) 2>conftest.er1
40066 grep -v '^ *+' conftest.er1 >conftest.err
40068 cat conftest.err >&5
40069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40070 (exit $ac_status); } &&
40071 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40073 (eval $ac_try) 2>&5
40075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40076 (exit $ac_status); }; } &&
40077 { ac_try='test -s conftest$ac_exeext'
40078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40079 (eval $ac_try) 2>&5
40081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40082 (exit $ac_status); }; }; then
40083 ac_cv_func_pthread_cancel=yes
40085 echo "$as_me: failed program was:" >&5
40086 sed 's/^/| /' conftest.$ac_ext >&5
40088 ac_cv_func_pthread_cancel=no
40090 rm -f conftest.err conftest.$ac_objext \
40091 conftest$ac_exeext conftest.$ac_ext
40093 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40094 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40095 if test $ac_cv_func_pthread_cancel = yes; then
40096 cat >>confdefs.h <<\_ACEOF
40097 #define HAVE_PTHREAD_CANCEL 1
40101 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40102 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40106 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40107 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40108 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40109 echo $ECHO_N "(cached) $ECHO_C" >&6
40111 cat >conftest.$ac_ext <<_ACEOF
40114 cat confdefs.h >>conftest.$ac_ext
40115 cat >>conftest.$ac_ext <<_ACEOF
40116 /* end confdefs.h. */
40117 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40119 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40121 /* System header to define __stub macros and hopefully few prototypes,
40122 which can conflict with char pthread_attr_setstacksize (); below.
40123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40124 <limits.h> exists even on freestanding compilers. */
40127 # include <limits.h>
40129 # include <assert.h>
40132 #undef pthread_attr_setstacksize
40134 /* Override any gcc2 internal prototype to avoid an error. */
40139 /* We use char because int might match the return type of a gcc2
40140 builtin and then its argument prototype would still apply. */
40141 char pthread_attr_setstacksize ();
40142 /* The GNU C library defines this for functions which it implements
40143 to always fail with ENOSYS. Some functions are actually named
40144 something starting with __ and the normal name is an alias. */
40145 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40148 char (*f) () = pthread_attr_setstacksize;
40157 return f != pthread_attr_setstacksize;
40162 rm -f conftest.$ac_objext conftest$ac_exeext
40163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40164 (eval $ac_link) 2>conftest.er1
40166 grep -v '^ *+' conftest.er1 >conftest.err
40168 cat conftest.err >&5
40169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40170 (exit $ac_status); } &&
40171 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40173 (eval $ac_try) 2>&5
40175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40176 (exit $ac_status); }; } &&
40177 { ac_try='test -s conftest$ac_exeext'
40178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40179 (eval $ac_try) 2>&5
40181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40182 (exit $ac_status); }; }; then
40183 ac_cv_func_pthread_attr_setstacksize=yes
40185 echo "$as_me: failed program was:" >&5
40186 sed 's/^/| /' conftest.$ac_ext >&5
40188 ac_cv_func_pthread_attr_setstacksize=no
40190 rm -f conftest.err conftest.$ac_objext \
40191 conftest$ac_exeext conftest.$ac_ext
40193 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40194 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40195 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40196 cat >>confdefs.h <<\_ACEOF
40197 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40204 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40205 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40206 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40207 echo $ECHO_N "(cached) $ECHO_C" >&6
40210 cat >conftest.$ac_ext <<_ACEOF
40213 cat confdefs.h >>conftest.$ac_ext
40214 cat >>conftest.$ac_ext <<_ACEOF
40215 /* end confdefs.h. */
40216 #include <pthread.h>
40221 pthread_mutexattr_t attr;
40222 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40228 rm -f conftest.$ac_objext
40229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40230 (eval $ac_compile) 2>conftest.er1
40232 grep -v '^ *+' conftest.er1 >conftest.err
40234 cat conftest.err >&5
40235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40236 (exit $ac_status); } &&
40237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40239 (eval $ac_try) 2>&5
40241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40242 (exit $ac_status); }; } &&
40243 { ac_try='test -s conftest.$ac_objext'
40244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40245 (eval $ac_try) 2>&5
40247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40248 (exit $ac_status); }; }; then
40249 wx_cv_type_pthread_mutexattr_t=yes
40251 echo "$as_me: failed program was:" >&5
40252 sed 's/^/| /' conftest.$ac_ext >&5
40254 wx_cv_type_pthread_mutexattr_t=no
40257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40260 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40261 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40263 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40264 cat >>confdefs.h <<\_ACEOF
40265 #define HAVE_PTHREAD_MUTEXATTR_T 1
40269 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40270 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40271 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40272 echo $ECHO_N "(cached) $ECHO_C" >&6
40275 cat >conftest.$ac_ext <<_ACEOF
40278 cat confdefs.h >>conftest.$ac_ext
40279 cat >>conftest.$ac_ext <<_ACEOF
40280 /* end confdefs.h. */
40281 #include <pthread.h>
40286 pthread_mutexattr_t attr;
40287 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40293 rm -f conftest.$ac_objext
40294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40295 (eval $ac_compile) 2>conftest.er1
40297 grep -v '^ *+' conftest.er1 >conftest.err
40299 cat conftest.err >&5
40300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40301 (exit $ac_status); } &&
40302 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40304 (eval $ac_try) 2>&5
40306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40307 (exit $ac_status); }; } &&
40308 { ac_try='test -s conftest.$ac_objext'
40309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40310 (eval $ac_try) 2>&5
40312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40313 (exit $ac_status); }; }; then
40314 wx_cv_func_pthread_mutexattr_settype_decl=yes
40316 echo "$as_me: failed program was:" >&5
40317 sed 's/^/| /' conftest.$ac_ext >&5
40319 wx_cv_func_pthread_mutexattr_settype_decl=no
40322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40325 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40326 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40327 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40328 cat >>confdefs.h <<\_ACEOF
40329 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40334 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40335 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40336 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40337 echo $ECHO_N "(cached) $ECHO_C" >&6
40340 cat >conftest.$ac_ext <<_ACEOF
40343 cat confdefs.h >>conftest.$ac_ext
40344 cat >>conftest.$ac_ext <<_ACEOF
40345 /* end confdefs.h. */
40346 #include <pthread.h>
40351 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40357 rm -f conftest.$ac_objext
40358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40359 (eval $ac_compile) 2>conftest.er1
40361 grep -v '^ *+' conftest.er1 >conftest.err
40363 cat conftest.err >&5
40364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40365 (exit $ac_status); } &&
40366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40368 (eval $ac_try) 2>&5
40370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40371 (exit $ac_status); }; } &&
40372 { ac_try='test -s conftest.$ac_objext'
40373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40374 (eval $ac_try) 2>&5
40376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40377 (exit $ac_status); }; }; then
40379 wx_cv_type_pthread_rec_mutex_init=yes
40382 echo "$as_me: failed program was:" >&5
40383 sed 's/^/| /' conftest.$ac_ext >&5
40386 wx_cv_type_pthread_rec_mutex_init=no
40390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40393 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40394 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40395 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40396 cat >>confdefs.h <<\_ACEOF
40397 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40401 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40402 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40408 if test "$wxUSE_THREADS" = "yes" ; then
40411 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40412 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40413 if test "${wx_cv_cflags_mthread+set}" = set; then
40414 echo $ECHO_N "(cached) $ECHO_C" >&6
40417 CFLAGS_OLD="$CFLAGS"
40418 CFLAGS="-mthreads $CFLAGS"
40419 cat >conftest.$ac_ext <<_ACEOF
40422 cat confdefs.h >>conftest.$ac_ext
40423 cat >>conftest.$ac_ext <<_ACEOF
40424 /* end confdefs.h. */
40434 rm -f conftest.$ac_objext
40435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40436 (eval $ac_compile) 2>conftest.er1
40438 grep -v '^ *+' conftest.er1 >conftest.err
40440 cat conftest.err >&5
40441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40442 (exit $ac_status); } &&
40443 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40445 (eval $ac_try) 2>&5
40447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40448 (exit $ac_status); }; } &&
40449 { ac_try='test -s conftest.$ac_objext'
40450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40451 (eval $ac_try) 2>&5
40453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40454 (exit $ac_status); }; }; then
40455 wx_cv_cflags_mthread=yes
40457 echo "$as_me: failed program was:" >&5
40458 sed 's/^/| /' conftest.$ac_ext >&5
40460 wx_cv_cflags_mthread=no
40463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40467 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40468 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40470 if test "$wx_cv_cflags_mthread" = "yes"; then
40471 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40472 LDFLAGS="$LDFLAGS -mthreads"
40474 CFLAGS="$CFLAGS_OLD"
40478 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40479 LDFLAGS="$LDFLAGS -Zmt"
40485 echo "$as_me:$LINENO: checking for localtime_r" >&5
40486 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40487 if test "${ac_cv_func_localtime_r+set}" = set; then
40488 echo $ECHO_N "(cached) $ECHO_C" >&6
40490 cat >conftest.$ac_ext <<_ACEOF
40493 cat confdefs.h >>conftest.$ac_ext
40494 cat >>conftest.$ac_ext <<_ACEOF
40495 /* end confdefs.h. */
40496 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40498 #define localtime_r innocuous_localtime_r
40500 /* System header to define __stub macros and hopefully few prototypes,
40501 which can conflict with char localtime_r (); below.
40502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40503 <limits.h> exists even on freestanding compilers. */
40506 # include <limits.h>
40508 # include <assert.h>
40513 /* Override any gcc2 internal prototype to avoid an error. */
40518 /* We use char because int might match the return type of a gcc2
40519 builtin and then its argument prototype would still apply. */
40520 char localtime_r ();
40521 /* The GNU C library defines this for functions which it implements
40522 to always fail with ENOSYS. Some functions are actually named
40523 something starting with __ and the normal name is an alias. */
40524 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40527 char (*f) () = localtime_r;
40536 return f != localtime_r;
40541 rm -f conftest.$ac_objext conftest$ac_exeext
40542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40543 (eval $ac_link) 2>conftest.er1
40545 grep -v '^ *+' conftest.er1 >conftest.err
40547 cat conftest.err >&5
40548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40549 (exit $ac_status); } &&
40550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40552 (eval $ac_try) 2>&5
40554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40555 (exit $ac_status); }; } &&
40556 { ac_try='test -s conftest$ac_exeext'
40557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40558 (eval $ac_try) 2>&5
40560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40561 (exit $ac_status); }; }; then
40562 ac_cv_func_localtime_r=yes
40564 echo "$as_me: failed program was:" >&5
40565 sed 's/^/| /' conftest.$ac_ext >&5
40567 ac_cv_func_localtime_r=no
40569 rm -f conftest.err conftest.$ac_objext \
40570 conftest$ac_exeext conftest.$ac_ext
40572 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40573 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40574 if test $ac_cv_func_localtime_r = yes; then
40575 cat >>confdefs.h <<\_ACEOF
40576 #define HAVE_LOCALTIME_R 1
40581 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40582 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40583 if test "${ac_cv_func_gmtime_r+set}" = set; then
40584 echo $ECHO_N "(cached) $ECHO_C" >&6
40586 cat >conftest.$ac_ext <<_ACEOF
40589 cat confdefs.h >>conftest.$ac_ext
40590 cat >>conftest.$ac_ext <<_ACEOF
40591 /* end confdefs.h. */
40592 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40594 #define gmtime_r innocuous_gmtime_r
40596 /* System header to define __stub macros and hopefully few prototypes,
40597 which can conflict with char gmtime_r (); below.
40598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40599 <limits.h> exists even on freestanding compilers. */
40602 # include <limits.h>
40604 # include <assert.h>
40609 /* Override any gcc2 internal prototype to avoid an error. */
40614 /* We use char because int might match the return type of a gcc2
40615 builtin and then its argument prototype would still apply. */
40617 /* The GNU C library defines this for functions which it implements
40618 to always fail with ENOSYS. Some functions are actually named
40619 something starting with __ and the normal name is an alias. */
40620 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40623 char (*f) () = gmtime_r;
40632 return f != gmtime_r;
40637 rm -f conftest.$ac_objext conftest$ac_exeext
40638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40639 (eval $ac_link) 2>conftest.er1
40641 grep -v '^ *+' conftest.er1 >conftest.err
40643 cat conftest.err >&5
40644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40645 (exit $ac_status); } &&
40646 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40648 (eval $ac_try) 2>&5
40650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40651 (exit $ac_status); }; } &&
40652 { ac_try='test -s conftest$ac_exeext'
40653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40654 (eval $ac_try) 2>&5
40656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40657 (exit $ac_status); }; }; then
40658 ac_cv_func_gmtime_r=yes
40660 echo "$as_me: failed program was:" >&5
40661 sed 's/^/| /' conftest.$ac_ext >&5
40663 ac_cv_func_gmtime_r=no
40665 rm -f conftest.err conftest.$ac_objext \
40666 conftest$ac_exeext conftest.$ac_ext
40668 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40669 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40670 if test $ac_cv_func_gmtime_r = yes; then
40671 cat >>confdefs.h <<\_ACEOF
40672 #define HAVE_GMTIME_R 1
40677 echo "$as_me:$LINENO: checking for readdir_r" >&5
40678 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40679 if test "${ac_cv_func_readdir_r+set}" = set; then
40680 echo $ECHO_N "(cached) $ECHO_C" >&6
40682 cat >conftest.$ac_ext <<_ACEOF
40685 cat confdefs.h >>conftest.$ac_ext
40686 cat >>conftest.$ac_ext <<_ACEOF
40687 /* end confdefs.h. */
40688 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40690 #define readdir_r innocuous_readdir_r
40692 /* System header to define __stub macros and hopefully few prototypes,
40693 which can conflict with char readdir_r (); below.
40694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40695 <limits.h> exists even on freestanding compilers. */
40698 # include <limits.h>
40700 # include <assert.h>
40705 /* Override any gcc2 internal prototype to avoid an error. */
40710 /* We use char because int might match the return type of a gcc2
40711 builtin and then its argument prototype would still apply. */
40713 /* The GNU C library defines this for functions which it implements
40714 to always fail with ENOSYS. Some functions are actually named
40715 something starting with __ and the normal name is an alias. */
40716 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40719 char (*f) () = readdir_r;
40728 return f != readdir_r;
40733 rm -f conftest.$ac_objext conftest$ac_exeext
40734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40735 (eval $ac_link) 2>conftest.er1
40737 grep -v '^ *+' conftest.er1 >conftest.err
40739 cat conftest.err >&5
40740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40741 (exit $ac_status); } &&
40742 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40744 (eval $ac_try) 2>&5
40746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40747 (exit $ac_status); }; } &&
40748 { ac_try='test -s conftest$ac_exeext'
40749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40750 (eval $ac_try) 2>&5
40752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40753 (exit $ac_status); }; }; then
40754 ac_cv_func_readdir_r=yes
40756 echo "$as_me: failed program was:" >&5
40757 sed 's/^/| /' conftest.$ac_ext >&5
40759 ac_cv_func_readdir_r=no
40761 rm -f conftest.err conftest.$ac_objext \
40762 conftest$ac_exeext conftest.$ac_ext
40764 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40765 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40766 if test $ac_cv_func_readdir_r = yes; then
40767 cat >>confdefs.h <<\_ACEOF
40768 #define HAVE_READDIR_R 1
40777 ac_cpp='$CPP $CPPFLAGS'
40778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40782 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40783 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40785 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40786 echo $ECHO_N "(cached) $ECHO_C" >&6
40790 ################################################################
40792 ac_cv_func_which_gethostbyname_r=unknown
40795 # ONE ARGUMENT (sanity check)
40798 # This should fail, as there is no variant of gethostbyname_r() that takes
40799 # a single argument. If it actually compiles, then we can assume that
40800 # netdb.h is not declaring the function, and the compiler is thereby
40801 # assuming an implicit prototype. In which case, we're out of luck.
40803 cat >conftest.$ac_ext <<_ACEOF
40806 cat confdefs.h >>conftest.$ac_ext
40807 cat >>conftest.$ac_ext <<_ACEOF
40808 /* end confdefs.h. */
40814 char *name = "www.gnu.org";
40815 (void)gethostbyname_r(name) /* ; */
40821 rm -f conftest.$ac_objext
40822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40823 (eval $ac_compile) 2>conftest.er1
40825 grep -v '^ *+' conftest.er1 >conftest.err
40827 cat conftest.err >&5
40828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40829 (exit $ac_status); } &&
40830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40832 (eval $ac_try) 2>&5
40834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40835 (exit $ac_status); }; } &&
40836 { ac_try='test -s conftest.$ac_objext'
40837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40838 (eval $ac_try) 2>&5
40840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40841 (exit $ac_status); }; }; then
40842 ac_cv_func_which_gethostbyname_r=no
40844 echo "$as_me: failed program was:" >&5
40845 sed 's/^/| /' conftest.$ac_ext >&5
40848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40855 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40857 cat >conftest.$ac_ext <<_ACEOF
40860 cat confdefs.h >>conftest.$ac_ext
40861 cat >>conftest.$ac_ext <<_ACEOF
40862 /* end confdefs.h. */
40868 char *name = "www.gnu.org";
40869 struct hostent ret, *retp;
40873 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40879 rm -f conftest.$ac_objext
40880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40881 (eval $ac_compile) 2>conftest.er1
40883 grep -v '^ *+' conftest.er1 >conftest.err
40885 cat conftest.err >&5
40886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40887 (exit $ac_status); } &&
40888 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40890 (eval $ac_try) 2>&5
40892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40893 (exit $ac_status); }; } &&
40894 { ac_try='test -s conftest.$ac_objext'
40895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40896 (eval $ac_try) 2>&5
40898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40899 (exit $ac_status); }; }; then
40900 ac_cv_func_which_gethostbyname_r=six
40902 echo "$as_me: failed program was:" >&5
40903 sed 's/^/| /' conftest.$ac_ext >&5
40906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40915 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40917 cat >conftest.$ac_ext <<_ACEOF
40920 cat confdefs.h >>conftest.$ac_ext
40921 cat >>conftest.$ac_ext <<_ACEOF
40922 /* end confdefs.h. */
40928 char *name = "www.gnu.org";
40929 struct hostent ret;
40933 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40939 rm -f conftest.$ac_objext
40940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40941 (eval $ac_compile) 2>conftest.er1
40943 grep -v '^ *+' conftest.er1 >conftest.err
40945 cat conftest.err >&5
40946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40947 (exit $ac_status); } &&
40948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40950 (eval $ac_try) 2>&5
40952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40953 (exit $ac_status); }; } &&
40954 { ac_try='test -s conftest.$ac_objext'
40955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40956 (eval $ac_try) 2>&5
40958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40959 (exit $ac_status); }; }; then
40960 ac_cv_func_which_gethostbyname_r=five
40962 echo "$as_me: failed program was:" >&5
40963 sed 's/^/| /' conftest.$ac_ext >&5
40966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40972 # (e.g. AIX, HP-UX, Tru64)
40975 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40977 cat >conftest.$ac_ext <<_ACEOF
40980 cat confdefs.h >>conftest.$ac_ext
40981 cat >>conftest.$ac_ext <<_ACEOF
40982 /* end confdefs.h. */
40988 char *name = "www.gnu.org";
40989 struct hostent ret;
40990 struct hostent_data data;
40991 (void)gethostbyname_r(name, &ret, &data) /* ; */
40997 rm -f conftest.$ac_objext
40998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40999 (eval $ac_compile) 2>conftest.er1
41001 grep -v '^ *+' conftest.er1 >conftest.err
41003 cat conftest.err >&5
41004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41005 (exit $ac_status); } &&
41006 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41008 (eval $ac_try) 2>&5
41010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41011 (exit $ac_status); }; } &&
41012 { ac_try='test -s conftest.$ac_objext'
41013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41014 (eval $ac_try) 2>&5
41016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41017 (exit $ac_status); }; }; then
41018 ac_cv_func_which_gethostbyname_r=three
41020 echo "$as_me: failed program was:" >&5
41021 sed 's/^/| /' conftest.$ac_ext >&5
41024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41028 ################################################################
41033 case "$ac_cv_func_which_gethostbyname_r" in
41035 echo "$as_me:$LINENO: result: three" >&5
41036 echo "${ECHO_T}three" >&6
41037 cat >>confdefs.h <<\_ACEOF
41038 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41044 echo "$as_me:$LINENO: result: five" >&5
41045 echo "${ECHO_T}five" >&6
41046 cat >>confdefs.h <<\_ACEOF
41047 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41053 echo "$as_me:$LINENO: result: six" >&5
41054 echo "${ECHO_T}six" >&6
41055 cat >>confdefs.h <<\_ACEOF
41056 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41062 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41063 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41067 echo "$as_me:$LINENO: result: can't tell" >&5
41068 echo "${ECHO_T}can't tell" >&6
41072 { { echo "$as_me:$LINENO: error: internal error" >&5
41073 echo "$as_me: error: internal error" >&2;}
41074 { (exit 1); exit 1; }; }
41079 ac_cpp='$CPP $CPPFLAGS'
41080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41086 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41087 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41088 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41089 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41090 if test "${ac_cv_func_gethostbyname+set}" = set; then
41091 echo $ECHO_N "(cached) $ECHO_C" >&6
41093 cat >conftest.$ac_ext <<_ACEOF
41096 cat confdefs.h >>conftest.$ac_ext
41097 cat >>conftest.$ac_ext <<_ACEOF
41098 /* end confdefs.h. */
41099 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41101 #define gethostbyname innocuous_gethostbyname
41103 /* System header to define __stub macros and hopefully few prototypes,
41104 which can conflict with char gethostbyname (); below.
41105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41106 <limits.h> exists even on freestanding compilers. */
41109 # include <limits.h>
41111 # include <assert.h>
41114 #undef gethostbyname
41116 /* Override any gcc2 internal prototype to avoid an error. */
41121 /* We use char because int might match the return type of a gcc2
41122 builtin and then its argument prototype would still apply. */
41123 char gethostbyname ();
41124 /* The GNU C library defines this for functions which it implements
41125 to always fail with ENOSYS. Some functions are actually named
41126 something starting with __ and the normal name is an alias. */
41127 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41130 char (*f) () = gethostbyname;
41139 return f != gethostbyname;
41144 rm -f conftest.$ac_objext conftest$ac_exeext
41145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41146 (eval $ac_link) 2>conftest.er1
41148 grep -v '^ *+' conftest.er1 >conftest.err
41150 cat conftest.err >&5
41151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41152 (exit $ac_status); } &&
41153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41155 (eval $ac_try) 2>&5
41157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41158 (exit $ac_status); }; } &&
41159 { ac_try='test -s conftest$ac_exeext'
41160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41161 (eval $ac_try) 2>&5
41163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41164 (exit $ac_status); }; }; then
41165 ac_cv_func_gethostbyname=yes
41167 echo "$as_me: failed program was:" >&5
41168 sed 's/^/| /' conftest.$ac_ext >&5
41170 ac_cv_func_gethostbyname=no
41172 rm -f conftest.err conftest.$ac_objext \
41173 conftest$ac_exeext conftest.$ac_ext
41175 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41176 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41177 if test $ac_cv_func_gethostbyname = yes; then
41178 cat >>confdefs.h <<\_ACEOF
41179 #define HAVE_GETHOSTBYNAME 1
41186 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41187 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41188 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41189 echo $ECHO_N "(cached) $ECHO_C" >&6
41193 ac_cpp='$CXXCPP $CPPFLAGS'
41194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41199 cat >conftest.$ac_ext <<_ACEOF
41202 cat confdefs.h >>conftest.$ac_ext
41203 cat >>conftest.$ac_ext <<_ACEOF
41204 /* end confdefs.h. */
41212 struct servent *se, *res;
41215 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41221 rm -f conftest.$ac_objext
41222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41223 (eval $ac_compile) 2>conftest.er1
41225 grep -v '^ *+' conftest.er1 >conftest.err
41227 cat conftest.err >&5
41228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41229 (exit $ac_status); } &&
41230 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41232 (eval $ac_try) 2>&5
41234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41235 (exit $ac_status); }; } &&
41236 { ac_try='test -s conftest.$ac_objext'
41237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41238 (eval $ac_try) 2>&5
41240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41241 (exit $ac_status); }; }; then
41242 ac_cv_func_which_getservbyname_r=six
41244 echo "$as_me: failed program was:" >&5
41245 sed 's/^/| /' conftest.$ac_ext >&5
41248 cat >conftest.$ac_ext <<_ACEOF
41251 cat confdefs.h >>conftest.$ac_ext
41252 cat >>conftest.$ac_ext <<_ACEOF
41253 /* end confdefs.h. */
41261 struct servent *se;
41264 (void) getservbyname_r(name, proto, se, buffer, buflen)
41270 rm -f conftest.$ac_objext
41271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41272 (eval $ac_compile) 2>conftest.er1
41274 grep -v '^ *+' conftest.er1 >conftest.err
41276 cat conftest.err >&5
41277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41278 (exit $ac_status); } &&
41279 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41281 (eval $ac_try) 2>&5
41283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41284 (exit $ac_status); }; } &&
41285 { ac_try='test -s conftest.$ac_objext'
41286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41287 (eval $ac_try) 2>&5
41289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41290 (exit $ac_status); }; }; then
41291 ac_cv_func_which_getservbyname_r=five
41293 echo "$as_me: failed program was:" >&5
41294 sed 's/^/| /' conftest.$ac_ext >&5
41297 cat >conftest.$ac_ext <<_ACEOF
41300 cat confdefs.h >>conftest.$ac_ext
41301 cat >>conftest.$ac_ext <<_ACEOF
41302 /* end confdefs.h. */
41310 struct servent *se;
41311 struct servent_data data;
41312 (void) getservbyname_r(name, proto, se, &data);
41318 rm -f conftest.$ac_objext
41319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41320 (eval $ac_compile) 2>conftest.er1
41322 grep -v '^ *+' conftest.er1 >conftest.err
41324 cat conftest.err >&5
41325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41326 (exit $ac_status); } &&
41327 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41329 (eval $ac_try) 2>&5
41331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41332 (exit $ac_status); }; } &&
41333 { ac_try='test -s conftest.$ac_objext'
41334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41335 (eval $ac_try) 2>&5
41337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41338 (exit $ac_status); }; }; then
41339 ac_cv_func_which_getservbyname_r=four
41341 echo "$as_me: failed program was:" >&5
41342 sed 's/^/| /' conftest.$ac_ext >&5
41344 ac_cv_func_which_getservbyname_r=no
41347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41357 ac_cpp='$CPP $CPPFLAGS'
41358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41365 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41366 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41368 if test $ac_cv_func_which_getservbyname_r = six; then
41369 cat >>confdefs.h <<\_ACEOF
41370 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41373 elif test $ac_cv_func_which_getservbyname_r = five; then
41374 cat >>confdefs.h <<\_ACEOF
41375 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41378 elif test $ac_cv_func_which_getservbyname_r = four; then
41379 cat >>confdefs.h <<\_ACEOF
41380 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41386 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41387 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41389 for ac_func in getservbyname
41391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41392 echo "$as_me:$LINENO: checking for $ac_func" >&5
41393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41394 if eval "test \"\${$as_ac_var+set}\" = set"; then
41395 echo $ECHO_N "(cached) $ECHO_C" >&6
41397 cat >conftest.$ac_ext <<_ACEOF
41400 cat confdefs.h >>conftest.$ac_ext
41401 cat >>conftest.$ac_ext <<_ACEOF
41402 /* end confdefs.h. */
41403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41405 #define $ac_func innocuous_$ac_func
41407 /* System header to define __stub macros and hopefully few prototypes,
41408 which can conflict with char $ac_func (); below.
41409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41410 <limits.h> exists even on freestanding compilers. */
41413 # include <limits.h>
41415 # include <assert.h>
41420 /* Override any gcc2 internal prototype to avoid an error. */
41425 /* We use char because int might match the return type of a gcc2
41426 builtin and then its argument prototype would still apply. */
41428 /* The GNU C library defines this for functions which it implements
41429 to always fail with ENOSYS. Some functions are actually named
41430 something starting with __ and the normal name is an alias. */
41431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41434 char (*f) () = $ac_func;
41443 return f != $ac_func;
41448 rm -f conftest.$ac_objext conftest$ac_exeext
41449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41450 (eval $ac_link) 2>conftest.er1
41452 grep -v '^ *+' conftest.er1 >conftest.err
41454 cat conftest.err >&5
41455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41456 (exit $ac_status); } &&
41457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41459 (eval $ac_try) 2>&5
41461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41462 (exit $ac_status); }; } &&
41463 { ac_try='test -s conftest$ac_exeext'
41464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41465 (eval $ac_try) 2>&5
41467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41468 (exit $ac_status); }; }; then
41469 eval "$as_ac_var=yes"
41471 echo "$as_me: failed program was:" >&5
41472 sed 's/^/| /' conftest.$ac_ext >&5
41474 eval "$as_ac_var=no"
41476 rm -f conftest.err conftest.$ac_objext \
41477 conftest$ac_exeext conftest.$ac_ext
41479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41481 if test `eval echo '${'$as_ac_var'}'` = yes; then
41482 cat >>confdefs.h <<_ACEOF
41483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41485 cat >>confdefs.h <<\_ACEOF
41486 #define HAVE_GETSERVBYNAME 1
41494 if test "$wxUSE_THREADS" = "yes"; then
41495 cat >>confdefs.h <<\_ACEOF
41496 #define wxUSE_THREADS 1
41500 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41502 if test "$wx_cv_func_strtok_r" = "yes"; then
41503 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41504 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41505 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41506 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41507 echo "$as_me:$LINENO: result: yes" >&5
41508 echo "${ECHO_T}yes" >&6
41510 echo "$as_me:$LINENO: result: no" >&5
41511 echo "${ECHO_T}no" >&6
41516 if test "$WXGTK20" = 1 ; then
41517 cat >>confdefs.h <<_ACEOF
41518 #define __WXGTK20__ $WXGTK20
41524 if test "$WXGTK12" = 1 ; then
41525 cat >>confdefs.h <<_ACEOF
41526 #define __WXGTK12__ $WXGTK12
41531 if test "$WXGTK127" = 1 ; then
41532 cat >>confdefs.h <<_ACEOF
41533 #define __WXGTK127__ $WXGTK127
41538 if test "$WXGPE" = 1 ; then
41539 cat >>confdefs.h <<_ACEOF
41540 #define __WXGPE__ $WXGPE
41546 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41551 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41552 wxUSE_DEBUG_INFO=yes
41553 if test "$GCC" = yes; then
41554 DEBUG_CFLAGS="-ggdb"
41558 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41559 cat >>confdefs.h <<\_ACEOF
41563 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41565 if test "$wxUSE_GTK" = 1 ; then
41566 if test "x$wxGTK_VERSION" = "x1" ; then
41567 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41572 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41573 cat >>confdefs.h <<\_ACEOF
41574 #define wxUSE_MEMORY_TRACING 1
41577 cat >>confdefs.h <<\_ACEOF
41578 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41581 cat >>confdefs.h <<\_ACEOF
41582 #define wxUSE_DEBUG_NEW_ALWAYS 1
41585 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41588 if test "$wxUSE_DMALLOC" = "yes" ; then
41589 DMALLOC_LIBS="-ldmallocthcxx"
41593 if test "$wxUSE_PROFILE" = "yes" ; then
41594 PROFILE_FLAGS=" -pg"
41597 if test "$GCC" = "yes" ; then
41598 if test "$wxUSE_NO_RTTI" = "yes" ; then
41599 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41601 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41602 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41604 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41605 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41610 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41613 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41619 if test "$wxUSE_OPTIMISE" = "no" ; then
41620 if test "$GCC" = yes ; then
41621 OPTIMISE_CFLAGS="-O0"
41624 if test "$GCC" = yes ; then
41626 *-pc-os2_emx | *-pc-os2-emx )
41627 OPTIMISE_CFLAGS="-O2"
41630 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41634 OPTIMISE_CFLAGS="-O"
41639 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41640 cat >>confdefs.h <<\_ACEOF
41641 #define WXWIN_COMPATIBILITY_2_4 1
41645 WXWIN_COMPATIBILITY_2_6="yes"
41648 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41649 cat >>confdefs.h <<\_ACEOF
41650 #define WXWIN_COMPATIBILITY_2_6 1
41656 if test "$wxUSE_GUI" = "yes"; then
41657 cat >>confdefs.h <<\_ACEOF
41658 #define wxUSE_GUI 1
41665 if test "$wxUSE_UNIX" = "yes"; then
41666 cat >>confdefs.h <<\_ACEOF
41667 #define wxUSE_UNIX 1
41673 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41677 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41678 if test "$USE_DARWIN" = 1; then
41680 elif test "$USE_DOS" = 1; then
41684 for ac_func in dlopen
41686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41687 echo "$as_me:$LINENO: checking for $ac_func" >&5
41688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41689 if eval "test \"\${$as_ac_var+set}\" = set"; then
41690 echo $ECHO_N "(cached) $ECHO_C" >&6
41692 cat >conftest.$ac_ext <<_ACEOF
41695 cat confdefs.h >>conftest.$ac_ext
41696 cat >>conftest.$ac_ext <<_ACEOF
41697 /* end confdefs.h. */
41698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41700 #define $ac_func innocuous_$ac_func
41702 /* System header to define __stub macros and hopefully few prototypes,
41703 which can conflict with char $ac_func (); below.
41704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41705 <limits.h> exists even on freestanding compilers. */
41708 # include <limits.h>
41710 # include <assert.h>
41715 /* Override any gcc2 internal prototype to avoid an error. */
41720 /* We use char because int might match the return type of a gcc2
41721 builtin and then its argument prototype would still apply. */
41723 /* The GNU C library defines this for functions which it implements
41724 to always fail with ENOSYS. Some functions are actually named
41725 something starting with __ and the normal name is an alias. */
41726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41729 char (*f) () = $ac_func;
41738 return f != $ac_func;
41743 rm -f conftest.$ac_objext conftest$ac_exeext
41744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41745 (eval $ac_link) 2>conftest.er1
41747 grep -v '^ *+' conftest.er1 >conftest.err
41749 cat conftest.err >&5
41750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41751 (exit $ac_status); } &&
41752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41754 (eval $ac_try) 2>&5
41756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41757 (exit $ac_status); }; } &&
41758 { ac_try='test -s conftest$ac_exeext'
41759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41760 (eval $ac_try) 2>&5
41762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41763 (exit $ac_status); }; }; then
41764 eval "$as_ac_var=yes"
41766 echo "$as_me: failed program was:" >&5
41767 sed 's/^/| /' conftest.$ac_ext >&5
41769 eval "$as_ac_var=no"
41771 rm -f conftest.err conftest.$ac_objext \
41772 conftest$ac_exeext conftest.$ac_ext
41774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41776 if test `eval echo '${'$as_ac_var'}'` = yes; then
41777 cat >>confdefs.h <<_ACEOF
41778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41781 cat >>confdefs.h <<\_ACEOF
41782 #define HAVE_DLOPEN 1
41789 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41790 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41791 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41792 echo $ECHO_N "(cached) $ECHO_C" >&6
41794 ac_check_lib_save_LIBS=$LIBS
41796 cat >conftest.$ac_ext <<_ACEOF
41799 cat confdefs.h >>conftest.$ac_ext
41800 cat >>conftest.$ac_ext <<_ACEOF
41801 /* end confdefs.h. */
41803 /* Override any gcc2 internal prototype to avoid an error. */
41807 /* We use char because int might match the return type of a gcc2
41808 builtin and then its argument prototype would still apply. */
41818 rm -f conftest.$ac_objext conftest$ac_exeext
41819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41820 (eval $ac_link) 2>conftest.er1
41822 grep -v '^ *+' conftest.er1 >conftest.err
41824 cat conftest.err >&5
41825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41826 (exit $ac_status); } &&
41827 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41829 (eval $ac_try) 2>&5
41831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41832 (exit $ac_status); }; } &&
41833 { ac_try='test -s conftest$ac_exeext'
41834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41835 (eval $ac_try) 2>&5
41837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41838 (exit $ac_status); }; }; then
41839 ac_cv_lib_dl_dlopen=yes
41841 echo "$as_me: failed program was:" >&5
41842 sed 's/^/| /' conftest.$ac_ext >&5
41844 ac_cv_lib_dl_dlopen=no
41846 rm -f conftest.err conftest.$ac_objext \
41847 conftest$ac_exeext conftest.$ac_ext
41848 LIBS=$ac_check_lib_save_LIBS
41850 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41851 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41852 if test $ac_cv_lib_dl_dlopen = yes; then
41854 cat >>confdefs.h <<\_ACEOF
41855 #define HAVE_DLOPEN 1
41859 DL_LINK=" -ldl$DL_LINK"
41864 for ac_func in shl_load
41866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41867 echo "$as_me:$LINENO: checking for $ac_func" >&5
41868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41869 if eval "test \"\${$as_ac_var+set}\" = set"; then
41870 echo $ECHO_N "(cached) $ECHO_C" >&6
41872 cat >conftest.$ac_ext <<_ACEOF
41875 cat confdefs.h >>conftest.$ac_ext
41876 cat >>conftest.$ac_ext <<_ACEOF
41877 /* end confdefs.h. */
41878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41880 #define $ac_func innocuous_$ac_func
41882 /* System header to define __stub macros and hopefully few prototypes,
41883 which can conflict with char $ac_func (); below.
41884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41885 <limits.h> exists even on freestanding compilers. */
41888 # include <limits.h>
41890 # include <assert.h>
41895 /* Override any gcc2 internal prototype to avoid an error. */
41900 /* We use char because int might match the return type of a gcc2
41901 builtin and then its argument prototype would still apply. */
41903 /* The GNU C library defines this for functions which it implements
41904 to always fail with ENOSYS. Some functions are actually named
41905 something starting with __ and the normal name is an alias. */
41906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41909 char (*f) () = $ac_func;
41918 return f != $ac_func;
41923 rm -f conftest.$ac_objext conftest$ac_exeext
41924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41925 (eval $ac_link) 2>conftest.er1
41927 grep -v '^ *+' conftest.er1 >conftest.err
41929 cat conftest.err >&5
41930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41931 (exit $ac_status); } &&
41932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41934 (eval $ac_try) 2>&5
41936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41937 (exit $ac_status); }; } &&
41938 { ac_try='test -s conftest$ac_exeext'
41939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41940 (eval $ac_try) 2>&5
41942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41943 (exit $ac_status); }; }; then
41944 eval "$as_ac_var=yes"
41946 echo "$as_me: failed program was:" >&5
41947 sed 's/^/| /' conftest.$ac_ext >&5
41949 eval "$as_ac_var=no"
41951 rm -f conftest.err conftest.$ac_objext \
41952 conftest$ac_exeext conftest.$ac_ext
41954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41956 if test `eval echo '${'$as_ac_var'}'` = yes; then
41957 cat >>confdefs.h <<_ACEOF
41958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41961 cat >>confdefs.h <<\_ACEOF
41962 #define HAVE_SHL_LOAD 1
41969 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41970 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41971 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41972 echo $ECHO_N "(cached) $ECHO_C" >&6
41974 ac_check_lib_save_LIBS=$LIBS
41975 LIBS="-lshl_load $LIBS"
41976 cat >conftest.$ac_ext <<_ACEOF
41979 cat confdefs.h >>conftest.$ac_ext
41980 cat >>conftest.$ac_ext <<_ACEOF
41981 /* end confdefs.h. */
41983 /* Override any gcc2 internal prototype to avoid an error. */
41987 /* We use char because int might match the return type of a gcc2
41988 builtin and then its argument prototype would still apply. */
41998 rm -f conftest.$ac_objext conftest$ac_exeext
41999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42000 (eval $ac_link) 2>conftest.er1
42002 grep -v '^ *+' conftest.er1 >conftest.err
42004 cat conftest.err >&5
42005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42006 (exit $ac_status); } &&
42007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42009 (eval $ac_try) 2>&5
42011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42012 (exit $ac_status); }; } &&
42013 { ac_try='test -s conftest$ac_exeext'
42014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42015 (eval $ac_try) 2>&5
42017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42018 (exit $ac_status); }; }; then
42019 ac_cv_lib_shl_load_dld=yes
42021 echo "$as_me: failed program was:" >&5
42022 sed 's/^/| /' conftest.$ac_ext >&5
42024 ac_cv_lib_shl_load_dld=no
42026 rm -f conftest.err conftest.$ac_objext \
42027 conftest$ac_exeext conftest.$ac_ext
42028 LIBS=$ac_check_lib_save_LIBS
42030 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42031 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42032 if test $ac_cv_lib_shl_load_dld = yes; then
42035 DL_LINK=" -ldld$DL_LINK"
42051 if test "$HAVE_DL_FUNCS" = 1; then
42053 for ac_func in dlerror
42055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42056 echo "$as_me:$LINENO: checking for $ac_func" >&5
42057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42058 if eval "test \"\${$as_ac_var+set}\" = set"; then
42059 echo $ECHO_N "(cached) $ECHO_C" >&6
42061 cat >conftest.$ac_ext <<_ACEOF
42064 cat confdefs.h >>conftest.$ac_ext
42065 cat >>conftest.$ac_ext <<_ACEOF
42066 /* end confdefs.h. */
42067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42069 #define $ac_func innocuous_$ac_func
42071 /* System header to define __stub macros and hopefully few prototypes,
42072 which can conflict with char $ac_func (); below.
42073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42074 <limits.h> exists even on freestanding compilers. */
42077 # include <limits.h>
42079 # include <assert.h>
42084 /* Override any gcc2 internal prototype to avoid an error. */
42089 /* We use char because int might match the return type of a gcc2
42090 builtin and then its argument prototype would still apply. */
42092 /* The GNU C library defines this for functions which it implements
42093 to always fail with ENOSYS. Some functions are actually named
42094 something starting with __ and the normal name is an alias. */
42095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42098 char (*f) () = $ac_func;
42107 return f != $ac_func;
42112 rm -f conftest.$ac_objext conftest$ac_exeext
42113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42114 (eval $ac_link) 2>conftest.er1
42116 grep -v '^ *+' conftest.er1 >conftest.err
42118 cat conftest.err >&5
42119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42120 (exit $ac_status); } &&
42121 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42123 (eval $ac_try) 2>&5
42125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42126 (exit $ac_status); }; } &&
42127 { ac_try='test -s conftest$ac_exeext'
42128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42129 (eval $ac_try) 2>&5
42131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42132 (exit $ac_status); }; }; then
42133 eval "$as_ac_var=yes"
42135 echo "$as_me: failed program was:" >&5
42136 sed 's/^/| /' conftest.$ac_ext >&5
42138 eval "$as_ac_var=no"
42140 rm -f conftest.err conftest.$ac_objext \
42141 conftest$ac_exeext conftest.$ac_ext
42143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42145 if test `eval echo '${'$as_ac_var'}'` = yes; then
42146 cat >>confdefs.h <<_ACEOF
42147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42149 cat >>confdefs.h <<\_ACEOF
42150 #define HAVE_DLERROR 1
42155 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42156 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42157 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42158 echo $ECHO_N "(cached) $ECHO_C" >&6
42160 ac_check_lib_save_LIBS=$LIBS
42162 cat >conftest.$ac_ext <<_ACEOF
42165 cat confdefs.h >>conftest.$ac_ext
42166 cat >>conftest.$ac_ext <<_ACEOF
42167 /* end confdefs.h. */
42169 /* Override any gcc2 internal prototype to avoid an error. */
42173 /* We use char because int might match the return type of a gcc2
42174 builtin and then its argument prototype would still apply. */
42184 rm -f conftest.$ac_objext conftest$ac_exeext
42185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42186 (eval $ac_link) 2>conftest.er1
42188 grep -v '^ *+' conftest.er1 >conftest.err
42190 cat conftest.err >&5
42191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42192 (exit $ac_status); } &&
42193 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42195 (eval $ac_try) 2>&5
42197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42198 (exit $ac_status); }; } &&
42199 { ac_try='test -s conftest$ac_exeext'
42200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42201 (eval $ac_try) 2>&5
42203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42204 (exit $ac_status); }; }; then
42205 ac_cv_lib_dl_dlerror=yes
42207 echo "$as_me: failed program was:" >&5
42208 sed 's/^/| /' conftest.$ac_ext >&5
42210 ac_cv_lib_dl_dlerror=no
42212 rm -f conftest.err conftest.$ac_objext \
42213 conftest$ac_exeext conftest.$ac_ext
42214 LIBS=$ac_check_lib_save_LIBS
42216 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42217 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42218 if test $ac_cv_lib_dl_dlerror = yes; then
42219 cat >>confdefs.h <<\_ACEOF
42220 #define HAVE_DLERROR 1
42233 if test "$HAVE_DL_FUNCS" = 0; then
42234 if test "$HAVE_SHL_FUNCS" = 0; then
42235 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42236 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42237 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42238 wxUSE_DYNAMIC_LOADER=no
42239 wxUSE_DYNLIB_CLASS=no
42241 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42242 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42249 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42250 cat >>confdefs.h <<\_ACEOF
42251 #define wxUSE_DYNAMIC_LOADER 1
42255 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42256 cat >>confdefs.h <<\_ACEOF
42257 #define wxUSE_DYNLIB_CLASS 1
42264 if test "$wxUSE_PLUGINS" = "yes" ; then
42265 if test "$wxUSE_SHARED" = "no" ; then
42266 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42267 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42270 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42271 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42272 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42275 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42276 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42277 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42280 if test "$wxUSE_PLUGINS" = "yes" ; then
42281 cat >>confdefs.h <<\_ACEOF
42282 #define wxUSE_PLUGINS 1
42289 if test "$wxUSE_STL" = "yes"; then
42290 cat >>confdefs.h <<\_ACEOF
42291 #define wxUSE_STL 1
42296 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42297 cat >>confdefs.h <<\_ACEOF
42298 #define wxUSE_APPLE_IEEE 1
42303 if test "$wxUSE_TIMER" = "yes"; then
42304 cat >>confdefs.h <<\_ACEOF
42305 #define wxUSE_TIMER 1
42310 if test "$USE_UNIX" = "1" ; then
42311 if test "$wxUSE_MGL" != 1; then
42312 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42313 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42314 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42315 echo $ECHO_N "(cached) $ECHO_C" >&6
42318 cat >conftest.$ac_ext <<_ACEOF
42321 cat confdefs.h >>conftest.$ac_ext
42322 cat >>conftest.$ac_ext <<_ACEOF
42323 /* end confdefs.h. */
42325 #include <sys/ioctl.h>
42326 #include <sys/soundcard.h>
42332 ioctl(0, SNDCTL_DSP_SPEED, 0);
42338 rm -f conftest.$ac_objext conftest$ac_exeext
42339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42340 (eval $ac_link) 2>conftest.er1
42342 grep -v '^ *+' conftest.er1 >conftest.err
42344 cat conftest.err >&5
42345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42346 (exit $ac_status); } &&
42347 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42349 (eval $ac_try) 2>&5
42351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42352 (exit $ac_status); }; } &&
42353 { ac_try='test -s conftest$ac_exeext'
42354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42355 (eval $ac_try) 2>&5
42357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42358 (exit $ac_status); }; }; then
42359 ac_cv_header_sys_soundcard=yes
42361 echo "$as_me: failed program was:" >&5
42362 sed 's/^/| /' conftest.$ac_ext >&5
42366 LIBS="$saveLibs -lossaudio"
42367 cat >conftest.$ac_ext <<_ACEOF
42370 cat confdefs.h >>conftest.$ac_ext
42371 cat >>conftest.$ac_ext <<_ACEOF
42372 /* end confdefs.h. */
42374 #include <sys/ioctl.h>
42375 #include <sys/soundcard.h>
42381 ioctl(0, SNDCTL_DSP_SPEED, 0);
42387 rm -f conftest.$ac_objext conftest$ac_exeext
42388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42389 (eval $ac_link) 2>conftest.er1
42391 grep -v '^ *+' conftest.er1 >conftest.err
42393 cat conftest.err >&5
42394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42395 (exit $ac_status); } &&
42396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42398 (eval $ac_try) 2>&5
42400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42401 (exit $ac_status); }; } &&
42402 { ac_try='test -s conftest$ac_exeext'
42403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42404 (eval $ac_try) 2>&5
42406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42407 (exit $ac_status); }; }; then
42408 ac_cv_header_sys_soundcard=yes
42410 echo "$as_me: failed program was:" >&5
42411 sed 's/^/| /' conftest.$ac_ext >&5
42415 ac_cv_header_sys_soundcard=no
42419 rm -f conftest.err conftest.$ac_objext \
42420 conftest$ac_exeext conftest.$ac_ext
42424 rm -f conftest.err conftest.$ac_objext \
42425 conftest$ac_exeext conftest.$ac_ext
42428 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42429 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42432 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42433 cat >>confdefs.h <<\_ACEOF
42434 #define HAVE_SYS_SOUNDCARD_H 1
42438 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
42443 if test "$wxUSE_SOUND" = "yes"; then
42444 if test "$USE_UNIX" = "1" ; then
42445 if test "$wxUSE_LIBSDL" != "no"; then
42447 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42448 if test "${with_sdl_prefix+set}" = set; then
42449 withval="$with_sdl_prefix"
42450 sdl_prefix="$withval"
42455 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42456 if test "${with_sdl_exec_prefix+set}" = set; then
42457 withval="$with_sdl_exec_prefix"
42458 sdl_exec_prefix="$withval"
42462 # Check whether --enable-sdltest or --disable-sdltest was given.
42463 if test "${enable_sdltest+set}" = set; then
42464 enableval="$enable_sdltest"
42470 if test x$sdl_exec_prefix != x ; then
42471 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42472 if test x${SDL_CONFIG+set} != xset ; then
42473 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42476 if test x$sdl_prefix != x ; then
42477 sdl_args="$sdl_args --prefix=$sdl_prefix"
42478 if test x${SDL_CONFIG+set} != xset ; then
42479 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42483 if test "x$prefix" != xNONE; then
42484 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42486 # Extract the first word of "sdl-config", so it can be a program name with args.
42487 set dummy sdl-config; ac_word=$2
42488 echo "$as_me:$LINENO: checking for $ac_word" >&5
42489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42490 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42491 echo $ECHO_N "(cached) $ECHO_C" >&6
42493 case $SDL_CONFIG in
42495 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42499 for as_dir in $PATH
42502 test -z "$as_dir" && as_dir=.
42503 for ac_exec_ext in '' $ac_executable_extensions; do
42504 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42505 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42512 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42516 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42518 if test -n "$SDL_CONFIG"; then
42519 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42520 echo "${ECHO_T}$SDL_CONFIG" >&6
42522 echo "$as_me:$LINENO: result: no" >&5
42523 echo "${ECHO_T}no" >&6
42526 min_sdl_version=1.2.0
42527 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42528 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42530 if test "$SDL_CONFIG" = "no" ; then
42533 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42534 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42536 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42537 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42538 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42539 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42540 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42541 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42542 if test "x$enable_sdltest" = "xyes" ; then
42543 ac_save_CFLAGS="$CFLAGS"
42544 ac_save_CXXFLAGS="$CXXFLAGS"
42545 ac_save_LIBS="$LIBS"
42546 CFLAGS="$CFLAGS $SDL_CFLAGS"
42547 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42548 LIBS="$LIBS $SDL_LIBS"
42550 if test "$cross_compiling" = yes; then
42551 echo $ac_n "cross compiling; assumed OK... $ac_c"
42553 cat >conftest.$ac_ext <<_ACEOF
42556 cat confdefs.h >>conftest.$ac_ext
42557 cat >>conftest.$ac_ext <<_ACEOF
42558 /* end confdefs.h. */
42561 #include <stdlib.h>
42562 #include <string.h>
42566 my_strdup (char *str)
42572 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42573 strcpy (new_str, str);
42581 int main (int argc, char *argv[])
42583 int major, minor, micro;
42586 /* This hangs on some systems (?)
42587 system ("touch conf.sdltest");
42589 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42591 /* HP/UX 9 (%@#!) writes to sscanf strings */
42592 tmp_version = my_strdup("$min_sdl_version");
42593 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42594 printf("%s, bad version string\n", "$min_sdl_version");
42598 if (($sdl_major_version > major) ||
42599 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42600 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42606 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42607 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42608 printf("*** best to upgrade to the required version.\n");
42609 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42610 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42611 printf("*** config.cache before re-running configure\n");
42618 rm -f conftest$ac_exeext
42619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42620 (eval $ac_link) 2>&5
42622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42623 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42625 (eval $ac_try) 2>&5
42627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42628 (exit $ac_status); }; }; then
42631 echo "$as_me: program exited with status $ac_status" >&5
42632 echo "$as_me: failed program was:" >&5
42633 sed 's/^/| /' conftest.$ac_ext >&5
42635 ( exit $ac_status )
42638 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42640 CFLAGS="$ac_save_CFLAGS"
42641 CXXFLAGS="$ac_save_CXXFLAGS"
42642 LIBS="$ac_save_LIBS"
42645 if test "x$no_sdl" = x ; then
42646 echo "$as_me:$LINENO: result: yes" >&5
42647 echo "${ECHO_T}yes" >&6
42649 EXTRALIBS_SDL="$SDL_LIBS"
42650 CFLAGS="$SDL_CFLAGS $CFLAGS"
42651 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42652 cat >>confdefs.h <<\_ACEOF
42653 #define wxUSE_LIBSDL 1
42658 echo "$as_me:$LINENO: result: no" >&5
42659 echo "${ECHO_T}no" >&6
42660 if test "$SDL_CONFIG" = "no" ; then
42661 echo "*** The sdl-config script installed by SDL could not be found"
42662 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42663 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42664 echo "*** full path to sdl-config."
42666 if test -f conf.sdltest ; then
42669 echo "*** Could not run SDL test program, checking why..."
42670 CFLAGS="$CFLAGS $SDL_CFLAGS"
42671 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42672 LIBS="$LIBS $SDL_LIBS"
42673 cat >conftest.$ac_ext <<_ACEOF
42676 cat confdefs.h >>conftest.$ac_ext
42677 cat >>conftest.$ac_ext <<_ACEOF
42678 /* end confdefs.h. */
42683 int main(int argc, char *argv[])
42686 #define main K_and_R_C_main
42696 rm -f conftest.$ac_objext conftest$ac_exeext
42697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42698 (eval $ac_link) 2>conftest.er1
42700 grep -v '^ *+' conftest.er1 >conftest.err
42702 cat conftest.err >&5
42703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42704 (exit $ac_status); } &&
42705 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42707 (eval $ac_try) 2>&5
42709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42710 (exit $ac_status); }; } &&
42711 { ac_try='test -s conftest$ac_exeext'
42712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42713 (eval $ac_try) 2>&5
42715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42716 (exit $ac_status); }; }; then
42717 echo "*** The test program compiled, but did not run. This usually means"
42718 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42719 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42720 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42721 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42722 echo "*** is required on your system"
42724 echo "*** If you have an old version installed, it is best to remove it, although"
42725 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42727 echo "$as_me: failed program was:" >&5
42728 sed 's/^/| /' conftest.$ac_ext >&5
42730 echo "*** The test program failed to compile or link. See the file config.log for the"
42731 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42732 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42733 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42735 rm -f conftest.err conftest.$ac_objext \
42736 conftest$ac_exeext conftest.$ac_ext
42737 CFLAGS="$ac_save_CFLAGS"
42738 CXXFLAGS="$ac_save_CXXFLAGS"
42739 LIBS="$ac_save_LIBS"
42750 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42755 if test "$wxUSE_MGL" = 1; then
42756 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42757 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42763 if test "$wxUSE_SOUND" = "yes"; then
42764 cat >>confdefs.h <<\_ACEOF
42765 #define wxUSE_SOUND 1
42768 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42771 if test "$WXGTK20" = 1; then
42774 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42775 if test -n "$ac_tool_prefix"; then
42776 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42777 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42778 echo "$as_me:$LINENO: checking for $ac_word" >&5
42779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42780 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42781 echo $ECHO_N "(cached) $ECHO_C" >&6
42783 case $PKG_CONFIG in
42785 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42789 for as_dir in $PATH
42792 test -z "$as_dir" && as_dir=.
42793 for ac_exec_ext in '' $ac_executable_extensions; do
42794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42795 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42805 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42807 if test -n "$PKG_CONFIG"; then
42808 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42809 echo "${ECHO_T}$PKG_CONFIG" >&6
42811 echo "$as_me:$LINENO: result: no" >&5
42812 echo "${ECHO_T}no" >&6
42816 if test -z "$ac_cv_path_PKG_CONFIG"; then
42817 ac_pt_PKG_CONFIG=$PKG_CONFIG
42818 # Extract the first word of "pkg-config", so it can be a program name with args.
42819 set dummy pkg-config; ac_word=$2
42820 echo "$as_me:$LINENO: checking for $ac_word" >&5
42821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42822 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42823 echo $ECHO_N "(cached) $ECHO_C" >&6
42825 case $ac_pt_PKG_CONFIG in
42827 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42831 for as_dir in $PATH
42834 test -z "$as_dir" && as_dir=.
42835 for ac_exec_ext in '' $ac_executable_extensions; do
42836 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42837 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42847 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42849 if test -n "$ac_pt_PKG_CONFIG"; then
42850 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42851 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
42853 echo "$as_me:$LINENO: result: no" >&5
42854 echo "${ECHO_T}no" >&6
42857 PKG_CONFIG=$ac_pt_PKG_CONFIG
42859 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42863 if test -n "$PKG_CONFIG"; then
42864 _pkg_min_version=0.9.0
42865 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42866 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
42867 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42868 echo "$as_me:$LINENO: result: yes" >&5
42869 echo "${ECHO_T}yes" >&6
42871 echo "$as_me:$LINENO: result: no" >&5
42872 echo "${ECHO_T}no" >&6
42878 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42879 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42883 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42884 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42886 if test -n "$PKG_CONFIG"; then
42887 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42888 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42890 if test -n "$PKG_CONFIG" && \
42891 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42892 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42895 (exit $ac_status); }; then
42896 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42904 if test -n "$PKG_CONFIG"; then
42905 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42906 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42908 if test -n "$PKG_CONFIG" && \
42909 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42910 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42913 (exit $ac_status); }; then
42914 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42925 if test $pkg_failed = yes; then
42927 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42928 _pkg_short_errors_supported=yes
42930 _pkg_short_errors_supported=no
42932 if test $_pkg_short_errors_supported = yes; then
42933 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42935 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42937 # Put the nasty error message in config.log where it belongs
42938 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42941 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42942 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42943 wxUSE_LIBGNOMEPRINT="no"
42946 elif test $pkg_failed = untried; then
42948 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42949 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42950 wxUSE_LIBGNOMEPRINT="no"
42954 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42955 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42956 echo "$as_me:$LINENO: result: yes" >&5
42957 echo "${ECHO_T}yes" >&6
42959 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42960 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42961 cat >>confdefs.h <<\_ACEOF
42962 #define wxUSE_LIBGNOMEPRINT 1
42970 if test "$wxUSE_MIMETYPE" = "yes" ; then
42971 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42975 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42976 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42978 if test -n "$PKG_CONFIG"; then
42979 if test -n "$GNOMEVFS_CFLAGS"; then
42980 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42982 if test -n "$PKG_CONFIG" && \
42983 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42984 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42987 (exit $ac_status); }; then
42988 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42996 if test -n "$PKG_CONFIG"; then
42997 if test -n "$GNOMEVFS_LIBS"; then
42998 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43000 if test -n "$PKG_CONFIG" && \
43001 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43002 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43005 (exit $ac_status); }; then
43006 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43017 if test $pkg_failed = yes; then
43019 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43020 _pkg_short_errors_supported=yes
43022 _pkg_short_errors_supported=no
43024 if test $_pkg_short_errors_supported = yes; then
43025 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43027 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43029 # Put the nasty error message in config.log where it belongs
43030 echo "$GNOMEVFS_PKG_ERRORS" >&5
43033 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43034 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43035 wxUSE_LIBGNOMEVFS="no"
43038 elif test $pkg_failed = untried; then
43040 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43041 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43042 wxUSE_LIBGNOMEVFS="no"
43046 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43047 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43048 echo "$as_me:$LINENO: result: yes" >&5
43049 echo "${ECHO_T}yes" >&6
43051 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43052 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43053 cat >>confdefs.h <<\_ACEOF
43054 #define wxUSE_LIBGNOMEVFS 1
43062 if test "$wxUSE_LIBHILDON" = "yes" ; then
43065 echo "$as_me:$LINENO: checking for HILDON" >&5
43066 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43068 if test -n "$PKG_CONFIG"; then
43069 if test -n "$HILDON_CFLAGS"; then
43070 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43072 if test -n "$PKG_CONFIG" && \
43073 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43074 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43077 (exit $ac_status); }; then
43078 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43086 if test -n "$PKG_CONFIG"; then
43087 if test -n "$HILDON_LIBS"; then
43088 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43090 if test -n "$PKG_CONFIG" && \
43091 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43092 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43095 (exit $ac_status); }; then
43096 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43107 if test $pkg_failed = yes; then
43109 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43110 _pkg_short_errors_supported=yes
43112 _pkg_short_errors_supported=no
43114 if test $_pkg_short_errors_supported = yes; then
43115 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43117 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43119 # Put the nasty error message in config.log where it belongs
43120 echo "$HILDON_PKG_ERRORS" >&5
43123 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43124 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43125 wxUSE_LIBHILDON="no"
43128 elif test $pkg_failed = untried; then
43130 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43131 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43132 wxUSE_LIBHILDON="no"
43136 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43137 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43138 echo "$as_me:$LINENO: result: yes" >&5
43139 echo "${ECHO_T}yes" >&6
43141 EXTRALIBS_HILDON="$HILDON_LIBS"
43142 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43143 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43144 cat >>confdefs.h <<\_ACEOF
43145 #define wxUSE_LIBHILDON 1
43153 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43154 cat >>confdefs.h <<\_ACEOF
43155 #define wxUSE_CMDLINE_PARSER 1
43160 if test "$wxUSE_STOPWATCH" = "yes"; then
43161 cat >>confdefs.h <<\_ACEOF
43162 #define wxUSE_STOPWATCH 1
43167 if test "$wxUSE_DATETIME" = "yes"; then
43168 cat >>confdefs.h <<\_ACEOF
43169 #define wxUSE_DATETIME 1
43174 if test "$wxUSE_FILE" = "yes"; then
43175 cat >>confdefs.h <<\_ACEOF
43176 #define wxUSE_FILE 1
43181 if test "$wxUSE_FFILE" = "yes"; then
43182 cat >>confdefs.h <<\_ACEOF
43183 #define wxUSE_FFILE 1
43188 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43189 if test "$wxUSE_STREAMS" != yes; then
43190 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43191 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43192 wxUSE_ARCHIVE_STREAMS=no
43194 cat >>confdefs.h <<\_ACEOF
43195 #define wxUSE_ARCHIVE_STREAMS 1
43201 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43202 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43203 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43204 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43205 elif test "$wxUSE_ZLIB" = "no"; then
43206 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43207 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43209 cat >>confdefs.h <<\_ACEOF
43210 #define wxUSE_ZIPSTREAM 1
43216 if test "$wxUSE_TARSTREAM" = "yes"; then
43217 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43218 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43219 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43221 cat >>confdefs.h <<\_ACEOF
43222 #define wxUSE_TARSTREAM 1
43228 if test "$wxUSE_FILESYSTEM" = "yes"; then
43229 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43230 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43231 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43232 wxUSE_FILESYSTEM=no
43234 cat >>confdefs.h <<\_ACEOF
43235 #define wxUSE_FILESYSTEM 1
43241 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43242 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43243 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43244 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43246 cat >>confdefs.h <<\_ACEOF
43247 #define wxUSE_FS_ARCHIVE 1
43253 if test "$wxUSE_FS_ZIP" = "yes"; then
43254 if test "$wxUSE_FS_ARCHIVE" != yes; then
43255 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43256 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43258 cat >>confdefs.h <<\_ACEOF
43259 #define wxUSE_FS_ZIP 1
43265 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43266 if test "$USE_UNIX" != 1; then
43267 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43268 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43269 wxUSE_ON_FATAL_EXCEPTION=no
43271 cat >>confdefs.h <<\_ACEOF
43272 #define wxUSE_ON_FATAL_EXCEPTION 1
43278 if test "$wxUSE_STACKWALKER" = "yes"; then
43279 cat >>confdefs.h <<\_ACEOF
43280 #define wxUSE_STACKWALKER 1
43285 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43286 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43287 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43288 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43289 wxUSE_DEBUGREPORT=no
43291 cat >>confdefs.h <<\_ACEOF
43292 #define wxUSE_DEBUGREPORT 1
43295 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43296 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43301 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43302 cat >>confdefs.h <<\_ACEOF
43303 #define wxUSE_SNGLINST_CHECKER 1
43308 if test "$wxUSE_BUSYINFO" = "yes"; then
43309 cat >>confdefs.h <<\_ACEOF
43310 #define wxUSE_BUSYINFO 1
43315 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43316 cat >>confdefs.h <<\_ACEOF
43317 #define wxUSE_STD_IOSTREAM 1
43322 if test "$wxUSE_STD_STRING" = "yes"; then
43323 cat >>confdefs.h <<\_ACEOF
43324 #define wxUSE_STD_STRING 1
43329 if test "$wxUSE_STDPATHS" = "yes"; then
43330 cat >>confdefs.h <<\_ACEOF
43331 #define wxUSE_STDPATHS 1
43336 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43337 cat >>confdefs.h <<\_ACEOF
43338 #define wxUSE_TEXTBUFFER 1
43343 if test "$wxUSE_TEXTFILE" = "yes"; then
43344 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43345 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43346 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43348 cat >>confdefs.h <<\_ACEOF
43349 #define wxUSE_TEXTFILE 1
43355 if test "$wxUSE_CONFIG" = "yes" ; then
43356 if test "$wxUSE_TEXTFILE" != "yes"; then
43357 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43358 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43360 cat >>confdefs.h <<\_ACEOF
43361 #define wxUSE_CONFIG 1
43364 cat >>confdefs.h <<\_ACEOF
43365 #define wxUSE_CONFIG_NATIVE 1
43368 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43372 if test "$wxUSE_INTL" = "yes" ; then
43373 if test "$wxUSE_FILE" != "yes"; then
43374 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43375 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43377 cat >>confdefs.h <<\_ACEOF
43378 #define wxUSE_INTL 1
43381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43382 GUIDIST="$GUIDIST INTL_DIST"
43386 if test "$wxUSE_LOG" = "yes"; then
43387 cat >>confdefs.h <<\_ACEOF
43388 #define wxUSE_LOG 1
43392 if test "$wxUSE_LOGGUI" = "yes"; then
43393 cat >>confdefs.h <<\_ACEOF
43394 #define wxUSE_LOGGUI 1
43399 if test "$wxUSE_LOGWINDOW" = "yes"; then
43400 cat >>confdefs.h <<\_ACEOF
43401 #define wxUSE_LOGWINDOW 1
43406 if test "$wxUSE_LOGDIALOG" = "yes"; then
43407 cat >>confdefs.h <<\_ACEOF
43408 #define wxUSE_LOG_DIALOG 1
43413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43416 if test "$wxUSE_LONGLONG" = "yes"; then
43417 cat >>confdefs.h <<\_ACEOF
43418 #define wxUSE_LONGLONG 1
43423 if test "$wxUSE_GEOMETRY" = "yes"; then
43424 cat >>confdefs.h <<\_ACEOF
43425 #define wxUSE_GEOMETRY 1
43430 if test "$wxUSE_STREAMS" = "yes" ; then
43431 cat >>confdefs.h <<\_ACEOF
43432 #define wxUSE_STREAMS 1
43437 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43438 cat >>confdefs.h <<\_ACEOF
43439 #define wxUSE_PRINTF_POS_PARAMS 1
43446 if test "$wxUSE_DATETIME" = "yes"; then
43448 for ac_func in strptime
43450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43451 echo "$as_me:$LINENO: checking for $ac_func" >&5
43452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43453 if eval "test \"\${$as_ac_var+set}\" = set"; then
43454 echo $ECHO_N "(cached) $ECHO_C" >&6
43456 cat >conftest.$ac_ext <<_ACEOF
43459 cat confdefs.h >>conftest.$ac_ext
43460 cat >>conftest.$ac_ext <<_ACEOF
43461 /* end confdefs.h. */
43462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43464 #define $ac_func innocuous_$ac_func
43466 /* System header to define __stub macros and hopefully few prototypes,
43467 which can conflict with char $ac_func (); below.
43468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43469 <limits.h> exists even on freestanding compilers. */
43472 # include <limits.h>
43474 # include <assert.h>
43479 /* Override any gcc2 internal prototype to avoid an error. */
43484 /* We use char because int might match the return type of a gcc2
43485 builtin and then its argument prototype would still apply. */
43487 /* The GNU C library defines this for functions which it implements
43488 to always fail with ENOSYS. Some functions are actually named
43489 something starting with __ and the normal name is an alias. */
43490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43493 char (*f) () = $ac_func;
43502 return f != $ac_func;
43507 rm -f conftest.$ac_objext conftest$ac_exeext
43508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43509 (eval $ac_link) 2>conftest.er1
43511 grep -v '^ *+' conftest.er1 >conftest.err
43513 cat conftest.err >&5
43514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43515 (exit $ac_status); } &&
43516 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43518 (eval $ac_try) 2>&5
43520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43521 (exit $ac_status); }; } &&
43522 { ac_try='test -s conftest$ac_exeext'
43523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43524 (eval $ac_try) 2>&5
43526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43527 (exit $ac_status); }; }; then
43528 eval "$as_ac_var=yes"
43530 echo "$as_me: failed program was:" >&5
43531 sed 's/^/| /' conftest.$ac_ext >&5
43533 eval "$as_ac_var=no"
43535 rm -f conftest.err conftest.$ac_objext \
43536 conftest$ac_exeext conftest.$ac_ext
43538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43540 if test `eval echo '${'$as_ac_var'}'` = yes; then
43541 cat >>confdefs.h <<_ACEOF
43542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43548 if test "$ac_cv_func_strptime" = "yes"; then
43549 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43550 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43551 if test "${wx_cv_func_strptime_decl+set}" = set; then
43552 echo $ECHO_N "(cached) $ECHO_C" >&6
43556 ac_cpp='$CXXCPP $CPPFLAGS'
43557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43561 cat >conftest.$ac_ext <<_ACEOF
43564 cat confdefs.h >>conftest.$ac_ext
43565 cat >>conftest.$ac_ext <<_ACEOF
43566 /* end confdefs.h. */
43575 strptime("foo", "bar", &t);
43581 rm -f conftest.$ac_objext
43582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43583 (eval $ac_compile) 2>conftest.er1
43585 grep -v '^ *+' conftest.er1 >conftest.err
43587 cat conftest.err >&5
43588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43589 (exit $ac_status); } &&
43590 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43592 (eval $ac_try) 2>&5
43594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43595 (exit $ac_status); }; } &&
43596 { ac_try='test -s conftest.$ac_objext'
43597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43598 (eval $ac_try) 2>&5
43600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43601 (exit $ac_status); }; }; then
43602 wx_cv_func_strptime_decl=yes
43604 echo "$as_me: failed program was:" >&5
43605 sed 's/^/| /' conftest.$ac_ext >&5
43607 wx_cv_func_strptime_decl=no
43610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43612 ac_cpp='$CPP $CPPFLAGS'
43613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43620 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43621 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43623 if test "$wx_cv_func_strptime_decl" = "yes"; then
43624 cat >>confdefs.h <<\_ACEOF
43625 #define HAVE_STRPTIME_DECL 1
43630 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43631 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43632 if test "${wx_cv_var_timezone+set}" = set; then
43633 echo $ECHO_N "(cached) $ECHO_C" >&6
43637 ac_cpp='$CXXCPP $CPPFLAGS'
43638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43642 cat >conftest.$ac_ext <<_ACEOF
43645 cat confdefs.h >>conftest.$ac_ext
43646 cat >>conftest.$ac_ext <<_ACEOF
43647 /* end confdefs.h. */
43662 rm -f conftest.$ac_objext
43663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43664 (eval $ac_compile) 2>conftest.er1
43666 grep -v '^ *+' conftest.er1 >conftest.err
43668 cat conftest.err >&5
43669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43670 (exit $ac_status); } &&
43671 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43673 (eval $ac_try) 2>&5
43675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43676 (exit $ac_status); }; } &&
43677 { ac_try='test -s conftest.$ac_objext'
43678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43679 (eval $ac_try) 2>&5
43681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43682 (exit $ac_status); }; }; then
43684 wx_cv_var_timezone=timezone
43687 echo "$as_me: failed program was:" >&5
43688 sed 's/^/| /' conftest.$ac_ext >&5
43691 cat >conftest.$ac_ext <<_ACEOF
43694 cat confdefs.h >>conftest.$ac_ext
43695 cat >>conftest.$ac_ext <<_ACEOF
43696 /* end confdefs.h. */
43711 rm -f conftest.$ac_objext
43712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43713 (eval $ac_compile) 2>conftest.er1
43715 grep -v '^ *+' conftest.er1 >conftest.err
43717 cat conftest.err >&5
43718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43719 (exit $ac_status); } &&
43720 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43722 (eval $ac_try) 2>&5
43724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43725 (exit $ac_status); }; } &&
43726 { ac_try='test -s conftest.$ac_objext'
43727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43728 (eval $ac_try) 2>&5
43730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43731 (exit $ac_status); }; }; then
43733 wx_cv_var_timezone=_timezone
43736 echo "$as_me: failed program was:" >&5
43737 sed 's/^/| /' conftest.$ac_ext >&5
43740 cat >conftest.$ac_ext <<_ACEOF
43743 cat confdefs.h >>conftest.$ac_ext
43744 cat >>conftest.$ac_ext <<_ACEOF
43745 /* end confdefs.h. */
43760 rm -f conftest.$ac_objext
43761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43762 (eval $ac_compile) 2>conftest.er1
43764 grep -v '^ *+' conftest.er1 >conftest.err
43766 cat conftest.err >&5
43767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43768 (exit $ac_status); } &&
43769 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43771 (eval $ac_try) 2>&5
43773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43774 (exit $ac_status); }; } &&
43775 { ac_try='test -s conftest.$ac_objext'
43776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43777 (eval $ac_try) 2>&5
43779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43780 (exit $ac_status); }; }; then
43782 wx_cv_var_timezone=__timezone
43785 echo "$as_me: failed program was:" >&5
43786 sed 's/^/| /' conftest.$ac_ext >&5
43789 if test "$USE_DOS" = 0 ; then
43790 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43791 echo "$as_me: WARNING: no timezone variable" >&2;}
43796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43806 ac_cpp='$CPP $CPPFLAGS'
43807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43814 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43815 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43817 if test "x$wx_cv_var_timezone" != x ; then
43818 cat >>confdefs.h <<_ACEOF
43819 #define WX_TIMEZONE $wx_cv_var_timezone
43825 for ac_func in localtime
43827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43828 echo "$as_me:$LINENO: checking for $ac_func" >&5
43829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43830 if eval "test \"\${$as_ac_var+set}\" = set"; then
43831 echo $ECHO_N "(cached) $ECHO_C" >&6
43833 cat >conftest.$ac_ext <<_ACEOF
43836 cat confdefs.h >>conftest.$ac_ext
43837 cat >>conftest.$ac_ext <<_ACEOF
43838 /* end confdefs.h. */
43839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43841 #define $ac_func innocuous_$ac_func
43843 /* System header to define __stub macros and hopefully few prototypes,
43844 which can conflict with char $ac_func (); below.
43845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43846 <limits.h> exists even on freestanding compilers. */
43849 # include <limits.h>
43851 # include <assert.h>
43856 /* Override any gcc2 internal prototype to avoid an error. */
43861 /* We use char because int might match the return type of a gcc2
43862 builtin and then its argument prototype would still apply. */
43864 /* The GNU C library defines this for functions which it implements
43865 to always fail with ENOSYS. Some functions are actually named
43866 something starting with __ and the normal name is an alias. */
43867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43870 char (*f) () = $ac_func;
43879 return f != $ac_func;
43884 rm -f conftest.$ac_objext conftest$ac_exeext
43885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43886 (eval $ac_link) 2>conftest.er1
43888 grep -v '^ *+' conftest.er1 >conftest.err
43890 cat conftest.err >&5
43891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43892 (exit $ac_status); } &&
43893 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43895 (eval $ac_try) 2>&5
43897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43898 (exit $ac_status); }; } &&
43899 { ac_try='test -s conftest$ac_exeext'
43900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43901 (eval $ac_try) 2>&5
43903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43904 (exit $ac_status); }; }; then
43905 eval "$as_ac_var=yes"
43907 echo "$as_me: failed program was:" >&5
43908 sed 's/^/| /' conftest.$ac_ext >&5
43910 eval "$as_ac_var=no"
43912 rm -f conftest.err conftest.$ac_objext \
43913 conftest$ac_exeext conftest.$ac_ext
43915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43917 if test `eval echo '${'$as_ac_var'}'` = yes; then
43918 cat >>confdefs.h <<_ACEOF
43919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43926 if test "$ac_cv_func_localtime" = "yes"; then
43927 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43928 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43929 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43930 echo $ECHO_N "(cached) $ECHO_C" >&6
43933 cat >conftest.$ac_ext <<_ACEOF
43936 cat confdefs.h >>conftest.$ac_ext
43937 cat >>conftest.$ac_ext <<_ACEOF
43938 /* end confdefs.h. */
43953 rm -f conftest.$ac_objext
43954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43955 (eval $ac_compile) 2>conftest.er1
43957 grep -v '^ *+' conftest.er1 >conftest.err
43959 cat conftest.err >&5
43960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43961 (exit $ac_status); } &&
43962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43964 (eval $ac_try) 2>&5
43966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43967 (exit $ac_status); }; } &&
43968 { ac_try='test -s conftest.$ac_objext'
43969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43970 (eval $ac_try) 2>&5
43972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43973 (exit $ac_status); }; }; then
43975 wx_cv_struct_tm_has_gmtoff=yes
43978 echo "$as_me: failed program was:" >&5
43979 sed 's/^/| /' conftest.$ac_ext >&5
43981 wx_cv_struct_tm_has_gmtoff=no
43984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43987 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43988 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43991 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43992 cat >>confdefs.h <<\_ACEOF
43993 #define WX_GMTOFF_IN_TM 1
44000 for ac_func in gettimeofday ftime
44002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44003 echo "$as_me:$LINENO: checking for $ac_func" >&5
44004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44005 if eval "test \"\${$as_ac_var+set}\" = set"; then
44006 echo $ECHO_N "(cached) $ECHO_C" >&6
44008 cat >conftest.$ac_ext <<_ACEOF
44011 cat confdefs.h >>conftest.$ac_ext
44012 cat >>conftest.$ac_ext <<_ACEOF
44013 /* end confdefs.h. */
44014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44016 #define $ac_func innocuous_$ac_func
44018 /* System header to define __stub macros and hopefully few prototypes,
44019 which can conflict with char $ac_func (); below.
44020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44021 <limits.h> exists even on freestanding compilers. */
44024 # include <limits.h>
44026 # include <assert.h>
44031 /* Override any gcc2 internal prototype to avoid an error. */
44036 /* We use char because int might match the return type of a gcc2
44037 builtin and then its argument prototype would still apply. */
44039 /* The GNU C library defines this for functions which it implements
44040 to always fail with ENOSYS. Some functions are actually named
44041 something starting with __ and the normal name is an alias. */
44042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44045 char (*f) () = $ac_func;
44054 return f != $ac_func;
44059 rm -f conftest.$ac_objext conftest$ac_exeext
44060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44061 (eval $ac_link) 2>conftest.er1
44063 grep -v '^ *+' conftest.er1 >conftest.err
44065 cat conftest.err >&5
44066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44067 (exit $ac_status); } &&
44068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44070 (eval $ac_try) 2>&5
44072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44073 (exit $ac_status); }; } &&
44074 { ac_try='test -s conftest$ac_exeext'
44075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44076 (eval $ac_try) 2>&5
44078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44079 (exit $ac_status); }; }; then
44080 eval "$as_ac_var=yes"
44082 echo "$as_me: failed program was:" >&5
44083 sed 's/^/| /' conftest.$ac_ext >&5
44085 eval "$as_ac_var=no"
44087 rm -f conftest.err conftest.$ac_objext \
44088 conftest$ac_exeext conftest.$ac_ext
44090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44092 if test `eval echo '${'$as_ac_var'}'` = yes; then
44093 cat >>confdefs.h <<_ACEOF
44094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44101 if test "$ac_cv_func_gettimeofday" = "yes"; then
44102 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44103 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44104 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44105 echo $ECHO_N "(cached) $ECHO_C" >&6
44108 cat >conftest.$ac_ext <<_ACEOF
44111 cat confdefs.h >>conftest.$ac_ext
44112 cat >>conftest.$ac_ext <<_ACEOF
44113 /* end confdefs.h. */
44115 #include <sys/time.h>
44116 #include <unistd.h>
44123 gettimeofday(&tv, NULL);
44129 rm -f conftest.$ac_objext
44130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44131 (eval $ac_compile) 2>conftest.er1
44133 grep -v '^ *+' conftest.er1 >conftest.err
44135 cat conftest.err >&5
44136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44137 (exit $ac_status); } &&
44138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44140 (eval $ac_try) 2>&5
44142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44143 (exit $ac_status); }; } &&
44144 { ac_try='test -s conftest.$ac_objext'
44145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44146 (eval $ac_try) 2>&5
44148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44149 (exit $ac_status); }; }; then
44150 wx_cv_func_gettimeofday_has_2_args=yes
44152 echo "$as_me: failed program was:" >&5
44153 sed 's/^/| /' conftest.$ac_ext >&5
44155 cat >conftest.$ac_ext <<_ACEOF
44158 cat confdefs.h >>conftest.$ac_ext
44159 cat >>conftest.$ac_ext <<_ACEOF
44160 /* end confdefs.h. */
44162 #include <sys/time.h>
44163 #include <unistd.h>
44176 rm -f conftest.$ac_objext
44177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44178 (eval $ac_compile) 2>conftest.er1
44180 grep -v '^ *+' conftest.er1 >conftest.err
44182 cat conftest.err >&5
44183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44184 (exit $ac_status); } &&
44185 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44187 (eval $ac_try) 2>&5
44189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44190 (exit $ac_status); }; } &&
44191 { ac_try='test -s conftest.$ac_objext'
44192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44193 (eval $ac_try) 2>&5
44195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44196 (exit $ac_status); }; }; then
44197 wx_cv_func_gettimeofday_has_2_args=no
44199 echo "$as_me: failed program was:" >&5
44200 sed 's/^/| /' conftest.$ac_ext >&5
44203 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44204 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44205 wx_cv_func_gettimeofday_has_2_args=unknown
44209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44215 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44216 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44218 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44219 cat >>confdefs.h <<\_ACEOF
44220 #define WX_GETTIMEOFDAY_NO_TZ 1
44226 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44230 if test "$wxUSE_SOCKETS" = "yes"; then
44231 if test "$wxUSE_MGL" = "1"; then
44232 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44233 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44238 if test "$wxUSE_SOCKETS" = "yes"; then
44239 if test "$TOOLKIT" != "MSW"; then
44240 echo "$as_me:$LINENO: checking for socket" >&5
44241 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44242 if test "${ac_cv_func_socket+set}" = set; then
44243 echo $ECHO_N "(cached) $ECHO_C" >&6
44245 cat >conftest.$ac_ext <<_ACEOF
44248 cat confdefs.h >>conftest.$ac_ext
44249 cat >>conftest.$ac_ext <<_ACEOF
44250 /* end confdefs.h. */
44251 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44253 #define socket innocuous_socket
44255 /* System header to define __stub macros and hopefully few prototypes,
44256 which can conflict with char socket (); below.
44257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44258 <limits.h> exists even on freestanding compilers. */
44261 # include <limits.h>
44263 # include <assert.h>
44268 /* Override any gcc2 internal prototype to avoid an error. */
44273 /* We use char because int might match the return type of a gcc2
44274 builtin and then its argument prototype would still apply. */
44276 /* The GNU C library defines this for functions which it implements
44277 to always fail with ENOSYS. Some functions are actually named
44278 something starting with __ and the normal name is an alias. */
44279 #if defined (__stub_socket) || defined (__stub___socket)
44282 char (*f) () = socket;
44291 return f != socket;
44296 rm -f conftest.$ac_objext conftest$ac_exeext
44297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44298 (eval $ac_link) 2>conftest.er1
44300 grep -v '^ *+' conftest.er1 >conftest.err
44302 cat conftest.err >&5
44303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44304 (exit $ac_status); } &&
44305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44307 (eval $ac_try) 2>&5
44309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44310 (exit $ac_status); }; } &&
44311 { ac_try='test -s conftest$ac_exeext'
44312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44313 (eval $ac_try) 2>&5
44315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44316 (exit $ac_status); }; }; then
44317 ac_cv_func_socket=yes
44319 echo "$as_me: failed program was:" >&5
44320 sed 's/^/| /' conftest.$ac_ext >&5
44322 ac_cv_func_socket=no
44324 rm -f conftest.err conftest.$ac_objext \
44325 conftest$ac_exeext conftest.$ac_ext
44327 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44328 echo "${ECHO_T}$ac_cv_func_socket" >&6
44329 if test $ac_cv_func_socket = yes; then
44333 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44334 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44335 if test "${ac_cv_lib_socket_socket+set}" = set; then
44336 echo $ECHO_N "(cached) $ECHO_C" >&6
44338 ac_check_lib_save_LIBS=$LIBS
44339 LIBS="-lsocket $LIBS"
44340 cat >conftest.$ac_ext <<_ACEOF
44343 cat confdefs.h >>conftest.$ac_ext
44344 cat >>conftest.$ac_ext <<_ACEOF
44345 /* end confdefs.h. */
44347 /* Override any gcc2 internal prototype to avoid an error. */
44351 /* We use char because int might match the return type of a gcc2
44352 builtin and then its argument prototype would still apply. */
44362 rm -f conftest.$ac_objext conftest$ac_exeext
44363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44364 (eval $ac_link) 2>conftest.er1
44366 grep -v '^ *+' conftest.er1 >conftest.err
44368 cat conftest.err >&5
44369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44370 (exit $ac_status); } &&
44371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44373 (eval $ac_try) 2>&5
44375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44376 (exit $ac_status); }; } &&
44377 { ac_try='test -s conftest$ac_exeext'
44378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44379 (eval $ac_try) 2>&5
44381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44382 (exit $ac_status); }; }; then
44383 ac_cv_lib_socket_socket=yes
44385 echo "$as_me: failed program was:" >&5
44386 sed 's/^/| /' conftest.$ac_ext >&5
44388 ac_cv_lib_socket_socket=no
44390 rm -f conftest.err conftest.$ac_objext \
44391 conftest$ac_exeext conftest.$ac_ext
44392 LIBS=$ac_check_lib_save_LIBS
44394 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44395 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44396 if test $ac_cv_lib_socket_socket = yes; then
44397 if test "$INET_LINK" != " -lsocket"; then
44398 INET_LINK="$INET_LINK -lsocket"
44402 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44403 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44416 if test "$wxUSE_SOCKETS" = "yes" ; then
44417 if test "$TOOLKIT" != "MSW"; then
44418 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44419 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44420 if test "${wx_cv_type_getsockname3+set}" = set; then
44421 echo $ECHO_N "(cached) $ECHO_C" >&6
44425 ac_cpp='$CXXCPP $CPPFLAGS'
44426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44430 cat >conftest.$ac_ext <<_ACEOF
44433 cat confdefs.h >>conftest.$ac_ext
44434 cat >>conftest.$ac_ext <<_ACEOF
44435 /* end confdefs.h. */
44437 #include <sys/types.h>
44438 #include <sys/socket.h>
44445 getsockname(0, 0, &len);
44451 rm -f conftest.$ac_objext
44452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44453 (eval $ac_compile) 2>conftest.er1
44455 grep -v '^ *+' conftest.er1 >conftest.err
44457 cat conftest.err >&5
44458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44459 (exit $ac_status); } &&
44460 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44462 (eval $ac_try) 2>&5
44464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44465 (exit $ac_status); }; } &&
44466 { ac_try='test -s conftest.$ac_objext'
44467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44468 (eval $ac_try) 2>&5
44470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44471 (exit $ac_status); }; }; then
44472 wx_cv_type_getsockname3=socklen_t
44474 echo "$as_me: failed program was:" >&5
44475 sed 's/^/| /' conftest.$ac_ext >&5
44478 CFLAGS_OLD="$CFLAGS"
44479 if test "$GCC" = yes ; then
44480 CFLAGS="-Werror $CFLAGS"
44483 cat >conftest.$ac_ext <<_ACEOF
44486 cat confdefs.h >>conftest.$ac_ext
44487 cat >>conftest.$ac_ext <<_ACEOF
44488 /* end confdefs.h. */
44490 #include <sys/types.h>
44491 #include <sys/socket.h>
44498 getsockname(0, 0, &len);
44504 rm -f conftest.$ac_objext
44505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44506 (eval $ac_compile) 2>conftest.er1
44508 grep -v '^ *+' conftest.er1 >conftest.err
44510 cat conftest.err >&5
44511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44512 (exit $ac_status); } &&
44513 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44515 (eval $ac_try) 2>&5
44517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44518 (exit $ac_status); }; } &&
44519 { ac_try='test -s conftest.$ac_objext'
44520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44521 (eval $ac_try) 2>&5
44523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44524 (exit $ac_status); }; }; then
44525 wx_cv_type_getsockname3=size_t
44527 echo "$as_me: failed program was:" >&5
44528 sed 's/^/| /' conftest.$ac_ext >&5
44530 cat >conftest.$ac_ext <<_ACEOF
44533 cat confdefs.h >>conftest.$ac_ext
44534 cat >>conftest.$ac_ext <<_ACEOF
44535 /* end confdefs.h. */
44537 #include <sys/types.h>
44538 #include <sys/socket.h>
44545 getsockname(0, 0, &len);
44551 rm -f conftest.$ac_objext
44552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44553 (eval $ac_compile) 2>conftest.er1
44555 grep -v '^ *+' conftest.er1 >conftest.err
44557 cat conftest.err >&5
44558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44559 (exit $ac_status); } &&
44560 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44562 (eval $ac_try) 2>&5
44564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44565 (exit $ac_status); }; } &&
44566 { ac_try='test -s conftest.$ac_objext'
44567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44568 (eval $ac_try) 2>&5
44570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44571 (exit $ac_status); }; }; then
44572 wx_cv_type_getsockname3=int
44574 echo "$as_me: failed program was:" >&5
44575 sed 's/^/| /' conftest.$ac_ext >&5
44577 wx_cv_type_getsockname3=unknown
44580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44585 CFLAGS="$CFLAGS_OLD"
44589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44591 ac_cpp='$CPP $CPPFLAGS'
44592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44598 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44599 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44601 if test "$wx_cv_type_getsockname3" = "unknown"; then
44603 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44604 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44606 cat >>confdefs.h <<_ACEOF
44607 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44611 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44612 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44613 if test "${wx_cv_type_getsockopt5+set}" = set; then
44614 echo $ECHO_N "(cached) $ECHO_C" >&6
44617 cat >conftest.$ac_ext <<_ACEOF
44620 cat confdefs.h >>conftest.$ac_ext
44621 cat >>conftest.$ac_ext <<_ACEOF
44622 /* end confdefs.h. */
44624 #include <sys/types.h>
44625 #include <sys/socket.h>
44632 getsockopt(0, 0, 0, 0, &len);
44638 rm -f conftest.$ac_objext
44639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44640 (eval $ac_compile) 2>conftest.er1
44642 grep -v '^ *+' conftest.er1 >conftest.err
44644 cat conftest.err >&5
44645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44646 (exit $ac_status); } &&
44647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44649 (eval $ac_try) 2>&5
44651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44652 (exit $ac_status); }; } &&
44653 { ac_try='test -s conftest.$ac_objext'
44654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44655 (eval $ac_try) 2>&5
44657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44658 (exit $ac_status); }; }; then
44659 wx_cv_type_getsockopt5=socklen_t
44661 echo "$as_me: failed program was:" >&5
44662 sed 's/^/| /' conftest.$ac_ext >&5
44666 ac_cpp='$CXXCPP $CPPFLAGS'
44667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44671 cat >conftest.$ac_ext <<_ACEOF
44674 cat confdefs.h >>conftest.$ac_ext
44675 cat >>conftest.$ac_ext <<_ACEOF
44676 /* end confdefs.h. */
44678 #include <sys/types.h>
44679 #include <sys/socket.h>
44686 getsockopt(0, 0, 0, 0, &len);
44692 rm -f conftest.$ac_objext
44693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44694 (eval $ac_compile) 2>conftest.er1
44696 grep -v '^ *+' conftest.er1 >conftest.err
44698 cat conftest.err >&5
44699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44700 (exit $ac_status); } &&
44701 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44703 (eval $ac_try) 2>&5
44705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44706 (exit $ac_status); }; } &&
44707 { ac_try='test -s conftest.$ac_objext'
44708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44709 (eval $ac_try) 2>&5
44711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44712 (exit $ac_status); }; }; then
44713 wx_cv_type_getsockopt5=size_t
44715 echo "$as_me: failed program was:" >&5
44716 sed 's/^/| /' conftest.$ac_ext >&5
44718 cat >conftest.$ac_ext <<_ACEOF
44721 cat confdefs.h >>conftest.$ac_ext
44722 cat >>conftest.$ac_ext <<_ACEOF
44723 /* end confdefs.h. */
44725 #include <sys/types.h>
44726 #include <sys/socket.h>
44733 getsockopt(0, 0, 0, 0, &len);
44739 rm -f conftest.$ac_objext
44740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44741 (eval $ac_compile) 2>conftest.er1
44743 grep -v '^ *+' conftest.er1 >conftest.err
44745 cat conftest.err >&5
44746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44747 (exit $ac_status); } &&
44748 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44750 (eval $ac_try) 2>&5
44752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44753 (exit $ac_status); }; } &&
44754 { ac_try='test -s conftest.$ac_objext'
44755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44756 (eval $ac_try) 2>&5
44758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44759 (exit $ac_status); }; }; then
44760 wx_cv_type_getsockopt5=int
44762 echo "$as_me: failed program was:" >&5
44763 sed 's/^/| /' conftest.$ac_ext >&5
44765 wx_cv_type_getsockopt5=unknown
44768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44773 ac_cpp='$CPP $CPPFLAGS'
44774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44784 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44785 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44787 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44789 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44790 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44792 cat >>confdefs.h <<_ACEOF
44793 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44800 if test "$wxUSE_SOCKETS" = "yes" ; then
44801 cat >>confdefs.h <<\_ACEOF
44802 #define wxUSE_SOCKETS 1
44805 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44808 if test "$wxUSE_PROTOCOL" = "yes"; then
44809 if test "$wxUSE_SOCKETS" != "yes"; then
44810 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44811 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44816 if test "$wxUSE_PROTOCOL" = "yes"; then
44817 cat >>confdefs.h <<\_ACEOF
44818 #define wxUSE_PROTOCOL 1
44822 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44823 cat >>confdefs.h <<\_ACEOF
44824 #define wxUSE_PROTOCOL_HTTP 1
44828 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44829 cat >>confdefs.h <<\_ACEOF
44830 #define wxUSE_PROTOCOL_FTP 1
44834 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44835 cat >>confdefs.h <<\_ACEOF
44836 #define wxUSE_PROTOCOL_FILE 1
44841 if test "$wxUSE_FS_INET" = "yes"; then
44842 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44843 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44848 if test "$wxUSE_URL" = "yes"; then
44849 if test "$wxUSE_PROTOCOL" != "yes"; then
44850 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44851 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44854 if test "$wxUSE_URL" = "yes"; then
44855 cat >>confdefs.h <<\_ACEOF
44856 #define wxUSE_URL 1
44862 if test "$wxUSE_VARIANT" = "yes"; then
44863 cat >>confdefs.h <<\_ACEOF
44864 #define wxUSE_VARIANT 1
44869 if test "$wxUSE_FS_INET" = "yes"; then
44870 cat >>confdefs.h <<\_ACEOF
44871 #define wxUSE_FS_INET 1
44877 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44880 if test "$TOOLKIT" = "MSW"; then
44883 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44884 if test "$USE_DARWIN" = 1; then
44885 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44886 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44888 ac_cpp='$CXXCPP $CPPFLAGS'
44889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44893 cat >conftest.$ac_ext <<_ACEOF
44896 cat confdefs.h >>conftest.$ac_ext
44897 cat >>conftest.$ac_ext <<_ACEOF
44898 /* end confdefs.h. */
44899 #include <IOKit/hid/IOHIDLib.h>
44903 IOHIDQueueInterface *qi = NULL;
44904 IOHIDCallbackFunction cb = NULL;
44905 qi->setEventCallout(NULL, cb, NULL, NULL);
44910 rm -f conftest.$ac_objext
44911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44912 (eval $ac_compile) 2>conftest.er1
44914 grep -v '^ *+' conftest.er1 >conftest.err
44916 cat conftest.err >&5
44917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44918 (exit $ac_status); } &&
44919 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44921 (eval $ac_try) 2>&5
44923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44924 (exit $ac_status); }; } &&
44925 { ac_try='test -s conftest.$ac_objext'
44926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44927 (eval $ac_try) 2>&5
44929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44930 (exit $ac_status); }; }; then
44934 echo "$as_me: failed program was:" >&5
44935 sed 's/^/| /' conftest.$ac_ext >&5
44938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44940 ac_cpp='$CPP $CPPFLAGS'
44941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44945 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44946 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44950 if test "$wxUSE_MGL" != "1"; then
44951 echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
44952 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6
44953 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
44954 echo $ECHO_N "(cached) $ECHO_C" >&6
44956 cat >conftest.$ac_ext <<_ACEOF
44959 cat confdefs.h >>conftest.$ac_ext
44960 cat >>conftest.$ac_ext <<_ACEOF
44961 /* end confdefs.h. */
44964 #include <linux/joystick.h>
44966 rm -f conftest.$ac_objext
44967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44968 (eval $ac_compile) 2>conftest.er1
44970 grep -v '^ *+' conftest.er1 >conftest.err
44972 cat conftest.err >&5
44973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44974 (exit $ac_status); } &&
44975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44977 (eval $ac_try) 2>&5
44979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44980 (exit $ac_status); }; } &&
44981 { ac_try='test -s conftest.$ac_objext'
44982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44983 (eval $ac_try) 2>&5
44985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44986 (exit $ac_status); }; }; then
44987 ac_cv_header_linux_joystick_h=yes
44989 echo "$as_me: failed program was:" >&5
44990 sed 's/^/| /' conftest.$ac_ext >&5
44992 ac_cv_header_linux_joystick_h=no
44994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44996 echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
44997 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6
44998 if test $ac_cv_header_linux_joystick_h = yes; then
45006 if test "$wxUSE_JOYSTICK" = "yes"; then
45007 cat >>confdefs.h <<\_ACEOF
45008 #define wxUSE_JOYSTICK 1
45011 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45013 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45014 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45020 if test "$wxUSE_FONTMAP" = "yes" ; then
45021 cat >>confdefs.h <<\_ACEOF
45022 #define wxUSE_FONTMAP 1
45027 if test "$wxUSE_UNICODE" = "yes" ; then
45028 cat >>confdefs.h <<\_ACEOF
45029 #define wxUSE_UNICODE 1
45033 if test "$USE_WIN32" != 1; then
45034 wxUSE_UNICODE_MSLU=no
45037 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45038 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45039 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
45040 if test "${ac_cv_lib_unicows_main+set}" = set; then
45041 echo $ECHO_N "(cached) $ECHO_C" >&6
45043 ac_check_lib_save_LIBS=$LIBS
45044 LIBS="-lunicows $LIBS"
45045 cat >conftest.$ac_ext <<_ACEOF
45048 cat confdefs.h >>conftest.$ac_ext
45049 cat >>conftest.$ac_ext <<_ACEOF
45050 /* end confdefs.h. */
45061 rm -f conftest.$ac_objext conftest$ac_exeext
45062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45063 (eval $ac_link) 2>conftest.er1
45065 grep -v '^ *+' conftest.er1 >conftest.err
45067 cat conftest.err >&5
45068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45069 (exit $ac_status); } &&
45070 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45072 (eval $ac_try) 2>&5
45074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45075 (exit $ac_status); }; } &&
45076 { ac_try='test -s conftest$ac_exeext'
45077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45078 (eval $ac_try) 2>&5
45080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45081 (exit $ac_status); }; }; then
45082 ac_cv_lib_unicows_main=yes
45084 echo "$as_me: failed program was:" >&5
45085 sed 's/^/| /' conftest.$ac_ext >&5
45087 ac_cv_lib_unicows_main=no
45089 rm -f conftest.err conftest.$ac_objext \
45090 conftest$ac_exeext conftest.$ac_ext
45091 LIBS=$ac_check_lib_save_LIBS
45093 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45094 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45095 if test $ac_cv_lib_unicows_main = yes; then
45097 cat >>confdefs.h <<\_ACEOF
45098 #define wxUSE_UNICODE_MSLU 1
45104 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45105 Applications will only run on Windows NT/2000/XP!" >&5
45106 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45107 Applications will only run on Windows NT/2000/XP!" >&2;}
45108 wxUSE_UNICODE_MSLU=no
45115 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45116 cat >>confdefs.h <<\_ACEOF
45117 #define wxUSE_EXPERIMENTAL_PRINTF 1
45123 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45124 cat >>confdefs.h <<\_ACEOF
45125 #define wxUSE_POSTSCRIPT 1
45130 cat >>confdefs.h <<\_ACEOF
45131 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45135 cat >>confdefs.h <<\_ACEOF
45136 #define wxUSE_NORMALIZED_PS_FONTS 1
45141 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45142 cat >>confdefs.h <<\_ACEOF
45143 #define wxUSE_CONSTRAINTS 1
45146 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45149 if test "$wxUSE_MDI" = "yes"; then
45150 cat >>confdefs.h <<\_ACEOF
45151 #define wxUSE_MDI 1
45155 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45156 cat >>confdefs.h <<\_ACEOF
45157 #define wxUSE_MDI_ARCHITECTURE 1
45160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45164 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45165 cat >>confdefs.h <<\_ACEOF
45166 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45169 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45170 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45171 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45175 if test "$wxUSE_HELP" = "yes"; then
45176 cat >>confdefs.h <<\_ACEOF
45177 #define wxUSE_HELP 1
45180 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45182 if test "$wxUSE_MSW" = 1; then
45183 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45184 cat >>confdefs.h <<\_ACEOF
45185 #define wxUSE_MS_HTML_HELP 1
45191 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45192 if test "$wxUSE_HTML" = "yes"; then
45193 cat >>confdefs.h <<\_ACEOF
45194 #define wxUSE_WXHTML_HELP 1
45198 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45199 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45200 wxUSE_WXHTML_HELP=no
45205 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45206 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45207 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45208 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45210 cat >>confdefs.h <<\_ACEOF
45211 #define wxUSE_PRINTING_ARCHITECTURE 1
45215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45218 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45219 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45220 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45221 { (exit 1); exit 1; }; }
45225 if test "$wxUSE_METAFILE" = "yes"; then
45226 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45227 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45228 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45234 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45235 -o "$wxUSE_CLIPBOARD" = "yes" \
45236 -o "$wxUSE_OLE" = "yes" \
45237 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45239 for ac_header in ole2.h
45241 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45243 echo "$as_me:$LINENO: checking for $ac_header" >&5
45244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45246 echo $ECHO_N "(cached) $ECHO_C" >&6
45248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45249 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45251 # Is the header compilable?
45252 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45253 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45254 cat >conftest.$ac_ext <<_ACEOF
45257 cat confdefs.h >>conftest.$ac_ext
45258 cat >>conftest.$ac_ext <<_ACEOF
45259 /* end confdefs.h. */
45260 $ac_includes_default
45261 #include <$ac_header>
45263 rm -f conftest.$ac_objext
45264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45265 (eval $ac_compile) 2>conftest.er1
45267 grep -v '^ *+' conftest.er1 >conftest.err
45269 cat conftest.err >&5
45270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45271 (exit $ac_status); } &&
45272 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45274 (eval $ac_try) 2>&5
45276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45277 (exit $ac_status); }; } &&
45278 { ac_try='test -s conftest.$ac_objext'
45279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45280 (eval $ac_try) 2>&5
45282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45283 (exit $ac_status); }; }; then
45284 ac_header_compiler=yes
45286 echo "$as_me: failed program was:" >&5
45287 sed 's/^/| /' conftest.$ac_ext >&5
45289 ac_header_compiler=no
45291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45292 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45293 echo "${ECHO_T}$ac_header_compiler" >&6
45295 # Is the header present?
45296 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45297 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45298 cat >conftest.$ac_ext <<_ACEOF
45301 cat confdefs.h >>conftest.$ac_ext
45302 cat >>conftest.$ac_ext <<_ACEOF
45303 /* end confdefs.h. */
45304 #include <$ac_header>
45306 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45307 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45309 grep -v '^ *+' conftest.er1 >conftest.err
45311 cat conftest.err >&5
45312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45313 (exit $ac_status); } >/dev/null; then
45314 if test -s conftest.err; then
45315 ac_cpp_err=$ac_c_preproc_warn_flag
45316 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
45323 if test -z "$ac_cpp_err"; then
45324 ac_header_preproc=yes
45326 echo "$as_me: failed program was:" >&5
45327 sed 's/^/| /' conftest.$ac_ext >&5
45329 ac_header_preproc=no
45331 rm -f conftest.err conftest.$ac_ext
45332 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45333 echo "${ECHO_T}$ac_header_preproc" >&6
45335 # So? What about this header?
45336 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45338 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45339 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45340 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45341 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45342 ac_header_preproc=yes
45345 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45346 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45347 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45348 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45349 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45350 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45351 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45352 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45353 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45354 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45355 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45356 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45359 ## ----------------------------------------- ##
45360 ## Report this to wx-dev@lists.wxwidgets.org ##
45361 ## ----------------------------------------- ##
45364 sed "s/^/$as_me: WARNING: /" >&2
45367 echo "$as_me:$LINENO: checking for $ac_header" >&5
45368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45370 echo $ECHO_N "(cached) $ECHO_C" >&6
45372 eval "$as_ac_Header=\$ac_header_preproc"
45374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45375 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45378 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45379 cat >>confdefs.h <<_ACEOF
45380 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45388 if test "$ac_cv_header_ole2_h" = "yes" ; then
45389 if test "$GCC" = yes ; then
45390 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45391 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45392 cat >conftest.$ac_ext <<_ACEOF
45395 cat confdefs.h >>conftest.$ac_ext
45396 cat >>conftest.$ac_ext <<_ACEOF
45397 /* end confdefs.h. */
45398 #include <windows.h>
45408 rm -f conftest.$ac_objext
45409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45410 (eval $ac_compile) 2>conftest.er1
45412 grep -v '^ *+' conftest.er1 >conftest.err
45414 cat conftest.err >&5
45415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45416 (exit $ac_status); } &&
45417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45419 (eval $ac_try) 2>&5
45421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45422 (exit $ac_status); }; } &&
45423 { ac_try='test -s conftest.$ac_objext'
45424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45425 (eval $ac_try) 2>&5
45427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45428 (exit $ac_status); }; }; then
45429 echo "$as_me:$LINENO: result: no" >&5
45430 echo "${ECHO_T}no" >&6
45432 echo "$as_me: failed program was:" >&5
45433 sed 's/^/| /' conftest.$ac_ext >&5
45435 echo "$as_me:$LINENO: result: yes" >&5
45436 echo "${ECHO_T}yes" >&6
45437 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45440 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45441 if test "$wxUSE_OLE" = "yes" ; then
45442 cat >>confdefs.h <<\_ACEOF
45443 #define wxUSE_OLE 1
45446 cat >>confdefs.h <<\_ACEOF
45447 #define wxUSE_OLE_AUTOMATION 1
45450 cat >>confdefs.h <<\_ACEOF
45451 #define wxUSE_OLE_ACTIVEX 1
45454 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45458 if test "$wxUSE_DATAOBJ" = "yes" ; then
45459 cat >>confdefs.h <<\_ACEOF
45460 #define wxUSE_DATAOBJ 1
45465 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45466 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45469 wxUSE_DRAG_AND_DROP=no
45474 if test "$wxUSE_METAFILE" = "yes"; then
45475 cat >>confdefs.h <<\_ACEOF
45476 #define wxUSE_METAFILE 1
45480 cat >>confdefs.h <<\_ACEOF
45481 #define wxUSE_ENH_METAFILE 1
45487 if test "$wxUSE_IPC" = "yes"; then
45488 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45489 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45490 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45494 if test "$wxUSE_IPC" = "yes"; then
45495 cat >>confdefs.h <<\_ACEOF
45496 #define wxUSE_IPC 1
45499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45503 if test "$wxUSE_DATAOBJ" = "yes"; then
45504 if test "$wxUSE_MGL" = 1; then
45505 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45506 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45509 cat >>confdefs.h <<\_ACEOF
45510 #define wxUSE_DATAOBJ 1
45515 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45516 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45518 wxUSE_DRAG_AND_DROP=no
45521 if test "$wxUSE_CLIPBOARD" = "yes"; then
45522 if test "$wxUSE_MGL" = 1; then
45523 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45524 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45528 if test "$wxUSE_CLIPBOARD" = "yes"; then
45529 cat >>confdefs.h <<\_ACEOF
45530 #define wxUSE_CLIPBOARD 1
45536 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45537 if test "$wxUSE_GTK" = 1; then
45538 if test "$WXGTK12" != 1; then
45539 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45540 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45541 wxUSE_DRAG_AND_DROP=no
45545 if test "$wxUSE_MOTIF" = 1; then
45546 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45547 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45548 wxUSE_DRAG_AND_DROP=no
45551 if test "$wxUSE_X11" = 1; then
45552 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45553 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45554 wxUSE_DRAG_AND_DROP=no
45557 if test "$wxUSE_MGL" = 1; then
45558 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45559 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45560 wxUSE_DRAG_AND_DROP=no
45563 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45564 cat >>confdefs.h <<\_ACEOF
45565 #define wxUSE_DRAG_AND_DROP 1
45572 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45573 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45576 if test "$wxUSE_SPLINES" = "yes" ; then
45577 cat >>confdefs.h <<\_ACEOF
45578 #define wxUSE_SPLINES 1
45583 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45584 cat >>confdefs.h <<\_ACEOF
45585 #define wxUSE_MOUSEWHEEL 1
45592 if test "$wxUSE_CONTROLS" = "yes"; then
45596 if test "$wxUSE_ACCEL" = "yes"; then
45597 cat >>confdefs.h <<\_ACEOF
45598 #define wxUSE_ACCEL 1
45604 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45605 cat >>confdefs.h <<\_ACEOF
45606 #define wxUSE_ANIMATIONCTRL 1
45610 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45613 if test "$wxUSE_BUTTON" = "yes"; then
45614 cat >>confdefs.h <<\_ACEOF
45615 #define wxUSE_BUTTON 1
45621 if test "$wxUSE_BMPBUTTON" = "yes"; then
45622 cat >>confdefs.h <<\_ACEOF
45623 #define wxUSE_BMPBUTTON 1
45629 if test "$wxUSE_CALCTRL" = "yes"; then
45630 cat >>confdefs.h <<\_ACEOF
45631 #define wxUSE_CALENDARCTRL 1
45635 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45638 if test "$wxUSE_CARET" = "yes"; then
45639 cat >>confdefs.h <<\_ACEOF
45640 #define wxUSE_CARET 1
45644 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45647 if test "$wxUSE_COLLPANE" = "yes"; then
45648 cat >>confdefs.h <<\_ACEOF
45649 #define wxUSE_COLLPANE 1
45653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45656 if test "$wxUSE_COMBOBOX" = "yes"; then
45657 cat >>confdefs.h <<\_ACEOF
45658 #define wxUSE_COMBOBOX 1
45664 if test "$wxUSE_COMBOCTRL" = "yes"; then
45665 cat >>confdefs.h <<\_ACEOF
45666 #define wxUSE_COMBOCTRL 1
45672 if test "$wxUSE_CHOICE" = "yes"; then
45673 cat >>confdefs.h <<\_ACEOF
45674 #define wxUSE_CHOICE 1
45680 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45681 cat >>confdefs.h <<\_ACEOF
45682 #define wxUSE_CHOICEBOOK 1
45688 if test "$wxUSE_CHECKBOX" = "yes"; then
45689 cat >>confdefs.h <<\_ACEOF
45690 #define wxUSE_CHECKBOX 1
45696 if test "$wxUSE_CHECKLST" = "yes"; then
45697 cat >>confdefs.h <<\_ACEOF
45698 #define wxUSE_CHECKLISTBOX 1
45702 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
45705 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45706 cat >>confdefs.h <<\_ACEOF
45707 #define wxUSE_COLOURPICKERCTRL 1
45713 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45714 cat >>confdefs.h <<\_ACEOF
45715 #define wxUSE_DATEPICKCTRL 1
45721 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45722 cat >>confdefs.h <<\_ACEOF
45723 #define wxUSE_DIRPICKERCTRL 1
45729 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45730 cat >>confdefs.h <<\_ACEOF
45731 #define wxUSE_FILEPICKERCTRL 1
45737 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45738 cat >>confdefs.h <<\_ACEOF
45739 #define wxUSE_FONTPICKERCTRL 1
45745 if test "$wxUSE_DISPLAY" = "yes"; then
45746 cat >>confdefs.h <<\_ACEOF
45747 #define wxUSE_DISPLAY 1
45750 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
45753 if test "$wxUSE_DETECT_SM" = "yes"; then
45754 cat >>confdefs.h <<\_ACEOF
45755 #define wxUSE_DETECT_SM 1
45760 if test "$wxUSE_GAUGE" = "yes"; then
45761 cat >>confdefs.h <<\_ACEOF
45762 #define wxUSE_GAUGE 1
45768 if test "$wxUSE_GRID" = "yes"; then
45769 cat >>confdefs.h <<\_ACEOF
45770 #define wxUSE_GRID 1
45774 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45777 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45778 cat >>confdefs.h <<\_ACEOF
45779 #define wxUSE_HYPERLINKCTRL 1
45785 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45786 cat >>confdefs.h <<\_ACEOF
45787 #define wxUSE_BITMAPCOMBOBOX 1
45793 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45794 cat >>confdefs.h <<\_ACEOF
45795 #define wxUSE_DATAVIEWCTRL 1
45799 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45802 if test "$wxUSE_IMAGLIST" = "yes"; then
45803 cat >>confdefs.h <<\_ACEOF
45804 #define wxUSE_IMAGLIST 1
45809 if test "$wxUSE_LISTBOOK" = "yes"; then
45810 cat >>confdefs.h <<\_ACEOF
45811 #define wxUSE_LISTBOOK 1
45817 if test "$wxUSE_LISTBOX" = "yes"; then
45818 cat >>confdefs.h <<\_ACEOF
45819 #define wxUSE_LISTBOX 1
45823 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
45826 if test "$wxUSE_LISTCTRL" = "yes"; then
45827 if test "$wxUSE_IMAGLIST" = "yes"; then
45828 cat >>confdefs.h <<\_ACEOF
45829 #define wxUSE_LISTCTRL 1
45833 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45835 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45836 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45840 if test "$wxUSE_NOTEBOOK" = "yes"; then
45841 cat >>confdefs.h <<\_ACEOF
45842 #define wxUSE_NOTEBOOK 1
45846 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45849 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45850 cat >>confdefs.h <<\_ACEOF
45851 #define wxUSE_ODCOMBOBOX 1
45855 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45859 if test "$wxUSE_RADIOBOX" = "yes"; then
45860 cat >>confdefs.h <<\_ACEOF
45861 #define wxUSE_RADIOBOX 1
45867 if test "$wxUSE_RADIOBTN" = "yes"; then
45868 cat >>confdefs.h <<\_ACEOF
45869 #define wxUSE_RADIOBTN 1
45875 if test "$wxUSE_SASH" = "yes"; then
45876 cat >>confdefs.h <<\_ACEOF
45877 #define wxUSE_SASH 1
45880 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45883 if test "$wxUSE_SCROLLBAR" = "yes"; then
45884 cat >>confdefs.h <<\_ACEOF
45885 #define wxUSE_SCROLLBAR 1
45889 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45892 if test "$wxUSE_SLIDER" = "yes"; then
45893 cat >>confdefs.h <<\_ACEOF
45894 #define wxUSE_SLIDER 1
45900 if test "$wxUSE_SPINBTN" = "yes"; then
45901 cat >>confdefs.h <<\_ACEOF
45902 #define wxUSE_SPINBTN 1
45908 if test "$wxUSE_SPINCTRL" = "yes"; then
45909 cat >>confdefs.h <<\_ACEOF
45910 #define wxUSE_SPINCTRL 1
45916 if test "$wxUSE_SPLITTER" = "yes"; then
45917 cat >>confdefs.h <<\_ACEOF
45918 #define wxUSE_SPLITTER 1
45921 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45924 if test "$wxUSE_STATBMP" = "yes"; then
45925 cat >>confdefs.h <<\_ACEOF
45926 #define wxUSE_STATBMP 1
45932 if test "$wxUSE_STATBOX" = "yes"; then
45933 cat >>confdefs.h <<\_ACEOF
45934 #define wxUSE_STATBOX 1
45940 if test "$wxUSE_STATTEXT" = "yes"; then
45941 cat >>confdefs.h <<\_ACEOF
45942 #define wxUSE_STATTEXT 1
45948 if test "$wxUSE_STATLINE" = "yes"; then
45949 cat >>confdefs.h <<\_ACEOF
45950 #define wxUSE_STATLINE 1
45956 if test "$wxUSE_STATUSBAR" = "yes"; then
45957 cat >>confdefs.h <<\_ACEOF
45958 #define wxUSE_NATIVE_STATUSBAR 1
45961 cat >>confdefs.h <<\_ACEOF
45962 #define wxUSE_STATUSBAR 1
45967 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45970 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45971 cat >>confdefs.h <<\_ACEOF
45972 #define wxUSE_TAB_DIALOG 1
45977 if test "$wxUSE_TEXTCTRL" = "yes"; then
45978 cat >>confdefs.h <<\_ACEOF
45979 #define wxUSE_TEXTCTRL 1
45983 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45986 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45987 if test "$wxUSE_COCOA" = 1 ; then
45988 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45989 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45993 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45994 cat >>confdefs.h <<\_ACEOF
45995 #define wxUSE_TOGGLEBTN 1
46002 if test "$wxUSE_TOOLBAR" = "yes"; then
46003 cat >>confdefs.h <<\_ACEOF
46004 #define wxUSE_TOOLBAR 1
46009 if test "$wxUSE_UNIVERSAL" = "yes"; then
46010 wxUSE_TOOLBAR_NATIVE="no"
46012 wxUSE_TOOLBAR_NATIVE="yes"
46013 cat >>confdefs.h <<\_ACEOF
46014 #define wxUSE_TOOLBAR_NATIVE 1
46019 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46022 if test "$wxUSE_TOOLTIPS" = "yes"; then
46023 if test "$wxUSE_MOTIF" = 1; then
46024 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46025 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46027 if test "$wxUSE_UNIVERSAL" = "yes"; then
46028 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46029 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46031 cat >>confdefs.h <<\_ACEOF
46032 #define wxUSE_TOOLTIPS 1
46039 if test "$wxUSE_TREEBOOK" = "yes"; then
46040 cat >>confdefs.h <<\_ACEOF
46041 #define wxUSE_TREEBOOK 1
46047 if test "$wxUSE_TOOLBOOK" = "yes"; then
46048 cat >>confdefs.h <<\_ACEOF
46049 #define wxUSE_TOOLBOOK 1
46055 if test "$wxUSE_TREECTRL" = "yes"; then
46056 if test "$wxUSE_IMAGLIST" = "yes"; then
46057 cat >>confdefs.h <<\_ACEOF
46058 #define wxUSE_TREECTRL 1
46062 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46064 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46065 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46069 if test "$wxUSE_POPUPWIN" = "yes"; then
46070 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46071 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46072 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46074 if test "$wxUSE_PM" = 1; then
46075 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46076 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46078 cat >>confdefs.h <<\_ACEOF
46079 #define wxUSE_POPUPWIN 1
46082 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46089 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46090 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46091 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46092 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46094 cat >>confdefs.h <<\_ACEOF
46095 #define wxUSE_DIALUP_MANAGER 1
46098 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46102 if test "$wxUSE_TIPWINDOW" = "yes"; then
46103 if test "$wxUSE_PM" = 1; then
46104 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46105 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46107 cat >>confdefs.h <<\_ACEOF
46108 #define wxUSE_TIPWINDOW 1
46114 if test "$USES_CONTROLS" = 1; then
46115 cat >>confdefs.h <<\_ACEOF
46116 #define wxUSE_CONTROLS 1
46122 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46123 cat >>confdefs.h <<\_ACEOF
46124 #define wxUSE_ACCESSIBILITY 1
46127 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46130 if test "$wxUSE_DC_CACHEING" = "yes"; then
46131 cat >>confdefs.h <<\_ACEOF
46132 #define wxUSE_DC_CACHEING 1
46137 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46138 cat >>confdefs.h <<\_ACEOF
46139 #define wxUSE_DRAGIMAGE 1
46142 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46145 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46146 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46147 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46148 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46150 cat >>confdefs.h <<\_ACEOF
46151 #define wxUSE_EXCEPTIONS 1
46154 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46159 if test "$wxUSE_HTML" = "yes"; then
46160 cat >>confdefs.h <<\_ACEOF
46161 #define wxUSE_HTML 1
46165 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46166 if test "$wxUSE_MAC" = 1; then
46167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46170 if test "$wxUSE_WEBKIT" = "yes"; then
46171 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46172 old_CPPFLAGS="$CPPFLAGS"
46173 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46174 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46175 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46176 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46177 echo $ECHO_N "(cached) $ECHO_C" >&6
46179 cat >conftest.$ac_ext <<_ACEOF
46182 cat confdefs.h >>conftest.$ac_ext
46183 cat >>conftest.$ac_ext <<_ACEOF
46184 /* end confdefs.h. */
46185 #include <Carbon/Carbon.h>
46187 #include <WebKit/HIWebView.h>
46189 rm -f conftest.$ac_objext
46190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46191 (eval $ac_compile) 2>conftest.er1
46193 grep -v '^ *+' conftest.er1 >conftest.err
46195 cat conftest.err >&5
46196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46197 (exit $ac_status); } &&
46198 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46200 (eval $ac_try) 2>&5
46202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46203 (exit $ac_status); }; } &&
46204 { ac_try='test -s conftest.$ac_objext'
46205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46206 (eval $ac_try) 2>&5
46208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46209 (exit $ac_status); }; }; then
46210 ac_cv_header_WebKit_HIWebView_h=yes
46212 echo "$as_me: failed program was:" >&5
46213 sed 's/^/| /' conftest.$ac_ext >&5
46215 ac_cv_header_WebKit_HIWebView_h=no
46217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46219 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46220 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46221 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46223 cat >>confdefs.h <<\_ACEOF
46224 #define wxUSE_WEBKIT 1
46227 WEBKIT_LINK="-framework WebKit"
46231 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46232 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46238 CPPFLAGS="$old_CPPFLAGS"
46239 elif test "$wxUSE_COCOA" = 1; then
46240 cat >>confdefs.h <<\_ACEOF
46241 #define wxUSE_WEBKIT 1
46250 if test "$wxUSE_XRC" = "yes"; then
46251 if test "$wxUSE_XML" != "yes"; then
46252 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46253 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46256 cat >>confdefs.h <<\_ACEOF
46257 #define wxUSE_XRC 1
46261 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46266 if test "$wxUSE_AUI" = "yes"; then
46267 cat >>confdefs.h <<\_ACEOF
46268 #define wxUSE_AUI 1
46272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46275 if test "$wxUSE_MENUS" = "yes"; then
46276 cat >>confdefs.h <<\_ACEOF
46277 #define wxUSE_MENUS 1
46280 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46283 if test "$wxUSE_METAFILE" = "yes"; then
46284 cat >>confdefs.h <<\_ACEOF
46285 #define wxUSE_METAFILE 1
46290 if test "$wxUSE_MIMETYPE" = "yes"; then
46291 cat >>confdefs.h <<\_ACEOF
46292 #define wxUSE_MIMETYPE 1
46297 if test "$wxUSE_MINIFRAME" = "yes"; then
46298 cat >>confdefs.h <<\_ACEOF
46299 #define wxUSE_MINIFRAME 1
46302 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
46305 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46306 cat >>confdefs.h <<\_ACEOF
46307 #define wxUSE_SYSTEM_OPTIONS 1
46310 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46311 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46312 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46317 if test "$wxUSE_VALIDATORS" = "yes"; then
46318 cat >>confdefs.h <<\_ACEOF
46319 #define wxUSE_VALIDATORS 1
46322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46325 if test "$wxUSE_PALETTE" = "yes" ; then
46326 cat >>confdefs.h <<\_ACEOF
46327 #define wxUSE_PALETTE 1
46332 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46333 LIBS=" -lunicows $LIBS"
46337 if test "$wxUSE_RICHTEXT" = "yes"; then
46338 cat >>confdefs.h <<\_ACEOF
46339 #define wxUSE_RICHTEXT 1
46343 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46347 if test "$wxUSE_IMAGE" = "yes" ; then
46348 cat >>confdefs.h <<\_ACEOF
46349 #define wxUSE_IMAGE 1
46353 if test "$wxUSE_GIF" = "yes" ; then
46354 cat >>confdefs.h <<\_ACEOF
46355 #define wxUSE_GIF 1
46360 if test "$wxUSE_PCX" = "yes" ; then
46361 cat >>confdefs.h <<\_ACEOF
46362 #define wxUSE_PCX 1
46367 if test "$wxUSE_TGA" = "yes" ; then
46368 cat >>confdefs.h <<\_ACEOF
46369 #define wxUSE_TGA 1
46374 if test "$wxUSE_IFF" = "yes" ; then
46375 cat >>confdefs.h <<\_ACEOF
46376 #define wxUSE_IFF 1
46381 if test "$wxUSE_PNM" = "yes" ; then
46382 cat >>confdefs.h <<\_ACEOF
46383 #define wxUSE_PNM 1
46388 if test "$wxUSE_XPM" = "yes" ; then
46389 cat >>confdefs.h <<\_ACEOF
46390 #define wxUSE_XPM 1
46395 if test "$wxUSE_ICO_CUR" = "yes" ; then
46396 cat >>confdefs.h <<\_ACEOF
46397 #define wxUSE_ICO_CUR 1
46404 if test "$wxUSE_ABOUTDLG" = "yes"; then
46405 cat >>confdefs.h <<\_ACEOF
46406 #define wxUSE_ABOUTDLG 1
46411 if test "$wxUSE_CHOICEDLG" = "yes"; then
46412 cat >>confdefs.h <<\_ACEOF
46413 #define wxUSE_CHOICEDLG 1
46418 if test "$wxUSE_COLOURDLG" = "yes"; then
46419 cat >>confdefs.h <<\_ACEOF
46420 #define wxUSE_COLOURDLG 1
46425 if test "$wxUSE_FILEDLG" = "yes"; then
46426 cat >>confdefs.h <<\_ACEOF
46427 #define wxUSE_FILEDLG 1
46432 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46433 cat >>confdefs.h <<\_ACEOF
46434 #define wxUSE_FINDREPLDLG 1
46439 if test "$wxUSE_FONTDLG" = "yes"; then
46440 cat >>confdefs.h <<\_ACEOF
46441 #define wxUSE_FONTDLG 1
46446 if test "$wxUSE_DIRDLG" = "yes"; then
46447 if test "$wxUSE_TREECTRL" != "yes"; then
46448 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46449 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46451 cat >>confdefs.h <<\_ACEOF
46452 #define wxUSE_DIRDLG 1
46458 if test "$wxUSE_MSGDLG" = "yes"; then
46459 cat >>confdefs.h <<\_ACEOF
46460 #define wxUSE_MSGDLG 1
46465 if test "$wxUSE_NUMBERDLG" = "yes"; then
46466 cat >>confdefs.h <<\_ACEOF
46467 #define wxUSE_NUMBERDLG 1
46472 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46473 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46474 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46475 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46477 cat >>confdefs.h <<\_ACEOF
46478 #define wxUSE_PROGRESSDLG 1
46484 if test "$wxUSE_SPLASH" = "yes"; then
46485 cat >>confdefs.h <<\_ACEOF
46486 #define wxUSE_SPLASH 1
46489 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46492 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46493 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46494 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46495 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46497 cat >>confdefs.h <<\_ACEOF
46498 #define wxUSE_STARTUP_TIPS 1
46504 if test "$wxUSE_TEXTDLG" = "yes"; then
46505 cat >>confdefs.h <<\_ACEOF
46506 #define wxUSE_TEXTDLG 1
46511 if test "$wxUSE_WIZARDDLG" = "yes"; then
46512 cat >>confdefs.h <<\_ACEOF
46513 #define wxUSE_WIZARDDLG 1
46516 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46520 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46521 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
46522 cat >>confdefs.h <<\_ACEOF
46523 #define wxUSE_GRAPHICS_CONTEXT 1
46526 elif test "$wxUSE_GTK" != 1; then
46527 cat >>confdefs.h <<\_ACEOF
46528 #define wxUSE_GRAPHICS_CONTEXT 1
46534 echo "$as_me:$LINENO: checking for CAIRO" >&5
46535 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
46537 if test -n "$PKG_CONFIG"; then
46538 if test -n "$CAIRO_CFLAGS"; then
46539 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46541 if test -n "$PKG_CONFIG" && \
46542 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46543 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46546 (exit $ac_status); }; then
46547 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46555 if test -n "$PKG_CONFIG"; then
46556 if test -n "$CAIRO_LIBS"; then
46557 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46559 if test -n "$PKG_CONFIG" && \
46560 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46561 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46564 (exit $ac_status); }; then
46565 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46576 if test $pkg_failed = yes; then
46578 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46579 _pkg_short_errors_supported=yes
46581 _pkg_short_errors_supported=no
46583 if test $_pkg_short_errors_supported = yes; then
46584 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46586 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46588 # Put the nasty error message in config.log where it belongs
46589 echo "$CAIRO_PKG_ERRORS" >&5
46591 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46592 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46594 elif test $pkg_failed = untried; then
46595 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46596 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46599 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46600 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46601 echo "$as_me:$LINENO: result: yes" >&5
46602 echo "${ECHO_T}yes" >&6
46603 cat >>confdefs.h <<\_ACEOF
46604 #define wxUSE_GRAPHICS_CONTEXT 1
46614 if test "$wxUSE_MEDIACTRL" = "yes"; then
46617 if test "$wxUSE_GTK" = 1; then
46618 wxUSE_GSTREAMER="no"
46620 GST_VERSION_MAJOR=0
46621 GST_VERSION_MINOR=10
46622 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46624 if test "$wxUSE_GSTREAMER8" = "no"; then
46627 echo "$as_me:$LINENO: checking for GST" >&5
46628 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46630 if test -n "$PKG_CONFIG"; then
46631 if test -n "$GST_CFLAGS"; then
46632 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46634 if test -n "$PKG_CONFIG" && \
46635 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46636 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46639 (exit $ac_status); }; then
46640 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46648 if test -n "$PKG_CONFIG"; then
46649 if test -n "$GST_LIBS"; then
46650 pkg_cv_GST_LIBS="$GST_LIBS"
46652 if test -n "$PKG_CONFIG" && \
46653 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46654 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46657 (exit $ac_status); }; then
46658 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46669 if test $pkg_failed = yes; then
46671 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46672 _pkg_short_errors_supported=yes
46674 _pkg_short_errors_supported=no
46676 if test $_pkg_short_errors_supported = yes; then
46677 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46679 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46681 # Put the nasty error message in config.log where it belongs
46682 echo "$GST_PKG_ERRORS" >&5
46685 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46686 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46687 GST_VERSION_MINOR=8
46690 elif test $pkg_failed = untried; then
46692 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46693 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46694 GST_VERSION_MINOR=8
46698 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46699 GST_LIBS=$pkg_cv_GST_LIBS
46700 echo "$as_me:$LINENO: result: yes" >&5
46701 echo "${ECHO_T}yes" >&6
46703 wxUSE_GSTREAMER="yes"
46704 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46708 GST_VERSION_MINOR=8
46711 if test $GST_VERSION_MINOR = "8"; then
46712 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46715 echo "$as_me:$LINENO: checking for GST" >&5
46716 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46718 if test -n "$PKG_CONFIG"; then
46719 if test -n "$GST_CFLAGS"; then
46720 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46722 if test -n "$PKG_CONFIG" && \
46723 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46724 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46727 (exit $ac_status); }; then
46728 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46736 if test -n "$PKG_CONFIG"; then
46737 if test -n "$GST_LIBS"; then
46738 pkg_cv_GST_LIBS="$GST_LIBS"
46740 if test -n "$PKG_CONFIG" && \
46741 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46742 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46745 (exit $ac_status); }; then
46746 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46757 if test $pkg_failed = yes; then
46759 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46760 _pkg_short_errors_supported=yes
46762 _pkg_short_errors_supported=no
46764 if test $_pkg_short_errors_supported = yes; then
46765 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46767 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46769 # Put the nasty error message in config.log where it belongs
46770 echo "$GST_PKG_ERRORS" >&5
46773 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46774 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46776 elif test $pkg_failed = untried; then
46778 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46779 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46782 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46783 GST_LIBS=$pkg_cv_GST_LIBS
46784 echo "$as_me:$LINENO: result: yes" >&5
46785 echo "${ECHO_T}yes" >&6
46786 wxUSE_GSTREAMER="yes"
46791 if test "$wxUSE_GSTREAMER" = "yes"; then
46794 if "$GCC" = yes; then
46795 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
46796 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
46800 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46801 LIBS="$GST_LIBS $LIBS"
46803 cat >>confdefs.h <<\_ACEOF
46804 #define wxUSE_GSTREAMER 1
46812 if test $USE_MEDIA = 1; then
46813 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46814 cat >>confdefs.h <<\_ACEOF
46815 #define wxUSE_MEDIACTRL 1
46822 if test "$cross_compiling" = "yes"; then
46825 OSINFO=`uname -s -r -m`
46826 OSINFO="\"$OSINFO\""
46829 cat >>confdefs.h <<_ACEOF
46830 #define WXWIN_OS_DESCRIPTION $OSINFO
46835 if test "x$prefix" != "xNONE"; then
46838 wxPREFIX=$ac_default_prefix
46841 cat >>confdefs.h <<_ACEOF
46842 #define wxINSTALL_PREFIX "$wxPREFIX"
46848 CORE_BASE_LIBS="net base"
46849 CORE_GUI_LIBS="adv core"
46851 if test "$wxUSE_XML" = "yes" ; then
46852 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
46854 if test "$wxUSE_ODBC" != "no" ; then
46855 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
46856 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
46858 if test "$wxUSE_HTML" = "yes" ; then
46859 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
46861 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46862 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
46864 if test "$wxUSE_XRC" = "yes" ; then
46865 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
46867 if test "$wxUSE_AUI" = "yes" ; then
46868 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
46871 if test "$wxUSE_GUI" != "yes"; then
46880 if test "$wxUSE_MAC" = 1 ; then
46881 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46882 if test "$USE_DARWIN" = 1; then
46883 LDFLAGS="$LDFLAGS -framework QuickTime"
46885 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46888 if test "$USE_DARWIN" = 1; then
46889 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46891 LDFLAGS="$LDFLAGS -lCarbonLib"
46894 if test "$wxUSE_COCOA" = 1 ; then
46895 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46896 if test "$wxUSE_MEDIACTRL" = "yes"; then
46897 LDFLAGS="$LDFLAGS -framework QuickTime"
46900 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46901 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46904 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46906 if test "$wxUSE_GUI" = "yes"; then
46909 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46910 dynamic erase event exec font image minimal mobile \
46911 mobile/wxedit mobile/styles propsize render \
46912 rotate shaped vscroll widgets"
46914 if test "$wxUSE_MONOLITHIC" != "yes"; then
46915 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46917 if test "$TOOLKIT" = "MSW"; then
46918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46919 if test "$wxUSE_UNIVERSAL" != "yes"; then
46920 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46923 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46924 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46927 SAMPLES_SUBDIRS="console"
46931 if test "x$INTELCC" = "xyes" ; then
46932 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46933 elif test "$GCC" = yes ; then
46934 CWARNINGS="-Wall -Wundef"
46937 if test "x$INTELCXX" = "xyes" ; then
46938 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46939 elif test "$GXX" = yes ; then
46940 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
46944 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46945 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46948 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46949 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46950 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46953 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46954 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46955 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
46957 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46960 if test "x$MWCC" = "xyes"; then
46962 CC="$CC -cwd source -I-"
46963 CXX="$CXX -cwd source -I-"
46968 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46969 EXTRALIBS_XML="$EXPAT_LINK"
46970 EXTRALIBS_HTML="$MSPACK_LINK"
46971 EXTRALIBS_ODBC="$ODBC_LINK"
46972 if test "$wxUSE_GUI" = "yes"; then
46973 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46975 if test "$wxUSE_OPENGL" = "yes"; then
46976 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46979 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46981 WXCONFIG_LIBS="$LIBS"
46983 if test "$wxUSE_REGEX" = "builtin" ; then
46984 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46986 if test "$wxUSE_EXPAT" = "builtin" ; then
46987 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46989 if test "$wxUSE_ODBC" = "builtin" ; then
46990 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
46992 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46993 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46995 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46996 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46998 if test "$wxUSE_LIBPNG" = "builtin" ; then
46999 wxconfig_3rdparty="png $wxconfig_3rdparty"
47001 if test "$wxUSE_ZLIB" = "builtin" ; then
47002 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47005 for i in $wxconfig_3rdparty ; do
47006 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47010 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47013 case "$wxUNIV_THEMES" in
47015 cat >>confdefs.h <<\_ACEOF
47016 #define wxUSE_ALL_THEMES 1
47022 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
47023 cat >>confdefs.h <<_ACEOF
47024 #define wxUSE_THEME_$t 1
47041 if test $wxUSE_MONOLITHIC = "yes" ; then
47047 if test $wxUSE_PLUGINS = "yes" ; then
47053 if test $wxUSE_ODBC != "no" ; then
47059 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47065 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47095 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47106 TOOLKIT_DESC="GTK+"
47107 if test "$WXGTK20" = 1; then
47108 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47109 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47110 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47112 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47113 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47115 if test "$wxUSE_LIBHILDON" = "yes"; then
47116 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47119 if test "$TOOLKIT_EXTRA" != ""; then
47120 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47126 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47130 TOOLKIT_DESC="base only"
47134 if test "$wxUSE_WINE" = "yes"; then
47135 BAKEFILE_FORCE_PLATFORM=win32
47138 if test "$wxUSE_MAC" = 1 ; then
47139 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
47140 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
47141 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47143 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47145 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
47146 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
47147 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
47148 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
47151 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47152 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47155 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47157 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47158 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47159 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47160 echo $ECHO_N "(cached) $ECHO_C" >&6
47163 echo '#include <stdio.h>
47164 const wchar_t test_var[] = L"awidetest";' > conftest.h
47166 echo '#include "conftest.h"
47169 printf("%ls", test_var);
47173 wx_cv_gcc_pch_bug="pch not supported"
47175 if $CXX conftest.h >/dev/null 2>&1
47179 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47181 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47182 grep awidetest >/dev/null
47184 wx_cv_gcc_pch_bug=no
47186 wx_cv_gcc_pch_bug=yes
47191 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47194 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47195 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47197 if test "$wx_cv_gcc_pch_bug" = yes; then
47205 if test "x$BAKEFILE_HOST" = "x"; then
47206 if test "x${host}" = "x" ; then
47207 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47208 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47209 { (exit 1); exit 1; }; }
47212 BAKEFILE_HOST="${host}"
47215 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47217 if test -n "$ac_tool_prefix"; then
47218 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47219 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47220 echo "$as_me:$LINENO: checking for $ac_word" >&5
47221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47222 if test "${ac_cv_prog_RANLIB+set}" = set; then
47223 echo $ECHO_N "(cached) $ECHO_C" >&6
47225 if test -n "$RANLIB"; then
47226 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47229 for as_dir in $PATH
47232 test -z "$as_dir" && as_dir=.
47233 for ac_exec_ext in '' $ac_executable_extensions; do
47234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47235 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47244 RANLIB=$ac_cv_prog_RANLIB
47245 if test -n "$RANLIB"; then
47246 echo "$as_me:$LINENO: result: $RANLIB" >&5
47247 echo "${ECHO_T}$RANLIB" >&6
47249 echo "$as_me:$LINENO: result: no" >&5
47250 echo "${ECHO_T}no" >&6
47254 if test -z "$ac_cv_prog_RANLIB"; then
47255 ac_ct_RANLIB=$RANLIB
47256 # Extract the first word of "ranlib", so it can be a program name with args.
47257 set dummy ranlib; ac_word=$2
47258 echo "$as_me:$LINENO: checking for $ac_word" >&5
47259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47260 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47261 echo $ECHO_N "(cached) $ECHO_C" >&6
47263 if test -n "$ac_ct_RANLIB"; then
47264 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47267 for as_dir in $PATH
47270 test -z "$as_dir" && as_dir=.
47271 for ac_exec_ext in '' $ac_executable_extensions; do
47272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47273 ac_cv_prog_ac_ct_RANLIB="ranlib"
47274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47280 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
47283 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47284 if test -n "$ac_ct_RANLIB"; then
47285 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47286 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47288 echo "$as_me:$LINENO: result: no" >&5
47289 echo "${ECHO_T}no" >&6
47292 RANLIB=$ac_ct_RANLIB
47294 RANLIB="$ac_cv_prog_RANLIB"
47297 # Find a good install program. We prefer a C program (faster),
47298 # so one script is as good as another. But avoid the broken or
47299 # incompatible versions:
47300 # SysV /etc/install, /usr/sbin/install
47301 # SunOS /usr/etc/install
47302 # IRIX /sbin/install
47304 # AmigaOS /C/install, which installs bootblocks on floppy discs
47305 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47306 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47307 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47308 # OS/2's system install, which has a completely different semantic
47309 # ./install, which can be erroneously created by make from ./install.sh.
47310 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47311 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47312 if test -z "$INSTALL"; then
47313 if test "${ac_cv_path_install+set}" = set; then
47314 echo $ECHO_N "(cached) $ECHO_C" >&6
47316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47317 for as_dir in $PATH
47320 test -z "$as_dir" && as_dir=.
47321 # Account for people who put trailing slashes in PATH elements.
47323 ./ | .// | /cC/* | \
47324 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47325 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47328 # OSF1 and SCO ODT 3.0 have their own names for install.
47329 # Don't use installbsd from OSF since it installs stuff as root
47331 for ac_prog in ginstall scoinst install; do
47332 for ac_exec_ext in '' $ac_executable_extensions; do
47333 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47334 if test $ac_prog = install &&
47335 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47336 # AIX install. It has an incompatible calling convention.
47338 elif test $ac_prog = install &&
47339 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47340 # program-specific install script used by HP pwplus--don't use.
47343 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47355 if test "${ac_cv_path_install+set}" = set; then
47356 INSTALL=$ac_cv_path_install
47358 # As a last resort, use the slow shell script. We don't cache a
47359 # path for INSTALL within a source directory, because that will
47360 # break other packages using the cache if that directory is
47361 # removed, or if the path is relative.
47362 INSTALL=$ac_install_sh
47365 echo "$as_me:$LINENO: result: $INSTALL" >&5
47366 echo "${ECHO_T}$INSTALL" >&6
47368 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47369 # It thinks the first close brace ends the variable substitution.
47370 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47372 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47374 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47376 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47377 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47379 if test "$LN_S" = "ln -s"; then
47380 echo "$as_me:$LINENO: result: yes" >&5
47381 echo "${ECHO_T}yes" >&6
47383 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47384 echo "${ECHO_T}no, using $LN_S" >&6
47388 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47389 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47390 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
47391 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47392 echo $ECHO_N "(cached) $ECHO_C" >&6
47394 cat >conftest.make <<\_ACEOF
47396 @echo 'ac_maketemp="$(MAKE)"'
47398 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47399 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47400 if test -n "$ac_maketemp"; then
47401 eval ac_cv_prog_make_${ac_make}_set=yes
47403 eval ac_cv_prog_make_${ac_make}_set=no
47405 rm -f conftest.make
47407 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47408 echo "$as_me:$LINENO: result: yes" >&5
47409 echo "${ECHO_T}yes" >&6
47412 echo "$as_me:$LINENO: result: no" >&5
47413 echo "${ECHO_T}no" >&6
47414 SET_MAKE="MAKE=${MAKE-make}"
47419 if test "x$SUNCXX" = "xyes"; then
47422 AROPTIONS="-xar -o"
47424 if test -n "$ac_tool_prefix"; then
47425 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47426 set dummy ${ac_tool_prefix}ar; ac_word=$2
47427 echo "$as_me:$LINENO: checking for $ac_word" >&5
47428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47429 if test "${ac_cv_prog_AR+set}" = set; then
47430 echo $ECHO_N "(cached) $ECHO_C" >&6
47432 if test -n "$AR"; then
47433 ac_cv_prog_AR="$AR" # Let the user override the test.
47435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47436 for as_dir in $PATH
47439 test -z "$as_dir" && as_dir=.
47440 for ac_exec_ext in '' $ac_executable_extensions; do
47441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47442 ac_cv_prog_AR="${ac_tool_prefix}ar"
47443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47452 if test -n "$AR"; then
47453 echo "$as_me:$LINENO: result: $AR" >&5
47454 echo "${ECHO_T}$AR" >&6
47456 echo "$as_me:$LINENO: result: no" >&5
47457 echo "${ECHO_T}no" >&6
47461 if test -z "$ac_cv_prog_AR"; then
47463 # Extract the first word of "ar", so it can be a program name with args.
47464 set dummy ar; ac_word=$2
47465 echo "$as_me:$LINENO: checking for $ac_word" >&5
47466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47467 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47468 echo $ECHO_N "(cached) $ECHO_C" >&6
47470 if test -n "$ac_ct_AR"; then
47471 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47474 for as_dir in $PATH
47477 test -z "$as_dir" && as_dir=.
47478 for ac_exec_ext in '' $ac_executable_extensions; do
47479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47480 ac_cv_prog_ac_ct_AR="ar"
47481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47487 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
47490 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47491 if test -n "$ac_ct_AR"; then
47492 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47493 echo "${ECHO_T}$ac_ct_AR" >&6
47495 echo "$as_me:$LINENO: result: no" >&5
47496 echo "${ECHO_T}no" >&6
47501 AR="$ac_cv_prog_AR"
47508 if test -n "$ac_tool_prefix"; then
47509 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47510 set dummy ${ac_tool_prefix}strip; ac_word=$2
47511 echo "$as_me:$LINENO: checking for $ac_word" >&5
47512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47513 if test "${ac_cv_prog_STRIP+set}" = set; then
47514 echo $ECHO_N "(cached) $ECHO_C" >&6
47516 if test -n "$STRIP"; then
47517 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47520 for as_dir in $PATH
47523 test -z "$as_dir" && as_dir=.
47524 for ac_exec_ext in '' $ac_executable_extensions; do
47525 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47526 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47535 STRIP=$ac_cv_prog_STRIP
47536 if test -n "$STRIP"; then
47537 echo "$as_me:$LINENO: result: $STRIP" >&5
47538 echo "${ECHO_T}$STRIP" >&6
47540 echo "$as_me:$LINENO: result: no" >&5
47541 echo "${ECHO_T}no" >&6
47545 if test -z "$ac_cv_prog_STRIP"; then
47547 # Extract the first word of "strip", so it can be a program name with args.
47548 set dummy strip; ac_word=$2
47549 echo "$as_me:$LINENO: checking for $ac_word" >&5
47550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47551 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47552 echo $ECHO_N "(cached) $ECHO_C" >&6
47554 if test -n "$ac_ct_STRIP"; then
47555 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47558 for as_dir in $PATH
47561 test -z "$as_dir" && as_dir=.
47562 for ac_exec_ext in '' $ac_executable_extensions; do
47563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47564 ac_cv_prog_ac_ct_STRIP="strip"
47565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47571 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
47574 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47575 if test -n "$ac_ct_STRIP"; then
47576 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47577 echo "${ECHO_T}$ac_ct_STRIP" >&6
47579 echo "$as_me:$LINENO: result: no" >&5
47580 echo "${ECHO_T}no" >&6
47585 STRIP="$ac_cv_prog_STRIP"
47588 if test -n "$ac_tool_prefix"; then
47589 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47590 set dummy ${ac_tool_prefix}nm; ac_word=$2
47591 echo "$as_me:$LINENO: checking for $ac_word" >&5
47592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47593 if test "${ac_cv_prog_NM+set}" = set; then
47594 echo $ECHO_N "(cached) $ECHO_C" >&6
47596 if test -n "$NM"; then
47597 ac_cv_prog_NM="$NM" # Let the user override the test.
47599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47600 for as_dir in $PATH
47603 test -z "$as_dir" && as_dir=.
47604 for ac_exec_ext in '' $ac_executable_extensions; do
47605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47606 ac_cv_prog_NM="${ac_tool_prefix}nm"
47607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47616 if test -n "$NM"; then
47617 echo "$as_me:$LINENO: result: $NM" >&5
47618 echo "${ECHO_T}$NM" >&6
47620 echo "$as_me:$LINENO: result: no" >&5
47621 echo "${ECHO_T}no" >&6
47625 if test -z "$ac_cv_prog_NM"; then
47627 # Extract the first word of "nm", so it can be a program name with args.
47628 set dummy nm; ac_word=$2
47629 echo "$as_me:$LINENO: checking for $ac_word" >&5
47630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47631 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47632 echo $ECHO_N "(cached) $ECHO_C" >&6
47634 if test -n "$ac_ct_NM"; then
47635 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47638 for as_dir in $PATH
47641 test -z "$as_dir" && as_dir=.
47642 for ac_exec_ext in '' $ac_executable_extensions; do
47643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47644 ac_cv_prog_ac_ct_NM="nm"
47645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47651 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
47654 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47655 if test -n "$ac_ct_NM"; then
47656 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47657 echo "${ECHO_T}$ac_ct_NM" >&6
47659 echo "$as_me:$LINENO: result: no" >&5
47660 echo "${ECHO_T}no" >&6
47665 NM="$ac_cv_prog_NM"
47669 case ${BAKEFILE_HOST} in
47671 INSTALL_DIR="mkdir -p"
47674 INSTALL_DIR='$(INSTALL) -d'
47680 case ${BAKEFILE_HOST} in
47681 *-*-cygwin* | *-*-mingw32* )
47682 LDFLAGS_GUI="-mwindows"
47688 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47689 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47690 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47691 echo $ECHO_N "(cached) $ECHO_C" >&6
47694 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47695 egrep -s GNU > /dev/null); then
47696 bakefile_cv_prog_makeisgnu="yes"
47698 bakefile_cv_prog_makeisgnu="no"
47702 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47703 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47705 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47722 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47723 case "${BAKEFILE_HOST}" in
47730 *-pc-os2_emx | *-pc-os2-emx )
47740 powerpc-apple-macos* )
47749 case "$BAKEFILE_FORCE_PLATFORM" in
47770 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47771 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47772 { (exit 1); exit 1; }; }
47787 # Check whether --enable-omf or --disable-omf was given.
47788 if test "${enable_omf+set}" = set; then
47789 enableval="$enable_omf"
47790 bk_os2_use_omf="$enableval"
47793 case "${BAKEFILE_HOST}" in
47795 if test "x$GCC" = "xyes"; then
47796 CFLAGS="$CFLAGS -fno-common"
47797 CXXFLAGS="$CXXFLAGS -fno-common"
47799 if test "x$XLCC" = "xyes"; then
47800 CFLAGS="$CFLAGS -qnocommon"
47801 CXXFLAGS="$CXXFLAGS -qnocommon"
47805 *-pc-os2_emx | *-pc-os2-emx )
47806 if test "x$bk_os2_use_omf" = "xyes" ; then
47809 LDFLAGS="-Zomf $LDFLAGS"
47810 CFLAGS="-Zomf $CFLAGS"
47811 CXXFLAGS="-Zomf $CXXFLAGS"
47819 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47825 SO_SUFFIX_MODULE="so"
47830 DLLPREFIX_MODULE=""
47834 case "${BAKEFILE_HOST}" in
47837 SO_SUFFIX_MODULE="sl"
47841 SO_SUFFIX_MODULE="a"
47845 SO_SUFFIX_MODULE="dll"
47846 DLLIMP_SUFFIX="dll.a"
47853 SO_SUFFIX_MODULE="dll"
47854 DLLIMP_SUFFIX="dll.a"
47864 *-pc-os2_emx | *-pc-os2-emx )
47866 SO_SUFFIX_MODULE="dll"
47867 DLLIMP_SUFFIX=$OS2_LIBEXT
47871 LIBEXT=".$OS2_LIBEXT"
47876 SO_SUFFIX_MODULE="bundle"
47880 if test "x$DLLIMP_SUFFIX" = "x" ; then
47881 DLLIMP_SUFFIX="$SO_SUFFIX"
47896 if test "x$GCC" = "xyes"; then
47900 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47901 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47904 case "${BAKEFILE_HOST}" in
47906 if test "x$GCC" != "xyes"; then
47907 LDFLAGS="$LDFLAGS -L/usr/lib"
47909 SHARED_LD_CC="${CC} -b -o"
47910 SHARED_LD_CXX="${CXX} -b -o"
47916 if test "x$GCC" != "xyes"; then
47917 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47918 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47919 if test "${bakefile_cv_prog_icc+set}" = set; then
47920 echo $ECHO_N "(cached) $ECHO_C" >&6
47923 cat >conftest.$ac_ext <<_ACEOF
47926 cat confdefs.h >>conftest.$ac_ext
47927 cat >>conftest.$ac_ext <<_ACEOF
47928 /* end confdefs.h. */
47934 #ifndef __INTEL_COMPILER
47942 rm -f conftest.$ac_objext
47943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47944 (eval $ac_compile) 2>conftest.er1
47946 grep -v '^ *+' conftest.er1 >conftest.err
47948 cat conftest.err >&5
47949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47950 (exit $ac_status); } &&
47951 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47953 (eval $ac_try) 2>&5
47955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47956 (exit $ac_status); }; } &&
47957 { ac_try='test -s conftest.$ac_objext'
47958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47959 (eval $ac_try) 2>&5
47961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47962 (exit $ac_status); }; }; then
47963 bakefile_cv_prog_icc=yes
47965 echo "$as_me: failed program was:" >&5
47966 sed 's/^/| /' conftest.$ac_ext >&5
47968 bakefile_cv_prog_icc=no
47971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47974 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
47975 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
47976 if test "$bakefile_cv_prog_icc" = "yes"; then
47983 if test "x$GCC" != xyes ; then
47984 SHARED_LD_CC="${CC} -G -o"
47985 SHARED_LD_CXX="${CXX} -G -o"
47993 cat <<EOF >shared-ld-sh
47995 #-----------------------------------------------------------------------------
47996 #-- Name: distrib/mac/shared-ld-sh
47997 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47998 #-- Author: Gilles Depeyrot
47999 #-- Copyright: (c) 2002 Gilles Depeyrot
48000 #-- Licence: any use permitted
48001 #-----------------------------------------------------------------------------
48006 linking_flag="-dynamiclib"
48007 ldargs="-r -keep_private_externs -nostdlib"
48009 while test ${D}# -gt 0; do
48016 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48017 # collect these options and values
48018 args="${D}{args} ${D}1 ${D}2"
48023 # collect these load args
48024 ldargs="${D}{ldargs} ${D}1"
48027 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48028 # collect these options
48029 args="${D}{args} ${D}1"
48032 -dynamiclib|-bundle)
48033 linking_flag="${D}1"
48037 echo "shared-ld: unhandled option '${D}1'"
48041 *.o | *.a | *.dylib)
48042 # collect object files
48043 objects="${D}{objects} ${D}1"
48047 echo "shared-ld: unhandled argument '${D}1'"
48058 # Link one module containing all the others
48060 if test ${D}{verbose} = 1; then
48061 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48063 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48067 # Link the shared library from the single module created, but only if the
48068 # previous command didn't fail:
48070 if test ${D}{status} = 0; then
48071 if test ${D}{verbose} = 1; then
48072 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48074 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48079 # Remove intermediate module
48081 rm -f master.${D}${D}.o
48086 chmod +x shared-ld-sh
48088 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48089 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
48092 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48093 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48094 if test "${bakefile_cv_gcc31+set}" = set; then
48095 echo $ECHO_N "(cached) $ECHO_C" >&6
48098 cat >conftest.$ac_ext <<_ACEOF
48101 cat confdefs.h >>conftest.$ac_ext
48102 cat >>conftest.$ac_ext <<_ACEOF
48103 /* end confdefs.h. */
48109 #if (__GNUC__ < 3) || \
48110 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48118 rm -f conftest.$ac_objext
48119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48120 (eval $ac_compile) 2>conftest.er1
48122 grep -v '^ *+' conftest.er1 >conftest.err
48124 cat conftest.err >&5
48125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48126 (exit $ac_status); } &&
48127 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48129 (eval $ac_try) 2>&5
48131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48132 (exit $ac_status); }; } &&
48133 { ac_try='test -s conftest.$ac_objext'
48134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48135 (eval $ac_try) 2>&5
48137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48138 (exit $ac_status); }; }; then
48140 bakefile_cv_gcc31=yes
48143 echo "$as_me: failed program was:" >&5
48144 sed 's/^/| /' conftest.$ac_ext >&5
48147 bakefile_cv_gcc31=no
48151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48154 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48155 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48156 if test "$bakefile_cv_gcc31" = "no"; then
48157 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48158 SHARED_LD_CXX="$SHARED_LD_CC"
48160 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48161 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48164 if test "x$GCC" == "xyes"; then
48165 PIC_FLAG="-dynamic -fPIC"
48167 if test "x$XLCC" = "xyes"; then
48168 PIC_FLAG="-dynamic -DPIC"
48173 if test "x$GCC" = "xyes"; then
48176 case "${BAKEFILE_HOST}" in
48178 LD_EXPFULL="-Wl,-bexpfull"
48182 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48183 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48185 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48186 set dummy makeC++SharedLib; ac_word=$2
48187 echo "$as_me:$LINENO: checking for $ac_word" >&5
48188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48189 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48190 echo $ECHO_N "(cached) $ECHO_C" >&6
48192 if test -n "$AIX_CXX_LD"; then
48193 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48196 for as_dir in $PATH
48199 test -z "$as_dir" && as_dir=.
48200 for ac_exec_ext in '' $ac_executable_extensions; do
48201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48202 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48209 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48212 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48213 if test -n "$AIX_CXX_LD"; then
48214 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48215 echo "${ECHO_T}$AIX_CXX_LD" >&6
48217 echo "$as_me:$LINENO: result: no" >&5
48218 echo "${ECHO_T}no" >&6
48221 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48222 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48227 SHARED_LD_CC="${LD} -nostart -o"
48228 SHARED_LD_CXX="${LD} -nostart -o"
48232 if test "x$GCC" != "xyes"; then
48237 *-*-cygwin* | *-*-mingw32* )
48239 SHARED_LD_CC="\$(CC) -shared -o"
48240 SHARED_LD_CXX="\$(CXX) -shared -o"
48244 *-pc-os2_emx | *-pc-os2-emx )
48245 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48246 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48250 cat <<EOF >dllar.sh
48253 # dllar - a tool to build both a .dll and an .a file
48254 # from a set of object (.o) files for EMX/OS2.
48256 # Written by Andrew Zabolotny, bit@freya.etu.ru
48257 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48259 # This script will accept a set of files on the command line.
48260 # All the public symbols from the .o files will be exported into
48261 # a .DEF file, then linker will be run (through gcc) against them to
48262 # build a shared library consisting of all given .o files. All libraries
48263 # (.a) will be first decompressed into component .o files then act as
48264 # described above. You can optionally give a description (-d "description")
48265 # which will be put into .DLL. To see the list of accepted options (as well
48266 # as command-line format) simply run this program without options. The .DLL
48267 # is built to be imported by name (there is no guarantee that new versions
48268 # of the library you build will have same ordinals for same symbols).
48270 # dllar is free software; you can redistribute it and/or modify
48271 # it under the terms of the GNU General Public License as published by
48272 # the Free Software Foundation; either version 2, or (at your option)
48273 # any later version.
48275 # dllar is distributed in the hope that it will be useful,
48276 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48277 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48278 # GNU General Public License for more details.
48280 # You should have received a copy of the GNU General Public License
48281 # along with dllar; see the file COPYING. If not, write to the Free
48282 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48285 # To successfuly run this program you will need:
48286 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48287 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48289 # (used to build the .dll)
48291 # (used to create .def file from .o files)
48293 # (used to create .a file from .def file)
48294 # - GNU text utilites (cat, sort, uniq)
48295 # used to process emxexp output
48296 # - GNU file utilities (mv, rm)
48298 # - lxlite (optional, see flag below)
48299 # (used for general .dll cleanup)
48306 # basnam, variant of basename, which does _not_ remove the path, _iff_
48307 # second argument (suffix to remove) is given
48311 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48314 echo ${D}1 | sed 's/'${D}2'${D}//'
48317 echo "error in basnam ${D}*"
48323 # Cleanup temporary files and output
48326 for i in ${D}inputFiles ; do
48329 rm -rf \`basnam ${D}i !\`
48336 # Kill result in case of failure as there is just to many stupid make/nmake
48337 # things out there which doesn't do this.
48338 if [ ${D}# -eq 0 ]; then
48339 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48343 # Print usage and exit script with rc=1.
48345 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48346 echo ' [-name-mangler-script script.sh]'
48347 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48348 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48349 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48350 echo ' [*.o] [*.a]'
48351 echo '*> "output_file" should have no extension.'
48352 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48353 echo ' The import library name is derived from this and is set to "name".a,'
48354 echo ' unless overridden by -import'
48355 echo '*> "importlib_name" should have no extension.'
48356 echo ' If it has the .o, or .a extension, it is automatically removed.'
48357 echo ' This name is used as the import library name and may be longer and'
48358 echo ' more descriptive than the DLL name which has to follow the old '
48359 echo ' 8.3 convention of FAT.'
48360 echo '*> "script.sh may be given to override the output_file name by a'
48361 echo ' different name. It is mainly useful if the regular make process'
48362 echo ' of some package does not take into account OS/2 restriction of'
48363 echo ' DLL name lengths. It takes the importlib name as input and is'
48364 echo ' supposed to procude a shorter name as output. The script should'
48365 echo ' expect to get importlib_name without extension and should produce'
48366 echo ' a (max.) 8 letter name without extension.'
48367 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48368 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48369 echo ' These flags will be put at the start of GCC command line.'
48370 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48371 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48372 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48373 echo ' If the last character of a symbol is "*", all symbols beginning'
48374 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48375 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48376 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48377 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48378 echo ' C runtime DLLs.'
48379 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48380 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48381 echo ' unchanged to GCC at the end of command line.'
48382 echo '*> If you create a DLL from a library and you do not specify -o,'
48383 echo ' the basename for DLL and import library will be set to library name,'
48384 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48385 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48386 echo ' library will be renamed into gcc_s.a.'
48389 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48390 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48395 # Execute a command.
48396 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48397 # @Uses Whatever CleanUp() uses.
48403 if [ ${D}rcCmd -ne 0 ]; then
48404 echo "command failed, exit code="${D}rcCmd
48419 CFLAGS="-s -Zcrtdll"
48421 EXPORT_BY_ORDINALS=0
48426 case ${D}curDirS in
48430 curDirS=${D}{curDirS}"/"
48433 # Parse commandline
48436 while [ ${D}1 ]; do
48439 EXPORT_BY_ORDINALS=1;
48449 -name-mangler-script)
48470 exclude_symbols=${D}{exclude_symbols}${D}1" "
48474 library_flags=${D}{library_flags}${D}1" "
48493 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48496 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48497 if [ ${D}omfLinking -eq 1 ]; then
48498 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48500 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48505 if [ ${D}libsToLink -ne 0 ]; then
48506 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48508 for file in ${D}1 ; do
48509 if [ -f ${D}file ]; then
48510 inputFiles="${D}{inputFiles} ${D}file"
48514 if [ ${D}found -eq 0 ]; then
48515 echo "ERROR: No file(s) found: "${D}1
48522 done # iterate cmdline words
48525 if [ -z "${D}inputFiles" ]; then
48526 echo "dllar: no input files"
48530 # Now extract all .o files from .a files
48532 for file in ${D}inputFiles ; do
48543 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48548 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48550 if [ ${D}? -ne 0 ]; then
48551 echo "Failed to create subdirectory ./${D}dirname"
48555 # Append '!' to indicate archive
48556 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48557 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48560 for subfile in ${D}dirname/*.o* ; do
48561 if [ -f ${D}subfile ]; then
48563 if [ -s ${D}subfile ]; then
48564 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48565 newInputFiles="${D}newInputFiles ${D}subfile"
48569 if [ ${D}found -eq 0 ]; then
48570 echo "WARNING: there are no files in archive \\'${D}file\\'"
48574 newInputFiles="${D}{newInputFiles} ${D}file"
48578 inputFiles="${D}newInputFiles"
48580 # Output filename(s).
48582 if [ -z ${D}outFile ]; then
48584 set outFile ${D}inputFiles; outFile=${D}2
48587 # If it is an archive, remove the '!' and the '_%' suffixes
48588 case ${D}outFile in
48590 outFile=\`basnam ${D}outFile _%!\`
48595 case ${D}outFile in
48597 outFile=\`basnam ${D}outFile .dll\`
48600 outFile=\`basnam ${D}outFile .DLL\`
48603 outFile=\`basnam ${D}outFile .o\`
48606 outFile=\`basnam ${D}outFile .obj\`
48609 outFile=\`basnam ${D}outFile .a\`
48612 outFile=\`basnam ${D}outFile .lib\`
48617 case ${D}outimpFile in
48619 outimpFile=\`basnam ${D}outimpFile .a\`
48622 outimpFile=\`basnam ${D}outimpFile .lib\`
48627 if [ -z ${D}outimpFile ]; then
48628 outimpFile=${D}outFile
48630 defFile="${D}{outFile}.def"
48631 arcFile="${D}{outimpFile}.a"
48632 arcFile2="${D}{outimpFile}.lib"
48634 #create ${D}dllFile as something matching 8.3 restrictions,
48635 if [ -z ${D}renameScript ] ; then
48636 dllFile="${D}outFile"
48638 dllFile=\`${D}renameScript ${D}outimpFile\`
48641 if [ ${D}do_backup -ne 0 ] ; then
48642 if [ -f ${D}arcFile ] ; then
48643 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48645 if [ -f ${D}arcFile2 ] ; then
48646 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48650 # Extract public symbols from all the object files.
48651 tmpdefFile=${D}{defFile}_%
48652 rm -f ${D}tmpdefFile
48653 for file in ${D}inputFiles ; do
48658 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48663 # Create the def file.
48665 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48666 dllFile="${D}{dllFile}.dll"
48667 if [ ! -z ${D}description ]; then
48668 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48670 echo "EXPORTS" >> ${D}defFile
48672 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48673 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48675 # Checks if the export is ok or not.
48676 for word in ${D}exclude_symbols; do
48677 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48678 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48682 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48683 sed "=" < ${D}tmpdefFile | \\
48687 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48689 ' > ${D}{tmpdefFile}%
48690 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48692 rm -f ${D}{tmpdefFile}%
48694 cat ${D}tmpdefFile >> ${D}defFile
48695 rm -f ${D}tmpdefFile
48697 # Do linking, create implib, and apply lxlite.
48699 for file in ${D}inputFiles ; do
48704 gccCmdl="${D}gccCmdl ${D}file"
48708 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48709 touch "${D}{outFile}.dll"
48711 doCommand "emximp -o ${D}arcFile ${D}defFile"
48712 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48714 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48717 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48719 doCommand "emxomf -s -l ${D}arcFile"
48729 powerpc-apple-macos* | \
48730 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48742 if test "x$PIC_FLAG" != "x" ; then
48743 PIC_FLAG="$PIC_FLAG -DPIC"
48746 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48747 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48749 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48750 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48769 case "${BAKEFILE_HOST}" in
48770 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48771 SONAME_FLAG="-Wl,-soname,"
48805 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48806 if test "${enable_dependency_tracking+set}" = set; then
48807 enableval="$enable_dependency_tracking"
48808 bk_use_trackdeps="$enableval"
48811 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48812 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48815 if test "x$bk_use_trackdeps" = "xno" ; then
48817 echo "$as_me:$LINENO: result: disabled" >&5
48818 echo "${ECHO_T}disabled" >&6
48822 if test "x$GCC" = "xyes"; then
48824 case "${BAKEFILE_HOST}" in
48826 DEPSFLAG="-no-cpp-precomp -MMD"
48832 echo "$as_me:$LINENO: result: gcc" >&5
48833 echo "${ECHO_T}gcc" >&6
48834 elif test "x$MWCC" = "xyes"; then
48837 echo "$as_me:$LINENO: result: mwcc" >&5
48838 echo "${ECHO_T}mwcc" >&6
48839 elif test "x$SUNCC" = "xyes"; then
48842 echo "$as_me:$LINENO: result: Sun cc" >&5
48843 echo "${ECHO_T}Sun cc" >&6
48844 elif test "x$SGICC" = "xyes"; then
48847 echo "$as_me:$LINENO: result: SGI cc" >&5
48848 echo "${ECHO_T}SGI cc" >&6
48849 elif test "x$HPCC" = "xyes"; then
48852 echo "$as_me:$LINENO: result: HP cc" >&5
48853 echo "${ECHO_T}HP cc" >&6
48854 elif test "x$COMPAQCC" = "xyes"; then
48857 echo "$as_me:$LINENO: result: Compaq cc" >&5
48858 echo "${ECHO_T}Compaq cc" >&6
48861 echo "$as_me:$LINENO: result: none" >&5
48862 echo "${ECHO_T}none" >&6
48865 if test $DEPS_TRACKING = 1 ; then
48871 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48872 # script. It is used to track C/C++ files dependencies in portable way.
48874 # Permission is given to use this file in any way.
48876 DEPSMODE=${DEPSMODE}
48878 DEPSFLAG="${DEPSFLAG}"
48880 mkdir -p ${D}DEPSDIR
48882 if test ${D}DEPSMODE = gcc ; then
48883 ${D}* ${D}{DEPSFLAG}
48885 if test ${D}{status} != 0 ; then
48888 # move created file to the location we want it in:
48889 while test ${D}# -gt 0; do
48903 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48904 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48905 if test -f ${D}depfile ; then
48906 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48909 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48910 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48911 if test ! -f ${D}depfile ; then
48912 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48913 depfile="${D}objfile.d"
48915 if test -f ${D}depfile ; then
48916 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48921 elif test ${D}DEPSMODE = mwcc ; then
48922 ${D}* || exit ${D}?
48923 # Run mwcc again with -MM and redirect into the dep file we want
48924 # NOTE: We can't use shift here because we need ${D}* to be valid
48926 for arg in ${D}* ; do
48927 if test "${D}prevarg" = "-o"; then
48940 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48942 elif test ${D}DEPSMODE = unixcc; then
48943 ${D}* || exit ${D}?
48944 # Run compiler again with deps flag and redirect into the dep file.
48945 # It doesn't work if the '-o FILE' option is used, but without it the
48946 # dependency file will contain the wrong name for the object. So it is
48947 # removed from the command line, and the dep file is fixed with sed.
48949 while test ${D}# -gt 0; do
48956 eval arg${D}#=\\${D}1
48957 cmd="${D}cmd \\${D}arg${D}#"
48962 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48971 BK_DEPS="`pwd`/bk-deps"
48979 case ${BAKEFILE_HOST} in
48980 *-*-cygwin* | *-*-mingw32* )
48981 if test -n "$ac_tool_prefix"; then
48982 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48983 set dummy ${ac_tool_prefix}windres; ac_word=$2
48984 echo "$as_me:$LINENO: checking for $ac_word" >&5
48985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48986 if test "${ac_cv_prog_WINDRES+set}" = set; then
48987 echo $ECHO_N "(cached) $ECHO_C" >&6
48989 if test -n "$WINDRES"; then
48990 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48993 for as_dir in $PATH
48996 test -z "$as_dir" && as_dir=.
48997 for ac_exec_ext in '' $ac_executable_extensions; do
48998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48999 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49008 WINDRES=$ac_cv_prog_WINDRES
49009 if test -n "$WINDRES"; then
49010 echo "$as_me:$LINENO: result: $WINDRES" >&5
49011 echo "${ECHO_T}$WINDRES" >&6
49013 echo "$as_me:$LINENO: result: no" >&5
49014 echo "${ECHO_T}no" >&6
49018 if test -z "$ac_cv_prog_WINDRES"; then
49019 ac_ct_WINDRES=$WINDRES
49020 # Extract the first word of "windres", so it can be a program name with args.
49021 set dummy windres; ac_word=$2
49022 echo "$as_me:$LINENO: checking for $ac_word" >&5
49023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49024 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49025 echo $ECHO_N "(cached) $ECHO_C" >&6
49027 if test -n "$ac_ct_WINDRES"; then
49028 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49031 for as_dir in $PATH
49034 test -z "$as_dir" && as_dir=.
49035 for ac_exec_ext in '' $ac_executable_extensions; do
49036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49037 ac_cv_prog_ac_ct_WINDRES="windres"
49038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49046 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49047 if test -n "$ac_ct_WINDRES"; then
49048 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49049 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49051 echo "$as_me:$LINENO: result: no" >&5
49052 echo "${ECHO_T}no" >&6
49055 WINDRES=$ac_ct_WINDRES
49057 WINDRES="$ac_cv_prog_WINDRES"
49062 *-*-darwin* | powerpc-apple-macos* )
49063 # Extract the first word of "Rez", so it can be a program name with args.
49064 set dummy Rez; ac_word=$2
49065 echo "$as_me:$LINENO: checking for $ac_word" >&5
49066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49067 if test "${ac_cv_prog_REZ+set}" = set; then
49068 echo $ECHO_N "(cached) $ECHO_C" >&6
49070 if test -n "$REZ"; then
49071 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49074 for as_dir in $PATH
49077 test -z "$as_dir" && as_dir=.
49078 for ac_exec_ext in '' $ac_executable_extensions; do
49079 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49080 ac_cv_prog_REZ="Rez"
49081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49087 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49090 REZ=$ac_cv_prog_REZ
49091 if test -n "$REZ"; then
49092 echo "$as_me:$LINENO: result: $REZ" >&5
49093 echo "${ECHO_T}$REZ" >&6
49095 echo "$as_me:$LINENO: result: no" >&5
49096 echo "${ECHO_T}no" >&6
49099 # Extract the first word of "SetFile", so it can be a program name with args.
49100 set dummy SetFile; ac_word=$2
49101 echo "$as_me:$LINENO: checking for $ac_word" >&5
49102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49103 if test "${ac_cv_prog_SETFILE+set}" = set; then
49104 echo $ECHO_N "(cached) $ECHO_C" >&6
49106 if test -n "$SETFILE"; then
49107 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49110 for as_dir in $PATH
49113 test -z "$as_dir" && as_dir=.
49114 for ac_exec_ext in '' $ac_executable_extensions; do
49115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49116 ac_cv_prog_SETFILE="SetFile"
49117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49123 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49126 SETFILE=$ac_cv_prog_SETFILE
49127 if test -n "$SETFILE"; then
49128 echo "$as_me:$LINENO: result: $SETFILE" >&5
49129 echo "${ECHO_T}$SETFILE" >&6
49131 echo "$as_me:$LINENO: result: no" >&5
49132 echo "${ECHO_T}no" >&6
49143 BAKEFILE_BAKEFILE_M4_VERSION="0.2.1"
49146 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.1"
49150 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49151 if test "${enable_precomp_headers+set}" = set; then
49152 enableval="$enable_precomp_headers"
49153 bk_use_pch="$enableval"
49161 case ${BAKEFILE_HOST} in
49167 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49168 if test "x$GCC" = "xyes"; then
49169 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49170 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49171 cat >conftest.$ac_ext <<_ACEOF
49174 cat confdefs.h >>conftest.$ac_ext
49175 cat >>conftest.$ac_ext <<_ACEOF
49176 /* end confdefs.h. */
49182 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49183 There is no PCH support
49186 There is no PCH support
49188 #if (__GNUC__ == 3) && \
49189 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49190 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49191 ( defined(__INTEL_COMPILER) )
49192 There is no PCH support
49199 rm -f conftest.$ac_objext
49200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49201 (eval $ac_compile) 2>conftest.er1
49203 grep -v '^ *+' conftest.er1 >conftest.err
49205 cat conftest.err >&5
49206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49207 (exit $ac_status); } &&
49208 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49210 (eval $ac_try) 2>&5
49212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49213 (exit $ac_status); }; } &&
49214 { ac_try='test -s conftest.$ac_objext'
49215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49216 (eval $ac_try) 2>&5
49218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49219 (exit $ac_status); }; }; then
49221 echo "$as_me:$LINENO: result: yes" >&5
49222 echo "${ECHO_T}yes" >&6
49226 echo "$as_me: failed program was:" >&5
49227 sed 's/^/| /' conftest.$ac_ext >&5
49230 cat >conftest.$ac_ext <<_ACEOF
49233 cat confdefs.h >>conftest.$ac_ext
49234 cat >>conftest.$ac_ext <<_ACEOF
49235 /* end confdefs.h. */
49241 #if !defined(__INTEL_COMPILER) || \
49242 (__INTEL_COMPILER < 800)
49243 There is no PCH support
49250 rm -f conftest.$ac_objext
49251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49252 (eval $ac_compile) 2>conftest.er1
49254 grep -v '^ *+' conftest.er1 >conftest.err
49256 cat conftest.err >&5
49257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49258 (exit $ac_status); } &&
49259 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49261 (eval $ac_try) 2>&5
49263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49264 (exit $ac_status); }; } &&
49265 { ac_try='test -s conftest.$ac_objext'
49266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49267 (eval $ac_try) 2>&5
49269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49270 (exit $ac_status); }; }; then
49272 echo "$as_me:$LINENO: result: yes" >&5
49273 echo "${ECHO_T}yes" >&6
49277 echo "$as_me: failed program was:" >&5
49278 sed 's/^/| /' conftest.$ac_ext >&5
49281 echo "$as_me:$LINENO: result: no" >&5
49282 echo "${ECHO_T}no" >&6
49285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49289 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49293 cat <<EOF >bk-make-pch
49296 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49297 # script. It is used to generated precompiled headers.
49299 # Permission is given to use this file in any way.
49309 while test ${D}{#} -gt 0; do
49313 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49314 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49315 headerfile="${D}{incdir}/${D}{header}"
49318 -use-pch|-use_pch )
49323 if test ${D}add_to_cmdline = 1 ; then
49324 compiler="${D}{compiler} ${D}{1}"
49329 if test "x${D}{headerfile}" = "x" ; then
49330 echo "error: can't find header ${D}{header} in include paths" >&2
49332 if test -f ${D}{outfile} ; then
49333 rm -f ${D}{outfile}
49335 mkdir -p \`dirname ${D}{outfile}\`
49337 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49339 if test "x${GCC_PCH}" = "x1" ; then
49340 # can do this because gcc is >= 3.4:
49341 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49342 elif test "x${ICC_PCH}" = "x1" ; then
49343 filename=pch_gen-${D}${D}
49344 file=${D}{filename}.c
49345 dfile=${D}{filename}.d
49346 cat > ${D}file <<EOT
49347 #include "${D}header"
49349 # using -MF icc complains about differing command lines in creation/use
49350 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49351 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49352 rm -f ${D}file ${D}dfile ${D}{filename}.o
49358 chmod +x bk-make-pch
49359 BK_MAKE_PCH="`pwd`/bk-make-pch"
49368 COND_BUILD_DEBUG="#"
49369 if test "x$BUILD" = "xdebug" ; then
49370 COND_BUILD_DEBUG=""
49373 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49374 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49375 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49378 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49379 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49380 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49383 COND_BUILD_DEBUG_UNICODE_0="#"
49384 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49385 COND_BUILD_DEBUG_UNICODE_0=""
49388 COND_BUILD_DEBUG_UNICODE_1="#"
49389 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49390 COND_BUILD_DEBUG_UNICODE_1=""
49393 COND_BUILD_RELEASE="#"
49394 if test "x$BUILD" = "xrelease" ; then
49395 COND_BUILD_RELEASE=""
49398 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49399 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49400 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49403 COND_BUILD_RELEASE_UNICODE_0="#"
49404 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49405 COND_BUILD_RELEASE_UNICODE_0=""
49408 COND_BUILD_RELEASE_UNICODE_1="#"
49409 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49410 COND_BUILD_RELEASE_UNICODE_1=""
49413 COND_DEBUG_FLAG_1="#"
49414 if test "x$DEBUG_FLAG" = "x1" ; then
49415 COND_DEBUG_FLAG_1=""
49418 COND_DEBUG_INFO_0="#"
49419 if test "x$DEBUG_INFO" = "x0" ; then
49420 COND_DEBUG_INFO_0=""
49423 COND_DEBUG_INFO_1="#"
49424 if test "x$DEBUG_INFO" = "x1" ; then
49425 COND_DEBUG_INFO_1=""
49428 COND_DEPS_TRACKING_0="#"
49429 if test "x$DEPS_TRACKING" = "x0" ; then
49430 COND_DEPS_TRACKING_0=""
49433 COND_DEPS_TRACKING_1="#"
49434 if test "x$DEPS_TRACKING" = "x1" ; then
49435 COND_DEPS_TRACKING_1=""
49439 if test "x$GCC_PCH" = "x1" ; then
49444 if test "x$ICC_PCH" = "x1" ; then
49448 COND_MONOLITHIC_0="#"
49449 if test "x$MONOLITHIC" = "x0" ; then
49450 COND_MONOLITHIC_0=""
49453 COND_MONOLITHIC_0_SHARED_0="#"
49454 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49455 COND_MONOLITHIC_0_SHARED_0=""
49458 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49459 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49460 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49463 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49464 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49465 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49468 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49469 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49470 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49473 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49474 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49475 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49478 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
49479 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49480 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
49483 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49484 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49485 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49488 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
49489 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49490 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
49493 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49494 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49495 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49498 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49499 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49500 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49503 COND_MONOLITHIC_0_SHARED_1="#"
49504 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49505 COND_MONOLITHIC_0_SHARED_1=""
49508 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49509 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49510 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49513 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49514 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49515 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49518 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49519 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49520 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49523 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49524 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49525 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49528 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
49529 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49530 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
49533 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49534 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49535 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49538 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
49539 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49540 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
49543 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49544 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49545 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49548 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49549 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49550 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49553 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49554 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49555 COND_MONOLITHIC_0_USE_MEDIA_1=""
49558 COND_MONOLITHIC_0_USE_ODBC_1="#"
49559 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49560 COND_MONOLITHIC_0_USE_ODBC_1=""
49563 COND_MONOLITHIC_1="#"
49564 if test "x$MONOLITHIC" = "x1" ; then
49565 COND_MONOLITHIC_1=""
49568 COND_MONOLITHIC_1_SHARED_0="#"
49569 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49570 COND_MONOLITHIC_1_SHARED_0=""
49573 COND_MONOLITHIC_1_SHARED_1="#"
49574 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49575 COND_MONOLITHIC_1_SHARED_1=""
49578 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49579 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49580 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49583 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49584 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49585 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49588 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49589 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49590 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49593 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49594 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49595 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49598 COND_PLATFORM_MACOSX_1="#"
49599 if test "x$PLATFORM_MACOSX" = "x1" ; then
49600 COND_PLATFORM_MACOSX_1=""
49603 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49604 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49605 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49608 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49609 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49610 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49613 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49614 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49615 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49618 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49619 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49620 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49623 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49624 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49625 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49628 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49629 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49630 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49633 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49634 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49635 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49638 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49639 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49640 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49643 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49644 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49645 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49648 COND_PLATFORM_MACOS_1="#"
49649 if test "x$PLATFORM_MACOS" = "x1" ; then
49650 COND_PLATFORM_MACOS_1=""
49653 COND_PLATFORM_MAC_1="#"
49654 if test "x$PLATFORM_MAC" = "x1" ; then
49655 COND_PLATFORM_MAC_1=""
49658 COND_PLATFORM_MSDOS_0="#"
49659 if test "x$PLATFORM_MSDOS" = "x0" ; then
49660 COND_PLATFORM_MSDOS_0=""
49663 COND_PLATFORM_MSDOS_1="#"
49664 if test "x$PLATFORM_MSDOS" = "x1" ; then
49665 COND_PLATFORM_MSDOS_1=""
49668 COND_PLATFORM_OS2_1="#"
49669 if test "x$PLATFORM_OS2" = "x1" ; then
49670 COND_PLATFORM_OS2_1=""
49673 COND_PLATFORM_UNIX_0="#"
49674 if test "x$PLATFORM_UNIX" = "x0" ; then
49675 COND_PLATFORM_UNIX_0=""
49678 COND_PLATFORM_UNIX_1="#"
49679 if test "x$PLATFORM_UNIX" = "x1" ; then
49680 COND_PLATFORM_UNIX_1=""
49683 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49684 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49685 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49688 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49689 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49690 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49693 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49694 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49695 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49698 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49699 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49700 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49703 COND_PLATFORM_WIN32_0="#"
49704 if test "x$PLATFORM_WIN32" = "x0" ; then
49705 COND_PLATFORM_WIN32_0=""
49708 COND_PLATFORM_WIN32_1="#"
49709 if test "x$PLATFORM_WIN32" = "x1" ; then
49710 COND_PLATFORM_WIN32_1=""
49714 if test "x$SHARED" = "x0" ; then
49718 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49719 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49720 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49723 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49724 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49725 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49728 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49729 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49730 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49733 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49734 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49735 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49738 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49739 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49740 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49743 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49744 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49745 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49748 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49749 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49750 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49753 COND_SHARED_0_USE_XRC_1="#"
49754 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49755 COND_SHARED_0_USE_XRC_1=""
49758 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49759 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49760 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49763 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
49764 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49765 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
49768 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49769 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49770 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49773 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49774 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49775 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49779 if test "x$SHARED" = "x1" ; then
49783 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49784 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49785 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49788 COND_SHARED_1_USE_XRC_1="#"
49789 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49790 COND_SHARED_1_USE_XRC_1=""
49794 if test "x$TOOLKIT" = "x" ; then
49798 COND_TOOLKIT_COCOA="#"
49799 if test "x$TOOLKIT" = "xCOCOA" ; then
49800 COND_TOOLKIT_COCOA=""
49803 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49804 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49805 COND_TOOLKIT_COCOA_USE_GUI_1=""
49808 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49809 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49810 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49813 COND_TOOLKIT_DFB="#"
49814 if test "x$TOOLKIT" = "xDFB" ; then
49815 COND_TOOLKIT_DFB=""
49818 COND_TOOLKIT_DFB_USE_GUI_1="#"
49819 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49820 COND_TOOLKIT_DFB_USE_GUI_1=""
49823 COND_TOOLKIT_GTK="#"
49824 if test "x$TOOLKIT" = "xGTK" ; then
49825 COND_TOOLKIT_GTK=""
49828 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49829 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49830 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49833 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49834 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49835 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49838 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49839 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49840 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49843 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49844 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49845 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49848 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49849 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49850 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49853 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49854 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49855 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49858 COND_TOOLKIT_GTK_USE_GUI_1="#"
49859 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49860 COND_TOOLKIT_GTK_USE_GUI_1=""
49863 COND_TOOLKIT_MAC="#"
49864 if test "x$TOOLKIT" = "xMAC" ; then
49865 COND_TOOLKIT_MAC=""
49868 COND_TOOLKIT_MAC_USE_GUI_1="#"
49869 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49870 COND_TOOLKIT_MAC_USE_GUI_1=""
49873 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49874 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49875 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49878 COND_TOOLKIT_MGL="#"
49879 if test "x$TOOLKIT" = "xMGL" ; then
49880 COND_TOOLKIT_MGL=""
49883 COND_TOOLKIT_MGL_USE_GUI_1="#"
49884 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49885 COND_TOOLKIT_MGL_USE_GUI_1=""
49888 COND_TOOLKIT_MOTIF="#"
49889 if test "x$TOOLKIT" = "xMOTIF" ; then
49890 COND_TOOLKIT_MOTIF=""
49893 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49894 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49895 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49898 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49899 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49900 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49903 COND_TOOLKIT_MSW="#"
49904 if test "x$TOOLKIT" = "xMSW" ; then
49905 COND_TOOLKIT_MSW=""
49908 COND_TOOLKIT_MSW_USE_GUI_1="#"
49909 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49910 COND_TOOLKIT_MSW_USE_GUI_1=""
49913 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49914 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49915 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49918 COND_TOOLKIT_MSW_WXUNIV_0="#"
49919 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49920 COND_TOOLKIT_MSW_WXUNIV_0=""
49923 COND_TOOLKIT_PM="#"
49924 if test "x$TOOLKIT" = "xPM" ; then
49928 COND_TOOLKIT_PM_USE_GUI_1="#"
49929 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49930 COND_TOOLKIT_PM_USE_GUI_1=""
49933 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49934 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49935 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49938 COND_TOOLKIT_WINCE="#"
49939 if test "x$TOOLKIT" = "xWINCE" ; then
49940 COND_TOOLKIT_WINCE=""
49943 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49944 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49945 COND_TOOLKIT_WINCE_USE_GUI_1=""
49948 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49949 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49950 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49953 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49954 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49955 COND_TOOLKIT_WINCE_WXUNIV_0=""
49958 COND_TOOLKIT_X11="#"
49959 if test "x$TOOLKIT" = "xX11" ; then
49960 COND_TOOLKIT_X11=""
49963 COND_TOOLKIT_X11_USE_GUI_1="#"
49964 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49965 COND_TOOLKIT_X11_USE_GUI_1=""
49969 if test "x$UNICODE" = "x1" ; then
49973 COND_USE_EXCEPTIONS_0="#"
49974 if test "x$USE_EXCEPTIONS" = "x0" ; then
49975 COND_USE_EXCEPTIONS_0=""
49978 COND_USE_EXCEPTIONS_1="#"
49979 if test "x$USE_EXCEPTIONS" = "x1" ; then
49980 COND_USE_EXCEPTIONS_1=""
49984 if test "x$USE_GUI" = "x0" ; then
49989 if test "x$USE_GUI" = "x1" ; then
49993 COND_USE_GUI_1_WXUNIV_0="#"
49994 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49995 COND_USE_GUI_1_WXUNIV_0=""
49998 COND_USE_GUI_1_WXUNIV_1="#"
49999 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50000 COND_USE_GUI_1_WXUNIV_1=""
50003 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50004 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50005 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50008 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50009 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50010 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50013 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50014 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50015 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50018 COND_USE_ODBC_1="#"
50019 if test "x$USE_ODBC" = "x1" ; then
50023 COND_USE_OPENGL_1="#"
50024 if test "x$USE_OPENGL" = "x1" ; then
50025 COND_USE_OPENGL_1=""
50029 if test "x$USE_PCH" = "x1" ; then
50033 COND_USE_PLUGINS_0="#"
50034 if test "x$USE_PLUGINS" = "x0" ; then
50035 COND_USE_PLUGINS_0=""
50038 COND_USE_RTTI_0="#"
50039 if test "x$USE_RTTI" = "x0" ; then
50043 COND_USE_RTTI_1="#"
50044 if test "x$USE_RTTI" = "x1" ; then
50048 COND_USE_SOSYMLINKS_1="#"
50049 if test "x$USE_SOSYMLINKS" = "x1" ; then
50050 COND_USE_SOSYMLINKS_1=""
50053 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50054 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50055 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50058 COND_USE_SOVERLINUX_1="#"
50059 if test "x$USE_SOVERLINUX" = "x1" ; then
50060 COND_USE_SOVERLINUX_1=""
50063 COND_USE_SOVERSION_0="#"
50064 if test "x$USE_SOVERSION" = "x0" ; then
50065 COND_USE_SOVERSION_0=""
50068 COND_USE_SOVERSOLARIS_1="#"
50069 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50070 COND_USE_SOVERSOLARIS_1=""
50073 COND_USE_THREADS_0="#"
50074 if test "x$USE_THREADS" = "x0" ; then
50075 COND_USE_THREADS_0=""
50078 COND_USE_THREADS_1="#"
50079 if test "x$USE_THREADS" = "x1" ; then
50080 COND_USE_THREADS_1=""
50084 if test "x$USE_XRC" = "x1" ; then
50088 COND_WINDOWS_IMPLIB_1="#"
50089 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50090 COND_WINDOWS_IMPLIB_1=""
50093 COND_WITH_PLUGIN_SDL_1="#"
50094 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50095 COND_WITH_PLUGIN_SDL_1=""
50099 if test "x$WXUNIV" = "x0" ; then
50104 if test "x$WXUNIV" = "x1" ; then
50108 COND_WXUSE_EXPAT_BUILTIN="#"
50109 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50110 COND_WXUSE_EXPAT_BUILTIN=""
50113 COND_WXUSE_LIBJPEG_BUILTIN="#"
50114 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50115 COND_WXUSE_LIBJPEG_BUILTIN=""
50118 COND_WXUSE_LIBPNG_BUILTIN="#"
50119 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50120 COND_WXUSE_LIBPNG_BUILTIN=""
50123 COND_WXUSE_LIBTIFF_BUILTIN="#"
50124 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50125 COND_WXUSE_LIBTIFF_BUILTIN=""
50128 COND_WXUSE_ODBC_BUILTIN="#"
50129 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50130 COND_WXUSE_ODBC_BUILTIN=""
50133 COND_WXUSE_REGEX_BUILTIN="#"
50134 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50135 COND_WXUSE_REGEX_BUILTIN=""
50138 COND_WXUSE_ZLIB_BUILTIN="#"
50139 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50140 COND_WXUSE_ZLIB_BUILTIN=""
50145 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50146 { { 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
50147 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;}
50148 { (exit 1); exit 1; }; }
50151 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50152 { { 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
50153 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;}
50154 { (exit 1); exit 1; }; }
50158 if test $GCC_PCH = 1
50160 if test "$wx_cv_gcc_pch_bug" = yes; then
50161 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50162 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50163 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50164 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50165 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50166 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50169 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
50173 if test "$wxUSE_MAC" = 1 ; then
50174 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50175 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50181 if test "$wxUSE_SHARED" = "yes"; then
50183 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
50184 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
50187 *-pc-os2_emx | *-pc-os2-emx )
50188 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50189 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50190 cp -p ${srcdir}/src/os2/dllnames.sh .
50191 cp -p ${srcdir}/src/os2/dllar.sh .
50196 EXE_LINKER="$CXX -o"
50199 if test "$wxUSE_OMF" = "yes"; then
50201 *-pc-os2_emx | *-pc-os2-emx )
50202 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50203 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50204 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50209 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50211 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50273 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50274 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50275 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
50276 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50277 echo $ECHO_N "(cached) $ECHO_C" >&6
50279 cat >conftest.make <<\_ACEOF
50281 @echo 'ac_maketemp="$(MAKE)"'
50283 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50284 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50285 if test -n "$ac_maketemp"; then
50286 eval ac_cv_prog_make_${ac_make}_set=yes
50288 eval ac_cv_prog_make_${ac_make}_set=no
50290 rm -f conftest.make
50292 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50293 echo "$as_me:$LINENO: result: yes" >&5
50294 echo "${ECHO_T}yes" >&6
50297 echo "$as_me:$LINENO: result: no" >&5
50298 echo "${ECHO_T}no" >&6
50299 SET_MAKE="MAKE=${MAKE-make}"
50304 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50307 if test "$USE_WIN32" = 1; then
50308 ac_config_commands="$ac_config_commands
50314 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50317 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50320 if test "$wx_cv_version_script" = "yes"; then
50321 ac_config_files="$ac_config_files version-script"
50324 ac_config_files="$ac_config_files Makefile"
50327 ac_config_commands="$ac_config_commands wx-config"
50331 if test "$wxWITH_SUBDIRS" != "no"; then
50332 if test "$wxUSE_GUI" = "yes"; then
50333 SUBDIRS="samples demos utils contrib"
50334 else SUBDIRS="samples utils"
50339 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50340 if test "${with_cppunit_prefix+set}" = set; then
50341 withval="$with_cppunit_prefix"
50342 cppunit_config_prefix="$withval"
50344 cppunit_config_prefix=""
50347 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50348 if test "${with_cppunit_exec_prefix+set}" = set; then
50349 withval="$with_cppunit_exec_prefix"
50350 cppunit_config_exec_prefix="$withval"
50352 cppunit_config_exec_prefix=""
50355 if test x$cppunit_config_exec_prefix != x ; then
50356 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50357 if test x${CPPUNIT_CONFIG+set} != xset ; then
50358 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50361 if test x$cppunit_config_prefix != x ; then
50362 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50363 if test x${CPPUNIT_CONFIG+set} != xset ; then
50364 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50368 # Extract the first word of "cppunit-config", so it can be a program name with args.
50369 set dummy cppunit-config; ac_word=$2
50370 echo "$as_me:$LINENO: checking for $ac_word" >&5
50371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50372 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50373 echo $ECHO_N "(cached) $ECHO_C" >&6
50375 case $CPPUNIT_CONFIG in
50377 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50381 for as_dir in $PATH
50384 test -z "$as_dir" && as_dir=.
50385 for ac_exec_ext in '' $ac_executable_extensions; do
50386 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50387 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50394 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50398 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50400 if test -n "$CPPUNIT_CONFIG"; then
50401 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50402 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50404 echo "$as_me:$LINENO: result: no" >&5
50405 echo "${ECHO_T}no" >&6
50408 cppunit_version_min=1.8.0
50410 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50411 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50413 if test "$CPPUNIT_CONFIG" = "no" ; then
50414 echo "$as_me:$LINENO: result: no" >&5
50415 echo "${ECHO_T}no" >&6
50418 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50419 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50420 cppunit_version=`$CPPUNIT_CONFIG --version`
50422 cppunit_major_version=`echo $cppunit_version | \
50423 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50424 cppunit_minor_version=`echo $cppunit_version | \
50425 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50426 cppunit_micro_version=`echo $cppunit_version | \
50427 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50429 cppunit_major_min=`echo $cppunit_version_min | \
50430 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50431 cppunit_minor_min=`echo $cppunit_version_min | \
50432 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50433 cppunit_micro_min=`echo $cppunit_version_min | \
50434 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50436 cppunit_version_proper=`expr \
50437 $cppunit_major_version \> $cppunit_major_min \| \
50438 $cppunit_major_version \= $cppunit_major_min \& \
50439 $cppunit_minor_version \> $cppunit_minor_min \| \
50440 $cppunit_major_version \= $cppunit_major_min \& \
50441 $cppunit_minor_version \= $cppunit_minor_min \& \
50442 $cppunit_micro_version \>= $cppunit_micro_min `
50444 if test "$cppunit_version_proper" = "1" ; then
50445 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50446 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50448 echo "$as_me:$LINENO: result: no" >&5
50449 echo "${ECHO_T}no" >&6
50454 if test "x$no_cppunit" = x ; then
50455 SUBDIRS="$SUBDIRS tests"
50466 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
50467 DISABLED_CONTRIB="$DISABLED_CONTRIB net"
50470 for subdir in `echo $SUBDIRS`; do
50471 if test -d ${srcdir}/${subdir} ; then
50472 if test "$wxUSE_GUI" = "yes"; then
50473 if test ${subdir} = "samples"; then
50474 makefiles="samples/Makefile.in $makefiles"
50475 for sample in `echo $SAMPLES_SUBDIRS`; do
50476 if test -d $srcdir/samples/$sample; then
50477 makefiles="samples/$sample/Makefile.in $makefiles"
50481 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
50482 eval "disabled=\$$disabled_var"
50483 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50484 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50486 else if test ${subdir} = "samples"; then
50487 makefiles="samples/Makefile.in samples/console/Makefile.in"
50488 elif test ${subdir} = "utils"; then
50490 for util in HelpGen tex2rtf ; do
50491 if test -d $srcdir/utils/$util ; then
50492 makefiles="utils/$util/Makefile.in \
50493 utils/$util/src/Makefile.in \
50497 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50501 for mkin in $makefiles ; do
50502 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50503 ac_config_files="$ac_config_files $mk"
50509 cat >confcache <<\_ACEOF
50510 # This file is a shell script that caches the results of configure
50511 # tests run on this system so they can be shared between configure
50512 # scripts and configure runs, see configure's option --config-cache.
50513 # It is not useful on other systems. If it contains results you don't
50514 # want to keep, you may remove or edit it.
50516 # config.status only pays attention to the cache file if you give it
50517 # the --recheck option to rerun configure.
50519 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50520 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50521 # following values.
50525 # The following way of writing the cache mishandles newlines in values,
50526 # but we know of no workaround that is simple, portable, and efficient.
50527 # So, don't put newlines in cache variables' values.
50528 # Ultrix sh set writes to stderr and can't be redirected directly,
50529 # and sets the high bit in the cache file unless we assign to the vars.
50532 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50534 # `set' does not quote correctly, so add quotes (double-quote
50535 # substitution turns \\\\ into \\, and sed turns \\ into \).
50538 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50541 # `set' quotes correctly as required by POSIX, so do not add quotes.
50543 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50550 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50552 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50554 if diff $cache_file confcache >/dev/null 2>&1; then :; else
50555 if test -w $cache_file; then
50556 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50557 cat confcache >$cache_file
50559 echo "not updating unwritable cache $cache_file"
50564 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50565 # Let make expand exec_prefix.
50566 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50568 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50569 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50570 # trailing colons and then remove the whole line if VPATH becomes empty
50571 # (actually we leave an empty line to preserve line numbers).
50572 if test "x$srcdir" = x.; then
50573 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50574 s/:*\$(srcdir):*/:/;
50575 s/:*\${srcdir}:*/:/;
50577 s/^\([^=]*=[ ]*\):*/\1/;
50583 DEFS=-DHAVE_CONFIG_H
50587 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50588 # 1. Remove the extension, and $U if already installed.
50589 ac_i=`echo "$ac_i" |
50590 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50592 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
50593 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
50595 LIBOBJS=$ac_libobjs
50597 LTLIBOBJS=$ac_ltlibobjs
50601 : ${CONFIG_STATUS=./config.status}
50602 ac_clean_files_save=$ac_clean_files
50603 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50604 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50605 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50606 cat >$CONFIG_STATUS <<_ACEOF
50608 # Generated by $as_me.
50609 # Run this file to recreate the current configuration.
50610 # Compiler output produced by configure, useful for debugging
50611 # configure, is in config.log if it exists.
50614 ac_cs_recheck=false
50616 SHELL=\${CONFIG_SHELL-$SHELL}
50619 cat >>$CONFIG_STATUS <<\_ACEOF
50620 ## --------------------- ##
50621 ## M4sh Initialization. ##
50622 ## --------------------- ##
50624 # Be Bourne compatible
50625 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50628 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50629 # is contrary to our usage. Disable this feature.
50630 alias -g '${1+"$@"}'='"$@"'
50631 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
50634 DUALCASE=1; export DUALCASE # for MKS sh
50636 # Support unset when possible.
50637 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50644 # Work around bugs in pre-3.0 UWIN ksh.
50645 $as_unset ENV MAIL MAILPATH
50652 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50653 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50654 LC_TELEPHONE LC_TIME
50656 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50657 eval $as_var=C; export $as_var
50663 # Required to use basename.
50664 if expr a : '\(a\)' >/dev/null 2>&1; then
50670 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
50671 as_basename=basename
50677 # Name of the executable.
50678 as_me=`$as_basename "$0" ||
50679 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50680 X"$0" : 'X\(//\)$' \| \
50681 X"$0" : 'X\(/\)$' \| \
50682 . : '\(.\)' 2>/dev/null ||
50684 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50685 /^X\/\(\/\/\)$/{ s//\1/; q; }
50686 /^X\/\(\/\).*/{ s//\1/; q; }
50690 # PATH needs CR, and LINENO needs CR and PATH.
50691 # Avoid depending upon Character Ranges.
50692 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50693 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50694 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50695 as_cr_digits='0123456789'
50696 as_cr_alnum=$as_cr_Letters$as_cr_digits
50698 # The user is always right.
50699 if test "${PATH_SEPARATOR+set}" != set; then
50700 echo "#! /bin/sh" >conf$$.sh
50701 echo "exit 0" >>conf$$.sh
50703 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50712 as_lineno_1=$LINENO
50713 as_lineno_2=$LINENO
50714 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50715 test "x$as_lineno_1" != "x$as_lineno_2" &&
50716 test "x$as_lineno_3" = "x$as_lineno_2" || {
50717 # Find who we are. Look in the path if we contain no path at all
50720 *[\\/]* ) as_myself=$0 ;;
50721 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50722 for as_dir in $PATH
50725 test -z "$as_dir" && as_dir=.
50726 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50731 # We did not find ourselves, most probably we were run as `sh COMMAND'
50732 # in which case we are not to be found in the path.
50733 if test "x$as_myself" = x; then
50736 if test ! -f "$as_myself"; then
50737 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50738 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50739 { (exit 1); exit 1; }; }
50741 case $CONFIG_SHELL in
50743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50744 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
50747 test -z "$as_dir" && as_dir=.
50748 for as_base in sh bash ksh sh5; do
50751 if ("$as_dir/$as_base" -c '
50752 as_lineno_1=$LINENO
50753 as_lineno_2=$LINENO
50754 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50755 test "x$as_lineno_1" != "x$as_lineno_2" &&
50756 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
50757 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
50758 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
50759 CONFIG_SHELL=$as_dir/$as_base
50760 export CONFIG_SHELL
50761 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50769 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50770 # uniformly replaced by the line number. The first 'sed' inserts a
50771 # line-number line before each line; the second 'sed' does the real
50772 # work. The second script uses 'N' to pair each line-number line
50773 # with the numbered line, and appends trailing '-' during
50774 # substitution so that $LINENO is not a special case at line end.
50775 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50776 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50777 sed '=' <$as_myself |
50782 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50785 s,^['$as_cr_digits']*\n,,
50786 ' >$as_me.lineno &&
50787 chmod +x $as_me.lineno ||
50788 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50789 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50790 { (exit 1); exit 1; }; }
50792 # Don't try to exec as it changes $[0], causing all sort of problems
50793 # (the dirname of $[0] is not the place where we might find the
50794 # original and so on. Autoconf is especially sensible to this).
50796 # Exit status is that of the last command.
50801 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50802 *c*,-n*) ECHO_N= ECHO_C='
50804 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
50805 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
50808 if expr a : '\(a\)' >/dev/null 2>&1; then
50814 rm -f conf$$ conf$$.exe conf$$.file
50816 if ln -s conf$$.file conf$$ 2>/dev/null; then
50817 # We could just check for DJGPP; but this test a) works b) is more generic
50818 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50819 if test -f conf$$.exe; then
50820 # Don't use ln at all; we don't have any links
50825 elif ln conf$$.file conf$$ 2>/dev/null; then
50830 rm -f conf$$ conf$$.exe conf$$.file
50832 if mkdir -p . 2>/dev/null; then
50835 test -d ./-p && rmdir ./-p
50839 as_executable_p="test -f"
50841 # Sed expression to map a string onto a valid CPP name.
50842 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50844 # Sed expression to map a string onto a valid variable name.
50845 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50849 # We need space, tab and new line, in precisely that order.
50859 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50860 # report actual input values of CONFIG_FILES etc. instead of their
50861 # values after options handling. Logging --version etc. is OK.
50865 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50866 ## Running $as_me. ##
50871 This file was extended by wxWidgets $as_me 2.8.0, which was
50872 generated by GNU Autoconf 2.59. Invocation command line was
50874 CONFIG_FILES = $CONFIG_FILES
50875 CONFIG_HEADERS = $CONFIG_HEADERS
50876 CONFIG_LINKS = $CONFIG_LINKS
50877 CONFIG_COMMANDS = $CONFIG_COMMANDS
50881 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50885 # Files that config.status was made for.
50886 if test -n "$ac_config_files"; then
50887 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50890 if test -n "$ac_config_headers"; then
50891 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50894 if test -n "$ac_config_links"; then
50895 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50898 if test -n "$ac_config_commands"; then
50899 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50902 cat >>$CONFIG_STATUS <<\_ACEOF
50905 \`$as_me' instantiates files from templates according to the
50906 current configuration.
50908 Usage: $0 [OPTIONS] [FILE]...
50910 -h, --help print this help, then exit
50911 -V, --version print version number, then exit
50912 -q, --quiet do not print progress messages
50913 -d, --debug don't remove temporary files
50914 --recheck update $as_me by reconfiguring in the same conditions
50915 --file=FILE[:TEMPLATE]
50916 instantiate the configuration file FILE
50917 --header=FILE[:TEMPLATE]
50918 instantiate the configuration header FILE
50920 Configuration files:
50923 Configuration headers:
50926 Configuration commands:
50929 Report bugs to <bug-autoconf@gnu.org>."
50932 cat >>$CONFIG_STATUS <<_ACEOF
50934 wxWidgets config.status 2.8.0
50935 configured by $0, generated by GNU Autoconf 2.59,
50936 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50938 Copyright (C) 2003 Free Software Foundation, Inc.
50939 This config.status script is free software; the Free Software Foundation
50940 gives unlimited permission to copy, distribute and modify it."
50945 cat >>$CONFIG_STATUS <<\_ACEOF
50946 # If no file are specified by the user, then we need to provide default
50947 # value. By we need to know if files were specified by the user.
50953 ac_option=`expr "x$1" : 'x\([^=]*\)='`
50954 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
50962 *) # This is not an option, so the user has probably given explicit
50965 ac_need_defaults=false;;
50969 # Handling of the options.
50971 cat >>$CONFIG_STATUS <<\_ACEOF
50972 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50974 --version | --vers* | -V )
50975 echo "$ac_cs_version"; exit 0 ;;
50977 # Conflict between --help and --header
50978 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50979 Try \`$0 --help' for more information." >&5
50980 echo "$as_me: error: ambiguous option: $1
50981 Try \`$0 --help' for more information." >&2;}
50982 { (exit 1); exit 1; }; };;
50983 --help | --hel | -h )
50984 echo "$ac_cs_usage"; exit 0 ;;
50985 --debug | --d* | -d )
50987 --file | --fil | --fi | --f )
50989 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50990 ac_need_defaults=false;;
50991 --header | --heade | --head | --hea )
50993 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50994 ac_need_defaults=false;;
50995 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50996 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50999 # This is an error.
51000 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
51001 Try \`$0 --help' for more information." >&5
51002 echo "$as_me: error: unrecognized option: $1
51003 Try \`$0 --help' for more information." >&2;}
51004 { (exit 1); exit 1; }; } ;;
51006 *) ac_config_targets="$ac_config_targets $1" ;;
51012 ac_configure_extra_args=
51014 if $ac_cs_silent; then
51016 ac_configure_extra_args="$ac_configure_extra_args --silent"
51020 cat >>$CONFIG_STATUS <<_ACEOF
51021 if \$ac_cs_recheck; then
51022 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51023 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51028 cat >>$CONFIG_STATUS <<_ACEOF
51030 # INIT-COMMANDS section.
51035 infile="$srcdir/include/wx/msw/genrcdefs.h"
51036 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51039 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51040 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51041 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51049 cat >>$CONFIG_STATUS <<\_ACEOF
51050 for ac_config_target in $ac_config_targets
51052 case "$ac_config_target" in
51053 # Handling of arguments.
51054 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51055 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51056 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
51057 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51058 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
51059 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51060 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51061 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51062 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51063 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51064 { (exit 1); exit 1; }; };;
51068 # If the user did not use the arguments to specify the items to instantiate,
51069 # then the envvar interface is used. Set only those that are not.
51070 # We use the long form for the default assignment because of an extremely
51071 # bizarre bug on SunOS 4.1.3.
51072 if $ac_need_defaults; then
51073 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51074 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51075 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51078 # Have a temporary directory for convenience. Make it in the build tree
51079 # simply because there is no reason to put it here, and in addition,
51080 # creating and moving files from /tmp can sometimes cause problems.
51081 # Create a temporary directory, and hook for its removal unless debugging.
51084 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51085 trap '{ (exit 1); exit 1; }' 1 2 13 15
51088 # Create a (secure) tmp directory for tmp files.
51091 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51092 test -n "$tmp" && test -d "$tmp"
51095 tmp=./confstat$$-$RANDOM
51096 (umask 077 && mkdir $tmp)
51099 echo "$me: cannot create a temporary directory in ." >&2
51100 { (exit 1); exit 1; }
51105 cat >>$CONFIG_STATUS <<_ACEOF
51108 # CONFIG_FILES section.
51111 # No need to generate the scripts if there are no CONFIG_FILES.
51112 # This happens for instance when ./config.status config.h
51113 if test -n "\$CONFIG_FILES"; then
51114 # Protect against being on the right side of a sed subst in config.status.
51115 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51116 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51117 s,@SHELL@,$SHELL,;t t
51118 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51119 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51120 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51121 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51122 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51123 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51124 s,@exec_prefix@,$exec_prefix,;t t
51125 s,@prefix@,$prefix,;t t
51126 s,@program_transform_name@,$program_transform_name,;t t
51127 s,@bindir@,$bindir,;t t
51128 s,@sbindir@,$sbindir,;t t
51129 s,@libexecdir@,$libexecdir,;t t
51130 s,@datadir@,$datadir,;t t
51131 s,@sysconfdir@,$sysconfdir,;t t
51132 s,@sharedstatedir@,$sharedstatedir,;t t
51133 s,@localstatedir@,$localstatedir,;t t
51134 s,@libdir@,$libdir,;t t
51135 s,@includedir@,$includedir,;t t
51136 s,@oldincludedir@,$oldincludedir,;t t
51137 s,@infodir@,$infodir,;t t
51138 s,@mandir@,$mandir,;t t
51139 s,@build_alias@,$build_alias,;t t
51140 s,@host_alias@,$host_alias,;t t
51141 s,@target_alias@,$target_alias,;t t
51142 s,@DEFS@,$DEFS,;t t
51143 s,@ECHO_C@,$ECHO_C,;t t
51144 s,@ECHO_N@,$ECHO_N,;t t
51145 s,@ECHO_T@,$ECHO_T,;t t
51146 s,@LIBS@,$LIBS,;t t
51147 s,@build@,$build,;t t
51148 s,@build_cpu@,$build_cpu,;t t
51149 s,@build_vendor@,$build_vendor,;t t
51150 s,@build_os@,$build_os,;t t
51151 s,@host@,$host,;t t
51152 s,@host_cpu@,$host_cpu,;t t
51153 s,@host_vendor@,$host_vendor,;t t
51154 s,@host_os@,$host_os,;t t
51155 s,@target@,$target,;t t
51156 s,@target_cpu@,$target_cpu,;t t
51157 s,@target_vendor@,$target_vendor,;t t
51158 s,@target_os@,$target_os,;t t
51159 s,@wx_top_builddir@,$wx_top_builddir,;t t
51161 s,@CFLAGS@,$CFLAGS,;t t
51162 s,@LDFLAGS@,$LDFLAGS,;t t
51163 s,@CPPFLAGS@,$CPPFLAGS,;t t
51164 s,@ac_ct_CC@,$ac_ct_CC,;t t
51165 s,@EXEEXT@,$EXEEXT,;t t
51166 s,@OBJEXT@,$OBJEXT,;t t
51168 s,@EGREP@,$EGREP,;t t
51170 s,@CXXFLAGS@,$CXXFLAGS,;t t
51171 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51172 s,@RANLIB@,$RANLIB,;t t
51173 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51175 s,@ac_ct_AR@,$ac_ct_AR,;t t
51176 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51177 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51178 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51179 s,@STRIP@,$STRIP,;t t
51180 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51181 s,@WINDRES@,$WINDRES,;t t
51182 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51183 s,@DLLTOOL@,$DLLTOOL,;t t
51184 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51185 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51186 s,@LN_S@,$LN_S,;t t
51187 s,@CXXCPP@,$CXXCPP,;t t
51188 s,@subdirs@,$subdirs,;t t
51189 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51190 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51191 s,@GTK_LIBS@,$GTK_LIBS,;t t
51192 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51193 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51194 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51195 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51196 s,@X_CFLAGS@,$X_CFLAGS,;t t
51197 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51198 s,@X_LIBS@,$X_LIBS,;t t
51199 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51200 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51201 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51202 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51203 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51204 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51205 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51207 s,@DEREZ@,$DEREZ,;t t
51208 s,@SETFILE@,$SETFILE,;t t
51209 s,@LIBICONV@,$LIBICONV,;t t
51210 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51211 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51212 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51213 s,@SDL_LIBS@,$SDL_LIBS,;t t
51214 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51215 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51216 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51217 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51218 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51219 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51220 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51221 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51222 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51223 s,@GST_LIBS@,$GST_LIBS,;t t
51224 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51225 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51226 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51227 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51228 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51229 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51230 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51231 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51232 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51233 s,@VENDOR@,$VENDOR,;t t
51234 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51235 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51236 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51237 s,@WXUNIV@,$WXUNIV,;t t
51238 s,@MONOLITHIC@,$MONOLITHIC,;t t
51239 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51240 s,@EXTRALIBS@,$EXTRALIBS,;t t
51241 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51242 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51243 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51244 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51245 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51246 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51247 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51248 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51249 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51250 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51251 s,@UNICODE@,$UNICODE,;t t
51252 s,@BUILD@,$BUILD,;t t
51253 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51254 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51255 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51256 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51257 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51258 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51259 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51260 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51261 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51262 s,@SET_MAKE@,$SET_MAKE,;t t
51263 s,@MAKE_SET@,$MAKE_SET,;t t
51264 s,@AROPTIONS@,$AROPTIONS,;t t
51266 s,@ac_ct_NM@,$ac_ct_NM,;t t
51267 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51268 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51269 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51270 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51271 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51272 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51273 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51274 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51275 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51276 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51277 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51278 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51279 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51280 s,@LIBPREFIX@,$LIBPREFIX,;t t
51281 s,@LIBEXT@,$LIBEXT,;t t
51282 s,@DLLPREFIX@,$DLLPREFIX,;t t
51283 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51284 s,@dlldir@,$dlldir,;t t
51285 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51286 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51287 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51288 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51289 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51290 s,@PIC_FLAG@,$PIC_FLAG,;t t
51291 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51292 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51293 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51294 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51295 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51296 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51297 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51298 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51299 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51300 s,@BK_DEPS@,$BK_DEPS,;t t
51301 s,@GCC_PCH@,$GCC_PCH,;t t
51302 s,@ICC_PCH@,$ICC_PCH,;t t
51303 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
51304 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51305 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51306 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51307 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51308 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51309 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51310 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51311 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51312 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51313 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51314 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51315 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51316 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51317 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51318 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51319 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51320 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51321 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51322 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51323 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51324 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
51325 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
51326 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
51327 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
51328 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51329 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51330 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51331 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51332 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51333 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51334 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
51335 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
51336 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
51337 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
51338 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51339 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51340 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51341 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51342 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51343 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51344 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51345 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51346 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51347 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51348 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51349 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51350 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51351 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51352 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51353 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51354 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51355 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51356 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51357 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51358 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51359 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51360 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51361 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51362 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51363 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51364 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51365 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51366 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51367 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL,;t t
51368 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1,;t t
51369 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51370 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51371 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51372 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51373 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51374 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51375 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51376 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51377 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51378 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51379 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51380 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51381 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51382 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51383 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51384 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51385 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51386 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51387 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51388 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51389 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51390 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51391 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51392 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51393 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51394 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51395 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51396 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51397 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51398 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51399 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
51400 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51401 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51402 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51403 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51404 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51405 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51406 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51407 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51408 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51409 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51410 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51411 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51412 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51413 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51414 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51415 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51416 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51417 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51418 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51419 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51420 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51421 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51422 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51423 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51424 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51425 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51426 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51427 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51428 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51429 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51430 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51431 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51432 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51433 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51434 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51435 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51436 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51437 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51438 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51439 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51440 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51441 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51442 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51443 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51444 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51445 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51446 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51447 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51448 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51449 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51450 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51451 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51452 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51453 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51454 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51455 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51456 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51457 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51458 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51459 s,@SHARED@,$SHARED,;t t
51460 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51461 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51462 s,@USE_GUI@,$USE_GUI,;t t
51463 s,@AFMINSTALL@,$AFMINSTALL,;t t
51464 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51465 s,@TOOLKIT@,$TOOLKIT,;t t
51466 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51467 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51468 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51469 s,@cross_compiling@,$cross_compiling,;t t
51470 s,@WIDGET_SET@,$WIDGET_SET,;t t
51471 s,@WX_RELEASE@,$WX_RELEASE,;t t
51472 s,@WX_VERSION@,$WX_VERSION,;t t
51473 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51474 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51475 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51476 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51477 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51478 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51479 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51480 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51481 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51482 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51483 s,@EXE_LINKER@,$EXE_LINKER,;t t
51484 s,@GUIDIST@,$GUIDIST,;t t
51485 s,@DISTDIR@,$DISTDIR,;t t
51486 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51487 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51488 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51489 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51490 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51491 s,@RESCOMP@,$RESCOMP,;t t
51492 s,@RESFLAGS@,$RESFLAGS,;t t
51493 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51494 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51495 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51496 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51497 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51498 s,@MACSETFILE@,$MACSETFILE,;t t
51500 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51501 s,@LIBOBJS@,$LIBOBJS,;t t
51502 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51507 cat >>$CONFIG_STATUS <<\_ACEOF
51508 # Split the substitutions into bite-sized pieces for seds with
51509 # small command number limits, like on Digital OSF/1 and HP-UX.
51510 ac_max_sed_lines=48
51511 ac_sed_frag=1 # Number of current file.
51512 ac_beg=1 # First line for current file.
51513 ac_end=$ac_max_sed_lines # Line after last line for current file.
51516 while $ac_more_lines; do
51517 if test $ac_beg -gt 1; then
51518 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51520 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51522 if test ! -s $tmp/subs.frag; then
51523 ac_more_lines=false
51525 # The purpose of the label and of the branching condition is to
51526 # speed up the sed processing (if there are no `@' at all, there
51527 # is no need to browse any of the substitutions).
51528 # These are the two extra sed commands mentioned above.
51530 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
51531 if test -z "$ac_sed_cmds"; then
51532 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
51534 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51536 ac_sed_frag=`expr $ac_sed_frag + 1`
51538 ac_end=`expr $ac_end + $ac_max_sed_lines`
51541 if test -z "$ac_sed_cmds"; then
51544 fi # test -n "$CONFIG_FILES"
51547 cat >>$CONFIG_STATUS <<\_ACEOF
51548 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
51549 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51551 - | *:- | *:-:* ) # input from stdin
51553 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51554 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51555 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51556 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51557 * ) ac_file_in=$ac_file.in ;;
51560 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51561 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51562 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51563 X"$ac_file" : 'X\(//\)[^/]' \| \
51564 X"$ac_file" : 'X\(//\)$' \| \
51565 X"$ac_file" : 'X\(/\)' \| \
51566 . : '\(.\)' 2>/dev/null ||
51568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51569 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51570 /^X\(\/\/\)$/{ s//\1/; q; }
51571 /^X\(\/\).*/{ s//\1/; q; }
51573 { if $as_mkdir_p; then
51578 while test ! -d "$as_dir"; do
51579 as_dirs="$as_dir $as_dirs"
51580 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51581 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51582 X"$as_dir" : 'X\(//\)[^/]' \| \
51583 X"$as_dir" : 'X\(//\)$' \| \
51584 X"$as_dir" : 'X\(/\)' \| \
51585 . : '\(.\)' 2>/dev/null ||
51587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51588 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51589 /^X\(\/\/\)$/{ s//\1/; q; }
51590 /^X\(\/\).*/{ s//\1/; q; }
51593 test ! -n "$as_dirs" || mkdir $as_dirs
51594 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51595 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51596 { (exit 1); exit 1; }; }; }
51600 if test "$ac_dir" != .; then
51601 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51602 # A "../" for each directory in $ac_dir_suffix.
51603 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51605 ac_dir_suffix= ac_top_builddir=
51609 .) # No --srcdir option. We are building in place.
51611 if test -z "$ac_top_builddir"; then
51614 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51616 [\\/]* | ?:[\\/]* ) # Absolute path.
51617 ac_srcdir=$srcdir$ac_dir_suffix;
51618 ac_top_srcdir=$srcdir ;;
51619 *) # Relative path.
51620 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51621 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51624 # Do not use `cd foo && pwd` to compute absolute paths, because
51625 # the directories may not exist.
51627 .) ac_abs_builddir="$ac_dir";;
51630 .) ac_abs_builddir=`pwd`;;
51631 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51632 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51635 case $ac_abs_builddir in
51636 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51638 case ${ac_top_builddir}. in
51639 .) ac_abs_top_builddir=$ac_abs_builddir;;
51640 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51641 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51644 case $ac_abs_builddir in
51645 .) ac_abs_srcdir=$ac_srcdir;;
51648 .) ac_abs_srcdir=$ac_abs_builddir;;
51649 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51650 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51653 case $ac_abs_builddir in
51654 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51656 case $ac_top_srcdir in
51657 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51658 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51659 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51665 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51666 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
51669 # Let's still pretend it is `configure' which instantiates (i.e., don't
51670 # use $as_me), people would be surprised to read:
51671 # /* config.h. Generated by config.status. */
51672 if test x"$ac_file" = x-; then
51675 configure_input="$ac_file. "
51677 configure_input=$configure_input"Generated from `echo $ac_file_in |
51678 sed 's,.*/,,'` by configure."
51680 # First look for the input files in the build tree, otherwise in the
51682 ac_file_inputs=`IFS=:
51683 for f in $ac_file_in; do
51685 -) echo $tmp/stdin ;;
51687 # Absolute (can't be DOS-style, as IFS=:)
51688 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51689 echo "$as_me: error: cannot find input file: $f" >&2;}
51690 { (exit 1); exit 1; }; }
51693 if test -f "$f"; then
51696 elif test -f "$srcdir/$f"; then
51701 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51702 echo "$as_me: error: cannot find input file: $f" >&2;}
51703 { (exit 1); exit 1; }; }
51706 done` || { (exit 1); exit 1; }
51708 if test x"$ac_file" != x-; then
51709 { echo "$as_me:$LINENO: creating $ac_file" >&5
51710 echo "$as_me: creating $ac_file" >&6;}
51714 cat >>$CONFIG_STATUS <<_ACEOF
51718 cat >>$CONFIG_STATUS <<\_ACEOF
51720 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51721 s,@configure_input@,$configure_input,;t t
51722 s,@srcdir@,$ac_srcdir,;t t
51723 s,@abs_srcdir@,$ac_abs_srcdir,;t t
51724 s,@top_srcdir@,$ac_top_srcdir,;t t
51725 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
51726 s,@builddir@,$ac_builddir,;t t
51727 s,@abs_builddir@,$ac_abs_builddir,;t t
51728 s,@top_builddir@,$ac_top_builddir,;t t
51729 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
51730 s,@INSTALL@,$ac_INSTALL,;t t
51731 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51733 if test x"$ac_file" != x-; then
51734 mv $tmp/out $ac_file
51740 # Run the commands associated with the file.
51742 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51743 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51747 cat >>$CONFIG_STATUS <<\_ACEOF
51750 # CONFIG_HEADER section.
51753 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
51754 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51756 # ac_d sets the value in "#define NAME VALUE" lines.
51757 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51758 ac_dB='[ ].*$,\1#\2'
51761 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51762 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51763 ac_uB='$,\1#\2define\3'
51767 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
51768 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51770 - | *:- | *:-:* ) # input from stdin
51772 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51773 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51774 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51775 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51776 * ) ac_file_in=$ac_file.in ;;
51779 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51780 echo "$as_me: creating $ac_file" >&6;}
51782 # First look for the input files in the build tree, otherwise in the
51784 ac_file_inputs=`IFS=:
51785 for f in $ac_file_in; do
51787 -) echo $tmp/stdin ;;
51789 # Absolute (can't be DOS-style, as IFS=:)
51790 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51791 echo "$as_me: error: cannot find input file: $f" >&2;}
51792 { (exit 1); exit 1; }; }
51793 # Do quote $f, to prevent DOS paths from being IFS'd.
51796 if test -f "$f"; then
51799 elif test -f "$srcdir/$f"; then
51804 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51805 echo "$as_me: error: cannot find input file: $f" >&2;}
51806 { (exit 1); exit 1; }; }
51809 done` || { (exit 1); exit 1; }
51810 # Remove the trailing spaces.
51811 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51815 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51816 # `conftest.undefs', that substitutes the proper values into
51817 # config.h.in to produce config.h. The first handles `#define'
51818 # templates, and the second `#undef' templates.
51819 # And first: Protect against being on the right side of a sed subst in
51820 # config.status. Protect against being in an unquoted here document
51821 # in config.status.
51822 rm -f conftest.defines conftest.undefs
51823 # Using a here document instead of a string reduces the quoting nightmare.
51824 # Putting comments in sed scripts is not portable.
51826 # `end' is used to avoid that the second main sed command (meant for
51827 # 0-ary CPP macros) applies to n-ary macro definitions.
51828 # See the Autoconf documentation for `clear'.
51829 cat >confdef2sed.sed <<\_ACEOF
51834 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51836 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51839 # If some macros were called several times there might be several times
51840 # the same #defines, which is useless. Nevertheless, we may not want to
51841 # sort them, since we want the *last* AC-DEFINE to be honored.
51842 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51843 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51844 rm -f confdef2sed.sed
51846 # This sed command replaces #undef with comments. This is necessary, for
51847 # example, in the case of _POSIX_SOURCE, which is predefined and required
51848 # on some systems where configure will not decide to define it.
51849 cat >>conftest.undefs <<\_ACEOF
51850 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51853 # Break up conftest.defines because some shells have a limit on the size
51854 # of here documents, and old seds have small limits too (100 cmds).
51855 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51856 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51857 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51858 echo ' :' >>$CONFIG_STATUS
51859 rm -f conftest.tail
51860 while grep . conftest.defines >/dev/null
51862 # Write a limited-size here document to $tmp/defines.sed.
51863 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51864 # Speed up: don't consider the non `#define' lines.
51865 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51866 # Work around the forget-to-reset-the-flag bug.
51867 echo 't clr' >>$CONFIG_STATUS
51868 echo ': clr' >>$CONFIG_STATUS
51869 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
51871 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51873 mv $tmp/out $tmp/in
51875 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
51876 rm -f conftest.defines
51877 mv conftest.tail conftest.defines
51879 rm -f conftest.defines
51880 echo ' fi # grep' >>$CONFIG_STATUS
51881 echo >>$CONFIG_STATUS
51883 # Break up conftest.undefs because some shells have a limit on the size
51884 # of here documents, and old seds have small limits too (100 cmds).
51885 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51886 rm -f conftest.tail
51887 while grep . conftest.undefs >/dev/null
51889 # Write a limited-size here document to $tmp/undefs.sed.
51890 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51891 # Speed up: don't consider the non `#undef'
51892 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51893 # Work around the forget-to-reset-the-flag bug.
51894 echo 't clr' >>$CONFIG_STATUS
51895 echo ': clr' >>$CONFIG_STATUS
51896 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51898 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51900 mv $tmp/out $tmp/in
51902 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51903 rm -f conftest.undefs
51904 mv conftest.tail conftest.undefs
51906 rm -f conftest.undefs
51908 cat >>$CONFIG_STATUS <<\_ACEOF
51909 # Let's still pretend it is `configure' which instantiates (i.e., don't
51910 # use $as_me), people would be surprised to read:
51911 # /* config.h. Generated by config.status. */
51912 if test x"$ac_file" = x-; then
51913 echo "/* Generated by configure. */" >$tmp/config.h
51915 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51917 cat $tmp/in >>$tmp/config.h
51919 if test x"$ac_file" != x-; then
51920 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
51921 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51922 echo "$as_me: $ac_file is unchanged" >&6;}
51924 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51925 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51926 X"$ac_file" : 'X\(//\)[^/]' \| \
51927 X"$ac_file" : 'X\(//\)$' \| \
51928 X"$ac_file" : 'X\(/\)' \| \
51929 . : '\(.\)' 2>/dev/null ||
51931 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51932 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51933 /^X\(\/\/\)$/{ s//\1/; q; }
51934 /^X\(\/\).*/{ s//\1/; q; }
51936 { if $as_mkdir_p; then
51941 while test ! -d "$as_dir"; do
51942 as_dirs="$as_dir $as_dirs"
51943 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51944 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51945 X"$as_dir" : 'X\(//\)[^/]' \| \
51946 X"$as_dir" : 'X\(//\)$' \| \
51947 X"$as_dir" : 'X\(/\)' \| \
51948 . : '\(.\)' 2>/dev/null ||
51950 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51951 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51952 /^X\(\/\/\)$/{ s//\1/; q; }
51953 /^X\(\/\).*/{ s//\1/; q; }
51956 test ! -n "$as_dirs" || mkdir $as_dirs
51957 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51958 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51959 { (exit 1); exit 1; }; }; }
51962 mv $tmp/config.h $ac_file
51966 rm -f $tmp/config.h
51970 cat >>$CONFIG_STATUS <<\_ACEOF
51973 # CONFIG_COMMANDS section.
51975 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
51976 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
51977 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
51978 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
51979 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51980 X"$ac_dest" : 'X\(//\)[^/]' \| \
51981 X"$ac_dest" : 'X\(//\)$' \| \
51982 X"$ac_dest" : 'X\(/\)' \| \
51983 . : '\(.\)' 2>/dev/null ||
51985 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51986 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51987 /^X\(\/\/\)$/{ s//\1/; q; }
51988 /^X\(\/\).*/{ s//\1/; q; }
51990 { if $as_mkdir_p; then
51995 while test ! -d "$as_dir"; do
51996 as_dirs="$as_dir $as_dirs"
51997 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51998 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51999 X"$as_dir" : 'X\(//\)[^/]' \| \
52000 X"$as_dir" : 'X\(//\)$' \| \
52001 X"$as_dir" : 'X\(/\)' \| \
52002 . : '\(.\)' 2>/dev/null ||
52004 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52005 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52006 /^X\(\/\/\)$/{ s//\1/; q; }
52007 /^X\(\/\).*/{ s//\1/; q; }
52010 test ! -n "$as_dirs" || mkdir $as_dirs
52011 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52012 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52013 { (exit 1); exit 1; }; }; }
52017 if test "$ac_dir" != .; then
52018 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52019 # A "../" for each directory in $ac_dir_suffix.
52020 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52022 ac_dir_suffix= ac_top_builddir=
52026 .) # No --srcdir option. We are building in place.
52028 if test -z "$ac_top_builddir"; then
52031 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52033 [\\/]* | ?:[\\/]* ) # Absolute path.
52034 ac_srcdir=$srcdir$ac_dir_suffix;
52035 ac_top_srcdir=$srcdir ;;
52036 *) # Relative path.
52037 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52038 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52041 # Do not use `cd foo && pwd` to compute absolute paths, because
52042 # the directories may not exist.
52044 .) ac_abs_builddir="$ac_dir";;
52047 .) ac_abs_builddir=`pwd`;;
52048 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52049 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52052 case $ac_abs_builddir in
52053 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52055 case ${ac_top_builddir}. in
52056 .) ac_abs_top_builddir=$ac_abs_builddir;;
52057 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52058 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52061 case $ac_abs_builddir in
52062 .) ac_abs_srcdir=$ac_srcdir;;
52065 .) ac_abs_srcdir=$ac_abs_builddir;;
52066 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52067 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52070 case $ac_abs_builddir in
52071 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52073 case $ac_top_srcdir in
52074 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52075 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52076 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52081 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52082 echo "$as_me: executing $ac_dest commands" >&6;}
52085 mkdir -p $outdir &&
52086 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52088 wx-config ) rm -f wx-config
52089 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52095 cat >>$CONFIG_STATUS <<\_ACEOF
52097 { (exit 0); exit 0; }
52099 chmod +x $CONFIG_STATUS
52100 ac_clean_files=$ac_clean_files_save
52103 # configure is writing to config.log, and then calls config.status.
52104 # config.status does its own redirection, appending to config.log.
52105 # Unfortunately, on DOS this fails, as config.log is still kept open
52106 # by configure, so config.status won't be able to write to it; its
52107 # output is simply discarded. So we exec the FD to /dev/null,
52108 # effectively closing config.log, so it can be properly (re)opened and
52109 # appended to by config.status. When coming back to configure, we
52110 # need to make the FD available again.
52111 if test "$no_create" != yes; then
52113 ac_config_status_args=
52114 test "$silent" = yes &&
52115 ac_config_status_args="$ac_config_status_args --quiet"
52117 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52119 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52120 # would make configure fail if this is the last instruction.
52121 $ac_cs_success || { (exit 1); exit 1; }
52125 # CONFIG_SUBDIRS section.
52127 if test "$no_recursion" != yes; then
52129 # Remove --cache-file and --srcdir arguments so they do not pile up.
52130 ac_sub_configure_args=
52132 for ac_arg in $ac_configure_args; do
52133 if test -n "$ac_prev"; then
52138 -cache-file | --cache-file | --cache-fil | --cache-fi \
52139 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52140 ac_prev=cache_file ;;
52141 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52142 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52145 --config-cache | -C)
52147 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52149 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52151 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52153 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52155 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
52159 # Always prepend --prefix to ensure using the same prefix
52160 # in subdir configurations.
52161 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
52164 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52166 # Do not complain, so a configure script can configure whichever
52167 # parts of a large source tree are present.
52168 test -d $srcdir/$ac_dir || continue
52170 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52171 echo "$as_me: configuring in $ac_dir" >&6;}
52172 { if $as_mkdir_p; then
52177 while test ! -d "$as_dir"; do
52178 as_dirs="$as_dir $as_dirs"
52179 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52180 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52181 X"$as_dir" : 'X\(//\)[^/]' \| \
52182 X"$as_dir" : 'X\(//\)$' \| \
52183 X"$as_dir" : 'X\(/\)' \| \
52184 . : '\(.\)' 2>/dev/null ||
52186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52187 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52188 /^X\(\/\/\)$/{ s//\1/; q; }
52189 /^X\(\/\).*/{ s//\1/; q; }
52192 test ! -n "$as_dirs" || mkdir $as_dirs
52193 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52194 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52195 { (exit 1); exit 1; }; }; }
52199 if test "$ac_dir" != .; then
52200 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52201 # A "../" for each directory in $ac_dir_suffix.
52202 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52204 ac_dir_suffix= ac_top_builddir=
52208 .) # No --srcdir option. We are building in place.
52210 if test -z "$ac_top_builddir"; then
52213 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52215 [\\/]* | ?:[\\/]* ) # Absolute path.
52216 ac_srcdir=$srcdir$ac_dir_suffix;
52217 ac_top_srcdir=$srcdir ;;
52218 *) # Relative path.
52219 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52220 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52223 # Do not use `cd foo && pwd` to compute absolute paths, because
52224 # the directories may not exist.
52226 .) ac_abs_builddir="$ac_dir";;
52229 .) ac_abs_builddir=`pwd`;;
52230 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52231 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52234 case $ac_abs_builddir in
52235 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52237 case ${ac_top_builddir}. in
52238 .) ac_abs_top_builddir=$ac_abs_builddir;;
52239 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52240 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52243 case $ac_abs_builddir in
52244 .) ac_abs_srcdir=$ac_srcdir;;
52247 .) ac_abs_srcdir=$ac_abs_builddir;;
52248 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52249 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52252 case $ac_abs_builddir in
52253 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52255 case $ac_top_srcdir in
52256 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52257 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52258 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52265 # Check for guested configure; otherwise get Cygnus style configure.
52266 if test -f $ac_srcdir/configure.gnu; then
52267 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
52268 elif test -f $ac_srcdir/configure; then
52269 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
52270 elif test -f $ac_srcdir/configure.in; then
52271 ac_sub_configure=$ac_configure
52273 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52274 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52278 # The recursion is here.
52279 if test -n "$ac_sub_configure"; then
52280 # Make the cache file name correct relative to the subdirectory.
52281 case $cache_file in
52282 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52283 *) # Relative path.
52284 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
52287 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52288 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52289 # The eval makes quoting arguments work.
52290 eval $ac_sub_configure $ac_sub_configure_args \
52291 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52292 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52293 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52294 { (exit 1); exit 1; }; }
52303 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52305 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52306 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52308 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52309 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52310 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52312 echo " What level of wxWidgets compatibility should be enabled?"
52313 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52314 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52316 echo " Which libraries should wxWidgets use?"
52317 echo " jpeg ${wxUSE_LIBJPEG-none}"
52318 echo " png ${wxUSE_LIBPNG-none}"
52319 echo " regex ${wxUSE_REGEX}"
52320 echo " tiff ${wxUSE_LIBTIFF-none}"
52321 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52322 echo " xpm ${wxUSE_LIBXPM-none}"
52324 echo " zlib ${wxUSE_ZLIB}"
52325 echo " odbc ${wxUSE_ODBC}"
52326 echo " expat ${wxUSE_EXPAT}"
52327 echo " libmspack ${wxUSE_LIBMSPACK}"
52328 echo " sdl ${wxUSE_LIBSDL}"